[lazarus] Fixed Debian package 0.9.22-1

2007-03-31 Thread Mattias Gaertner
The debian package had wrong links. I upoaded a new debian package 0.9.22-1 with correct links to startlazarus, lazarus and lazbuild. http://sourceforge.net/project/showfiles.php?group_id=89339 apologizing, Mattias _ To

[lazarus] 0.9.22 released

2007-03-30 Thread Mattias Gaertner
The Lazarus team is glad to announce the 0.9.22 release. This release is based on fpc 2.0.4. This release can be downloaded from the sourceforge download page: http://sourceforge.net/project/showfiles.php?group_id=89339 Detailed list of changes: LazDaemon: a package providing components and IDE

Re: [lazarus] Managing Cross Platform Projects

2007-03-21 Thread Mattias Gaertner
On Wed, 21 Mar 2007 17:54:50 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: On 3/21/07, Lee Jenkins [EMAIL PROTECTED] wrote: I was wondering what other did to manage cross platform projects? I mostly use subversion to manage the source code. You will need

Re: [lazarus] Re: Re: GExperts + Source formatter

2007-03-19 Thread Mattias Gaertner
On Mon, 19 Mar 2007 09:49:42 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 3/17/07, Vincent Snijders [EMAIL PROTECTED] wrote: There is prettyformat in the lazarus\components directory. It is an IDE plug-in. It doesn't work too well in my experience though, but that might be just

Re: [lazarus] custom configs for IDE add-on packages

2007-03-19 Thread Mattias Gaertner
On Mon, 19 Mar 2007 10:35:09 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, When creating packages that extend the Lazarus IDE, like PrettyFormat, EditorToolbar (my own), etc. They sometimes need config screens to setup there behaviour. For example, I want to extend the PrettyFormat

Re: [lazarus] Re: Re: GExperts + Source formatter

2007-03-19 Thread Mattias Gaertner
On Mon, 19 Mar 2007 11:48:39 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 3/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: The other problem I have, is duplication. Why does Lazarus have a copy of the ptopu.pp unit? Because the .ppu file is not part of fpc 2.0.4

Re: [lazarus] Illegal Expression -- Exit

2007-03-16 Thread Mattias Gaertner
On Thu, 15 Mar 2007 23:23:04 -0700 Gus Wirth [EMAIL PROTECTED] wrote: Jeff Steinkamp wrote: - Original Message - From: Vincent Snijders [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Thursday, March 15, 2007 19:07 Subject: Re: [lazarus] Illegal Expression -- Exit

Re: [lazarus] Code Templates like BDS 2005/2006

2007-03-14 Thread Mattias Gaertner
On Wed, 14 Mar 2007 11:02:04 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Has anybody thought or started implementing Code Templates like Borland Developer Studio (BDS) 2005/2006 does? Yes. It's pretty much normal code templates but on steroids. :-) It's a lot more intelligent

Re: [lazarus] Question about internal picture formats that are stored in EXE files.

2007-03-11 Thread Mattias Gaertner
On Sun, 11 Mar 2007 18:02:21 +0300 Alex Smirnov [EMAIL PROTECTED] wrote: Vincent Snijders ?: Alex Smirnov schreef: *Hello, colleagues. *Is it possible to describe me some things? It seems that Lazarus for Linux store pictures in EXE files in XPM format and Lazarus for Windows

Re: [lazarus] Code Readability [Was: Patch - Small Cleanup and Possible bug]

2007-03-10 Thread Mattias Gaertner
On Sat, 10 Mar 2007 09:25:32 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Luiz Americo Pereira Camara wrote: Mattias Gaertner wrote: Probably should be like that: aStyle := gtk_widget_get_style(Widget); if aStyle=nil then begin aStyle := GetStyle(lgsButton

Re: [lazarus] Strange behaviour of lazarus using fcl-web

2007-03-09 Thread Mattias Gaertner
On Fri, 09 Mar 2007 01:40:53 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 09 Mar 2007 00:06:04 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Thu, 8 Mar 2007, Joost van der Sluis wrote: I've isolated the problem

Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-09 Thread Mattias Gaertner
On Fri, 09 Mar 2007 07:44:56 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: Mattias, can you find some time to make it possible to use the new fpc sources (with the fcl in several subdirectories of the packages)? Fixed? I just looked at this diff: http

Re: [lazarus] Strange thing in codetools

2007-03-09 Thread Mattias Gaertner
On Fri, 23 Feb 2007 17:26:19 +0100 Joost van der Sluis [EMAIL PROTECTED] wrote: Hi all, It seems like that the codetools can't handle this line (in typinfo from fpc): {$MINENUMSIZE 1 this saves a lot of memory} To my suprise fpc accepts this, and the compiler-setting is also really

Re: [lazarus] Fonts in gtk1 (partially offtopic)

2007-03-09 Thread Mattias Gaertner
On Fri, 09 Mar 2007 11:03:25 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Sebastian Kraft schreef: Option a) call the rc file yourprogram.gtkrc and put it where the executable is Option b) Use unit GtkInt and call GTKWidgetSet.SetRCFilename('your_preferred_rc_file'); Best done

