[Lazarus] DOM and GTK 12: how to set encoding?

2009-04-17 Thread Marc Santhoff
Hi, I have a DOM model read from a xml file that has no encoding named inside it. The var TXMLDocument.Encoding is empty after the file is loaded. WHen compiling the program for GTK 1 the german umlauts are shown correctly, I assume GTK 1 defaults to system encoding (or so ;). The files have

[Lazarus] Lazarus attach to gdb

2009-04-17 Thread Toan Pham
Hi, I am a lazarus/freepascal user and I notice it is not possible to debug a console application (freevision), when both the console screen and keyboard are initialized. This is because a console application is executed in a terminal; hence when a debug session is launched from Lazarus, it will

Re: [Lazarus] DOM and GTK 12: how to set encoding?

2009-04-17 Thread Mattias Gaertner
On Fri, 17 Apr 2009 15:13:37 +0200 Marc Santhoff m.santh...@web.de wrote: [...] I have a DOM model read from a xml file that has no encoding named inside it. The var TXMLDocument.Encoding is empty after the file is loaded. [...] How can make GTK 2 show those chars as in GTK 1? convert the xml

Re: [Lazarus] Lazarus attach to gdb

2009-04-17 Thread Paul Ishenin
Toan Pham wrote: My question is, is it possible for lazarus to attach a debuger to a running process by PID? This would be very nice because it will allow debuging capability for console applications that required a x-terminal to run on. Thank you, Seems we have a related patch:

Re: [Lazarus] DOM and GTK 12: how to set encoding?

2009-04-17 Thread Sergei Gorelkin
Marc Santhoff wrote: Hi, I have a DOM model read from a xml file that has no encoding named inside it. The var TXMLDocument.Encoding is empty after the file is loaded. TXMLDocument.Encoding is currently not functional. The XML reader assumes that files without specified encoding are UTF-8

Re: [Lazarus] Modified .po files after each build

2009-04-17 Thread Vincent Snijders
Jesus Reyes schreef: Althought components/projecttemplates is processed in localize scripts updating is limited to these situation where an .rst file is found, that is because the tool is based on rst files which are generated on compilation. This also means that no devel (who do .po

Re: [Lazarus] Lazarus attach to gdb

2009-04-17 Thread Toan Pham
I downloaded, applied and rebuilt lazarus; and it did not seem to work. has anyone tested this out? Toan On Fri, Apr 17, 2009 at 10:12 AM, Paul Ishenin webpi...@mail.ru wrote: Toan Pham wrote: My question is, is it possible for lazarus to attach a debuger to a running process by PID?  This

Re: [Lazarus] Lazarus attach to gdb

2009-04-17 Thread Toan Pham
Nevermind, it worked, Just to remind re-everyone, you should re-compile lazarus in terminal (not under tools - rebuild), Also, we you start lazarus back up, make sure that you reference the new built binary, b/c in my case, it reference the binary under /home/myusername/.lazarus/bin/lazarus.

[Lazarus] Dragging documented

2009-04-17 Thread Hans-Peter Diettrich
I've started documentation about dragging, with the first part (drag-drop) here: http://wiki.lazarus.freepascal.org/LCL_Drag_Drop This page shall explain general principles behind dragging, one or more pages about docking will follow. My research started in Delphi 2.0, where only drag-drop is

Re: [Lazarus] Dragging documented

2009-04-17 Thread Felipe Monteiro de Carvalho
On Fri, Apr 17, 2009 at 8:56 PM, Hans-Peter Diettrich drdiettri...@aol.com wrote: So I couldn't resist to add some criticism about the current LCL implementation. Any comments are welcome :-) I think you should be more specific if you want to do a criticism. In the way you put it one can have