Re: [fpc-pascal] Origin of FPC features

2009-02-10 Thread Marco Ciampa
On Mon, Feb 09, 2009 at 08:56:34PM -0800, leledumbo wrote:
> 
> 
> I'm writing a paper about FPC and I need references where each language
> feature comes from. So far, these are my what I know (some are guessing
> though):
> 
PLEASE write down a page/table on the fpc/lazarus wiki. I think this could be
useful for many fpc users out there...

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Porting linux to pascal, would it be, possible ?

2008-12-11 Thread Marco Ciampa
On Mon, Dec 08, 2008 at 12:07:31PM -0600, Prince Riley wrote:
> Thank you for your reply.
> 
> Eclipse was first released as a Java development IDE several years ago, but
> if you take a look at the Eclipse web site www.eclipse.org you'll see that
> since then Eclipse has evolved and been extended to support Ruby, Python,
> C/C++.
I've seen people using Eclipse for developing in Fortran too... 

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] package help & site bug

2008-09-07 Thread Marco Ciampa
On Mon, Sep 08, 2008 at 02:48:49AM +0200, Marco Ciampa wrote:
> On Wed, Sep 03, 2008 at 08:24:01PM -0700, David Emerson wrote:
> > Have you tried the ubuntu repositories?
> > 
> > http://packages.ubuntu.com/search?keywords=fp-&searchon=names&suite=all§ion=all
> Yes, no ppc packages at all
> 
> > 
> > Although many debian packages are incompatible with ubuntu, I suspect 
> > that the fpc packages may very well be compatible. (sid has 2.2.2)
> > 
> > http://packages.debian.org/search?suite=all§ion=all&arch=any&searchon=names&keywords=fp-
> Installed. fpc seems to work flawlessly.
> 
> Lazarus not! :-(
> 
> [EMAIL PROTECTED]:~$ lazarus-ide
> [FORMS.PP] ExceptionOccurred
>   Sender=EReadError
>   Exception=Error reading Image.Picture.Data: Failed to create handles
>   Stack trace:
>   $1007C618
>   $1007BAC4
>   $1006FC50
>   $1007B748
>   $1007BB84
>   $1006FC50
>   $1007D2A8
>   $101052E4
>   $101050F4
>   $100FBF04
>   $1004B7D4
>   $1026F330
>   $10057B88
>   $100572A8
>   $1000A5C4
>   $1000A404
> TApplication.HandleException Error reading Image.Picture.Data: Failed to
> create handles
>   Stack trace:
>   $1007C618
>   $1007BAC4
>   $1006FC50
>   $1007B748
>   $1007BB84
>   $1006FC50
>   $1007D2A8
>   $101052E4
>   $101050F4
>   $100FBF04
>   $1004B7D4
>   $1026F330
>   $10057B88
>   $100572A8
>   $1000A5C4
>   $1000A404
Missing:
[FORMS.PP] ExceptionOccurred

bye

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] package help & site bug

2008-09-07 Thread Marco Ciampa
On Wed, Sep 03, 2008 at 08:24:01PM -0700, David Emerson wrote:
> Have you tried the ubuntu repositories?
> 
> http://packages.ubuntu.com/search?keywords=fp-&searchon=names&suite=all§ion=all
Yes, no ppc packages at all

> 
> Although many debian packages are incompatible with ubuntu, I suspect 
> that the fpc packages may very well be compatible. (sid has 2.2.2)
> 
> http://packages.debian.org/search?suite=all§ion=all&arch=any&searchon=names&keywords=fp-
Installed. fpc seems to work flawlessly.

Lazarus not! :-(

[EMAIL PROTECTED]:~$ lazarus-ide
[FORMS.PP] ExceptionOccurred
  Sender=EReadError
  Exception=Error reading Image.Picture.Data: Failed to create handles
  Stack trace:
  $1007C618
  $1007BAC4
  $1006FC50
  $1007B748
  $1007BB84
  $1006FC50
  $1007D2A8
  $101052E4
  $101050F4
  $100FBF04
  $1004B7D4
  $1026F330
  $10057B88
  $100572A8
  $1000A5C4
  $1000A404
TApplication.HandleException Error reading Image.Picture.Data: Failed to
create handles
  Stack trace:
  $1007C618
  $1007BAC4
  $1006FC50
  $1007B748
  $1007BB84
  $1006FC50
  $1007D2A8
  $101052E4
  $101050F4
  $100FBF04
  $1004B7D4
  $1026F330
  $10057B88
  $100572A8
  $1000A5C4
  $1000A404
 
-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] package help & site bug

2008-09-03 Thread Marco Ciampa
In the search of a .deb package for my ibook G4 (ubuntu)
I've just noted that the page:

http://www.freepascal.org/down/powerpc/linux-ftp.freepascal.org.var

