Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread Honza
2012/4/3 Michael Van Canneyt mich...@freepascal.org: On Tue, 3 Apr 2012, waldo kitty wrote: On 4/3/2012 09:57, michael.vancann...@wisa.be wrote: On Tue, 3 Apr 2012, fred f wrote: I need to set up LIBOVERLAY_SCROLLBAR=0 on Ubuntu 64bit, but there LIBC is not supported and therefore I am

Re: [Lazarus] Strange dependency of units

2012-04-04 Thread Michael Schnell
On 04/03/2012 04:26 PM, Bart wrote: I have learned over the past years, that it makes sense to use sepreate units (or ifdef them) for GUI (and thus possibly widgetset) related code and pure pascal (as in: non-GUI non-LCL). The separating GUI and business code paradigm is under permanent

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Michael Schnell
On 04/03/2012 03:31 PM, Mattias Gaertner wrote: What part of offline wiki do you want to help with? Those that I can be sure of being included in the online help by some automated mechanism. Here of course my theme would be Queued Mainthread Events, Threads-communication, and friends.

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Michael Schnell
On 04/04/2012 10:38 AM, Michael Schnell wrote: On 04/03/2012 03:31 PM, Mattias Gaertner wrote: What part of offline wiki do you want to help with? Those that I can be sure of being included in the online help by some automated mechanism. Grr. Of course I meant to write offline help. I

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Michael Schnell
On 04/03/2012 04:26 PM, Felipe Monteiro de Carvalho wrote: Or I am missing something? AFAIU, some parts of the online documentation can't be included in the offline help yet. (There should be help (at least) on the topics: Using the help system, IDE, FPC Language, RTL functions LCL

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 04 Apr 2012 10:38:13 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/03/2012 03:31 PM, Mattias Gaertner wrote: What part of offline wiki do you want to help with? Those that I can be sure of being included in the online help by some automated mechanism. Here of course my

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 04 Apr 2012 10:40:49 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/04/2012 10:38 AM, Michael Schnell wrote: On 04/03/2012 03:31 PM, Mattias Gaertner wrote: What part of offline wiki do you want to help with? Those that I can be sure of being included in the online help by

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/3 Michael Van Canneyt mich...@freepascal.org: On Tue, 3 Apr 2012, waldo kitty wrote: On 4/3/2012 09:57, michael.vancann...@wisa.be wrote: On Tue, 3 Apr 2012, fred f wrote: I need to set up LIBOVERLAY_SCROLLBAR=0 on Ubuntu 64bit, but there LIBC

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Michael Schnell
On 04/04/2012 11:02 AM, Mattias Gaertner wrote: All normal pages and images will be included in the offline wiki. Does this mean that the offline Wiki is the upcoming Offline Help ? Will it be possible to press F1 on a word and the appropriate offline Wiki page will be displayed ? (I

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Rimmert Ooink
I'm sorry to mix in a discussion, but I wonder, whats the point of having an offline copy of the wiki by default? Why not simply a OpenURL(online-wiki-url); when the user presses F1? And in de menu help - help a simple form stating the help can only be viewed when there is a active internet

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 04 Apr 2012 12:09:27 +0200 Michael Schnell mschn...@lumino.de wrote: On 04/04/2012 11:02 AM, Mattias Gaertner wrote: All normal pages and images will be included in the offline wiki. Does this mean that the offline Wiki is the upcoming Offline Help ? No. The offline wiki is just the

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 4 Apr 2012 12:21:28 +0200 Rimmert Ooink laza...@ooink.net wrote: I'm sorry to mix in a discussion, but I wonder, whats the point of having an offline copy of the wiki by default? Why not simply a OpenURL(online-wiki-url); when the user presses F1? That's the current implementation.

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread Honza
2012/4/4 michael.vancann...@wisa.be: Thank you for the help. Unfortunately I'm now confused even more. I believe it's my fault, not yours. You can always modify them (it's just data in memory), but modifying them will only change your private view of the variables. The changes you make will

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: Thank you for the help. Unfortunately I'm now confused even more. I believe it's my fault, not yours. You can always modify them (it's just data in memory), but modifying them will only change your private view of the

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Martin
On 04/04/2012 11:26, Mattias Gaertner wrote: There is no 1:1 mapping between word and wiki page. At the moment there are two searches for the offline wiki pages. Both have their pros and cons. There are mappings between some IDE windows and wiki though --

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread Honza
2012/4/4 michael.vancann...@wisa.be: Not the current. The EXTERNAL variable environ, i.e. the one that the kernel passed on, which cannot be modified. You can only modify your local copy. 14:00 myname@tux64:~/tmp/c$ ls a.c b.c 14:00 myname@tux64:~/tmp/c$ cat a.c #include stdlib.h #include

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
Martin laza...@mfriebe.de hat am 4. April 2012 um 13:43 geschrieben: On 04/04/2012 11:26, Mattias Gaertner wrote: There is no 1:1 mapping between word and wiki page. At the moment there are two searches for the offline wiki pages. Both have their pros and cons. There are mappings

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: Not the current. The EXTERNAL variable environ, i.e. the one that the kernel passed on, which cannot be modified. You can only modify your local copy. 14:00 myname@tux64:~/tmp/c$ ls a.c b.c 14:00 myname@tux64:~/tmp/c$

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread Honza
2012/4/4 michael.vancann...@wisa.be: Output of strace: brk(0)                                  = 0x21a5000 brk(0x21c6000)                = 0x21c6000 write(1, a2: MYVALUE\n, 12a2: MYVALUE )   = 12 execve(./b.out, [0], [/* 57 vars */]) = 0 brk(0)                = 0x189e000

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: Output of strace: brk(0)                                  = 0x21a5000 brk(0x21c6000)                = 0x21c6000 write(1, a2: MYVALUE\n, 12a2: MYVALUE )   = 12 execve(./b.out, [0], [/* 57 vars */]) = 0 brk(0)              

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread waldo kitty
On 4/4/2012 08:02, Honza wrote: 2012/4/4michael.vancann...@wisa.be: Not the current. The EXTERNAL variable environ, i.e. the one that the kernel passed on, which cannot be modified. You can only modify your local copy. 14:00 myname@tux64:~/tmp/c$ ls a.c b.c [trim] 14:00

[Lazarus] offline Wiki Help

2012-04-04 Thread Michael Schnell
(Moving this discussion out of the inappropriate Lazarus 1.0 is branched topic.) Seemingly there are efforts to introduce an offline Wiki type of offline help, thus providing a maybe more versatile alternative are an addition to the currently available variants such as the CHM help and the

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread Honza
2012/4/4 michael.vancann...@wisa.be: I do not agree with this interpretation. First of all, you are calling execv() in your code, not execve(). That libc changes this to execve() is IMHO not permissible. So all bets and conclusions are off from that point onwards. Why not permissible? The

Re: [Lazarus] offline Wiki Help

2012-04-04 Thread Mattias Gaertner
On Wed, 04 Apr 2012 15:30:38 +0200 Michael Schnell mschn...@lumino.de wrote: (Moving this discussion out of the inappropriate Lazarus 1.0 is branched topic.) Seemingly there are efforts to introduce an offline Wiki type of offline help, thus providing a maybe more versatile alternative

Re: [Lazarus] offline Wiki Help

2012-04-04 Thread Michael Schnell
On 04/04/2012 03:40 PM, Mattias Gaertner wrote: All readers are pascal code. Great, but seems like a lot of work This would enable using the IDE's help viewer interface to launch it. Great again. Maybe this enables seamlessly using the online and offline Wiki content. Another Great

[Lazarus] Make unreadable names into bunary

2012-04-04 Thread Kjow
Hi all, I would make unreadable functions/components/classes/etc names into the binary built. I noticed that with an hex editor I can see things like TButton, width, heigh etc. Avoiding this, could make also more difficul a reverse engeneering with the binary. Is there an option to enable this

Re: [Lazarus] Make unreadable names into bunary

2012-04-04 Thread Reinier Olislagers
On 4-4-2012 16:10, Kjow wrote: Hi all, I would make unreadable functions/components/classes/etc names into the binary built. I noticed that with an hex editor I can see things like TButton, width, heigh etc. Avoiding this, could make also more difficul a reverse engeneering with the

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread michael . vancanneyt
On Wed, 4 Apr 2012, Honza wrote: 2012/4/4 michael.vancann...@wisa.be: I do not agree with this interpretation. First of all, you are calling execv() in your code, not execve(). That libc changes this to execve() is IMHO not permissible. So all bets and conclusions are off from that point

Re: [Lazarus] lazbuild build IDE profiles

2012-04-04 Thread waldo kitty
On 4/2/2012 18:14, Mattias Gaertner wrote: On Mon, 02 Apr 2012 15:10:18 -0400 waldo kittywkitt...@windstream.net wrote: On 3/31/2012 17:44, waldo kitty wrote: On 3/31/2012 13:01, Mattias Gaertner wrote: Can you send me the exact commands and your .lazarus/miscellaneousoptions.xml? There

Re: [Lazarus] SetEnv on Linux 64bit

2012-04-04 Thread Marco van de Voort
On Wed, Apr 04, 2012 at 04:22:24PM +0200, michael.vancann...@wisa.be wrote: I think you'll find that the environment block is copied as soon as you add a new environment variable. Afaik BSD copies it in the startup code before main() executes. --

Re: [Lazarus] Make unreadable names into bunary

2012-04-04 Thread Marco van de Voort
On Wed, Apr 04, 2012 at 04:10:46PM +0200, Kjow wrote: I would make unreadable functions/components/classes/etc names into the binary built. I noticed that with an hex editor I can see things like TButton, width, heigh etc. Yes. These are needed to stream forms. Avoiding this, could make

[Lazarus] Keys attached to IDE functions

2012-04-04 Thread Jürgen Hestermann
In the IDE Options the key mappings can be searched (and changed) very convenient. But when I filter for breakpoint I only get 3 functions listed. It took me quite a while to find out that the other breakpoint related functions are named break point (with a space in the middle). I think that

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Reinier Olislagers
On 4-4-2012 18:02, Jürgen Hestermann wrote: In the IDE Options the key mappings can be searched (and changed) very convenient. But when I filter for breakpoint I only get 3 functions listed. It took me quite a while to find out that the other breakpoint related functions are named break point

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Martin
On 04/04/2012 17:02, Jürgen Hestermann wrote: In the IDE Options the key mappings can be searched (and changed) very convenient. But when I filter for breakpoint I only get 3 functions listed. It took me quite a while to find out that the other breakpoint related functions are named break

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Jürgen Hestermann
Martin schrieb: Are you on trunk? No, what's this? Is it SVN? Although I would realy like to contribute more to Lazarus there are 2 obstacles that are not easy to remove: 1.) Time. I would have to invest much more time which I currently can't afford. 2.) Knowledge. This is quite related

Re: [Lazarus] Strange dependency of units

2012-04-04 Thread Jürgen Hestermann
Michael Schnell schrieb: Unfortunately many projects start small and at some point get so big that separating GUI and business code would be appropriate, but with an advanced project, the effort is a lot harder to do. Of course, it would always be better to do it right in the first place.

Re: [Lazarus] Make unreadable names into bunary

2012-04-04 Thread Hans-Peter Diettrich
Kjow schrieb: Hi all, I would make unreadable functions/components/classes/etc names into the binary built. I noticed that with an hex editor I can see things like TButton, width, heigh etc. These names must match the declarations of the components and properties in LCL source code, so that

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Martin
On 04/04/2012 17:31, Jürgen Hestermann wrote: Martin schrieb: Are you on trunk? No, what's this? Is it SVN? yes, latest svn (not fixes branch) Although I would realy like to contribute more to Lazarus there are 2 obstacles that are not easy to remove: 1.) Time. I would have to invest

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Martin
On 04/04/2012 17:53, Martin wrote: On 04/04/2012 17:31, Jürgen Hestermann wrote: Although I would realy like to contribute more to Lazarus there are 2 obstacles that are not easy to remove: 1.) Time. I would have to invest much more time which I currently can't afford. 2.) Knowledge.

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Martin
On 04/04/2012 18:01, Martin wrote: On 04/04/2012 17:53, Martin wrote: On 04/04/2012 17:31, Jürgen Hestermann wrote: Although I would realy like to contribute more to Lazarus there are 2 obstacles that are not easy to remove: 1.) Time. I would have to invest much more time which I currently

