Commit Graph

759 Commits

Author SHA1 Message Date
florian
5050f1ff66 * init and final code in genrtti.inc updated 2001-11-17 16:56:08 +00:00
florian
92b842342c * make cycle for win32 fixed 2001-11-17 10:29:48 +00:00
Jonas Maebe
1b89398cec * optimized fpc_val_sint_shortstr 2001-11-16 15:09:47 +00:00
florian
a931861ce1 * qword div qword for i386 improved 2001-11-15 00:07:42 +00:00
michael
d703757d27 + First working variant support 2001-11-14 23:00:16 +00:00
michael
2a27de0fb0 + Initial variant support 2001-11-14 22:59:11 +00:00
michael
2b235a902c + System unit implementation of variants 2001-11-08 20:59:10 +00:00
florian
f9ed2775c2 + beginning of variant dispatching 2001-11-08 16:16:54 +00:00
michael
2f52ba40e8 + Moved PathDelim,DriveDelim,PathSep to sysutilh 2001-11-07 14:59:20 +00:00
michael
2a04e66b42 + Added PathDelim,DriveDelim,PathSep 2001-11-07 13:52:37 +00:00
peter
52d1571d12 * moved locking of heap 2001-10-25 21:22:34 +00:00
peter
5d62342562 * criticalsection renamed to rtlcriticalsection for kylix compatibility 2001-10-23 21:51:02 +00:00
michael
e68b5a2ae4 + Removed defaultmode field from driver 2001-10-13 12:59:46 +00:00
peter
9d93d0d4e3 * pollkey fixes (merged) 2001-10-12 16:03:15 +00:00
michael
c957bff371 + Clearscreen now also clears oldvideobuf after screenupdate 2001-10-10 21:03:48 +00:00
michael
ab5bd73633 + Merge of Fixed PollKeyEvent - Pierres fix was not complete 2001-10-10 20:19:00 +00:00
carl
05a2276947 * bugfix #1639 (IsMultiThread varialbe setting) 2001-10-09 02:17:45 +00:00
michael
30ef883342 + Merged video mode selection/setting system 2001-10-06 22:28:24 +00:00
michael
bcf109febc + merged function setvideodriver 2001-10-04 20:51:56 +00:00
michael
2ea2c2115f * SetKeyBoardDriver now returns true if driver set - merged 2001-10-03 20:08:36 +00:00
peter
d4860bf49c * merged fixes 2001-09-30 21:08:58 +00:00
Jonas Maebe
fc6d300a95 * almost all second pass typeconvnode helpers are now processor independent
* fixed converting boolean to int64/qword
  * fixed register allocation bugs which could cause internalerror 10
  * isnode and asnode are completely processor indepent now as well
  * fpc_do_as now returns its class argument (necessary to be able to use it
    properly with compilerproc)
2001-09-29 21:32:46 +00:00
Jonas Maebe
d601ccd49b * fixed bug in dynarr_decr_ref I introduced with my previous fixes 2001-09-27 08:59:13 +00:00
Jonas Maebe
da09ad93c7 * fixed several bugs, most related to handling multi-dimensional
dynamical arrays
2001-09-26 14:07:25 +00:00
Jonas Maebe
c98f73e0d5 * fixed seekeof() so that it doesn't move the current possition in the
file anymore (merged)
  * seekeof() now only regards #26 as EOF marker if EOF_CTRLZ is defined
    (just like eof()) (merged)
  * very tiny optimization to read_array_as_pchar
2001-09-25 16:34:59 +00:00
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