Re: [lazarus] Wider use case for gamepack ? [LCL Keyboard handling discussion]

2008-01-31 Thread Marc Santhoff
Am Donnerstag, den 31.01.2008, 08:39 +0200 schrieb A.J. Venter: I haven't looked into the sources deeply, but can't you override some OnKeyXxx-methods to get the key events? I don't think there ARE any to overwrite- perhaps in the parent class for TCustomControl, but they aren't

Re: [lazarus] Wider use case for gamepack ?

2008-01-30 Thread Marc Santhoff
Am Mittwoch, den 30.01.2008, 17:05 +0200 schrieb A.J. Venter: Well, *I* think it's very cool. In fact, when I get back around to my life-long pet project (a chess engine extraordinaire :) this will be the first library I look at for the board UI. Me too, I'd like to play around and maybe do

Re: [lazarus] Wider use case for gamepack ?

2008-01-29 Thread Marc Santhoff
Am Dienstag, den 29.01.2008, 16:55 +0200 schrieb A.J. Venter: Hi all, I've been working on my gamepack component package for a long time (nearly 4 years now) and it's quite a nice set. Not perfect of course, but it's two components for gametype graphics do work very nicely. [...] My

Re: [lazarus] Introduction

2008-01-20 Thread Marc Santhoff
Am Sonntag, den 20.01.2008, 09:00 +0200 schrieb Graeme Geldenhuys: Always speaking about GTK-bugs but what about fpGUI bugs ? When using Lazarus and the LCL, the underlying toolkits are not under your control. It's quick and easy to fix fpGUI bugs. You can't fix Win32 native component bugs

Re: [lazarus] Introduction

2008-01-19 Thread Marc Santhoff
Am Samstag, den 19.01.2008, 19:09 +0200 schrieb Graeme Geldenhuys: For example, it a edit form the user might have left out some required details. Those edit forms will have their background colors set to yellow. As they enter information, the TEdit's background color gets reset (which is

Re: [lazarus] Introduction

2008-01-19 Thread Marc Santhoff
Am Samstag, den 19.01.2008, 19:39 +0100 schrieb Damien Gerard: On Jan 19, 2008, at 6:55 PM, Graeme Geldenhuys wrote: On 19/01/2008, Marc Santhoff [EMAIL PROTECTED] wrote: That was a rather nasty experience, because some theming engines interfere with this bar color (not implementing all

Re: [lazarus] Introduction

2008-01-19 Thread Marc Santhoff
Am Samstag, den 19.01.2008, 22:41 +0100 schrieb Damien Gerard: And since one incarnation will have to work on a pretty small embedded computer I'm very happy to get rid of the GTK1 (and it's bugs) Anyway GTk1 is a part of the past. GTK2 should be used instead and there is not a lot of

Re: [lazarus] Introduction

2008-01-19 Thread Marc Santhoff
Am Sonntag, den 20.01.2008, 01:30 +0100 schrieb Damien Gerard: On Jan 20, 2008, at 12:38 AM, Marc Santhoff wrote: Am Samstag, den 19.01.2008, 22:41 +0100 schrieb Damien Gerard: Anyway, are you saying fpGUI would be really interesting for embedded apps ? If yes That's interesting indeed

Re: [lazarus] Introduction

2008-01-19 Thread Marc Santhoff
Am Sonntag, den 20.01.2008, 02:13 +0100 schrieb Marc Santhoff: Without any integration with the rest of the OS. You still have the same count of software layers. fpGUI -- Xlib my program -- GTK1 -- Xlib LCL -- GTK1 -- Xlib One layer less, if you ask me. Which is rubbish and you're

Re: [lazarus] accessing internal widgetset handle

2008-01-05 Thread Marc Santhoff
Am Sonntag, den 06.01.2008, 01:13 +0700 schrieb Bee: BTW... which API should I use for this purpose, gtk or gdk? Both wrappers are provided in FPC/Lazarus and both provide similar API for the purpose. In term of Lazarus' LCL, what are the differences between both? Normally I'd tend to use

Re: [lazarus] madelbrot benchmark much faster

2008-01-02 Thread Marc Santhoff
Am Mittwoch, den 02.01.2008, 21:30 + schrieb Paulo Costa: At 18:46 02/01/2008, willem wrote: Vincent has made an improved Mandelbrot benchmark. i did run the original mandelbrot benchmark with N =5000. It took 2: 20 minutes. The improved version took 2:00 minutes. If you see

Re: [lazarus] Module viewer Controller

2007-12-28 Thread Marc Santhoff
Am Donnerstag, den 27.12.2007, 18:11 -0300 schrieb Wanderlan Santos dos Anjos: Is there any library for drawing graphs with shapes for nodes and labelled connectors? To be precise: it should be capable of drawing onto one of lazarus'

