Re: [Lazarus] Mac OS X : Drag and Drop no longer works with TDragObject....

2008-09-11 Thread Dominique Louis
Thanks for the quick response Paul, greatly appreciated, and I think the change to make it more Delphi compatible is the right way to go. Regards, Dominique. Paul Ishenin wrote: Dominique Louis wrote: I notice that in the OnDragOver event Source no longer contains a TDragObject, but

Re: [Lazarus] TToolButton hints

2008-09-11 Thread Graeme Geldenhuys
On Wed, Sep 10, 2008 at 11:39 PM, Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Most problems are specific to a widgetset, so it's always indispensable to say what operating system, widgetset, free pascal version and lazarus version you are using. And an easy why to get that

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: Another gripe I have with svn, is that if I do an svn diff right after an update, all Makefile and Makefile.fpc, as well as many po files, are different, so I have to delete them and svn update again. And the last one is the lrs files: since they should be

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Vincent Snijders
Luca Olivetti schreef: En/na Luca Olivetti ha escrit: And the last one is the lrs files: since they should be generated by the lfm, why oh why are they under svn? (well, I know, because lazarus doesn't generate them automatically, but I think it should) No comments on these 2 issues? How

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Graeme Geldenhuys
On 9/11/08, Luca Olivetti [EMAIL PROTECTED] wrote: Another gripe I have with svn, is that if I do an svn diff right after an update, all Makefile and Makefile.fpc, as well as many po files, are different, so I have to delete them and svn update again. a simple: svn revert -R should

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Mattias Gärtner
Zitat von Luca Olivetti [EMAIL PROTECTED]: En/na Luca Olivetti ha escrit: Another gripe I have with svn, is that if I do an svn diff right after an update, all Makefile and Makefile.fpc, Bug. Please create the diff and add it to the bug report. Don't forget lazarus revision number and fpc

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Luca Olivetti
En/na Vincent Snijders ha escrit: Luca Olivetti schreef: En/na Luca Olivetti ha escrit: And the last one is the lrs files: since they should be generated by the lfm, why oh why are they under svn? (well, I know, because lazarus doesn't generate them automatically, but I think it should) No

Re: [Lazarus] TToolButton hints

2008-09-11 Thread Žilvinas Ledas
Please create a bug report and provide a complete example and lazarus revision number you are using. Sorry, I forgot to write those details. I'm only using Lazarus for ~2months so I sometimes forget, that a lot of code is platform specific and hense bugs are ;) I made a bug report (

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: On 9/11/08, Luca Olivetti [EMAIL PROTECTED] wrote: Another gripe I have with svn, is that if I do an svn diff right after an update, all Makefile and Makefile.fpc, as well as many po files, are different, so I have to delete them and svn update again.

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Felipe Monteiro de Carvalho
Hello, What happens if you execute the application without the debugger? Just build the binary, copy the binary to the device and run it. Does it still crash? -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Felipe Monteiro de Carvalho
Are you using the emulator or a real device? Which WinCE version? -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Luca Olivetti
En/na Luca Olivetti ha escrit: It appears that the same is happening with (at least some) of the Makefiles (they differ from the svn once you try and build the ide with your full set of components, using, e.g., lazbuild) Correction: it only happens if you rebuild lazarus from inside the

Re: [Lazarus] Lazarus IDE fonts or LCL GUI hint?

2008-09-11 Thread Mattias Gärtner
Zitat von mitya boyarintsev [EMAIL PROTECTED]: Hello, Developers! Has anyone of you, tried to use PathEditor under Carbon Lazarus IDE? (Project-Compiler Options-Paths and then open path list dialog by pressing '...' button) You'll probably see normal text, but if you try to edit it,

Re: [Lazarus] TToolButton hints

2008-09-11 Thread Mattias Gärtner
Zitat von Žilvinas Ledas [EMAIL PROTECTED]: Please create a bug report and provide a complete example and lazarus revision number you are using. Sorry, I forgot to write those details. I'm only using Lazarus for ~2months so I sometimes forget, that a lot of code is platform specific and

Re: [Lazarus] Dear developers, we need your help before releasing 0.9.26

2008-09-11 Thread Luca Olivetti
En/na Mattias Gärtner ha escrit: Zitat von Luca Olivetti [EMAIL PROTECTED]: En/na Luca Olivetti ha escrit: Another gripe I have with svn, is that if I do an svn diff right after an update, all Makefile and Makefile.fpc, Bug. Please create the diff and add it to the bug report. Don't

Re: [Lazarus] Lazarus IDE fonts or LCL GUI hint?

2008-09-11 Thread mitya boyarintsev
I fixed a few places. See r16542. I will try later Monaco. If it is more readable than Courier, then it becomes the default under carbon synedit. Thanks! PathEditor looks much nicer, than it used to be. I'm looking forward for 'Monaco' to become default for SynEdit!

[Lazarus] Port with TPQConnection

2008-09-11 Thread Pavel Řezníček
Dear Lazarus developers and users, is there anyone who would know if and how do I connect to a non-default port (other than 5432) with the TPQConnection component? Thanks a lot. Pavel Řezníček ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

[Lazarus] GtkWidget questions

2008-09-11 Thread SteveG
Need some pointers on the way Laz/fpc handle gtkwidgets if possible. I am attempting (as a test) to get and then set the size and position of a Laz form using Gtk / Gdk - (not necessary I know, just leading to further things) The Form1.Handle is a pointer to a gtkwidget - saved as 'WinHandle'.

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Dimitrios Chr. Ioannidis
Felipe hi, What happens if you execute the application without the debugger? Just build the binary, copy the binary to the device and run it. Does it still crash? The app doesn't throw exception ( never had a crash ) cause the call to RedrawMenus is handled inside a try finally block :

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Felipe Monteiro de Carvalho
That code is copyed from the win32 widgetset. Maybe the call to RedrawMenu is unnecessary under Windows CE. Try commenting the call to RedrawMenu, rebuilding lcl and testing again. Also, please attach a minimal test project which reproduces the issue in your bug report:

Re: [Lazarus] Port with TPQConnection

2008-09-11 Thread Juan Cortés Cuesta
Use TPSQLDatabase and TPSQLDataset components Edit psqldatabase.pas changing: const PSQLPort = 5432; recompile. and try again Good Luck Warmest Regards Juan Pavel Řezníček escribió: Dear Lazarus developers and users, is there anyone who would know if and how do I connect to a

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Dimitrios Chr. Ioannidis
O/H Felipe Monteiro de Carvalho έγραψε: That code is copyed from the win32 widgetset. Maybe the call to RedrawMenu is unnecessary under Windows CE. Try commenting the call to RedrawMenu, rebuilding lcl and testing again. The exception is gone. I comment out Index:

Re: [Lazarus] GtkWidget questions

2008-09-11 Thread Mattias Gärtner
Zitat von SteveG [EMAIL PROTECTED]: Need some pointers on the way Laz/fpc handle gtkwidgets if possible. I am attempting (as a test) to get and then set the size and position of a Laz form using Gtk / Gdk - (not necessary I know, just leading to further things) See in gtk intf: procedure

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Felipe Monteiro de Carvalho
On Thu, Sep 11, 2008 at 1:49 PM, Dimitrios Chr. Ioannidis [EMAIL PROTECTED] wrote: The exception is gone. I comment out No drawbacks? Does the app keep working as expected? There are possible drawbacks, the first being a memory leak because now the dirty menu list is never cleared. I am

[Lazarus] WinCE ( Auto ) Application Type

2008-09-11 Thread Dimitrios Chr. Ioannidis
Hi all, when a WinCE Application initializes, AFAIU, 1) in TApplication.Initialize ( application.inc ) it calls the WidgeSet.AppInit(AppInit) ( line 347 ) 2) the TWinCEWidgetSet.AppInit ( winceobject.inc ) is called from the abive call. In line 129, is trying to determine device type

