Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Daniël Mantione


Op Sat, 27 Oct 2007, schreef Mattias Gaertner:

> Sounds great. Can we add this sentence to the main page? :)

Certainly.

> AddBugReport();

Done.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Mattias Gaertner
On Sat, 27 Oct 2007 21:38:33 +0200 (CEST)
Daniël Mantione <[EMAIL PROTECTED]> wrote:

> 
> 
> Op Sat, 27 Oct 2007, schreef Michael Van Canneyt:
> 
> > On Sat, 27 Oct 2007, Jonas Maebe wrote:
> > 
>[...]
> Lazarus is by far the "most native" cross platform solution in
> existance. 

Sounds great. Can we add this sentence to the main page? :)


>[...]
> I have one complaint in this regards: Lazarus applications respond,
> like native applications to "theme" changes in the OS (as native
> applications should). However, try to change the colour scheme on
> Win32, the Lazarus IDE looks terrible, because some GUI parts obey
> the colour scheme and others don't.

AddBugReport();


Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Daniël Mantione


Op Sat, 27 Oct 2007, schreef Michael Van Canneyt:

> On Sat, 27 Oct 2007, Jonas Maebe wrote:
> 
> While I do not dispute the validity of your comments, I'd like to point out
> that any cross-platform solution will suffer from this. Be it in Mono, Java
> or FPC. I'm sure the Eclipse or Mono generated programs have the same problem.
> 
> The main point is that the Mac port of Lazarus currently enables you to 
> create 
> cross-platform applications. Additionally it also enables you to create 
> applications that will look OK on the Mac as well, if you were to code them 
> natively on Mac, using the Mac standards. 
> 
> And as for 'looking mightlily fine', I can assure you that the Mac port was
> really the unique selling position of Lazarus/FPC on Systems, last week. 
> The Windows Vista-64-bit and Mac Aqua IDE running on 2 screens next to each 
> other were real eye-catchers.
> 
> So some optimism and cheerfulness is definitely in order, I'd say :-)

Lazarus is by far the "most native" cross platform solution in existance. 
Certainly, it cannot compete with hand-tuned non-portable GUI code, and it 
probably never will. But writing hand-tuned non-portable GUI code requires 
a lot of resources, and therefore only feasible on big platforms. Lazarus 
allows you to create cross-platform applications with not 
perfect, but still remarkable native look and feel.

I have one complaint in this regards: Lazarus applications respond, like 
native applications to "theme" changes in the OS (as native applications 
should). However, try to change the colour scheme on Win32, the Lazarus 
IDE looks terrible, because some GUI parts obey the colour scheme and 
others don't.

Daniël___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Michael Van Canneyt


On Sat, 27 Oct 2007, Jonas Maebe wrote:

> 
> On 27 Oct 2007, at 13:57, Marco van de Voort wrote:
> 
> >Lazarus looks mighty fine natively on Mac.
> 
> It may one day, but currently it is still very far from that. For example,
> pretty much every setting wubdiw has a wrong button layout. On the Mac, if you
> have a single "ok" button, it should be on the bottom right (in Lazarus they
> are in the middle). If you have an "ok" and "cancel" button, the "ok" should
> be on the right of the "cancel" button (in Lazarus, they are ordered the other
> way around). Also, all those icons in the menus look pretty weird (very few
> Mac apps have that, and none that I currently use does), and the icons in the
> toolbar look out of place compared to icons other Mac apps (mainly because of
> the limited colour palette and lack of anti-aliasing in the drawings, I
> guess).
> 
> In general, for now it still looks and feels very much like a pure Windows or
> Linux application with an Aqua skin. That may be fine for Windows/Linux users
> coming to the Mac, but it would make me click on the wrong buttons all the
> time.
> 
> I have great respect for Tombo and the others who have done a great job
> porting the LCL to Carbon, but it takes a whole lot more work than that to
> look and feel "mighty fine natively on Mac". The same will probably go for any
> Lazarus/Delphi app ported to the Mac, for that matter (unless Lazarus can do
> automatic button layouting, and if the current layout mismatch is simply due
> to some wrong default setting for the Carbon target).

While I do not dispute the validity of your comments, I'd like to point out
that any cross-platform solution will suffer from this. Be it in Mono, Java
or FPC. I'm sure the Eclipse or Mono generated programs have the same problem.

The main point is that the Mac port of Lazarus currently enables you to create 
cross-platform applications. Additionally it also enables you to create 
applications that will look OK on the Mac as well, if you were to code them 
natively on Mac, using the Mac standards. 

And as for 'looking mightlily fine', I can assure you that the Mac port was
really the unique selling position of Lazarus/FPC on Systems, last week. 
The Windows Vista-64-bit and Mac Aqua IDE running on 2 screens next to each 
other were real eye-catchers.

So some optimism and cheerfulness is definitely in order, I'd say :-)

Michael.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Librería para videojuegos Allegro .pas

2007-10-27 Thread Guillermo Martínez Jiménez
Hola gente.

Además de congratularme por la existencia de esta lista de correos, os
escribo para daros a conocer este proyecto en el que llevo metido
desde hace ya un año.

Se trata de Allegro.pas, que busca crear una envolvente para poder
utilizar la librería Allegro con compiladores Pascal. Allegro es una
librería multiplataforma para hacer juegos escrita en C con modesto
pero merecido éxito. Aunque actualmente necesita una extensión
(llamada AllegroGL) para manejar gráficos 3D, en la próxima versión
van a unir ambos proyectos (Allegro+AllegroGL).

Mi envolvente da algún problemilla con Delphi, pero funciona bien con
Free Pascal, y la documentación está incompleta y en inglés. De todas
formas, la primera versión mínimamente estable la publiqué hace más o
menos un mes y la documentación la estoy trabajando día a día.

Ya estoy recibiendo ayuda del Club Delphi (www.clubdelphi.com), pero
si a alguno le interesa el mundo de los juegos de ordenador, que le
eche un vistazo. Contestaré a todas las preguntas encantado.

Versión BETA del juego de demostración (incluye fuentes pero ya está
compilada. No es una demostración "tecnológica" sino más bien una
referencia para principiantes):
http://212.34.137.175/%7Eburdjia/proyecto/demo.Allegro.pas.071022.zip (~1.1Mb)

La página del proyecto:
http://allegro-pas.sourceforge.net/index-es.html

Saludos.
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Mattias Gaertner
On Sat, 27 Oct 2007 14:58:25 +0200
Jonas Maebe <[EMAIL PROTECTED]> wrote:

> 
> On 27 Oct 2007, at 13:57, Marco van de Voort wrote:
> 
> > Lazarus looks mighty fine natively on Mac.
> 
> It may one day, but currently it is still very far from that. 

True, but it is a big step ahead:
It is much better than installing X11 and gtk1.


> For  
> example, pretty much every setting wubdiw has a wrong button layout.  
> On the Mac, if you have a single "ok" button, it should be on the  
> bottom right (in Lazarus they are in the middle). If you have an
> "ok" and "cancel" button, the "ok" should be on the right of the
> "cancel" button (in Lazarus, they are ordered the other way around).

As Micha said: A TButtonPanel has been started. Michael VC, Paul and me
fixed some bugs this week in FCL and LCL so it can now be used for the
IDE dialogs. see below.


> Also, all those icons in the menus look pretty weird (very few Mac
> apps have that, and none that I currently use does),

Should they be hidden?


> and the icons in
> the toolbar look out of place compared to icons other Mac apps
> (mainly because of the limited colour palette and lack of
> anti-aliasing in the drawings, I guess).

Ok. AFAIK this is already reported.

 
> In general, for now it still looks and feels very much like a pure  
> Windows or Linux application with an Aqua skin. 

Apple had always a very good and very distinct design, so I guess we
will always have to make some compromises.


> That may be fine for  
> Windows/Linux users coming to the Mac, but it would make me click on  
> the wrong buttons all the time.
> 
> I have great respect for Tombo and the others who have done a great  
> job porting the LCL to Carbon, but it takes a whole lot more work  
> than that to look and feel "mighty fine natively on Mac". The same  
> will probably go for any Lazarus/Delphi app ported to the Mac, for  
> that matter (unless Lazarus can do automatic button layouting, and
> if the current layout mismatch is simply due to some wrong default  
> setting for the Carbon target).

Then we have to find out, how other cross platform visual libs are
handling it. The TButtonPanel is one solution, but it only works with
ok,cancel,close,help buttons. Maybe we should add an easy way to
automatically switch Ok and Cancel buttons.

Mattias
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and JAVAy

2007-10-27 Thread Marco van de Voort
> On 27 Oct 2007, at 13:57, Marco van de Voort wrote:
> 
> > Lazarus looks mighty fine natively on Mac.
> 
> It may one day, but currently it is still very far from that. For  
> example, pretty much every setting wubdiw has a wrong button layout.  
> On the Mac, if you have a single "ok" button, it should be on the  
> bottom right (in Lazarus they are in the middle). If you have an "ok"  
> and "cancel" button, the "ok" should be on the right of the "cancel"  
> button (in Lazarus, they are ordered the other way around). Also, all  

See Micha's comment. Maybe I also should have added "for a first version"
btw.

___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Micha Nelissen
Jonas Maebe wrote:
> go for any Lazarus/Delphi app ported to the Mac, for that matter (unless
> Lazarus can do automatic button layouting, and if the current layout
> mismatch is simply due to some wrong default setting for the Carbon
> target).

Actually, we have a TButtonPanel exactly for this purpose. It's just
that (A) not all dialogs use it yet (B) it doesn't get the right default
setting from Carbon yet.

Perhaps not very easy fix, but the infrastructure exists.

Micha
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Jonas Maebe


On 27 Oct 2007, at 13:57, Marco van de Voort wrote:


Lazarus looks mighty fine natively on Mac.


It may one day, but currently it is still very far from that. For  
example, pretty much every setting wubdiw has a wrong button layout.  
On the Mac, if you have a single "ok" button, it should be on the  
bottom right (in Lazarus they are in the middle). If you have an "ok"  
and "cancel" button, the "ok" should be on the right of the "cancel"  
button (in Lazarus, they are ordered the other way around). Also, all  
those icons in the menus look pretty weird (very few Mac apps have  
that, and none that I currently use does), and the icons in the  
toolbar look out of place compared to icons other Mac apps (mainly  
because of the limited colour palette and lack of anti-aliasing in  
the drawings, I guess).


In general, for now it still looks and feels very much like a pure  
Windows or Linux application with an Aqua skin. That may be fine for  
Windows/Linux users coming to the Mac, but it would make me click on  
the wrong buttons all the time.


I have great respect for Tombo and the others who have done a great  
job porting the LCL to Carbon, but it takes a whole lot more work  
than that to look and feel "mighty fine natively on Mac". The same  
will probably go for any Lazarus/Delphi app ported to the Mac, for  
that matter (unless Lazarus can do automatic button layouting, and if  
the current layout mismatch is simply due to some wrong default  
setting for the Carbon target).



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] Re: [MacPascal] FPC and Mac OS X 10.5

2007-10-27 Thread Jonas Maebe


On 26 Oct 2007, at 16:58, Jonas Maebe wrote:


Now that Mac OS X 10.5 has been (more or less) released, some notes
on issues you may encounter when using FPC 2.2.0 (or earlier) on that
new Mac OS X release.


There's also some good news: gdb can now display parameters and local  
variables inside nested functions when you use Dwarf debug information.



Jonas
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC and JAVA

2007-10-27 Thread Marco van de Voort
> > Legacy Pascal? Din't generics get added in the last release? Anyways,
> > I'm not asking for a CLR/JVM port. FPC already generates code for the
> > target (here, ARM) it is only the OS interface that we are talking
> > about.

> All native Object Pascal is legacy code for me. I haven't used Pascal in 
> a new project for .. um.. 3 + years. Last job I maintained a Delphi app, 
> but all new dev was in DotNet.

(My last job switched to C#, and has recently switched back to native
delphi for normal apps, so back to delphi except for ASP.NET)

> soon, I'm entering the world of MacOS X soon. Though MONO is on the 
> MacOS X platform, so I might not even then.

Lazarus looks mighty fine natively on Mac. What does Mono have to counter
that?
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal