Re: [Lazarus] Lazarus on gtk2 double double-click (and SourceEditor select-word failure)

2009-06-04 Thread Paul Ishenin
Vincent Snijders wrote: Please, trim the footer before sending a reply. I ask to trim all unrelated to answer parts. Any who want to look at the previos mail can do this using mail list archives or in the mail program. Best regards, Paul Ishenin. __

Re: [Lazarus] 64 bit compiler

2009-06-04 Thread Graeme Geldenhuys
2009/6/5 Terry A. Haimann : > I tried downloading the 64 bit compiler and compiling a test program, but > when I try adding a event I get a StdCtrls Unit not found.  I am running > this on FC10 64 bit. Check your unit paths in your ~/.fpc.cfg or /etc/fpc.cfg file. The paths are probably wrong. R

Re: [Lazarus] Lazarus on gtk2 double double-click (and SourceEditor select-word failure)

2009-06-04 Thread Vincent Snijders
At least we know where we can find more info about this list. :-) Please, trim the footer before sending a reply. Vincent ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus __

Re: [Lazarus] Create a package - how?

2009-06-04 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: After some tries and assistance from the chat I've moved the package source files into a new directory dockmanager/package. Is that okay? Yes, if this is an example package only used by the examples. The package contains an docking manager (LDockTree replacement), u

[Lazarus] 64 bit compiler

2009-06-04 Thread Terry A. Haimann
I tried downloading the 64 bit compiler and compiling a test program, but when I try adding a event I get a StdCtrls Unit not found. I am running this on FC10 64 bit. ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.

Re: [Lazarus] [Fwd: A few hacky patches (resent)] (Attn Brad)

2009-06-04 Thread Martin Friebe
You should now be able to configure your synedit in the desired manner. In order to be able to click the "line" below a "[-]" sign add the following config Menu=>environments=>options=>editor=>mouse Select "FoldTree" (the first entry in gutter) => this will catch any click anywhere in the f

Re: [Lazarus] Lazarus on gtk2 double double-click (and SourceEditor select-word failure)

2009-06-04 Thread Martin Friebe
C Western wrote: This now works properly for me with both my mice. Thanks to somebody! A side effect of the new Mouse configurations Colin On 31/05/09 19:35, C Western wrote: I am fairly sure that I am not moving the mouse with the double click - the cursor doesn't move, and I would expe

Re: [Lazarus] Lazarus on gtk2 double double-click (and SourceEditor select-word failure)

2009-06-04 Thread C Western
This now works properly for me with both my mice. Thanks to somebody! Colin On 31/05/09 19:35, C Western wrote: I am fairly sure that I am not moving the mouse with the double click - the cursor doesn't move, and I would expect double click to work some of the time if this was the issue. You ar

Re: [Lazarus] Codetools and insert unit names lowercase?

2009-06-04 Thread Mattias Gaertner
On Thu, 04 Jun 2009 19:46:27 +0100 Martin Friebe wrote: >[...] > > How can can I reproduce this? > > > > > Ok it isnt "all" > > It seems to be some from the fpc installation. > > I installed fpc 224 on Windows from SVN. And that has "sysutils" all > lowercase => that is the the filename and

Re: [Lazarus] Codetools and insert unit names lowercase?

2009-06-04 Thread Martin Friebe
Mattias Gaertner wrote: On Thu, 04 Jun 2009 17:31:27 +0100 Martin wrote: I noticed that lately codetools inserts all unit nems (in uses clause) in lowercase only? Is there are reason, or an option for that? No, because they must be written mixed case. They looked reall nice an

Re: [Lazarus] Codetools and insert unit names lowercase?

2009-06-04 Thread Mattias Gaertner
On Thu, 04 Jun 2009 17:31:27 +0100 Martin wrote: > I noticed that lately codetools inserts all unit nems (in uses > clause) in lowercase only? > Is there are reason, or an option for that? No, because they must be written mixed case. > They looked reall nice and readable in mixed case... How

[Lazarus] Codetools and insert unit names lowercase?

2009-06-04 Thread Martin
I noticed that lately codetools inserts all unit nems (in uses clause) in lowercase only? Is there are reason, or an option for that? They looked reall nice and readable in mixed case... Martin ___ Lazarus mailing list Lazarus@lists.lazarus.freepasc

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Zaher Dirkey
I knew about --pcp= and if i always used it, me and some other developers that make Lazarus work as portable, then work on to get the default config dir not be very useful (Yes bad english :) ) I have old application on sourceforge "Light PHP Edit" first time you lauch it, it ask you where you to

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Zaher Dirkey : > Sorry for my silly posts :) , > What if i like to share between Windows and Linux config path? Use --pcp= That should work (I think). I will try next time I load my Windows VM session. Regards, - Graeme - ___ fpGUI - a

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Zaher Dirkey
Sorry for my silly posts :) , What if i like to share between Windows and Linux config path? Zaher ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/4 Vincent Snijders : ... there are more important things to do, for example more progress with the LCL interface for fpgui. That task has already been scheduled (and approved) for later this year. As soon as our new product is launched (any week now), I can co

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Vincent Snijders : > > ... there are more important things to do, for example more > progress with the LCL interface for fpgui. That task has already been scheduled (and approved) for later this year. As soon as our new product is launched (any week now), I can continue with fpgui and lcl

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/4 Vincent Snijders : When I am talking about snapshots, they are binary installers not for a released version. I know, that is what I was referring to. Currently there are binary snapshots available (I don't know who creates them). I just thought it a waist o

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Vincent Snijders : > > When I am talking about snapshots, they are binary installers not for  a > released version. I know, that is what I was referring to. Currently there are binary snapshots available (I don't know who creates them). I just thought it a waist of time to create even mor

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/4 Vincent Snijders : But what patches are for this change? The only change I have make regarding this thread, is the one I posted before. A simple one line change. If you want me to continue with the changes in 'startlazarus' to prompt and move the profile di

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Vincent Snijders : > > But what patches are for this change? The only change I have make regarding this thread, is the one I posted before. A simple one line change. If you want me to continue with the changes in 'startlazarus' to prompt and move the profile directory, I can do so and po

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: the new and improved version --- To save you the trouble of creating custom snapshots, they can simply use git to pull in the lazarus repository - instead of using SVN. That way they can switch in seconds between my custom branch or the clea

Re: [Lazarus] Lazarus/Embedded firebird tutorial

2009-06-04 Thread Leonardo M. Ramé
chael. ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus __ Información de ESET Smart Security, versión de la base de firmas de virus 4130 (20090604) __ ESET Smart Security ha comprobado este me

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Graeme Geldenhuys : > > To save you the trouble of treating custom snapshots, they can simply > use git to pull in the lazarus repository - instead of using SVN. > They way they can switch in seconds between my custom branch or the > clean upstream branch (which is exactly the same as SubV

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/4 Vincent Snijders : How can I extract the patch with diff that I can apply to create snapshots for people to test and find bugs? After all I think this code is too dangerous to keep it in trunk. A patch must be reverted quickly if it turns out to break too many

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Vincent Snijders : > > How can I extract the patch with diff that I can apply to create snapshots > for people to test and find bugs? After all I think this code is too > dangerous to keep it in trunk. A patch must be reverted quickly if it turns > out to break too many things. To save yo

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/4 Vincent Snijders : Maybe we should create a GetAppConfigDir branche for Graeme and let him develop all the needed changes. My custom branch is available on GitHub, including the upstream (untouched clean) branch. Note though, that I have not pushed my custom

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Vincent Snijders : > > Maybe we should create a GetAppConfigDir branche for Graeme and let him > develop all the needed changes. My custom branch is available on GitHub, including the upstream (untouched clean) branch. Note though, that I have not pushed my custom changes to GitHub in a f

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: Then we should educate the users, or the icon and menu creation scripts should be improved to do so. The lazarus developers did not include the 'startlazarus' application for their good health - they included it for a reason. ;-) Maybe we should create a GetAppConfi

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Mattias Gärtner : > Of course some users have written some shell scripts using fixed path. > And some users have written external pascal programs. They probably didn't > use GetAppConfigDir either. When that is not really our concern is it? Whatever custom applications developer have crea

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Vincent Snijders
Torsten Bonde Christiansen schreef: Michael Van Canneyt wrote: There are calls in the system unit to get the resource data; I have not yet documented them. Look for FindResource, FIndResourceEx etc. in rtl/inc/sysres.inc Is it correct that these are not implemented yet (along with no docume

Re: [Lazarus] Version information under Linux

2009-06-04 Thread shoKwave
Torsten Bonde Christiansen schrieb: Michael Van Canneyt wrote: Version 2.3.1 of the compiler supports all this on linux. If the compiler supports it, how can the information be extracted at runtime? Regards, Torsten Bonde Christiansen. ___ Lazarus

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Torsten Bonde Christiansen
Michael Van Canneyt wrote: There are calls in the system unit to get the resource data; I have not yet documented them. Look for FindResource, FIndResourceEx etc. in rtl/inc/sysres.inc Is it correct that these are not implemented yet (along with no documentation)? All functions in the reso

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys : 2009/6/4 Mattias Gaertner : It does not *simply* call GetAppConfigDir. For example it considers the command line parameters. Well that is hardly and issue... considering the following pseudocode: if pcpParam then profiledir := pcpParamStr else profiledir :=

Re: [Lazarus] Graphical differences between Mac OS X on Intel and PowerPC...

2009-06-04 Thread Marc Weustink
domini...@savagesoftware.com.au wrote: Hi Dimtry, I'll try and do so this evening. But the thing is that if I create the GM project on PowerPC and run it on Intel it looks fine. So my question is once the bitmap is loaded from HD or a stream, shouldn't it be identical once it is in memory rega

[Lazarus] Lazarus/Embedded firebird tutorial

2009-06-04 Thread Michael Van Canneyt
Hi, I just noticed on: http://www.ibphoenix.com/ A link to a Lazarus/Embedded Firebird howto: http://voicixs.com/archives/198 It can be done even without ZeosDB, just use the SQLDB TIBConnection instead. (of course, Using Zeos is also a good choice) Michael.

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Vincent Snijders : > compile the application for windows. The manifest option and the application > bundle option are not disabled either on linux. Point taken. I can see how this could be useful for multi-platform projects. Regards, - Graeme - __

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Michael Van Canneyt : > > There are calls in the system unit to get the resource data; I have not yet > documented them. > > Look for FindResource, FIndResourceEx etc. in rtl/inc/sysres.inc Excellent news. Thanks Michael. Regards, - Graeme -

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Mattias Gaertner : > > It does not *simply* call GetAppConfigDir. For example it considers the > command line parameters. Well that is hardly and issue... considering the following pseudocode: if pcpParam then profiledir := pcpParamStr else profiledir := GetAppConfigDir(False); >

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Michael Van Canneyt
On Thu, 4 Jun 2009, Torsten Bonde Christiansen wrote: Michael Van Canneyt wrote: Version 2.3.1 of the compiler supports all this on linux. If the compiler supports it, how can the information be extracted at runtime? There are calls in the system unit to get the resource data; I have not

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Torsten Bonde Christiansen
Michael Van Canneyt wrote: Version 2.3.1 of the compiler supports all this on linux. If the compiler supports it, how can the information be extracted at runtime? Regards, Torsten Bonde Christiansen. ___ Lazarus mailing list Lazarus@lists.lazarus.f

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Vincent Snijders
Graeme Geldenhuys schreef: 2009/6/4 Torsten Bonde Christiansen : Did anyone find an answer for this? I'm interested because I would like to extract the version information at runtime in both linux and in windows? So would I, but nobody responded yet. Also, if the ELF format doesn't support ve

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Michael Van Canneyt
On Thu, 4 Jun 2009, Graeme Geldenhuys wrote: 2009/6/4 Torsten Bonde Christiansen : Did anyone find an answer for this? I'm interested because I would like to extract the version information at runtime in both linux and in windows? So would I, but nobody responded yet. Also, if the ELF for

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Graeme Geldenhuys
2009/6/4 Torsten Bonde Christiansen : > > Did anyone find an answer for this? I'm interested because I would like to > extract the version information at runtime in both linux and in windows? So would I, but nobody responded yet. Also, if the ELF format doesn't support version information, then s

Re: [Lazarus] Version information under Linux

2009-06-04 Thread Torsten Bonde Christiansen
Graeme Geldenhuys wrote: On Wed, Nov 19, 2008 at 3:08 PM, Graeme Geldenhuys wrote: Hi Does the "Project Options | Version Information" have any affect under Linux? I noticed it created a .rc file, but does it actually include something in the Elf executable or anywhere else for

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Mattias Gaertner
On Thu, 4 Jun 2009 09:08:42 +0200 Graeme Geldenhuys wrote: > 2009/6/3 Mattias Gaertner : > >> So why not change all platforms to use the GetAppConfigDir(False) > >> result?  I'm a consistency freak. ;-) > > > > Well, looking at my home, it would be more "consistent" to keep it > > ~/.lazarus. >

Re: [Lazarus] Graphical differences between Mac OS X on Intel and PowerPC...

2009-06-04 Thread dominique
Hi Dimtry, I'll try and do so this evening. But the thing is that if I create the GM project on PowerPC and run it on Intel it looks fine. So my question is once the bitmap is loaded from HD or a stream, shouldn't it be identical once it is in memory regardless of if it is on Intel or PowerPC. Sh

Re: [Lazarus] Create a package - how?

2009-06-04 Thread Mattias Gaertner
On Thu, 04 Jun 2009 07:56:52 +0200 Hans-Peter Diettrich wrote: > I want to create a package from my > lazarus/examples/dockmanager/easytree/ project, containing the > EasyDockSite docking manager. Creating the package is no problem, it > compiles without problems, and as a runtime-only package

Re: [Lazarus] Graphical differences between Mac OS X on Intel and PowerPC...

2009-06-04 Thread dmitry boyarintsev
It seems like you have texture pixels byte-order problem. You're trying to use Intel-ordered pixels for PowerPC machine. Could you make a small sample with the bug reproduced? thanks, dmitry ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] The default Lazarus profile directory location

2009-06-04 Thread Graeme Geldenhuys
2009/6/3 Mattias Gaertner : >> So why not change all platforms to use the GetAppConfigDir(False) >> result?  I'm a consistency freak. ;-) > > Well, looking at my home, it would be more "consistent" to keep it > ~/.lazarus. I'm not talking about consistency with other applications. I'm talking abou

[Lazarus] Graphical differences between Mac OS X on Intel and PowerPC...

2009-06-04 Thread dominique
Hi all, I created an Universal Binary on Mac OS X 10.4.11 on an Intel Mac Book. This executes correctly and looks and behaves the way it was designed to work. This application ( GameMaker ) uses OpenGL and SDL for rendering. I then got hold of a Mac Mini, G4 1.42Gz PowerPC, running 10.4.11. Runn