Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Marco van de Voort
P.S.: BTW: Never heard of anybody doing serious programming in GNU Pascal (and I know many a programmer doing serious programming in FPC and even VP) As far as I can see (from their maillists), most serious GPC users are academics working with large numeric-related legacy ISO codebases. VP

Re: [fpc-devel] fpc-svn177-units-Mysql broken

2005-06-03 Thread Peter Vreman
At 08:09 3-6-2005, you wrote: there is an inconsistency: TDateTimeRec = record case TFieldType of ftDate: (Date: Longint); ftTime: (Time: Longint); ftDateTime: (DateTime: TDateTimeAlias); end; TTimeStamp = record Time: integer; { Number of milliseconds

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Florian Klaempfl
Peter Vreman wrote: At 19:36 2-6-2005, you wrote: Hello, I'm writting a custom preprocessor and I would like that the line number information maps to the original file. An example (not real, only an example): ...original.pas... 21 procedure AddFive(var a, b: Integer); 22 begin

[fpc-devel] How to create a local copy of sources by SVN (WinXP) ?

2005-06-03 Thread Ivan Shikhalev
I have install the TortoiseSVN and try to make local copy via checkout... But error 400 was occured. I _can_ view or save any file via Repo-Browser, why I can not save them all? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Marco van de Voort
I'm writting a custom preprocessor and I would like that the line number information maps to the original file. An example (not real, only an example): ...original.pas... 21 procedure AddFive(var a, b: Integer); 22 begin 23 a := ++b; 24 end; After preprocessor:

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Nico Aragón
El Viernes, 3 de Junio de 2005 09:56, Marco van de Voort escribió: If you have a preprocessor, you will also need a binary postprocessor to edit the linenumbers. In the executable? Isn't there any previous step to hook into? Anyway, where could I find information about the structures that

Re: [fpc-devel] fpc-svn177-units-Mysql broken

2005-06-03 Thread Vincent Snijders
Jan Ruzicka wrote: Hi the latest version (177) of fpc in svn does not compile on Mac OS X 10.3.9. The make all ends with following: /Users/j/fpc/fpc-svn/compiler/ppcppc -Xs -O1 -n -S2 -Fu/Users/j/fpc/fpc-svn/rtl/units/powerpc-darwin

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Marco van de Voort
El Viernes, 3 de Junio de 2005 09:56, Marco van de Voort escribi?: If you have a preprocessor, you will also need a binary postprocessor to edit the linenumbers. In the executable? Isn't there any previous step to hook into? Yes. The generated assembler. Anyway, where could I find

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Florian Klaempfl
Nico Aragón wrote: El Viernes, 3 de Junio de 2005 09:12, Florian Klaempfl escribió: Since preprocessed code isn't read by human, why don't change it into procedure AddFive(var a, b: Integer); begin Inc(b); a := b; end; The compiler don't care and you get correct line numbers. Clever!

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Nico Aragón
El Viernes, 3 de Junio de 2005 11:44, Marco van de Voort escribió: El Viernes, 3 de Junio de 2005 09:56, Marco van de Voort escribi?: If you have a preprocessor, you will also need a binary postprocessor to edit the linenumbers. In the executable? Isn't there any previous step to hook

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Kornel Kisielewicz
Angelo Bertolli wrote: What makes python interesting are the many classes it offers by default to perform standard tasks, especially in the text treatment department; regular expression stuff etc. The same goes for most languages; Mostly it's not the language syntax that determines the

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Florian Klaempfl
Kornel Kisielewicz wrote: Angelo Bertolli wrote: What makes python interesting are the many classes it offers by default to perform standard tasks, especially in the text treatment department; regular expression stuff etc. The same goes for most languages; Mostly it's not the language

RE: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Marc Weustink
listmember wrote: -- Class Contracts I like the 'require/ensure' aproach. It makes the code more robust and more debuggable, IMHO I think the checks you can do there are to limited. I also wonder what will happen if a require isn't met. Personally I don't want exeption in my released app.

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Jamie McCracken
Marc Weustink wrote: Jamie McCracken wrote: [snip] would become under Rad Pascal: uses Classes, SysUtils; TMyObject = class (Tobject) private count : integer; public constructor create; override; inherited Create(AnOwner); inc (count);

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Kornel Kisielewicz
Florian Klaempfl wrote: Kornel Kisielewicz wrote: Okay, agreed. But what is there that can be done? I mean, yes -- there are many things that can be done by Pascal guru's, but is there anything to be done by a typical Pascal programmer? (without the knowledge of similar C libraries) I'm a

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Vinzent Hoefler
On Friday 03 June 2005 10:47, Jamie McCracken wrote: It makes it more clear IMO not less. having all that interface code and having to jump between it and the implementation does not aid legibility. It encourages reading code instead of interface specifications. Often there is a big

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Vincent Snijders
Jamie McCracken wrote: At the end of the day, if you dont like my new dialect then dont use it - stick to {$mode objfpc} in your code. I want to offer you a new dialect that should hopefully make your life easier but if it does not then fair enough. Thanks for the offer, where can I

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Vinzent Hoefler
On Thursday 02 June 2005 16:12, Marco van de Voort wrote: Begin..End is redundant - you have to indent them to make em readable anyways. No. This makes the code more readable like normal english text. It states much more clearly what it intents, at least much more than just indenting

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Jamie McCracken
Vincent Snijders wrote: Jamie McCracken wrote: At the end of the day, if you dont like my new dialect then dont use it - stick to {$mode objfpc} in your code. I want to offer you a new dialect that should hopefully make your life easier but if it does not then fair enough. Thanks for

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread listmember
Marc Weustink wrote: -- Class Contracts I like the 'require/ensure' aproach. It makes the code more robust and more debuggable, IMHO I think the checks you can do there are to limited. I also wonder what will happen if a require isn't met. Personally I don't want exeption in my released app.

Re: [fpc-devel] Re: [fpc-l] type discussion

2005-06-03 Thread Gerhard Scholz
- Original Message - From: Hans-Peter Diettrich [EMAIL PROTECTED] To: FPC developers' list fpc-devel@lists.freepascal.org Sent: Thursday, June 02, 2005 3:27 PM ... More important: Unicode literals. But I know that this would require a very big change to the scanner, and to all code

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Peter Vreman
gcc docs mainly (stabs) Thank you, also Florian and Peter, of course. It seems that I have more than enough options :-) For an simple stabs parser see rtl/inc/lineinfo.pp ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] How to manually control debug information