Re: [Lazarus] WinCE ( Auto ) Application Type

2008-09-11 Thread Felipe Monteiro de Carvalho
I think you cutted your text. It suddenly stops in item 4 and then a lot of gdb stuff which says nothing to me comes in. Please be more clear about what you are trying to say. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list

[Lazarus] Not all Lazarus daily snapshots are refreshing

2008-09-11 Thread ABorka
The Lazarus daily install packages stopped refreshing a few days ago on the default daily snapshots download page: http://snapshots.lazarus.shikami.org/lazarus/ Lazarus - fpc 2.2.2 win32 - arm wince Lazarus-0.9.25-fpc-2.2.2-20080908-cross-arm-wince-win32.exe Lazarus - full - fpc 2.2.3

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Dimitrios Chr. Ioannidis
O/H Felipe Monteiro de Carvalho έγραψε: On Thu, Sep 11, 2008 at 1:49 PM, Dimitrios Chr. Ioannidis [EMAIL PROTECTED] wrote: The exception is gone. I comment out No drawbacks? Does the app keep working as expected? There are possible drawbacks, the first being a memory leak because now the

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Felipe Monteiro de Carvalho
On Thu, Sep 11, 2008 at 2:58 PM, Dimitrios Chr. Ioannidis [EMAIL PROTECTED] wrote: It works. Thx ... Now i can help you more providing you with debug output info's like this, where i'm trying to see why ApplicationType isn't set correctly in my device : Why do you think it isn't set correctly?

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Dimitrios Chr. Ioannidis
Felipe Monteiro de Carvalho wrote: On Thu, Sep 11, 2008 at 2:58 PM, Dimitrios Chr. Ioannidis [EMAIL PROTECTED] wrote: It works. Thx ... Now i can help you more providing you with debug output info's like this, where i'm trying to see why ApplicationType isn't set correctly in my device :

