Re: [fpc-pascal] Linux Install: Is it me or the documentation? ;-)
Lev Lafayette wrote: > and like the TurboPascal critter from all those years ago, verdade? If Yes. > this is so, where does it live in the filesystem? Not that coding in > vi(m)/emacs/pico etc is a problem as such... /usr/bin/fp ? It's named 'fp' in any case. Micha ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Linux Install: Is it me or the documentation? ;-)
On Wed, 2006-11-01 at 09:34 +0100, Micha Nelissen wrote: > Lev Lafayette wrote: > > and like the TurboPascal critter from all those years ago, verdade? If > > Yes. > > > this is so, where does it live in the filesystem? Not that coding in > > vi(m)/emacs/pico etc is a problem as such... > > /usr/bin/fp ? It's named 'fp' in any case. Ahh, found it. /usr/local/bin/fp... Mmm... shiny. All the best, Lev ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Linux Install: Is it me or the documentation? ;-)
Mmm... shiny. Maybe you should try Lazarus as well, a GUI-RAD based on Free Pascal (FPC). http://www.lazarus.freepascal.org/ If you're familiar with Delphi, you might thought Lazarus is a Delphi-like IDE for FPC. Lazarus is alot shinier than FPC's default text-mode IDE. ;) -Bee- has Bee.ography at: http://beeography.wordpress.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Eye Candy Contest
Hi, I'd like to show to some people that FreePascal can do good graphical and efficient things :o) So I organise an eye candy contest, with some simple rules, and I'll give three rewards ($150, $100 and $50) for the three best programs. The rules : -The end of the contest is December 15th (i may change the date if it shows to be way too short) -The source code of the program (and used pictures + ressources) will be posted on Internet under the GPL, so be sure of what you use -The program MUST : *Compile and work in fullscreen mode under Ubuntu 6.10 (i386), in at least 640x480, 800x600 and 1024x768 with Gnome or KDE *Be readable (the will be used as a tutorial for graphics with FP) -The program COULD : *Also compile under Win32 and/or MacOS (not necessary but will be good to show how powerful FPC is) *Support some options : printing the FPS, a max FPS limit, or the use of a "bpm" global (to synchronise it with music) *Be used as a screensaver in Linux You can use anything you want : GLScene, Jedi-SDL, etc... The test machine will be an Athlon 64 3800+, 1Go DDR, Geforce 7900GTO with nvidia proprietary drivers. What is an eye candy ? http://rss-glx.sourceforge.net/screenshots.shtml These are Eye-Candy ScreenSavers ;) Ask if you had questions ! Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
On Wed, 1 Nov 2006, Marc PERTRON wrote: > Hi, > > I'd like to show to some people that FreePascal can do good graphical and > efficient things :o) > So I organise an eye candy contest, with some simple rules, and I'll give > three rewards ($150, $100 and $50) for the three best programs. Independent of this, you may want to show your 'people': http://www.freepascal.org/gallery.html There are some very nifty graphics programs. Pixel32 for instance. Voxel. Or the games. Probably the pascal game development site has also some nice screenshots. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
Michael Van Canneyt a écrit : Independent of this, you may want to show your 'people': http://www.freepascal.org/gallery.html There are some very nifty graphics programs. Pixel32 for instance. Voxel. Or the games. Probably the pascal game development site has also some nice screenshots. The usual answer is 'yes but you can do that with VB too'. I don't want people to compare VB and FP, but to see that FP is as good as C for heavy things ;o) And an eye-candy is one of the best examples :) -- Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
On Wed, 1 Nov 2006, Marc PERTRON wrote: > Michael Van Canneyt a écrit : > > > > Independent of this, you may want to show your 'people': > > > > http://www.freepascal.org/gallery.html > > > > There are some very nifty graphics programs. Pixel32 for instance. Voxel. > > Or the games. Probably the pascal game development site has also some nice > > screenshots. > The usual answer is 'yes but you can do that with VB too'. > I don't want people to compare VB and FP, but to see that FP is as good as C > for heavy things ;o) > And an eye-candy is one of the best examples :) Sure, but look at the lone wolf 3 site in the gallery. Try that with VB ;-) Same with Pixel32, because it runs cross-platform. Try that with VB ;-) Anyway, I absolutely approve of your eye-candy contest. I was just pointing out some additional arguments... :-) Michael.___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] how FPC expects string/interface/variant results?
I have a question (for ROPS) in FPC that is way over my head. - Can you find out how FPC expects string/interface/variant results ? Is there documentation where I could get this information? I think it is about cpu registers, etc. (?) Also, I might ask, how does FPC expect parameters passing? And Methods parameter passing? Best regards. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
On 01 Nov 2006, at 14:30, Alexandre Leclerc wrote: - Can you find out how FPC expects string/interface/variant results ? Is there documentation where I could get this information? I think it is about cpu registers, etc. (?) Also, I might ask, how does FPC expect parameters passing? And Methods parameter passing? This depends on the used calling convention. Especially on i386 there are many different ones. And from time to time this also changes to fix compatibility or performance issues. There is no definite documentation for this apart from the compiler source (which isn't easy to read, in particular if you are not even sure about concepts like cpu registers and how they can be used for parameter passing), or compiling test programs and looking at the generated assembler code (idem). Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
Jonas Maebe wrote: > On 01 Nov 2006, at 14:30, Alexandre Leclerc wrote: > >> - Can you find out how FPC expects string/interface/variant results ? >> >> Is there documentation where I could get this information? I think it >> is about cpu registers, etc. (?) >> >> Also, I might ask, how does FPC expect parameters passing? And Methods >> parameter passing? > > This depends on the used calling convention. Especially on i386 there > are many different ones. And from time to time this also changes to > fix compatibility or performance issues. There is no definite > documentation for this apart from the compiler source (which isn't > easy to read, in particular if you are not even sure about concepts > like cpu registers and how they can be used for parameter passing), > or compiling test programs and looking at the generated assembler > code (idem). Although the documentation of calling conventions isn't complete, it's probably worth to mention, that at least part of this information is available in our Programmer's Guide (section Calling Conventions/Calling mechanism). Additional information may be found in our mailing list archive (http://community.freepascal.org:1/lists/fpc-pascal/2004-May/006960.html). Tomas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
2006/11/1, Tomas Hajny <[EMAIL PROTECTED]>: Jonas Maebe wrote: > On 01 Nov 2006, at 14:30, Alexandre Leclerc wrote: > >> - Can you find out how FPC expects string/interface/variant results ? >> >> Is there documentation where I could get this information? I think it >> is about cpu registers, etc. (?) >> >> Also, I might ask, how does FPC expect parameters passing? And Methods >> parameter passing? > > This depends on the used calling convention. Especially on i386 there > are many different ones. And from time to time this also changes to > fix compatibility or performance issues. There is no definite > documentation for this apart from the compiler source (which isn't > easy to read, in particular if you are not even sure about concepts > like cpu registers and how they can be used for parameter passing), > or compiling test programs and looking at the generated assembler > code (idem). Although the documentation of calling conventions isn't complete, it's probably worth to mention, that at least part of this information is available in our Programmer's Guide (section Calling Conventions/Calling mechanism). Additional information may be found in our mailing list archive (http://community.freepascal.org:1/lists/fpc-pascal/2004-May/006960.html). I can read 'There are three calling conventions which have been used as the default in different versions of FPC'. Will there be a final choice? Maybe my problem is that the calling convention has changed lately? -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
2006/11/1, Tomas Hajny <[EMAIL PROTECTED]>: Jonas Maebe wrote: > On 01 Nov 2006, at 14:30, Alexandre Leclerc wrote: > >> - Can you find out how FPC expects string/interface/variant results ? >> >> Is there documentation where I could get this information? I think it >> is about cpu registers, etc. (?) >> >> Also, I might ask, how does FPC expect parameters passing? And Methods >> parameter passing? > > This depends on the used calling convention. Especially on i386 there > are many different ones. And from time to time this also changes to > fix compatibility or performance issues. There is no definite > documentation for this apart from the compiler source (which isn't > easy to read, in particular if you are not even sure about concepts > like cpu registers and how they can be used for parameter passing), > or compiling test programs and looking at the generated assembler > code (idem). Although the documentation of calling conventions isn't complete, it's probably worth to mention, that at least part of this information is available in our Programmer's Guide (section Calling Conventions/Calling mechanism). Additional information may be found in our mailing list archive (http://community.freepascal.org:1/lists/fpc-pascal/2004-May/006960.html). Side question: Let say i would like to venture a little bit in asm programming, register stuff and how FPC use them... Any good doc available (asside FPC programmers guide) that I could use to lear quickly what I need to code my first full asm functions in pure asm? Regards. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] Is it necessary to protect passed passwords in memory?
Dear list, I was thinking of writing a daemon in freepascal. When the program is started it will ask for a password. Then keep the pass in a string variable, using it every 10 minutes. It's not for an high security environment but I'm interested in general. How to protect those information in memory? Johannes ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Is it necessary to protect passed passwords in memory?
On Wed, 1 Nov 2006, Johannes Nohl wrote: > Dear list, > > I was thinking of writing a daemon in freepascal. When the program is > started it will ask for a password. Then keep the pass in a string > variable, using it every 10 minutes. > > It's not for an high security environment but I'm interested in > general. How to protect those information in memory? Just keep the password encrypted in memory, and decrypt it before you use it. You can use the XOrEncode and XOrDecode functions for this. They are in the strutils unit. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Is it necessary to protect passed passwords in memory?
Johannes Nohl a écrit : Dear list, I was thinking of writing a daemon in freepascal. When the program is started it will ask for a password. Then keep the pass in a string variable, using it every 10 minutes. It's not for an high security environment but I'm interested in general. How to protect those information in memory? Under Linux or BSD, only the owner can access the memory of his program. So if launched by root, only readable by root. If possible, store a hash and not a clear password, just to be paranoid as we should :o) Ex : var salt : string; pwd : string; begin salt := 'Something random or my software name, just used to avoid dictionary attacks'; pwd := md5('My Secret Password' + salt); end; So only a hash is stored in pwd, and it's unique. But always remember that local access to a computer = quit easy to hack anything, unless you use strong cryptography. -- Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] FPC hackers contest [was: Eye Candy Contest]
On Wed, 01 Nov 2006 12:19:57 +0100 Marc PERTRON wrote: The usual answer is 'yes but you can do that with VB too'. I don't want people to compare VB and FP, but to see that FP is as good as C for heavy things ;o) And an eye-candy is one of the best examples :) -- Marc Lots of people are very fond of C because you can write 'unreadable' code and do some fancy/hackerish things like printing program's source code. info links: http://www.nyx.net/~gthompso/quine.htm http://www.nyx.net/~gthompso/self_pasc.txt They do not know that this can be done in Pascal (and any other language) too. Do FPC needs a hacker style programming contest in order to show that one can write ugly code in Pascal ??? Anybody interested in fpc-hackers mailing list where people can discuss non standard ways of doing things? Alexander ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] DateToStr locale
hello all i've noticed that DateToStr gives correct results on win32 (regarding locale), but on linux and osx it always gives the date as dd-mm-. i read somewhere in the archives that there's a problem implementing this due to the need to link to libc or something (hand wavy). can anyone shed some light on this for me, or does anyone know about a work around? thanks henry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Is it necessary to protect passed passwords in memory?
On Wednesday 01 November 2006 15:55, Marc PERTRON wrote: > dictionary attacks'; > pwd := md5('My Secret Password' + salt); > end; And where do you think the phrase 'My Secret Password' would be stored other than memory? Vinzent. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
Alexandre Leclerc wrote: > 2006/11/1, Tomas Hajny <[EMAIL PROTECTED]>: >> Jonas Maebe wrote: >> > On 01 Nov 2006, at 14:30, Alexandre Leclerc wrote: >> > >> >> - Can you find out how FPC expects string/interface/variant results ? >> >> >> >> Is there documentation where I could get this information? I think it >> >> is about cpu registers, etc. (?) >> >> >> >> Also, I might ask, how does FPC expect parameters passing? And >> Methods >> >> parameter passing? >> > >> > This depends on the used calling convention. Especially on i386 there >> > are many different ones. And from time to time this also changes to >> > fix compatibility or performance issues. There is no definite >> > documentation for this apart from the compiler source (which isn't >> > easy to read, in particular if you are not even sure about concepts >> > like cpu registers and how they can be used for parameter passing), >> > or compiling test programs and looking at the generated assembler >> > code (idem). >> >> Although the documentation of calling conventions isn't complete, it's >> probably worth to mention, that at least part of this information is >> available in our Programmer's Guide (section Calling Conventions/Calling >> mechanism). Additional information may be found in our mailing list >> archive >> (http://community.freepascal.org:1/lists/fpc-pascal/2004-May/006960.html). > > I can read 'There are three calling conventions which have been used > as the default in different versions of FPC'. That's in other words what Jonas wrote too. Only two of them in stable versions/releases, though, and no changes within one major release number (i.e. one default convention for 1.x and another for 2.x). > Will there be a final choice? Maybe my problem is that the calling > convention has changed lately? Not that recently - the calling convention hasn't changed during 2.x lifetime. Moreover, you can still force the old behaviour, i.e. you aren't required to change your code necessarily. However, the newer convention is faster, which is the main reason for switching to it as new default. On top of that, there were some minor changes required for proper compatibility of the same calling convention with other compilers (bug fixes). We don't expect to change the current default any more (although we cannot guarantee that fully), and almost certainly not within 2.x series. However, it should be always possible for you to keep using the calling convention supported at one stage even in the future (regardless of potential future changes of a default one). Tomas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
Tomas Hajny schrieb: Not that recently - the calling convention hasn't changed during 2.x lifetime. Moreover, you can still force the old behaviour, i.e. you aren't Well, the calling conventions are changed if this is required because they are incompatible e.g. broken. So if we discover that we've e.g. wrong x86-64-linux calling conventions, we'll fix this of course. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] how FPC expects string/interface/variant results?
On 1 nov 2006, at 17:35, Tomas Hajny wrote: We don't expect to change the current default any more (although we cannot guarantee that fully), and almost certainly not within 2.x series. Actually, someone recently found out our register calling convention on i386 is incompatible with Delphi's for the parameters which don't fit in registers anymore. So that might still be changed, I guess. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Is it necessary to protect passed passwords in memory?
And where do you think the phrase 'My Secret Password' would be stored other than memory? so you have to override variables after use? like var pwd: array[0..15] of char; xpwd: string; [...] readln(pwd); xpwd := encrypt(pwd); pwd := '123456789012345'; // override [...] ??? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] DateToStr locale
On Wed, 1 Nov 2006, Henry Vermaak wrote: > hello all > > i've noticed that DateToStr gives correct results on win32 (regarding > locale), but on linux and osx it always gives the date as dd-mm-. > i read somewhere in the archives that there's a problem implementing > this due to the need to link to libc or something (hand wavy). can > anyone shed some light on this for me, or does anyone know about a > work around? The locale info on Linux is stored in some files somewhere in /usr/lib/* The routines to access these files are in Libc. Since SysUtils should remain free from dependencies on the C library, we cannot use it to initialize the constants... I have somewhere a unit that links to C or uses the KDE info to initialize the localization constants in SysUtils. If you don't mind linking to C then I can send you this. If you want to make a Pascal version of the localization routines, then Please do :-) Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
[fpc-pascal] -Xe and -Xi question
I all, when using -Xe option DBG is working, but when using -Xi it is not. Is it normal? (Using an old 3823 revision.) I tried r4479 (v2.0.4) and v2.0.4 FPC version but -Xe is not an available switch. And debuger is not working without it. Is there anything to do with that? -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/10/31, Alexandre Leclerc <[EMAIL PROTECTED]>: 2006/10/31, Jesus Reyes <[EMAIL PROTECTED]>: > > --- Alexandre Leclerc <[EMAIL PROTECTED]> escribió: > > > Hi all, > > > > I'm running into strang ROPS behaviour when using the latest > > compiler > > in svn. Is there a compiler switch required for it to work ok? > > Using > > revision 3823 I have no problems. > > > > The parameters in the script when passed to actual FPC code is not > > working well.. this was an old bug... parameter order or I don't > > know > > what... > > > > Anyone has any clue for me? > > > > -- > > Alexandre Leclerc > > ___ > > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > > > > Have you tried ROPS svn revision 19? Yes and it solved my 'Self' problem (as you can read on rops forum). But when I compile with latest compiler my script is not behaving completely right... Just with a different compiler version. :( The passing function prarameters are not good... this was an issue couple months ago that Carlo fixed. But now it comes back. Maybe this was a fix on a FPC bug? or an FPC bug has been introduced... The issue are the parameters when calling a Delphi function from the script. For now, the only thing I'm sure about is that with version 2.0.4 of the compiler it is working correctly with ROPS for this problem. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
Alexandre Leclerc schrieb: For now, the only thing I'm sure about is that with version 2.0.4 of the compiler it is working correctly with ROPS for this problem. Can't you try the binary search to find the revision causing trouble? Are there any fpc defines in the ROPS sources? Where are the ROPS sources available? ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] -Xe and -Xi question
At 21:23 1-11-2006, you wrote: I all, when using -Xe option DBG is working, but when using -Xi it is not. Is it normal? (Using an old 3823 revision.) It works with current SVN. Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/11/1, Florian Klaempfl <[EMAIL PROTECTED]>: Alexandre Leclerc schrieb: > > For now, the only thing I'm sure about is that with version 2.0.4 of > the compiler it is working correctly with ROPS for this problem. > Can't you try the binary search to find the revision causing trouble? Are there any fpc defines in the ROPS sources? Where are the ROPS sources available? Binary search is complex because I have difficulties to get a FPC revision that will be able to compile latest Lazarus version... (unless I do not need to recompile my Laz each time but simple replacing the fpcsrc & pp folders?) ROPS is available from subversion: svn://svn.remobjects.com/pascalscript Any-way I'll try again binary search, but this morning I wasted 3 hours for no results... and this is really slow. Some FPC revisions were not compiling, other were not able to compile lazarus... :S -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] -Xe and -Xi question
2006/11/1, Peter Vreman <[EMAIL PROTECTED]>: At 21:23 1-11-2006, you wrote: >I all, > >when using -Xe option DBG is working, but when using -Xi it is not. Is >it normal? (Using an old 3823 revision.) It works with current SVN. Ok, I see; I tested the latest version and it works great. (Is it the default mode or do we have to specify the -Xi switch?) -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
At 21:43 1-11-2006, you wrote: 2006/11/1, Florian Klaempfl <[EMAIL PROTECTED]>: Alexandre Leclerc schrieb: > > For now, the only thing I'm sure about is that with version 2.0.4 of > the compiler it is working correctly with ROPS for this problem. > Can't you try the binary search to find the revision causing trouble? Are there any fpc defines in the ROPS sources? Where are the ROPS sources available? Binary search is complex because I have difficulties to get a FPC revision that will be able to compile latest Lazarus version... (unless I do not need to recompile my Laz each time but simple replacing the fpcsrc & pp folders?) ROPS is available from subversion: svn://svn.remobjects.com/pascalscript Any-way I'll try again binary search, but this morning I wasted 3 hours for no results... and this is really slow. Some FPC revisions were not compiling, other were not able to compile lazarus... :S What do you expect from us? That we spend hours and hours debugging your problem? Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] -Xe and -Xi question
At 21:47 1-11-2006, you wrote: 2006/11/1, Peter Vreman <[EMAIL PROTECTED]>: At 21:23 1-11-2006, you wrote: >I all, > >when using -Xe option DBG is working, but when using -Xi it is not. Is >it normal? (Using an old 3823 revision.) It works with current SVN. Ok, I see; I tested the latest version and it works great. (Is it the default mode or do we have to specify the -Xi switch?) It is now the default, no -Xi needed anymore Peter ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
On 01 Nov 2006, at 21:43, Alexandre Leclerc wrote: Binary search is complex because I have difficulties to get a FPC revision that will be able to compile latest Lazarus version... (unless I do not need to recompile my Laz each time but simple replacing the fpcsrc & pp folders?) Does ROPS depend on Lazarus? If not, there's no reason to recompile your Lazarus every time. Jonas ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
Michael Van Canneyt wrote: > > On Wed, 1 Nov 2006, Marc PERTRON wrote: > >> Hi, >> >> I'd like to show to some people that FreePascal can do good graphical and >> efficient things :o) >> So I organise an eye candy contest, with some simple rules, and I'll give >> three rewards ($150, $100 and $50) for the three best programs. > > Independent of this, you may want to show your 'people': > > http://www.freepascal.org/gallery.html Ehm how to get there from the main site (and shouldn't lazarus be there as well) ? Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
On Wed, 1 Nov 2006, Marc Weustink wrote: > Michael Van Canneyt wrote: > > > > On Wed, 1 Nov 2006, Marc PERTRON wrote: > > > >> Hi, > >> > >> I'd like to show to some people that FreePascal can do good graphical and > >> efficient things :o) > >> So I organise an eye candy contest, with some simple rules, and I'll give > >> three rewards ($150, $100 and $50) for the three best programs. > > > > Independent of this, you may want to show your 'people': > > > > http://www.freepascal.org/gallery.html > > Ehm how to get there from the main site (and shouldn't lazarus be > there as well) ? During the construction of the page, the page was not reachable. I have already raised this issue on the core list. Michael. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/11/1, Peter Vreman <[EMAIL PROTECTED]>: At 21:43 1-11-2006, you wrote: >2006/11/1, Florian Klaempfl <[EMAIL PROTECTED]>: >>Alexandre Leclerc schrieb: >> > >> > For now, the only thing I'm sure about is that with version 2.0.4 of >> > the compiler it is working correctly with ROPS for this problem. >> > >> >>Can't you try the binary search to find the revision causing trouble? >>Are there any fpc defines in the ROPS sources? Where are the ROPS >>sources available? > >Binary search is complex because I have difficulties to get a FPC >revision that will be able to compile latest Lazarus version... >(unless I do not need to recompile my Laz each time but simple >replacing the fpcsrc & pp folders?) > >ROPS is available from subversion: >svn://svn.remobjects.com/pascalscript > >Any-way I'll try again binary search, but this morning I wasted 3 >hours for no results... and this is really slow. Some FPC revisions >were not compiling, other were not able to compile lazarus... :S What do you expect from us? That we spend hours and hours debugging your problem? No Peter, I expect no specific help from you if you have no help to give. I did say I was going to try again, having more light on some issues so that I can more efficiently find the problem. But if you absolutely want to do it, well, go for it! :) Also, it might not be totally my problem. I'm using FPC & ROPS and something somewhere is not working. The only thing I know is that: 2.0.4 + ROPS = ok; r3823 + ROPS = ok; HEAD + ROPS = not ok. Therefore my first intuition is that something changed in FPC. This is the origin of this thread in case someone whould have known... Now I'm trying to find the revision... painfully. But with the comment of Jonas, I'll get it faster. Regards. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] ROPS and latest FPC compiler (svn)
2006/11/1, Jonas Maebe <[EMAIL PROTECTED]>: On 01 Nov 2006, at 21:43, Alexandre Leclerc wrote: > Binary search is complex because I have difficulties to get a FPC > revision that will be able to compile latest Lazarus version... > (unless I do not need to recompile my Laz each time but simple > replacing the fpcsrc & pp folders?) Does ROPS depend on Lazarus? If not, there's no reason to recompile your Lazarus every time. Only for IDE integration, but I think I can skip that part. I'll save time now doing the binary search. Thanks. -- Alexandre Leclerc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
Marc PERTRON wrote: The rules : -The program MUST : *Compile and work in fullscreen mode under Ubuntu 6.10 (i386), in at least 640x480, 800x600 and 1024x768 with Gnome or KDE I'd recommend saying fullscreen in at least 640x480, 800x600 _OR_ 1024x768. If you are using 3d style rendering then resolution changes are not much of an issue. But if you are going for 2d and bitmap effects, often the best results come from designing for a particular resolution. When it comes down to it, the actual numbers of the resolution are nott that important. It's how it looks that matters. Maybe this'll even get me off my butt enough to tidy up my libs enough for a release. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Linux Install: Is it me or the documentation? ;-)
On Wed, 2006-11-01 at 16:36 +0700, Bisma Jayadi wrote: > > Mmm... shiny. > > Maybe you should try Lazarus as well, a GUI-RAD based on Free Pascal (FPC). > > http://www.lazarus.freepascal.org/ > > If you're familiar with Delphi, you might thought Lazarus is a Delphi-like > IDE > for FPC. Lazarus is alot shinier than FPC's default text-mode IDE. ;) At risk of sounding old (and cluttering the list with biog details), I'm much more familiar with text-mode than Delphi-like IDEs. Apart from a modicum of PHP/MySQL and shell scripting, Pascal was last bit of "real" programming I did - and that was about fifteen years ago! So text-mode and procedural programming for the next few months and then I'll upgrade to Lazarus and get a hang of this fancy new IDE and OO programming ;-) But thanks for the advice just the same! All the best, Lev ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
Neil Graham a écrit : I'd recommend saying fullscreen in at least 640x480, 800x600 _OR_ 1024x768. If you are using 3d style rendering then resolution changes are not much of an issue. But if you are going for 2d and bitmap effects, often the best results come from designing for a particular resolution. When it comes down to it, the actual numbers of the resolution are nott that important. It's how it looks that matters. If you design for a particular resolution, then you can change the scale. Even a 640x480 upscaled to 1024*768 is ok to me, or a perfect anim in 1024*768 that is far less pretty in 640*480. I just ask at least 3 settings ;o) (I'd to print them on some displays that support only one of the three) Maybe this'll even get me off my butt enough to tidy up my libs enough for a release. This is one of the goal of the contest... ;o) -- Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
Marc PERTRON wrote: Neil Graham a écrit : I'd recommend saying fullscreen in at least 640x480, 800x600 _OR_ 1024x768. If you are using 3d style rendering then resolution changes are not much of an issue. But if you are going for 2d and bitmap effects, often the best results come from designing for a particular resolution. When it comes down to it, the actual numbers of the resolution are nott that important. It's how it looks that matters. If you design for a particular resolution, then you can change the scale. Even a 640x480 upscaled to 1024*768 is ok to me, or a perfect anim in 1024*768 that is far less pretty in 640*480. I just ask at least 3 settings ;o) (I'd to print them on some displays that support only one of the three) What about displays that aren't your standard 4:3 ratio, such as my dual 1920x1200 widescreens or my 1024x600 handheld? -- Sly This message and its attachments may contain legally privileged or confidential information. This message is intended for the use of the individual or entity to which it is addressed. If you are not the addressee indicated in this message, or the employee or agent responsible for delivering the message to the intended recipient, you may not copy or deliver this message or its attachments to anyone. Rather, you should permanently delete this message and its attachments and kindly notify the sender by reply e-mail. Any content of this message and its attachments, which does not relate to the official business of the sending company must be taken not to have been sent or endorsed by the sending company or any of its related entities. No warranty is made that the e-mail or attachment(s) are free from computer virus or other defect. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] Eye Candy Contest
Steve Williams a écrit : What about displays that aren't your standard 4:3 ratio, such as my dual 1920x1200 widescreens or my 1024x600 handheld? Well, i ask *at least* the 3 resolutions i gave. You can do more... :o) Also, as i give the money i also give the minimal requirements and i think i'm not too restrictive ? Also as people asked in private, some general answers : -Yes it can be 2D or 3D or even both -Yes, a simple 2D animation can compete (why not snowfall and Christmas trees ?) -- Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal