Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-26 Thread Mark Morgan Lloyd
Hans-Peter Diettrich wrote: Mark Morgan Lloyd schrieb: Actually I meant a=1; (* First line of a long block *) (* of comments arranged Sloane-style. *) How would you then separate comments pertaining to the following item? By the fact that there's a declaration between them.

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Duncan Parsons
From: Josh Lee [mailto:frozen-drago...@hotmail.com] Sent: 25 July 2010 12:11 You can add files as User-Defined resource types, or use RCDATA for raw (binary) data. See MSDN Resource Definition Statements, User-Defined Resources Thank you, I read up on them. Do you know where I can find a

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Josh Lee
InnoSetup is a fabulous installer for windows, and worth a look: http://www.jrsoftware.org/isinfo.php You can get the latest source via CVS. It'll be complicated to look through, but I'm sure you'll find some of what you're looking for. Last time I looked through the source for it was about

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Felipe Monteiro de Carvalho
On Mon, Jul 26, 2010 at 10:55 AM, Josh Lee frozen-drago...@hotmail.com wrote: Yesh thank you, looking through the source is very educational. I love the idea that they implemented Pascal in it, so you can make custom scripts! It's like a non-GUI Lazarus ;) But isn't Delphi resources set out

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Paul Ishenin
26.07.2010 18:23, Felipe Monteiro de Carvalho wrote: In that sense looking at the Inno Setup source code probably won't help much as it will probably be using Windows API which aren't portable. FPC resources api is compatible with windows. Best regards, Paul Ishenin. --

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-26 Thread Hans-Peter Diettrich
Mark Morgan Lloyd schrieb: Actually I meant a=1; (* First line of a long block *) (* of comments arranged Sloane-style. *) How would you then separate comments pertaining to the following item? By the fact that there's a declaration between them. Not when the second one is a

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-26 Thread Marcos Douglas
On Sat, Jul 24, 2010 at 7:48 PM, Juha Manninen juha.mannine...@gmail.com wrote: Those must be more like advanced features. At least I have never set PPC_CONFIG_PATH variable and I have a working FPC 2.5.1 trunk version here. I recently even tested my own instructions on a mini-laptop with Linux

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Mattias Gärtner
Zitat von Paul Ishenin webpi...@mail.ru: 26.07.2010 18:23, Felipe Monteiro de Carvalho wrote: In that sense looking at the Inno Setup source code probably won't help much as it will probably be using Windows API which aren't portable. FPC resources api is compatible with windows. Can you

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Antônio
Josh, You can store a resource file on your exe by compiling a resource from a file via this tool ( http://lazarusbrasil.org/Resources.zip ) and adding the line {$R ResName.res} to your project. Then you can call the resource by name so: var ResStr :TResourceStream; begin ResStr :=

[Lazarus] oldest supported version of FPC by Lazarus

2010-07-26 Thread Bernd Kreuss
If I write patches for Lazarus, which is the oldest version of FPC that I have to test them with? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Android NDK

2010-07-26 Thread Michael Schnell
Android allows for doing native applications for Android powered devices (insted of doing APPs in Java) http://developer.android.com/sdk/ndk/index.html Does this mean we can already do such applications with Lazarus ? Or does it mean that Lazarus eventually could / needs to be enhanced by a

Re: [Lazarus] oldest supported version of FPC by Lazarus

2010-07-26 Thread Sven Barth
Hi! On 26.07.2010 14:31, Bernd Kreuss wrote: If I write patches for Lazarus, which is the oldest version of FPC that I have to test them with? For trunk: 2.4.0 (see here http://lists.lazarus.freepascal.org/pipermail/lazarus/2010-January/048067.html ) For 0.9.28: I believe 2.2.4 (the FAQ

Re: [Lazarus] Android NDK

2010-07-26 Thread Sven Barth
Hi! On 26.07.2010 14:37, Michael Schnell wrote: Android allows for doing native applications for Android powered devices (insted of doing APPs in Java) http://developer.android.com/sdk/ndk/index.html Does this mean we can already do such applications with Lazarus ? Or does it mean that

Re: [Lazarus] oldest supported version of FPC by Lazarus

2010-07-26 Thread Mattias Gärtner
Zitat von Bernd Kreuss prof7...@googlemail.com: If I write patches for Lazarus, which is the oldest version of FPC that I have to test them with? For LCL, see lcl/alllclunits.pp 2.2.0 The rest requires 2.4.0 with a few exceptions: Some packages require 2.5.1. Mattias --

Re: [Lazarus] oldest supported version of FPC by Lazarus

2010-07-26 Thread Felipe Monteiro de Carvalho
This is documented here: http://wiki.freepascal.org/LCL_Internals#Minimum_Toolkit_versions -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-26 Thread Juha Manninen
Okay... but I thought you had already started, haven't you? If you have some news ideas, tell me and let's go to work... if not, I will think how will be the new struct. I started in a different way. I made small sub-pages linked into the main instruction page. Then I realized it is not so

Re: [Lazarus] Close button bkClose as X

2010-07-26 Thread José Mejuto
Hello Lazarus-List, Monday, July 26, 2010, 2:50:22 AM, you wrote: In a recent change (#26529) Dmitry changes the code in themes.pas to get a stock icon for close kind (a X) which affects to TBitButton. JR I think this is a fallback and should affect only those JR widgetsets that still do not

Re: [Lazarus] Close button bkClose as X

2010-07-26 Thread José Mejuto
Hello Lazarus-List, Monday, July 26, 2010, 7:39:42 AM, you wrote: db On Mon, Jul 26, 2010 at 3:08 AM, José Mejuto joshy...@gmail.com wrote: In a recent change (#26529) Dmitry changes the code in themes.pas to get a stock icon for close kind (a X) which affects to TBitButton. Is this change

Re: [Lazarus] Android NDK

2010-07-26 Thread Reimar Grabowski
On Mon, 26 Jul 2010 15:20:57 +0200 Sven Barth pascaldra...@googlemail.com wrote: If I understand this NDK thing right, you can build native libraries that are loaded by your Java application to do some performance critical stuff. You absolutely do understand this right. You can't access

Re: [Lazarus] Android NDK

2010-07-26 Thread Felipe Monteiro de Carvalho
It looks to me that a workable solution for Lazarus would be building the GUI application as a library, and then we would have a generic Java application which loads that library and communicates with it. -- Felipe Monteiro de Carvalho -- ___ Lazarus

Re: [Lazarus] Android NDK

2010-07-26 Thread Reimar Grabowski
On Mon, 26 Jul 2010 17:27:38 +0200 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: It looks to me that a workable solution for Lazarus would be building the GUI application as a library, and then we would have a generic Java application which loads that library and

[Lazarus] Handheld development

2010-07-26 Thread Mark Morgan Lloyd
I was being asked about this the other day, the boss is thinking about PDAs. Can anybody summarise where Lazarus is at, for both Native and cross-development? I notice a thread from earlier that the Android can only run Java apps, and I presume that the iPhone and iPad are completely out.

Re: [Lazarus] Handheld development

2010-07-26 Thread dominique
FreePascal definitely works on iPhone and I know at least of 2 apps that are on the appstore that were written using FreePascal. Dominique. On Mon, 26 Jul 2010 16:13:42 +, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: I was being asked about this the other day, the boss is

Re: [Lazarus] Handheld development

2010-07-26 Thread Sven Barth
On 26.07.2010 18:13, Mark Morgan Lloyd wrote: I was being asked about this the other day, the boss is thinking about PDAs. Can anybody summarise where Lazarus is at, for both Native and cross-development? With Free Pascal itself you can compile for Windows CE i386 (not tested that much) and

Re: [Lazarus] Handheld development

2010-07-26 Thread Mark Morgan Lloyd
Sven Barth wrote: On 26.07.2010 18:13, Mark Morgan Lloyd wrote: I was being asked about this the other day, the boss is thinking about PDAs. Can anybody summarise where Lazarus is at, for both Native and cross-development? With Free Pascal itself you can compile for Windows CE i386 (not

Re: [Lazarus] Handheld development

2010-07-26 Thread Mark Morgan Lloyd
domini...@savagesoftwaresolutions.com wrote: FreePascal definitely works on iPhone and I know at least of 2 apps that are on the appstore that were written using FreePascal. Thanks Dominique. So what's all the current brouhaha about Apple insisting that only their own tools should be used?

Re: [Lazarus] Android NDK

2010-07-26 Thread Felipe Monteiro de Carvalho
My idea does not use X11, but directly the Java API. For example, we would have a Java app like this: Java_paint_method () { LCL_paint_message_arrived(formX, canvasY); } And the LCL-Android would export this routine and do just like in all other widgetsets: execute DoPaint, call OnPaint, etc.

Re: [Lazarus] Handheld development

2010-07-26 Thread Felipe Monteiro de Carvalho
On Mon, Jul 26, 2010 at 6:13 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: As I understand it CE (x86 and ARM) should be OK- can Lazarus itself run on this? As for applications built using Lazarus-WinCE take a look here:

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-26 Thread Marcos Douglas
2010/7/26 Juha Manninen juha.mannine...@gmail.com: Okay... but I thought you had already started, haven't you? If you have some news ideas, tell me and let's go to work... if not, I will think how will be the new struct. I started in a different way. I made small sub-pages linked into the

Re: [Lazarus] Handheld development

2010-07-26 Thread Sven Barth
On 26.07.2010 19:22, Mark Morgan Lloyd wrote: Sven Barth wrote: On 26.07.2010 18:13, Mark Morgan Lloyd wrote: I was being asked about this the other day, the boss is thinking about PDAs. Can anybody summarise where Lazarus is at, for both Native and cross-development? With Free Pascal itself

Re: [Lazarus] Handheld development

2010-07-26 Thread dominique
On Mon, 26 Jul 2010 17:23:33 +, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Thanks Dominique. So what's all the current brouhaha about Apple insisting that only their own tools should be used? They essentially don't want interpreted/script/virtual machine code other than

[Lazarus] TListView column size

2010-07-26 Thread Felipe Monteiro de Carvalho
Hello, I am having trouble with the column sizing in TListView in vsReport mode. I have set AutoSize in my columns to true, but they still remain with the default very small size. Is that expected or a bug? Should it autosize to the title or to the largest content? In Carbon also something else

Re: [Lazarus] Handheld development

2010-07-26 Thread Felipe Monteiro de Carvalho
Ha ... an interresting positive turn. I expected them to enforce the rule. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Josh Lee
On 26 Jul 2010, at 01:20 PM, Antônio antoniog12...@gmail.com wrote: Josh, You can store a resource file on your exe by compiling a resource from a file via this tool ( http://lazarusbrasil.org/Resources.zip ) and adding the line {$R ResName.res} to your project. Then you can call the

Re: [Lazarus] Handheld development

2010-07-26 Thread Mark Morgan Lloyd
Sven Barth wrote: Can you check what the memory and swap usage is when running Lazarus and when compiling an application (maybe compiling Lazarus itself clean)? (I'm just curious) Not at the moment I'm afraid. I got bogged down with EABI, and currently all my ARM machines are tied up doing

Re: [Lazarus] Handheld development

2010-07-26 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: About Lazarus running in Windows CE I think this wouldn't be useful, because the slower compilation and smaller screen would make development much slower then the few seconds necessary to copy the executable to the device via ActiveSync. Should be doable if

Re: [Lazarus] TListView column size

2010-07-26 Thread José Mejuto
Hello Lazarus-List, Monday, July 26, 2010, 8:29:11 PM, you wrote: FMdC I just checked Delphi 6, it's a bug ... http://bugs.freepascal.org/view.php?id=12533 -- Best regards, José -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Tutorial Compiling/installing FPC and Lazarus from Sources of SVN

2010-07-26 Thread Juha Manninen
Marcos Douglas kirjoitti maanantai, 26. heinäkuuta 2010 20:43:44: Would you like to talk in private about some ideas to organize the wiki? (but, if somebody has any ideas about it, we still continue to talk here) You can contact me with with e-mail or with chat. I try to keep my chat client