2005-06-03 Thread Peter Vreman
Since preprocessed code isn't read by human, why don't change it into procedure AddFive(var a, b: Integer); begin Inc(b); a := b; end; The compiler don't care and you get correct line numbers. Clever! But won't the compiler care if a line gets too long? No. The compiler itself doesn't

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Kornel Kisielewicz
Florian Klaempfl wrote: - write docs for the already existing packages You mean that writing a fpcdoc for the opengl headers for example would be useful for somebody? Myself, I always was uncontent with the fact that there was no opengl section in the rtl docs... -- At your service,

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Florian Klaempfl
Kornel Kisielewicz wrote: Florian Klaempfl wrote: - write docs for the already existing packages You mean that writing a fpcdoc for the opengl headers for example would be useful for somebody? Myself, I always was uncontent with the fact that there was no opengl section in the rtl

Re: [fpc-devel] Fixes for win32 dlls smartlink

2005-06-03 Thread Peter Vreman
Hello Florian and all FPC team, I finished patchs in pexports.pas and pmodules.pas fixing win32 dlls smartlink. These patchs are based on latest 1.9 sources which differs from current 2.0 and 2.1 only by bigger logs, therefore they should be applicable for both branchs. Applied to 2.1. Can

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Michael Van Canneyt
On Fri, 3 Jun 2005, Kornel Kisielewicz wrote: Florian Klaempfl wrote: - write docs for the already existing packages You mean that writing a fpcdoc for the opengl headers for example would be useful for somebody? Myself, I always was uncontent with the fact that there was no opengl

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Florian Klaempfl
Michael Van Canneyt wrote: On Fri, 3 Jun 2005, Kornel Kisielewicz wrote: Florian Klaempfl wrote: - write docs for the already existing packages You mean that writing a fpcdoc for the opengl headers for example would be useful for somebody? Myself, I always was uncontent with the

Re: [fpc-devel] Extend the libraries people!

2005-06-03 Thread Michael Van Canneyt
On Fri, 3 Jun 2005, Vincent Snijders wrote: Florian Klaempfl wrote: Michael Van Canneyt wrote: On Fri, 3 Jun 2005, Kornel Kisielewicz wrote: Florian Klaempfl wrote: - write docs for the already existing packages You mean that writing a fpcdoc for the opengl headers for example

[fpc-devel] David Intersimone Interview about Freepascal and Lazarus!!!

2005-06-03 Thread rstar
David Intersimone Interview about Freepascal and Lazarus!!! http://www.bitwisemag.com/media/video/iv/davidi_june2005/davidi_interview_delphi.wmv go to 3:32 ___ fpc-devel maillist - fpc-devel@lists.freepascal.org

Re: [fpc-devel] David Intersimone Interview about Freepascal andLazarus!!!

2005-06-03 Thread Ivan Shikhalev
What's about the text version of this interview? ___ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel

Re: [fpc-devel] was: type discussion

2005-06-03 Thread Sebastian Kaliszewski
I think we're mostly offtopic now, maybe we should EOT or move to private Vinzent Hoefler wrote: Of course C is much worse than contemporary C++ (C++ + std::). Only in theory. Look at typical projects in the industry. I have close look at the projects in my company. And the difference is

RE: [fpc-devel] David Intersimone Interview about Freepascal andLazarus!!!

2005-06-03 Thread Tony Maro
Well, he does not say anything about the project specifically, just that Borland is committed to Delphi, surprise, surprise :-) Micha Actually, when asked if Lazarus, FPC, etc are competitors to Delphi he says: I think they're just other languages or other projects for people to take a

Re[2]: [fpc-devel] Fixes for win32 dlls smartlink

2005-06-03 Thread Ivan Shikhalev
Was that why when I created a DLL it only worked with smartlinking off? Was: When you create DLL with -CX option or with {$SMARTLINK ON} in main module - the DLL was have no exports section in binary. ___ fpc-devel maillist -