Re: [Lazarus] Strange dependency of units

2012-04-10 Thread Michael Schnell
Explain why you think it can't be integrated with other loops? Glib has been synced with many things (libev, zeromq, qt, etc). When thinking, over the weekend I, seem to now top have understood, that I misread your suggestion and that it's vice-versa than I first go it: GTK does not know

Re: [Lazarus] Strange dependency of units

2012-04-10 Thread Michael Schnell
I see. Thanks ! If the GTK3 Widget Type does not need for Pascal based queues for things like TThread.Synchronize() or Application.QueueAsyncCall the GTK3 API would need to provide a way to insert user program created events in the external queue (such as Windows does). If so: good. If

Re: [Lazarus] Unicode on Windows

2012-04-10 Thread Sven Barth
Am 10.04.2012 01:17, schrieb Hans-Peter Diettrich: Now every user has the choice to stay with a specific FPC/Lazarus version, that does not yet support the new string types, or to drop UTF-8 strings in favor of the new UTF-16 strings. Since most code has to deal with the Unicode BMP

Re: [Lazarus] Unicode on Windows

2012-04-10 Thread Sven Barth
Am 10.04.2012 03:50, schrieb Marcos Douglas: On Mon, Apr 9, 2012 at 8:17 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: Marcos Douglas schrieb: I still think about: DirectoryExists or DirectoryExistsUTF8 ForceDirectoriesUTF8 or ForceDirectories Pos or UTF8Pos etc Depends what part of

Re: [Lazarus] Strange dependency of units

2012-04-10 Thread Michael Schnell
On 04/06/2012 03:56 AM, waldo kitty wrote: so... noGUI? maybe... :? User-code done with noGui definitely can't be event driven (I did do a lot of research on that some time ago and I did hear that it has changed.) -Michael -- ___ Lazarus mailing

Re: [Lazarus] Vector graphics

2012-04-10 Thread Koenraad Lelong
On 06-04-12 15:11, Felipe Monteiro de Carvalho wrote: On Fri, Apr 6, 2012 at 3:02 PM, Koenraad Lelong lazar...@de-brouwerij.be wrote: So I would need some drawing routines, eventually with filled surfaces i.e. filled circles, rectangles but also rectangles with rounded corners, etc. What could

Re: [Lazarus] Vector graphics

2012-04-10 Thread Felipe Monteiro de Carvalho
(rawvectorialreadwrite.pas) from the package before I could compile it. I don't remember the error but it was on the line containing lRawImage.Description.Init_BPP24_R8G8B8_BIO_TTB(RAW_IMAGE_WIDTH, RAW_IMAGE_HEIGHT); This is a new routine from the LCL in 0.9.31+ Then, unfortunately, none

Re: [Lazarus] Unicode on Windows

2012-04-10 Thread Hans-Peter Diettrich
Sven Barth schrieb: You do know that WideChar and UnicodeChar are the same? Namely two byte characters. Hmm, you are right, but somewhere I saw it declared differently. Does there exist another char type of 4 bytes? DoDi -- ___ Lazarus mailing

Re: [Lazarus] Best practices on using classes for subroutine libraries

2012-04-10 Thread Hans-Peter Diettrich
Frank Church schrieb: When I need a variation in procedures (standalone, not a class or object procedure) I use across my applications, I often find it more convenient to create a copy the unit into the project folder and make the changes there. Sometimes they get merged back into the shared

Re: [Lazarus] Save project as... and project title

2012-04-10 Thread Mattias Gaertner
On Sun, 8 Apr 2012 18:37:54 +0200 Bart bartjun...@gmail.com wrote: Maybe I'm mistaken about this so bear with me. IIRC, in the past, when I created a new project and then saved it (giving it another name than project1 e.g. test), then built the project, after buildig it would say project

Re: [Lazarus] Unicode on Windows

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 12:15:22 +0200 Hans-Peter Diettrich drdiettri...@aol.com wrote: Sven Barth schrieb: You do know that WideChar and UnicodeChar are the same? Namely two byte characters. Hmm, you are right, but somewhere I saw it declared differently. Does there exist another char

[Lazarus] Increase version requirement for a package in a project with IDE

2012-04-10 Thread cobines
Hello. Is it possible to increase the version requirement for a package using IDE? In the Package dialog if you click on the package the minimum/maximum will be shown at the bottom. In Project Inspector it doesn't happen. I had to change it by editing the .lpi. -- cobines --

[Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted.

Re: [Lazarus] Increase version requirement for a package in a project with IDE

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 11:55:33 +0200 cobines cobi...@gmail.com wrote: Hello. Is it possible to increase the version requirement for a package using IDE? Not yet. In the Package dialog if you click on the package the minimum/maximum will be shown at the bottom. In Project Inspector it

Re: [Lazarus] Renaming unit

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 11:00:36 +0100 Richard Mace richard.m...@gmail.com wrote: Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. Hint: You can save

Re: [Lazarus] Increase version requirement for a package in a project with IDE

2012-04-10 Thread cobines
2012/4/10 Mattias Gaertner nc-gaert...@netcologne.de: There is already a feature request for this. OK, I see. I did search the bug tracker before but couldn't find anything. But I found it now Package deps for projects. -- cobines -- ___ Lazarus

Re: [Lazarus] Save project as... and project title

2012-04-10 Thread Bart
On 4/10/12, Mattias Gaertner nc-gaert...@netcologne.de wrote: Fixed. Thanks. Bart -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-10 Thread Kostas Michalopoulos
On 4/4/2012 6:33 πμ, waldo kitty wrote: agreed... plus we do not know how many years the v1.0 of delphi was in development... we might guess based on TP/BP stuffs but we still do not know for sure... it can easily be for more years than FP/Laz has been in development ;) Not really, this quote

Re: [Lazarus] Best practices on using classes for subroutine libraries

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 1:07 AM, Frank Church vfcli...@gmail.com wrote: When I need a variation in procedures (standalone, not a class or object procedure) I use across my applications, I often find it more convenient to create a copy the unit into the project folder and make the changes

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-10 Thread Florian Klämpfl
Am 10.04.2012 13:05, schrieb Kostas Michalopoulos: On 4/4/2012 6:33 πμ, waldo kitty wrote: agreed... plus we do not know how many years the v1.0 of delphi was in development... we might guess based on TP/BP stuffs but we still do not know for sure... it can easily be for more years than FP/Laz

[Lazarus] Sorting columns in a ListView

2012-04-10 Thread Richard Mace
Hi, Could anyone give me a quick exmaple of how I could sort the items in a ListView alphabetically when the column header is clicked? Many thanks Richard -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
Richard Mace richard.m...@gmail.com wrote: Hi, When I create a new unit and then save it, I save it in all lower case. I then, edit the actual unit, and rename it to the case that I would like, such as renaming from mainunit to MainUnit. Hint: You can save it as 'MainUnit.pas'. The

Re: [Lazarus] Renaming unit

2012-04-10 Thread Sven Barth
Am 10.04.2012 12:23, schrieb Mattias Gaertner: All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted. Could it not be updated when the actual unit is renamed? Only a minor thing, but I remember Delphi doing this so thought I'd mention it :) You

Re: [Lazarus] Renaming unit

2012-04-10 Thread Richard Mace
On 10 April 2012 13:10, Sven Barth pascaldra...@googlemail.com wrote: Am 10.04.2012 12:23, schrieb Mattias Gaertner: All is OK when I do this, but the tab doesn't update to the correct case until Lazarus is restarted. Could it not be updated when the actual unit is renamed? Only a minor

[Lazarus] make clean lazbuild useride

2012-04-10 Thread Ludo Brands
Hi, Just discovered this little gem. Deserves better than being divulged in an unrelated thread;) Looking at the makefile and lazbuild, there seems to be no way to specify the primary-config-path, is there? Thanks, Ludo -- ___ Lazarus mailing list

[Lazarus] Multiple editor windows

2012-04-10 Thread Hans-Peter Diettrich
In Lazarus 0.9.31 rev. 36337 I noticed that the editor context menu does no more offer to move or clone a window - how that? My additional editor windows (from the last project) still are shown, but don't contain anything. When opening that old project, the editor windows contain files, but

Re: [Lazarus] make clean lazbuild useride

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 14:24:49 +0200 Ludo Brands ludo.bra...@free.fr wrote: Hi, Just discovered this little gem. Deserves better than being divulged in an unrelated thread;) Looking at the makefile and lazbuild, there seems to be no way to specify the primary-config-path, is there? No.

Re: [Lazarus] Multiple editor windows

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 15:27:54 +0200 Hans-Peter Diettrich drdiettri...@aol.com wrote: In Lazarus 0.9.31 rev. 36337 I noticed that the editor context menu does no more offer to move or clone a window - how that? My additional editor windows (from the last project) still are shown, but don't

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-10 Thread Hans-Peter Diettrich
Kostas Michalopoulos schrieb: So if you think about it, if Borland worked on Delphi more than Lazarus, then they'd need to work on it before even Windows 1.0 was released :-P. Lazarus should have released versions 2..7 and following, but the developers seem to think that a 1.0 version can be

Re: [Lazarus] Multiple editor windows

2012-04-10 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: On Tue, 10 Apr 2012 15:27:54 +0200 Hans-Peter Diettrich drdiettri...@aol.com wrote: In Lazarus 0.9.31 rev. 36337 I noticed that the editor context menu does no more offer to move or clone a window - how that? My additional editor windows (from the last project)

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-10 Thread waldo kitty
On 4/9/2012 06:25, Bernd wrote: 2012/4/9 waldo kittywkitt...@windstream.net: interesting... i do not recall useride in what i was looking at in the makefile but... where do you see this listed as a make target? A few months ago I noticed a commit regarding this (I have the svn log in my rss

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 10:11:37 -0400 waldo kitty wkitt...@windstream.net wrote: On 4/9/2012 06:25, Bernd wrote: 2012/4/9 waldo kittywkitt...@windstream.net: interesting... i do not recall useride in what i was looking at in the makefile but... where do you see this listed as a make target?

[Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
Hi, I open my Lazarus and click in Build all: ERROR: Unknown Run-Time error : 202 ENV: Lazarus 1.1 r36682M FPC 2.6.1 i386-win32-win32/win64 This is my debuglog: SetPrimaryConfigPath NewValue=W:\md\dev\freepascal\ide\laz\1.1-config - W:\md\dev\freepascal\ide\laz\1.1-config Adding

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Vincent Snijders
Op 10 april 2012 16:27 heeft Marcos Douglas m...@delfire.net het volgende geschreven: Hi, I open my Lazarus and click in Build all:  ERROR: Unknown Run-Time error : 202 ENV: Lazarus 1.1 r36682M FPC 2.6.1 i386-win32-win32/win64 This has been fixed in

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 11:31 AM, Vincent Snijders vincent.snijd...@gmail.com wrote: Op 10 april 2012 16:27 heeft Marcos Douglas m...@delfire.net het volgende geschreven: Hi, I open my Lazarus and click in Build all:  ERROR: Unknown Run-Time error : 202 ENV: Lazarus 1.1 r36682M FPC 2.6.1

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Vincent Snijders
Op 10 april 2012 16:37 heeft Marcos Douglas m...@delfire.net het volgende geschreven: This has been fixed in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=36699 I'm already in r36682 36682 36699. Vincent -- ___ Lazarus

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
2012/4/10 Vincent Snijders vincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglas m...@delfire.net het volgende geschreven: This has been fixed in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=36699 I'm already in r36682 36682 36699. Yes,

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
2012/4/10 Marcos Douglas m...@delfire.net: 2012/4/10 Vincent Snijders vincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglas m...@delfire.net het volgende geschreven: This has been fixed in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=36699 I'm

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Reinier Olislagers
On 10-4-2012 16:43, Marcos Douglas wrote: 2012/4/10 Vincent Snijders vincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglas m...@delfire.net het volgende geschreven: This has been fixed in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=36699 I'm

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 11:55 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 10-4-2012 16:43, Marcos Douglas wrote: 2012/4/10 Vincent Snijders vincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglas m...@delfire.net het volgende geschreven: This has been fixed in

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Reinier Olislagers
On 10-4-2012 17:02, Marcos Douglas wrote: On Tue, Apr 10, 2012 at 11:55 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 10-4-2012 16:43, Marcos Douglas wrote: 2012/4/10 Vincent Snijders vincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglas m...@delfire.net het

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 12:12 PM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 10-4-2012 17:02, Marcos Douglas wrote: On Tue, Apr 10, 2012 at 11:55 AM, Reinier Olislagers reinierolislag...@gmail.com wrote: On 10-4-2012 16:43, Marcos Douglas wrote: 2012/4/10 Vincent Snijders

Re: [Lazarus] Lazarus 1.0 is branched

2012-04-10 Thread waldo kitty
On 4/10/2012 10:16, Mattias Gaertner wrote: On Tue, 10 Apr 2012 10:11:37 -0400 waldo kittywkitt...@windstream.net wrote: On 4/9/2012 06:25, Bernd wrote: 2012/4/9 waldo kittywkitt...@windstream.net: interesting... i do not recall useride in what i was looking at in the makefile but... where

Re: [Lazarus] Best practices on using classes for subroutine libraries

2012-04-10 Thread Frank Church
On 10 April 2012 12:28, Marcos Douglas m...@delfire.net wrote: On Tue, Apr 10, 2012 at 1:07 AM, Frank Church vfcli...@gmail.com wrote: When I need a variation in procedures (standalone, not a class or object procedure) I use across my applications, I often find it more convenient to create a

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread waldo kitty
On 4/10/2012 10:43, Marcos Douglas wrote: 2012/4/10 Vincent Snijdersvincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglasm...@delfire.net het volgende geschreven: This has been fixed in http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revroot=lazarusrevision=36699 I'm

Re: [Lazarus] Best practices on using classes for subroutine libraries

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 12:49 PM, Frank Church vfcli...@gmail.com wrote: On 10 April 2012 12:28, Marcos Douglas m...@delfire.net wrote: On Tue, Apr 10, 2012 at 1:07 AM, Frank Church vfcli...@gmail.com wrote: When I need a variation in procedures (standalone, not a class or object procedure) I

Re: [Lazarus] Unknown Run-Time error : 202

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 12:51 PM, waldo kitty wkitt...@windstream.net wrote: On 4/10/2012 10:43, Marcos Douglas wrote: 2012/4/10 Vincent Snijdersvincent.snijd...@gmail.com: Op 10 april 2012 16:37 heeft Marcos Douglasm...@delfire.net  het volgende geschreven: This has been fixed in

[Lazarus] Changes of make, part I

2012-04-10 Thread Mattias Gaertner
I updated and cleaned up the Makefiles of the Lazarus sources. make help prints all available targets. There are some more - internal ones - which are not meant for direct use. make clean now cleans up all bigide components too. It cleans the current widgetset (i.e. LCL_PLATFORM) *and* the

[Lazarus] Changes of make, part II

2012-04-10 Thread Mattias Gaertner
To build Lazarus from scratch you now have three choices: 1. make clean all This builds a default IDE with minimal packages. 2. make clean bigide This builds a default IDE with some extra packages. 3. make clean lazbuild useride This is equivalent to make clean lazbuild ./lazbuild --build-ide=

[Lazarus] Changes of make, part III

2012-04-10 Thread Mattias Gaertner
make tools It no longer builds the apiwizzard. It builds the four tools lazres, svn2revisioninc, updatepofiles and lrstolfm. Formerly they were build with the current widgetset. Now they are build with the nogui widgetset. It is called by make lazbuild, make all, make bigide. No need to call it

Re: [Lazarus] Changes of make, part II

2012-04-10 Thread Marcos Douglas
On Tue, Apr 10, 2012 at 5:26 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: [...] 3. make clean lazbuild useride This is equivalent to make clean lazbuild ./lazbuild --build-ide= It builds an IDE with your current profile and your set of installed packages. [...] Very good the

Re: [Lazarus] Changes of make, part II

2012-04-10 Thread Mattias Gaertner
On Tue, 10 Apr 2012 17:57:06 -0300 Marcos Douglas m...@delfire.net wrote: On Tue, Apr 10, 2012 at 5:26 PM, Mattias Gaertner nc-gaert...@netcologne.de wrote: [...] 3. make clean lazbuild useride This is equivalent to make clean lazbuild ./lazbuild --build-ide= It builds an IDE

[Lazarus] disable package checking

2012-04-10 Thread Benito van der Zander
Hi, whenever I compile a project, it first compiles/checks the dependencies: Compiling package FCL 1.0.1 completed Compiling package LazUtils 1.0 completed Compiling package LCLBase 1.0.1 completed Compiling package LCL 1.0.1 completed Can you disable it somehow? It takes forever (2s) and it is