[Lazarus] New color scheme: Solarized

2011-04-01 Thread Alexander Klenin
Added to http://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings BTW, I think a setting to control the colors of other windows based on SynEdit colors would be appropriate -- right now Lazarus looks weird with non-default color schemas, especially those with dark background. -- Alexander

Re: [Lazarus] Lazarus application invalid on ubuntu 64

2011-04-01 Thread Andrea Mauri
foo at bar in ~ ○ file /bin/bash /bin/bash: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, stripped ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for

[Lazarus] OpenAL

2011-04-01 Thread Kjow
Hi all, I need to add 3D sound to my app, but I can't find any free-working solution for a commercial, cross platform, project (FMOD or BASS should work, but they costs, and I can't affort this for now). So, I was looking for OpenAL, (here:

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Try compiling different versions of any unix application - this is where repository checkouts enter the scene. And then try to use all these versions in parallel... I do this often, and have no problems. Why? Because the apps I use (in this example Mozilla

Re: [Lazarus] Detecting desktop area size

2011-04-01 Thread Hans-Peter Diettrich
Kjow schrieb: Maybe a little OT, but is it possible to change screen resolution (e.g. on a native 19200x1200 set 800x600) in a crossplatform way? I need this for fullscreen apps (opengl in first). Are you sure that you want to use an digital monitor (TFT...) in anything but its native

[Lazarus] OpenAL

2011-04-01 Thread Kjow
2011/4/1 Kjow antispamm...@gmail.com: Hi all, [cut] Can you help me to find a solution? Thank you in advance, Kjow In attachment the test project that I'm using (compressed with 7-zip) Kjow OpenALFPC.7z Description: Binary data -- ___ Lazarus

Re: [Lazarus] Lazarus application invalid on ubuntu 64

2011-04-01 Thread Hans-Peter Diettrich
Andrea Mauri schrieb: I loaded a lazarus project on my new Ubuntu 10.10 intel64 (lazarus 0.9.31 r30096 FPC 2.4.2 x86_64-linux-gtk 2). The application is compiled correctly but it won't run. Lazarus give me this message: Caption: Lazarus application invalid Text: The launching application

Re: [Lazarus] Detecting desktop area size

2011-04-01 Thread Hans-Peter Diettrich
Paul Ishenin schrieb: How do I know on which monitor my form is? (I only have one monitor, so I cannot test this) Looks like search does not work on your PC anymore. Look at TForm.Monitor property. A form/window actually can span multiple monitors. DoDi --

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: Searching for config files in the exe dir (even if done) doesn't solve the first issue, as there may not be any config files in that directory to start with. Then the IDE creates defaults. Where is that default config created, in the primary or secondary

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Martin schrieb: Searching for config files in the exe dir (even if done) doesn't solve the first issue, as there may not be any config files in that directory to start with. Then the IDE creates defaults. No. This is: - if a search in the exe-dir is added, (so the the behaviour will

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Marco van de Voort schrieb: On Thu, Mar 31, 2011 at 12:50:05PM +0200, Hans-Peter Diettrich wrote: problem to share him config espicialy for IDE. IMO the current config is not shareable, due to the many absolute pathes in it. Interesting. How did you test this? It bites me whenever I try to

Re: [Lazarus] Detecting desktop area size

2011-04-01 Thread Kjow
2011/4/1 Hans-Peter Diettrich drdiettri...@aol.com: Are you sure that you want to use an digital monitor (TFT...) in anything but its native resolution? CRTs can be configured to a wide range of resolutions, but nowadays flatscreens, with addressable pixels, require soft-/hardware

Re: [Lazarus] New color scheme: Solarized

2011-04-01 Thread zeljko
On Friday 01 of April 2011 10:52:39 Alexander Klenin wrote: Added to http://wiki.lazarus.freepascal.org/UserSuppliedSchemeSettings No screenshoot ? ;) BTW, I think a setting to control the colors of other windows based on SynEdit colors would be appropriate -- right now Lazarus looks weird

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Mattias Gaertner
  Hans-Peter Diettrich drdiettri...@aol.com hat am 1. April 2011 um 05:46 geschrieben: [...] Where is that default config created, in the primary or secondary config path?  It seems you don't know what the secondary configs are. The secondary configs are templates for the primary configs. The

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Mattias Gaertner
  Hans-Peter Diettrich drdiettri...@aol.com hat am 1. April 2011 um 06:23 geschrieben: [...]  If a global config is found, but is invalid/incompatible, a local config should be created.  Define invalid.     [...]  About primary and secondary config paths: At least on my Windows the

Re: [Lazarus] Detecting desktop area size

2011-04-01 Thread Paul Ishenin
01.04.2011 19:32, Hans-Peter Diettrich wrote: Paul Ishenin schrieb: How do I know on which monitor my form is? (I only have one monitor, so I cannot test this) Looks like search does not work on your PC anymore. Look at TForm.Monitor property. A form/window actually can span multiple

Re: [Lazarus] OpenAL

2011-04-01 Thread Kjow
2011/4/1 Kjow antispamm...@gmail.com: Hi all, I need to add 3D sound to my app, but I can't find any free-working solution for a commercial, cross platform, project (FMOD or BASS should work, but they costs, and I can't affort this for now). So, I was looking for OpenAL, (here:

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Martin
On 01/04/2011 05:23, Hans-Peter Diettrich wrote: Martin schrieb: Searching for config files in the exe dir (even if done) doesn't solve the first issue, as there may not be any config files in that directory to start with. Then the IDE creates defaults. No. This is: - if a search in

Re: [Lazarus] New color scheme: Solarized

2011-04-01 Thread Graeme Geldenhuys
On 01/04/2011 10:52, Alexander Klenin wrote: right now Lazarus looks weird with non-default color schemas, especially those with dark background. And I think any editor look weird with light / white backgrounds. :-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit

Re: [Lazarus] New color scheme: Solarized

2011-04-01 Thread zeljko
On Friday 01 of April 2011 16:03:44 Graeme Geldenhuys wrote: On 01/04/2011 10:52, Alexander Klenin wrote: right now Lazarus looks weird with non-default color schemas, especially those with dark background. And I think any editor look weird with light / white backgrounds. :-) There is

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Reimar Grabowski
On Fri, 01 Apr 2011 11:32:11 +0200 Hans-Peter Diettrich drdiettri...@aol.com wrote: You possibly forget that then you'll have to initialize all those added configs, and when you want to change something, for all installations, every single config has to be edited - a maintenance nightmare

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Henry Vermaak
On 01/04/11 15:55, Reimar Grabowski wrote: On Fri, 01 Apr 2011 11:32:11 +0200 Hans-Peter Diettrichdrdiettri...@aol.com wrote: You possibly forget that then you'll have to initialize all those added configs, and when you want to change something, for all installations, every single config has

[Lazarus] OnGuard component question

2011-04-01 Thread John Repucci
Graeme (or others...) Last year you (Graeme) mentioned that you had split the OnGuard package in two. Did you release any of your work? tponguard_lcl.lpk / tponguard.lpk (http://www.mail-archive.com/lazarus@lists.lazarus.freepascal.org/msg06252.html) I want to create a license manager using

[Lazarus] Project / Save Project As ... - expected behavior?

2011-04-01 Thread John Repucci
If I have a project that works (ie: compiles correctly...) and I do a Project / Save Project As ... into a different directory with a different name, should I expect that the new project should contain all necessary files and compile correctly? OnGuard example program: codegen - If I compile it,

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Martin schrieb: If a global config is found, but is invalid/incompatible, a local config should be created. sounds good at first, but is actually worse. Because this behaviour is unpredictable from the end users view. Unpredictable why? Currently the results are unpredictable, when the

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: If a global config is found, but is invalid/incompatible, a local config should be created. Define invalid. That's up to the (already existing) IDE code. About primary and secondary config paths: At least on my Windows the Lazarus directory is listed

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: [...] Where is that default config created, in the primary or secondary config path? It seems you don't know what the secondary configs are. That's why I'm asking ;-) The secondary configs are templates for the primary configs. The installers and

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Hans-Peter Diettrich
Martin schrieb: ...let me explain a bit more what I tried to explain before (and had in my last mail too) It would only help, if you totally abandon all global config. don't even look for a global anymore, only check the exe folder, nowhere else. Why that? When multiple directories are in