[Lazarus] IDE flaws
Currently I observe the following flaws (Win7): 1) An editor page in a secondary editor window *only* can be cloned into a new window. Why does the handling of secondary editor windows differ from the handling of the primary window??? 2) Code completion still gets stuck all the time. The list is either blanked, or contains only "Bad..." entries. 3) Possibly related to secondary editor windows: a code template invocation (^J) can end up in a different window (previously active?). In most cases it helps to switch to an different tab/file in the originating window, and back again. 4) In IdeWindowIntf TIDEWindowCreator.GetDefaultBounds(), relative window extents are computed in a wrong way. In both horizontal and vertical direction the lines if aRight<0 then aRight:=ScreenR.Right-aRight // relative to right of screen should be corrected into aRight:=ScreenR.Right + aRight // relative to right of screen because aRight/aBottom is already negative! DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)
On Thu, 30 Jun 2011, Alexsander Rosa wrote: TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns). Is it possible? I would like to resize a column that is one of the FixedCols -- but I need the "freeze pane" feature. This one I would REALLY like myself. A serious shortcoming of the grid. (in Delphi as well) Michael. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)
TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns). Is it possible? I would like to resize a column that is one of the FixedCols -- but I need the "freeze pane" feature. -- Atenciosamente, Alexsander da Rosa http://rednaxel.com -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] thread safe
Lukasz Sokol schrieb: Objects (classes) add further topics to the list of items, that make up "thread-safety" in general. After compilation, it's just code, isn't it? Classes may have the 'hidden' variables but they're not 'hidden' to the OS/CPU ? Objects include information, that may be subject to race conditions, deadlocks and other unwanted things. A "thread-safe" definition for procedures covers nothing of what applies to thread-safe objects. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Codetools confused?
Bart hat am 30. Juni 2011 um 16:29 geschrieben: > On 3/27/11, Bart wrote: > > On 3/27/11, Mattias Gaertner wrote: > >>> ATM I cannot reproduce the popup after a dot in a text constant, I'll > >>> make another screenshot when it happens again (and I rember to do so). > > Codetools still pop up when I type a period in a string constant (but > only (it seems) if the string constant is already enclosed in single > quotes). > > See attached image. > > Lazarus r31473M/fpc 2.4.4 Please create a bug report. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] barchart demo...
On 6/30/2011 11:08, Alexander Klenin wrote: On Fri, Jul 1, 2011 at 02:06, waldo kitty wrote: win2k i386 Laz 0.9.31 SVN r31426 FPC 2.4.5 SVN runknown when i attempt to run laz/examples/barchart/chartdemo.lpi i'm told that it cannot find the chart unit specified in the uses clause... am i missing a required package installed to my ide or is something else amiss? TBarChart is deprecated, please use TAChart instead. ahhh... i was just going thru compiling the demos to see what they do and how they are coded... this is one of several that i have problems with... i'm going to try to report each as i find them but sometimes i'm on another machine without access to email and this list... (BTW, maybe it is time to remove the example, or at least mark it in some way?) i would at least add something to the header... if TBarChart is deprecated it appears that it may already be removed since my systems cannot find it... if it is already removed, yes, i'd remove the examples/barchart directory and all files it contains... -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] barchart demo...
On Fri, Jul 1, 2011 at 02:06, waldo kitty wrote: > > win2k i386 > Laz 0.9.31 SVN r31426 > FPC 2.4.5 SVN runknown > > when i attempt to run laz/examples/barchart/chartdemo.lpi i'm told that it > cannot find the chart unit specified in the uses clause... am i missing a > required package installed to my ide or is something else amiss? TBarChart is deprecated, please use TAChart instead. (BTW, maybe it is time to remove the example, or at least mark it in some way?) -- Alexander S. Klenin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] barchart demo...
win2k i386 Laz 0.9.31 SVN r31426 FPC 2.4.5 SVN runknown when i attempt to run laz/examples/barchart/chartdemo.lpi i'm told that it cannot find the chart unit specified in the uses clause... am i missing a required package installed to my ide or is something else amiss? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
>From: zeljko [mailto:zel...@holobit.net] >Sent: Thursday, June 30, 2011 2:56 PM >To: Lazarus mailing list >Subject: Re: [Lazarus] Error while compiling latest SVN version > >On Thursday 30 of June 2011 15:10:08 Dirk wrote: >> Submitted bug report + patch for Anchordocking: >> http://bugs.freepascal.org/view.php?id=19660 > >I've applied your patch. Thanks zeljko. I closed the bug report. Dirk. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Codetools confused?
On 3/27/11, Bart wrote: > On 3/27/11, Mattias Gaertner wrote: >>> ATM I cannot reproduce the popup after a dot in a text constant, I'll >>> make another screenshot when it happens again (and I rember to do so). Codetools still pop up when I type a period in a string constant (but only (it seems) if the string constant is already enclosed in single quotes). See attached image. Lazarus r31473M/fpc 2.4.4 Bart <>-- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
On Thursday 30 of June 2011 15:10:08 Dirk wrote: > Submitted bug report + patch for Anchordocking: > http://bugs.freepascal.org/view.php?id=19660 I've applied your patch. thanks zeljko -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] thread safe
On 06/30/2011 01:53 PM, Lukasz Sokol wrote: AFAIR, code (whatever way you write it) can either BE safe or NOT, no half measyres here - any one of the 'properties' vel 'aspects' not complied with, and you can't name your code thread-safe. A function easily can be thread safe _only_ if a parameter of same is different for each thread: var a array [0...10] of Integer; Function x(i); begin a[i] := a[i] + 1; end; A very likely case with the hidden self parameter of class instances. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] thread safe
On 06/30/2011 01:53 PM, Lukasz Sokol wrote: After compilation, it's just code, isn't it? Yep but the programmer that writes the code using an existing object and reading it's docs does not see the code after compilation. He is inclined to consider the functions of multiple instances of a class to be unrelated code which might or might not be appropriate, depending on the classes internals. (Or anther programmer thinks the code is related, which might in fact be too restrictive.) -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] thread safe
On 06/30/2011 10:09 AM, Lukasz Sokol wrote: On 29/06/2011 16:11, Michael Schnell wrote: How is the 'thread safety for classses' different from thread safety for any other code ? This already has been discussed in this thread previously. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
2011/6/30 Dirk : > Submitted bug report + patch for Anchordocking: > http://bugs.freepascal.org/view.php?id=19660 > > Dirk. Solved. Lazarus 0.9.31 r31477 FPC 2.5.1 i386-win32-win32/win64 -- Silvio Clécio === Blog - Twitter - LazSolutions - LazWebSolutions - Lazarus-BR - === * Conheça nosso canal IRC sobre Lazarus: #lazarus-br * === -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
Submitted bug report + patch for Anchordocking: http://bugs.freepascal.org/view.php?id=19660 Dirk. > -Original Message- > From: Dirk [mailto:dirk.l...@dirksweb.com] > Sent: Thursday, June 30, 2011 1:47 PM > To: 'Lazarus mailing list' > Subject: RE: [Lazarus] Error while compiling latest SVN version > > The change also breaks AnchorDocking package: > > Compiling anchordockpkg.pas > Compiling anchordocking.pas > Compiling anchordockstorage.pas > C:\dev\lazarus_trunk\examples\anchordocking\anchordockstorage.pas(266,5 > ) > Error: Expected another 1 array elements > > Code: > ADLWindowStateNames: array[TWindowState] of string = ( > 'Normal', > 'Minimized', > 'Maximized' > ); > > > Dirk. > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
The change also breaks AnchorDocking package: Compiling anchordockpkg.pas Compiling anchordocking.pas Compiling anchordockstorage.pas C:\dev\lazarus_trunk\examples\anchordocking\anchordockstorage.pas(266,5) Error: Expected another 1 array elements Code: ADLWindowStateNames: array[TWindowState] of string = ( 'Normal', 'Minimized', 'Maximized' ); Dirk. > -Original Message- > From: Bart [mailto:bartjun...@gmail.com] > Sent: Thursday, June 30, 2011 12:28 PM > To: Lazarus mailing list > Subject: Re: [Lazarus] Error while compiling latest SVN version > > I just tried that myself and it seems to work. > I attached a patch in the bugtracker. > > Bart > > On 6/30/11, Bart wrote: > > If you change the line in main.pp to > > > > ShowCommands: array[TWindowState] of Integer = > >(SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); > > > > Will it then build? > > > > Bart > > > > On 6/30/11, Bart wrote: > >> Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 > >> > >> Bart > >> > >> On 6/30/11, Bart wrote: > >>> Due to r31470: > >>> http://svn.freepascal.org/cgi- > bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 > >>> > >>> TWindowState definition has changed. > >>> > >>> On 6/30/11, Torsten Bonde Christiansen wrote: > Same here. > > Happens on both Win32 and Linux x86_64 - i have the same SVN > revision. > > -Torsten. > > On 2011-06-30 11:46, Tommi Prami wrote: > > OK, short explanation: > > > > Did everything all over again : > > > > SVN : 31471 > > FPC : 2.4.4 > > > > I run the make of the Lazarus, and then start the IDE (That fart > it > > works) then try to run Toos -> "Build Lazarus with profile ..." > to get > > all the Packages to build again... (After update... Now it > weirdly > > fails at) > > main(.pas) > > function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: > > TCodeBuffer; > > OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; > > const > > BufSize = 4096; // allocating mem in 4k chunks helps many mem > > managers > > > > ShowCommands: array[TWindowState] of Integer = > > (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); > > > > with message : > > > > ... > > C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol > "OnEditButtonClick" > > is deprecated > > C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol > "OnEditButtonClick" > > is deprecated > > C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol > "OnEditButtonClick" > > is deprecated > > "Compiling package LCLBase 1.0.1" completed > > C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User > > defined: Fix implicit pointer conversions > > "Compiling package LCL 1.0.1" completed > > C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) > Warning: > > An inherited method is hidden by "TListFilterEdit.Invalidate;" > > C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: > > Parameter "Done" not used > > "Compiling package LazControls 0.0" completed > > "Compiling package IDEIntf 1.0" completed > > C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) > Hint: > > Parameter "User" not used > > "Compiling package sqlite3laz 0.4" completed > > "Compiling package lnetvisual 0.6.6" completed > > "Compiling package SynEdit 1.0" completed > > > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) > > Warning: Local variable "C" does not seem to be initialized > > > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) > > Hint: Parameter "SQL" not used > > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) > > Hint: Local const "SSQLOK" is not used > > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) > > Hint: Local const "SQLSyntaxOK" is not used > > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) > > Hint: Local const "SSQLError" is not used > > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) > > Hint: Local const "SSQLSyntaxError" is not used > > C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: > Parameter > > "ResourceName" not used > > C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: > Parameter > > "Filename" not used > > C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: > Parameter > > "SourceName" not used > > C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: > Parameter > > "ResourceName" not used > > C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit > > "SrcEditorIntf" not used in registersqldb > > "Compiling package SQLDBLaz 1.0.1" completed > > C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol > > "GDBDisassemble" is deprecated > > C
Re: [Lazarus] thread safe
On 30/06/2011 11:14, Hans-Peter Diettrich wrote: > Lukasz Sokol schrieb: [...] >> >> How is the 'thread safety for classses' different from thread >> safety for any other code ? > > Thread-safety has many facettes. An item may be safe in one aspect, > e.g. not using global variables, but unsafe in other aspects. If it is unsafe in other aspects then it is unsafe, right? (modulo what you actually need, but AFAIR there is not much too pick&choose from, because they are related and some of them imply others ?) > > Objects (classes) add further topics to the list of items, that make > up "thread-safety" in general. After compilation, it's just code, isn't it? Classes may have the 'hidden' variables but they're not 'hidden' to the OS/CPU ? > > During the various discussions I got the impression, that > thread-safety only can be a headline or keyword, that leads to a > detailed description of thread-related properties or behaviour of the > described item. > AFAIR, code (whatever way you write it) can either BE safe or NOT, no half measyres here - any one of the 'properties' vel 'aspects' not complied with, and you can't name your code thread-safe. It may be a headline or keyword, but it should list ALL the things one need to be aware of when writing multi-threaded code? That's my view. > DoDi > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
This problem is also happening to me: http://imagebin.org/160713 Lazarus 0.9.31 r31428 FPC 2.5.1 i386-win32-win32/win64 -- Silvio Clécio === Blog - Twitter - LazSolutions - LazWebSolutions - Lazarus-BR - === * Conheça nosso canal IRC sobre Lazarus: #lazarus-br * === -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
I just tried that myself and it seems to work. I attached a patch in the bugtracker. Bart On 6/30/11, Bart wrote: > If you change the line in main.pp to > > ShowCommands: array[TWindowState] of Integer = >(SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); > > Will it then build? > > Bart > > On 6/30/11, Bart wrote: >> Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 >> >> Bart >> >> On 6/30/11, Bart wrote: >>> Due to r31470: >>> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 >>> >>> TWindowState definition has changed. >>> >>> On 6/30/11, Torsten Bonde Christiansen wrote: Same here. Happens on both Win32 and Linux x86_64 - i have the same SVN revision. -Torsten. On 2011-06-30 11:46, Tommi Prami wrote: > OK, short explanation: > > Did everything all over again : > > SVN : 31471 > FPC : 2.4.4 > > I run the make of the Lazarus, and then start the IDE (That fart it > works) then try to run Toos -> "Build Lazarus with profile ..." to get > all the Packages to build again... (After update... Now it weirdly > fails at) > main(.pas) > function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: > TCodeBuffer; > OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; > const > BufSize = 4096; // allocating mem in 4k chunks helps many mem > managers > > ShowCommands: array[TWindowState] of Integer = > (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); > > with message : > > ... > C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" > is deprecated > C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" > is deprecated > C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" > is deprecated > "Compiling package LCLBase 1.0.1" completed > C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User > defined: Fix implicit pointer conversions > "Compiling package LCL 1.0.1" completed > C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: > An inherited method is hidden by "TListFilterEdit.Invalidate;" > C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: > Parameter "Done" not used > "Compiling package LazControls 0.0" completed > "Compiling package IDEIntf 1.0" completed > C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: > Parameter "User" not used > "Compiling package sqlite3laz 0.4" completed > "Compiling package lnetvisual 0.6.6" completed > "Compiling package SynEdit 1.0" completed > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) > Warning: Local variable "C" does not seem to be initialized > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) > Hint: Parameter "SQL" not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) > Hint: Local const "SSQLOK" is not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) > Hint: Local const "SQLSyntaxOK" is not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) > Hint: Local const "SSQLError" is not used > C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) > Hint: Local const "SSQLSyntaxError" is not used > C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter > "ResourceName" not used > C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter > "Filename" not used > C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter > "SourceName" not used > C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter > "ResourceName" not used > C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit > "SrcEditorIntf" not used in registersqldb > "Compiling package SQLDBLaz 1.0.1" completed > C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol > "GDBDisassemble" is deprecated > C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable > "TVNodeStack" not used > C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but > ")" found > > -Tee- > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Our Program who art in Memory, Hello be Thy Name. Thy Operating System come, Thy Commands be done, at the Printer as it is on the Screen. Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges, for Thine is the Algorit
Re: [Lazarus] Error while compiling latest SVN version
Seems to work... -TP- On 30.6.2011 14:01, Bart wrote: If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); Will it then build? Bart On 6/30/11, Bart wrote: Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 Bart On 6/30/11, Bart wrote: Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 TWindowState definition has changed. On 6/30/11, Torsten Bonde Christiansen wrote: Same here. Happens on both Win32 and Linux x86_64 - i have the same SVN revision. -Torsten. On 2011-06-30 11:46, Tommi Prami wrote: OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos -> "Build Lazarus with profile ..." to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" is deprecated "Compiling package LCLBase 1.0.1" completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions "Compiling package LCL 1.0.1" completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by "TListFilterEdit.Invalidate;" C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter "Done" not used "Compiling package LazControls 0.0" completed "Compiling package IDEIntf 1.0" completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter "User" not used "Compiling package sqlite3laz 0.4" completed "Compiling package lnetvisual 0.6.6" completed "Compiling package SynEdit 1.0" completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable "C" does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter "SQL" not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const "SSQLOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const "SQLSyntaxOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const "SSQLError" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const "SSQLSyntaxError" is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter "Filename" not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter "SourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit "SrcEditorIntf" not used in registersqldb "Compiling package SQLDBLaz 1.0.1" completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol "GDBDisassemble" is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable "TVNodeStack" not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but ")" found -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Our Program who art in Memory, Hello be Thy Name. Thy Operating System come, Thy Commands be done, at the Printer as it is on the Screen. Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges, for Thine is the Algorithm, the Application, and the Solution, looping forever and ever. Return. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN); Will it then build? Bart On 6/30/11, Bart wrote: > Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 > > Bart > > On 6/30/11, Bart wrote: >> Due to r31470: >> http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 >> >> TWindowState definition has changed. >> >> On 6/30/11, Torsten Bonde Christiansen wrote: >>> Same here. >>> >>> Happens on both Win32 and Linux x86_64 - i have the same SVN revision. >>> >>> -Torsten. >>> >>> On 2011-06-30 11:46, Tommi Prami wrote: OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos -> "Build Lazarus with profile ..." to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" is deprecated "Compiling package LCLBase 1.0.1" completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions "Compiling package LCL 1.0.1" completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by "TListFilterEdit.Invalidate;" C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter "Done" not used "Compiling package LazControls 0.0" completed "Compiling package IDEIntf 1.0" completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter "User" not used "Compiling package sqlite3laz 0.4" completed "Compiling package lnetvisual 0.6.6" completed "Compiling package SynEdit 1.0" completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable "C" does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter "SQL" not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const "SSQLOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const "SQLSyntaxOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const "SSQLError" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const "SSQLSyntaxError" is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter "Filename" not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter "SourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit "SrcEditorIntf" not used in registersqldb "Compiling package SQLDBLaz 1.0.1" completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol "GDBDisassemble" is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable "TVNodeStack" not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but ")" found -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >>> >>> >>> -- >>> Our Program who art in Memory, Hello be Thy Name. >>> Thy Operating System come, Thy Commands be done, >>> at the Printer as it is on the Screen. >>> >>> Give us this day our daily Data, and forgive us our I/O Errors as we >>> forgive >>> those whose Logic Circuits are faulty. Lead us not into frustration, and >>> deliver us from Power Surges, >>> >>> for Thine is the Algorithm, the Application, and the Solution, looping >>> forever and ever. >>> >>> Return. >>> >>> >>> -- >>> ___ >>> Lazarus mailing list >>> Lazarus@lists.lazarus.freepascal.org >>> http://lists.lazarus.freepascal.org/
Re: [Lazarus] Error while compiling latest SVN version
Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 Bart On 6/30/11, Bart wrote: > Due to r31470: > http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 > > TWindowState definition has changed. > > On 6/30/11, Torsten Bonde Christiansen wrote: >> Same here. >> >> Happens on both Win32 and Linux x86_64 - i have the same SVN revision. >> >> -Torsten. >> >> On 2011-06-30 11:46, Tommi Prami wrote: >>> OK, short explanation: >>> >>> Did everything all over again : >>> >>> SVN : 31471 >>> FPC : 2.4.4 >>> >>> I run the make of the Lazarus, and then start the IDE (That fart it >>> works) then try to run Toos -> "Build Lazarus with profile ..." to get >>> all the Packages to build again... (After update... Now it weirdly >>> fails at) >>> main(.pas) >>> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; >>> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >>> const >>> BufSize = 4096; // allocating mem in 4k chunks helps many mem managers >>> >>> ShowCommands: array[TWindowState] of Integer = >>> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >>> >>> with message : >>> >>> ... >>> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >>> is deprecated >>> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >>> is deprecated >>> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >>> is deprecated >>> "Compiling package LCLBase 1.0.1" completed >>> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >>> defined: Fix implicit pointer conversions >>> "Compiling package LCL 1.0.1" completed >>> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >>> An inherited method is hidden by "TListFilterEdit.Invalidate;" >>> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >>> Parameter "Done" not used >>> "Compiling package LazControls 0.0" completed >>> "Compiling package IDEIntf 1.0" completed >>> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >>> Parameter "User" not used >>> "Compiling package sqlite3laz 0.4" completed >>> "Compiling package lnetvisual 0.6.6" completed >>> "Compiling package SynEdit 1.0" completed >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >>> Warning: Local variable "C" does not seem to be initialized >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >>> Hint: Parameter "SQL" not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >>> Hint: Local const "SSQLOK" is not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >>> Hint: Local const "SQLSyntaxOK" is not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >>> Hint: Local const "SSQLError" is not used >>> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >>> Hint: Local const "SSQLSyntaxError" is not used >>> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >>> "ResourceName" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >>> "Filename" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >>> "SourceName" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >>> "ResourceName" not used >>> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >>> "SrcEditorIntf" not used in registersqldb >>> "Compiling package SQLDBLaz 1.0.1" completed >>> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >>> "GDBDisassemble" is deprecated >>> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >>> "TVNodeStack" not used >>> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >>> ")" found >>> >>> -Tee- >>> >>> >>> -- >>> ___ >>> Lazarus mailing list >>> Lazarus@lists.lazarus.freepascal.org >>> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> >> >> -- >> Our Program who art in Memory, Hello be Thy Name. >> Thy Operating System come, Thy Commands be done, >> at the Printer as it is on the Screen. >> >> Give us this day our daily Data, and forgive us our I/O Errors as we >> forgive >> those whose Logic Circuits are faulty. Lead us not into frustration, and >> deliver us from Power Surges, >> >> for Thine is the Algorithm, the Application, and the Solution, looping >> forever and ever. >> >> Return. >> >> >> -- >> ___ >> Lazarus mailing list >> Lazarus@lists.lazarus.freepascal.org >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >> > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarus&r1=31468&r2=31470 TWindowState definition has changed. On 6/30/11, Torsten Bonde Christiansen wrote: > Same here. > > Happens on both Win32 and Linux x86_64 - i have the same SVN revision. > > -Torsten. > > On 2011-06-30 11:46, Tommi Prami wrote: >> OK, short explanation: >> >> Did everything all over again : >> >> SVN : 31471 >> FPC : 2.4.4 >> >> I run the make of the Lazarus, and then start the IDE (That fart it >> works) then try to run Toos -> "Build Lazarus with profile ..." to get >> all the Packages to build again... (After update... Now it weirdly >> fails at) >> main(.pas) >> function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; >> OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; >> const >> BufSize = 4096; // allocating mem in 4k chunks helps many mem managers >> >> ShowCommands: array[TWindowState] of Integer = >> (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); >> >> with message : >> >> ... >> C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" >> is deprecated >> C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" >> is deprecated >> C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" >> is deprecated >> "Compiling package LCLBase 1.0.1" completed >> C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User >> defined: Fix implicit pointer conversions >> "Compiling package LCL 1.0.1" completed >> C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: >> An inherited method is hidden by "TListFilterEdit.Invalidate;" >> C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: >> Parameter "Done" not used >> "Compiling package LazControls 0.0" completed >> "Compiling package IDEIntf 1.0" completed >> C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: >> Parameter "User" not used >> "Compiling package sqlite3laz 0.4" completed >> "Compiling package lnetvisual 0.6.6" completed >> "Compiling package SynEdit 1.0" completed >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) >> Warning: Local variable "C" does not seem to be initialized >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) >> Hint: Parameter "SQL" not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) >> Hint: Local const "SSQLOK" is not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) >> Hint: Local const "SQLSyntaxOK" is not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) >> Hint: Local const "SSQLError" is not used >> C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) >> Hint: Local const "SSQLSyntaxError" is not used >> C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter >> "ResourceName" not used >> C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter >> "Filename" not used >> C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter >> "SourceName" not used >> C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter >> "ResourceName" not used >> C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit >> "SrcEditorIntf" not used in registersqldb >> "Compiling package SQLDBLaz 1.0.1" completed >> C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol >> "GDBDisassemble" is deprecated >> C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable >> "TVNodeStack" not used >> C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but >> ")" found >> >> -Tee- >> >> >> -- >> ___ >> Lazarus mailing list >> Lazarus@lists.lazarus.freepascal.org >> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > > > -- > Our Program who art in Memory, Hello be Thy Name. > Thy Operating System come, Thy Commands be done, > at the Printer as it is on the Screen. > > Give us this day our daily Data, and forgive us our I/O Errors as we forgive > those whose Logic Circuits are faulty. Lead us not into frustration, and > deliver us from Power Surges, > > for Thine is the Algorithm, the Application, and the Solution, looping > forever and ever. > > Return. > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
Same here. Happens on both Win32 and Linux x86_64 - i have the same SVN revision. -Torsten. On 2011-06-30 11:46, Tommi Prami wrote: OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos -> "Build Lazarus with profile ..." to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" is deprecated "Compiling package LCLBase 1.0.1" completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions "Compiling package LCL 1.0.1" completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by "TListFilterEdit.Invalidate;" C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter "Done" not used "Compiling package LazControls 0.0" completed "Compiling package IDEIntf 1.0" completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter "User" not used "Compiling package sqlite3laz 0.4" completed "Compiling package lnetvisual 0.6.6" completed "Compiling package SynEdit 1.0" completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable "C" does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter "SQL" not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const "SSQLOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const "SQLSyntaxOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const "SSQLError" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const "SSQLSyntaxError" is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter "Filename" not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter "SourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit "SrcEditorIntf" not used in registersqldb "Compiling package SQLDBLaz 1.0.1" completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol "GDBDisassemble" is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable "TVNodeStack" not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but ")" found -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus -- Our Program who art in Memory, Hello be Thy Name. Thy Operating System come, Thy Commands be done, at the Printer as it is on the Screen. Give us this day our daily Data, and forgive us our I/O Errors as we forgive those whose Logic Circuits are faulty. Lead us not into frustration, and deliver us from Power Surges, for Thine is the Algorithm, the Application, and the Solution, looping forever and ever. Return. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] thread safe
Lukasz Sokol schrieb: On 29/06/2011 16:11, Michael Schnell wrote: On 06/28/2011 08:14 PM, Hans-Peter Diettrich wrote: I just found a very nice description of some aspects of thread safety in http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap02.html#tag_22_02_09_08 titled "Thread-Safety". Great. Niche background information on Posix. But it does not help regarding the issue of defining a thread-safety paradigm for classes. How is the 'thread safety for classses' different from thread safety for any other code ? Thread-safety has many facettes. An item may be safe in one aspect, e.g. not using global variables, but unsafe in other aspects. Objects (classes) add further topics to the list of items, that make up "thread-safety" in general. During the various discussions I got the impression, that thread-safety only can be a headline or keyword, that leads to a detailed description of thread-related properties or behaviour of the described item. DoDi -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
OK, short explanation: Did everything all over again : SVN : 31471 FPC : 2.4.4 I run the make of the Lazarus, and then start the IDE (That fart it works) then try to run Toos -> "Build Lazarus with profile ..." to get all the Packages to build again... (After update... Now it weirdly fails at) main(.pas) function TMainIDE.DoLoadLFM(AnUnitInfo: TUnitInfo; LFMBuf: TCodeBuffer; OpenFlags: TOpenFlags; CloseFlags: TCloseFlags): TModalResult; const BufSize = 4096; // allocating mem in 4k chunks helps many mem managers ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED); with message : ... C:\lazarus\lcl\grids.pas(5854,38) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6088,34) Warning: Symbol "OnEditButtonClick" is deprecated C:\lazarus\lcl\grids.pas(6089,24) Warning: Symbol "OnEditButtonClick" is deprecated "Compiling package LCLBase 1.0.1" completed C:\lazarus\lcl\interfaces\win32\win32int.pp(27,26) Warning: User defined: Fix implicit pointer conversions "Compiling package LCL 1.0.1" completed C:\lazarus\components\lazcontrols\listfilteredit.pas(64,15) Warning: An inherited method is hidden by "TListFilterEdit.Invalidate;" C:\lazarus\components\lazcontrols\listfilteredit.pas(24,43) Hint: Parameter "Done" not used "Compiling package LazControls 0.0" completed "Compiling package IDEIntf 1.0" completed C:\lazarus\components\sqlite\sqlitecomponenteditor.pas(63,58) Hint: Parameter "User" not used "Compiling package sqlite3laz 0.4" completed "Compiling package lnetvisual 0.6.6" completed "Compiling package SynEdit 1.0" completed C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(227,9) Warning: Local variable "C" does not seem to be initialized C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(57,30) Hint: Parameter "SQL" not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(82,3) Hint: Local const "SSQLOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(83,3) Hint: Local const "SQLSyntaxOK" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(84,3) Hint: Local const "SSQLError" is not used C:\lazarus\components\sqldb\sqlstringspropertyeditordlg.pas(85,3) Hint: Local const "SSQLSyntaxError" is not used C:\lazarus\components\sqldb\registersqldb.pas(92,38) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(93,33) Hint: Parameter "Filename" not used C:\lazarus\components\sqldb\registersqldb.pas(93,43) Hint: Parameter "SourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(94,27) Hint: Parameter "ResourceName" not used C:\lazarus\components\sqldb\registersqldb.pas(63,16) Hint: Unit "SrcEditorIntf" not used in registersqldb "Compiling package SQLDBLaz 1.0.1" completed C:\lazarus\debugger\gdbmidebugger.pp(6547,107) Warning: Symbol "GDBDisassemble" is deprecated C:\lazarus\packager\packageeditor.pas(1636,3) Note: Local variable "TVNodeStack" not used C:\lazarus\ide\main.pp(6490,50) Fatal: Syntax error, "," expected but ")" found -Tee- -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Error while compiling latest SVN version
Which revision? Which FPC version? How did you try to rebuild Lazarus? Bart On 6/30/11, Tommi Prami wrote: > -Tee- > > PPU Loading C:\lazarus\lcl\units\i386-win32\intfgraphics.ppu > PPU Source: intfgraphics.pas not found > Recompiling IntfGraphics, checksum changed for LCLIntf > ..\graphics.pp(47,49) Fatal: Can't find unit IntfGraphics used by Graphics > > > -- > ___ > Lazarus mailing list > Lazarus@lists.lazarus.freepascal.org > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus > -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
[Lazarus] Error while compiling latest SVN version
-Tee- PPU Loading C:\lazarus\lcl\units\i386-win32\intfgraphics.ppu PPU Source: intfgraphics.pas not found Recompiling IntfGraphics, checksum changed for LCLIntf ..\graphics.pp(47,49) Fatal: Can't find unit IntfGraphics used by Graphics -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] non-sensical window repositioning
On Fri, Jun 24, 2011 at 10:32 PM, zeljko wrote: > why fsFullScreen ? IMO, wsFullScreen (WindowState) is more apropriate. Good idea! I implemented it like that. Now wsFullScreen exists and it works in gtk2 at the moment. -- Felipe Monteiro de Carvalho -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] Updating a field from an OnEditButtonClick event
Al 29/06/2011 17:53, En/na Julio César Gázquez ha escrit: However, I found that in the OnEditButtonClick event I can't put the dataset in dsEdit state, the Edit procedure has no visible effect and the field assignment triggers an exception. The same event handler attached to a regular button OnClick event works as intended. The dataset is a Zeos TZQuery, but I'm not sure if this could happen on a different kind of dataset. Is this a known or expected behavior? There is a workaround? Works here, lazarus 0.9.30, fpc 2.4.2, zeos 6.6.4 (with some local modifications to make it compile under current lazarus). (In my program I used a TRxDBGrid, and I'm quite pissed that now the headings are awful, but I also tested with a plain TDbGrid). FYI, my event handler (the column contains a color): procedure TMainForm.GridPantallasEditButtonClick(Sender: TObject); var f:TLongintField; begin if copy(GridPantallas.SelectedField.FieldName,1,6)='color_' then begin f:=TLongintField(GridPantallas.SelectedField); ColorDialog1.Color:=f.value; if ColorDialog1.Execute and (ColorDialog1.Color<>f.value) then begin if not (QueryPantallas.State in dsWriteModes) then QueryPantallas.Edit; f.value:=ColorDialog1.Color; PruebaColor; end; end; end; Bye -- Luca Olivetti Wetron Automation Technology http://www.wetron.es Tel. +34 935883004 (Ext.133) Fax +34 935883007 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Re: [Lazarus] thread safe
On 29/06/2011 16:11, Michael Schnell wrote: > On 06/28/2011 08:14 PM, Hans-Peter Diettrich wrote: >> >> >> I just found a very nice description of some aspects of thread safety in >> http://pubs.opengroup.org/onlinepubs/9699919799/xrat/V4_xsh_chap02.html#tag_22_02_09_08 >> titled "Thread-Safety". > Great. > > Niche background information on Posix. > > But it does not help regarding the issue of defining a thread-safety paradigm > for classes. > How is the 'thread safety for classses' different from thread safety for any other code ? L. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus