Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-22 Thread Mattias Gaertner
On Sun, 22 May 2011 14:37:34 +0200 Bart wrote: > Every time I update Lazarus, I rebuild it from commandline: > > make clean all OPT='-gl' > > Then when I open the start Lazarus and want to build the last project > I was working on, it immediately rebuilds the enitre LCL > (I thought I had just

Re: [Lazarus] Synchronize problem in linux

2011-05-22 Thread Mattias Gaertner
On Sun, 22 May 2011 15:36:51 +0200 Zaher Dirkey wrote: > Hi, i have multithreaded gui Lazarus application (socket server), that > thread call the gui function (open file), i used Synchronize for that read > with function ShowFile > It is work fine with Windows, but in Linux (OpenSuse 11) the proc

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-22 Thread Mattias Gaertner
On Mon, 23 May 2011 08:10:36 +1100 Alexander Klenin wrote: >[...] > > If you expect to see the Color property as it is in the LCL, that will not > > happen. > Why? It is only a few lines of code. It is not that simple. TColor supports some special color constants like clBtnFace. This makes only

Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-22 Thread Mattias Gaertner
On Mon, 23 May 2011 00:19:55 +0200 Bart wrote: >[...] > Also I noticed that in this dialog, when I select (from advanced > button) build LCL, then press build, it does exactly nothing at all. > This is after I changed one of the LCL's source files... > > In the old dialog, I could do build LCL c

Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 12:22:39 +0200 Bart wrote: > Mattias, > > >> Also I noticed that in this dialog, when I select (from advanced > >> button) build LCL, then press build, it does exactly nothing at all. > >> This is after I changed one of the LCL's source files... > >> > >> In the old dialog, I

Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 14:55:29 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> I used to be able to do a "build (clean) lcl" from within the IDE, now > >> I cannot anymore. > > > > The LCL is now a normal package. It will be

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-23 Thread Mattias Gaertner
On Sun, 22 May 2011 12:16:16 +0200 Mattias Gaertner wrote: >[...] > > Years ago when tiOPF Core still had GUI dependencies, I couldn't run a > > console based test suite without an X11 install. Your problem sounds > > similar. I think LCL (even the NoGUI wid

Re: [Lazarus] LCL not in build profiles ?

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 16:05:24 +0200 (CEST) michael.vancann...@wisa.be wrote: > Hi, > > Is there a reason why the LCL is no longer part of the items in the build > profiles ? The LCL is now a normal package. No need for a special dialog. > I'd like to have a build profile where I tell the IDE t

Re: [Lazarus] LCL not in build profiles ?

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 20:48:04 +0200 (CEST) Michael Van Canneyt wrote: > [...] > > a) Open package FCL and click compile. Because almost all packages > > depend on that package the others will be recompiled automatically when > > needed. > > Well, this is what I do now. But all this does not expla

Re: [Lazarus] Lazarus manager - Linux

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 15:47:59 -0300 silvioprog wrote: > Hi. > > The scrips avaliable in > "http://wiki.lazarus.freepascal.org/Lazarus_Manager"; are not > compatible with FPC-2.5.1 on Linux. I wonder how you found this page. The Wiki says that no page links to this page. > What is the best ste

Re: [Lazarus] LCL not in build profiles ?

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 20:49:04 +0200 (CEST) Michael Van Canneyt wrote: > > > On Mon, 23 May 2011, Martin wrote: > > > On 23/05/2011 15:05, michael.vancann...@wisa.be wrote: > >> > >> I'd like to have a build profile where I tell the IDE to recompile the > >> FCL/LCLBase/LCL packages as part of

Re: [Lazarus] LCL not in build profiles ?

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 18:31:03 +0200 Mattias Gaertner wrote: > On Mon, 23 May 2011 16:05:24 +0200 (CEST) > michael.vancann...@wisa.be wrote: > > > Hi, > > > > Is there a reason why the LCL is no longer part of the items in the build > > profiles ? > > T

Re: [Lazarus] In TWinControl.Destroy parent is NIL'ed twice for controls

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 22:07:58 +0200 cobines wrote: > Hello. > > In TWinControl.Destroy there is code: > > while n > 0 do > begin > Control := Controls[n - 1]; > Remove(Control); <-- > ... > Control.Parent := nil; <-- That one was not needed any more. I removed it. >

Re: [Lazarus] Class operators

2011-05-23 Thread Mattias Gaertner
On Mon, 23 May 2011 18:06:31 -0400 Jose Luis wrote: > Hi all: > > I've tried to cast the argument 'Sender' from a call to an event > procedure, but it didn't work. The event is triggered by a TSpeedButton > push, and the code of the action call contain the sentence: > > -- if Sender is TSpeed

Re: [Lazarus] Class operators

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 00:35:19 +0100 Martin wrote: >[...] > (^^PChar(Sender)^+3)^+1 > > It should give you the real classname Can this be used in the debugger hint, when moving the mouse over 'Sender'? Mattias -- ___ Lazarus mailing list Lazarus@lists

Re: [Lazarus] TIBConnection + LCLNoGui + FreeBSD

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 08:38:32 +0200 Graeme Geldenhuys wrote: > On 23/05/2011 17:10, Alexander Klenin wrote: > > > > But it is absent on Windows, so no better than Arial as a cross-platform > > font > > It's free, so deploy it with your application, or use Arial under > Windows and Liberation un

Re: [Lazarus] Class operators

2011-05-24 Thread Mattias Gaertner
On Mon, 23 May 2011 20:02:42 -0400 Jose Luis wrote: > On Tue, 2011-05-24 at 00:35 +0100, Martin wrote: > > On 24/05/2011 00:17, Jose Luis wrote: > > > On Tue, 2011-05-24 at 00:30 +0200, Mattias Gaertner wrote: > > >> On Mon, 23 May 2011 18:06:31 -0400 > > &g

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
    silvioprog hat am 24. Mai 2011 um 13:07 geschrieben: > 2011/5/23 Mattias Gaertner : > > I wonder how you found this page. The Wiki says that no page links to > > this page. > > Oh :o , but it's there, see: http://imagebin.org/154790.  Yes, the page is still

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 15:30:25 +0200 Kjow wrote: > 2011/5/24 Mattias Gaertner : > > Yes, the page is still there, but it is outdated, not maintained, abandoned. > > That's why nothing links to it. Is there still anything useful in it? Maybe > > it's time to remove it

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 15:09:43 -0300 silvioprog wrote: > 2011/5/24 Mattias Gaertner : > [...] > > Why? What fails? > > Maybe the page can be improved. > > This information is to install the Lazarus via repository, and I need > via to install via SVN. Huh? The page

Re: [Lazarus] Build Mode: Packages vs Project

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 08:51:52 +0200 Graeme Geldenhuys wrote: > Hi, > > My one project uses 5 packages. If I want to create a release version, > must I set the Project + the 5 packages all to "release build profile" > and then recompile each one? > > Or is it sufficient to only change the Project

