Re: [Lazarus] debug windows layout

2010-02-28 Thread Graeme Geldenhuys
Hans-Peter Diettrich wrote: > > This was my impression, too. The old (undocked) IDE allowed to view > *multiple* documents (units) in multiple editor windows *at the same > time*, while the new IDE only allows to view a *single* unit at the same > time. :-) Delphi 7 IDE is a mixed bag, but sti

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Vincent Snijders
Flávio Etrusco schreef: Not to state the obvious but... First one/we need to decide what the function will be called, OutputDebugString or DebugLn. Then decide Definitely not DebugLn, that is for output to the console. what LCL unit should it be in. Then make an inline function which would j

Re: [Lazarus] App locks at startup

2010-02-28 Thread Burkhard Carstens
Am Sonntag, 28. Februar 2010 04:35 schrieb SteveG: > On 28/02/10 13:18, SteveG wrote: > > On 28/02/10 13:08, Andrew Brunner wrote: > >> I would never Process Application Messages from a timer thread. > >> > >> I suspect a threadlock going on. Does it work OK without the > >> application.processmess

Re: [Lazarus] RFC: remove StayOnTop for splash screen

2010-02-28 Thread Flávio Etrusco
On Mon, Mar 1, 2010 at 12:57 AM, Hans-Peter Diettrich wrote: > Flávio Etrusco schrieb: >> >> Hello guys, >> what do you think of removing the fsStayOnTop flag for the splash >> screen? It serves no purpose and is very annoying... > > +1 > > I already had removed the splash screen, because it was h

Re: [Lazarus] RFC: remove StayOnTop for splash screen

2010-02-28 Thread Flávio Etrusco
On Mon, Mar 1, 2010 at 2:14 AM, dmitry boyarintsev wrote: > 2010/3/1 Flávio Etrusco : >> what do you think of removing the fsStayOnTop flag for the splash >> screen? It serves no purpose and is very annoying... > > Agreed. > It's better to speed-up loading, rather than masking it with all kind > o

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Hans-Peter Diettrich
Sergei Gorelkin schrieb: There should be no need to test for the IDE. Just write messages to some named IPC channel, and have the IDE (or whatever other "log viewer" application) listen on the other side. IIRC this is how OutputDebugString works, it uses a named pipe for communication. I jus

Re: [Lazarus] RFC: remove StayOnTop for splash screen

2010-02-28 Thread Hans-Peter Diettrich
Flávio Etrusco schrieb: Hello guys, what do you think of removing the fsStayOnTop flag for the splash screen? It serves no purpose and is very annoying... +1 I already had removed the splash screen, because it was hiding error messages/dialogs on Lazarus start. It also happens to appear on th

Re: [Lazarus] debug windows layout

2010-02-28 Thread Hans-Peter Diettrich
Flávio Etrusco schrieb: If only there was a taskbar implementation that offered the feature to just group windows of the same process. I tried virtually every taskbar/dock implementation in existence and not a single one offer this. As already noted, I suspect that the application windows shou

Re: [Lazarus] RFC: remove StayOnTop for splash screen

2010-02-28 Thread dmitry boyarintsev
2010/3/1 Flávio Etrusco : > what do you think of removing the fsStayOnTop flag for the splash > screen? It serves no purpose and is very annoying... Agreed. It's better to speed-up loading, rather than masking it with all kind of splash screens. thanks, dmitry --

[Lazarus] RFC: remove StayOnTop for splash screen

2010-02-28 Thread Flávio Etrusco
Hello guys, what do you think of removing the fsStayOnTop flag for the splash screen? It serves no purpose and is very annoying... Best regards, Flávio -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Paul Ishenin
01.03.2010 2:33, dmitry boyarintsev wrote: On Sun, Feb 28, 2010 at 8:53 PM, Sergei Gorelkin wrote: There should be no need to test for the IDE. Just write messages to some named IPC channel, and have the IDE (or whatever other "log viewer" application) listen on the other side. IIRC this i

Re: [Lazarus] Custom panel-like TListBox list item