Re: [lazarus] LazDoc editor inside Lazarus IDE

2007-03-09 Thread Mattias Gaertner
On Thu, 22 Feb 2007 12:40:23 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: When does the LazDoc Editor that is part of the IDE save the documentation entered? When you File - Save All in the IDE? When the cursor moves focus to another part in the editor? Focus change. This is

Re: [lazarus] TLazarusTranslations class in IDETranslations unit

2007-03-09 Thread Mattias Gaertner
On Tue, 27 Feb 2007 16:10:44 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Why the strange (manual) implementation of a pointer list in TLazarusTranslations class? Why not just use a TObjectList or TList? Well, originally I planned to maintain some more information about

Re: [lazarus] Fonts in gtk1 (partially offtopic)

2007-03-08 Thread Mattias Gaertner
On Wed, 7 Mar 2007 18:04:12 +0100 Sebastian Kraft [EMAIL PROTECTED] wrote: Am Mittwoch, 7. März 2007 16:50:15 schrieb Marc Santhoff: Am Mittwoch, den 07.03.2007, 15:52 +0100 schrieb Sebastian Kraft: Am Mittwoch, 7. März 2007 13:45:20 schrieb Marc Santhoff: In your application you've got

Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-08 Thread Mattias Gaertner
On Wed, 07 Mar 2007 19:17:49 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: fedorax schreef: Selon Vincent Snijders [EMAIL PROTECTED]: Yes, In every case lazarus compile and start but he say /usr/local/src/fpc is not a source directory. Same thing if i try to compile with fpc-2.0.4.

Re: [lazarus] Strange behaviour of lazarus using fcl-web

2007-03-08 Thread Mattias Gaertner
On Fri, 09 Mar 2007 00:06:04 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Thu, 8 Mar 2007, Joost van der Sluis wrote: I've isolated the problem. It occurs when inherited TDataModules are in one file. According to Jesus Reyes (on IRC) did Mattias say

Re: [lazarus] Patch - Small Cleanup and Possible bug

2007-03-08 Thread Mattias Gaertner
On Tue, 06 Mar 2007 17:47:56 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Sergei Gorelkin wrote: Tuesday, March 06, 2007, 10:14:10 PM, Luiz wrote: LAPC Vincent Snijders wrote: Luiz Americo Pereira Camara schreef: 1 - Attached patch remove some redundant

Re: [lazarus] Selectdirectory Dialog

2007-03-08 Thread Mattias Gaertner
On Mon, 05 Mar 2007 12:05:58 +0200 Sam Washkansky [EMAIL PROTECTED] wrote: Hi all, I have a quick question, I am developing an application which makes use of the SelectDirectory Dialog box . The app is cross platform and must run on Windows and Ubuntu, I have just run it on an Ubuntu box

Re: [lazarus] Patch 4 sqlite3 componenteditor

2007-03-08 Thread Mattias Gaertner
On Sat, 03 Mar 2007 14:29:11 +0100 tanila [EMAIL PROTECTED] wrote: Hello all, I found fixed a little Bug in sqlitecomponenteditor. The bug was fixed by Luiz. Thanks. Applied. Attachment includes the new version of $(LCLDIR)/components/sqlite/sqlitecomponenteditor.pas Maybe you meant:

Re: [lazarus] Problem with Application.OnHint

2007-03-08 Thread Mattias Gaertner
On Fri, 2 Mar 2007 13:52:34 -0700 Jeff Steinkamp [EMAIL PROTECTED] wrote: I am having a bit of problem with the following: application.HintColor := clYellow; It does not change the color of the hint. I have even gone as far as changingthe Default HintColor in the Application.inc file and

Re: [lazarus] add a timer?

