Commit Graph

3867 Commits

Author SHA1 Message Date
peter
97bbe41037 + io-error 103 added 1998-11-29 22:28:09 +00:00
peter
a41f61713d + open strings, $P switch support 1998-11-27 14:50:30 +00:00
Jonas Maebe
5271ef0830 * changed RandSeed and OldRandSeed to Cardinal to avoid negative random numbers 1998-11-26 23:16:13 +00:00
michael
5d9dc4f800 + Fixed TREsourcefile.init 1998-11-26 14:41:22 +00:00
peter
741fe89a50 * fixed length(char)
- removed obsolete version.inc
1998-11-24 17:12:42 +00:00
peter
007c60c127 * made a real fpc only version, no platform.inc
* applied fixes from the mailinglist
  + included some routines from callspec
1998-11-24 17:11:22 +00:00
michael
7c71c739bc + Fixed pchar2ansi 1998-11-18 10:56:46 +00:00
michael
cc415c9cd4 + Fixed copy. Now reference count is correct 1998-11-17 12:16:07 +00:00
peter
c8d3ad6484 + several checks for empty string 1998-11-17 11:33:22 +00:00
michael
ef9ef167a1 + added astrings to dependencies 1998-11-17 10:37:14 +00:00
michael
62952be3eb + renamed astrings.pp to astrings.inc 1998-11-17 10:36:07 +00:00
michael
71482c66e4 + renamed from astrings.pp to astrings.inc 1998-11-17 10:34:18 +00:00
michael
af08ecf3e2 - renamed to astrings.inc 1998-11-17 10:33:33 +00:00
peter
7aeb09d89d * renamed string functions 1998-11-17 00:41:08 +00:00
peter
78546bab43 + char2ansi 1998-11-16 15:42:04 +00:00
peter
a990cb8ab6 * fixes for 0.99.8 1998-11-16 12:21:47 +00:00
peter
c7875f8dd9 * write extra info also for wrong size 1998-11-16 12:20:13 +00:00
michael
0b1f401935 + Fix for Insert and Delete functions 1998-11-16 11:11:47 +00:00
peter
dbbdb79dfe * fixes for H+ 1998-11-16 10:21:24 +00:00
michael
f1e7a93398 + Insert procedure corrected 1998-11-13 14:37:11 +00:00
peter
9c5cf4f161 * fixed for 0.99.8 1998-11-12 11:54:50 +00:00
peter
3acf610a1d + released object registration 1998-11-12 11:45:09 +00:00
pierre
47f406fc04 * size is now also checked
+ added halt_on_error variable (default true)
    to stop at first error in getmem/freemem
1998-11-06 08:46:01 +00:00
peter
c21642499c * removed warnings 1998-11-05 14:20:36 +00:00
pierre
c1b6f90bcf * fix for length(char) in const expressions 1998-11-05 10:29:34 +00:00
michael
233c8c8c79 + Removed ifdef useansistrings 1998-11-04 20:34:01 +00:00
michael
478b404136 + Small fixes to assign and add 1998-11-04 15:39:44 +00:00
peter
5727090134 * ansistring fixes 1998-11-04 10:20:48 +00:00
michael
9a38bce562 + Fix for assign of null string 1998-11-02 09:46:12 +00:00
michael
869769c502 Fixed assignment of NIL string. 1998-10-30 21:42:48 +00:00
michael
5d55395676 Long options NEED -- as starting char 1998-10-30 09:18:22 +00:00
peter
d52f2bdd94 + OptSpecifier 1998-10-29 23:06:55 +00:00
pierre
4844858fa6 * vmtlink type changed to pointer 1998-10-23 16:51:18 +00:00
peter
525f478bae * write(pchar) has check for nil 1998-10-23 00:03:29 +00:00
peter
0ffc0f5586 + check for < 0 which otherwise segfaulted 1998-10-22 23:50:45 +00:00
peter
adcc76d18d + packed record for conversion records 1998-10-22 18:23:55 +00:00
michael
a643c03805 + AssignAnsistring no longer copies constant ansistrings;
+ CompareAnsiString is now faster (1 call to length less)
+ UniqueAnsiString is fixed.
1998-10-22 11:32:23 +00:00
michael
8648324256 + Some more corrections 1998-10-21 23:01:54 +00:00
michael
1a9987cfe5 + more fixes so it compiles 1998-10-21 09:03:11 +00:00
michael
0ee1ca0246 + Fix so it compiles 1998-10-21 08:56:58 +00:00
florian
b70ee498ad * ansistringconcat fixed 1998-10-21 08:38:46 +00:00
peter
0a51bba5f7 * fixed maxlen which was not correct after my read_string update 1998-10-20 14:37:45 +00:00
florian
1e126715b8 * small fixes to ansicompare 1998-10-20 12:46:11 +00:00
Jonas Maebe
3aca7519c9 * fixed RandSeed bug 1998-10-12 22:11:28 +00:00
florian
26635465aa * made FPC_HANDLEERROR public 1998-10-12 12:43:37 +00:00
peter
31fbeac551 * small typo :( 1998-10-11 14:30:19 +00:00
peter
af1ccc6f61 + read single,fixed
+ val with code:longint
  + val for fixed
1998-10-10 15:28:46 +00:00
pierre
b6986c4f1c * changed default to keepreleased=false
(allows to compile pp in one call without reaching the
    64Mb limit of Windows 95 dos box)
  * corrected so typo errors
1998-10-09 11:59:31 +00:00
pierre
64b0e99cc9 + added possibility for more info 1998-10-08 14:49:05 +00:00
Jonas Maebe
7688b443a8 * changed seed2 and seed3 to cardinal to prevent overflow 1998-10-07 11:40:08 +00:00
pierre
0bccbc5fde + added trace of first dispose for errors 1998-10-06 17:09:13 +00:00
pierre
21ae990973 * avoid overflow on $8000000 with $Q- 1998-10-05 17:22:54 +00:00
peter
369e79adf9 + assert() support 1998-10-05 12:32:44 +00:00
florian
5e622e60c0 * EInvalidCast added (from runerror 219) 1998-10-03 15:08:04 +00:00
michael
a99c5a00c7 better handling of unhandled exceptions 1998-10-02 10:40:19 +00:00
peter
45f1890009 + quicktrace 1998-10-02 10:35:38 +00:00
peter
96159c617a * more constant expression evals 1998-10-02 09:25:09 +00:00
peter
2a14ecc703 + memorymanager like delphi 1998-10-01 14:55:17 +00:00
peter
b9c5aa653c * export also stackframe functions 1998-10-01 14:54:48 +00:00
peter
c783636b0f + first version 1998-10-01 14:54:20 +00:00
michael
c04585305f + Ansistring write now gets pointer. 1998-09-29 08:39:07 +00:00
michael
7b7582c54b + AnsiStrings update 1998-09-28 14:27:08 +00:00
michael
4783316085 + AnsiString changes 1998-09-28 14:02:33 +00:00
florian
e0043e9a3e * small fixes
* made UniqueAnsistring public
  * ...
1998-09-27 22:44:50 +00:00
peter
d97b8fa00f * fixed small bug with a #13#10 on a line 1998-09-24 23:32:24 +00:00
peter
e47964d613 * shortstring=string type added 1998-09-22 15:30:54 +00:00
florian
41efdfd57d * some ansistring fixes 1998-09-20 17:49:07 +00:00
florian
5be9c5724b * some internal procedures take now an pointer instead of a
ansistring
1998-09-19 08:33:17 +00:00
peter
5ae64603db * fixed a bug introduced by my previous update 1998-09-18 12:23:22 +00:00
peter
1e3a448793 * new eof,eoln,seekeoln,seekeof
* speed upgrade for read_string
  * inoutres 104/105 updates for read_* and write_*
1998-09-17 16:34:16 +00:00
michael
ac4ac905aa Added AbstractErrorHandler 1998-09-16 13:08:03 +00:00
michael
c3781fba38 Added FPC_ prefix to abstracterror 1998-09-16 12:37:07 +00:00
michael
2ec08b84f3 + Merged changes from fixes branch 1998-09-15 17:12:32 +00:00
peter
4620a73a9b * FPC_ names
* Heap manager is now system independent
1998-09-14 10:48:00 +00:00
peter
b136b62127 * removed some warnings 1998-09-09 15:29:02 +00:00
peter
53dcf00218 * moved getmem/freemem/memavail/maxavail to heaph.inc 1998-09-08 15:03:27 +00:00
peter
cbe7d4629c + textrecbufsize 1998-09-08 10:14:06 +00:00
peter
8c0de1dd76 * uniform filerec/textrec (with recsize:longint and name:0..255) 1998-09-04 18:16:12 +00:00
peter
b8ff0c3320 + internconst 1998-09-01 17:36:17 +00:00
peter
23225bea44 * reset bufpos,bufend in opentext like tp7 1998-08-26 15:33:28 +00:00
pierre
2fefd65557 * close did not reset the bufpos and bufend fields
led to problems when using the same file several times
1998-08-26 11:23:25 +00:00
florian
cb2b504eb1 + rtti for objects and classes
+ TObject.GetClassName implemented
1998-08-23 20:58:50 +00:00
michael
a9cb5d1206 + minor fixes typos, and ansi2pchar 1998-08-22 09:32:12 +00:00
michael
8a66987b6c + Flush on close only for output files cd ../inc 1998-08-17 22:42:17 +00:00
carl
1dd8fe99d5 + important comment added 1998-08-17 12:24:16 +00:00
Jonas Maebe
bee0c9d3b4 * random now returns a value between 0 and max-1 instead of between 0 and max 1998-08-13 16:22:11 +00:00
peter
de0a5038f9 * splitted default_extended from support_extended 1998-08-11 21:39:04 +00:00
peter
bd57e42086 * $ifdef ver0_99_5 updates 1998-08-11 00:04:46 +00:00
peter
282bcd52e7 * fixed 0_9_5 typo 1998-08-10 15:56:30 +00:00
florian
29a7bb1314 * a lot small fixes to the extended data type work 1998-08-08 12:28:09 +00:00
florian
cc290ede1a * the raise helper routine get the exception object call by value 1998-08-02 16:43:35 +00:00
michael
d207893bde + Added support for ExceptProc+ 1998-07-30 16:10:11 +00:00
michael
dc7304e08e + Small change in raise statement object is passed by reference 1998-07-30 14:52:04 +00:00
michael
4e11459938 + Added support for ErrorProc variable. All internal functions are required
to call HandleError instead of runerror from now on.
  This is necessary for exception support.
1998-07-30 13:26:14 +00:00
michael
6827a17d38 + Implemented reading/writing of ansistrings 1998-07-29 21:44:34 +00:00
michael
9865eea0ef included sysutils and math.pp as target. They compile now. 1998-07-29 15:44:32 +00:00
michael
8cc8cb80b2 + added setjmp/longjmp and exception support 1998-07-28 20:37:45 +00:00
michael
11cbb1fd82 + Initial implementation 1998-07-28 20:36:41 +00:00
michael
e639e7b163 + Adapted assert to Delphi format 1998-07-23 19:53:20 +00:00
michael
72b2ff141f + Implemented DO_ASSERT function. 1998-07-23 13:08:41 +00:00
michael
dd71eb8045 changes for ansistrings 1998-07-20 23:36:56 +00:00
florian
cd56bb15c3 *** empty log message *** 1998-07-20 18:42:51 +00:00
michael
f48664d6d5 + fixed rename. Changed p to p^ 1998-07-19 19:55:32 +00:00
florian
5e5ca61090 * strlenint type implemented 1998-07-18 17:14:22 +00:00
carl
44820af8cb * would not compile under FPC v0.99.5 1998-07-15 12:09:35 +00:00
carl
41250c8861 + Atari TOS support 1998-07-15 12:08:33 +00:00
florian
ba57d2813b * some problems with ansi string support fixed 1998-07-13 21:19:07 +00:00
peter
702043e165 * support_fixed, becuase fixed is not 100% yet for the m68k 1998-07-10 11:02:38 +00:00
carl
4b8d030e14 * fixed problem with m68k asm syntax
* i386_att put back in, and only in cpu86 defined
1998-07-08 12:00:25 +00:00
carl
4f8884b466 * randon and Random(l) now work correctly - don't touch it works! 1998-07-08 11:56:55 +00:00
carl
72c44ae5a0 * make it compiler for win32 and m68k 1998-07-07 13:29:48 +00:00
michael
477a174399 Added length checking for string reading 1998-07-06 15:56:43 +00:00
michael
bb21590124 + Added Public,Alias directives for some calls 1998-07-06 14:29:08 +00:00
michael
c33e3788cd Reinstated the heapsize function. 1998-07-02 14:11:30 +00:00
carl
004bb57ae9 * hmmm... it is luck (BSS zeroed with GAS) that DoError and ErrorBase work.
Now they are initilized instead.
1998-07-02 13:01:55 +00:00
carl
a546945c4d * DOERROR RESOTRED! DON'T TOUCH :) 1998-07-02 12:53:09 +00:00
carl
9d51088353 * IoCheck routines now check for InOutRes before executing, just like TP 1998-07-02 12:16:28 +00:00
carl
b7d9265b8f + Each IOCheck routine now checks for InOures before executing, like TP 1998-07-02 12:15:39 +00:00
carl
2f83875419 + Each IOCheck routine now check InOutRes before, just like TP 1998-07-02 12:14:56 +00:00
carl
a787487de6 * No SINGLE type for non-intel processors!! 1998-07-02 12:14:19 +00:00
carl
a364f24f24 - function heapsize MUST be removed, create conflicts with HEAPSIZE var 1998-07-02 12:13:49 +00:00
carl
e472678241 * No SINGLE type for m68k or other non-intel processors! 1998-07-02 12:13:18 +00:00
carl
5434ee6d4c * no SINGLE in m68k and other processors! 1998-07-02 12:11:50 +00:00
peter
b5203c5b09 * fixed do_error in runtimeerror 1998-07-02 09:25:05 +00:00
peter
5a638754f4 * better readln/writeln 1998-07-01 15:29:56 +00:00
carl
6d5e917e60 * bugfix of WRITE_TEXT_BOOLEAN , was not TP compatible
+ added explicit typecast in OpenText
1998-07-01 14:48:10 +00:00
carl
7e95e0140e - max_frame_dump reduced to 8, 20 is too much! 1998-07-01 14:43:46 +00:00
daniel
8a84b20446 - Doerror removed. 1998-06-26 08:20:57 +00:00
peter
4ac8e5d18f + internal inc/dec 1998-06-25 14:04:17 +00:00
daniel
c43a386001 + RTLLITE directive to compile minimal RTL. 1998-06-25 09:44:19 +00:00
florian
811044754a * better rtti 1998-06-25 08:41:41 +00:00
peter
dbeb47f3bc * fixed the filesize() problems under linux and filerec.size=0 error 1998-06-23 16:57:16 +00:00
peter
972218d22f * some fixes with indexes
* bp7 compatible
1998-06-18 10:49:04 +00:00
michael
6ed3f994e1 + Fixed error when printing zero. len was calculated wron. 1998-06-18 08:15:33 +00:00
pierre
36e6db8f40 + complex.pp replaced by ucomplex.pp
complex operations working
1998-06-15 15:45:40 +00:00
daniel
c48b67d0b3 * RTLLITE conditional added to produce smaller RTL 1998-06-15 15:16:26 +00:00
michael
8068589c3c + Added aliases for Incr/Decr ref. 1998-06-12 07:39:13 +00:00
michael
504b4faf62 + Forgot to commit some changes 1998-06-10 07:46:45 +00:00
michael
837c1582a3 Some changes to integrate in system unit 1998-06-08 19:35:02 +00:00
michael
4b73216117 + Split rtti according to processor. Implemented optimized i386 code. 1998-06-08 15:32:08 +00:00
michael
05b01ddb00 Implemented rtti, inserted ansistrings again 1998-06-08 12:38:21 +00:00
peter
d0ce4085d3 * comp,extended are only i386 added support_comp,support_extended 1998-06-04 23:45:56 +00:00
pierre
c04eb73621 * boolean internal definition again (needed to compile
older RTL's)
1998-06-04 08:26:03 +00:00
peter
6f2206fbeb + boolean=bytebool 1998-06-03 23:39:53 +00:00
pierre
ad8d0efb52 * bug for boolean values greater than one fixed 1998-06-02 16:47:56 +00:00
peter
128212755c * removed warnings using comp() 1998-05-31 14:14:52 +00:00
peter
1d389f6211 * ATT asmparsing always 1998-05-30 14:24:42 +00:00
peter
d307cedd31 * fixed crt input 1998-05-27 00:19:16 +00:00
peter
eeb1721f9c * Platform.inc -> platform.inc 1998-05-25 09:50:04 +00:00
peter
d26106d745 * fixed the optimizes of daniel 1998-05-22 12:34:06 +00:00
peter
eb39182b3b * objects compiles for linux
+ assign(pchar), assign(char), rename(pchar), rename(char)
  * fixed read_text_as_array
  + read_text_as_pchar which was not yet in the rtl
1998-05-21 19:30:46 +00:00
carl
4496a78375 + working version now ok 1998-05-21 15:37:19 +00:00
carl
1e8e4a0700 + platform information for objects unit 1998-05-21 12:11:54 +00:00
carl
499bcf3f16 + first revision, complete objects unit 1998-05-21 12:11:10 +00:00
carl
fae8860440 * works with all OS 1998-05-21 11:55:59 +00:00
cvs
ac974a7634 * test commit. Shouldn't be allowed. 1998-05-20 11:23:09 +00:00
peter
d12776a732 * moved cpne.pp to install/ 1998-05-12 10:55:23 +00:00
peter
e64becf81c * moved getopts to inc/, all supported OS's need argc,argv exported
+ strpas, strlen are now exported in the systemunit
  * removed logs
  * removed $ifdef ver_above
1998-05-12 10:42:41 +00:00
michael
dbe0135764 Changed makefile system to use -I compiler option, and streamlined i a bit 1998-05-06 09:09:07 +00:00
peter
e4328d08e2 + heapblocks 1998-04-21 10:22:48 +00:00
peter
4594d7ae04 + inc(pchar), dec(pchar), incc(pchar,a),dec(pchar,a) 1998-04-16 12:30:47 +00:00
michael
62001bab9a + Changed Random() function. Moved from system to processor dependent files (from Pedro Gimeno) 1998-04-08 07:53:31 +00:00
florian
e18075dc19 * final fix of comp writing 1998-04-07 22:40:46 +00:00
michael
055750c235 * fixed initialization bug in assign. 1998-04-04 17:06:17 +00:00
michael
f6b5cc3358 + Added comp support for val and read(ln) 1998-03-26 14:41:22 +00:00
florian
4a9ba91007 * complete Object Pascal support moved to objpas unit 1998-03-25 23:39:17 +00:00
root
d1a1f501c8 Initial revision 1998-03-25 11:18:12 +00:00