Re: [Lazarus] Strange dependency of units

2012-04-04 Thread Alberto Narduzzi
Separation is very advantages for large and/or professional projects. separation, as you call it, is simply a good-design practice; no matter whether the project is small or big. I quite don't believe (allow me this simple paragon) you would mix your winter and summer clothing in the same

Re: [Lazarus] Keys attached to IDE functions

2012-04-04 Thread Sven Barth
Am 04.04.2012 18:02 schrieb Jürgen Hestermann juergen.hesterm...@gmx.de: And yet another one: When I want to assign a new key and this key is already assigned to another function I get a message telling me whether I still want to assign to this key. If I answer no, the whole assignment dialog is

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Sun, Apr 1, 2012 at 3:44 PM, zel...@holobit.net wrote: Hi all, As I've already mentioned few weeks ago on lazdevel, today we branched 1.0 :) branch is here: http://svn.freepascal.org/svn/lazarus/branches/fixes_1_0/ wiki with revisions which have to be merged from trunk (also there will

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Vincent Snijders
Op 4 april 2012 22:50 heeft Marcos Douglas m...@delfire.net het volgende geschreven: On Sun, Apr 1, 2012 at 3:44 PM, zel...@holobit.net wrote: Hi all, As I've already mentioned few weeks ago on lazdevel, today we branched 1.0 :) branch is here:

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread waldo kitty
On 4/4/2012 16:50, Marcos Douglas wrote: I updated my Lazarus today, from SVN trunk, and everything works. But the splash form shows the old version 0.9.31. However if I click in HelpAbout the info is correct (version 1.1). Lazarus 1.1 r36566 FPC 2.6.1 i386-win32-win32/win64 i'm on 36559 and

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Wed, Apr 4, 2012 at 5:55 PM, Vincent Snijders vincent.snijd...@gmail.com wrote: Op 4 april 2012 22:50 heeft Marcos Douglas m...@delfire.net het volgende geschreven: On Sun, Apr 1, 2012 at 3:44 PM, zel...@holobit.net wrote: Hi all, As I've already mentioned few weeks ago on lazdevel, today

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Wed, Apr 4, 2012 at 7:35 PM, waldo kitty wkitt...@windstream.net wrote: On 4/4/2012 16:50, Marcos Douglas wrote: I updated my Lazarus today, from SVN trunk, and everything works. But the splash form shows the old version 0.9.31. However if I click in HelpAbout the info is correct (version

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 4 Apr 2012 21:34:50 -0300 Marcos Douglas m...@delfire.net wrote: [...] To recompile Lazarus I just use the IDE.. I thought the command Build All recompile everything. If not, how I recompile the startlazarus? Compile project ide/startlazarus.lpi. Or use make clean all. Mattias --

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Wed, Apr 4, 2012 at 9:47 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 4 Apr 2012 21:34:50 -0300 Marcos Douglas m...@delfire.net wrote: [...] To recompile Lazarus I just use the IDE.. I thought the command Build All recompile everything. If not, how I recompile the

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 4 Apr 2012 21:38:03 -0300 Marcos Douglas m...@delfire.net wrote: [...] I can't use make all because all configuration, components, etc will gone. No. Make does not delete/alter configurations. In fact it does not even know where your configuration is. That's why it can only build a

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Wed, Apr 4, 2012 at 9:53 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 4 Apr 2012 21:38:03 -0300 Marcos Douglas m...@delfire.net wrote: [...] I can't use make all because all configuration, components, etc will gone. No. Make does not delete/alter configurations. In fact

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Mattias Gaertner
On Wed, 4 Apr 2012 21:59:08 -0300 Marcos Douglas m...@delfire.net wrote: On Wed, Apr 4, 2012 at 9:53 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 4 Apr 2012 21:38:03 -0300 Marcos Douglas m...@delfire.net wrote: [...] I can't use make all because all configuration,

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread waldo kitty
On 4/4/2012 20:34, Marcos Douglas wrote: On Wed, Apr 4, 2012 at 5:55 PM, Vincent Snijders wrote: Did you recompile startlazarus? To recompile Lazarus I just use the IDE.. I thought the command Build All recompile everything. If not, how I recompile the startlazarus? as mattias and i have

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Wed, Apr 4, 2012 at 10:09 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 4 Apr 2012 21:59:08 -0300 Marcos Douglas m...@delfire.net wrote: On Wed, Apr 4, 2012 at 9:53 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Wed, 4 Apr 2012 21:38:03 -0300 Marcos Douglas

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread Marcos Douglas
On Wed, Apr 4, 2012 at 10:17 PM, waldo kitty wkitt...@windstream.net wrote: On 4/4/2012 20:34, Marcos Douglas wrote: On Wed, Apr 4, 2012 at 5:55 PM, Vincent Snijders wrote: Did you recompile startlazarus? To recompile Lazarus I just use the IDE.. I thought the command Build All recompile

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread waldo kitty
On 4/4/2012 20:38, Marcos Douglas wrote: On Wed, Apr 4, 2012 at 7:35 PM, waldo kittywkitt...@windstream.net wrote: i'm pretty sure you've also seen my exchanges concerning compiling from the command line instead of svn update and then firing lazarus and compiling a new laz from in there? if

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread waldo kitty
On 4/4/2012 20:53, Mattias Gaertner wrote: Or you can use lazbuild to build an IDE with your components in a console. +100~ that's what we're working on :) when i can keep off the side trips and stick to the main task :P -- ___ Lazarus mailing

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-04 Thread waldo kitty
On 4/4/2012 21:18, Marcos Douglas wrote: On Wed, Apr 4, 2012 at 10:09 PM, Mattias Gaertner wrote: make clean all is the clean way. It's recommended if I have an error, right? ummm... n... please see the lazbuild build IDE profiles thread... We use make clean all, get a default IDE and