2007-02-20 Thread Mattias Gaertner
On Thu, 15 Feb 2007 17:15:53 +0300 Al Boldi [EMAIL PROTECTED] wrote: 于野 wrote: I'm a Chinese OIer(which is short for someone who has intersts in 'Olympiad in Informatics'). Now I'm using Lazarus to debug. but every time when I want to know how much time it spend during the program runs,

Re: [lazarus] CodeTools problem - functions always return nil

2007-02-20 Thread Mattias Gaertner
On Thu, 15 Feb 2007 15:51:49 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I created a package that inserts a Toolbar at the top of the editor window. Currently containing one button (the first of many) that jump to certain parts of the code (Interface section, Implementation

Re: [lazarus] TLabel/TStaticText font changes.

2007-02-20 Thread Mattias Gaertner
On Fri, 16 Feb 2007 08:37:25 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: I use Gtk1 and can't get Bold to work on any TLabel either. I'm using the latest Lazarus (svn) and FPC 2.1.1 (svn). The 'default' font does not support size and style yet. Mattias Graeme. On 2/15/07,

Re: [lazarus] can`t execute Lazarus any more...

2007-02-14 Thread Mattias Gaertner
On Wed, 14 Feb 2007 11:15:26 +0100 tanila [EMAIL PROTECTED] wrote: Hi again, I just found out something. I read in another forum about gtk. And there i found some hints about physical and logic resolutions. Then I got the Idea, that it could be that my TV-Out makes the problems. I

Re: [lazarus] can`t execute Lazarus any more...

2007-02-13 Thread Mattias Gaertner
On Tue, 13 Feb 2007 11:53:27 +0100 tanila [EMAIL PROTECTED] wrote: Hello all, yesterday I checked out the actual SVN developer version of Lazarus. After compiling i got the following messages: [FORMS.PP] ExceptionOccurred Sender=EDivByZero This could mean, the LCL has spotted an

Re: [lazarus] can`t execute Lazarus any more...

2007-02-13 Thread Mattias Gaertner
On Tue, 13 Feb 2007 22:32:13 +0100 tanila [EMAIL PROTECTED] wrote: Does noone has an idea ? Maybe a gdk function works differently on amd64. None of the developers is currently working on such a machine, so we depend on the help of users. What can I do to solve this problem ? Add some

Re: [lazarus] can`t execute Lazarus any more...

2007-02-13 Thread Mattias Gaertner
On Tue, 13 Feb 2007 23:17:04 +0100 tanila [EMAIL PROTECTED] wrote: Hi Mattias, thanks for reply, Where do i have to add these writelns ? See the gdb backtrace: gtkobject.inc:1925 This means the error occurred in file gtkobject.inc at line 1925. The full filename is

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-07 Thread Mattias Gaertner
On Wed, 7 Feb 2007 09:12:30 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 2/6/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Technically there should be flickering, but I don't see it. Can you give an example? I don't know how else to give an example, other that explain what I do

Re: [lazarus] Little bug using refactoring

2007-02-07 Thread Mattias Gaertner
On Tue, 06 Feb 2007 16:03:22 +0100 Guadagnini David [EMAIL PROTECTED] wrote: If I write a function like this: Function MyFunction(Value : Boolean) : Boolean; Begin Result := Not Value; End; Now, if I go with the cursor on line Result := Not Value and select Refactoring-Complete

Re: [lazarus] Patch rewrited on last version

2007-02-07 Thread Mattias Gaertner
On Tue, 06 Feb 2007 09:24:13 +0100 Guadagnini David [EMAIL PROTECTED] wrote: I have rewrite the patch with the last version (sorry for previous inconvenience) Thanks. Is there an option to disable the feature? Mattias _

Re: [lazarus] lazarus saves every time I compile

2007-02-07 Thread Mattias Gaertner
On Wed, 7 Feb 2007 12:24:09 +0100 Darius Blaszijk [EMAIL PROTECTED] wrote: ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to restore the saved files? That doesn't seam a nice way

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Mattias Gaertner
, - Graeme - On 2/5/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Mon, 5 Feb 2007 14:50:54 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Since the IDE Messages Window component changed to a Treeview, the OnCustomDrawItem code doesn't work any more. More specifically

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 13:55:18 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 2/6/07, Graeme Geldenhuys [EMAIL PROTECTED] wrote: In TCustomTreeView.DoPaintNode() on line 4125 and on line 4201it fires off the OnCustomDrawItem event! Why twice in the same method (DoPaintNode)? Shouldn't

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 13:51:23 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 2/6/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I looked at the changes you made to see what I did wrong. I see you use the TreeView's OnAdvancedCustomDraw instead of OnCustomDraw. OnCustomDrawItem

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 17:06:08 +0300 Al Boldi [EMAIL PROTECTED] wrote: Andrea Mauri wrote: My problem is, I have a big project, with many units, I make a lot of modifications daily, I want to test if everything works as I want, so I compile my project many times in a day. I don't want that

Re: [lazarus] lazarus saves every time I compile

2007-02-06 Thread Mattias Gaertner
On Tue, 6 Feb 2007 17:36:16 +0100 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 2/6/07, Andrea Mauri [EMAIL PROTECTED] wrote: ok, thank you for the explanation. I will consider it during my project developing. but it is not possible to use in some way the backup files in order to

Re: [lazarus] Behavior of ContextMenu

2007-02-06 Thread Mattias Gaertner
On Tue, 06 Feb 2007 13:55:28 -0200 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: Marc Weustink wrote: Luiz Americo Pereira Camara wrote: I fixed the double fire

Re: [lazarus] TBitmap.ScanLine - API Propose

2007-02-06 Thread Mattias Gaertner
On Tue, 06 Feb 2007 13:29:21 -0200 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 05 Feb 2007 09:52:50 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: - Should i implement GetCurrentObject

Re: [lazarus] TBitmap.ScanLine

2007-02-05 Thread Mattias Gaertner
On Sun, 04 Feb 2007 22:28:19 -0200 Luiz Americo [EMAIL PROTECTED] wrote: Mattias Gaertner escreveu: I started a new thread, because this has nothing to do with the decision QuickDraw or Quartz. On Sun, 4 Feb 2007 21:21:15 +0100 Pieter Valentijn [EMAIL PROTECTED] wrote

Re: [lazarus] TexOut incompability

2007-02-05 Thread Mattias Gaertner
On Mon, 05 Feb 2007 11:36:13 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Павел Ишенин schreef: Hello. I found one incompability with TCanvas.TextOut method: 1) In Delphi TCanvas.TextOut calls Windows.ExtTextOut wich fills bachground with brush 2) In Lazarus TCanas.TextOut use

Re: [lazarus] question regardin how component values are read in runtime

2007-02-05 Thread Mattias Gaertner
On Mon, 05 Feb 2007 14:54:55 +0330 roozbeh gholizadeh [EMAIL PROTECTED] wrote: I have a problem with ttimer.So i came to this question. As far as i know all values in components are stored in file,and read in runtime to create components. But forexample ttimer.ontimer value is a pointer to a

Re: [lazarus] TBitmap.ScanLine

2007-02-05 Thread Mattias Gaertner
On Mon, 05 Feb 2007 09:19:28 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 04 Feb 2007 22:28:19 -0200 Luiz Americo [EMAIL PROTECTED] wrote: Mattias Gaertner escreveu: I started a new thread, because this has nothing to do

Re: [lazarus] TBitmap.ScanLine

2007-02-05 Thread Mattias Gaertner
On Mon, 05 Feb 2007 09:52:50 -0300 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: - Should i implement GetCurrentObject? IMO it would be better to improve TBitmap. Currently TBitmap uses GetObject, so implementing it will also benefit TBitmap

Re: [lazarus] IDE Message Window bug since Treeview change

2007-02-05 Thread Mattias Gaertner
On Mon, 5 Feb 2007 14:50:54 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Since the IDE Messages Window component changed to a Treeview, the OnCustomDrawItem code doesn't work any more. More specifically, the Red, Green and Blue text for user defined hints ($Warning, $Note, etc)

Re: [lazarus] Carbon Canvas implementation dilemma

2007-02-04 Thread Mattias Gaertner
On Sun, 4 Feb 2007 22:23:33 +0100 Marco van de Voort [EMAIL PROTECTED] wrote: On Sun, Feb 04, 2007 at 02:55:58PM +0100, Mattias Gaertner wrote: point coordinates. As I understand some of the canvas methods require pixel access. Yes, and they are slow on all platforms, so no time

[lazarus] TBitmap.ScanLine

2007-02-04 Thread Mattias Gaertner
I started a new thread, because this has nothing to do with the decision QuickDraw or Quartz. On Sun, 4 Feb 2007 21:21:15 +0100 Pieter Valentijn [EMAIL PROTECTED] wrote: Is there is no scanline function in the bitmap object of Lazarus. No. At the moment you have to use a TLazIntfImage. See

Re: [lazarus] Expert for Lazarus

2007-02-02 Thread Mattias Gaertner
On Sun, 28 Jan 2007 11:50:47 -0200 Joao Morais [EMAIL PROTECTED] wrote: Hello, About changing source code, afaics I have access to an specific source file using srceditorintf.SourceEditorWindow.SourceEditorIntfWithFileName('someunit.pas'). Inside the TSourceEditorInterface class I

Re: [lazarus] Bug in Messages window

2007-02-02 Thread Mattias Gaertner
On Fri, 02 Feb 2007 17:53:52 -0200 Luiz Americo Pereira Camara [EMAIL PROTECTED] wrote: After updating to today svn when i click in a line of the Messages window togo to the specified file i get an error message: Unable to find file Compiling

Re: [lazarus] how to add a package via commandline

2007-01-31 Thread Mattias Gaertner
On Wed, 31 Jan 2007 16:39:42 +0100 Burkhard Carstens [EMAIL PROTECTED] wrote: Am Donnerstag, 18. Januar 2007 19:43 schrieb Mattias Gaertner: On Thu, 18 Jan 2007 18:35:46 +0100 Burkhard Carstens [EMAIL PROTECTED] wrote: I'd like to build a lazarus rpm containing all the components, I

Re: [lazarus] Drawing a Bitmap onto an TImage component.

2007-01-30 Thread Mattias Gaertner
On Mon, 29 Jan 2007 16:58:57 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: Take a look at http://wiki.lazarus.freepascal.org/Developing_with_Graphics#Draw_to_a_TImage Here it says: Resizing the TImage does not resize the bitmap. Does

Re: [lazarus] Carbon interface patch

2007-01-26 Thread Mattias Gaertner
On Thu, 25 Jan 2007 17:34:32 +0100 Tom Gregorovic [EMAIL PROTECTED] wrote: Mattias Gaertner napsal(a): On Thu, 25 Jan 2007 16:42:04 +0100 Tom Gregorovic [EMAIL PROTECTED] wrote: Hi, I have improved a lot of things in the carbon interface. Sorry for such large chunk, but I wasn't

Re: [lazarus] Carbon interface patch

2007-01-25 Thread Mattias Gaertner
On Thu, 25 Jan 2007 16:42:04 +0100 Tom Gregorovic [EMAIL PROTECTED] wrote: Hi, I have improved a lot of things in the carbon interface. Sorry for such large chunk, but I wasn't able to divide it in smaller parts. I hope it doesn't matter. The summary of implemented features and svn diff is

Re: [lazarus] Creating GUID's inside Lazarus

2007-01-24 Thread Mattias Gaertner
On Wed, 24 Jan 2007 11:46:29 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Has Lazarus got a keyboard shortcut or menu option to insert a GUID into the current editor file? Something like Delphi's Ctrl-Shift-G function. In Lazarus that brings up the Procedure List. :-) It is

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-22 Thread Mattias Gaertner
On Sun, 21 Jan 2007 18:56:34 -0600 (CST) Jesus Reyes [EMAIL PROTECTED] wrote: --- Mattias Gaertner [EMAIL PROTECTED] escribió: On Sun, 21 Jan 2007 17:37:20 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Vincent Snijders

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-22 Thread Mattias Gaertner
On Mon, 22 Jan 2007 14:16:25 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: TListBox: 10k rows in 73sec TTreeView: 100k rows in 50sec TMemo: 100k rows in 30sec TListView: 100k rows in 1.5sec

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-22 Thread Mattias Gaertner
On Mon, 22 Jan 2007 22:04:40 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Preallocating the tree in TTreeView could improve its speed a lot. I doubt

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-21 Thread Mattias Gaertner
On Sun, 21 Jan 2007 10:44:32 +0300 Al Boldi [EMAIL PROTECTED] wrote: Vincent Snijders wrote: Jesus Reyes schreef: --- Al Boldi [EMAIL PROTECTED] escribiَ: TListBox: 10k rows in 73sec TTreeView: 100k rows in 50sec TMemo: 100k rows in 30sec TListView: 100k rows in

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-21 Thread Mattias Gaertner
On Sun, 21 Jan 2007 12:11:24 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: [...] About: Who wants to see 30.000 lines? Answer: No one. But compiling a quickly ported Delphi lib creates easily thousand of hints, notes and warnings. And those poor windows users without a proper terminal who

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-21 Thread Mattias Gaertner
On Sun, 21 Jan 2007 12:19:28 +0100 bobby [EMAIL PROTECTED] wrote: About: Who wants to see 30.000 lines? Answer: No one. But compiling a quickly ported Delphi lib creates ... Unfortunately, I use even more lines in StringGrid. Loading 50mb CSV file (200.000 rows with 7 columns) in

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-21 Thread Mattias Gaertner
On Sun, 21 Jan 2007 14:54:36 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I replaced the TListBox with a TTreeView and tested: Compiling with -vt (~30.000 lines output) now runs in a second. :) I also found a bug in TTreeView

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-21 Thread Mattias Gaertner
On Sun, 21 Jan 2007 17:37:20 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Al Boldi [EMAIL PROTECTED] wrote: Vincent Snijders wrote: Jesus Reyes schreef: --- Al Boldi [EMAIL PROTECTED] escribiظژ: TListBox: 10k rows in 73sec TTreeView: 100k rows

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-20 Thread Mattias Gaertner
On Fri, 19 Jan 2007 20:29:55 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Can TStringGrid handle 30.000 rows? Because this is easily created by compiling with -vt and TListBox can not handle it fast enough. I noticed this too. So I added a TMemo to the Messages

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-20 Thread Mattias Gaertner
On Fri, 19 Jan 2007 13:12:03 -0600 (CST) Jesus Reyes [EMAIL PROTECTED] wrote: --- Mattias Gaertner [EMAIL PROTECTED] escribió: On Fri, 19 Jan 2007 09:48:10 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: [...] I'm sure it can. Vincent mentioned the 'selected row in view'. Maybe

Re: [lazarus] cursor not reaching end of line

2007-01-20 Thread Mattias Gaertner
On Sat, 20 Jan 2007 08:00:30 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Am Freitag, den 19.01.2007, 18:07 +0100 schrieb Mattias Gaertner: On Fri, 19 Jan 2007 17:45:15 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Hi, I updated lazarus to rev 10478 and now I have a funny problem

Re: [lazarus] cursor not reaching end of line

2007-01-20 Thread Mattias Gaertner
On Sat, 20 Jan 2007 08:34:40 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Am Freitag, den 19.01.2007, 18:07 +0100 schrieb Mattias Gaertner: Another issue is lazarus is minimized anytime I switch virtual screen (wmaker) ... This is a known bug. When switching to another desktop

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-20 Thread Mattias Gaertner
On Sat, 20 Jan 2007 13:09:56 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Well, we could use TTreeView. It has working BeginUpdate/EndUpdate. It needs 0.4 secs for adding 10.000 top level nodes and changing each 10 times. And it needs 23 secs for adding

Re: [lazarus] cursor not reaching end of line

2007-01-20 Thread Mattias Gaertner
On Sat, 20 Jan 2007 13:33:57 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Am Samstag, den 20.01.2007, 12:45 +0100 schrieb Mattias Gaertner: Ah, tabs and you disabled scroll past eol. Fixed. Indeed, scroll past eol helps immediately (but I don't like that setting ;). But what tabs-setting

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-20 Thread Mattias Gaertner
On Sat, 20 Jan 2007 13:29:31 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Graeme Geldenhuys schreef: On 1/20/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Well, we could use TTreeView. It has working BeginUpdate/EndUpdate. It needs 0.4 secs for adding 10.000 top level nodes

Re: [lazarus] TStringGrid to replace TListBox in Messages window

2007-01-19 Thread Mattias Gaertner
On Fri, 19 Jan 2007 09:48:10 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Thanks Jesus, On 1/19/07, Jesus Reyes [EMAIL PROTECTED] wrote: Anybody know if the TStringGrid can make sure that the selected row is in view? Yes it can. Excellent! Can you give a hint on how this

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Mattias Gaertner
On Thu, 18 Jan 2007 17:29:55 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: So, the bug is somewhere in the normal class completion. I added some more verbosity. I did the same reverse class completion test as before. Here

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Mattias Gaertner
On Fri, 19 Jan 2007 14:15:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Hope that made sense to you... :) No. Where are the lines 'CreateMissingProcBodies InsertProcBody'? It does not add any procedure, does it? Yes

Re: [lazarus] Code completion formatted code incorrectly

2007-01-19 Thread Mattias Gaertner
On Fri, 19 Jan 2007 14:44:01 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Fri, 19 Jan 2007 14:15:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/19/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Hope that made

