[Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Graeme Geldenhuys
Hi, I have a suggestion to the Alt key for column section. Currently it doesn't work at all on Linux and probably *BSD too. The problem is two fold. 1) This is because the Alt+Click+Drag is already used by X11 to move windows around (without doing in from the title bar). 2) Even though the de

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Flávio Etrusco
On Fri, Aug 12, 2011 at 4:38 AM, Graeme Geldenhuys wrote: > Hi, > > I have a suggestion to the Alt key for column section. Currently it > doesn't work at all on Linux and probably *BSD too. The problem is two fold. > > 1) This is because the Alt+Click+Drag is already used by X11 to move >   window

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 04:13 AM, waldo kitty wrote: > > i have numerous apps that are being "upgraded" from DOS console apps and > there's > really no reason for them to have to incorporate all of the fluff'n'stuff of > graphics... OK, Alexsander raise a valid point. You have to cater for the environme

Re: [Lazarus] Console App Development

2011-08-12 Thread Felipe Monteiro de Carvalho
On Fri, Aug 12, 2011 at 10:57 AM, Graeme Geldenhuys wrote: >> i'm still rather appalled that lazarus takes 75Meg on one machine and 125Meg >> on >> another for a debug environment... i'm not sure about the size difference >> since > On the flip side, there are some software that still perform ve

Re: [Lazarus] Is it safe to combine Gtk/Qt and Win32 in the same source tree?

2011-08-12 Thread Max Vlasov
On Thu, Aug 11, 2011 at 5:27 PM, leledumbo wrote: > > Qt is nicer but KDE has a problem with theme, Gnome/Unity seems OK. GTK > should be fine on any DE, but the look is not as beautiful as Qt. > > When I switch the widget set for one of my (although not very UI-rich) project, I see subtle differe

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 11:16 AM, Felipe Monteiro de Carvalho wrote: > > So I can only conclude that 150 MB of RAM is not nearly a big deal =D > It could even fit on my phone! The test project I used as an example is a new (and small project) we started recently, and already Lazarus uses such a lot of memo

Re: [Lazarus] Console App Development

2011-08-12 Thread Flávio Etrusco
> >> i'm still rather appalled that lazarus takes 75Meg on one machine and 125Meg >> on >> another for a debug environment... i'm not sure about the size difference >> since > > (...) > > On the flip side, there are some software that still perform very well > today. eg: One of my projects loaded

Re: [Lazarus] Console App Development

2011-08-12 Thread michael . vancanneyt
On Fri, 12 Aug 2011, Graeme Geldenhuys wrote: On 08/12/2011 11:16 AM, Felipe Monteiro de Carvalho wrote: So I can only conclude that 150 MB of RAM is not nearly a big deal =D It could even fit on my phone! The test project I used as an example is a new (and small project) we started recent

[Lazarus] How to make a project automatically crossplatform

2011-08-12 Thread Frank Church
I want to use macros to make my app compatible on both Linux and Windows. First part is to automatically switch between Win32 and Gtk2 or Qt. On Windows because it defaults to Win32 I don't have to set it explicitly. Can the default be changed for each IDE, which I suppose is defined is stored

[Lazarus] Weird AccessViolation (etc) while closing window in WinCE

2011-08-12 Thread Tommi Prami
Win32 version of this exaact same code works Only difference between device and the debugged version on the Emulator is that on Device it shows Access Violation error (usually) and then it just dies. On emulator I get tons of error messages, and then the program dies... ( I show this for bet

Re: [Lazarus] Weird AccessViolation (etc) while closing window in WinCE

2011-08-12 Thread Felipe Monteiro de Carvalho
1> Which FPC, Lazarus and Windows CE versions? 2> Have you tryed with the latest lazarus? If yes, have you tryed with 0.9.30? And 0.9.28? 3> Does a minimal application reproduce the issue? 4> Bug reports should go to the bug tracker -- Felipe Monteiro de Carvalho -- __

Re: [Lazarus] Console App Development

2011-08-12 Thread Marco van de Voort
On Thu, Aug 11, 2011 at 03:43:36PM -0300, Alexsander Rosa wrote: > Should we use CRT or VIDEO unit? What's the state of Free Vision? We plan to > port our WMS (Warehouse Management System) module from C to Pascal (to use > our persistence framework). It has a few colors, a numbered menu and a few >

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-12 Thread silvioprog
2011/8/9 Michael Van Canneyt : > It is not always possible to detect the required field. > Delphi also very often does it wrong.  (for instance when you do a join) > > That is why sql-db relies on the ProviderOptions property : pfInkey should > be set for the keyfield. > > This does not exclude tha

[Lazarus] Should Lazarus and FPC release library updates separately from product updates?

2011-08-12 Thread Frank Church
Whenever updates are made it is difficult to tell whether they are due to updates or fixes in the libraries, ie FCL, LCL etc or the product ie the Lazarus IDE and the FreePascal language and compiler. Unless library updates don't depend on product updates shouldn't they be kept separate? I don't

Re: [Lazarus] Edti's password char with bug?

2011-08-12 Thread William Oliveira Ferreira
i´ve tested on my debian and any of the passwordChars that i've set makes difference... William de Oliveira Ferreira Bacharel em Sistemas de Informação 2011/8/10 William Oliveira Ferreira > But that code runs under GTK2 and i have this problem on Windows Seven

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 11:44 AM, michael.vancann...@wisa.be wrote: > > That depends. Does MSEIDE offer the same features ? I'm not arguing feature vs feature. Each IDE has there own unique features, and both have many features in common too. I simply tested the features in common. eg: Loading and managing

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Martin
On 12/08/2011 08:38, Graeme Geldenhuys wrote: Hi, I have a suggestion to the Alt key for column section. Currently it doesn't work at all on Linux and probably *BSD too. The problem is two fold. 1) This is because the Alt+Click+Drag is already used by X11 to move windows around (without doi

Re: [Lazarus] Weird AccessViolation (etc) while closing window in WinCE

2011-08-12 Thread Tommi Prami
On 12.8.2011 13:17, Felipe Monteiro de Carvalho wrote: 1> Which FPC, Lazarus and Windows CE versions? FPC 2.4.4 Lazarus latest Trunk (From today) WinCE... hmmm, actually it is Windows Mobile 6.5 Pro (I think in both the Emulator and the Device) 2> Have you tryed with the latest lazarus?

Re: [Lazarus] Weird AccessViolation (etc) while closing window in WinCE

2011-08-12 Thread Felipe Monteiro de Carvalho
On Fri, Aug 12, 2011 at 1:30 PM, Tommi Prami wrote: > Latest yes, older no, I have no idea how to make them Co Exist in same > machine... http://wiki.lazarus.freepascal.org/Multiple_Lazarus -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list L

[Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Tommi Prami
Hello, Is there an way to configure that way? Or is it Group rule/policy/setting? Could it be the Gmail problem... Very difficult to find the Aswers some nice person has given into some problem because yopu can ffind the first question :) -TP- -- ___

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Flávio Etrusco
> I haven't checked it under Linux. But on windows, the right alt key, simply > translate into ctrl-alt. You can test it using shift-alt and cursor keys for > selection > > That means on windows, using the mouse I can use either alt key (because > ctrl+alt does not activate the mouse links) > This

Re: [Lazarus] Console App Development

2011-08-12 Thread Sven Barth
Am 12.08.2011 10:57, schrieb Graeme Geldenhuys: Lets just hope and pray that Lazarus doesn't one day get the "performance" of Eclipse IDE. That is probably the slowest and most memory hungry IDE I have every come across. :-/ I normally don't use such acronyms, but here it fits: +1 (for both po

[Lazarus] MessageDLG and localization Win/Linux

2011-08-12 Thread John Landmesser
Hi, same lazarus app, compiled on Windows XP, german localization: Code: MessageDlg('Title', 'Text', mtInformation, [ mbCancel, mbYes, mbNo], 0); You get buttons Captions 'Yes' and 'No' until you add: procedure TForm1.FormCreate(Sender: TObject); var PODirectory, Lang, FallbackLang:

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Sven Barth
Am 12.08.2011 13:37, schrieb Tommi Prami: Hello, Is there an way to configure that way? Or is it Group rule/policy/setting? Could it be the Gmail problem... Very difficult to find the Aswers some nice person has given into some problem because yopu can ffind the first question :) It could be

[Lazarus] Display compile commands based on project and IDE settings?

2011-08-12 Thread Frank Church
Is there a menu command to show the script that will executed by the Run or Build commands? -- Frank Church === http://devblog.brahmancreations.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazaru

Re: [Lazarus] SQLdb not detect automatically Required field

2011-08-12 Thread silvioprog
2011/8/9 waldo kitty : > off the top of my head, without reading the bug report, is this a required > field that the database knows about that is expected to tell the application > about? > > even though i've been doing a lot of this type of stuff for 20+ years, i've > not run into this particular

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Tommi Prami
It could be the option of your subscription... Navigate here: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus and enter your subscribed mail address at the bottom most input field behind which a button title "Unsubscribe or edit options" is located. Press the button and then ent

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 01:37 PM, Tommi Prami wrote: > > Is there an way to configure that way? Or is it Group > rule/policy/setting? Could it be the Gmail problem... GMail doesn't show your own message until somebody replies to it (at least this is true for the first message in a message thread). Then on

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Tommi Prami
> GMail doesn't show your own message until somebody replies to it (at least this is true for the first message > in a message thread). Then only does it appear as a conversion in your GMail Inbox. Regards, - Graeme - For me, it never appears... For reading I mainly use the Thuderbird, but I us

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 02:14 PM, Tommi Prami wrote: > For reading I mainly use the Thuderbird, but I use GMail Account... I do the same here, and it works for me. So maybe there is a setting you need to change in your mailing list account settings. Regards, - Graeme - -- fpGUI Toolkit - a cross-platf

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Sven Barth
Am 12.08.2011 14:06, schrieb Tommi Prami: It could be the option of your subscription... Navigate here: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus and enter your subscribed mail address at the bottom most input field behind which a button title "Unsubscribe or edit options" i

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Felipe Monteiro de Carvalho
On Fri, Aug 12, 2011 at 2:14 PM, Tommi Prami wrote: > For me, it never appears... > For reading I mainly use the Thuderbird, but I use GMail Account... The problem is probably in Thunderbird or a configuration of Thunderbird because it works from the standard web client. -- Felipe Monteiro de C

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Sven Barth
Am 12.08.2011 14:20, schrieb Felipe Monteiro de Carvalho: On Fri, Aug 12, 2011 at 2:14 PM, Tommi Prami wrote: For me, it never appears... For reading I mainly use the Thuderbird, but I use GMail Account... The problem is probably in Thunderbird or a configuration of Thunderbird because it wor

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Tommi Prami
On 12.8.2011 15:18, Sven Barth wrote: Am 12.08.2011 14:06, schrieb Tommi Prami: It could be the option of your subscription... Navigate here: http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus and enter your subscribed mail address at the bottom most input field behind which a butto

Re: [Lazarus] Console App Development

2011-08-12 Thread Michael Schnell
On 08/11/2011 10:03 PM, Alexsander Rosa wrote: A standard GUI app would require the (dozens of) warehouse operators to use the "stylus" heavily. ??? A GUI application can easily react on keystrokes -Michael -- ___ Lazarus mailing list Lazarus@li

Re: [Lazarus] MessageDLG and localization Win/Linux

2011-08-12 Thread Bart
On 8/12/11, John Landmesser wrote: > procedure TForm1.FormCreate(Sender: TObject); > var > PODirectory, Lang, FallbackLang: String; >begin > >PODirectory := 'C:\lazarus\lcl\languages\'; > //PODirectory := '/home/john1/lazarus/lcl/languages/'; > GetLanguageIDs(Lang

Re: [Lazarus] Console App Development

2011-08-12 Thread Michael Schnell
... in fact I once did a GUI application (in Delphi) that the user (a person watching what goes on in a subway station) handles "blind" via the keyboard. No mouse attached to that PC. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepa

Re: [Lazarus] Weird AccessViolation (etc) while closing window in WinCE

2011-08-12 Thread Tommi Prami
On 12.8.2011 13:17, Felipe Monteiro de Carvalho wrote: 1> Which FPC, Lazarus and Windows CE versions? 2> Have you tryed with the latest lazarus? If yes, have you tryed with 0.9.30? And 0.9.28? 3> Does a minimal application reproduce the issue? 4> Bug reports should go to the bug tracker

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Flávio Etrusco
On Fri, Aug 12, 2011 at 8:20 AM, Martin wrote: > On 12/08/2011 08:38, Graeme Geldenhuys wrote: >> >> Hi, >> >> I have a suggestion to the Alt key for column section. Currently it >> doesn't work at all on Linux and probably *BSD too. The problem is two >> fold. >> >> 1) This is because the Alt+Cli

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 02:45 PM, Flávio Etrusco wrote: > > Adding support for ssAltGr is as simple as adding in lcl\forms.pp, line 1764: > > + if GetKeyState(VK_RMENU) < 0 then Include(Result, ssAltGr); All good and well, but I was actually referring to SynEdit (Lazarus's editor component), not a Form.

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Martin
On 12/08/2011 13:45, Flávio Etrusco wrote: I haven't checked it under Linux. But on windows, the right alt key, simply translate into ctrl-alt. You can test it using shift-alt and cursor keys for selection That means on windows, using the mouse I can use either alt key (because ctrl+alt does not

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread Sven Barth
Am 12.08.2011 14:23, schrieb Tommi Prami: I've used the one I got when I registered some time ago... I can double Check... Oops wrong mail address... I had the setting "on" to receive my own messages :( In that case I don't know what could be the problem... do you see your messages in the we

Re: [Lazarus] Alt key to set column selection mode is broken

2011-08-12 Thread Martin
On 12/08/2011 13:51, Graeme Geldenhuys wrote: On 08/12/2011 02:45 PM, Flávio Etrusco wrote: Adding support for ssAltGr is as simple as adding in lcl\forms.pp, line 1764: + if GetKeyState(VK_RMENU)< 0 then Include(Result, ssAltGr); All good and well, but I was actually referring to SynEdit (

Re: [Lazarus] Console App Development

2011-08-12 Thread Flávio Etrusco
> > memory usage after the above: >  Lazarus IDE (gtk2):  145MB >  MSEide:               31MB > Where are you seeing these numbers? I guess you know you have to look at RSS, right? (In case anyone is interested, nn Linux event library mappings is accounted in VM. GTK has huge mappings but doesn't

Re: [Lazarus] MessageDLG and localization Win/Linux

2011-08-12 Thread leledumbo
> The same app compiled on my Debain Sid, i get > buttons Captions 'Ja' and 'Nein' even if i comment out the code above. AFAIK your system locale is the default, either you have to provide language choice options or hardcode the language you want to translator functions. -- View this message in

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 03:01 PM, Flávio Etrusco wrote: > > Where are you seeing these numbers? I guess you know you have to look > at RSS, right? gnome-system-monitor Then look under the "Processes" tab, there is a Memory column. alternatively I can use 'top -p Then take then do a bit of math: RES -

Re: [Lazarus] Console App Development

2011-08-12 Thread Flávio Etrusco
On Fri, Aug 12, 2011 at 10:57 AM, Graeme Geldenhuys wrote: > On 08/12/2011 03:01 PM, Flávio Etrusco wrote: >> >> Where are you seeing these numbers? I guess you know you have to look >> at RSS, right? > > gnome-system-monitor > Then look under the "Processes" tab, there is a Memory column. > > > a

Re: [Lazarus] RE : Forms in DLL

2011-08-12 Thread Michael Schnell
On 08/12/2011 03:01 PM, Juan Sánchez wrote: I use very little Mac. Only for work, programming for Win and Mac but in personal level I use Linux for over fifteen years. In Linux I could not prove it yet because now I have not installed except in a virtual machine. There should not be any differen

Re: [Lazarus] RE : Forms in DLL

2011-08-12 Thread Michael Schnell
Sorry I never used Mac. Did you try Linux ? -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 04:21 PM, Flávio Etrusco wrote: > > OMG. Then we really need to discover what the gtk2 glue is doing so wrong. It's not just LCL-GTK2, the same thing happens with Lazarus IDE compiled for LCL-Qt4 too. Just tested. Opening a blank project, Lazarus IDE (using LCL-Qt4) uses 69MB alread

[Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread silvioprog
Hi, What the value of the $fpcversion in FPC 2.6.0? Is 2.5.1? I need to configure my fpc.cfg (I generate this file with ) on Linux, but the value of this directive return 2.5.1, and my dirs are 2.6.0. Source code of my script to install the FPC 2.6.0: http://pastebin.com/xhQQ0fSL How to I confi

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 01:19 PM, Graeme Geldenhuys wrote: > > memory usage after the above: > Lazarus IDE (gtk2): 145MB > MSEide: 31MB Now to show how Lazarus is increasing in memory usage per release. Here I loaded the same project and same amount of units under an old Lazarus version

Re: [Lazarus] Console App Development

2011-08-12 Thread Martin
On 12/08/2011 15:53, Graeme Geldenhuys wrote: On 08/12/2011 01:19 PM, Graeme Geldenhuys wrote: memory usage after the above: Lazarus IDE (gtk2): 145MB MSEide: 31MB Now to show how Lazarus is increasing in memory usage per release. Here I loaded the same project and same amo

Re: [Lazarus] Console App Development

2011-08-12 Thread Graeme Geldenhuys
On 08/12/2011 05:06 PM, Martin wrote: > > But what exactly are you comparing? Lazarus (old) vsLazarus (new) MSEide vsany Lazarus version At the moment I'm just comparing memory consumption doing the same tasks in each test case. But as I also list, opening 208 units, the spee

Re: [Lazarus] Should Lazarus and FPC release library updates separately from product updates?

2011-08-12 Thread Alexander Klenin
2011/8/12 Frank Church : > Whenever updates are made it is difficult to tell whether they are due to > updates or fixes in the libraries, ie FCL, LCL etc or the product ie the > Lazarus IDE and the FreePascal language and compiler. > > Unless library updates don't depend on product updates shouldn'

Re: [Lazarus] Console App Development

2011-08-12 Thread Martin
On 12/08/2011 16:16, Graeme Geldenhuys wrote: But as I also list, opening 208 units, the speed in MSEide is near instant compared to Lazarus IDE (any version of Lazarus, old or new). 15 secs for 200 units are NOT a bad time. And btw, older lazarus was slower, there was recent work. Part of t

Re: [Lazarus] Console App Development

2011-08-12 Thread Henry Vermaak
On 12/08/11 17:09, Martin wrote: On 12/08/2011 16:16, Graeme Geldenhuys wrote: But as I also list, opening 208 units, the speed in MSEide is near instant compared to Lazarus IDE (any version of Lazarus, old or new). 15 secs for 200 units are NOT a bad time. And btw, older lazarus was slower, t

Re: [Lazarus] Console App Development

2011-08-12 Thread Martin
On 12/08/2011 17:28, Henry Vermaak wrote: On 12/08/11 17:09, Martin wrote: On 12/08/2011 16:16, Graeme Geldenhuys wrote: But as I also list, opening 208 units, the speed in MSEide is near instant compared to Lazarus IDE (any version of Lazarus, old or new). 15 secs for 200 units are NOT a bad

Re: [Lazarus] Console App Development

2011-08-12 Thread Florian Klämpfl
Am 11.08.2011 22:13, schrieb Graeme Geldenhuys: > On 11 August 2011 21:38, Felipe Monteiro de Carvalho > wrote: >> I find the choice of going for a console app quite curious. > > +1 > > And this is not the first message (in recent days) where the developer > is considering console app over gui a

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Marcos Douglas
On Fri, Aug 12, 2011 at 11:47 AM, silvioprog wrote: > > Hi, > > What the value of the $fpcversion in FPC 2.6.0? Is 2.5.1? Yep. > I need to configure my fpc.cfg (I generate this file with ) on Linux, > but the value of this directive return 2.5.1, and my dirs are 2.6.0. I had the same "problem"

Re: [Lazarus] Console App Development

2011-08-12 Thread Henry Vermaak
On 12/08/11 17:43, Martin wrote: - opening several 100 files is rare. (yeah some people only open, never close, and next time they reload they open all of them again => but how often to you edit e4ach of 200 files on one work day?) You are completely missing the point: This is a benchmark. It

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Vincent Snijders
2011/8/12 Marcos Douglas : > On Fri, Aug 12, 2011 at 11:47 AM, silvioprog wrote: >> >> Hi, >> >> What the value of the $fpcversion in FPC 2.6.0? Is 2.5.1? > > Yep. > >> I need to configure my fpc.cfg (I generate this file with ) on Linux, >> but the value of this directive return 2.5.1, and my dir

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Marcos Douglas
On Fri, Aug 12, 2011 at 2:07 PM, Vincent Snijders wrote: > 2011/8/12 Marcos Douglas : >> On Fri, Aug 12, 2011 at 11:47 AM, silvioprog wrote: >>> >>> Hi, >>> >>> What the value of the $fpcversion in FPC 2.6.0? Is 2.5.1? >> >> Yep. >> >>> I need to configure my fpc.cfg (I generate this file with )

[Lazarus] RE : Console App Development

2011-08-12 Thread Ludo Brands
> It's not a bad time. It's a _terrible_ time. > > hcv@technical09:~/source/freepascal/latest/packages/univint/src$ time > gvim "+qa" -fp * > 450 files to edit > > real 0m3.433s > user 0m3.110s > sys 0m0.208s > > This is with syntax highlighting, everything opened in tabs. > I wonder >

Re: [Lazarus] Console App Development

2011-08-12 Thread Martin
On 12/08/2011 17:57, Henry Vermaak wrote: On 12/08/11 17:43, Martin wrote: - opening several 100 files is rare. (yeah some people only open, never close, and next time they reload they open all of them again => but how often to you edit e4ach of 200 files on one work day?) You are completely m

Re: [Lazarus] RE : Console App Development

2011-08-12 Thread Martin
On 12/08/2011 18:14, Ludo Brands wrote: On a slower system (seconds rounded): lazarus * real 1m57 user 1m39 sys 0m1 0.9.30 or trunk? Can you test trunk? I believe some of the improvements to opening files where made in trunk only after 0930 was out. geany *

Re: [Lazarus] RE : Console App Development

2011-08-12 Thread Martin
On 12/08/2011 18:42, Martin wrote: On 12/08/2011 18:14, Ludo Brands wrote: On a slower system (seconds rounded): lazarus * real 1m57 user 1m39 sys 0m1 0.9.30 or trunk? Can you test trunk? I believe some of the improvements to opening files where made in trunk only after 0930 was

Re: [Lazarus] getting started with ExtPascal (was: tools for creating web database client)

2011-08-12 Thread Marc Santhoff
Am Donnerstag, den 11.08.2011, 21:30 -0300 schrieb Marcos Douglas: > On Thu, Aug 11, 2011 at 5:38 PM, Marc Santhoff wrote: > > > > Am Donnerstag, den 11.08.2011, 21:04 +0200 schrieb Marc Santhoff: > > > I know from memory there are some rich > > > client support techniques, but I forgot the names.

Re: [Lazarus] getting started with ExtPascal

2011-08-12 Thread Marc Santhoff
Am Donnerstag, den 11.08.2011, 14:10 -0700 schrieb ABorka: > On 8/11/2011 13:38, Marc Santhoff wrote: > > Am Donnerstag, den 11.08.2011, 21:04 +0200 schrieb Marc Santhoff: > >> I know from memory there are some rich > >> client support techniques, but I forgot the names. > > > > Found it it is ExtJ

[Lazarus] Compile error Lazarus

2011-08-12 Thread Darius Blaszyk
I tried compiling Lazarus today on my mac with latest FPC and got the following compile error: /Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly Regards, Darius -- _

[Lazarus] Converting C# GUI to Lazarus

2011-08-12 Thread ik
Hello List, I've been evangelisting FPC and Lazarus for a lot of time now, and today on the biggest annual open source event over here ( http://august.penguin.org.il/) I was approached by a person that wish to convert C# application to Lazarus, but he can not find any tools that can help him do

Re: [Lazarus] Console App Development

2011-08-12 Thread Vincent Snijders
2011/8/12 Graeme Geldenhuys : >> that use the memory. but memory is rather cheap nowadays? > > So that's your answer. There is no issue even though memory usage double > between each release? Another reason to have as little releases as possible. ;-) Vincent -- __

Re: [Lazarus] Compile error Lazarus

2011-08-12 Thread Hans-Peter Diettrich
Darius Blaszyk schrieb: I tried compiling Lazarus today on my mac with latest FPC and got the following compile error: /Users/dariusblaszyk/freepascal/lazarus/components/jcf2/Ui/Settings/frCompilerDirectReturns.pas(88,27) Error: Abstract methods can't be called directly That line reads how?

Re: [Lazarus] RE : Forms in DLL

2011-08-12 Thread Gastón Dall' Oglio
Hello, I don't know if it works, but FYI http://wiki.lazarus.freepascal.org/Creating_LCL_Control_From_Libraries 2011/8/12 Michael Schnell > Sorry I never used Mac. Did you try Linux ? > > > -Michael > > -- > ___ > Lazarus mailing list > Lazarus@lists.l

Re: [Lazarus] Converting C# GUI to Lazarus

2011-08-12 Thread Hans-Peter Diettrich
ik schrieb: Hello List, I've been evangelisting FPC and Lazarus for a lot of time now, and today on the biggest annual open source event over here (http://august.penguin.org.il/) I was approached by a person that wish to convert C# application to Lazarus, but he can not find any tools that

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Vincent Snijders
2011/8/12 Marcos Douglas : > On Fri, Aug 12, 2011 at 2:07 PM, Vincent Snijders >> >> You should just ask the fpc executable for the version number. > > But he wants to write the fpc.cfg file... with macros. > Let him write with macros, then he doesn't need to know the actual version number. IOW, I

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Marcos Douglas
On Fri, Aug 12, 2011 at 4:04 PM, Vincent Snijders wrote: > > 2011/8/12 Marcos Douglas : > > On Fri, Aug 12, 2011 at 2:07 PM, Vincent Snijders > >> > >> You should just ask the fpc executable for the version number. > > > > But he wants to write the fpc.cfg file... with macros. > > > > Let him writ

Re: [Lazarus] Compile error Lazarus

2011-08-12 Thread Darius Blaszyk
Strange... There must have been some old ppu files present. I just recompiled and now it worked. Darius On Aug 12, 2011, at 9:38 PM, Hans-Peter Diettrich wrote: > Darius Blaszyk schrieb: >> I tried compiling Lazarus today on my mac with latest FPC and got the >> following compile error: >> /Us

Re: [Lazarus] RE : Forms in DLL

2011-08-12 Thread Juan Sánchez
Thans a lot. I remember that one year ago I read it for another job. Now reading it I take in mind a couple of ideas that combined with work of that days and the tests I've made that days could result. I'll try it with both ideas... :-) Juan. El 12/08/2011 20:55, "Gastón Dall' Oglio" escribió: --

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Vincent Snijders
2011/8/12 Marcos Douglas : >> Let him write with macros, then he doesn't need to know the actual >> version number. IOW, I don't understand the problem. > > He is using the fixes_2_6 and created a directory 2.6.0. But the real > version is 2.5.1 so, the fpc.cfg is searching for 2.5.1 not 2.6.0. He

Re: [Lazarus] Compile error Lazarus

2011-08-12 Thread Vincent Snijders
2011/8/12 Darius Blaszyk : > Strange... There must have been some old ppu files present. I just recompiled > and now it worked. > > Darius Strange indeed, I committed a fix for that only 5 minutes ago. > > On Aug 12, 2011, at 9:38 PM, Hans-Peter Diettrich wrote: > >> Darius Blaszyk schrieb: >>>

Re: [Lazarus] Why I can't see my own messages in this list?

2011-08-12 Thread José Mejuto
Hello Lazarus-List, Friday, August 12, 2011, 2:21:49 PM, you wrote: SB> I suspect the settings of his mailing list account, because there IS an SB> option to enable/disable the sending of ones own mails. I had changed that option multiple times and never got my written emails back. Maybe is gmai

Re: [Lazarus] RE : RE :FPC_REQUIRES_PROPER_ALIGNMENTdefinedonSolariscausescrashinlazarus

2011-08-12 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Ludo Brands wrote: Sounds good. By all means update the page- that's what it's there for :-) Updated. I'll try to spend some time with that as soon as I've got any- things have cropped up here that are likely to occupy me for about the next week hence no progre

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread silvioprog
2011/8/12 Vincent Snijders : > 2011/8/12 Marcos Douglas : >>> Let him write with macros, then he doesn't need to know the actual >>> version number. IOW, I don't understand the problem. >> >> He is using the fixes_2_6 and created a directory 2.6.0. But the real >> version is 2.5.1 so, the fpc.cfg i

Re: [Lazarus] RE : Forms in DLL

2011-08-12 Thread Juan Sánchez
Dear Gastón, I'm trying to use reference from url you have write. I understand procces but, really, I don't know how it can be implemented because what are these objects: TRHandle, TRWinControl, FillRWinControlInterface, etc... Could you help me to understand them? Thanks a lot. 2011/8/1

[Lazarus] Google Chrome, Lazarus, and "Native Client SDK"

2011-08-12 Thread Michael Joyner
REF: Google Chrome, Lazarus, and "Native Client SDK" Osiyo Nigada! Hello Everyone! I see here http://code.google.com/chrome/nativeclient/ that you can create "native" coded apps for execution by the browser (ActiveX for Chrome Google?) It says that "Native Client supports C and C++ (and will co

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Maxim Ganetsky
13.08.2011 2:16, silvioprog пишет: 2011/8/12 Vincent Snijders: 2011/8/12 Marcos Douglas: Let him write with macros, then he doesn't need to know the actual version number. IOW, I don't understand the problem. He is using the fixes_2_6 and created a directory 2.6.0. But the real version is 2.5

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread silvioprog
2011/8/12 Maxim Ganetsky : > In order for macros to work properly compiler version should match directory > name. Alternatively you can avoid using macros in fpc.cfg. > > -- > Best regards, >  Maxim Ganetsky                  mailto:gan...@narod.ru I create fpc.cfg automatically with "sudo /usr/lib

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread Marcos Douglas
On Fri, Aug 12, 2011 at 8:01 PM, silvioprog wrote: > 2011/8/12 Maxim Ganetsky : >> In order for macros to work properly compiler version should match directory >> name. Alternatively you can avoid using macros in fpc.cfg. >> >> -- >> Best regards, >>  Maxim Ganetsky                  mailto:gan...@

Re: [Lazarus] Compile error Lazarus

2011-08-12 Thread Darius Blaszyk
On Aug 12, 2011, at 11:19 PM, Vincent Snijders wrote: > 2011/8/12 Darius Blaszyk : >> Strange... There must have been some old ppu files present. I just >> recompiled and now it worked. >> >> Darius > > Strange indeed, I committed a fix for that only 5 minutes ago. It seems I mixed up the comp

Re: [Lazarus] Value of the $fpcversion - FPC 2.6.0

2011-08-12 Thread silvioprog
2011/8/12 Marcos Douglas : > Use the /2.5.1 directory. > > Marcos Douglas Yes. Solved! :) I changed the description of my scrip to not confuse the users: ... "Automated installation v1.1 for install Lazarus(trunk)/FPC(fixes 2.6.0)" ... I'll also edit the entry I made in the wiki. Thxs to all.

Re: [Lazarus] RE : Forms in DLL

2011-08-12 Thread Gastón Dall' Oglio
I sorry, I only know this link for the moment about this theme :( ... and I also failed to find such units: TRHandle, TRWinControl... 2011/8/12 Juan Sánchez > Dear Gastón, > > I'm trying to use reference from url you have write. I understand > procces but, really, I don't know how it can be

Re: [Lazarus] Console App Development

2011-08-12 Thread Michael Thompson
> OMG. Then we really need to discover what the gtk2 glue is doing so wrong. I noticed a few weeks ago that, in at at least one unit, we don't appear to free'ing g_list's consistently. I queried this in the forums with no response - as I stated in that post I have no idea if the glib has a garbag

Re: [Lazarus] Console App Development

2011-08-12 Thread Michael Thompson
> > OMG. Then we really need to discover what the gtk2 glue is doing so wrong. > It's not just LCL-GTK2, the same thing happens with Lazarus IDE compiled > for LCL-Qt4 too. Just tested. Opening a blank project, Lazarus IDE > (using LCL-Qt4) uses 69MB already. Open a 100 units and the memory usage