Re: [Lazarus] Large program size - 1.8 MB for empty GUI project (uses clause in initialization vs implementation?)

2009-04-09 Thread Alexey S. Smirnov
Florian Klaempfl пишет: This could be simply the influence of a different memory layout of the exe. It seams that I was wrong. So. Lets do next small test. The main program is: program small_test; {$mode objfpc}{$H+} uses  Unit1; begin  Print_Hello_Word; end. Uni1.pas is: Unit unit1;

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project (uses clause in initialization vs implementation?)

2009-04-09 Thread Vincent Snijders
Alexey S. Smirnov schreef: Florian Klaempfl пишет: This could be simply the influence of a different memory layout of the exe. It seams that I was wrong. So. Lets do next small test. The main program is: |program small_test; {$mode objfpc}{$H+} uses Unit1; begin Print_Hello_Word;

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project (uses clause in initialization vs implementation?)

2009-04-09 Thread Alexey S. Smirnov
Vincent Snijders пишет: No, the initialization section of the graphics unit and its dependencies is used. The lesson is: you cannot smart link away initialization (and finalization) sections of a unit. Vincent But result is very understandable - if we have some unused units (with

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project (uses clause in initialization vs implementation?)

2009-04-09 Thread Marc Weustink
Alexey S. Smirnov wrote: So. Ones more - to reduce Lazarus-aware projects code size we shall first check and cleanup Uses sections to remove unused units, and next - test Initialization and Finalization sections. Do we really need them? For the Dephi times I remember that those sections

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-09 Thread Paul Ishenin
Marco van de Voort wrote: If Lazarus as the most major user starts avoid these problems instead of reporting them, that is worrying. Paul more or less proves the point with 2 bugs in a version cycle of which one is inlining related. Another known and workarounded in lazarus problem:

Re: [Lazarus] subversion mirror

2009-04-09 Thread Graeme Geldenhuys
On Thu, Apr 9, 2009 at 11:12 AM, Vincent Snijders vincent.snijd...@gmail.com wrote: Every minute. Vincent Thanks. Doesn't that keep the main server very busy? Regards, - Graeme - ___ fpGUI - a cross-platform Free Pascal GUI toolkit

Re: [Lazarus] USB Commincation with Lazarus and libusb library

2009-04-09 Thread Sébastien FLOURETTE
2009/4/8 Sébastien FLOURETTE sebastien.floure...@gmail.com I have test the test program libusb in C and it work perfectly because I have the list of my device :Dev #0: 05AC - 8005 Dev #0: 05AC - 8005 Dev #0: Apple, Inc. 05AC- Apple Internal Keyboard / Trackpad 0002 Dev #0:

[Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Graeme Geldenhuys
Hi Everybody, A while back I setup a private Git mirror of the Lazarus SubVersion (trunk only) repository. This was for my personal use. Since then I thought others might enjoy a Git mirror as well. Seeing that our company has limited internet bandwidth I decided to move the mirror repository to

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-09 Thread Alexander Klenin
On Wed, Apr 8, 2009 at 18:36, Mattias Gaertner nc-gaert...@netcologne.de wrote: In order to break the circles, you must first find them. Move all uses to the interface section and FPC will find them for you. As I already written some time ago, the solution is to introduce a hint/warning for

Re: [Lazarus] Large program size - 1.8 MB for empty GUI project

2009-04-09 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: On Wed, Apr 8, 2009 at 18:36, Mattias Gaertner nc-gaert...@netcologne.de wrote: In order to break the circles, you must first find them. Move all uses to the interface section and FPC will find them for you. As I already written some time ago,

[Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Alexander Klenin
2009/4/9 Mattias Gärtner nc-gaert...@netcologne.de: As I already written some time ago, the solution is to introduce a hint/warning for the circular dependencies in implementation sections. This hint should probably be disabled by default, for compatibility reasons. Yes, a hint would be nice.

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Reenen Laurie
Windows users? I am downloading TortoiseGit (http://code.google.com/p/tortoisegit/) as we speak, and will try to get the latest 10 revisions :-) Regards, -Reenen On Thu, Apr 9, 2009 at 2:14 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Hi Everybody, A while back I setup a private Git

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Graeme Geldenhuys
git://github.com/graemeg/lazarus.git And for those Windows users still thinking they are left out. There is a native Windows port of Git called msysGit available on SourceForge. http://code.google.com/p/msysgit/ I've tested it and it works perfectly on a Windows 2000 system. I also can't

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Graeme Geldenhuys
On Thu, Apr 9, 2009 at 5:17 PM, Reenen Laurie rlau...@gmail.com wrote: Windows users? I am downloading TortoiseGit (http://code.google.com/p/tortoisegit/) as we speak, and will try to get the latest 10 revisions :-) See my previous post. Windows is well supported now, so you shouldn't have

[Lazarus] Mouse wheel and scroll increment

2009-04-09 Thread Ere Maijala
Hi, I was checking why TScrollBox scrolls so slowly with the mouse wheel. I found out that TControlScrollBar.ScrollHandler doesn't take FIncrement into account when scrolling causing it to scroll typically only three pixels per wheel click. I also noticed that there are a couple of places

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Henry Vermaak
2009/4/9 Graeme Geldenhuys graemeg.li...@gmail.com: On Thu, Apr 9, 2009 at 5:17 PM, Reenen Laurie rlau...@gmail.com wrote: Windows users? I am downloading TortoiseGit  (http://code.google.com/p/tortoisegit/) as we speak, and will try to get the latest 10 revisions :-) See my previous post.

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Graeme Geldenhuys
On Thu, Apr 9, 2009 at 5:55 PM, Henry Vermaak henry.verm...@gmail.com wrote: tortoisegit needs msysgit to be installed. I see no problem... why double the work of implementing two native versions of Git. when i boot into windows again (in a couple of months, probably ;) :-) I feel the same.

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: 2009/4/9 Mattias Gärtner nc-gaert...@netcologne.de: As I already written some time ago, the solution is to introduce a hint/warning for the circular dependencies in implementation sections. This hint should probably be disabled by default, for

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Alexander Klenin
On Fri, Apr 10, 2009 at 03:30, Graeme Geldenhuys graemeg.li...@gmail.com wrote: On Thu, Apr 9, 2009 at 5:55 PM, Henry Vermaak henry.verm...@gmail.com wrote: tortoisegit needs msysgit to be installed. I see no problem... why double the work of implementing two native versions of Git. I have

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Christian Iversen
Alexander Klenin wrote: [...] 2) The compiler produces _many_ extraneous hints, which is very harmful -- it is impossible to produce hints-free code, so new hints has much more chances to go unnoticed. While I agree in principle that extra verbosity is a source of bugs, the hint

[Lazarus] 0008803: Email notification for changes of *own* reported bugs only

2009-04-09 Thread Flávio Etrusco
Hello, Please, what's the current status on this issue[1]? Mantis is currently useless to me (and hinders me from helping Lazarus a little bit) since I can't deal with the volume of messages from all bugs and thus don't receive notifications from my reported and monitored items either... Best

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread JoshyFun
Hello Christian, Thursday, April 9, 2009, 7:13:06 PM, you wrote: CI Hint: Something that can't be ruled out as dangerous, but might just be. CI For practical reasons, this category can't be merged with warnings, CI because that would then produce so many warnings that the only useful CI error

Re: [Lazarus] 0008803: Email notification for changes of *own* reported bugs only

2009-04-09 Thread Marc Weustink
Flávio Etrusco wrote: Hello, Please, what's the current status on this issue[1]? Mantis is currently useless to me (and hinders me from helping Lazarus a little bit) since I can't deal with the volume of messages from all bugs and thus don't receive notifications from my reported and

Re: [Lazarus] 0008803: Email notification for changes of *own* reported bugs only

2009-04-09 Thread JoshyFun
Hello Marc, Thursday, April 9, 2009, 11:11:53 PM, you wrote: MW there is no issue, there is only a difference between emails for issues MW reported to lazarus and reported to fpc. MW But you should get all mails when you are monitoring I'm also not receiving my own bugs or monitored issues. If

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Alexander Klenin
On Thu, Apr 9, 2009 at 23:14, Graeme Geldenhuys graemeg.li...@gmail.com wrote: The Git mirror is hosted on GitHub at the following URL and is sync'ed with Lazarus SubVersion trunk every 15 minutes.   git://github.com/graemeg/lazarus.git Hm, apparently sync is not working. -- Alexander S.

Re: [Lazarus] Hints usability (was: Re: Large program size - 1.8 MB for empty GUI project)

2009-04-09 Thread Christian Iversen
JoshyFun wrote: Hello Christian, Thursday, April 9, 2009, 7:13:06 PM, you wrote: CI Hint: Something that can't be ruled out as dangerous, but might just be. CI For practical reasons, this category can't be merged with warnings, CI because that would then produce so many warnings that the

Re: [Lazarus] 0008803: Email notification for changes of *own* reported bugs only

2009-04-09 Thread Marc Weustink
JoshyFun wrote: Hello Marc, Thursday, April 9, 2009, 11:11:53 PM, you wrote: MW there is no issue, there is only a difference between emails for issues MW reported to lazarus and reported to fpc. MW But you should get all mails when you are monitoring I'm also not receiving my own bugs

[Lazarus] Problem with TFloatSpinEdit component

2009-04-09 Thread Paul Parkyn
Hello all, I have converted a small Delphi project to Lazarus but I cannot get the TFloatSpinEdit decimal values to display correctly. The component shows the whole number part and no decimal part. I have set the decimal property to 6 decimal places. The value displayed by the component is either

Re: [Lazarus] Git mirror of Lazarus SubVersion repository is available

2009-04-09 Thread Graeme Geldenhuys
On Fri, Apr 10, 2009 at 1:13 AM, Alexander Klenin kle...@gmail.com wrote: Hm, apparently sync is not working. Oops, I forgot to make the update script executable on the new server. :-) It should be sync'ed now. Regards, - Graeme - ___ fpGUI - a