Re: [lazarus] cursor not reaching end of line

2007-01-19 Thread Mattias Gaertner
On Fri, 19 Jan 2007 17:45:15 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Hi, I updated lazarus to rev 10478 and now I have a funny problem: After lazarus started with the project I last worked at and in some of the 11 open files the cursor does not reach the end of line. Some lines have

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 08:30:38 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/17/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Using Code Completion (pressing Ctrl-Space) in the interface section of a class, so I can override a method, formats the code incorrectly. I have Lazarus's

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 14:52:54 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: The 'preview' window is correct. What in generated for Class Completion is different to the preview. Strange. I added two debugln. Please update svn

Re: [lazarus] Sugestion tread use for updating forms.

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 15:23:10 +0100 Pieter Valentijn [EMAIL PROTECTED] wrote: I think the same functions are in Lazarus as in Delphi right ? See http://wiki.lazarus.freepascal.org/Multithreaded_Application_Tutorial i.e. Somewhere global var aThreadLock : TRTLCriticalSection ; In any

Re: [lazarus] Code completion formatted code incorrectly

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 16:05:35 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 1/18/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Sorry, I forgot: Can you do a reverse class completion? http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Reversed_Class_Completion Then you should see

Re: [lazarus] how to add a package via commandline

2007-01-18 Thread Mattias Gaertner
On Thu, 18 Jan 2007 18:35:46 +0100 Burkhard Carstens [EMAIL PROTECTED] wrote: I'd like to build a lazarus rpm containing all the components, I need (BigIDE + indy, glscene). Before diving into the rpm building trouble, I first try to figure out, how I could install a package into lazarus

Re: [lazarus] TXMLDocument from string

2007-01-17 Thread Mattias Gaertner
On Tue, 16 Jan 2007 19:42:32 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Tue, 16 Jan 2007 14:48:53 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: There is too few information on that functions... sometime programming with lazarus i

Re: [lazarus] Code completion formatted code incorrectly

2007-01-17 Thread Mattias Gaertner
On Wed, 17 Jan 2007 10:11:23 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Using Code Completion (pressing Ctrl-Space) in the interface section of a class, so I can override a method, formats the code incorrectly. I have Lazarus's CodeTools Options - Space tab setup to not include

Re: [lazarus] Lazarus for Python (L4P)

2007-01-17 Thread Mattias Gaertner
On Wed, 17 Jan 2007 17:06:04 +0200 George Birbilis [EMAIL PROTECTED] wrote: But when it comes to speed, you can't use Python. It's a script- interpreter! Just like Matlab... Matlab has compiler (into C) Python has compilers (see Microsoft's IronPython for .NET for example) Further one

Re: [lazarus] Can't reset ItemHeight property in Object Inspector

2007-01-16 Thread Mattias Gaertner
On Tue, 16 Jan 2007 10:12:31 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I dropped a TListBox on a form and changed the ItemHeight property to 13. The default is 0. Later I decided I want to leave it at it's default, so entered 0 as the ItemHeight and pressed enter. It jumps

Re: [lazarus] where is the IsUniqueGlobalComponentName method.

2007-01-16 Thread Mattias Gaertner
On Tue, 16 Jan 2007 11:10:01 +0200 Sam Washkansky [EMAIL PROTECTED] wrote: Hi guys, Does anybody know where I can find the IsUniqueGlobalComponentName method, in Delphi 7 it is in the Classes unit. I am using a OPF, and Someone has added a new method which makes use of this method. When I

Re: [lazarus] LazarusPackageIntf

2007-01-16 Thread Mattias Gaertner
On Tue, 16 Jan 2007 10:36:10 +0100 Aleš Katona [EMAIL PROTECTED] wrote: Hi, I'm trying to cross-compile an example project to winCE with visual lnet component and I'm getting Unit not found: LazarusPackageIntf which was auto-added by lazarus into the register unit when I try to cross-compile

Re: [lazarus] TXMLDocument from string

2007-01-16 Thread Mattias Gaertner
On Tue, 16 Jan 2007 11:29:16 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Tue, 16 Jan 2007, [EMAIL PROTECTED] wrote: Thanks, you saved my ass man ;) There is too few information on that functions... sometime programming with lazarus i feel blind. Where can i

Re: [lazarus] where is the IsUniqueGlobalComponentName method. (part 2)