write about and the links to the non existant fpc 2.2.0 version that

1- on sourceforge the linux ppc packages just does not exist
2- on the other mirror sites points to the old 2.2.0 instead 
   of the newer (and actually present) 2.2.2 packages so 
   causing a 550 error

BTW: 
 - how to create the individual .deb packages as in Debian (not just one
   monolithic from the tar.gz package)?
 - Are the Debian packages compatible with Ubuntu? 
 - How these (Debian) packages were created?
 - If I successfully create a series of linux-ppc.deb packages, where I
   should put those to let other users dowload them? 
 - (optionally) how to compile and create lazarus ide too?

TIA

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] OT: fpc SDL HowTo (Was: Maybe a new fpc book :)

2008-01-08 Thread Marco Ciampa
On Tue, Jan 08, 2008 at 08:54:58AM +0100, Tiziano De Togni wrote:
> Marco Ciampa ha scritto:
>> On Sat, Jan 05, 2008 at 11:11:02AM +0100, Florian Klaempfl wrote:
>>> Marco Ciampa schrieb:
>>>> I work in a high school in Italy.
>>>> 
>>>> console & graph unit (BGI drivers under windows and Linux (X _not_ 
>>>> VGAlib) )
>>> If one writes a book, _please_ use SDL for graphics and skip the legacy
>>> graph unit :)
>> Can someone please point me a simple BGI to SDL howto or some very simple
>> Fpc SDL tutorials? 
>>
> Hi, Marco,
>
> I think that there is not (yet) a good answer to your question.
[...] :-(
> I am actually working on another perspective.
> SDL doesn't have functions to draw pixels, lines, rectangles, arcs,
> ovals and text on the screen, and the FPC graph sources are the better
> documentation I found about (there is also SGE, a nice SDL Graphics
> Extension library in C but there are not headers translated for
> pascal).
>
> So I made first a little project including the basic Jedi-sdl units
> (sdl.pas and sdl.inc) in order to work with the Lazarus IDE, then I made
> a unit with equivalent graph procedures to draw on a SDL surface
> (SDL_GetPixel, SDL_DirectputPixel, SDL_Line, SDL_Rectangle,
> SDL_DrawPoly, SDL_FillPoly, SDL_Ellipse, SDL_OutTextXY, etc.).
>
> This demo/test application (some sort of the classic bgidemo app)
> compiles and works on Windows and Linux (Ubuntu), if you are interested
> about this work I'll soon make it available on my home page. Keep in
> mind that it's still work in progress...
>
> It's not (yet) a tutorial, but, as Florian suggested, a practical
> example about using SDL for graphics with Free Pascal.
>
First of all, as usual, thanks Tiziano.

These news are very sad. Why? Because we in Italy (but I think, in other 
countries too) have plenty of math and phisics high school books (and 
some written very well indeed) that reports Turbo Pascal/BGI examples thanks
to the easy way this lib permits to create simple graphs and/or drawings on the
screen. The fact that the sdl library is not included by default in the
standard fpc package make things worse since students are not skilled enough
to compile and/or install packages by themself. If you have to instruct
students to install fpc+sdl+other libs perhaps with some manual environment 
adjustment...just isn't pratically feasible.

So one giant step to improve things could be to create a _easy_ installable
win/linux/mac package to enable elementary graph drawing in fpc. The BGI
compatibility could be a real plus but I understand could have drawbacks
too. Then a tutorial and a BGI to (new graph library name here) howto guide
should close the gap.

Theese are the thoughts (perhaps OT sorry but I hope you appreciate the
feedback) of a high school technician.

bye

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Re: OT: fpc SDL HowTo (Was: Maybe a new fpc book :)

2008-01-07 Thread Marco Ciampa
On Mon, Jan 07, 2008 at 03:45:12PM +0200, Alexey Taran wrote:
> It seems to be quite old, but fine tutorial: http://www.fp.sdl.de.vu/
> 
> <http://www.fp.sdl.de.vu/>
> > Can someone please point me a simple BGI to SDL howto or some very simple
> > Fpc SDL tutorials?
Thank you very much...start experimenting!
-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] OT: fpc SDL HowTo (Was: Maybe a new fpc book :)

2008-01-07 Thread Marco Ciampa
On Sat, Jan 05, 2008 at 11:11:02AM +0100, Florian Klaempfl wrote:
> Marco Ciampa schrieb:
> > I work in a high school in Italy.
> > We are currently using fpc + gnuplot for math and phisics simulations. 
> > In one lab we are currently starting to use Linux as the _sole_ platform. 
> > 
> > On Wed, Jan 02, 2008 at 12:35:57PM -0500, Anthony W. Henry wrote:
> >> 1. What OS is most-used for Free Pascal? Windows? Linux?
> > 80% windows and 20% Linux (this one growing)
> >  
> >> 2. What libraries do most people use for console (i.e.,
> >> "terminal" or text-mode) apps? I dislike ncurses; is
> >> there a better way?
> > console & 
> > graph unit (BGI drivers under windows and Linux (X _not_ VGAlib) )
> 
> If one writes a book, _please_ use SDL for graphics and skip the legacy
> graph unit :)
Can someone please point me a simple BGI to SDL howto or some very simple
Fpc SDL tutorials? 

