Commit Graph

2578 Commits

Author SHA1 Message Date
carl
0c1893bc2a * updated behavior of some routines to conform to docs 2001-11-23 00:25:39 +00:00
carl
edb0740421 * completely merged from fixes branch 2001-11-23 00:18:54 +00:00
michael
2de56ad75e * Fixed memory corruption with finalize() of ansistring in a class 2001-11-22 07:33:08 +00:00
Jonas Maebe
d8a3bfb576 * fixed writing of empty ansistring with specified width (merged) 2001-11-21 14:51:33 +00:00
peter
95f1ecc603 * regenerated 2001-11-20 18:57:09 +00:00
Jonas Maebe
5422994cdb * fixed libvga_ClrViewProc (it didn't reset the coords to (0,0))
(merged)
2001-11-19 14:00:16 +00:00
Jonas Maebe
97114d80ee * fixed libvga_ClrViewProc (it didn't reset the coords to (0,0))
(merged)
2001-11-19 13:56:57 +00:00
carl
aa32c57d8d + same version as fixed branches :
+ BeOS line information
    * correct prototype with shortstring result type
    + relocation of frame according to processaddress
2001-11-19 02:45:10 +00:00
carl
6c657fe80e + don't print stack information if previous frame = 0 2001-11-19 02:40:24 +00:00
carl
502b31fce2 - no stack checking possible because used by lineinfo which
might get infinite recursion if stack limit reached
2001-11-19 00:31:07 +00:00
florian
67f6ce5348 * code of ansitr_concat improved 2001-11-17 23:58:12 +00:00
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
michael
a62da4ea8f + Real/Boolean support added, Start of string support 2001-11-15 22:33:14 +00:00
Tomas Hajny
7472987e06 * DefaultTextLineBreakStyle misplacing corrected 2001-11-15 18:49:43 +00:00
florian
a931861ce1 * qword div qword for i386 improved 2001-11-15 00:07:42 +00:00
michael
7ff42a13ab + Added variants unit 2001-11-14 23:03:09 +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
marco
94d9d8fe46 * Fixed a ifdef linux to ifdef unix (related to TRTL change) 2001-11-08 13:56:35 +00:00
michael
1cfa601556 + Replaced OSDirSeparator with PathDelim 2001-11-08 12:56:47 +00:00
michael
2f52ba40e8 + Moved PathDelim,DriveDelim,PathSep to sysutilh 2001-11-07 14:59:20 +00:00
michael
a161ebaab2 + Added PathDelim,DriveDelim,PathSep; Removed PathSeparator 2001-11-07 14:58:24 +00:00
michael
3eebee4744 + Added PathSeparator and OSDirSeparator 2001-11-07 13:57:26 +00:00
michael
2a04e66b42 + Added PathDelim,DriveDelim,PathSep 2001-11-07 13:52:37 +00:00
michael
25ba6fe2ea + Fixed Append() bug. Appending non-existing file now gives an error 2001-11-07 13:05:16 +00:00
michael
3605a8a096 + Added exit status examining functions 2001-11-05 21:46:06 +00:00
Jonas Maebe
0ee8ff51b5 * fixed TUnixSockAddr (array from 0..108 -> 0..107) (merged) 2001-11-05 09:06:40 +00:00
Jonas Maebe
6fbd6e2e6d * fixed fpc_int64_to_double and fpc_int64_to_double (fpc_int64_to_double
is now mostly tested and should work fine, fpc_qword_to_double should
    work too since it's almost the same)
2001-10-30 17:18:14 +00:00
peter
4035a1ba66 * add trtlcriticalsection type 2001-10-28 17:43:51 +00:00
Jonas Maebe
1ccf8662fe + initial implementation, lots of things still missing 2001-10-28 14:09:13 +00:00
Jonas Maebe
fb14b168f2 + initial implementation, complete, not tested 2001-10-28 14:08:57 +00:00
Jonas Maebe
50cd146e95 + initial implementation, still needs changes for self pointer register 2001-10-28 14:08:37 +00:00
peter
36bafdc7aa * added 64bit fileseek 2001-10-25 21:23:49 +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
peter
9aeb958a8e * InterLocked routines added 2001-10-22 21:40:55 +00:00
peter
f6021a93ba * LoadResString, PResStringRec, TResStringRec compatibility added 2001-10-22 21:19:33 +00:00
peter
df8692dd2e * reset %edx in getordprop so functions returning only %eax don't
generate rangecheck errors
2001-10-20 17:25:22 +00:00
peter
dc0895786a * removed asw 2001-10-18 21:49:09 +00:00
peter
aff68fdfd4 * asw support 2001-10-18 20:55:18 +00:00
marco
24073dd23f * Moved to unix/ 2001-10-17 10:28:22 +00:00
marco
13132aa761 * Moved to unix/ since there is nothing linux specific about it. 2001-10-17 10:27:47 +00:00
peter
ec9e4f4556 * fpc -PB instead of -P?
* check if fpc exists if not found fallback to ppc386
2001-10-16 20:52:34 +00:00
Jonas Maebe
4b6709ce41 * error constants must be longints, not cardinals 2001-10-15 15:09:51 +00:00
peter
6f2baf0fcf * regenerated 2001-10-14 21:43:09 +00:00
peter
4c26674c00 * start of thread support for linux 2001-10-14 13:33:20 +00:00
michael
e68b5a2ae4 + Removed defaultmode field from driver 2001-10-13 12:59:46 +00:00
peter
025137bb3b * video fixes (merged) 2001-10-12 16:04:45 +00:00
peter
22ab77e873 * fix error return in disksize (merged) 2001-10-12 16:04:15 +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
901072c39e * bugfix #1639 (IsMultiThread varialbe setting) 2001-10-09 02:42:05 +00:00
carl
05a2276947 * bugfix #1639 (IsMultiThread varialbe setting) 2001-10-09 02:17:45 +00:00
Jonas Maebe
9e18ea5adf * fixed multiple page support (bug1536?) (merged) 2001-10-07 11:47:36 +00:00
michael
30ef883342 + Merged video mode selection/setting system 2001-10-06 22:28:24 +00:00
carl
9b70b46975 * corrected assembler syntax error 2001-10-05 01:35:48 +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
cfe59822da * merged consolemode fix 2001-09-30 21:46:34 +00:00
peter
a73a9ed56e * erase(directory) returns now 2 to be tp compatible 2001-09-30 21:10:20 +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
8f2e700b97 * small changes to move (different count values trigger the selection of
moving bytes instead dwords/doubles and move dcbt instruction)
  + implemented fillchar (untested)
2001-09-28 13:28:49 +00:00
Jonas Maebe
ac2d3341f4 * use rlwnm instead of slw, because, although the programming
environments manual states otherwise, slw uses the whole contents of
    the register instead of bits 27-31 as shift count (rlwnm doesn't)
  * fixed generation of offset inside normal sets where bits have to be
    inserted
2001-09-28 13:27:02 +00:00
Jonas Maebe
2f4bfd6b67 * fixed wrong alignment code (sometimes we aligned to multiple of 8
instead of the desired multiple of 4)
2001-09-28 13:25:04 +00:00
Jonas Maebe
a8690ca041 * small optimization 2001-09-28 13:23:44 +00:00
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