Commit Graph

2457 Commits

Author SHA1 Message Date
Jonas Maebe
9baf1000ae * conversion to compilerproc and to structure used by i386 rtl
* some bugfixes
  * powerpc.inc is almost complete (only fillchar/word/dword, get_frame etc
    and the class helpers are still needed
  - removed unnecessary register saving in set.inc (thanks to compilerproc)
  * use registers reserved for parameters as much as possible instead of
    those reserved for local vars (since those have to be saved by the
    called anyway, while the ones for local vars have to be saved by the
    callee)
2001-09-27 15:30:29 +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
peter
ef0a68a972 * Fixed passing of command without parameters to Exec() to not include
a space after the executable name
2001-09-22 11:17:13 +00:00
peter
ac61b5e55a * merged v10 version for exit fixes 2001-09-22 11:15:31 +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
michael
f412e31618 + Implemented missing StringReplace function 2001-09-20 14:42:34 +00:00
michael
cb7a8cf1b6 + Implemented missing StringReplace function 2001-09-20 14:39:43 +00:00
michael
076d02873e Implemented missing StringReplace function 2001-09-20 14:38:41 +00:00
peter
9b38d0fadb * merged fixes 2001-09-17 21:36:31 +00:00
peter
e48b0dbd73 * enhanced key fix (merged) 2001-09-17 21:31:44 +00:00
Jonas Maebe
19913b716c * merged windows mode saving stuff from fixes branch 2001-09-10 16:15:52 +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
peter
d1e24959d7 * v10 merges 2001-08-30 20:55:08 +00:00
peter
6e3bcf7133 * regenerated 2001-08-30 20:18:30 +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
marco
3b544692a4 * Ftruncate intermediate fix. 2001-08-27 09:35:07 +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
florian
64808ff380 + some new stuff of D6/Kylix added 2001-08-22 21:19:16 +00:00
peter
b34e51e7f6 * regenerated 2001-08-22 20:49:14 +00:00
florian
3015c3ff86 + HexDisplayPrefix added 2001-08-22 14:11:28 +00:00
florian
120c4eb588 * reverted to previous version 2001-08-21 13:12:22 +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
florian
a314a01b9d + a lot of constants added 2001-08-19 09:27:51 +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
peter
367e1988a9 * Range check fix with epoch (merged) 2001-08-12 18:05:19 +00:00
peter
90b39861fb * map sharing violation to rte 5 2001-08-12 17:57:54 +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
63e856e9e4 * fixed dl units dependencies 2001-08-05 12:26:18 +00:00
peter
0b45a6695d * m68k merges 2001-08-05 12:24:20 +00:00
peter
b84c4f3e1d * fixed for new input_record 2001-08-05 12:23:57 +00:00
peter
2cade09e9f * unpush key fix 2001-08-04 11:05:21 +00:00
peter
75676a4866 * moved i386 specific code to include file 2001-08-04 11:03:42 +00:00
peter
3720cc5498 * fixed input_record to be more delphi compatible 2001-08-04 10:25:46 +00:00
peter
3e41bf3597 * Regenerated 2001-08-02 20:55:49 +00:00
peter
0eabeac252 * fix thousend separator when no decimal separator is available
* allow precision to be left away like %10.n
2001-08-01 21:44:20 +00:00
peter
4a627c29d9 * generate error for closefile 2001-08-01 21:43:11 +00:00
peter
36929fc0ce * m68k warning fix (merged) 2001-08-01 21:42:05 +00:00
peter
05dd86508f * added so fpcmake works again 2001-08-01 18:04:48 +00:00
peter
cc1f110aca * amiga added 2001-08-01 18:03:38 +00:00