Commit Graph

808 Commits

Author SHA1 Message Date
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
sg
9048ff6354 * Added 'RaiseProc': A user-definable callback procedure which gets
called whenever an exception is being raised
2000-09-30 07:38:07 +00:00
marco
194b9f2958 * FreeBSD adjustments patched in from fixes branch 2000-09-11 14:53:14 +00:00
peter
a06bc54ee9 * fixed chararray to ansistring (merged) 2000-08-29 18:39:42 +00:00
Jonas Maebe
48292584ae * clear inoutres in traceexit before writing anything (to avoid an RTE
when writing the heaptrc output when a program didn't handle ioresult)
    (merged from fixes branch)
2000-08-24 09:01:07 +00:00
Jonas Maebe
1a8c7b1d27 * fixed bug in setlength (it sometimes read after the end of the heap)
and small improvement to ansistring_to_chararray conversion (merged
    from fixes branch)
2000-08-24 07:37:21 +00:00
michael
bfdac9385b + Implemented loading of dynamical libraries 2000-08-18 19:15:34 +00:00
florian
66cbbfb910 + initial revision 2000-08-17 07:29:39 +00:00
michael
7aa1e88a5d + Added some delphi compatibility types 2000-08-13 17:55:14 +00:00
Jonas Maebe
2f3239d61c + setallpalette hook
+ setallpalette implemented for standard vga and VESA 2.0+
2000-08-12 12:27:13 +00:00
marco
e817560f04 * fixes for val(int64 or qword) to ansistring 2000-08-09 19:31:18 +00:00
Jonas Maebe
3aab08cba8 + FPC_STR_TO_CHARARRAY routine necessary for string -> chararray
conversions fix (merged fropm fixes branch)
2000-08-09 11:29:01 +00:00
sg
65e50beb55 * Implemented WideString helper functions (but they are not tested yet
due to the lack of full compiler support for WideString/WideChar!)
2000-08-08 22:12:36 +00:00
sg
6fcf8dcda3 * Added declarations for WideString utility functions 2000-08-08 22:11:45 +00:00
peter
1a0277d7b0 * smallatheapptr undef and other cleanup (merged) 2000-08-08 19:22:46 +00:00
peter
3c7d8f0db1 * merged setvideostate patch 2000-08-05 18:34:47 +00:00
Jonas Maebe
8bce8284d3 * the defaulthooks are reset if setmode() fails at any point (merged
from fixes branch)
2000-08-01 06:03:32 +00:00
Jonas Maebe
afec990176 * fixed web bug1069
* fixed similar (and other) problems in val() for int64 and qword
    (both merged from fixes branch)
2000-07-28 12:29:49 +00:00
sg
6f6c4f720a * Resolved CVS conflicts for TObject.MethodAddress patch 2000-07-22 14:52:01 +00:00
florian
4d5f0c2331 + in_typeinfo_x added 2000-07-19 20:03: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
peter
0f6ce09f13 * initernmodenumber is now renumbered at the end of AddMode() it
also sets hi/lo for the driver
2000-07-09 07:21:14 +00:00
sg
2aca65148b * Fixed TObject.FieldAddress 2000-07-08 21:27:42 +00:00
Jonas Maebe
b506dc4514 * forgot to remove some non-working experimental code from last
commit :(
2000-07-08 13:00:08 +00:00
sg
ed29399154 * FieldAddress now returns immediately if name='' 2000-07-08 07:24:24 +00:00
Jonas Maebe
732f06de57 * fixed problem that occurred if the graphmode was initialized with
a new graphdriver, but then setgraphmode was called with as
    parameter the result of getGraphMode (since that one returns an
    old-style modenumber)
2000-07-08 06:24:21 +00:00
pierre
1d1b4bcb53 * correct last commit error 2000-07-07 19:22:27 +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
ffbedb6ec9 * changed precision for extended back (otherwise strreal2.pp in
tests/test failed)
2000-07-07 18:03:08 +00:00
Jonas Maebe
575f6c0d6d * fixed setgraphmode together with the new graphdrivers 2000-07-07 17:29:30 +00:00
florian
aa3e0fbe87 * fixed writing of comp and extended: the precision of comp was to little
while it was too high for extended
2000-07-06 21:09:45 +00:00
Jonas Maebe
011a187da3 * final fixes for linux support (graphdriver value of the modes
is now also not modified anymore)
2000-07-05 13:07:48 +00:00
Jonas Maebe
c88da249b4 * added internModeNumber to modeinfo type to fix Linux compatibility
with -dnewmodes code
2000-07-05 11:25:20 +00:00
pierre
f3b853f096 * Change Code to var param in ValAnsiUnsignedInt function 2000-07-04 07:57:46 +00:00
sg
e9d1212ea8 * Implemented TObject.FieldAddress 2000-06-29 16:32:50 +00:00
Jonas Maebe
8d2b35c5ef * released -dnewmodes 2000-06-27 13:37:04 +00:00
Jonas Maebe
71184303bd * setviewport was sometimes called with parameters from the previous
active mode, either directly from setgraphmode or from
    setbkcolor
2000-06-23 19:56:37 +00:00
peter
618dd3c91c * added tkint64,tkqword constants 2000-06-22 20:04:07 +00:00
peter
aae7c24beb * moved islibrary,isconsole,ismulithread to systemh as they are
os independent
2000-06-22 18:39:14 +00:00
peter
57c538267c * removed notes 2000-06-22 18:36:18 +00:00
michael
bc8a454afd + Modifications for exception support in sysutils. Mainly added
RaiseList function.
2000-06-22 18:05:56 +00:00
pierre
9fd7ba963e * no bufpos reset on flush for fminput 2000-06-21 22:27:50 +00:00
michael
9fee5cffce + Corrected GetSocketOptions 2000-06-19 13:31:46 +00:00
Jonas Maebe
206ea5435c * fixed newHighMode constant 2000-06-19 08:57:52 +00:00
carl
35c60dfa09 + added modes for Atari/Amiga and bit depth also 2000-06-19 01:18:49 +00:00
carl
4f6d5d6715 * bugfix of comments with tp.
+ Added Amiga/Atari graphics modes
2000-06-19 01:18:19 +00:00
peter
d87a8dd637 * detectmode between ifdef 2000-06-18 18:41:18 +00:00
Jonas Maebe
c0910ded8c * changed maxint -> maxsmallint (range error because of objpas mod
somewhere)
2000-06-18 14:59:39 +00:00
Jonas Maebe
2d01b922b6 * release memory of newmodeinfo in graphexitproc 2000-06-18 08:11:53 +00:00
Jonas Maebe
6cb27b64e6 + added missing detectMode stuff for -dnewmodes 2000-06-18 06:11:20 +00:00