Re: [Lazarus] Translator into Ukrainian

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 23:02:33 +0300 Igor Paliychuk wrote: > I have one question, > We need to rename ukrainian po files from *ua.po into *uk.po or *uk_UA.po > because ua is not a valid language code ( > http://www.gnu.org/software/gettext/manual/gettext.html#Language-Codes). But > in Lazarus Optio

Re: [Lazarus] Lazarus manager - Linux

2011-05-24 Thread Mattias Gaertner
On Tue, 24 May 2011 16:46:37 -0300 silvioprog wrote: > 2011/5/24 Mattias Gaertner : > > Huh? > > The page is about installing via svn. > > http://wiki.lazarus.freepascal.org/Getting_Lazarus > > > > Maybe you confused it with the page about ins

Re: [Lazarus] Synchronize problem in linux

2011-05-25 Thread Mattias Gaertner
On Wed, 25 May 2011 12:04:37 +0200 Giuliano Colla wrote: > Mattias Gaertner ha scritto: > > This might help: > > http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial > > > > Mattias > > > > > I have a question related to this subject.

Re: [Lazarus] Synchronize problem in linux

2011-05-25 Thread Mattias Gaertner
On Wed, 25 May 2011 12:22:53 +0200 (CEST) michael.vancann...@wisa.be wrote: > > > On Wed, 25 May 2011, Giuliano Colla wrote: > > > Mattias Gaertner ha scritto: > >> This might help: > >> http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial

Re: [Lazarus] How to disable splash screen?

2011-05-25 Thread Mattias Gaertner
On Wed, 25 May 2011 08:00:27 -0300 silvioprog wrote: > Hi. > > It's possible to disable splash screen? ./lazarus --no-splash-screen Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/

Re: [Lazarus] Lazarus manager - Linux

2011-05-27 Thread Mattias Gaertner
On Fri, 27 May 2011 09:42:07 -0300 silvioprog wrote: > I think about trying the following steps: > > 1. Installing Free Pascal from repository; > 2. Download the sources from the Free Pascal 2.5.1 (via SVN); > 3. Compile and install FPC-2.5.1; If you use "make install INSTALL_PREFIX=/usr" you h

Re: [Lazarus] Lazarus not recognize version of packages

2011-05-27 Thread Mattias Gaertner
On Fri, 27 May 2011 10:03:16 -0300 silvioprog wrote: > Hi. > > I have a package with version, but Lazarus no appear (and not keep) > the Release, Minor, Major etc. See this picture with a native package > (SQLdb, only to test) of Lazarus opened in IDE: > > http://imagebin.org/155425 > > How to

Re: [Lazarus] TFreeTypeFont Rotated Text

2011-05-27 Thread Mattias Gaertner
On Fri, 27 May 2011 18:06:25 -0400 Alexander Klenin wrote: > On Fri, May 27, 2011 at 09:09, Leonardo M. Ramé wrote: > > Alexander, I tried with DejaVuSans and got the same result. > > Too bad. I have only tested on Windows -- no idea why FreeType does not work > on other platforms. Read the fi

Re: [Lazarus] TFreeTypeFont Rotated Text

2011-05-28 Thread Mattias Gaertner
On Fri, 27 May 2011 21:37:21 -0300 Leonardo M. Ramé wrote: > On 2011-05-28 00:20:18 +0200, Mattias Gaertner wrote: > > On Fri, 27 May 2011 18:06:25 -0400 > > Alexander Klenin wrote: > > > > > On Fri, May 27, 2011 at 09:09, Leonardo M. Ramé > > >

Re: [Lazarus] Fatal: Can't find unit libc used by file.pp (debian-6.0.1a-i386, Lazarus 0.9.28.2-12 beta/ FPC v2.4.0)

2011-05-29 Thread Mattias Gaertner
On Mon, 30 May 2011 01:24:22 +0800 Joshua Lim wrote: > Hi, > > I'm having this error when trying to compile my application hope someone > can help. > > "Fatal: Can't find unit libc used by file.pp" > > The code: uses libc; This might help: http://wiki.lazarus.freepascal.org/libc_unit Mattia

Re: [Lazarus] Removing .svn from search results

2011-05-30 Thread Mattias Gaertner
    Felipe Monteiro de Carvalho hat am 30. Mai 2011 um 14:05 geschrieben: > > Hello, > In Find in Files, I always get triplicate entries for everything that I > search because of the ".svn" hidden dirs. > Does anyone have this problem? Any idea how to remove those entries? Use the file

Re: [Lazarus] ActiveX control demo

2011-05-30 Thread Mattias Gaertner
    Roberto Padovani hat am 30. Mai 2011 um 16:37 geschrieben: > Until this morning I was using 0.9.28.3, so I decided that it was time > to upgrade. > > After installing lazarus 0.9.30 from sourceforge and opening your demo > I get a missing required package LCL >= 1.0.1. > By default I

Re: [Lazarus] Fatal: Can't find unit libc used by file.pp (debian-6.0.1a-i386, Lazarus 0.9.28.2-12 beta/ FPC v2.4.0)

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 15:48:42 +0800 Joshua Lim wrote: > Hi Mattias, thanks, weird, didn't see that in my Googles. Is there a > list of lazarus deprecated units? Actually it is a FPC deprecated unit. The lazarus and fpc wiki are shared. See here: http://wiki.freepascal.org/libc_unit The libc u

Re: [Lazarus] English lazarus book available.

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 14:49:26 +0200 Hans-Peter Diettrich wrote: > michael.vancann...@wisa.be schrieb: > > >> Just some of the eBook advantages: > [...] > > > The main argument contra - as I recall it - was that PDFs can be illegally > > copied, and this was used to wipe away all the possible adv

Re: [Lazarus] Using Visual C++ .libs?

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 10:27:21 -0400 "Prado, Renato (R.P.)" wrote: > Hello there, > > Quick question: is it possible to use a .lib to be used with Visual C++? > I only have the .h and the .lib (commercial library). quick answer: yes Mattias -- ___ Laz

Re: [Lazarus] Compiling lazarus in ubuntu

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 18:40:37 +0400 Max Vlasov wrote: > Hi, > > I'm not much experienced in linux environment, mostly familiar with windows. > Once successfully installed lazarus in ubuntu having non-limited internet > access, but today I tried to do the same downloading and installing minimum >

Re: [Lazarus] Lazarus manager - Linux

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 13:20:08 -0300 silvioprog wrote: > Hi, > > So friends, this is my alpha script: > > > http://pastebin.com/CrVWkDPm > > So, the line 70 (#sudo make install PREFIX=/usr > PP=/usr/lib/fpc/2.5.1/ppc386) isn't necessary, correct? Yes. You should add a set -e to stop on errors

Re: [Lazarus] Lazarus manager - Linux

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 13:54:01 -0300 silvioprog wrote: > 2011/5/31 Mattias Gaertner : > > Yes. > > You should add a > > set -e > > to stop on errors. > > Where? In Make? No, at the beginning of your script. #!/bin/sh # Script by silvioprog - http://s

Re: [Lazarus] multiple versions and portable lazarus

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 21:34:23 +0200 Roberto Padovani wrote: > Dear List, > > I know it's me, and I beg your pardon for this, but every time I try > to upgrade from a lazarus version to another...it's a mess. > It happened before, but today I tried to upgrade from 0.9.28.3 to > 0.9.30 stable relea

Re: [Lazarus] multiple versions and portable lazarus

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 22:08:32 +0200 Marco van de Voort wrote: > On Tue, May 31, 2011 at 09:34:23PM +0200, Roberto Padovani wrote: > > I know it's me, and I beg your pardon for this, but every time I try > > to upgrade from a lazarus version to another...it's a mess. > > It happened before, but tod

Re: [Lazarus] multiple versions and portable lazarus

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 23:23:58 +0200 Roberto Padovani wrote: > 2011/5/31 Mattias Gaertner : > > On Tue, 31 May 2011 21:34:23 +0200 > > Roberto Padovani wrote: > > > > > > The current config directory is shown in > > View / IDE Internals / About IDE &

Re: [Lazarus] English lazarus book available.

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 21:32:31 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > > The writers don't earn much money. Writing a book is a lot of work and > > you have to sell a lot of books, before it pays out. > > True, in detail for all technical w

Re: [Lazarus] Looking for vectors library

2011-05-31 Thread Mattias Gaertner
On Tue, 31 May 2011 22:41:32 -0300 Leonardo M. Ramé wrote: > Hi, I'm looking for a vector library that should be able to: > > 1 - Draw over TCustomCanvas descendants. > 2 - Draw at least lines, circles and text. > 3 - Map world coordinates to screen. > 4 - Let me define a viewport on world then

Re: [Lazarus] Compiling lazarus in ubuntu

2011-06-01 Thread Mattias Gaertner
Rafael Tuim Elias hat am 1. Juni 2011 um 12:42 geschrieben: > A fewdaysagoIhadthesameproblem. I solved remaking the FPC.CFG file with > "/usr/bin/fpcmkcfg", and change this line in the new fpc.cfg file: > > -Fu~/fpc/packages/base/*/units/;~/fpc/fcl/units/;~fpc/rtl/units/   These are the s

Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread Mattias Gaertner
On Wed, 01 Jun 2011 20:05:45 -0400 waldo kitty wrote: > > FPC 2.4.5 r17621 (17628??) svn.freepascal.org/svn/fpc/branches/fixes_2_4 > LAZ 0.9.31 r31002 svn.freepascal.org/svn/lazarus/trunk > > i wiped my existing svn installs, ran an svn update on both, then did the > make > thing... i'm follo

Re: [Lazarus] error compiling latest SVN laz...

2011-06-02 Thread Mattias Gaertner
On Thu, 02 Jun 2011 10:14:19 -0400 waldo kitty wrote: >[...] > >> Compiling resource ..\units\i386-win32\lazarus.or > >> Linking ..\lazarus.exe > >> Fatal: Compilation aborted > >> An unhandled exception occurred at $00420D86 : > >> Exception : Unknown Run-Time error : 112 > >>[...] > > You encou

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 15:07:06 -0300 Marcos Douglas wrote: > 2011/6/2 silvioprog : > > Hi. > > I edited a new page in wiki of Lazarus: > > http://wiki.freepascal.org/Installing_Lazarus#Ubuntu_11.04_or_later > > In this part... > echo "" > echo "Step 9: Compiling Lazarus..." > echo "" > make clean a

Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 15:04:24 -0300 silvioprog wrote: > 2011/6/2 silvioprog : > > Hi friends, > > > > Now I need of a script to update my SVN, so, I made this: > > > > http://pastebin.com/UVSHE5K8 > > Sorry... this is correct (with ./ in lazbuild): > > http://pastebin.com/CvEmgFXf > > > This scr

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:05:18 -0300 silvioprog wrote: > Hm..., so: > > First compilation: > > make bigideclean all bigide > > Secound (or more) compilation: > > make bigideclean all bigide > ./lazbuild -B --build-ide= > > Rigth? It makes no sense to build an IDE with a standard set of p

Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:21:18 -0300 silvioprog wrote: > 2011/6/2 Mattias Gaertner : > > You compile a new fpc, but don't install it. Intended? > > Yes. I changed my install script to: > > http://pastebin.com/N0smK2x0 > > This script is correct now? :/ > >

Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 21:44:48 +0200 Mattias Gaertner wrote: > On Thu, 2 Jun 2011 16:21:18 -0300 > silvioprog wrote: > > > 2011/6/2 Mattias Gaertner : > > > You compile a new fpc, but don't install it. Intended? > > > > Yes. I changed my install script

Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:52:17 -0300 silvioprog wrote: > 2011/6/2 Mattias Gaertner : > [...] > >> The PP=... is not needed. > > > > And the second t in "Updatting" is not needed as well. > > > > Mattias > > OK, that's my final script: >

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 16:59:55 -0300 Marcos Douglas wrote: > On Thu, Jun 2, 2011 at 3:54 PM, Marcos Douglas wrote: > > On Thu, Jun 2, 2011 at 3:44 PM, Mattias Gaertner > > wrote: > >> > >> "make bigide" compiles an IDE with lots of packages. This is

Re: [Lazarus] Lazarus manager - Linux

2011-06-02 Thread Mattias Gaertner
On Thu, 2 Jun 2011 17:21:32 -0300 silvioprog wrote: > 2011/6/2 Mattias Gaertner : > [...] > > No. Only in 99% it is enough to do a lazbuild --build-ide=. > > After updating Lazarus svn you should do a 'make clean all'. This is > > the only guaranteed way that h

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-03 Thread Mattias Gaertner
On Fri, 3 Jun 2011 10:09:39 -0300 Marcos Douglas wrote: > On Thu, Jun 2, 2011 at 5:31 PM, Mattias Gaertner > wrote: > > > > "make" is a tool. > > > > Calling "make" is a shortcut for "make all". > > > > "all"

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-03 Thread Mattias Gaertner
Marcos Douglas hat am 3. Juni 2011 um 17:19 geschrieben: > On Fri, Jun 3, 2011 at 12:03 PM, silvioprog wrote: > > Hi Mattias and all, > > > > This is my ultimate scripts: > > > > (To Install): > > http://silvioprog.com.br/download/install_fpc_lazarus_svn_version.tar.gz > > (To Update

Re: [Lazarus] Lazarus manager - Linux

2011-06-03 Thread Mattias Gaertner
On Fri, 3 Jun 2011 17:58:03 +0200 Marco van de Voort wrote: > On Thu, Jun 02, 2011 at 10:41:11PM +0200, Mattias Gaertner wrote: > > > > > Now is OK! :) > > > > Yes, if it does what you expect. > > I would make the > > sudo make install PREFIX=/us

Re: [Lazarus] RE : Lazarus manager - Linux

2011-06-03 Thread Mattias Gaertner
On Fri, 3 Jun 2011 19:51:13 +0200 "Ludo Brands" wrote: > > Has something changed? A make install should just install > > files. Since when does it need a compiler for that? > > > To know where to install the units. I have already crushed my 2.4.4 units > (default compiler) with 2.5.1 svn units

Re: [Lazarus] Several issues

2011-06-05 Thread Mattias Gaertner
On Sun, 05 Jun 2011 10:52:23 +0200 Hans-Peter Diettrich wrote: > Is it me, or what happened to the IDE (Win7/64, 32 bit exe's)? > > Can somebody confirm/fix these issues: > >[...] > - The config dialog, shown on start with an invalid config, expects an > fpc *executable*, but browses only for

Re: [Lazarus] Several issues

2011-06-05 Thread Mattias Gaertner
On Sun, 05 Jun 2011 10:52:23 +0200 Hans-Peter Diettrich wrote: > Is it me, or what happened to the IDE (Win7/64, 32 bit exe's)? > > Can somebody confirm/fix these issues: > > [...] > - Rebuild IDE doesn't honor "with packages" off, always builds *with* > packages. I removed the obsolete optio

Re: [Lazarus] Several issues

2011-06-05 Thread Mattias Gaertner
On Sun, 05 Jun 2011 10:52:23 +0200 Hans-Peter Diettrich wrote: > Is it me, or what happened to the IDE (Win7/64, 32 bit exe's)? > > Can somebody confirm/fix these issues: > > - Help on IDE Options leads to *Compiler* options. Do you mean the "Help" button? What page in the dialog is selected?

Re: [Lazarus] Error: fpc.cfg is missing

2011-06-05 Thread Mattias Gaertner
On Sun, 5 Jun 2011 15:21:15 +0200 Krisztián Nagy wrote: > Hello Lazarus list, > > I'm using Ubuntu 11.04. I've just updated fpc and lazarus to the latest svn > revisions. It seems my current setup doesn't go well with this new version. > Now when starting lazarus I'm always greeted with a (quite

Re: [Lazarus] Several issues

2011-06-05 Thread Mattias Gaertner
On Sun, 05 Jun 2011 21:45:57 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> - Rebuild IDE doesn't honor "with packages" off, always builds *with* > >> packages. > > > > I removed the obsolete option. > > How

Re: [Lazarus] Several issues

2011-06-05 Thread Mattias Gaertner
On Sun, 05 Jun 2011 21:14:51 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> Can somebody confirm/fix these issues: > >> > >> - Help on IDE Options leads to *Compiler* options. > > > > Do you mean the "Help" butt

Re: [Lazarus] Error: fpc.cfg is missing

2011-06-05 Thread Mattias Gaertner
On Sun, 5 Jun 2011 23:32:59 +0200 Krisztián Nagy wrote: > Unfortunately nothing has changed with current svn. (r31103) > My system language is set to Hungarian, but that doesn't affect fpc or > lazarus, both have English output. > What parameters does laz use to ask the compiler? I can check if t

Re: [Lazarus] IDE docking flaw?

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 03:06:46 +0200 Hans-Peter Diettrich wrote: > In an attempt to document some IDE internals, I came across the > following code in IdeWindowIntf.TIDEWindowCreatorList.ShowForm: > >if (IDEDockMaster<>nil) and (not (csDesigning in AForm.ComponentState)) >and (FindWithName

Re: [Lazarus] Problem using packages

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 12:28:29 +0200 Hans-Peter Diettrich wrote: > When I try to run the examples/EasyTree/EasyDocking Maybe you mean examples/dockmanager/easytree/easydocking.lpi ? It compiles here. > project, the > following messages appear (fp

Re: [Lazarus] When debugging, it open multiple copies of the same file

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 12:02:06 +0200 Graeme Geldenhuys wrote: > Hi, > > Something that seems to be happening more and more in Lazarus IDE, is > that while I debug, and set breakpoints, and run my application via the > IDE. Instead of the IDE breaking at the breakpoint and using the exist > (alread

Re: [Lazarus] Problem using packages

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 11:50:24 +0200 Graeme Geldenhuys wrote: > I can add to the list of package problems. Since the new "build modes > and macros" was introduced, I often make changes to files in packages; > recompile the project, but the package never detected that a file it > contains has change

Re: [Lazarus] When debugging, it open multiple copies of the same file

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 12:31:15 +0200 Graeme Geldenhuys wrote: > On 06/06/2011 12:10, Mattias Gaertner wrote: > > > > Maybe you use symlinks? > > Ah, I do have some directory symlinks - never file symlinks though. > eg: > > $HOME/prog/3rdParty/onguard/

Re: [Lazarus] IDE docking flaw?

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 13:29:07 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: >[...] > >> IMO the DockMaster should not be involved in ShowForm, this method is > >> called too often in the IDE code. The only situations, where the > >> D

Re: [Lazarus] When debugging, it open multiple copies of the same file

2011-06-06 Thread Mattias Gaertner
On Mon, 6 Jun 2011 13:02:41 +0200 (CEST) michael.vancann...@wisa.be wrote: > > > On Mon, 6 Jun 2011, Mattias Gaertner wrote: > > > On Mon, 06 Jun 2011 12:31:15 +0200 > > Graeme Geldenhuys wrote: > > > >> On 06/06/2011 12:10, Mattias Gaertner wr

Re: [Lazarus] Problem using packages

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 13:53:55 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > > The state file contains the last compiler parameters. If there is no > > state file then the IDE does not know the last params, so it assumes > > the worst and compiles wit

Re: [Lazarus] Show image on the backgroud of a Form

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 13:02:37 +0100 "lazarusportugalwebmast...@gmail.com" wrote: > Hi. > I got this code at the event on show: > background := TBitmap.Create; > background.LoadFromFile({Cadeia+'\180px-Grid.bmp}'C:\Documents and > Settings\Daniel\Ambiente de trabalho\qqwing\180px-Grid.bmp'

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-06 Thread Mattias Gaertner
On Mon, 6 Jun 2011 10:00:10 -0300 Marcos Douglas wrote: > 2011/6/3 Mattias Gaertner : > > > > Then you found a bug. > > Mattias, > > I saw that bug[1] was 'resolved'. Sorry not answer before, but I was very > busy. > > So, I updated my SVN L

Re: [Lazarus] [TIP]: Installing Lazarus under Linux via SVN (Ubuntu 11.04 or later)

2011-06-06 Thread Mattias Gaertner
On Mon, 6 Jun 2011 11:42:39 -0300 Marcos Douglas wrote: > On Mon, Jun 6, 2011 at 10:10 AM, Mattias Gaertner > wrote: > > > > On Mon, 6 Jun 2011 10:00:10 -0300 > > Marcos Douglas wrote: > > > > > 2011/6/3 Mattias Gaertner : > > > >

Re: [Lazarus] IDE docking flaw?

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 18:50:20 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >>> Showing a form can restore the old position or putting it at a > >>> default position. Your dockmaster don't need to implement the restore. > >>

Re: [Lazarus] multiple versions and portable lazarus

2011-06-06 Thread Mattias Gaertner
On Mon, 06 Jun 2011 18:35:29 +0200 Joost van der Sluis wrote: > On Wed, 2011-06-01 at 10:03 +0200, Marco van de Voort wrote: > > On Tue, May 31, 2011 at 11:37:35PM +0200, Mattias Gaertner wrote: > > > > Lazarus overrides that by generating and passing an own fpc.cfg

Re: [Lazarus] IDE docking flaw?

2011-06-07 Thread Mattias Gaertner
On Tue, 07 Jun 2011 02:07:05 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >> A DockMaster has no idea of "preferred positions" etc., it only > >> remembers the layout as configured by the user. It's up to the standard > >&g

Re: [Lazarus] Illegal parameter: -WG

2011-06-07 Thread Mattias Gaertner
    Vincent Snijders hat am 7. Juni 2011 um 16:12 geschrieben: > 2011/6/7 silvioprog : > > 2011/6/7 silvioprog : > >> 2011/6/7 silvioprog : > >>> Someone using FPC 2.5.1 and Laz 0.9.31 on Linux is experiencing this > >>> problem? > >>> > >>> Do not know if the same happens in Windows, bu

Re: [Lazarus] Illegal parameter: -WG

2011-06-07 Thread Mattias Gaertner
On Tue, 7 Jun 2011 17:02:30 +0200 Vincent Snijders wrote: >[...] > So win32, win64, wince, os2 and macos (not macosx). I implemented that. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/ma

Re: [Lazarus] Illegal parameter: -WG

2011-06-07 Thread Mattias Gaertner
On Tue, 7 Jun 2011 20:36:57 +0200 Vincent Snijders wrote: > 2011/6/7 Mattias Gaertner : > > On Tue, 7 Jun 2011 17:02:30 +0200 > > Vincent Snijders wrote: > > > >>[...] > >> So win32, win64, wince, os2 and macos (not macosx). > > > > I implement

Re: [Lazarus] IDE docking flaw?

2011-06-07 Thread Mattias Gaertner
On Tue, 07 Jun 2011 15:30:33 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >>> The IDE package that installs the dock master can provide > >>> default layouts. > >> Which are selectable how? > > > > You gave the answer

Re: [Lazarus] Vers[?]o : Compiler messages

2011-06-07 Thread Mattias Gaertner
On Mon, 6 Jun 2011 17:48:29 -0300 Marcos Douglas wrote: > Hi, > Just one my projects is trying exhibit messages in "Unicode". See attachments. > What option I broke in the Lazarus? What fpc version? What lazarus version? What OS language? Mattias --

Re: [Lazarus] IDE docking flaw?

2011-06-07 Thread Mattias Gaertner
On Tue, 7 Jun 2011 18:02:09 -0300 Flávio Etrusco wrote: > >> >> [...] > >> > ShowControl existed since revision 5536 in > >> > the LCL. You can find out such facts with svn blame. > >> > >> How are these affected by an added default parameter? > > > > Overrides don't compile anymore. > > If you s

Re: [Lazarus] Illegal parameter: -WG

2011-06-08 Thread Mattias Gaertner
On Wed, 08 Jun 2011 10:16:11 +0200 Michael Schnell wrote: > On 06/07/2011 03:39 PM, silvioprog wrote: > > Someone using FPC 2.5.1 and Laz 0.9.31 on Linux is experiencing this > > problem? > > > > Do not know if the same happens in Windows, but ... > It's a linker parameter saying: "Win32 GUI app

Re: [Lazarus] Illegal parameter: -WG

2011-06-08 Thread Mattias Gaertner
On Wed, 8 Jun 2011 10:43:34 +0200 Vincent Snijders wrote: > 2011/6/8 Mattias Gaertner : > > > > Yes, the "Win32" is a bit misleading. > > It's interesting that the fpc -h does not even mention the parameter. > > > > For me it does. > vincent@

Re: [Lazarus] Illegal parameter: -WG

2011-06-08 Thread Mattias Gaertner
Michael Schnell hat am 8. Juni 2011 um 11:20 geschrieben: > On 06/08/2011 10:29 AM, Mattias Gaertner wrote: > > Anyway the IDE now sets the parameter only for those OS that > > supports the -WG. > Is this done by the actually selected Widget Set ?   No, of cour

Re: [Lazarus] Illegal parameter: -WG

2011-06-08 Thread Mattias Gaertner
Hans-Peter Diettrich hat am 8. Juni 2011 um 12:37 geschrieben: > Mattias Gaertner schrieb: > > >  > > Anyway the IDE now sets the parameter only for those OS that > >  > > supports the -WG. > >  > Is this done by the actually selected Widget Set ?

Re: [Lazarus] How to PostMessage to object?

2011-06-09 Thread Mattias Gaertner
    Michael Schnell hat am 9. Juni 2011 um 10:50 geschrieben: > On 06/08/2011 05:39 PM, Henry Vermaak wrote: > >> There is no chance for deadlock with main thread calling this from > >> inside another thread? > > > > > > You have to protect it with a critical section (if you have more tha

Re: [Lazarus] Illegal parameter: -WG

2011-06-09 Thread Mattias Gaertner
    Felipe Monteiro de Carvalho hat am 9. Juni 2011 um 10:52 geschrieben: > On Wed, Jun 8, 2011 at 7:48 PM, Florian Klaempfl > wrote: > > Maybe it's worse to check all the -W switches in lazarus. I made them > > all target dependent. > > The problem that I see here will be with build scr

Re: [Lazarus] How to PostMessage to object?

2011-06-09 Thread Mattias Gaertner
    Michael Schnell hat am 9. Juni 2011 um 11:46 geschrieben: > On 06/09/2011 10:58 AM, Henry Vermaak wrote: > > You will corrupt the linked list that QueueAsyncCall() uses when you > > call it from multiple threads, so you _must_ protect it. > As QueueAsyncCall is specified exactly for thi

Re: [Lazarus] How to PostMessage to object?

2011-06-09 Thread Mattias Gaertner
    Henry Vermaak hat am 9. Juni 2011 um 12:12 geschrieben: > On 09/06/11 11:01, Mattias Gaertner wrote: > > > > > > Michael Schnell hat am 9. Juni 2011 um 11:46 > > geschrieben: > > > >  > On 06/09/2011 10:58 AM, Henry Vermaak wrote: >

Re: [Lazarus] How to PostMessage to object?

2011-06-09 Thread Mattias Gaertner
    Michael Schnell hat am 9. Juni 2011 um 12:39 geschrieben: > On 06/09/2011 12:30 PM, Henry Vermaak wrote: > > Where do you find this "purpose".  As Mattias said, the spec says > > nothing of the sort. > I don't see any other purpose.;-)  Well, that is an "argument from ignorance".   The

Re: [Lazarus] How to PostMessage to object?

2011-06-09 Thread Mattias Gaertner
    Graeme Geldenhuys hat am 9. Juni 2011 um 13:22 geschrieben: > On 09/06/2011 13:17, Mattias Gaertner wrote: > > > > Well, that is an "argument from ignorance". > > Then the documentation was written by the arrogant - expecting everybody > els

Re: [Lazarus] How to PostMessage to object?

2011-06-09 Thread Mattias Gaertner
    Henry Vermaak hat am 9. Juni 2011 um 13:28 geschrieben: >[...]> In TApplication.Destroy there is another call to ProcessAsyncCallQueue > further down (line 170).  System.DoneCriticalSection(FAsyncCall.CritSec) > needs to be moved after it. Done. Mattias-- _

Re: [Lazarus] Fatal: Can't find unit ServiceManager used by RegisterFCL

2011-06-09 Thread Mattias Gaertner
    "lazarusportugalwebmast...@gmail.com" hat am 9. Juni 2011 um 18:29 geschrieben: > Hello. > I don't know wath I do at here but ever that I try compile any application on > Lazarus it gaves the error Fatal: Can't find unit ServiceManager used by > RegisterFCL, at the file C:\lazarus\packa

Re: [Lazarus] thread safe (was: How to PostMessage to object?)

2011-06-09 Thread Mattias Gaertner
On Fri, 10 Jun 2011 03:09:07 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > > Only if the documentation explicitly says a method is thread safe it is. > > Maybe this needs to be made more clear. Any ideas, where? > > What is "thread safe"?

Re: [Lazarus] thread safe

2011-06-10 Thread Mattias Gaertner
On Fri, 10 Jun 2011 12:49:59 +0200 Hans-Peter Diettrich wrote: > Mattias Gaertner schrieb: > > >>> Only if the documentation explicitly says a method is thread safe it is. > >>> Maybe this needs to be made more clear. Any ideas, where? > >> What is "

<    5   6   7   8   9   10   11   12   13   14   >