Commit Graph

759 Commits

Author SHA1 Message Date
peter
bc74424ab1 * m68k updates merged 2001-07-29 13:49:15 +00:00
peter
ce52d581b3 * m68k updates merged 2001-07-29 13:43:57 +00:00
Jonas Maebe
9ab14207f7 * really fixed write_array this time :/ (merged) 2001-07-21 15:53:28 +00:00
Jonas Maebe
0ea2e80af9 * correctly fixed potential buffer overrun in write_array 2001-07-16 13:53:21 +00:00
Jonas Maebe
eb586d5025 * fixed wrong public alieases for val(widestring,...) 2001-07-16 12:33:08 +00:00
peter
9663f60c00 * merged m68k updates 2001-07-15 11:57:16 +00:00
peter
5c0d161bef * merged textfile, readlink and concat ansistring fixes 2001-07-10 18:04:37 +00:00
peter
db87f86f00 * Length made internal
* Add array support for Length
2001-07-09 21:15:40 +00:00
florian
ea060c924d * another MT fix 2001-07-09 11:41:57 +00:00
peter
ca8d604964 * various widestring updates, it works now mostly without charset
mapping supported
2001-07-08 21:00:14 +00:00
Jonas Maebe
1251917e11 * removed DestSize parameter from declaration of ValAnsiSignedInt64
(merged)
2001-07-04 12:17:09 +00:00
Jonas Maebe
417d6849a8 * fixed bug in ValSignedInt (it accepted some values slightly larger than
high(cardinal) such as 4294967297) (merged)
2001-07-04 12:02:14 +00:00
peter
272041a75a * ansistr fix merged 2001-06-28 19:18:57 +00:00
peter
49481a0c63 * v10 merges 2001-06-27 21:37:36 +00:00
peter
69b8e3ad44 * big endian updates (merged) 2001-06-13 18:32:05 +00:00
peter
3fc45a47d2 * Win32 fixes for Makefile so it doesn't require sh.exe 2001-06-06 21:58:16 +00:00
Jonas Maebe
cbc6756190 * fixed wrong typed constant procvars in preparation of my fix which will
disallow them in FPC mode (plus some other unmerged changes since
    LAST_MERGE)
2001-06-06 17:20:21 +00:00
peter
741d455ab7 * Formal const to var fixes
* Hexstr(int64) added
2001-06-04 11:43:51 +00:00
peter
45ea82ed18 * ucs4char added 2001-06-03 20:17:06 +00:00
peter
675b517bbe * lib_exit added 2001-06-03 15:15:58 +00:00
Jonas Maebe
5bf4a7f9fc * GetMaxMode() now returns a smallint instead of a word (since the type
of the modenumbers is smallint too) (merged)
2001-06-01 11:13:22 +00:00
peter
51e528796b * more saveregisters added (merged) 2001-05-28 20:43:17 +00:00
florian
23b3c24a01 + made the ref. couting MT safe 2001-05-27 14:28:44 +00:00
florian
4870698a11 + some procedures added 2001-05-27 14:28:03 +00:00
peter
12a3b11cdb * merged fixes branch fixes 2001-05-18 22:59:59 +00:00
Jonas Maebe
d811aeedf7 + odd() for cardinal, int64 and qword (merged) 2001-05-16 17:44:25 +00:00
peter
8bf13fd185 *** empty log message *** 2001-05-09 19:57:07 +00:00
Jonas Maebe
f174fb5fb1 * fixed range check error (reported by Vladimir Ravodin) 2001-05-06 17:15:26 +00:00
Jonas Maebe
344fd00373 * completed incomplete typed constant records 2001-05-06 17:13:22 +00:00
peter
802acf6940 * m68k updates 2001-04-23 18:25:44 +00:00
peter
64b57cd77d * add nop after popa (merged) 2001-04-21 12:18:09 +00:00
peter
b06b389b67 * int_str cardinal fix (merged) 2001-04-21 12:16:28 +00:00
florian
a33a06ce5d * updates from Armin commited 2001-04-16 18:33:14 +00:00
Jonas Maebe
bd745d3e82 * fixed problem with new modes system (reported by Vladimir Ravodin) (merged) 2001-04-14 16:06:03 +00:00
peter
46b58ded78 * fixes for the stricter compiler 2001-04-13 23:49:48 +00:00
peter
e150c46c78 * remove warnings 2001-04-13 22:26:32 +00:00
peter
22db4256ce * removed rtllite define 2001-04-13 18:06:28 +00:00
peter
5dbe3bba52 * upcase, lowercase for ansistring 2001-04-13 18:06:07 +00:00
peter
c70d9ccc3e * win32 getenv version 2001-04-13 18:05:34 +00:00
peter
25d6ec3c83 * always clear memory in getmem and freemem 2001-04-13 01:18:08 +00:00
peter
03d4bdcd40 * allow runtime setting using the environment HEAPTRC 2001-04-12 18:00:14 +00:00
peter
b669be6c60 * some small fixes to my previous commit 2001-04-11 14:08:31 +00:00
peter
60ba93a688 * extra info update so it can be always be set on/off 2001-04-11 12:34:50 +00:00
Tomas Hajny
8a7762efb2 * yet another fix for FExpand under Unix 2001-04-09 19:28:40 +00:00
Jonas Maebe
faad9460c8 * fixed potential buffer overflow in FPC_WRITE_TEXT_PCHAR_AS_ARRAY (merged) 2001-04-08 13:21:30 +00:00
Tomas Hajny
d5f0038788 * invalid UNC paths handled more consistently to OS/2 and Win32 API functions 2001-04-08 12:47:23 +00:00
Tomas Hajny
a820a0f393 * fix for absolute paths on platforms without drives (*nix), support for long volume names added 2001-04-07 19:37:27 +00:00
florian
f9e28f053f * TGUID definition from win32/wininc/struct.inc copied 2001-04-04 17:56:45 +00:00
florian
dadbc26bc8 * some types moved to systemh
+ some types like PDispatch added
2001-03-22 23:26:37 +00:00
florian
49ed6221f4 * some new types added like PBoolean 2001-03-22 23:26:05 +00:00
florian
1f91d1d88e + sLineBreak and misc. stuff for Kylix compatiblity 2001-03-21 23:29:40 +00:00
Tomas Hajny
f041ede95b * GetDir fixed 2001-03-21 21:08:20 +00:00
Tomas Hajny
0fde4ce207 * one more problem in the Unix part 2001-03-19 21:09:30 +00:00
Tomas Hajny
0d616f2cca * mistyping in the Unix part fixed 2001-03-19 21:05:42 +00:00
Tomas Hajny
c83475a6ca * FExpand without IOResult change, remaining direct asm removed 2001-03-10 09:57:51 +00:00
Jonas Maebe
3eb9c758fb * changed typecast in FPC_STR_TO_CHARARRAY so that no temp ansistring is
generated anymore (merged)
2001-03-05 17:10:40 +00:00
Jonas Maebe
af38291233 * simplified and optimized range checking code, FPC_BOUNDCHECK is no longer necessary 2001-03-03 12:41:22 +00:00
Jonas Maebe
bf5d803a93 * fixed qword_str for values with bit 63 = 1 2001-03-03 12:39:09 +00:00
Jonas Maebe
e72e5a0cfa * made val for longints a bit faster 2001-03-03 12:38:53 +00:00
peter
2847f1e5d4 * moved to FV 2001-01-29 21:56:39 +00:00
marco
d658d95cf6 * added from API. callspec renamed to .pp 2001-01-29 11:31:26 +00:00
florian
dcbb5bac16 *** empty log message *** 2001-01-26 16:37:54 +00:00
florian
ddd5f168eb + more MT stuff added 2001-01-24 21:47:18 +00:00
peter
3baf37cbd1 * API 2 RTL 2001-01-13 11:13:12 +00:00
peter
2696cba586 * patch from bug repository 2001-01-11 18:38:24 +00:00
florian
00917cb46f * the info about exception frames is stored now on the stack
instead on the heap
2001-01-05 17:35:50 +00:00
florian
350880cf05 + initial release 2001-01-01 19:06:36 +00:00
florian
7416c90ad8 * is-operator fixed 2000-12-20 21:38:23 +00:00
Jonas Maebe
c88779b691 * added cardinal typecast to avoid signed evaluation 2000-12-18 14:01:11 +00:00
Jonas Maebe
0293387955 * removed 64bit evaluations when range checking is on 2000-12-16 15:57:16 +00:00
Jonas Maebe
4f791d04b4 - removed all ifdef cardinalmulfix code 2000-12-16 15:56:18 +00:00
florian
5e9dbab759 * val for int64 hopefully works now correct 2000-12-10 15:00:14 +00:00
florian
bd0d141b08 * val for dword and qword didn't handle the max values
correctly
  * val for qword works again
  + val with int64/qword and ansistring implemented
