Commit Graph

62648 Commits

Author SHA1 Message Date
florian
7d6b01bfc4 + SHXXMov2SHXX optimization
git-svn-id: trunk@49579 -
2021-07-05 21:07:46 +00:00
florian
9377d9a029 * CMOV does not read the second operand
git-svn-id: trunk@49578 -
2021-07-04 20:46:28 +00:00
florian
7a4110cca9 * DeepMovOpt requires that the target reg of the mov is not modified before hp2
git-svn-id: trunk@49577 -
2021-07-04 20:46:02 +00:00
florian
94a15faa7f * patch by J. Gareth Moreton to fix faulty conditional jump logic, resolves #38985
git-svn-id: trunk@49576 -
2021-07-03 21:05:27 +00:00
florian
b463d511bf * serial handles higher baudrates if constants are available
git-svn-id: trunk@49575 -
2021-07-02 20:00:33 +00:00
nickysn
f0543ad8d5 * use -1 instead of 0 for indicating empty DirFD
git-svn-id: trunk@49574 -
2021-07-01 01:48:25 +00:00
nickysn
0219b4018c + initial working implementation of FindFirst/FindNext
git-svn-id: trunk@49573 -
2021-07-01 01:34:07 +00:00
florian
49ff6f5126 * patch by Alfred to fix cross building to darwin, resolves #39109
git-svn-id: trunk@49572 -
2021-06-30 21:01:48 +00:00
michael
1e6952264b * BitSizeOf Documentation sub (issue #39110)
git-svn-id: trunk@49571 -
2021-06-30 10:10:38 +00:00
florian
aca327d787 + added baud rate constants for arm as proposed by Piotr Kardasz in #39101
git-svn-id: trunk@49570 -
2021-06-29 21:09:31 +00:00
florian
51326e94f3 * allow char constant to be used for const string parameters in generic specializations, resolves #39030
git-svn-id: trunk@49569 -
2021-06-28 20:35:33 +00:00
florian
ce1f9cce01 * throw an error if esp/rsp are used as index register
git-svn-id: trunk@49568 -
2021-06-27 21:21:19 +00:00
florian
ba1b0883c2 * r/esp cannot be used as index register
git-svn-id: trunk@49567 -
2021-06-27 20:51:03 +00:00
marco
872ff19622 * fix typo
git-svn-id: trunk@49566 -
2021-06-26 19:24:57 +00:00
marco
98d35bb8cb * redo psd constants, mantis #39022
git-svn-id: trunk@49565 -
2021-06-26 18:36:37 +00:00
ondrej
48f259589b fpSQLParser: fix float literal parsing (make it locale-independent)
git-svn-id: trunk@49564 -
2021-06-26 16:05:37 +00:00
marco
d4b4950ae4 * tcolors alias.
* a few missing colors copied from lazarus' graphics unit

git-svn-id: trunk@49563 -
2021-06-26 16:00:12 +00:00
marcus
51996d6280 Amiga video unit: fixed not initialized TInputEvent field, 2nd try, now the deadkeys actually work as they should
git-svn-id: trunk@49562 -
2021-06-26 08:46:38 +00:00
florian
4236bee6f1 * win64: factored out cpu specific code
git-svn-id: trunk@49561 -
2021-06-25 21:15:08 +00:00
marcus
820e0dddcd Amiga video unit: fixed not initialized TInputEvent field
git-svn-id: trunk@49560 -
2021-06-25 16:37:38 +00:00
florian
d7a9a73194 + stack pages need to be touched on aarch64-win64 as well
git-svn-id: trunk@49559 -
2021-06-24 20:02:26 +00:00
michael
7a7abea0ee * Remove debug statement
git-svn-id: trunk@49558 -
2021-06-24 13:20:34 +00:00
michael
d56ddc28e8 * Apply one JSON to another JSON object
git-svn-id: trunk@49557 -
2021-06-24 12:37:47 +00:00
nickysn
5eac35664f + started working on DOS.FindFirst
git-svn-id: trunk@49555 -
2021-06-24 01:35:24 +00:00
nickysn
73aa30ee0a * set the exeext for WASI properly in dotest.pp
git-svn-id: trunk@49554 -
2021-06-24 00:27:15 +00:00
nickysn
618237a1c7 * update revision.inc
git-svn-id: trunk@49553 -
2021-06-24 00:17:52 +00:00
nickysn
433050a2c4 * set EXEEXT to .wasm for the WASI target in fpcmake
git-svn-id: trunk@49552 -
2021-06-24 00:16:00 +00:00
nickysn
afb9c2ae94 + implemented environment variables support in the DOS unit for the WASI target
git-svn-id: trunk@49551 -
2021-06-23 23:15:15 +00:00
nickysn
c275c3c7f2 + implemented Randomize
git-svn-id: trunk@49550 -
2021-06-23 22:11:11 +00:00
nickysn
4240279a84 + always request pollfd_readwrite rights, when opening a file
git-svn-id: trunk@49549 -
2021-06-23 21:48:10 +00:00
nickysn
ca3f1d7b6d + always request FD_ADVISE rights, when opening a file
git-svn-id: trunk@49548 -
2021-06-23 21:45:52 +00:00
nickysn
5ff2af5176 + always request FD_FDSTAT_SET_FLAGS rights
git-svn-id: trunk@49547 -
2021-06-23 21:44:19 +00:00
nickysn
90eb1351dc + request FD_DATASYNC and FD_SYNC rights when a file is opened for writing
git-svn-id: trunk@49546 -
2021-06-23 21:42:49 +00:00
nickysn
67c1520928 * changed the formatting of the setting of fs_rights_base in Do_Open. No functional changes.
git-svn-id: trunk@49545 -
2021-06-23 21:41:12 +00:00
nickysn
9efcd4e554 + request fd_allocate rights when opening a file for writing
git-svn-id: trunk@49544 -
2021-06-23 21:39:10 +00:00
nickysn
3fd6704582 + request the rights to set size (truncate) and set times, when a file is opened for writing
git-svn-id: trunk@49543 -
2021-06-23 21:36:22 +00:00
nickysn
a5309a5d0c + request fd_seek and fd_tell rights when opening a file
git-svn-id: trunk@49542 -
2021-06-23 21:31:55 +00:00
nickysn
720068360e + workaround for newer wasmtime versions that don't report the fd type of
stdin/stdout/stderr. Always assume handles 0..2 are a device, so that
  standard input and output are flushed.

git-svn-id: trunk@49541 -
2021-06-23 21:22:15 +00:00
nickysn
827f543289 * fixed date calculation in WasiDateToDT
git-svn-id: trunk@49540 -
2021-06-23 21:01:30 +00:00
nickysn
c48f27225e + request the FD_FILESTAT_GET capability when opening files
git-svn-id: trunk@49539 -
2021-06-23 20:58:10 +00:00
nickysn
25a9843ea4 * also set doserror to 5 for access denied in dos.getfattr
git-svn-id: trunk@49538 -
2021-06-23 20:57:50 +00:00
nickysn
715de4547a * fixed WASI dll imports that are declared in a different unit
git-svn-id: trunk@49537 -
2021-06-23 20:36:52 +00:00
nickysn
953893267b + initial WASI implementation of DOS.GetFTime. Not working yet, due to a
compiler bug, related to the import of fd_filestat_get from the wasiapi unit.

git-svn-id: trunk@49536 -
2021-06-23 20:04:03 +00:00
nickysn
ba1dcfc6a4 + also resolve absolute paths in ConvertToFdRelativePath
git-svn-id: trunk@49535 -
2021-06-23 15:44:17 +00:00
pierre
615e1c0431 Only set llvm to true if LLVM custom option variable is set, but not to false if not (as true might be the default value)
git-svn-id: trunk@49534 -
2021-06-23 14:37:34 +00:00
nickysn
125dbdc21c + implemented Do_Rename for the WASI target
git-svn-id: trunk@49532 -
2021-06-23 00:30:47 +00:00
nickysn
539ea53bab + implemented Do_Seek and Do_Seekend for the WASI target
git-svn-id: trunk@49531 -
2021-06-23 00:20:48 +00:00
nickysn
17fac45ddc + implemented Do_FileSize for the WASI target
git-svn-id: trunk@49530 -
2021-06-23 00:12:22 +00:00
nickysn
5718b33dd8 + implemented Do_FilePos for the WASI target
git-svn-id: trunk@49529 -
2021-06-23 00:03:44 +00:00
nickysn
5ee902800c + implemented do_truncate for the WASI target
git-svn-id: trunk@49528 -
2021-06-22 23:57:39 +00:00