Re: [lazarus] Module viewer Controller

2007-12-28 Thread Marc Santhoff
Am Freitag, den 28.12.2007, 14:16 -0300 schrieb Wanderlan Santos dos Anjos: Hi Marc, I have plans to convert this lib, but not now. ___Please let me know if you decide to convert it___ I will, if so. I will try to help you, despite the little time I have at this moment. For me this

Re: [lazarus] Module viewer Controller

2007-12-27 Thread Marc Santhoff
Am Donnerstag, den 27.12.2007, 21:08 +0200 schrieb ik: On Dec 27, 2007 7:52 AM, Marc Santhoff [EMAIL PROTECTED] wrote: Am Dienstag, den 25.12.2007, 11:02 +0200 schrieb ik: Thank you all for answering. Good to see that other people have needs to ease their development :) I see: my

Re: [lazarus] Module viewer Controller

2007-12-26 Thread Marc Santhoff
Am Dienstag, den 25.12.2007, 11:02 +0200 schrieb ik: Thank you all for answering. Good to see that other people have needs to ease their development :) I see: my capability of giving unwanted answers is as sophisticated as yours asking vague questions. ;) Marc

Re: [lazarus] Module viewer Controller

2007-12-23 Thread Marc Santhoff
Am Sonntag, den 23.12.2007, 15:37 +0200 schrieb ik: Hello, I do not know if Lazarus or fpc-pascal is the right malling list... Anyway, I'm looking for an implementation of MVC for FPC/Lazarus. Does anyone knows about any implementation of that technique in FPC/Lazarus ?

Re: [lazarus] GUID generator in Lazarus

2007-12-05 Thread Marc Santhoff
Am Mittwoch, den 05.12.2007, 10:51 +0200 schrieb Graeme Geldenhuys: On 05/12/2007, Vincent Snijders [EMAIL PROTECTED] wrote: Graeme Geldenhuys schreef: Ctrl-Shift-G shows the procedure list (whatever that is ;-) :-) The content for the wiki page is almost done! (btw: That must be my

Re: [lazarus] GUID generator in Lazarus

2007-12-05 Thread Marc Santhoff
Am Mittwoch, den 05.12.2007, 20:40 +0100 schrieb Mattias Gaertner: On Wed, 05 Dec 2007 11:46:47 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: [...] Is there a complete list of key bindings used in lazarus anywhere? There is a complete tree of key bindings in the editor options. Why do

Re: [lazarus] returning empty published property from component

2007-12-04 Thread Marc Santhoff
Am Dienstag, den 04.12.2007, 10:54 +0100 schrieb Mattias Gaertner: On Tue, 04 Dec 2007 02:55:02 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: Hi, what is the convention for returning unset published properties when making a component? For numerical values it is 0 or eventually

RE: [lazarus] returning empty published property from component

2007-12-04 Thread Marc Santhoff
Am Dienstag, den 04.12.2007, 18:32 + schrieb Sam Liddicott: How should it be any diferent from normal access via the property getter? If you use the rtti you can tell whether or not the curent value is the default value, but you can't tel if it is the default value by default or by

[lazarus] returning empty published property from component

2007-12-03 Thread Marc Santhoff
Hi, what is the convention for returning unset published properties when making a component? For numerical values it is 0 or eventually a default value, but how about strings? Should an empty string be returned or a NIL pointer? I'm mostly thinking of property editors and the object inspector

Re: [lazarus] TProcess.Input problem

2007-11-29 Thread Marc Santhoff
Am Donnerstag, den 29.11.2007, 23:27 + schrieb Malcolm Poole: I've thought of a workaround for overwriting files using only dar, but I think I may need to scale down my app a bit to avoid situations where dar asks for input. This would be best, you could integrate anything necessary in

Re: [lazarus] Google's Android OS :)

2007-11-26 Thread Marc Santhoff
Am Montag, den 26.11.2007, 08:28 +0100 schrieb willem: Marc Santhoff wrote: Did you find the .g file somewhere on the website? Or have you transformed it to antlr by yourself? I can't find it, even in the downloadable source archive of dgrok I didn't see anything like

Re: [lazarus] Google's Android OS :)

2007-11-25 Thread Marc Santhoff
Hi Willem, Am Freitag, den 23.11.2007, 10:19 +0100 schrieb willem: Pieter Valentijn wrote: Hi Willem Nice to see your from holland to. Im sure where all intrested in what ever you can produce. You seem to have a impressive ambition that is supporten by your experience. Sorry in my

Re: [lazarus] Serial Comm Support Windows

2007-11-24 Thread Marc Santhoff
Am Samstag, den 24.11.2007, 12:39 -0700 schrieb Jeff Steinkamp: I know there is a serial unit for Linux/Unix, but is there similar support for serial communications for the Windows Platform? Someone posted a unit for win32 lately. If it is not in the sources yet you may find it searching the

[lazarus] keyboard hooking on X

2007-11-19 Thread Marc Santhoff
Hi, some time ago I made a keyboard beeper with lazarus working on Win98 and Win2k. I used the system hook for this purpose. Is there something like this system wide keyboard hook on X, so that I can port the beeper to *nix systems? TIA, Marc

Re: [lazarus] [fpc] Request about winCE compatibility

2007-11-14 Thread Marc Santhoff
Am Mittwoch, den 14.11.2007, 09:15 +0100 schrieb Alvise Nicoletti: the problem is that ARM, (i'm reading from wikipedia) is a licensed mark, so there are indipendent brands that product CPUs with different names but similar tecnology. So I have some difficultys, ordering palms for my

Re: [lazarus] ParentWindow

2007-11-11 Thread Marc Santhoff
Am Sonntag, den 11.11.2007, 12:21 +0100 schrieb Mattias Gaertner: On Sun, 11 Nov 2007 09:16:04 +0100 Marc Santhoff [EMAIL PROTECTED] wrote: [...] Only out of curiosity: Wouldn't a X Windows window ID do? I think that's the equivalent to WinAPIs handles. GDK_WINDOW_XWINDOW

Re: [lazarus] Lazarus and InstantObjects ?

2007-11-11 Thread Marc Santhoff
Am Sonntag, den 11.11.2007, 13:00 +0100 schrieb Michael Van Canneyt: On Sun, 11 Nov 2007, Graeme Geldenhuys wrote: BTW. Graeme, the RTTI controls make much of your MV(*) layers redundant or at least even more of a breeze. If you want I can send you an article I wrote a couple of years

Re: [lazarus] Object Pascal (Delphi Lazarus) developers are spoilt

2007-11-09 Thread Marc Santhoff
Am Freitag, den 09.11.2007, 09:27 +0200 schrieb Graeme Geldenhuys: Hi, It's just amazing how many cool features we have in the compilers and especially the IDE's. The biggest _cool_ feature is the jumping between Interface and Implementation sections for a method (Ctrl+Shift+Up/Down).

Re: [lazarus] Emulate keyboard input like Windows Screen Keyboard

2007-11-01 Thread Marc Santhoff
Am Donnerstag, den 01.11.2007, 17:03 +0300 schrieb 12 12: Is there any cross-platform way to implement subj? Suppose I need from Form2 to add some letter into TEdit which placed on Form1. Except of WinAPI's SendInput. At least for all X Windows platforms you can use the Xtst extension to the

Re: [lazarus] Anybody using FVWM window manager?

2007-10-24 Thread Marc Santhoff
Am Mittwoch, den 24.10.2007, 09:51 +0200 schrieb Graeme Geldenhuys: Hi, I switched from Gnome to FVWM. I've noticed that now some dialogs show without a title bar. Is this a X11 feature implemented in FVWM and not in Gnome? A possible bug in FVWM - which one is correct? Anybody know what

Re: [lazarus] Anybody using FVWM window manager?

2007-10-24 Thread Marc Santhoff
Am Mittwoch, den 24.10.2007, 22:26 +0200 schrieb Marc Santhoff: Am Mittwoch, den 24.10.2007, 09:51 +0200 schrieb Graeme Geldenhuys: Hi, I switched from Gnome to FVWM. I've noticed that now some dialogs show without a title bar. Is this a X11 feature implemented in FVWM

Re: [lazarus] Why is this code failing in Windows

2007-10-19 Thread Marc Santhoff
Am Freitag, den 19.10.2007, 20:00 -0700 schrieb Jeff Steinkamp: program splog; {$mode objfpc}{$H+} uses {$IFDEF UNIX}{$IFDEF UseCThreads} cthreads, {$ENDIF}{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, Unit1, //contains the main form Unit2,

Re: [lazarus] beginners questions on handling lazarus

2007-10-16 Thread Marc Santhoff
Am Dienstag, den 16.10.2007, 10:55 +0200 schrieb Joost van der Sluis: Op dinsdag 16-10-2007 om 02:19 uur [tijdzone +0200], schreef Marc Santhoff: Am Dienstag, den 16.10.2007, 01:53 +0200 schrieb Mattias Gaertner: On Tue, 16 Oct 2007 01:10:08 +0200 Marc Santhoff [EMAIL PROTECTED] wrote

Re: [lazarus] beginners questions on handling lazarus

2007-10-16 Thread Marc Santhoff
Am Dienstag, den 16.10.2007, 11:07 +0200 schrieb Vincent Snijders: Joost van der Sluis schreef: Op dinsdag 16-10-2007 om 08:43 uur [tijdzone +0800], schreef Paul Ishenin: Marc Santhoff wrote: Getting HEAD or trunk is no problem, but I have to support FreeBSD 4 and thus fpc 2.0.4

[lazarus] beginners questions on handling lazarus

2007-10-15 Thread Marc Santhoff
Hi, since I'm not a very frequently user of lazarus I have some questions the FAQ could not answer: 1. Is it possible to build lazarus with my custom list of installed components from the command line? 2. I installed the Interbase support (Okay, my laz version is pretty old ;) and there is no

Re: [lazarus] beginners questions on handling lazarus

2007-10-15 Thread Marc Santhoff
Am Dienstag, den 16.10.2007, 01:53 +0200 schrieb Mattias Gaertner: On Tue, 16 Oct 2007 01:10:08 +0200 Marc Santhoff [EMAIL PROTECTED] wrote: Hi, since I'm not a very frequently user of lazarus I have some questions the FAQ could not answer: 1. Is it possible to build lazarus

Re: [lazarus] beginners questions on handling lazarus

2007-10-15 Thread Marc Santhoff
Am Dienstag, den 16.10.2007, 08:43 +0800 schrieb Paul Ishenin: Marc Santhoff wrote: Getting HEAD or trunk is no problem, but I have to support FreeBSD 4 and thus fpc 2.0.4 for a while. This requirement leads to checking out the last version of lazarus compilable and working flawlessly

Re: [lazarus] Lazarus and Gtk2 under Mac OS X

2007-10-12 Thread Marc Santhoff
Am Freitag, den 12.10.2007, 11:02 +0200 schrieb Felipe Monteiro de Carvalho: -k'-dylib_file' -k'/usr/local/ I have no idea about macs linker, but if the second is a parameter to the first you'd probably try: -k'-dylib_file' '/usr/local/...' On FreeBSD I had to use linker switches too, looking

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-12 Thread Marc Santhoff
Am Freitag, den 12.10.2007, 14:02 +0200 schrieb Andreas Gick: Well the most obvious place, where the keycode could vanish is the following procedure: procedure TfpgEdit.HandleKeyChar(var AText: string; var shiftstate: TShiftState; var consumed: boolean); var s: string; prevval:

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-04 Thread Marc Santhoff
Am Mittwoch, den 03.10.2007, 12:11 +0200 schrieb Graeme Geldenhuys: Using fpGUI as a widget set in Lazarus. How would this affect things? Does the underlying toolkit pass keyboard input to LCL or does it go from LCL to the underlying toolkit? I have no idea about that. Use the source, Luke!

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-03 Thread Marc Santhoff
Am Mittwoch, den 03.10.2007, 08:52 +0200 schrieb Graeme Geldenhuys: How do I enter a 'ö' character when I use a Programmer Dvorak keyboard layout and my Linux LANG environment variable is set to en_ZA.UTF-8?? Do I need to change my keyboard to a German (or any other foreign language) layout

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-02 Thread Marc Santhoff
Am Dienstag, den 02.10.2007, 18:50 +0200 schrieb Andreas Gick: Thanks for the quick answers Well there is a similar function in the source of fpgui that I included as attachment (at around line 414), and I'm not sure, why it only works with ASCII characters. But maybe I also need

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-01 Thread Marc Santhoff
Am Montag, den 01.10.2007, 12:35 +0200 schrieb Andreas Gick: Hi everybody, as I want to help out with internationalization of the fpGUI widget set at least for the X-Window system, I need some information on how the keysyms of the X-Window can be translated into characters. For example

Re: [lazarus] utf-8/unicode and keyboard input

2007-10-01 Thread Marc Santhoff
Am Montag, den 01.10.2007, 13:16 +0200 schrieb Marc Santhoff: ks := XStringToKeysym(pchar(key)); kc := XKeySymToKeycode( display, ks ); Sorry, but this is not really correct, you more likely want to do it the other way round: XKeycodeToKeysym(...) seems to be more

[lazarus] last svn version for use with fpc 2.0.4

2007-09-11 Thread Marc Santhoff
Hi, as the subject says, what is the last compilable and flawlessly working svn version of lazarus for use with fpc 2.0.4? TIA, Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: [lazarus] Application.ProcessMessages alternative

2007-08-23 Thread Marc Santhoff
Am Donnerstag, den 23.08.2007, 17:02 +0200 schrieb Graeme Geldenhuys: Hi, Anybody know what is a alternative (non-GUI) way for the Application.ProcessMessages call? I'm trying to make tiOPF's Core code non-GUI, but not sure what to do with this call. It's used in a TerminateThreads()

Re: [lazarus] deploying lazarus with custom components

2007-08-21 Thread Marc Santhoff
Am Dienstag, den 21.08.2007, 07:44 +0200 schrieb Vincent Snijders: Marc Santhoff schreef: Am Dienstag, den 21.08.2007, 00:35 +0200 schrieb Vincent Snijders: Marc Santhoff schreef: Am Sonntag, den 19.08.2007, 21:05 +0200 schrieb Mattias Gaertner: I started a wiki page about this topic

Re: [lazarus] VOOE Programming ? so what about running in a browser someday...?

2007-08-20 Thread Marc Santhoff
Am Dienstag, den 21.08.2007, 00:26 +1000 schrieb David Lyon: The important issues here are keeping our Legacy app codebases, and somehow moving them into a browser. You have identified some of the issues and suggested some very good solutions. Over time, it would be nice to be able to see

Re: [lazarus] deploying lazarus with custom components

2007-08-20 Thread Marc Santhoff
Am Sonntag, den 19.08.2007, 21:05 +0200 schrieb Mattias Gaertner: I started a wiki page about this topic: http://wiki.lazarus.freepascal.org/Install_IDE_packages_without_the_IDE I see, so it's necessary to make packages out of the components. Thanks, Marc

Re: [lazarus] deploying lazarus with custom components

2007-08-20 Thread Marc Santhoff
Am Dienstag, den 21.08.2007, 00:35 +0200 schrieb Vincent Snijders: Marc Santhoff schreef: Am Sonntag, den 19.08.2007, 21:05 +0200 schrieb Mattias Gaertner: I started a wiki page about this topic: http://wiki.lazarus.freepascal.org/Install_IDE_packages_without_the_IDE I see, so it's

[lazarus] deploying lazarus with custom components

2007-08-19 Thread Marc Santhoff
Hi, if I had to install lazarus and a set of custom additional components to a small bunch of developers machines, how could I do that automatically? The complete process should run unattended by some shell command (à la make deploy target machine). I kow how to install to and make programs on

Re: [lazarus] arm-linux

2007-08-03 Thread Marc Santhoff
Am Freitag, den 03.08.2007, 10:37 -0400 schrieb Tony Maro: On Fri, 2007-08-03 at 10:29 -0400, Tony Maro wrote: On Fri, 2007-08-03 at 11:45 +0200, Luca Olivetti wrote: If you're cross-compiling, you need the target libraries at hand and specify the path with -Fl, then add -Xr with

Re: [lazarus] arm-linux

2007-08-02 Thread Marc Santhoff
Am Donnerstag, den 02.08.2007, 20:01 -0400 schrieb Tony Maro: On Thu, 2007-08-02 at 18:51 -0400, Tony Maro wrote: I created a simple console app and ran the following at a command line: ppcarm -Xd -Sd -XParm-linux- project1.lpr Worked like a charm. Placing those options in the

Re: [lazarus] GTK2 for arm-linux

2007-07-23 Thread Marc Santhoff
Am Sonntag, den 22.07.2007, 18:43 +0200 schrieb Koenraad Lelong: Marc Santhoff schreef: Am Sonntag, den 22.07.2007, 12:44 +0200 schrieb Koenraad Lelong: startx on the board (via ssh) gives me a nice xterm with an active mouse-cursor on the board's LCD. There I can run my old GTK2

Re: [lazarus] GTK2 for arm-linux

2007-07-22 Thread Marc Santhoff
Am Sonntag, den 22.07.2007, 12:44 +0200 schrieb Koenraad Lelong: startx on the board (via ssh) gives me a nice xterm with an active mouse-cursor on the board's LCD. There I can run my old GTK2 application. If I start my lazarus app I get the error-message on the LCD. If I do xinit old-app

Re: [lazarus] How to hide the mouse cursor?

2007-06-30 Thread Marc Santhoff
nearly at the same time you found out yourself, but the mail didn't make it to the list ... is there moderation or filtering involved? Marc Von: Marc Santhoff [EMAIL PROTECTED] An: lazarus@miraclec.com

Re: [lazarus] How to hide the mouse cursor?

2007-06-28 Thread Marc Santhoff
Am Donnerstag, den 28.06.2007, 16:32 +0200 schrieb Lord Satan: On Thu, 28 Jun 2007 07:10:29 +0800 Павел Ишенин [EMAIL PROTECTED] wrote: Not to do this you can create ico file with empty shape, load it and set cursor to it: Screen.Cursors[1] :=

Re: [lazarus] How to hide the mouse cursor?

2007-06-28 Thread Marc Santhoff
Am Donnerstag, den 28.06.2007, 20:23 +0200 schrieb Marc Santhoff: After that I'm using the ugly hack of moving the cursor offscreen, too. Actually I don't do. I misread my old code, moving off screen gives focus problems ... Marc

Re: [lazarus] FindFirst/FindNext or FPReadDir

2007-06-21 Thread Marc Santhoff
Am Donnerstag, den 21.06.2007, 21:55 +0200 schrieb Peter Vreman: The code in the 2.1.4 is already completly rewritten. It is not in the same style as the findfirst in the Dos unit for unix that is also in 2.0.4. Please look at that code and forget the code above. Good news, I'll look at it.

Re: [lazarus] TOpendialog.InitialDir

2007-05-30 Thread Marc Santhoff
Am Mittwoch, den 30.05.2007, 16:23 -0400 schrieb Alain Michaud: --- My fstab does not say anything about .../floppy... That does not seem normal? Yes, that's pretty normal. Although many linux distros come with some preparation: the automounter daemon. Open an xterm an type man amd, that should

Re: [lazarus] Lazarus software as Linux Service

2007-05-11 Thread Marc Santhoff
Am Freitag, den 11.05.2007, 09:27 +0200 schrieb Alvise Nicoletti: Marc Santhoff ha scritto: Am Donnerstag, den 10.05.2007, 16:51 +0200 schrieb Alvise Nicoletti: Hi... I have to create a linux service (server side) that: 1) accept tpc connection from a graphical GUI that I will do

Re: [lazarus] Lazarus software as Linux Service

2007-05-10 Thread Marc Santhoff
Am Donnerstag, den 10.05.2007, 16:51 +0200 schrieb Alvise Nicoletti: Hi... I have to create a linux service (server side) that: 1) accept tpc connection from a graphical GUI that I will do probably for windows 2) reads writes on a mysql database on the localhost 3) sends some commands to a