2000-12-09 20:52:40 +00:00
Jonas Maebe
4a7f3db6d9 + added pos(char,ansistring), because there is also a pos(char,shortstring)
and without the ansistring version, the shortstring version is always
    called when calling pos(char,pchar), even when using $h+ (because the
    first parameter matches exactly) (merged)
2000-12-08 14:04:43 +00:00
Jonas Maebe
c91a23c27d * new constant handling: from now on, hex constants >$7fffffff are
parsed as unsigned constants (otherwise, $80000000 got sign extended
    and became $ffffffff80000000), all constants in the longint range
    become longints, all constants >$7fffffff and <=cardinal($ffffffff)
    are cardinals and the rest are int64's.
  * added lots of longint typecast to prevent range check errors in the
    compiler and rtl
  * type casts of symbolic ordinal constants are now preserved
  * fixed bug where the original resulttype wasn't restored correctly
    after doing a 64bit rangecheck
2000-12-07 17:19:42 +00:00
florian
caee5e33c8 * fixed some bugs in setlength 2000-12-01 23:30:00 +00:00
Jonas Maebe
de0a78a66e * fix for web bug #1210 from Peter (merged) 2000-11-23 13:14:02 +00:00
Jonas Maebe
eeec1b6882 * fix for web bug #1265 by Peter (merged) 2000-11-23 11:41:56 +00:00
Jonas Maebe
0d5167e124 * fixed bug for val when processing -2147483648 and low(int64) (merged) 2000-11-17 17:01:23 +00:00
Jonas Maebe
75ad22bf64 * support for range checking when converting from 64bit to something
smaller (32bit, 16bit, 8bit)
  * fixed range checking between longint/cardinal and for array indexing
    with cardinal (values > $7fffffff were considered negative)
2000-11-13 14:47:46 +00:00
marco
abfa37b122 * Renamefest 2000-11-13 13:40:03 +00:00
florian
5da658c6db * interfaces basically running 2000-11-12 23:23:34 +00:00
peter
24b631132e * ptr returns farpointer 2000-11-11 16:12:01 +00:00
florian
b3c53b4f55 * Finalize to int_finalize renamed 2000-11-09 17:50:12 +00:00
florian
f79644d9ca + AfterConstruction and BeforeDestruction implemented
+ TInterfacedObject implemented
2000-11-07 23:42:21 +00:00
peter
676d01dff6 * removed some warnings 2000-11-06 23:17:15 +00:00
florian
9882598ab6 * another fix 2000-11-06 22:03:12 +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
Tomas Hajny
f46989cf51 + common FExpand introduced 2000-11-06 20:36:17 +00:00
peter
94c1f86d79 * changed ver1_0 defines to temporary defs 2000-11-06 20:34:24 +00:00
florian
8dc903fc3b * fixed linker errors 2000-11-04 17:52:46 +00:00
florian
5c645814dc * fixed some out declarations 2000-11-04 17:31:50 +00:00
florian
747f3d9552 + interfaces support 2000-11-04 16:28:55 +00:00
Jonas Maebe
5fb68eeb52 * renamed strlenint to longint since 1.0 doesn't know that type 2000-10-23 16:15:40 +00:00
florian
fc777c9970 * setlength export declaration for 1.0.2 fixed 2000-10-23 14:00:59 +00:00
florian
1a2851eb47 * a lot of small changes:
- setlength is internal
     - win32 graph unit extended
     ....
2000-10-21 18:20:17 +00:00
peter
0ddba9e6cd * fixed concatting of source and include filenames (merged) 2000-10-14 21:55:07 +00:00
peter
b8461475c8 * FPC_BREAK_ERROR added 2000-10-13 12:04:03 +00:00
michael
619dac6c93 + Merged from fixbranch 2000-10-01 13:17:35 +00:00