Commit Graph

216 Commits

Author SHA1 Message Date
marco
f936d45210 * Some register allocation fixes. for stricomp and strilcomp 2001-01-21 10:12:32 +00:00
Jonas Maebe
200e1d4b25 * removed warnings about possible range check errors 2000-12-16 15:58:18 +00:00
florian
5da658c6db * interfaces basically running 2000-11-12 23:23:34 +00:00
florian
1117f793db + FPC_FINALIZEARRAY
* Finalize to int_finalize renamed
2000-11-09 17:49:34 +00:00
florian
f79644d9ca + AfterConstruction and BeforeDestruction implemented
+ TInterfacedObject implemented
2000-11-07 23:42:21 +00:00
florian
49881f1aec * another fix for interfaces 2000-11-06 21:52:21 +00:00
peter
2660e94c5f * removed some warnings 2000-11-06 21:35:59 +00:00
florian
747f3d9552 + interfaces support 2000-11-04 16:28:55 +00:00
florian
1a2851eb47 * a lot of small changes:
- setlength is internal
     - win32 graph unit extended
     ....
2000-10-21 18:20:17 +00:00
Jonas Maebe
33ee934d6e + new, much faster do_set_range based on the PowerPC version (which
will be committed tomorrow)
2000-09-21 16:09:19 +00:00
michael
586c4cea50 + Conditionals fixed 2000-07-14 10:33:09 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
Jonas Maebe
be0deb8185 - removed fpc_strconcat_len for -dnewoptimizations since it's not
used anymore (because the strconcat optimizations have been
    disabled quite a while ago)
2000-07-08 09:09:35 +00:00
marco
f5fd205ab5 * Changed move (var source;var dest) to move (const source;var dest) 2000-07-07 18:23:41 +00:00
Jonas Maebe
964dd80cda * fixed reading past end-of-heap again (correctly this time I hope) 2000-07-01 10:52:12 +00:00
Jonas Maebe
d0b7a84ef6 * strpas is again slightly slower, but won't crash anymore if a pchar
is passed to it that starts less than 4 bbytes from the heap end
2000-06-30 12:20:20 +00:00
Jonas Maebe
9aae9228e2 * fixed bug in strscan :( 2000-06-23 11:13:56 +00:00
peter
91592c2c11 * change .align to .balign 2000-06-12 19:53:32 +00:00
Jonas Maebe
e714b0e188 * fixed typo :( 2000-06-12 13:17:56 +00:00
Jonas Maebe
93f4c7a312 * new fixed and faster strpas (previous version only returned the first
254 chars when the pchar was aligned on a 4 byte boundary and was >=
    255 chars)
2000-06-12 08:33:26 +00:00
Jonas Maebe
9cf6b9f89d * much faster strcopy and strscan procedures 2000-06-11 14:25:23 +00:00
Jonas Maebe
2689404afd * fixed web bug #983 (array name wasn't skipped in add/decref) 2000-06-07 08:55:30 +00:00
pierre
bf20aa47d9 * fix ingnored assembler error in IndexDWord 2000-05-09 06:21:58 +00:00
pierre
d7afdbd8e6 * Preserve all registers in SetJmp
* set EAX to value filed in LongJmp instead of only 0 or 1
2000-05-04 09:47:40 +00:00
pierre
a41bd45aad * 0**n where n<>0 is 0; 0**0 generates RTE 207 2000-05-02 10:37:50 +00:00
Jonas Maebe
ff9782d70c + FPC_SHORTSTR_CONCAT_LEN (temporary, for -dnewoptimizations) 2000-04-23 09:26:51 +00:00
Jonas Maebe
ec08464c80 + added destroyed registers list for move procedure (it doesn't destroy
edx)
2000-04-10 09:47:15 +00:00
pierre
d7346825ee changed to get nasm to compile system 2000-04-07 21:29:00 +00:00
florian
33f3467ef0 * the bounds check error gets now a correct stack frame 2000-04-06 08:39:22 +00:00
peter
7c516d9404 * fixed addref/decref for records, the data/type was read in the
wrong order
2000-04-01 11:45:34 +00:00
pierre
beecf1ec51 * remove fninit in longjump 2000-03-31 23:12:09 +00:00
Jonas Maebe
1e8a7f6853 * added missing register that is destroyed by strecopy
+ some destroyed register lists for procedures that didn't have one yet
2000-03-28 11:14:33 +00:00
florian
95d572ca04 * we don't need to to finit twice ... 2000-02-18 16:16:13 +00:00
florian
ff96d13e5f * fixed constants in rtti
* longjmp does now a finit
2000-02-18 15:23:01 +00:00
florian
2eb62408ae * disabled FIXED data type per default 2000-02-15 14:36:57 +00:00
florian
4dd95e6a80 * longjump does now a finit 2000-02-09 22:12:54 +00:00
peter
6b66a55cd6 * truncated log 2000-02-09 16:59:28 +00:00
Jonas Maebe
7fbe48e245 * fixed warning 2000-01-13 13:06:03 +00:00
pierre
fb2b4f7510 * wrong change for StrPas function corrected 2000-01-11 22:56:57 +00:00
marco
226a728dae * direct params to internal asm. 2000-01-11 21:12:15 +00:00
marco
f2142127d8 * Direct params to internal assembler 2000-01-11 21:11:34 +00:00
marco
e8258f23c9 * Changed some direct asm params to real params 2000-01-11 21:11:04 +00:00
peter
c775ade1d6 * primitives added 2000-01-10 09:54:30 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
pierre
5f6f1fd669 * typo error if previous commit 1999-12-21 11:48:09 +00:00
pierre
ffc5263bfc + FPC_CHARARRAY_TO_SHORTSTRING added 1999-12-21 11:13:34 +00:00
florian
b8d4922188 * bug #766 fixed 1999-12-18 23:08:33 +00:00
Jonas Maebe
c14811e633 * faster abs() function (no jump anymore) 1999-12-11 18:59:44 +00:00
Jonas Maebe
5ffd2e21d4 * reinstated old random generator, but modified it so the integer
one now has a much longer period
1999-11-20 12:48:09 +00:00
daniel
ec77ff77ee * Committed new random generator. 1999-11-09 20:14:12 +00:00
peter
71d7f4ef38 * memorymanager expanded with allocmem/reallocmem 1999-10-30 17:39:05 +00:00
pierre
e8f2eba064 * fix for FPC_HELP_FAIL_CLASS 1999-10-08 14:40:54 +00:00
peter
11a2d8977e * fixed power(int,int) with negative base
* power(ext,ext) with negative base gives rte 207
1999-10-06 17:44:43 +00:00
pierre
7e716ff478 + code for fail for class 1999-10-05 20:50:06 +00:00
peter
88b7b037b2 + new heap manager supporting delphi freemem(pointer) 1999-09-17 17:14:11 +00:00
florian
47b7b2d321 * some math functions are now coded inline by the compiler 1999-09-15 20:24:11 +00:00
Jonas Maebe
d581decb97 * added dummy local var to boundcheck to force stackframe generation 1999-09-15 13:04:04 +00:00
pierre
7efee9b639 * changes for fail support 1999-08-19 12:50:08 +00:00
pierre
a0e69fbd00 + VMT reset to -1 if getmem called, neede for fail 1999-08-18 10:43:31 +00:00
pierre
e33295ceb0 * loading of esp value corrected 1999-08-18 10:42:13 +00:00
peter
793b28882f * classes vmt changed to only positive addresses
* sharedlib creation is working
1999-08-09 22:19:46 +00:00
peter
c5faa84f92 * saveregister is now working and used for assert and iocheck (which has
been moved to system.inc because it's now system independent)
1999-08-05 23:45:09 +00:00
michael
344a35fec1 Object finalization data fixed 1999-07-31 22:27:28 +00:00
peter
aedeaf9b7e * removed temp defines 1999-07-06 15:35:59 +00:00
peter
82c6138188 * removed temp defines 1999-07-06 10:53:52 +00:00
florian
b49d48c4e0 * int_new_class returned with zero flag=1, if at the entrance eax was zero
and newinstance wasn't called, fixed
1999-07-03 09:03:47 +00:00
pierre
13b4e5f347 * added $define FPC_SYSTEM_HAS_... for use with generic.inc 1999-05-31 22:03:37 +00:00
peter
03535bc427 * smaller sptr function 1999-05-31 12:49:19 +00:00
peter
62effc73d7 * nil check for strpas 1999-04-22 10:52:40 +00:00
florian
e3dc06bceb * the class helper routines doesn't store the registers properly,
fixed
1999-04-19 06:13:28 +00:00
michael
7e68180e14 +Added checking for nil on most functions. 1999-04-09 07:58:41 +00:00
peter
17f26f6577 * removed warnings 1999-04-08 11:30:57 +00:00
pierre
1bbbb8e6ca + no assembler if systemdebug defined 1999-04-07 16:21:10 +00:00
peter
ff7e4f60b5 * use assembler and remove all rets 1999-03-30 16:58:49 +00:00
peter
af8a04a5af * use external names
* removed all direct assembler modes
1999-03-01 15:40:48 +00:00
michael
82d08fba5d + Added header and log 1999-02-25 10:05:07 +00:00
michael
7865673a04 * Joined strings and sysutils 1999-02-25 07:39:17 +00:00
pierre
8c54e5656a * VMT field zeroed at destructor forgot offset !! 1999-02-22 13:23:22 +00:00
pierre
2d311def72 + code for FPC_TESTOBJEXT conditionnal 1999-02-05 12:26:25 +00:00
florian
769b8d8711 * class destructor helper routine for the new calling copnventions fixed 1999-02-02 11:04:27 +00:00
Jonas Maebe
2738539d11 + fixed bug0163 (set1 <= set2 support) 1999-01-20 17:48:02 +00:00
pierre
02a46a6547 * HandleError -> HandleErrorFrame to avoid problem in
assembler code in i386.inc
    (call to overloaded function in assembler block !)
1998-12-21 14:28:20 +00:00
michael
36d5398924 + Finalize fixed after florians fix :) 1998-12-20 14:08:06 +00:00
florian
9af41247e4 * Finalize fixed, constant for ansistrings is 9, not 10 1998-12-19 00:22:09 +00:00
peter
4eeae4e425 * fixed io-error handling 1998-12-18 17:21:32 +00:00
peter
516958a67b * removed temp symbols 1998-12-15 22:42:49 +00:00
pierre
86f0e64b17 * vmt address pushed for CHECK_OBJECT was not removed from stack 1998-11-30 15:27:28 +00:00
michael
5f21062312 + Adjusted typeinfo constants 1998-11-30 10:07:34 +00:00
peter
842c6be313 * NOATTCDQ define 1998-11-28 14:09:48 +00:00
Jonas Maebe
fc52d94323 * changed cdq to cltd in AT&T assembler block 1998-11-26 23:14:52 +00:00
peter
d2ba96eeac + FPC_BOUNDCHECK 1998-11-26 21:33:58 +00:00
peter
24cb89c2bd * removed all explicit leave;ret commands and let them generate by
the compiler (needed for stack alignment)
1998-11-24 12:54:57 +00:00
peter
06209a3be3 + FPC_SET_CREATE_ELEMENT 1998-11-24 12:54:01 +00:00
peter
7aeb09d89d * renamed string functions 1998-11-17 00:41:08 +00:00
pierre
ec5cec5909 * changed fsqrtl to fsqrt (needed by as v2.9.4 for win32) 1998-11-16 14:26:03 +00:00
peter
a990cb8ab6 * fixes for 0.99.8 1998-11-16 12:21:47 +00:00
peter
c42ce9d1d0 * ATT reader 1998-11-13 10:10:54 +00:00
pierre
7e1942412d + added FPC_SET_UNSET_BYTE for exclude of normsets 1998-10-22 14:50:08 +00:00