Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco van de Voort
On Wed, Feb 06, 2008 at 11:37:41PM +0100, Felipe Monteiro de Carvalho wrote: On Feb 6, 2008 10:45 PM, Marco van de Voort [EMAIL PROTECTED] wrote: There already is FPC on mobile devices. For the rest, the FAQ mostly applies: http://www.hu.freepascal.org/faq.var#dotnet I think this is a

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Michael Van Canneyt
On Wed, 6 Feb 2008, Marco Alvarado wrote: 2008/2/6, Wanderlan Santos dos Anjos [EMAIL PROTECTED]: Options for a Pascal compiler which targets Java: 1. http://www.mhccorp.com/pasjvm.shtml 2. http://en.wikipedia.org/wiki/MIDletPascal. Dead product? Download:

[lazarus] Who is the controlling 'native' widget set in LCL?

2008-02-07 Thread Graeme Geldenhuys
Hi, I'm not trying to start a flame war, I would simply like to understand the thinking and decision process of the core lazarus developers regarding the LCL features. I'm sure any developer using LCL would like the following answers as well. For more background on this issue see the mantis bug

Re: [lazarus] Who is the controlling 'native' widget set in LCL?

2008-02-07 Thread Florian Klaempfl
Graeme Geldenhuys schrieb: So, my question again: Is Win32 the controlling widget set in LCL? Is Win32 the deciding widget set for what is allowed in the LCL? If Win32 doesn't support it, it's not going to be supported in the LCL - even if the other native widget sets support a function? I

Re: [lazarus] Who is the controlling 'native' widget set in LCL?

2008-02-07 Thread Paul Ishenin
Graeme Geldenhuys wrote: Hi, I'm not trying to start a flame war, I would simply like to understand the thinking and decision process of the core lazarus developers regarding the LCL features. I'm sure any developer using LCL would like the following answers as well. For more background on

[lazarus] Open URL in a browser

2008-02-07 Thread Antonio Sanguigni
Hi all, I'm trying to create an hyperlink component but I'm having some difficult to catch default browser under Linux. In Windows it has to be easier but I would like to find an elegant cross-platform way. I saw the Lazarus Ide has Help - OnLine help menu which I can get a look. Any suggest to

Re: [lazarus] Behavior of ClientToScreen in scrolling windows across different widget sets

2008-02-07 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: While debugging scrolling bugs in LCL i found that ClientToScreen acts differently according to the widget set. These are the behaviors: 1) The returned value is related to the actual position, i.e., it does not consider the scroll offset. If you pass

Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
Hi, On Debian bases system (I don't know on others) there is an alternative that known as x-www-browser that holds the default web browser. On Feb 7, 2008 12:18 PM, Antonio Sanguigni [EMAIL PROTECTED] wrote: Hi all, I'm trying to create an hyperlink component but I'm having some difficult to

Re: [lazarus] Who is the controlling 'native' widget set in LCL?

2008-02-07 Thread Graeme Geldenhuys
On 07/02/2008, Paul Ishenin [EMAIL PROTECTED] wrote: In summary. TButton.Color is not available in LCL because Win32 doesn't allow a button face to change color without custom drawing. Yet other widget sets do like Qt and GTK1. That problem has been havily discussed in lazarus-dev list

Re: [lazarus] Open URL in a browser

2008-02-07 Thread wile64
See also environnement variable $BROWSER under linux -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php

Re: [lazarus] Open URL in a browser

2008-02-07 Thread Henry Vermaak
On 07/02/2008, wile64 [EMAIL PROTECTED] wrote: See also environnement variable $BROWSER under linux there is also the sensible-browser script that makes things easy (at least on debian). henry _ To unsubscribe: mail [EMAIL

Re: [lazarus] Open URL in a browser

2008-02-07 Thread Graeme Geldenhuys
On 07/02/2008, wile64 [EMAIL PROTECTED] wrote: See also environnement variable $BROWSER under linux Wow, I never knew about that. It's available in Ubuntu 7.10 as well. Is that a LSB standard? I see the /etc/alternatives directory is full of such files... :-) Nice one, it's about time Linux

Re: [lazarus] Open URL in a browser

2008-02-07 Thread Graeme Geldenhuys
On 07/02/2008, ik [EMAIL PROTECTED] wrote: Hi, On Debian bases system (I don't know on others) there is an alternative that known as x-www-browser that holds the default web browser. Wow, I never knew about that. It's available in Ubuntu 7.10 as well. Is that a LSB standard? I see the

Re: [lazarus] Open URL in a browser

2008-02-07 Thread Graeme Geldenhuys
Oops, I meant the reply to Ido's email On 07/02/2008, Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 07/02/2008, wile64 [EMAIL PROTECTED] wrote: See also environnement variable $BROWSER under linux Wow, I never knew about that. It's available in Ubuntu 7.10 as well. Is that a LSB

Re: [lazarus] Open URL in a browser

2008-02-07 Thread Vincent Snijders
Antonio Sanguigni schreef: Hi all, I'm trying to create an hyperlink component but I'm having some difficult to catch default browser under Linux. In Windows it has to be easier but I would like to find an elegant cross-platform way. I saw the Lazarus Ide has Help - OnLine help menu which I

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco Alvarado
I've been investigating, and came to the conclussion that the best compiler I can do IS NOT a compiler, BUT an specialiced translator. I could use customizable templates to transform Pascal code into each VM's natural language, then take advantage of the command-line compilers for those VMs. There

Re: [lazarus] Open URL in a browser

2008-02-07 Thread ik
2008/2/7 wile64 [EMAIL PROTECTED]: See also environnement variable $BROWSER under linux On my machine it is not set (Kubuntu 7.10 amd64)... -- Laurent. My Components: http://wiki.lazarus.freepascal.org/Wile64 French Forum : http://lazforum-fr.tuxfamily.org/index.php Ido --

Re: [lazarus] Open URL in a browser

2008-02-07 Thread wile64
2008/2/7, Graeme Geldenhuys [EMAIL PROTECTED]: On 07/02/2008, wile64 [EMAIL PROTECTED] wrote: See also environnement variable $BROWSER under linux Wow, I never knew about that. It's available in Ubuntu 7.10 as well. Is that a LSB standard? This is Debian, I have on my Ubuntu 7.10 and

RE: [lazarus] Open URL in a browser

2008-02-07 Thread Hess, Philip J
Orpheus has a TOvcURL component for hyperlinks. http://wiki.lazarus.freepascal.org/OrphPort Thanks. -Phil From: Antonio Sanguigni [mailto:[EMAIL PROTECTED] Sent: Thursday, February 07, 2008 5:19 AM To: lazarus@miraclec.com Subject: [lazarus]

Re: [lazarus] Linux Journal Poll: Pascal does not exist

2008-02-07 Thread mramirez
Quoting Marco Alvarado [EMAIL PROTECTED]: Working with an underground language gives a cool feeling :D Please see attached image ;-) Cheers (with a tequila) mramirez attachment: Black-T-Shirt-Lazarus.JPG

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco Alvarado
The guys at mhccorp, did the same: http://www.mhccorp.com/java.shtml But, its a closed source project. In their pages, they said, they made an Object Pascal To Java translator, and later a Object Pascal to JVM assembler translator. Yes the idea is having it Open Source, and for at least

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco Alvarado
But, how knows ? Maybe the games you want to migrate to JVM-based phones, can be fun and even profit !!! ;-) Many games can be migrated to VM's that don't need a lot of processing power, think about the best selling Tetris ;D Also, what happens if a compiler maker or chipset builder finds out

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco Alvarado
I'm building right now a translator of Object Pascal to ECMAscript. I just need a common run-time library, which I'm building on top of FPC's RTL and the LCL. If someone wants to have a portable application, they just have to use the classes of the Virtual Machine Library (VML, not to confuse with

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Felipe Monteiro de Carvalho
On Feb 7, 2008 9:32 PM, Marco Alvarado [EMAIL PROTECTED] wrote: I'm doing it now!! Once I get a hello-world translated, I'll start releasing the source code. Please create a source forge project for it and add the code to subversion. That guarantees the project can be continued on the future.

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco Alvarado
2008/2/7, Felipe Monteiro de Carvalho [EMAIL PROTECTED]: Unfortunately I don't have time to build that, but I would try to help if someone starts such a project. I'm doing it now!! Once I get a hello-world translated, I'll start releasing the source code. Regards! -Marco

RE: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Sam Liddicott
Can I suggest you also look at the Alma project on freshmeat.net Sam -Original Message- From: Marco Alvarado [EMAIL PROTECTED] Sent: 07 February 2008 17:37 To: lazarus@miraclec.com Subject: Re: [lazarus] FPC compiler for virtual machines? I'm building right now a translator of Object

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Felipe Monteiro de Carvalho
On Feb 7, 2008 2:11 AM, Marco Alvarado [EMAIL PROTECTED] wrote: I know MIDletPascal, and it's a perfect example. It suffers the same problem that Delphi has now, it's not Open Source. I think an open source project that works about the same as MIDLetPascal would be really excelent. It doesn't

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread Marco Alvarado
2008/2/7, Sam Liddicott [EMAIL PROTECTED]: Can I suggest you also look at the Alma project on freshmeat.net Sam Yes, but it's not only about language translation, indeed this is the easiest part. The real problem is creating a virtual machine library that is common between the different

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread mramirez
Quoting Marco Alvarado [EMAIL PROTECTED]: I've been investigating, and came to the conclussion that the best compiler I can do IS NOT a compiler, BUT an specialiced translator. I The guys at mhccorp, did the same: http://www.mhccorp.com/java.shtml But, its a closed source project. In their

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread mramirez
Quoting Felipe Monteiro de Carvalho [EMAIL PROTECTED]: My experience with Symbian makes me think I should have instead started a Java port. The Symbian is such a mess that a Java port would I read somewhere that Symbian was rebuilding its OS from scratch, because of the mess. There is even

Re: [lazarus] Linux Journal Poll: Pascal does not exist

2008-02-07 Thread Marco Alvarado
Nice shirt heheh :D 2008/2/7, mramirez [EMAIL PROTECTED]: Quoting Alexsander Rosa [EMAIL PROTECTED]: http://www.linuxjournal.com/node/1006101 18. What is your favorite programming language? OBJECT Pascal. Not your parents' pascal ;-) Cheers. mramirez

Re: [lazarus] Linux Journal Poll: Pascal does not exist

2008-02-07 Thread mramirez
Quoting Alexsander Rosa [EMAIL PROTECTED]: http://www.linuxjournal.com/node/1006101 18. What is your favorite programming language? OBJECT Pascal. Not your parents' pascal ;-) Cheers. mramirez _ To unsubscribe: mail [EMAIL

Re: [lazarus] Linux Journal Poll: Pascal does not exist

2008-02-07 Thread mramirez
Quoting Marco Alvarado [EMAIL PROTECTED]: Nice shirt heheh :D Thanks. Alexsander said that he liked use an underground programming language. Found a T-Shirt for that underground attitude ;-) _ To unsubscribe: mail [EMAIL

Re: [lazarus] Open URL in a browser

2008-02-07 Thread Antonio Sanguigni
Orpheus has a TOvcURL component for hyperlinks. http://wiki.lazarus.freepascal.org/OrphPort Thanks all, guys. I'll have a look at your suggests. Antonio -- Antonio Sanguigni alias slapshot -- GioveLUG (Linux User

Re: [lazarus] Who is the controlling 'native' widget set in LCL?

2008-02-07 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys [EMAIL PROTECTED]: On 07/02/2008, Paul Ishenin [EMAIL PROTECTED] wrote: In summary. TButton.Color is not available in LCL because Win32 doesn't allow a button face to change color without custom drawing. Yet other widget sets do like Qt and GTK1. That

Re: [lazarus] Behavior of ClientToScreen in scrolling windows across different widget sets

2008-02-07 Thread Luiz Americo Pereira Camara
Marc Weustink wrote: Luiz Americo Pereira Camara wrote: While debugging scrolling bugs in LCL i found that ClientToScreen acts differently according to the widget set. These are the behaviors: 1) The returned value is related to the actual position, i.e., it does not consider the scroll

[lazarus] How is docking support coming?

2008-02-07 Thread Lee Jenkins
Hi all, I need docking support for a project and I would prefer to write it Lazarus if I can. I know there was some headway made, but is docking support stabilized? Thanks ;) -- Warm Regards, Lee Everything I needed to learn in life, I learned selling encyclopedias door to door.

Re: [lazarus] How is docking support coming?

2008-02-07 Thread Paul Ishenin
Lee Jenkins wrote: Hi all, I need docking support for a project and I would prefer to write it Lazarus if I can. I know there was some headway made, but is docking support stabilized? No. Some things works, some things we are doing, some things still doesnot have decision about way of

Re: [lazarus] FPC compiler for virtual machines?

2008-02-07 Thread mramirez
Quoting Marco Alvarado [EMAIL PROTECTED]: I'm building right now a translator of Object Pascal to ECMAscript. Good Luck ;-) mramirez _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

[lazarus] GTK2 Help [OT]

2008-02-07 Thread Lee Jenkins
Hi all, Sorry for off topic request, but I'd like to see what an app looks like on gtk2 and I'm having a dickens of a time trying to upgrade my current gtk2 on Centos 4.4. Can someone suggest a simple way to upgrade this? I've tried yum, but it doesn't seem to think there is a new version

[lazarus] My first GUI Application

2008-02-07 Thread Lee Jenkins
I've written several console/daemon apps with Lazarus/Freepascal, but this is my first GUI app that really does anything and aside from some gotchas getting it to run on Linux (developed on WinXP), it seems to be running very well. http://leebo.dreamhosters.com/images/guiApp.png There's a