Commit Graph

734 Commits

Author SHA1 Message Date
michael
29c840668a + Merged driver support for mouse from fixbranch 2001-09-22 00:01:42 +00:00
michael
1321a73ce1 + Merged driver support from fixbranch 2001-09-21 21:33:35 +00:00
michael
a4202664da + Initial import to main branch from fixes branch 2001-09-21 21:30:51 +00:00
michael
148dbc6022 + Merged driver support from fixbranch 2001-09-21 19:50:18 +00:00
Jonas Maebe
a39cd8a580 * made multiplying, dividing and mod'ing of int64 and qword processor
independent with compilerprocs (+ small optimizations by using shift/and
    where possible)
2001-09-05 15:22:09 +00:00
Jonas Maebe
ed449defca + searchsystype() and searchsystype() functions in symtable
* changed ninl and nadd to use these functions
  * i386 set comparison functions now return their results in al instead
    of in the flags so that they can be sued as compilerprocs
  - removed all processor specific code from n386add.pas that has to do
    with set handling, it's now all done in nadd.pas
  * fixed fpc_set_contains_sets in genset.inc
  * fpc_set_in_byte is now coded inline in n386set.pas and doesn't use a
    helper anymore
  * some small fixes in compproc.inc/set.inc regarding the declaration of
    internal helper types (fpc_small_set and fpc_normal_set)
2001-09-04 11:38:54 +00:00
Jonas Maebe
f256a47f04 * compilerproc implementation of set addition/substraction/...
* changed the declaration of some set helpers somewhat to accomodate the
    above change
  * i386 still uses the old code for comparisons of sets, because its
    helpers return the results in the flags
  * dummy tc_normal_2_small_set type conversion because I need the original
    resulttype of the set add nodes
  NOTE: you have to start a cycle with 1.0.5!
2001-09-03 13:27:41 +00:00
Jonas Maebe
41a57028b9 * converted adding/comparing of strings to compileproc. Note that due
to the way the shortstring helpers for i386 are written, they are
    still handled by the old code (reason: fpc_shortstr_compare returns
    results in the flags instead of in eax and fpc_shortstr_concat
    has wierd parameter conventions). The compilerproc stuff should work
    fine with the generic implementations though.
  * removed some nested comments warnings
2001-08-30 15:43:14 +00:00
Jonas Maebe
06f9cd4c96 * some fixes in compilerprocs for chararray to string conversions
* conversion from string to chararray is now also done via compilerprocs
2001-08-29 19:49:03 +00:00
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