Re: [Lazarus] RedrawMenus function in winceproc.pp - WinCE problem ?

2008-09-11 Thread Felipe Monteiro de Carvalho
function TWidgetSet.SystemParametersInfo This is the wrong routine. I changed the code to explicity call Windows.SystemParametersInfo (which means: from the windows unit). Looks like an ambiguity problem. Please retest after upgrading to latest svn. -- Felipe Monteiro de Carvalho

Re: [Lazarus] Lazarus IDE fonts or LCL GUI hint?

2008-09-11 Thread Mattias Gaertner
On Thu, 11 Sep 2008 12:02:51 + mitya boyarintsev [EMAIL PROTECTED] wrote: I fixed a few places. See r16542. I will try later Monaco. If it is more readable than Courier, then it becomes the default under carbon synedit. Thanks! PathEditor looks much nicer, than it used to be. I'm

[Lazarus] Mac OS X : IDE Messages window hides vertical down arrow...

2008-09-11 Thread Dominique Louis
When you first load up a project in the Carbon IDE and compile a project, 2 things happen. 1. The vertical down arrow on the right hand side of the Message Window is obscured behind the resizing anchor, so you can't actuall scroll down using it. 2. If you have loads of Hints and Warnings, the

Re: [Lazarus] Mac OS X : IDE Messages window hides vertical down arrow...

2008-09-11 Thread Mattias Gaertner
On Thu, 11 Sep 2008 22:21:14 +0100 Dominique Louis [EMAIL PROTECTED] wrote: When you first load up a project in the Carbon IDE and compile a project, 2 things happen. 1. The vertical down arrow on the right hand side of the Message Window is obscured behind the resizing anchor, so you

Re: [Lazarus] Shortcuts in MainMenu

2008-09-11 Thread Mattias Gaertner
On Thu, 11 Sep 2008 18:22:17 -0300 Osvaldo Filho [EMAIL PROTECTED] wrote: Hi Mattias, Ubuntu 8.04.1 32bits FPC 2.2.3 Lazarus r16547 GTK2 On lazarus the shortcuts for menu is not functional, ALT+ key not down any menu! No shortcuts for my IDE. My Lazarus is compiled form subversion

Re: [Lazarus] Not all Lazarus daily snapshots are refreshing

2008-09-11 Thread Vincent Snijders
ABorka schreef: The Lazarus daily install packages stopped refreshing a few days ago on the default daily snapshots download page: http://snapshots.lazarus.shikami.org/lazarus/ Lazarus - fpc 2.2.2 win32 - arm wince Lazarus-0.9.25-fpc-2.2.2-20080908-cross-arm-wince-win32.exe

[Lazarus] TXMLConfig on WinCE

2008-09-11 Thread Pavel Řezníček
Dear developers and users, I maybe noticed a bug in TXMLConfig on Windows CE. I create the configuration component dynamically in code because of the initial access violation - to catch the error: if XMLC = nil then XMLC := TXMLConfig.Create(Self); XMLC.RootName := 'CONFIG';

Re: [Lazarus] Lazarus IDE fonts or LCL GUI hint?

2008-09-11 Thread Felipe Monteiro de Carvalho
On the other hand, Courier has much worse internationalization support. Courier does not support Russian, while Monaco does. And the latin accents in Couries are almost invisible, while they appear well with Monaco. -- Felipe Monteiro de Carvalho ___

Re: [Lazarus] WinCE ( Auto ) Application Type ( PLz, ignore it. Enter pressed by accident. )

2008-09-11 Thread Dimitrios Chr. Ioannidis
Hi all, that message was a mistake. Apologies. Hi all, when a WinCE Application initializes, AFAIU, 1) in TApplication.Initialize ( application.inc ) (gdb) regards, -- Dimitrios Chr. Ioannidis ___ Lazarus mailing list

[Lazarus] SQLite differences between ExecSQL and SQL

2008-09-11 Thread Usuario Anónimo
What difference exist between dsTest.ExecSQL('Select * from Vendor where Code = 0'); and dsTest.SQL := 'Select * from Vendor where Code = 0'; ? Regards. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] SQLite differences between ExecSQL and SQL

2008-09-11 Thread Luiz Americo Pereira Camara
Usuario Anónimo wrote: What difference exist between dsTest.ExecSQL('Select * from Vendor where Code = 0'); ExecSql is used to commands to modify the database state like Insert, Update, Delete, Create Table and dsTest.SQL := 'Select * from Vendor where Code = 0'; SQL is used to

[Lazarus] svn r16559 cwstrings problem

2008-09-11 Thread Tom Lisjac
Lazarus svn 16559 + fpc 2.2.2-0 won't compile: Compiling ./widgetset/wsreferences.pp Fatal: Unit cwstrings searched but cwstring found Fatal: Compilation aborted -Tom ___ Lazarus mailing list Lazarus@lazarus.freepascal.org