Re: [Lazarus] IDE Bug or Misconfiguration?

2009-12-01 Thread Luca Olivetti
En/na Guionardo Furlan ha escrit: I put a component TZQuery in a form and clicking on their properties, the IDE displays an error: Source not found: unit (* path *) \ ZSQLDataset.ppu. Last time I had a similar problem, it was caused by a bogus fpc.cfg in my home directory pointing to a wrong

Re: [Lazarus] trouble with packages

2009-12-01 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: Roberto Padovani wrote: When I moved from 0.9.24 to 0.9.26 I had to find again on internet all the packages I used to have and reinstall :-( I install external 3rdParty packages (not included with Lazarus) in a separate folder from the Lazarus directory. eg:

[Lazarus] custom output filename when rebuilding Lazarus IDE

2009-12-01 Thread Graeme Geldenhuys
This comes from another message thread, but I though this deserves a separate title... I have two icons on my desktop, and both use the --pcp= parameter with different profile directories. Lazarus (stable) - $HOME/.lazarus-stable/ Lazarus (unstable). - $HOME/.lazarus/ Can I tell

Re: [Lazarus] trouble with packages

2009-12-01 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: Luca Olivetti wrote: I also use this approach, but the problem is you still have to reinstall them in the new lazarus starting with a fresh configuration[*], Nope, my Lazarus is installed in /opt/lazarus/ directory. The configuration files (which include

Re: [Lazarus] trouble with packages

2009-12-01 Thread Graeme Geldenhuys
Luca Olivetti wrote: Exactly. Now, look at those file, they are referencing to packages, some of them are in your fixed extra packages (no problem with those) but some of OK, maybe I'm not understanding the problem then. :) When I started using the second profile (different version of

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Michael Joyner ᏩᏯ
Marco van de Voort wrote: That's why a lot commercial software aimed at bulk user have yearnumber versioning, and open source projects not. Even the major distributions (only Mandrake and SUSE, that rely on selling versions have) Hrm.. Have Ubuntu or Year based style versioning would make it

Re: [Lazarus] trouble with packages

2009-12-01 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: Luca Olivetti wrote: Exactly. Now, look at those file, they are referencing to packages, some of them are in your fixed extra packages (no problem with those) but some of OK, maybe I'm not understanding the problem then. :) When I started using the

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Alexsander Rosa
We must realize that a college teacher/software engineer willing to use Lazarus at her classes/work is an ally. Sometimes she is having a hard time convincing her superiors that it's Ok to use Lazarus because, you know, version numbers are irrelevant. For the seasoned free software user, it makes

Re: [Lazarus] trouble with packages

2009-12-01 Thread Mattias Gaertner
On Tue, 01 Dec 2009 12:25:42 +0100 Luca Olivetti l...@wetron.es wrote: En/na Graeme Geldenhuys ha escrit: Luca Olivetti wrote: Exactly. Now, look at those file, they are referencing to packages, some of them are in your fixed extra packages (no problem with those) but some of OK,

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Felipe Monteiro de Carvalho
About the version numbering, I already discussed that a long time ago, and it had no effect back then. In my opinion the current requirements are impossible to achieve, just look at the Qt (yes Qt, not lcl-qt) list of open bugs, its huge and they are a private company with many full-time

Re: [Lazarus] LCLIntf.pas Documentation

2009-12-01 Thread Mattias Gaertner
On Tue, 01 Dec 2009 04:03:07 -0500 Mehmet Erol Sanliturk sanlit...@ttmail.com wrote: Dear Lazarus Developers , When we study LCLIntf.pas and its included files in http://svn.freepascal.org/svn/lazarus/trunk/lcl/ http://svn.freepascal.org/svn/lazarus/trunk/lcl/include/ we see that

Re: [Lazarus] In v0.9.28.3 (svn) the Compiler Options dialog is broken

2009-12-01 Thread Mattias Gaertner
On Tue, 01 Dec 2009 09:42:00 +0200 Graeme Geldenhuys gra...@mastermaths.co.za wrote: http://bugs.freepascal.org/view.php?id=15226 The last two tabs/options: Inherited and Compilation doesn't work correctly. I don't know if the same applies in Trunk, I only updated to 0.9.28.3 (svn)

Re: [Lazarus] QT binding works!

2009-12-01 Thread Mattias Gaertner
On 01 Dec 2009 00:30:39 - Phil Hess macp...@fastermac.net wrote: David, I believe that refers to Environment | Options, then on the Environment Files tab, look for Lazarus directory. Yes Mattias -- ___ Lazarus mailing list

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Graeme Geldenhuys
Vincent Snijders wrote: What is the purpose of a creating a 1.0 release: A. Marketing, getting more people of the threshold to use Lazarus I started the thread due to option (a), so that is what I would like Lazarus to achieve. Open Source software works different to commercial software, so

Re: [Lazarus] IDE Bug or Misconfiguration?

2009-12-01 Thread Mattias Gaertner
On Mon, 30 Nov 2009 21:18:32 -0200 Guionardo Furlan guiona...@gmail.com wrote: Lazarus 0.9.29 + FPC 2.5.1 (Codetyphon) [...] I put a component TZQuery in a form and clicking on their properties, the IDE displays an error: Source not found: unit (* path *) \ ZSQLDataset.ppu. I went through is

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Florian Klaempfl
Michael Joyner ᏩᏯ schrieb: Marco van de Voort wrote: That's why a lot commercial software aimed at bulk user have yearnumber versioning, and open source projects not. Even the major distributions (only Mandrake and SUSE, that rely on selling versions have) Hrm.. Have Ubuntu or Year based

Re: [Lazarus] custom output filename when rebuilding Lazarus IDE

2009-12-01 Thread Graeme Geldenhuys
Mattias Gaertner wrote: Why not use a symlink? /opt/lazarus-stable - /opt/lazarus I don't understand... or you don't understand my use-case. :) This is what I do about once a week in order $ cd /opt/lazarus $ git checkout upstream // now inside clean trunk branch $ git pull

Re: [Lazarus] 2 questions about Component properties

2009-12-01 Thread wile64
2009/12/1 Mattias Gaertner nc-gaert...@netcologne.de On Mon, 30 Nov 2009 16:33:34 +0100 wile64 wil...@gmail.com wrote: Hi, 1) I search to resize component when he load, like autosize but with my parameters ? Do you search properties to define the autosizing (Anchors, Align,

Re: [Lazarus] custom output filename when rebuilding Lazarus IDE

2009-12-01 Thread Mattias Gaertner
On Tue, 01 Dec 2009 14:54:30 +0200 Graeme Geldenhuys gra...@mastermaths.co.za wrote: Mattias Gaertner wrote: Why not use a symlink? /opt/lazarus-stable - /opt/lazarus I don't understand... or you don't understand my use-case. :) This is what I do about once a week in order

Re: [Lazarus] IDE Bug or Misconfiguration?

2009-12-01 Thread Guionardo Furlan
Hi I've uninstalled the codetyphon lazarus package and installed the original Lazarus-0.9.29-22862-fpc-2.3.1-20091130-win32 So, I installed the Zeos lib again, and I can see the components in the IDE. I don't found any fpc.cfg other than that in the H:\Lazarus\FPC\2.3.1\bin\i386-win32 folder.

[Lazarus] Cannot build CodeTools package with latest SVN

2009-12-01 Thread cobines
Hello, With Lazarus SVN 22896 when building Lazarus from IDE (with packages) I get this error: f:\devel\lazarus\components\codetools\laz_xmlstreaming.pas(1,1) Fatal: Can't find unit PascalExpr used by CodeTools There is no file pascalexpr.pas in components/codetools. -- cobines --

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Marco van de Voort
On Tue, Dec 01, 2009 at 12:30:33PM +0100, Vincent Snijders wrote: Why? Can you supply examples where simple versioning doesn't work in open source projects? The point is that the audience is different. What is the purpose of a creating a 1.0 release: (or of versioning policy in

Re: [Lazarus] Cannot build CodeTools package with latest SVN

2009-12-01 Thread zeljko
On Tuesday 01 December 2009 14:41, cobines wrote: Hello, With Lazarus SVN 22896 when building Lazarus from IDE (with packages) I get this error: f:\devel\lazarus\components\codetools\laz_xmlstreaming.pas(1,1) Fatal: Can't find unit PascalExpr used by CodeTools There is no file

Re: [Lazarus] error compiling codehelp.pas in fixes_0_9_28

2009-12-01 Thread Vincent Snijders
Seth Grover schreef: FPC: 2.4.0 (from tags/release_2_4_0 in svn revision 14293) Lazarus: 0.9.29 (from branches/fixes_0_9_28 in svn revision 22896) In x86 Linux this morning, when I tried to build Lazarus (with make clean all bigide) I got these errors: Compiling codehelp.pas

Re: [Lazarus] Cannot build CodeTools package with latest SVN

2009-12-01 Thread cobines
W dniu 2009-12-01 15:06, zeljko pisze: On Tuesday 01 December 2009 14:41, cobines wrote: Hello, With Lazarus SVN 22896 when building Lazarus from IDE (with packages) I get this error: f:\devel\lazarus\components\codetools\laz_xmlstreaming.pas(1,1) Fatal: Can't find unit PascalExpr used by

Re: [Lazarus] Cannot build CodeTools package with latest SVN

2009-12-01 Thread Mattias Gaertner
On Tue, 01 Dec 2009 15:15:12 +0100 cobines cobi...@gmail.com wrote: W dniu 2009-12-01 15:06, zeljko pisze: On Tuesday 01 December 2009 14:41, cobines wrote: Hello, With Lazarus SVN 22896 when building Lazarus from IDE (with packages) I get this error:

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Phil Hess
Good to know that PtInRegion is now part of LclIntf - it wasn't when I ported this and there's no way of knowing when new functions are added without monitoring closely every commit! However, the current code works with other widgetsets. Do you know why it didn't work with Qt? I'll look at

Re: [Lazarus] trouble with packages

2009-12-01 Thread Luca Olivetti
En/na Mattias Gaertner ha escrit: When I started using the second profile (different version of Lazarus), I simply made a copy of the original profile directory (cp ~/.lazarus ~/.lazarus-stable) and pointed the new desktop icon to use that profile. So both had the same configurations and

[Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Seth Grover
Hello all (and especially Paul Ishenin since it's your fix I'm referring to), http://bugs.freepascal.org/view.php?id=7749 This was recently marked as fixed for gtk2 in the Lazarus trunk. I pulled from svn this morning and built everything and put together a quick test program. Basically I

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Felipe Monteiro de Carvalho
On Tue, Dec 1, 2009 at 12:35 PM, Phil Hess macp...@fastermac.net wrote: However, the current code works with other widgetsets. Do you know why it didn't work with Qt? Did you test Qt in Windows or Linux? According to the code it seams that any non-win32 widgetset would fail to run in Windows

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Phil Hess
Good point, although if you recall the history of this port, it started with the only two widgetsets that worked back then: win32 and gtk1 - the others just came along for the ride. I'm not even sure that LCLWin32 was defined back when I started. Does anyone use Qt on Windows though? That

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Paul Ishenin
Seth Grover wrote: However, for the purposes of testing, I then increased the count to 100, since a major purpose of a virtual list view is so you don't have to eat up all your memory storing the items. To my dismay, when I ran the program, it ran correctly, but the memory usage of my

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Felipe Monteiro de Carvalho
On Tue, Dec 1, 2009 at 1:24 PM, Phil Hess macp...@fastermac.net wrote: Good point, although if you recall the history of this port, it started with the only two widgetsets that worked back then: win32 and gtk1 - the others just came along for the ride. I'm not even sure that LCLWin32 was

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Phil Hess
I see that GTK/GTK2 doesn't appear to have PtInRegion implemented. That's probably why I didn't use it. In some cases the compatibility functions still need to call the Win API regardless of widgetset if running on Windows, but you're right, if a handle is passed, that should only be passed on

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Phil Hess
One of the points about Orpheus and other ported packages that I should probably make is that I've been in contact with Roman Kassebaum who maintains the Orpheus SourceForge projects and recently updated Orpheus for Unicode on Delphi 2009/2010. We've discussed possibly merging our codebases and

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread zeljko
On Tuesday 01 December 2009 15:35, Phil Hess wrote: Good to know that PtInRegion is now part of LclIntf - it wasn't when I ported this and there's no way of knowing when new functions are added without monitoring closely every commit! However, the current code works with other widgetsets. Do

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread zeljko
On Tuesday 01 December 2009 17:10, Phil Hess wrote: I see that GTK/GTK2 doesn't appear to have PtInRegion implemented. That's probably why I didn't use it. So the best thing would be that you try to implement it :) -- ___ Lazarus mailing list

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Seth Grover
ListViews on gtk can't be absolutely virtual - they need to have all the items. But captions, checks, etc are not stored in it (in the case of virtual) - they are requested before the drawing. So you should have some memory reduction in comparition with the real listview. Only windows has

Re: [Lazarus] QT binding works!

2009-12-01 Thread David Emerson
Ah, now I've found it, and it is compiling! Thank you! Now, after many parts are successfully compiled, it is stumbling on the qt part. I'm getting about 250 messages like this: /usr/local/lib/libqt4intf.so: undefined reference to `QTabBar::moveTab(int, int)' (each message lists a different

Re: [Lazarus] QT binding works!

2009-12-01 Thread zeljko
On Tuesday 01 December 2009 19:24, David Emerson wrote: Ah, now I've found it, and it is compiling! Thank you! Now, after many parts are successfully compiled, it is stumbling on the qt part. I'm getting about 250 messages like this: /usr/local/lib/libqt4intf.so: undefined reference to

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Mehmet Erol Sanliturk
Dears all , In the following pages and the others some useful information may be found about software development and bugs : http://en.wikipedia.org/wiki/Category:Programming_bugs http://en.wikipedia.org/wiki/Category:Software_anomalies

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Mattias Gaertner
On Tue, 01 Dec 2009 15:58:30 -0500 Mehmet Erol Sanliturk sanlit...@ttmail.com wrote: [...] In the following pages and the others some useful information may be found about software development and bugs : http://en.wikipedia.org/wiki/Category:Programming_bugs

Re: [Lazarus] QT binding works!

2009-12-01 Thread David Emerson
zeljko wrote: David Emerson wrote: qt part. I'm getting about 250 messages like this: /usr/local/lib/libqt4intf.so: undefined reference to `QTabBar::moveTab(int, int)' then Error while linking. Yes, you are using old libqt4intf.so and/or old qt libs. Read

Re: [Lazarus] QT bindings as defalt (was Release 1.0, part 2)

2009-12-01 Thread Phil Hess
Zeljko, I'm not seeing the same problem with the Qt widgetset that you reported: TApplication.HandleException Access violation Stack trace: $02345E7C $0445EFB4 $00260568 TQTDEVICECONTEXT__QDRAWWINPANEL, line 1958 of qtobjects.pas $001C9574 TQTWIDGETSET__FRAME3D, line 1775 of

Re: [Lazarus] QT binding works!

2009-12-01 Thread Phil Hess
David, If Qt4Intf 1.68 is still available, I believe it supports Qt 4.4.3. And the 0.9.28.2 stable Lazarus supports it too - just compile with -dUSE_QT_44. Maybe 1.69 does too - I only have 1.68 here (for Mac). Thanks. -Phil - David Emerson dle...@angelbase.com wrote: zeljko wrote:

Re: [Lazarus] QT binding works!

2009-12-01 Thread David Emerson
well, I took the dive and upgraded to the testing packages, and ... it works! Nice. Thanks a lot for all the help. Cheers, ~David. -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] IDE Bug or Misconfiguration?