Re: [lazarus] objcom

2007-03-17 Thread Marc Santhoff
Am Freitag, den 16.03.2007, 23:02 -0400 schrieb Lv: Do you have any other known source for simple byte transmit and receive for serial ports (ttyS0,1,2,3). For simple things on *nix you can use: ${fpc}/rtl/unix/serial.pp Have fun, Marc

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

2007-03-07 Thread Marc Santhoff
Am Mittwoch, den 07.03.2007, 12:39 +0200 schrieb Adrian Maier: Hello, I am compiling Lazarus with the gtk1 interface (in Mandriva Linux 2007), and unfortunately can't find any font for the code editor that looks acceptable. a) I'm wondering what fonts are other people using?

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

2007-03-07 Thread 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 to: snip gtk_init (@argc, @argv); gtk_rc_parse( your_preferred_rc_file ) ... other inits .. gtk_main (); /snip Can

Re: [lazarus] keyboard/mouse script for linux

2007-02-10 Thread Marc Santhoff
Am Samstag, den 10.02.2007, 22:28 +0100 schrieb Vincent Snijders: Hi, I am trying to create some automated tests for lcl applications (see lazarus\test). ATM these application just start and in the first application OnIdle event write some output to the console (for example the color of

Re: [lazarus] cursor not reaching end of line

2007-01-26 Thread Marc Santhoff
Am Samstag, den 20.01.2007, 13:43 +0100 schrieb 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

Re: [lazarus] cursor not reaching end of line

2007-01-20 Thread Marc Santhoff
Am Samstag, den 20.01.2007, 12:49 +0100 schrieb 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

Re: [lazarus] cursor not reaching end of line

2007-01-20 Thread Marc Santhoff
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 do you mean? And, is this only a matter of confilicting settings or e real bug?

[lazarus] cursor not reaching end of line

2007-01-19 Thread Marc Santhoff
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 one char not reachable, other have two chars of. It makes no difference if I use

Re: [lazarus] cursor not reaching end of line

2007-01-19 Thread Marc Santhoff
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: After lazarus started with the project I last worked at and in some

Re: [lazarus] cursor not reaching end of line

2007-01-19 Thread Marc Santhoff
Hi, I've played around some time: Am Samstag, den 20.01.2007, 08:00 +0100 schrieb Marc Santhoff: first lines of one file having the cursor problem unit hdf5obj; {$mode objfpc} interface uses hdf5, ArrayTypes; type { checked valid path } { not necessary THdf5Path

Re: [lazarus] cursor not reaching end of line

2007-01-19 Thread Marc Santhoff
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, the windows get the same state as minimized. When switching back something is not

Re: [lazarus] compilation fails because of lib names

2006-12-31 Thread Marc Santhoff
Am Samstag, den 30.12.2006, 18:43 +0100 schrieb Marco van de Voort: On Sat, Dec 30, 2006 at 04:58:34PM +0100, Marc Santhoff wrote: while trying to compile lazarus from svn I've stumbled over a problem regarding FreeBSD 4. The names for the GTK1.2-libs are different from what is found on my

Re: [lazarus] Can't type [] {} in code editor under linux

2006-12-31 Thread Marc Santhoff
Am Sonntag, den 31.12.2006, 16:42 +0100 schrieb Marc Weustink: I used XKeyCodeToKeysym to retrieve all keysyms and that function appears to be broken. I now switched to XGetKeyboardMapping to retrieve all in one go (is also more efficient) and that one reports the correct values. May I ask,

[lazarus] running preprocessor from lazarus

2006-11-30 Thread Marc Santhoff
Hi, I know this is a question regarding fpc and lazarus, but I decided to post to this list: If one would want to run the complete sources of a project through a preprocessor transparently when compiling in the lazarus IDE, would this be possible with fpc and lazarus as they are now? Or will it

Re: [lazarus] running preprocessor from lazarus

2006-11-30 Thread Marc Santhoff
Am Donnerstag, den 30.11.2006, 23:20 +0100 schrieb Michael Van Canneyt: On Thu, 30 Nov 2006, Marc Santhoff wrote: Hi, I know this is a question regarding fpc and lazarus, but I decided to post to this list: If one would want to run the complete sources of a project through

Re: [lazarus] running preprocessor from lazarus

2006-11-30 Thread Marc Santhoff
Am Donnerstag, den 30.11.2006, 23:44 +0100 schrieb Vincent Snijders: Marc Santhoff schreef: Hi, I know this is a question regarding fpc and lazarus, but I decided to post to this list: If one would want to run the complete sources of a project through a preprocessor transparently

Re: [lazarus] Gtk1 + bsNone + StayOnTop = no input?

2006-11-28 Thread Marc Santhoff
Am Dienstag, den 28.11.2006, 22:37 +0100 schrieb Aleš Katona: Hi, I tried to emulate a fullscreen by setting these things on my gtk1 form. It looks ok but all input is lost, even from within X level. I have done similar things, a fullscreen form freely positioned at 0,0 without any window

Re: [lazarus] Python interpreter linked with a Lazarus application

2006-11-22 Thread Marc Santhoff
Am Mittwoch, den 22.11.2006, 14:27 +0100 schrieb Mattias Gaertner: No solution to your problem, but: I'd really love to have something like that for fpc/lazarus. Reading xml and generating form components according to default or configured mapping would be very helpful in creating

Re: [lazarus] 0.9.20 released

2006-11-10 Thread Marc Santhoff
Am Freitag, den 10.11.2006, 05:32 -0700 schrieb John Meyer: When I bring up the alt+f2 command and type lazarus, it gives me the following error: KDEInit could not launch /usr/share/lazarus/startlazarus Also, the icon in the start menu won't work, but creating an icon on the desktop to run

Re: [lazarus] 0.9.20 released

2006-11-10 Thread Marc Santhoff
Am Freitag, den 10.11.2006, 17:10 -0700 schrieb John Meyer: [EMAIL PROTECTED]:~ which startlazarus /usr/bin/startlazarus Look at this path ... [EMAIL PROTECTED]:~ which lazarus /usr/bin/lazarus [EMAIL PROTECTED]:~ Helps? Marc Santhoff wrote: Am Freitag, den 10.11.2006, 05:32 -0700

Re: [lazarus] 0.9.20 released

2006-11-10 Thread Marc Santhoff
Am Freitag, den 10.11.2006, 21:05 -0700 schrieb John Meyer: Okay, changed that in the KDE environment and now pulls up like a charm. It's not that much of an obvious solution (namely, didn't know the alt+f2 didn't just go to that executable), but I should have checked there. The question is

[lazarus] form loading code

2006-11-06 Thread Marc Santhoff
Hi, can someone please tell me where in the lazarus source the code loading and storing forms is located? TIA, Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] form loading code

2006-11-06 Thread Marc Santhoff
Am Montag, den 06.11.2006, 18:36 +0100 schrieb Michael Van Canneyt: On Mon, 6 Nov 2006, Marc Santhoff wrote: Hi, can someone please tell me where in the lazarus source the code loading and storing forms is located? It's in the RTL of freepascal. TComponent and TWriter/TReader

Re: [lazarus] LCL app (fpcUnit tests) with Clipboard features from console

2006-10-04 Thread Marc Santhoff
Am Mittwoch, den 04.10.2006, 14:59 +0200 schrieb Michael Van Canneyt: On Wed, 4 Oct 2006, Graeme Geldenhuys wrote: On 04/10/06, Michael Van Canneyt [EMAIL PROTECTED] wrote: There is no way to do this properly. To be able to test the clipboard, there must be X, GTK, and whatever it

Re: [lazarus] avoiding multi-instance detection

2006-10-02 Thread Marc Santhoff
Am Montag, den 02.10.2006, 17:51 +0200 schrieb Ales Katona: FreeBSD might or might not have /proc mounted. Default is no however, so you can't be sure. However you can still save the pid # of the process in some file, then when starting a new one, read this number, check output of ps (or use

Re: [lazarus] TFileStream - File Type?

2006-10-02 Thread Marc Santhoff
Am Montag, den 02.10.2006, 19:27 +0100 schrieb Kris Leech: Nice idea but I want everything to be in one file for deployment/versioning purposes as well as having the option of using encryption. All files put in to the SFS can be encrypted on the fly. I would also need to keep a copy of

