Jonas Maebe
fc92c3b336
+ compilerproc implementation of most string-related type conversions
...
- removed all code from the compiler which has been replaced by
compilerproc implementations (using {$ifdef hascompilerproc} is not
necessary in the compiler)
2001-08-28 13:24:46 +00:00
Jonas Maebe
a6cfe4083a
+ tempcreate/ref/delete nodes (allows the use of temps in the
...
resulttype and first pass)
* made handling of read(ln)/write(ln) processor independent
* moved processor independent handling for str and reset/rewrite-typed
from firstpass to resulttype pass
* changed names of helpers in text.inc to be generic for use as
compilerprocs + added "iocheck" directive for most of them
* reading of ordinals is done by procedures instead of functions
because otherwise FPC_IOCHECK overwrote the result before it could
be stored elsewhere (range checking still works)
* compilerprocs can now be used in the system unit before they are
implemented
* added note to errore.msg that booleans can't be read using read/readln
2001-08-23 14:28:35 +00:00
peter
b34e51e7f6
* regenerated
2001-08-22 20:49:14 +00:00
florian
6476fbf2fe
* fixed and added a lot of stuff to get the Jedi DX( headers
...
compiled
2001-08-19 21:02:01 +00:00
peter
0b4ee7574f
* read_array fix merged
2001-08-19 11:23:10 +00:00
Jonas Maebe
4716f168dd
* renamed some str(x,y) and val(x,y) helpers so the naming scheme is the
...
same for all string types
+ added the str(x,y) and val(x,y,z) helpers for int64/qword to
compproc.inc
2001-08-13 12:40:16 +00:00
peter
d1d438367f
* freeandnil added
2001-08-12 22:11:48 +00:00
Jonas Maebe
cba82c202e
* changed buf parameter of fpc_type_write from var to const
...
+ added names of helpers in typefile.inc to compproc.inc
2001-08-06 14:13:55 +00:00
peter
c3da2af2ad
* WChar fix to compile also with 1.0.x
2001-08-01 18:01:20 +00:00
Jonas Maebe
b9f6efc85b
+ "compproc" helpers
...
* renamed several helpers so that their name is the same as their
"public alias", which should facilitate the conversion of processor
specific code in the code generator to processor independent code
* some small fixes to the val_ansistring and val_widestring helpers
(always immediately exit if the source string is longer than 255
chars)
* fixed fpc_dynarray_high and fpc_dynarray_length if the dynarray is
still nil (used to crash, now return resp -1 and 0)
2001-08-01 15:00:09 +00:00
peter
13db04fb8b
* small cleanup of commented code (merged)
2001-07-31 19:36:51 +00:00
peter
84a34f3a25
* wordrec for big endian
2001-07-31 19:36:09 +00:00
marco
be8a646ebb
* Either I did something wrong, or Peter's merge killed wchar decl. Fixed.
2001-07-31 08:57:22 +00:00
peter
e7c86006db
* m68k updates merged
2001-07-30 21:38:54 +00:00
marco
1631508458
* Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar. * Added wchar=widechar.
2001-07-30 14:34:29 +00:00
peter
eb32168592
* include lowmath for m68k (merged)
2001-07-29 14:05:55 +00:00
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