Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Raistware
El 18/01/2010 8:47, Florian Klaempfl escribió: Graeme Geldenhuys schrieb: Florian Klaempfl wrote: I know how much happened, when I see some revision numbers, when seeing No you don't. One patch could have been a one-liner fix, the next patch could have added full .NET

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Florian Klaempfl
Raistware schrieb: Never had any issue with endline handling commiting at git remote repos or commiting to svn repos, other developers are at Windows and Mac and never reported that my changes break his builds. Wrong line feeds usually don't break builds but cause full diff changesets and

Re: [Lazarus] Lazarus Book

2010-01-18 Thread Michael Van Canneyt
On Sun, 17 Jan 2010, Graeme Geldenhuys wrote: 2010/1/17 Michael Van Canneyt mich...@freepascal.org: As soon as it is out, we'll send out some news :-) Is it still only going to be in German language? Unless you're willing to do the translation effort: yes; German only. I have sort of

[Lazarus] build modes

2010-01-18 Thread ik
Hello list, I found a new option at Compiler Options for a project. What exactly does it do and how do you work with it ? Thanks, Ido http://ik.homelinux.org/ -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] build modes

2010-01-18 Thread Paul Ishenin
18.01.2010 15:47, ik wrote: I found a new option at Compiler Options for a project. What exactly does it do and how do you work with it ? This option is under development and is ocasionally visible. I will hide it. Best regards, Paul Ishenin. --

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Graeme Geldenhuys
Florian Klaempfl wrote: - git svn SubVersion support was simply added as a convenience for SubVersion users. Of course it's going to have limitations, because git already pulls of miracles just giving this support to us. SVN only supports SVN, at least Git gives us more. And 'git svn' is limited

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Alexander Klenin
I tried to stay away from the flame, but just could not resist, sorry ;-) On Mon, Jan 18, 2010 at 17:47, Florian Klaempfl flor...@freepascal.org wrote: Well, I don't wonder, you always tell us how great git is but at every thing I look, it plainly sucks: - git svn Well, I agree it is not the

Re: [Lazarus] Lazarus Book

2010-01-18 Thread Graeme Geldenhuys
Michael Van Canneyt wrote: Unless you're willing to do the translation effort: yes; German only. OK, fair enough. Unfortunately my German is not very good - I already have a hard time reading the Toolbox articles. :) Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit

Re: [Lazarus] Lazarus on Tiny Core Linux

2010-01-18 Thread ajv
Thank you all for your reply. I want to run a Lazarus GTK2 application within a minimal linux embedded systems with 1 GB flash, 256 MB Ram en 500 MHz VIA cpu. I searched for live distributions, not writing to flash. Till now I used the Slax distribution. For a new project it had an

[Lazarus] Database connection manager

2010-01-18 Thread ik
Hello List, I'm looking for a database connection manager that allow me to manage any open query connection. What does it mean ? Well lets say I have two forms that can open the same query that is located in a DataModule, now I want to close the connection only when the last form that asked to

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: - merging (how do I merge blocking?) Git and DSCM's have a different non-linear workflow, so it makes such (SVN) issues obsolete. Simply don't pull or merge that offending branch. It's funny how only FPC (and you) has this issue. The Linux Kernel and Git projects

Re: [Lazarus] Lazarus on Tiny Core Linux

2010-01-18 Thread Graeme Geldenhuys
ajv wrote: Do you really think a mainstream distribution with fpGUI can beat this? Yes. fpGUI apps are smaller than Qt, GTK or LCL applications. Uses less memory too. fpGUI now supports Windows desktop OSes, WinCE devices, Linux, Linux/ARM embedded devices and *BSD systems. Installation of

Re: [Lazarus] Lazarus on Tiny Core Linux

2010-01-18 Thread ik
On Mon, Jan 18, 2010 at 11:16, Graeme Geldenhuys graemeg.li...@gmail.comwrote: ajv wrote: Do you really think a mainstream distribution with fpGUI can beat this? Yes. fpGUI apps are smaller than Qt, GTK or LCL applications. Uses less memory too. fpGUI now supports Windows desktop OSes,

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Zaher Dirkey
About Git vs SVN Sorry if i insert my self with my poor English . But, When we say Linus use GIT and he prefer it, then why we stay using Pascal? And if we started to compare C/C++ with Pascal, we will have the same discusses here and After that we will keep using Pascal, if some one ask me why i

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Graeme Geldenhuys
Florian Klaempfl wrote: Do you volounteer to maintain solely the fixes branch so that we can adapt our workflow to the needs of git ;)? I already do for FPC and Lazarus - have a look at my repositories on GitHub. The fixes branches in both those projects are native git style by using

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: Florian Klaempfl wrote: Do you volounteer to maintain solely the fixes branch so that we can adapt our workflow to the needs of git ;)? I already do for FPC and Lazarus - have a look at my repositories on GitHub. The fixes branches in both those projects are

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Juha Manninen
Hi! 1) It is slow to the point of being unusable. Using TortoiseSVN, Show log on the root of Lazarus folder takes anywhere from 15 seconds to 2 minutes. (And yes, log cache is on). Diffing a file to see a change introduced by some commit takes from 30 seconds to 5 minutes (especially for

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Florian Klaempfl
Alexander Klenin schrieb: I tried to stay away from the flame, but just could not resist, sorry ;-) On Mon, Jan 18, 2010 at 17:47, Florian Klaempfl flor...@freepascal.org wrote: Well, I don't wonder, you always tell us how great git is but at every thing I look, it plainly sucks: - git

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Aleksa Todorovic
On Sun, Jan 17, 2010 at 18:57, Florian Klaempfl flor...@freepascal.org wrote: For a small project, I tried once mercurial and learned that it is much more work. One easily gets lost with all those cloned repositories none being naturally canonical. All not mentioning the pain of line feed

[Lazarus] TODBCConnection (Lazarus) vs TDatabase (TurboDelphi 2006)

2010-01-18 Thread David Viktora
Hi all, I do have a quite a problem here. I am developing a tool that is supposed to load data from COBOL database (via ODBC driver) into a grid. There is a Settings section there in the application; user can select a proper DSN name of theODBC driver (for there might be more than one driver,

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Graeme Geldenhuys
Juha Manninen wrote: I must comment on this because I did not experience such slowness with SVN. My SVN usage is very basic but I did svn diff for many files for my patch, one of them being main.pp. It was fast, maybe 2 or 3 seconds, using command line in my oldish PC. That only compares

Re: [Lazarus] Lazarus on Tiny Core Linux

2010-01-18 Thread ajv
Dear Graeme Geldenhuys, The boot time realized now is acceptable for my project. I understand that I can squeeze out a few more seconds, estimating up to 5 seconds, by using fpGUI. I hope I find time in the near future to investigate this, I will keep you informed. Thanks, Anthony Vogelaar

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Mattias Gaertner
git I think the thread title is misleading. Mattias -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Graeme Geldenhuys
Florian Klaempfl wrote: Most importantly, if you accidentally commit file with wrong line endings, you can fix that rather easily in git, nut with svn, you are screwed. Well, usually one notices only if it is pushed/pulled. Then that developer will definitely not be in my team (or yours I

Re: [Lazarus] Lazarus on Tiny Core Linux

2010-01-18 Thread Juha Manninen
Hi! I want to run a Lazarus GTK2 application within a minimal linux embedded systems Why do you want to use GTK2 in your minimal, otherwise highly optimized system? GTK2 is big. It doesn't make sense. Do you really think a mainstream distribution with fpGUI can beat this? I think you

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Mattias Gaertner
On Mon, 18 Jan 2010 00:17:34 +0100 Kjow antispamm...@gmail.com wrote: Hi all, I need to compile lazarus in terminal (or command prompt) including all components already installed. I mean that I made a simple batch script on windows startup that download fpc svn, lazarus svn, recompile fpc

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Graeme Geldenhuys
Aleksa Todorovic wrote: Mercurial (as any other DVCS) definitely requires more technical knowledge than SVN, so if you do not have real need for DVCS, just stay with good-old SVN :-) Well said and I fully agree. I often need to look at old revisions of code (finding regression bugs etc.) and

Re: [Lazarus] Database connection manager

2010-01-18 Thread JoshyFun
Hello Lazarus-List, Monday, January 18, 2010, 10:11:05 AM, you wrote: i Well lets say I have two forms that can open the same query that is located i in a DataModule, now I want to close the connection only when the last form i that asked to open it is closed, instead of closing it in each form,

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Paul Ishenin
18.01.2010 17:08, Mattias Gaertner wrote: I noticed also that lazarus.exe hasn't the icon, how to associate it to the exe? It is already compiled in. Maybe Paul can answer this? Windows uses built-in icon automatically. On linux you need to assign project ico file to desktop shortcut

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Paul Ishenin
18.01.2010 17:12, Graeme Geldenhuys wrote: Well said and I fully agree. I often need to look at old revisions of code (finding regression bugs etc.) and having to re-checkout complete revisions using SVN is just too damn slow (even on our office 4Mb connection). So I switched to using DSCM

[Lazarus] DSCM, was Re: Groundwork for Undo in Form Designer

2010-01-18 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: Florian Klaempfl wrote: Most importantly, if you accidentally commit file with wrong line endings, you can fix that rather easily in git, nut with svn, you are screwed. Well, usually one notices only if it is pushed/pulled. Then that developer will definitely not

[Lazarus] TextStyle.Layout and Argument can't be assigned to

2010-01-18 Thread Zaher Dirkey
I have this error In my component Error: Argument can't be assigned to FPC 2.4.0 {$mode objfpc}{$H+} with Canvas do begin TextStyle.Layout := tlCenter; TextStyle.Alignment := taCenter; end; How to resolve it? Thanks in advances -- Zaher Dirkey --

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Kjow
2010/1/18 Mattias Gaertner nc-gaert...@netcologne.de: See http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling_and_running Oh, OK. So to upgrade svn revisions I need to do make instead make clean all. I noticed also that lazarus.exe hasn't the icon, how to associate it to the

Re: [Lazarus] TextStyle.Layout and Argument can't be assigned to

2010-01-18 Thread zeljko
On Monday 18 January 2010 12:02, Zaher Dirkey wrote: I have this error In my component Error: Argument can't be assigned to FPC 2.4.0 {$mode objfpc}{$H+} with Canvas do begin TextStyle.Layout := tlCenter; TextStyle.Alignment := taCenter; end; How to resolve it? does

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Kjow
2010/1/18 Paul Ishenin i...@kmiac.ru: Windows uses built-in icon automatically. On linux you need to assign project ico file to desktop shortcut manually. I don't know if this can be automated since even kde and gnome requires different actions for that. On OSX we are thinking about the

Re: [Lazarus] TextStyle.Layout and Argument can't be assigned to

2010-01-18 Thread Mattias Gaertner
On Mon, 18 Jan 2010 13:02:43 +0200 Zaher Dirkey parm...@gmail.com wrote: I have this error In my component Error: Argument can't be assigned to FPC 2.4.0 {$mode objfpc}{$H+} with Canvas do begin TextStyle.Layout := tlCenter; TextStyle.Alignment := taCenter; end;

Re: [Lazarus] TextStyle.Layout and Argument can't be assigned to

2010-01-18 Thread Mattias Gaertner
On Mon, 18 Jan 2010 12:16:33 +0100 zeljko zel...@holobit.net wrote: On Monday 18 January 2010 12:02, Zaher Dirkey wrote: I have this error In my component Error: Argument can't be assigned to FPC 2.4.0 {$mode objfpc}{$H+} with Canvas do begin TextStyle.Layout :=

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Mattias Gaertner
On Mon, 18 Jan 2010 12:39:06 +0100 Kjow antispamm...@gmail.com wrote: 2010/1/18 Mattias Gaertner nc-gaert...@netcologne.de: I guess you mean you have to use make clean all Umm... I do make clean all, then it compile right, but without installed extra packages. Then if I try to do

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Paul Ishenin
Mattias Gaertner wrote: startlazarus.exe and lazbuild.exe have both the icon, but lazarus.exe hasn't. Paul? No idea. Lazarus.exe has the same icon as startlazarus and lazbuild here. Whops, I mean directly in make string... but it isn't a problem to add a row in the script ;)

Re: [Lazarus] DSCM, was Re: Groundwork for Undo in Form Designer

2010-01-18 Thread Graeme Geldenhuys
Florian Klaempfl wrote: person working with the file will find out only. This is the simplest case, it gets more complicated if one works on samba shares and tortoisesvn with unix editided files like I do often :) I use my flashdrive like that. I simply told git to always store files as LF in

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Luca Olivetti
En/na Kjow ha escrit: 2010/1/18 Mattias Gaertner nc-gaert...@netcologne.de: I guess you mean you have to use make clean all Umm... I do make clean all, then it compile right, but without installed extra packages. Then if I try to do lazbuild --build-all or lazbuild -B, I get:

Re: [Lazarus] DSCM, was Re: Groundwork for Undo in Form Designer

2010-01-18 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: Florian Klaempfl wrote: person working with the file will find out only. This is the simplest case, it gets more complicated if one works on samba shares and tortoisesvn with unix editided files like I do often :) I use my flashdrive like that. I simply told git

[Lazarus] [OT] SubVersion, DSCM, Workflow etc.

2010-01-18 Thread Graeme Geldenhuys
As per Paul's request I started a new message thread... [sorry Paul for all the previous OT messages] Florian Klaempfl wrote: That's exactly my point: if somebody forgets it, things are screwed up and with every clone you've to play this game again. Not really. core.autocrlf is

Re: [Lazarus] [OT] SubVersion, DSCM, Workflow etc.

2010-01-18 Thread Graeme Geldenhuys
Graeme Geldenhuys wrote: For documentation on how the git.git project workflow works and what the various official branches mean, see the following URL. http://www.kernel.org/pub/software/scm/git/docs/gitworkflows.html Here is another description of the usage of git.git project branches

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Kjow
2010/1/18 Paul Ishenin webpi...@mail.ru: No idea. Lazarus.exe has the same icon as startlazarus and lazbuild here. Can I force to link the icon? (e.g windres in my own script, but which syntax?) Thanks, Kjow -- ___ Lazarus mailing list

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Kjow
2010/1/18 Luca Olivetti l...@wetron.es: You need to specify the --build-ide= option as well Do you mean lazbuild --build-all --build-ide=? Thanks, Kjow -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Paul Ishenin
Kjow wrote: No idea. Lazarus.exe has the same icon as startlazarus and lazbuild here. Can I force to link the icon? (e.g windres in my own script, but which syntax?) Can you tell me what lazarus version do you have? If 0.9.28 then look at lazarus.rc which must contain a manifest and

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Kjow
2010/1/18 Paul Ishenin webpi...@mail.ru: Can you tell me what lazarus version do you have? If 0.9.28 then look at lazarus.rc which must contain a manifest and an icon. If 0.9.29 then lazarus.res must be in the ide folder which contains an icon. As I said on first message, I made a simple

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Vincent Snijders
Mattias Gaertner schreef: No, the syntax is: make OPT='-Xs' You can do OPT=-g- -Xs, but you don't have debug info in compiled units either. Vincent -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

[Lazarus] EXIF - como ler (how to read)?

2010-01-18 Thread Guionardo Furlan
Buenas pessoal, encontrei essa biblioteca open-source http://delphihaven.wordpress.com/ccr-exif/ e estou tentando portá-la para laz-fpc. Está complicado, porque o lazarus não tem algumas units como xmldom, por exemplo, além de não compilar algumas declarações como class helper. Então, alguém tem

Re: [Lazarus] Lazarus on Tiny Core Linux

2010-01-18 Thread Felipe Monteiro de Carvalho
Hello, Going back to the original question ... On Sun, Jan 17, 2010 at 9:18 AM, ajv a...@vogelaar-electronics.com wrote: I would appreciate some help with getting a Lazarus application running under Linux. I use the minimal distribution Tiny Core Linux. My Lazarus application shows graphics

Re: [Lazarus] EXIF - como ler (how to read)?

2010-01-18 Thread Michael Joyner ᏩᏯ
Guionardo Furlan wrote: Buenas pessoal, encontrei essa biblioteca open-source http://delphihaven.wordpress.com/ccr-exif/ e estou tentando portá-la para laz-fpc. Está complicado, porque o lazarus não tem algumas units como xmldom, por exemplo, além de não compilar algumas declarações como class

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Hans-Peter Diettrich
Marc Weustink schrieb: All those who are willing to contribute to Lazarus, and which want to have new or improved features. Like me :-) Are you going to track all repositories floating around, or wil you stick to trunk ? I'd stick to the Lazarus trunk. In all my previous attempts, with

Re: [Lazarus] Lazarus Book

2010-01-18 Thread Hans-Peter Diettrich
Michael Van Canneyt schrieb: I have sort of obtained permission to publish it in english, but translating 600+ pages is not easily done. Feel free to contact me, if you need assistance. DoDi -- ___ Lazarus mailing list

Re: [Lazarus] Lazarus Book

2010-01-18 Thread Felipe Monteiro de Carvalho
On Mon, Jan 18, 2010 at 6:37 AM, Michael Van Canneyt mich...@freepascal.org wrote: I have sort of obtained permission to publish it in english, but translating 600+ pages is not easily done. Great! I didn't know about it. One thing that should make it easier is that most originals are in

Re: [Lazarus] Lazarus Book

2010-01-18 Thread Michael Van Canneyt
On Mon, 18 Jan 2010, Felipe Monteiro de Carvalho wrote: On Mon, Jan 18, 2010 at 6:37 AM, Michael Van Canneyt mich...@freepascal.org wrote: I have sort of obtained permission to publish it in english, but translating 600+ pages is not easily done. Great! I didn't know about it. One thing

Re: [Lazarus] Build/Rebuild lazarus with components

2010-01-18 Thread Paul Ishenin
Kjow wrote: As I said on first message, I made a simple batch script on windows startup that download fpc svn, lazarus svn, recompile fpc and finally recompile lazarus, but every time I run Lazarus (after relative make clean all) I haven't any extra component. I need to click in build voice in

Re: [Lazarus] Groundwork for Undo in Form Designer

2010-01-18 Thread Marc Weustink
Juha Manninen wrote: Hi, Are you going to track all repositories floating around, or wil you stick to trunk ? Marc, I don't know if there is a misunderstanding but originally I asked for feedback about my patch which I sent using the officially recommended way, through bugtracker (issue

[Lazarus] StatusBar Panels issue

2010-01-18 Thread Graeme Geldenhuys
Hi, Is this a bug or another one of those widgetset limitations that will not be fixed? If the latter is true, then why is the Restricted tab empty (showing everything should work on all platforms widgetsets)? See attached image. I have setup TStatusPanel.Bevel = pbLowered, but the statusbar in

[Lazarus] Compiling out debugln() calls

2010-01-18 Thread Brad Campbell
G'day all, Simple question. When I compile my applications against the lcl, is there an easy way to compile out all the various debugln() calls? I had a cursory look at lcl/lclproc.pas where they are defined, but nothing obvious jumped out at me. If the debugln() routines were re-defined to

Re: [Lazarus] StatusBar Panels issue

2010-01-18 Thread ik
I think it is a bug (or at least a skin issue), because it used to work in the past (I think on 0.9.24 it worked). The text alignment also does not function (for me) there, and it used to align text properly on GTK 2. Ido http://ik.homelinux.org/ 2010/1/19 Graeme Geldenhuys

Re: [Lazarus] StatusBar Panels issue

2010-01-18 Thread Graeme Geldenhuys
ik wrote: I think it is a bug (or at least a skin issue), because it used to work in the past (I think on 0.9.24 it worked). Thanks, I'll report it in Mantis then. The text alignment also does not function (for me) there, and it used to align text properly on GTK 2. Yes, I have the text