TIA

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-05 Thread Marco Ciampa
On Sat, Jan 05, 2008 at 11:11:02AM +0100, Florian Klaempfl wrote:
> Marco Ciampa schrieb:
> > console & 
> > graph unit (BGI drivers under windows and Linux (X _not_ VGAlib) )
> 
> If one writes a book, _please_ use SDL for graphics and skip the legacy
> graph unit :)
I may agree, yes, but a simple chapter on how to port a old (and working) 
Borland BGI app to fpc could be veeery useful and not harmful at all...

bye

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Maybe a new fpc book :)

2008-01-04 Thread Marco Ciampa
I work in a high school in Italy.
We are currently using fpc + gnuplot for math and phisics simulations. 
In one lab we are currently starting to use Linux as the _sole_ platform. 

On Wed, Jan 02, 2008 at 12:35:57PM -0500, Anthony W. Henry wrote:
> 1. What OS is most-used for Free Pascal? Windows? Linux?
80% windows and 20% Linux (this one growing)
 
> 2. What libraries do most people use for console (i.e.,
> "terminal" or text-mode) apps? I dislike ncurses; is
> there a better way?
console & graph unit (BGI drivers under windows and Linux (X _not_ VGAlib) )

> 3. Does anybody really use Free Pascal to write Win32
> apps?
yes

 
> 4. Do people make heavy use of Free Pascal objects?
not (for now) in our school

We are currently porting several astronomical turbo pascal programs for fpc
(win and Linux)

bye

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] D language and Object Pascal

2007-10-11 Thread Marco Ciampa
On Wed, Oct 10, 2007 at 02:53:45PM +0200, Jilani Khaldi wrote:
> Hi All,
> just curious about the D language 
> (http://www.digitalmars.com/d/index.html), I read some articles on the 
> site, downloaded the compiler... and wrote some little examples. Well, many 
> of the things that the author presented as new and hot features are already 
> present in Turbo Pascal or in Delphi for a decade (objects by reference, 
> strings...).
Yes, it's so sad to see people that waste time reinventing the wheel...
-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] Web site now translatable

2006-11-22 Thread Marco Ciampa
On Sun, Nov 19, 2006 at 03:33:47PM +0100, Daniël Mantione wrote:
> Hello,
> 
> Over the weekend we have started to use a new website build tool. The main 
> improvement is support for a multi-lingual website.
The translatable site is simply worderful.

Many many thanks! 

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal] FPC 2.0.4 for classic Mac OS is now also out!

2006-09-21 Thread Marco Ciampa
On Thu, Sep 21, 2006 at 10:11:31AM +0200, Olle Raab wrote:
> Hello!
> 
> Free Pascal 2.0.4 is now also available for classic Mac OS.
> 
> http://www.freepascal.org/download.html
> 
You damned good hackers! :-)
-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


Re: [fpc-pascal]Book....

2006-09-13 Thread Marco Ciampa
On Wed, Sep 13, 2006 at 10:05:09AM +0200, Michael Van Canneyt wrote:
> On Tue, 12 Sep 2006, bajrang soni wrote:
> 
> >Hello. I just downloaded you Free Pascal software. I haven't programmed in
> >PASCAL for about 12 years. I am looking for a book or e-book that will
> >teach
> >me how to use the NEW pascal. What is the best reference material that you
> >can think of, consider me a beginner again!
> 
> The following are good tutorials:
> 
> Pascal:
> 
> http://www.marcocantu.com/epascal/default.htm
> 
> Delphi:
> 
> http://www.marcocantu.com/EDelphi/default.htm
> 
> Michael.
Thank you for the same reason. 
And for a good freepascal and/or Lazarus tutorial?
-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal


[fpc-pascal] announce: fpc-pascal-it italian freepascal ml created on freelists

2006-03-13 Thread Marco Ciampa
With this message I proudly announce that I've created the 

Italian FreePascal Users mailing list 

on freelists

All the FreePascal, Lazarus and others fpc project italian 
speaking users are welcome!

Come and join us to share ideas and suggestion about this (thanks to
freesoftware) alive language!

Come to [EMAIL PROTECTED]

PS: do you know that the International Olympiad in Informatics are done (for 
the Pascal section) 
with FreePascal?

-- 

Marco Ciampa

++
| Linux User  #78271 |
| FSFE fellow   #364 |
++
___
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal