Commit Graph

808 Commits

Author SHA1 Message Date
peter
71a1ae2136 * sLineBreak changed to normal constant like Kylix 2002-07-01 16:29:05 +00:00
Jonas Maebe
ee56b2e0ec * heap manager now fragments the heap much less 2002-06-17 08:33:04 +00:00
carl
3525611583 * bugfix of FPC_NEW_CLASS (was not creating correct instance)
+ FPC_HELP_FAIL_CLASS now tested (no longer required)
2002-06-16 08:19:03 +00:00
Jonas Maebe
2c651f8661 * fixed bug in tvariantmanager declaration (string -> ansistring, this
file is compiled in non-objpas mode!)
2002-06-12 15:45:42 +00:00
marco
af9703f179 * Renamefest supports_double for FreeBSD too 2002-06-02 10:49:30 +00:00
marco
4af59f4504 * Renamefest 2002-06-01 19:42:02 +00:00
marco
9fb1b5377c * more Renamefest 2002-05-31 13:37:24 +00:00
carl
4669fcc7e2 + generic FPC_HELP_FAIL
+ generic FPC_HELP_DESTRUCTOR instated (original from Pierre)
+ generic FPC_DISPOSE_CLASS
2002-05-22 18:48:29 +00:00
carl
fbf499b13d * generic constructor implemented 2002-05-16 19:58:05 +00:00
Tomas Hajny
a0866f619a * fix for bug #1964 merged 2002-05-14 19:25:24 +00:00
peter
268e4bb7e7 * use saveregisters for incr routines, saves also problems with
the optimizer
2002-04-26 15:19:04 +00:00
peter
0cdf327866 * updated compilerprocs
* incr ref count has now a value argument instead of var
2002-04-25 20:14:56 +00:00
peter
b0948c6122 * fpc_finalize_array renamed 2002-04-24 16:15:35 +00:00
peter
90ff7a6db8 * fpc_freemem and fpc_getmem compilerproc 2002-04-21 18:56:59 +00:00
carl
1b88940d62 * StackError is now a typed constant
+ $S can be used under unix
2002-04-21 15:51:50 +00:00
peter
dd7bc0dbdd * stackcheck protected against infinite recursive after stack error
* stackcheck requires saveregisters, because it can be called from
    iocheck and then will destroy the result of the original function
2002-04-15 19:38:40 +00:00
carl
b6da7bd8a2 + generic stack checking can be overriden 2002-04-15 18:51:20 +00:00
carl
b1c72872c7 - removed unused variable 2002-04-12 17:35:24 +00:00
carl
7d6edd04b2 + generic stack checking 2002-04-12 17:34:05 +00:00
carl
b03cb5eadb * don't crash everything if the class allocation failed 2002-03-30 14:52:59 +00:00
carl
4e782284ba * memory corruption bugfix in FPC_HELP_CONSTRUCTOR if object cannot be allocated 2002-03-30 13:08:54 +00:00
carl
fc1b705950 * merged fixes from version 1.0.x branch 2002-03-28 20:54:25 +00:00
carl
eb09d6061c - remove go32v1 support 2002-03-28 20:46:44 +00:00
armin
e31530f800 + Netware added 2002-03-16 12:46:09 +00:00
carl
891194dd54 * fixes unix conversion of slashes 2002-03-03 15:19:36 +00:00
carl
dbfaa38c6e * fixed some missing IsMultiThreaded variables 2002-02-10 15:33:45 +00:00
michael
26db724c09 + merged missing sendto/rcvfrom functions 2002-02-04 21:29:34 +00:00
peter
44b7972e01 * moved array types to objpas unit 2002-01-25 17:41:05 +00:00
peter
2fcd65b933 * array types added 2002-01-25 17:39:35 +00:00
peter
c3f645769a * add internconst for all overloaded types of Odd/Abs/Sqr 2002-01-25 17:38:55 +00:00
peter
c6fd513271 * lowercase() overloaded 2002-01-24 18:27:06 +00:00
Jonas Maebe
2b3898aeff * adapted ranges of native types to int64 (e.g. high cardinal is no
longer longint($ffffffff), but just $fffffff in psystem)
  * small additional fix in 64bit rangecheck code generation for 32 bit
    processors
  * adaption of ranges required the matching talgorithm used for selecting
    which overloaded procedure to call to be adapted. It should now always
    select the closest match for ordinal parameters.
  + inttostr(qword) in sysstr.inc/sysstrh.inc
  + abs(int64), sqr(int64), sqr(qword) in systemh.inc/generic.inc (previous
    fixes were required to be able to add them)
  * is_in_limit() moved from ncal to types unit, should always be used
    instead of direct comparisons of low/high values of orddefs because
    qword is a special case
2002-01-24 12:33:52 +00:00
peter
1338dbd992 * updated for dynarr:=nil 2002-01-21 20:16:08 +00:00
Jonas Maebe
a0731e0d02 * fixed bug in fpc_char_to_ansistr when converting #0 (found by Peter) 2002-01-07 13:23:53 +00:00
Jonas Maebe
e52fa07468 * fix for web bug #1727 from Peter (corrected) 2002-01-02 13:43:09 +00:00
Jonas Maebe
d06ebc3fd1 * fix for web bug #1727 from Peter 2001-12-31 11:41:06 +00:00
Jonas Maebe
e27b13b0e4 * correctly check for 0-size dynarray in previous patch 2001-12-29 15:51:11 +00:00
Jonas Maebe
f0662a6990 * don't allocate memory when doing a setlength(dynarr,0) when dynarr is
already nil
2001-12-28 14:19:07 +00:00
peter
21a8c2cc8e * merged fixes from 1.0.x 2001-12-26 21:03:56 +00:00
michael
bec30ba1b5 + Added double2real function from main branch 2001-12-13 20:23:19 +00:00
carl
d98bcfc83b + SunOS target 2001-12-13 03:50:00 +00:00
peter
7484da248d * freemem(var) -> freemem(value) 2001-12-03 21:39:19 +00:00
Jonas Maebe
879d8ccb44 * fixed web bug #1707:
* tvarsym.getvaluesize doesn't return 0 anymore for dynarrays (found
       by Florian)
     * in genrtti, some more ppointer(data)^ tricks were necessary
2001-11-30 16:25:35 +00:00
michael
2de56ad75e * Fixed memory corruption with finalize() of ansistring in a class 2001-11-22 07:33:08 +00:00
Jonas Maebe
d8a3bfb576 * fixed writing of empty ansistring with specified width (merged) 2001-11-21 14:51:33 +00:00
carl
aa32c57d8d + same version as fixed branches :
+ BeOS line information
    * correct prototype with shortstring result type
    + relocation of frame according to processaddress
2001-11-19 02:45:10 +00:00
carl
6c657fe80e + don't print stack information if previous frame = 0 2001-11-19 02:40:24 +00:00
carl
502b31fce2 - no stack checking possible because used by lineinfo which
might get infinite recursion if stack limit reached
2001-11-19 00:31:07 +00:00
florian
67f6ce5348 * code of ansitr_concat improved 2001-11-17 23:58:12 +00:00
florian
5050f1ff66 * init and final code in genrtti.inc updated 2001-11-17 16:56:08 +00:00