2009-12-01 Thread Mattias Gaertner
On Tue, 1 Dec 2009 11:34:54 -0200 Guionardo Furlan guiona...@gmail.com wrote: Hi I've uninstalled the codetyphon lazarus package and installed the original Lazarus-0.9.29-22862-fpc-2.3.1-20091130-win32 So, I installed the Zeos lib again, and I can see the components in the IDE. I don't

Re: [Lazarus] trouble with packages~

2009-12-01 Thread David Emerson
On Mon 30 Nov 2009, Phil Hess wrote: David, Can you right click in the Message window (at bottom) and copy all messages to the clipboard, then send the last few lines here. I'm curious to see whether it's a checksum issue that I've been wrestling with. PPU Loading units/gamma_draw_unit.ppu

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Andrew Haines
Paul Ishenin wrote: ListViews on gtk can't be absolutely virtual - they need to have all the items. But captions, checks, etc are not stored in it (in the case of virtual) - they are requested before the drawing. So you should have some memory reduction in comparition with the real

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Andrew Haines
Andrew Haines wrote: I did a small test loading a text file with 50,000+ lines with my custom model and the GtkTreeView retrieved the value of each item in the list on startup. I assume it's to calculate the size for the scrollbar since the height of the listitems is not fixed but can vary

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread Paul Ishenin
Andrew Haines wrote: I did a small test loading a text file with 50,000+ lines with my custom model and the GtkTreeView retrieved the value of each item in the list on startup. I assume it's to calculate the size for the scrollbar since the height of the listitems is not fixed but can vary per

[Lazarus] GTK2 much improved

2009-12-01 Thread Phil Hess
I tested the Orpheus and THtmlPort packages with GTK2 on my MacBook using FPC 2.5.1 and LCL, both from yesterday's SVN, and both packages are remarkably improved with GTK2 compared to what I saw with 0.9.28 / FPC 2.2.4 only a couple months ago. With Orpheus, the testtable app works about as

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Graeme Geldenhuys
Mattias Gaertner wrote: For example: eight years ago the specification for 1.0 would be something like this: - half the debugger that we have now - 30 controls on windows + linux with half the properties we have now - some IDE features In other words: Lazarus is already far beyond that.

Re: [Lazarus] trouble with packages~

2009-12-01 Thread Graeme Geldenhuys
David Emerson wrote: Thanks Graeme for that hint! Glad I could help somebody. ;-) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/ -- ___ Lazarus mailing list

Re: [Lazarus] Release 1.0, part 2

2009-12-01 Thread Paul Ishenin
Graeme Geldenhuys wrote: ... I'm trying to do a good thing here, but it seems like all the core Lazarus developers have a mental block against anything I say. I simply don't get it! Why have a project that you don't want anybody else to use??? We don't have a mental block. The idea of 1.0

Re: [Lazarus] testing virtual TListView in gtk2

2009-12-01 Thread zeljko
On Wednesday 02 December 2009 04:53, Paul Ishenin wrote: Andrew Haines wrote: I did a small test loading a text file with 50,000+ lines with my custom model and the GtkTreeView retrieved the value of each item in the list on startup. I assume it's to calculate the size for the scrollbar

[Lazarus] Question about DLL handler

2009-12-01 Thread Manfred
Hello, i am new on the list. /waves to everybody i was hoping to get some help with DLL handler. This is how it would look like in Delphi: B-- procedure DLLEntry(dwReason: Integer); begin if dwReason = DLL_PROCESS_DETACH then begin