BinToHex conversion and back (was:Re: [fpc-devel] InstantObjects)

2005-02-01 Thread Jan Ruzicka
On Feb 1, 2005, at 04:11, Marco van de Voort wrote: On Tue, 1 Feb 2005 [EMAIL PROTECTED] wrote: Classes: 1 - fpc lacks a HexToBin and BinToHex functions. [It has them but only as private methods of TParser] These functions are in sysutils or strutils. They have no place in Classes. I started thes

[fpc-devel] ptop

2005-02-18 Thread Jan Ruzicka
omment at the end of line. I attempted to fix issues mentioned above, but I don't know who should be contacted for a patch submission. Can I use Ansi strings or does it have to be portable? I ask because multi line comments are too big for a string. Is there a keeper of the utils ? Jan R

Re: [fpc-devel] ptop

2005-02-21 Thread Jan Ruzicka
On Feb 21, 2005, at 04:03, [EMAIL PROTECTED] wrote: On Mon, 21 Feb 2005, Jan Ruzicka wrote: Hi [... snip ...] only outstanding issue are new lines in front of long comments. The procedure PPSymbol is trying to fit the symbol on a line by inserting a new line. This is working so it can be

Re: [fpc-devel] Modernising Pascal

2005-02-25 Thread Jan Ruzicka
Enough guys each camp can make distinct implementation. Use this forum to discuss an interface. Let the results speak for themselves. Lets discuss test code. Lets discuss benchmark code. Instead of discussing bunch of what-ifs let's see how the implementation does. Is there some wiki[1] where we ca

[fpc-devel] ptop

2005-03-09 Thread Jan Ruzicka
Hi, is anybody interested in changed ptop? My version now has capability of a dictionary. Capitalization can be specified as wild as desired, words can even be changed completely. It is at http://cvs.sourceforge.net/viewcvs.py/alab/alab/tools/ Jan Ruzicka

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

2005-06-02 Thread Jan Ruzicka
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 -Fu/Users/j/fpc/fpc-svn/packages/base/ibase/units/powerpc-darwin -Fu/Users/j

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

2005-06-08 Thread Jan Ruzicka
On Jun 3, 2005, at 07:03, Michael Van Canneyt wrote: On Fri, 3 Jun 2005, Kornel Kisielewicz wrote: Florian Klaempfl wrote: - write a bcd classes BCD? Binary Coded Decimal. We urgently need a bcdfmt unit as in delphi. [...] Hi I did not find any usable info about the bcdfmt. What is the req

FMTBcd implementation for FPC was Re: [fpc-devel] Extend the libraries people!

2005-06-12 Thread Jan Ruzicka
Hi are you interested in FMTBcd unit for FPC ? I would appreciate information needed for clean implementation. Page used for collecting information is: http://www.freepascal.org/wiki/index.php/BcdUnit At this moment most valuable are test cases for different functions. Also more explanation abo

[fpc-devel] Bug: fpc-svn-392 compile error

2005-06-12 Thread Jan Ruzicka
Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? Jan error: /usr/local/bin/ppcppc -dNOMOUSE -Ur -dFPC_USE_LIBC -Xs -O1 -n -Fi../inc -Fi../powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/powerpc -FE. -FU/Users/j

Re: [fpc-devel] Bug: fpc-svn-392 compile error

2005-06-13 Thread Jan Ruzicka
On Jun 13, 2005, at 05:31, Tomas Hajny wrote: Peter Vreman said: Hi latest version form SVN does not even compile. Is there any plan to have something similar to a mozilla tinderbox? There are already dailed build snapshots and testsuite results for i386-linux. See http://www.freepascal.org

[fpc-devel] svn revision 636 - does not compile

2005-07-17 Thread Jan Ruzicka
Hi All the fpc subversion revision 636 does not compile on OSX The compilation was attempted using fpc 2.0 (Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc) the compiler dies with "Internal error 200107271" on rtl/inc/mvecimp.inc. the code in mvecimp.inc looks like: 45 funct

Re: [fpc-devel] svn revision 636 - does not compile

2005-07-17 Thread Jan Ruzicka
t present in the rtl/powerpc/math.inc? Jan On Jul 17, 2005, at 03:29, Jan Ruzicka wrote: Hi All the fpc subversion revision 636 does not compile on OSX The compilation was attempted using fpc 2.0 (Free Pascal Compiler version 2.0.0 [2005/05/13] for powerpc) the compiler dies with "Int

Re: [fpc-devel] Re: [fpc-pascal] Calling unassigned procedure gives no stack trace with -gl

2005-07-19 Thread Jan Ruzicka
Hi Jonas is there any problem with locating the stabs sections in mach-o files? Can apple documentation be used? http://developer.apple.com/documentation/DeveloperTools/Conceptual/ MachORuntime/index.html Is there a problem in getting legally actual values needed for the implementation? Ja

Re: [fpc-devel] Re: [fpc-pascal] Calling unassigned procedure gives no stack trace with -gl

2005-07-21 Thread Jan Ruzicka
On Jul 20, 2005, at 04:05, Jonas Maebe wrote: On 20 Jul 2005, at 08:38, Jan Ruzicka wrote: s there any problem with locating the stabs sections in mach-o files? Can apple documentation be used? http://developer.apple.com/documentation/DeveloperTools/Conceptual/ MachORuntime/index.html Is

Re: [fpc-devel] Re: [fpc-pascal] Calling unassigned procedure gives no stack trace with -gl

2005-07-22 Thread Jan Ruzicka
? Which processor, operating system, version of OS.? Jan On Jul 21, 2005, at 09:12, Jonas Maebe wrote: On 21 Jul 2005, at 09:14, Jan Ruzicka wrote: [Mac OS X lineinfo] Is attached patch acceptable? It's perfect, I've committed it. Thanks a lo

Re: [fpc-devel] According to Valgrind, something is wrong in IndexByte

2005-08-12 Thread Jan Ruzicka
On Aug 12, 2005, at 05:04, Micha Nelissen wrote: Hi, In TDbf I use MemScan, which is defined as such: (FPC_DISABLE for testing, normally FPC) {$ifdef FPC_DISABLE} function MemScan(const Buffer: Pointer; Chr: Byte; Length: Integer): Pointer; var I: Integer; begin I := System.IndexByt

Re: [fpc-devel] data alignment

2005-08-12 Thread Jan Ruzicka
Hi Rostya and Florian Is there a way to align code? (specially in loops.) A Profiler is complaining about an unaligned loop. It gives following suggestion: "... With gcc, use the -falign-loops=16 compiler flag (broken in gcc 3.1; gcc 3.3 or later should be used)." I am using Shark on OSX 10.3.9

Re: [fpc-devel] According to Valgrind, something is wrong in IndexByte

2005-08-13 Thread Jan Ruzicka
On Aug 13, 2005, at 10:41, Micha Nelissen wrote: On Sat, 13 Aug 2005 00:03:01 -0400 Jan Ruzicka <[EMAIL PROTECTED]> wrote: On Aug 12, 2005, at 05:04, Micha Nelissen wrote: But if I use my own version (which I use for delphi and is i386 specific), it reports no errors in this locatio

Re: [fpc-devel] compilation error of h2pas.pas on Mac OS X in the course of "make all" of the SVN sources

2005-09-16 Thread Jan Ruzicka
rray [1..yyngotos] of YYARec = ( line 5924 "yyg : array [1..yyngotos] of YYARec = (" ... line 6653 ); The error message is attached bellow. Jan Ruzicka On Sep 16, 2005, at 09:32, Dr. Rolf Jansen wrote: since some days I am no more able to "make all" the latest an

Re: [fpc-devel] compilation error of h2pas.pas on Mac OS X in the course of "make all" of the SVN sources

2005-09-20 Thread Jan Ruzicka
Hi Is there any workaround to make the FPC compile on darwin? Is there any way I can help? Thanks Jan On Sep 17, 2005, at 05:34, Florian Klämpfl wrote: Dr. Rolf Jansen wrote: since some days I am no more able to "make all" the latest and greatest fpc from SVN sources, because there are com

[fpc-devel] compilation error

2005-09-28 Thread Jan Ruzicka
Hi all there seems to be a glitch in compiling rtl/unix/baseunix.pp as it chokes on include bunxovl.inc. A bunch of "Error: Calling convention doesn't match forward" is spewed. (see [2]) A quick look around shows some mismatch between definition of parameters for functions [1]. Jan [1] fun

[fpc-devel] OS X make cycle compilation broken

2006-12-10 Thread Jan Ruzicka
Hi make cycle in fpc/compiler directory on OS X ends in an error. I did make clean, make and make cycle. The "make clean" and "make" runs without error. Am I doing something wrong? Thanks Jan > $ svn up > At revision 5564. -ERROR messages: /usr/local/bin/ppcppc -