2007-01-16 Thread Mattias Gaertner
On Tue, 16 Jan 2007 11:56:33 +0100 Bogusław Brandys [EMAIL PROTECTED] wrote: Sam Washkansky wrote: Hi guys, Here is some extra info about the IsUniqueGlobalComponentName method it was taken from the Delphi 7 help file. Indicates whether a proposed component name is unambiguous.

Re: [lazarus] TXMLDocument from string

2007-01-16 Thread Mattias Gaertner
On Tue, 16 Jan 2007 14:48:53 +0300 Al Boldi [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: There is too few information on that functions... sometime programming with lazarus i feel blind. Where can i found a manual with all Lazarus functions, and where can i search if i

Re: [lazarus] Form streaming error

2007-01-15 Thread Mattias Gaertner
On Sat, 13 Jan 2007 22:36:43 +0100 Darius Blaszijk [EMAIL PROTECTED] wrote: I'm porting a delphi app to lazarus. But when I try to run the app it keeps crashing with the below message. I suspect the LRS file is corrupt, but I have no idea how to check or better fix this. I tried

Re: [lazarus] function esd_play_file

2007-01-15 Thread Mattias Gaertner
On Mon, 15 Jan 2007 14:01:43 +0200 Sönmez Kartal [EMAIL PROTECTED] wrote: Hi, I am trying to use esd_play_file function from libesd. I am getting an error while compiling. Error description is /usr/bin/ld -lesd cannot find. I have the libesd.so file. I declared that function as next

Re: [lazarus] function esd_play_file

2007-01-15 Thread Mattias Gaertner
esound-devel. Mattias Mattias Gaertner yazmış: On Mon, 15 Jan 2007 14:01:43 +0200 Sönmez Kartal [EMAIL PROTECTED] wrote: Hi, I am trying to use esd_play_file function from libesd. I am getting an error while compiling. Error description is /usr/bin/ld -lesd cannot find. I

Re: [lazarus] Form streaming error

2007-01-13 Thread Mattias Gaertner
On Fri, 12 Jan 2007 16:46:54 +0100 (CET) [EMAIL PROTECTED] wrote: I'm porting a delphi app to lazarus. But when I try to run the app it keeps crashing with the below message. I suspect the LRS file is corrupt, but I have no idea how to check or better fix this. I tried removing the LRS file

Re: [lazarus] Form streaming error

2007-01-13 Thread Mattias Gaertner
On Sat, 13 Jan 2007 17:55:34 +0100 Darius Blaszijk [EMAIL PROTECTED] wrote: - Original Message - From: Mattias Gaertner [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Saturday, January 13, 2007 4:36 PM Subject: Re: [lazarus] Form streaming error On Fri, 12 Jan 2007 16:46

Re: [lazarus] New to Lazarus General Question

2007-01-12 Thread Mattias Gaertner
On Fri, 12 Jan 2007 23:09:48 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Darius Blaszijk schreef: I suppose you get the error when compiling a package. To solve this, add $(LazarusDir)\lcl\units\$(TargetCPU)-$(TargetOS)\ to the search path. To make it more clear: Adding the above

[lazarus] SVN Update - Translating packages

2007-01-10 Thread Mattias Gaertner
The IDE can now create automatically .po files for .rst files of packages and projects. The packages of the lazarus source repository already create them and the IDE loads existing translations. The german .de.po files are nearly complete thanks to Joerg Braun. See

[lazarus] SVN update - reversed class completion

2007-01-09 Thread Mattias Gaertner
See http://wiki.lazarus.freepascal.org/Lazarus_IDE_Tools#Reversed_Class_Completion Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] Lazarus makefile

2007-01-07 Thread Mattias Gaertner
On Sun, 07 Jan 2007 21:07:03 +0100 Joost van der Sluis [EMAIL PROTECTED] wrote: Hi all, I have some questions about the Lazarus Makefile's. First: why is lazarus installed in share? Historical reasons. Many programs are installed there under linux. /usr/share is hard-coded in

Re: [lazarus] [patch] LCL TControl.HelpContext and HelpKeyword handling

2007-01-07 Thread Mattias Gaertner
On Fri, 5 Jan 2007 03:45:48 +0300 Sergei Gorelkin [EMAIL PROTECTED] wrote: Hello, The attached patch corrects the behaviour of TControl.HelpContext and TControl.HelpKeyword handling: 1. When setting HelpKeyword or HelpContext properties, HelpType is automatically set to htKeyword or

<    2   3   4   5   6   7   8   9   10   11   >