[Lazarus] [PATCH/RFC] DBGrid: allow editing of lookup columns via picklist

2008-10-10 Thread Alexander Klenin
Attached patch allows user to edit lookup fields in DBGrid, in a manner similar to Delphi. However, it has some problems/limitations, so please review: 1) The patch contains an ugly hack to access TLookupList's internal representation. It is, of course, much cleaner to modify the TLookupList

[Lazarus] IDE exceptions: how to get stack trace on Windows?

2008-10-10 Thread Alexander Klenin
When using Lazarus IDE, it sometimes fails with various exceptions. In order to debug, or at least identify the source of the problems I need additional info, such as stack trace. Is there an easy method to get that on Windows? The way I like best is to expand exception dialog with additional Get

[Lazarus] Synedit crash on Carbon with an invalid font.

2008-10-10 Thread Brad Campbell
G'day all, I've just hit a nasty one on Carbon. I have a custom .ttf installed on my system. It was copied from a Windows system and it's apparently broken (though it works on Gtk/Gtk2 and Windows). I can fix the font by loading it into fontforge and re-building it. No problem. The problem

Re: [Lazarus] matching bracket problems (Carbon)

2008-10-10 Thread dominique
On Carbon I've never noticed this working, ever. Just been playing around with it now and it looks like it works just after you change font and no caret is displayed. But the moment you can see the caret, the matching brakets stop working. Dominique. On Thu, 9 Oct 2008 19:28:49 -0500, John

Re: [Lazarus] TMS FlexCel Studio for VCL/LCL

2008-10-10 Thread Graeme Geldenhuys
On 10/10/08, Reenen Laurie [EMAIL PROTECTED] wrote: I want to know if the component can do what I need before I buy... I spoke to them about this as well. They can't create a trial version for Lazarus like they have done for delphi (because they would have to release the source code). I

Re: [Lazarus] matching bracket problems (Carbon)

2008-10-10 Thread John Stoneham
On Fri, Oct 10, 2008 at 4:17 AM, Mattias Gärtner [EMAIL PROTECTED]wrote: Zitat von John Stoneham [EMAIL PROTECTED]: I've been using the latest svn (Carbon) for a while now, updating once a day or so, and matching brackets never seem to highlight properly. This issue appears on 10.4.11

Re: [Lazarus] IDE exceptions: how to get stack trace on Windows?

2008-10-10 Thread Bogusław Brandys
Bogusław Brandys pisze: Alexander Klenin pisze: When using Lazarus IDE, it sometimes fails with various exceptions. In order to debug, or at least identify the source of the problems I need additional info, such as stack trace. Is there an easy method to get that on Windows? The way I like

Re: [Lazarus] IDE exceptions: how to get stack trace on Windows?

2008-10-10 Thread Bogusław Brandys
Alexander Klenin pisze: On Fri, Oct 10, 2008 at 22:41, Alexander Klenin [EMAIL PROTECTED] wrote: Tried using GDB too, that of course works, but is very inconvenient. For example, pressing F12 to show form designer leads to a SIGTRAP when lazarus is run under the gdb. Does anyone know why

Re: [Lazarus] SynEdit: TSynPasSyn and keywords

2008-10-10 Thread Alexander Klenin
On Fri, Oct 10, 2008 at 20:00, Mattias Gärtner [EMAIL PROTECTED] wrote: Ah, then I understood correct in the first place. Keywords are context sensitive and so are the highlighters. A link does not work on keywords, symbols, ..., but only on identifiers. You can get this with

Re: [Lazarus] IDE exceptions: how to get stack trace on Windows?

2008-10-10 Thread Alexander Klenin
On Fri, Oct 10, 2008 at 21:05, Bogusław Brandys [EMAIL PROTECTED] wrote: Use command line switch like : lazarus.exe --debug-log=debug.log (or other filename) Already tried that. Unfortunately, backtrace is not written into the log file. Plenty of options. Tried using GDB too, that of course

Re: [Lazarus] IDE bug: Clipboard copy operation failed

2008-10-10 Thread Gerard N/A
Hi Alexander, Iv'e had this occasionally, but as you say it's hard to reproduce. I opened a bug report (http://bugs.freepascal.org/view.php?id=11548) wich is still opened. If you have any other information, please add it to the report. Regards, Gerard.

Re: [Lazarus] IDE exceptions: how to get stack trace on Windows?

2008-10-10 Thread Bogusław Brandys
Alexander Klenin pisze: When using Lazarus IDE, it sometimes fails with various exceptions. In order to debug, or at least identify the source of the problems I need additional info, such as stack trace. Is there an easy method to get that on Windows? The way I like best is to expand

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Michael Van Canneyt
On Fri, 10 Oct 2008, John Stoneham wrote: 2008/10/10 Michael Van Canneyt [EMAIL PROTECTED] On Fri, 10 Oct 2008, John Stoneham wrote: On Fri, Oct 10, 2008 at 5:34 AM, Mattias Gärtner [EMAIL PROTECTED]wrote: Zitat von Marius [EMAIL PROTECTED]: -Would it be a

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread John Stoneham
On Fri, Oct 10, 2008 at 5:34 AM, Mattias Gärtner [EMAIL PROTECTED]wrote: Zitat von Marius [EMAIL PROTECTED]: -Would it be a problem to have a seperate IDE window for the structure view instead of a fixed one in the object inspector. IMO the current structure view is to small and it is

[Lazarus] SQLite and related tables

2008-10-10 Thread Usuario Anónimo
I follow the Luiz Américo Pereira Câmara tutorials. http://www.geocities.com/camara_luiz/index.html My question: In a SQLite database with several related tables, it is necessary to use a TSqlite*Dataset component for each relation? Best regards. ___

Re: [Lazarus] Cross-compile on Linux from 32bits to 64bits

2008-10-10 Thread Osvaldo TCF - Listas
Is it possible? Ubuntu 8.04.1 FPC 2.2.3 Lazarus r16930 What i need for do that, Cross-compile on Linux from 32bits to 64bits? Compiler test = /usr/bin/fpc -MObjFPC -Sgi -O1 -TLinux -Px86_64 -gl -WG -va -l

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Mattias Gärtner
Zitat von Marius [EMAIL PROTECTED]: After release fpc 2.2.2, recent TFrame introduction and some spare time i'm gonna experiment some more. Compiling went very well and i had some quick looks today with a few simple projects. I have collected a few simple questions: Please create one thread

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread John Stoneham
2008/10/10 Michael Van Canneyt [EMAIL PROTECTED] Could be, I never had SO many objects :-) Maybe you should split the form up in frames, then ? Michael. Bacially, the app is all about preferences, and is divided up with many tab pages and sub-pages and sub-tabs, so they all appear as

Re: [Lazarus] matching bracket problems (Carbon)

2008-10-10 Thread Martin Friebe
Hi John, can you run SynEdit with console output, or output to a logfile? And put some debugging in (and rebuild it)? If yes, try this 1) in components/synedit/SynEditMarkup.pp line 244 currently: procedure TSynEditMarkup.InvalidateSynLines(FirstLine, LastLine : integer); begin if

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Mattias Gärtner
Zitat von Michael Van Canneyt [EMAIL PROTECTED]: On Fri, 10 Oct 2008, John Stoneham wrote: 2008/10/10 Michael Van Canneyt [EMAIL PROTECTED] On Fri, 10 Oct 2008, John Stoneham wrote: On Fri, Oct 10, 2008 at 5:34 AM, Mattias Gärtner [EMAIL PROTECTED]wrote:

Re: [Lazarus] matching bracket problems (Carbon)

2008-10-10 Thread Mattias Gärtner
Zitat von Martin Friebe [EMAIL PROTECTED]: [] Hi John, can you run SynEdit with console output, or output to a logfile? And put some debugging in (and rebuild it)? If yes, try this [...] Also ensure you do not use code folding = there are a few cases where code folding may affect the

Re: [Lazarus] Lazarus questions (auto complete, searching, docking, edit height)

2008-10-10 Thread Mattias Gärtner
Zitat von John Stoneham [EMAIL PROTECTED]: 2008/10/10 Michael Van Canneyt [EMAIL PROTECTED] Could be, I never had SO many objects :-) Maybe you should split the form up in frames, then ? Michael. Bacially, the app is all about preferences, and is divided up with many tab pages

[Lazarus] LazReport UTF-8 changes.

2008-10-10 Thread Jesus Reyes
Hi, Lazarus currently use UTF-8 encoding on all platforms and LazReport was using xmlcfg unit for storing now it uses xmlconf unit. On windows for example, saving UTF-8 texts were treated as if they were on system encoding so double convertion occurred. Such reports may fail to show normally

[Lazarus] delphi components into lazarus

2008-10-10 Thread Cesar P
How can i import delphi freeware components into lazarus? is this possible?___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] solaris compilers?

2008-10-10 Thread Cesar P
Is there a way to compile lazarus executables into intel solaris? what about sparc solaris? ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus