Re: [Lazarus] Open URL in default browser X-platform

2008-12-05 Thread Graeme Geldenhuys
2008/12/5 Michael Schneider [EMAIL PROTECTED]: Interesting idea and I'm sure I can adapt it to a Free Pascal program. Unfortunately I couldn't get any of those scripts working on my system (Ubuntu 7.10). :-( Q 'n D approach BTW: That application was seriously full of memory leaks. ;-)

Re: [Lazarus] Cocoa bindings

2008-12-05 Thread Florian Klaempfl
Mac Programmer schrieb: It appears as though Felipe has provided a complete set of bindings for doing Cocoa development. Is it possible to cross-compile against these to create an app for the iPhone and iPod Touch? I don't believe the version of OS X on those devices includes the Carbon

Re: [Lazarus] Lazarus on Mac OS 10.5, 10.4

2008-12-05 Thread Geoffrey Barton
Mattias Gartner [EMAIL PROTECTED]: I installed the apple developer tools on a 10.5, installed laz and fpc and compiled lazarus without cwstring unit. The produced LCL applications run on 10.4 and 10.5. I didn't even alter the linker options or library paths as described in the wiki.

Re: [Lazarus] Cocoa bindings

2008-12-05 Thread Geoffrey Barton
On 5 Dec 2008, at 01:56, Felipe Monteiro de Carvalho wrote: 2008/12/4 Mac Programmer [EMAIL PROTECTED]: It appears as though Felipe has provided a complete set of bindings for doing Cocoa development. Yes, that is correct, althougth I would call it complete at the moment. It has the

Re: [Lazarus] Cocoa bindings

2008-12-05 Thread Gerard N/A
Hi Florian, I don't think that the iphone is a threat to WM. It is a treat to Nokia or Motorola which produce mobiles for people who don't install applications on their phone. Or does anybody expect any serius application development for the iphone as long as apple controls if you are

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Leonardo M. Ramé
Well, no, in Additional Info you can use only a predefined set of fields. It could be great if Lazarus allow adding custom fields. Leonardo. Graeme Geldenhuys escribió: On Fri, Dec 5, 2008 at 5:05 AM, Mac Programmer [EMAIL PROTECTED] wrote: In Delphi you can add additional keys to a

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Leonardo M. Ramé
It seems I'm placing the {$R myresource.rc} in the wrong place...when I try to compile I receive this error: windres: plugin.rc:15: syntax error NPDemo.lpr(26,1) Error: Error while compiling resources NPDemo.lpr(26,1) Fatal: There were 1 errors compiling module, stopping This is a the code:

[Lazarus] Examples of lazDaemon

2008-12-05 Thread User
I have installed the lazDaemon package but I do not know how to create a Daemon application. I need some examples. Best regards. ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Making components interpreted?

2008-12-05 Thread Reenen Laurie
Hi, I am totally just throwing an idea into the bush here (and don't understand the underlying difficulties)... At the moment Lazarus has to be recompiled if we want to add a new component. I tried that on an old laptop, and Lazarus is not a joke to recompile on older hardware (especially memory

Re: [Lazarus] Examples of lazDaemon

2008-12-05 Thread Michael Van Canneyt
On Fri, 5 Dec 2008, User wrote: I have installed the lazDaemon package but I do not know how to create a Daemon application. I need some examples. Check the examples/cleandirs directory for an example. Michael. ___ Lazarus mailing list

Re: [Lazarus] Examples of lazDaemon

2008-12-05 Thread User
When I try to compile the cleandirs.lpi application I get the error: Project Directory Cleaning service raised exception class 'EDaemon' with message: Options do not allow determining what needs to be done. Why? 2008/12/5 Michael Van Canneyt [EMAIL PROTECTED] On Fri, 5 Dec 2008, User

Re: [Lazarus] checklistbox on XP

2008-12-05 Thread Andrea Mauri
The problem is that CheckListBox on WinXP appears bigger on all the other applications. So if lazarus want to build applications that looks native checks must be bigger. regards, andrea Paul Ishenin ha scritto: Andrea Mauri wrote: Hi, I am trying to use checklistbox. On linux it seems to

[Lazarus] italian users

2008-12-05 Thread Giuseppe Fava
hi everybody, I'm thinking about to create an italian lazarus community and I'd like to know how many Italians are reading this list and how many of these are interested... Giuseppe ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

[Lazarus] Rebuilding LCL with FPC 2.3.1.

2008-12-05 Thread Antonio Sanguigni
Hi all, I'm having some troubles with fpc 2.2.3 of my distro (Arch Linux). I mean, I'm working again on a project that working well on 2.2.0 but now I'm having a lots of *EInvalidOp exceptions* on simple math operations. I saw there is a fpc bug opened for this problem, I tried ClearExceptions

Re: [Lazarus] Making components interpreted?

2008-12-05 Thread Marco van de Voort
On Fri, Dec 05, 2008 at 01:00:28PM +0200, Reenen Laurie wrote: I am totally just throwing an idea into the bush here (and don't understand the underlying difficulties)... At the moment Lazarus has to be recompiled if we want to add a new component. I tried that on an old laptop, and Lazarus

Re: [Lazarus] Cocoa bindings

2008-12-05 Thread Felipe Monteiro de Carvalho
On Fri, Dec 5, 2008 at 5:23 AM, dmitry boyarintsev [EMAIL PROTECTED] wrote: Felipe have you updated the objcparser to support ObjC 2.0? No, but this is very easy to do. Only a couple of routines changed from the ones I use. I didn't do it because I only have a 10.4 system which uses Objective-C

Re: [Lazarus] Making components interpreted?

2008-12-05 Thread Reenen Laurie
I think simply implementing packages would be easier, and also serves other purposes. (it's not just a plugin system for Lazarus, but at the same time for the generated apps) Is this in the short / mid term pipeline? Because I guess that's all I actually wanted, but thought that perhaps an

Re: [Lazarus] Cocoa bindings

2008-12-05 Thread dmitry boyarintsev
No, but this is very easy to do. Only a couple of routines changed from the ones I use. Not so easy :) there's property parsing is missing. There's 3 different type of properties, so different pascal code should be created in each case. Since, there's no Objc 2.0 headers for Mac OS X used, i've

Re: [Lazarus] Rebuilding LCL with FPC 2.3.1.

2008-12-05 Thread Vincent Snijders
Antonio Sanguigni schreef: Hi all, I'm having some troubles with fpc 2.2.3 of my distro (Arch Linux). I mean, I'm working again on a project that working well on 2.2.0 but now I'm having a lots of *EInvalidOp exceptions* on simple math operations. I saw there is a fpc bug opened for this

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Leonardo M. Ramé
Thanks Paul!, I've commented out these fields: #FILEFLAGSMASK VS_FFI_FILEFLAGSMASK #FILEOS VOS__WINDOWS32 #FILETYPE VFT_DLL and WindRes interpreted it perfectly. Leonardo M. Ramé Paul Ishenin escribió: Leonardo M. Ramé wrote: It seems I'm placing the {$R myresource.rc} in the wrong

[Lazarus] Attach to process...

2008-12-05 Thread Leonardo M. Ramé
Hi, does Lazarus supports a similar action like Delphi's Run - Attach to process...? I need to debug a Dll loaded by an external app. -- Leonardo M. Ramé ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

[Lazarus] Lazarus snapshot rpms now based on fpc 2.2.3

2008-12-05 Thread Vincent Snijders
Hi, The Lazarus snapshots are now build on a new machine which runs Ubuntu 8.10, which has a very recent gtk2 version. To be able to link Lazarus on Ubuntu 8.10, fpc 2.2.3 or later is required, therefore the snapshots use the fixes_2_2 branch for the moment. As always, snapshots can be

Re: [Lazarus] Portable error messages

2008-12-05 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On Fri, Dec 5, 2008 at 1:36 AM, Mark Morgan Lloyd [EMAIL PROTECTED] wrote: SysErrorMessage(GetLastError); If there a portable way (e.g. for Linux and Windows) in FPC? There is a SysUtils function called GetLastOSError(). it's cross-platform, but I don't know

Re: [Lazarus] Rebuilding LCL with FPC 2.3.1.

2008-12-05 Thread Antonio Sanguigni
Do you really have the latest fpc 2.3.1. AFAIK, these methods, the LCL is looking are available since a couple of months. You are rigth, Vincent. My blunder :(. Probably I didn't update my snapshot with svn up, so ... it solved the problem. Thank you so much. Antonio -- Antonio Sanguigni

Re: [Lazarus] Open URL in default browser X-platform

2008-12-05 Thread Michael Schneider
Am Freitag, 5. Dezember 2008 09:05:42 schrieb Graeme Geldenhuys: BTW: That application was seriously full of memory leaks. ;-) Attached is a new version, free of memory leaks including a few bug fixes. I have tested it successfully under KDE, Gnome, FVWM and XFCE. Regards, - Graeme -

Re: [Lazarus] KOL-CE How was overlapping menu fixed?

2008-12-05 Thread Felipe Monteiro de Carvalho
Thanks, I managed to get it working. -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] Warning: Unreachable code. Why?

2008-12-05 Thread Bart
In my browserdetection code I have this: const OS_HAS_DEFAULT_BROWSER = {$IFDEF WINDOWS}True{$ELSE}False{$ENDIF}; When I compile my program I get this warning: browserdetection.pp(187,34) Warning: unreachable code line 187 - if OS_HAS_DEFAULT_BROWSER then Exit; (the cursor then blinks on

Re: [Lazarus] Open URL in default browser X-platform

2008-12-05 Thread Bart
Hi there, Thank you all very much for your input. I cooked up some code that kind of works AFAICS. Only tested on my Suse for now, will test under Win9x some other time. Some questions of a more general nature remain: 1) When I execute the browser, using TProcess.Execute, how do I know if the

Re: [Lazarus] Warning: Unreachable code. Why?

2008-12-05 Thread Brad Campbell
Bart wrote: In my browserdetection code I have this: const OS_HAS_DEFAULT_BROWSER = {$IFDEF WINDOWS}True{$ELSE}False{$ENDIF}; When I compile my program I get this warning: browserdetection.pp(187,34) Warning: unreachable code line 187 - if OS_HAS_DEFAULT_BROWSER then Exit; (the

[Lazarus] Italian users

2008-12-05 Thread Giuseppe Fava
hi everybody, I'm thinking about to create an italian lazarus community and I'd like to know how many Italians are reading this list and how many of these are interested... Giuseppe ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] Making components interpreted?

2008-12-05 Thread Marco van de Voort
On Fri, Dec 05, 2008 at 02:36:48PM +0200, Reenen Laurie wrote: I think simply implementing packages would be easier, and also serves other purposes. (it's not just a plugin system for Lazarus, but at the same time for the generated apps) Is this in the short / mid term pipeline? Nobody

Re: [Lazarus] Lazarus on Mac OS 10.5, 10.4

2008-12-05 Thread Mattias Gaertner
On Fri, 5 Dec 2008 08:59:24 + Geoffrey Barton [EMAIL PROTECTED] wrote: Mattias Gartner [EMAIL PROTECTED]: I installed the apple developer tools on a 10.5, installed laz and fpc and compiled lazarus without cwstring unit. The produced LCL applications run on 10.4 and 10.5. I

Re: [Lazarus] Cocoa bindings

2008-12-05 Thread Mac Programmer
Maybe Florian could elaborate a bit on where the NDA issues lie. With developing a compiler, the run-time, the apps themselves? Sure it's a controlled environment. Welcome to the 21st century. Many of us develop software for organizations with extreme restrictions on what users can do with

[Lazarus] The Windows daily snapshots

2008-12-05 Thread Boian Mitov
Hi folks, The Windows daily snapshots list Updating for few hours already. Is there something wrong? With best regards, Boian Mitov --- Mitov Software www.mitov.com

Re: [Lazarus] Making components interpreted?

2008-12-05 Thread Thierry Coq
The research could be sped up quite fast by looking at how Kylix implemented package loading some time ago. I think it had dynamic loading on Unix. Best regards, Thierry Marco van de Voort wrote: On Fri, Dec 05, 2008 at 02:36:48PM +0200, Reenen Laurie wrote: I think simply implementing

Re: [Lazarus] Resources and Version info

2008-12-05 Thread Mac Programmer
Leonardo is correct. The Additional Info fields are just the rest of the Microsoft standard version info keys, probably because they couldn't fit on the main panel. Although it's fun to pay homage to Microsoft with a Windows-style nested dialog approach, this dialog should have used a

Re: [Lazarus] The Windows daily snapshots

2008-12-05 Thread Vincent Snijders
Boian Mitov schreef: Hi folks, The Windows daily snapshots list Updating for few hours already. Is there something wrong? I only see it on the French mirror, which says at the bottom: Hosted by shikami.org (for any technical issue please contact [EMAIL PROTECTED]) Vincent