2010-02-28 Thread Mattias Gaertner
On Sun, 28 Feb 2010 17:39:47 -0500 Charl van Jaarsveldt wrote: > For example the list of emails in Outlook when you have the side-by-side > layout. It will show you who its from and the date at the top of the line - > left-aligned and right-aligned respectively, and the subject at the bottom > of

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Flávio Etrusco
On Sun, Feb 28, 2010 at 7:39 PM, Sergei Gorelkin wrote: > dmitry boyarintsev пишет: >> >> On Sun, Feb 28, 2010 at 8:53 PM, Sergei Gorelkin >> wrote: >>> >>> There should be no need to test for the IDE. Just write messages to some >>> named IPC channel, and have the IDE (or whatever other "log vie

Re: [Lazarus] Custom panel-like TListBox list item

2010-02-28 Thread Charl van Jaarsveldt
For example the list of emails in Outlook when you have the side-by-side layout. It will show you who its from and the date at the top of the line - left-aligned and right-aligned respectively, and the subject at the bottom of the line. I find it a nifty idea to save some horizontal space. Here is

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Sergei Gorelkin
dmitry boyarintsev пишет: On Sun, Feb 28, 2010 at 8:53 PM, Sergei Gorelkin wrote: There should be no need to test for the IDE. Just write messages to some named IPC channel, and have the IDE (or whatever other "log viewer" application) listen on the other side. IIRC this is how OutputDebugStrin

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread dmitry boyarintsev
On Sun, Feb 28, 2010 at 8:53 PM, Sergei Gorelkin wrote: > There should be no need to test for the IDE. Just write messages to some > named IPC channel, and have the IDE (or whatever other "log viewer" > application) listen on the other side. IIRC this is how OutputDebugString > works, it uses a na

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Sergei Gorelkin
Juha Manninen wrote: I never used OutputDebugString() in Delphi but I guess the main challenge is to detect if Lazarus IDE is present while the program is running. The rest should be easy. procedure OutputDebugString(Msg: string); begin if then IDEMsgIntf.IDEMessagesWindow.AddMsg(Msg,

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread ik
http://ik.homelinux.org/ On Sun, Feb 28, 2010 at 18:12, Pino Zollo wrote: > Il domenica 28 febbraio 2010 10:23:17 hai scritto: > > http://ik.homelinux.org/ > > > > On Sun, Feb 28, 2010 at 15:06, Pino Zollo wrote: > > > Hi everybody, > > > > > > -- I wish I were able to Copy (Ctl-C) a message t

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Pino Zollo
Il domenica 28 febbraio 2010 10:23:17 hai scritto: > http://ik.homelinux.org/ > > On Sun, Feb 28, 2010 at 15:06, Pino Zollo wrote: > > Hi everybody, > > > > -- I wish I were able to Copy (Ctl-C) a message that appears in the > > Message window, to be able to Paste it into a mail message to the for

Re: [Lazarus] debug windows layout

2010-02-28 Thread Flávio Etrusco
On Sun, Feb 28, 2010 at 5:37 AM, Graeme Geldenhuys wrote: > On 27 February 2010 08:12, Martin Schreiber wrote: >>> >> Does your desktop not offer a "Group similar tasks" option? On KDE one can >> set >> it to "Always" which groups windows of the same application into one taskbar >> button. Anoth

Re: [Lazarus] App locks at startup

2010-02-28 Thread SteveG
On 28/02/10 13:35, SteveG wrote: On 28/02/10 13:18, SteveG wrote: On 28/02/10 13:08, Andrew Brunner wrote: I would never Process Application Messages from a timer thread. I suspect a threadlock going on. Does it work OK without the application.processmessages? On Sat, Feb 27, 2010 at 9:02 PM,

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Juha Manninen
Hi, > Same as OutputDebugString() works in delphi I suppose. > Yes, I miss this too. I never used OutputDebugString() in Delphi but I guess the main challenge is to detect if Lazarus IDE is present while the program is running. The rest should be easy. procedure OutputDebugString(Msg: string);

Re: [Lazarus] debug windows layout

2010-02-28 Thread Hans-Peter Diettrich
Graeme Geldenhuys schrieb: Yes, Gnome's taskbar can group icons, but it simply stacks then in a submenu of a single button on the taskbar. When you click that taskbar button, it shows a "popup" window listing each window related to that task. Still useless. The same for KDE :-( BTW, Delphi us

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Paul Ishenin
28.02.2010 20:23, ik wrote: -- I wish I had some way to write into it from my application just to show some debugging information. I'm not sure that I understand. Same as OutputDebugString() works in delphi I suppose. Yes, I miss this too. Best regards, Paul Ishenin. --

Re: [Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread ik
http://ik.homelinux.org/ On Sun, Feb 28, 2010 at 15:06, Pino Zollo wrote: > Hi everybody, > > -- I wish I were able to Copy (Ctl-C) a message that appears in the Message > window, to be able to Paste it into a mail message to the forum. > Press right click on the message and choose the copy ty

[Lazarus] My two wishes for the Message window of the IDE

2010-02-28 Thread Pino Zollo
Hi everybody, -- I wish I were able to Copy (Ctl-C) a message that appears in the Message window, to be able to Paste it into a mail message to the forum. -- I wish I had some way to write into it from my application just to show some debugging information. Thanks Pino -- "In the univers

Re: [Lazarus] qt4-bindings v2.1

2010-02-28 Thread zeljko
On Sunday 28 February 2010 10:59, Thomas Moritz wrote: > Hello, > the new qt-bindings (v2.1) are available. > > > > This version provides libQt4Pas.so... > but the lcl is searching for libqt4intf.so. lcl is using 1.72. 2.1 will be avail

[Lazarus] qt4-bindings v2.1

2010-02-28 Thread Thomas Moritz
Hello, the new qt-bindings (v2.1) are available. This version provides libQt4Pas.so... but the lcl is searching for libqt4intf.so. Regards Th. Moritz -- ___ Lazarus mailing list Lazarus@lis

Re: [Lazarus] UTF-8 string recognition

2010-02-28 Thread Mattias Gaertner
On Sun, 28 Feb 2010 06:28:38 -0300 Antônio wrote: > I refer to a text loaded in a SynEdit by the user in which I need to > make some string manipulations. Ah, so not a string, but a whole text. See here http://wiki.lazarus.freepascal.org/Multiplatform_Programming_Guide#Text_encoding GuessEncod

Re: [Lazarus] UTF-8 string recognition

2010-02-28 Thread Antônio
I refer to a text loaded in a SynEdit by the user in which I need to make some string manipulations. Antônio 2010/2/28 Mattias Gaertner : > On Sun, 28 Feb 2010 00:46:12 -0300 > Antônio wrote: > >> There is no way to determine whether a string is in ANSI format or not? > > In general: No, because

Re: [Lazarus] debug windows layout

2010-02-28 Thread Silvio Clecio
Graeme Geldenhuys escreveu: The following ASCII art requires a mono font to view correctly. MDI interface +---+ | Main window | | | | +---+

Re: [Lazarus] debug windows layout

2010-02-28 Thread Graeme Geldenhuys
On 27 February 2010 08:34, Martin Schreiber wrote: > On Friday 26 February 2010 23:09:49 Graeme Geldenhuys wrote: >> >> With MSEide, if you dock windows together, it reduces the taskbar >> buttons - I sure hope Lazarus IDE does the same when docking is >> implemented. > > An screenshot of such a M

Re: [Lazarus] debug windows layout

2010-02-28 Thread Graeme Geldenhuys
On 27 February 2010 08:12, Martin Schreiber wrote: >> > Does your desktop not offer a "Group similar tasks" option? On KDE one can set > it to "Always" which groups windows of the same application into one taskbar > button. Another possibility is to use virtual desktops. Yes, Gnome's taskbar can

Re: [Lazarus] debug windows layout

2010-02-28 Thread Graeme Geldenhuys
On 27 February 2010 07:18, Hans-Peter Diettrich wrote: >> I think you meant other way round. :-) Old Delphi 7 and earlier used >> SDI interface by default. > > No, that's neither MDI nor SDI. Nope, it's SDI. :-) >> MDI (multi-document interface) is one big >> outer window with multiple other wi

Re: [Lazarus] UTF-8 string recognition

2010-02-28 Thread Mattias Gaertner
On Sun, 28 Feb 2010 00:46:12 -0300 Antônio wrote: > There is no way to determine whether a string is in ANSI format or not? In general: No, because every 8bit combination is valid. In specific case: Not every combination makes sense. So you can write heuristics. You should save/define the encod