Re: [lazarus] new translations

2006-09-26 Thread Marc Santhoff
Am Dienstag, den 26.09.2006, 12:39 +0200 schrieb Marc Weustink: Marc Weustink wrote: Vincent Snijders wrote: A.J. Venter schreef: Why not just *.af.po? Are there other (incompatible) version of Afrikaans besides af_ZA? Surprizingly yes :) There are six official af locales: af_ZA

Re: [lazarus] Still trying....

2006-09-19 Thread Marc Santhoff
Am Dienstag, den 19.09.2006, 15:40 +0700 schrieb Colin Lehmann: I am still here, day three and I am still looking for the compiler path. I have reinstalled FreePascal. Lazarus and Lazarus is still not happy with /usr/local/lib/fpc/2.0.4/units/i386-linux/rtl/ which is where locate system.ppu

Re: [lazarus] Terminal control

2006-09-15 Thread Marc Santhoff
Am Freitag, den 15.09.2006, 13:28 + schrieb Mark Morgan Lloyd: As part of the long and drawn out process of migrating from Delphi I'm trying to eliminate any reliance on proprietary controls such as RichEdit. For a number of jobs I'd like something which is basically a simple terminal

Re: Res: Re: [lazarus] Installing....

2006-09-10 Thread Marc Santhoff
Am Montag, den 11.09.2006, 09:39 +0700 schrieb Colin Lehmann: Onjahyr wrote: Hi It installs the package of its distribution. GLib is an installation package, after you installing, continues with the installation of the Lazarus. [...] Are you saying the Lazarus installation is

