Re: [Lazarus] thread safe

2011-06-30 Thread Lukasz Sokol
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.

Re: [Lazarus] non-sensical window repositioning

2011-06-30 Thread Felipe Monteiro de Carvalho
On Fri, Jun 24, 2011 at 10:32 PM, zeljko zel...@holobit.net 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] Error while compiling latest SVN version

2011-06-30 Thread Tommi Prami
-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

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Bart
Which revision? Which FPC version? How did you try to rebuild Lazarus? Bart On 6/30/11, Tommi Prami groups.tpr...@gmail.com wrote: -Tee- PPU Loading C:\lazarus\lcl\units\i386-win32\intfgraphics.ppu PPU Source: intfgraphics.pas not found Recompiling IntfGraphics, checksum changed for LCLIntf

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Tommi Prami
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)

Re: [Lazarus] thread safe

2011-06-30 Thread Hans-Peter Diettrich
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

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Torsten Bonde Christiansen
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)

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Bart
Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarusr1=31468r2=31470 TWindowState definition has changed. On 6/30/11, Torsten Bonde Christiansen t...@epidata.dk wrote: Same here. Happens on both Win32 and Linux x86_64 - i have the same SVN revision.

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Bart
Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659 Bart On 6/30/11, Bart bartjun...@gmail.com wrote: Due to r31470: http://svn.freepascal.org/cgi-bin/viewvc.cgi/trunk/lcl/forms.pp?root=lazarusr1=31468r2=31470 TWindowState definition has changed. On 6/30/11, Torsten Bonde

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Bart
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 bartjun...@gmail.com wrote: Filed a bugreport: http://bugs.freepascal.org/view.php?id=19659

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Tommi Prami
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, Bartbartjun...@gmail.com wrote: Filed a

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Bart
I just tried that myself and it seems to work. I attached a patch in the bugtracker. Bart On 6/30/11, Bart bartjun...@gmail.com wrote: If you change the line in main.pp to ShowCommands: array[TWindowState] of Integer = (SW_SHOWNORMAL, SW_MINIMIZE, SW_SHOWMAXIMIZED, SW_SHOWFULLSCREEN);

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread silvioprog
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 - silvioprog.com.br Twitter - twitter.com/silvioprog LazSolutions - code.google.com/p/lazsolutions

Re: [Lazarus] thread safe

2011-06-30 Thread Lukasz Sokol
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

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Dirk
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]

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Dirk
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

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread silvioprog
2011/6/30 Dirk dirk.l...@dirksweb.com: 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 - silvioprog.com.br

Re: [Lazarus] thread safe

2011-06-30 Thread Michael Schnell
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 --

Re: [Lazarus] thread safe

2011-06-30 Thread Michael Schnell
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

Re: [Lazarus] thread safe

2011-06-30 Thread Michael Schnell
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

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread zeljko
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

Re: [Lazarus] Codetools confused?

2011-06-30 Thread Bart
On 3/27/11, Bart bartjun...@gmail.com wrote: On 3/27/11, Mattias Gaertner nc-gaert...@netcologne.de 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

Re: [Lazarus] Error while compiling latest SVN version

2011-06-30 Thread Dirk
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:

[Lazarus] barchart demo...

2011-06-30 Thread waldo kitty
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? --

Re: [Lazarus] barchart demo...

2011-06-30 Thread Alexander Klenin
On Fri, Jul 1, 2011 at 02:06, waldo kitty wkitt...@windstream.net 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

Re: [Lazarus] barchart demo...

2011-06-30 Thread waldo kitty
On 6/30/2011 11:08, Alexander Klenin wrote: On Fri, Jul 1, 2011 at 02:06, waldo kittywkitt...@windstream.net 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

Re: [Lazarus] Codetools confused?

2011-06-30 Thread Mattias Gaertner
Bart bartjun...@gmail.com hat am 30. Juni 2011 um 16:29 geschrieben: On 3/27/11, Bart bartjun...@gmail.com wrote: On 3/27/11, Mattias Gaertner nc-gaert...@netcologne.de wrote: ATM I cannot reproduce the popup after a dot in a text constant, I'll make another screenshot when it

Re: [Lazarus] thread safe

2011-06-30 Thread Hans-Peter Diettrich
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

[Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)

2011-06-30 Thread Alexsander Rosa
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 --

Re: [Lazarus] TStringGrid - ColResize on FixedCols (or Freeze Pane on ordinary columns)

2011-06-30 Thread Michael Van Canneyt
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

[Lazarus] IDE flaws

2011-06-30 Thread Hans-Peter Diettrich
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