Re: Res: Re: [lazarus] Installing....

2006-09-10 Thread Marc Santhoff
Me again, I left out the lazarus side, in my first mail the installation of fpc was investigated... Maybe you have to add the path to the fpc compiled units (.ppu) to lazarus' search path correctly? HTH, Marc _ To

Re: [lazarus] looking for a xml class/component to play with opendocument

2006-09-06 Thread Marc Santhoff
Am Mittwoch, den 06.09.2006, 09:43 +0200 schrieb Michael Van Canneyt: On Wed, 6 Sep 2006, Marc Santhoff wrote: Am Dienstag, den 05.09.2006, 15:38 +0200 schrieb Graeme Geldenhuys: On 9/5/06, Alexandre Leclerc [EMAIL PROTECTED] wrote: Thank you Graeme, I was thinking to use zLib

Re: [lazarus] looking for a xml class/component to play with opendocument

2006-09-05 Thread Marc Santhoff
Am Dienstag, den 05.09.2006, 15:38 +0200 schrieb Graeme Geldenhuys: On 9/5/06, Alexandre Leclerc [EMAIL PROTECTED] wrote: Thank you Graeme, I was thinking to use zLib in another project. So your simpler unit will be usefull. As for OOo fromat, it is zip format (just rename a file an unpack

Re: [lazarus] Save error: unable to create stream Form1:TForm. Access violation

2006-07-21 Thread Marc Santhoff
Am Freitag, den 21.07.2006, 09:05 -0400 schrieb Alexandre Leclerc: I'm still learning to work with comand line gdb. You could try ddd if you dislike command lines. HTH, Marc _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] no widestring support in FreeBSD4

2006-05-18 Thread Marc Santhoff
Am Donnerstag, den 18.05.2006, 08:24 +0200 schrieb Mattias Gaertner: On Thu, 18 May 2006 05:22:34 +0200 Marc Santhoff [EMAIL PROTECTED] wrote: My Questions: Can the use of cwstring be switched off? If not, what would be the most appropriate way of handling the missing functions

[lazarus] no widestring support in FreeBSD4

2006-05-17 Thread Marc Santhoff
Hi, since I'm sort of a lazy updater I didn't notice earlier: Lazarus doesn't compile on FreeBSD 4 any more, since some newer functions are missing. Linking ../lazarus /home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In function

  1   2   >