Commit Graph

62638 Commits

Author SHA1 Message Date
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
nickysn
a7b3747b7b + implemented Erase() for the WASI target
git-svn-id: trunk@49527 -
2021-06-22 23:52:22 +00:00
nickysn
0af333bd0f + implemented RmDir for the WASI target
git-svn-id: trunk@49526 -
2021-06-22 23:36:30 +00:00
nickysn
144d7ed978 + implemented MkDir for the WASI target
git-svn-id: trunk@49525 -
2021-06-22 23:33:54 +00:00
nickysn
bc08af99b0 + initial implementation of resolving relative paths
git-svn-id: trunk@49524 -
2021-06-22 23:14:33 +00:00
nickysn
ba3383f7e3 + keep also the fds for the current dirs
git-svn-id: trunk@49523 -
2021-06-22 22:44:20 +00:00
nickysn
d3ce008cd3 + initial implementation of GetDir() for WASI
git-svn-id: trunk@49522 -
2021-06-22 22:35:32 +00:00
nickysn
0a384b0905 * enumerate preopened dirs on startup and store them in a list, accessible via global vars in the system unit
git-svn-id: trunk@49521 -
2021-06-22 20:51:19 +00:00
florian
bbcc396644 * ARM: fix for Merge Add/Sub optimization
git-svn-id: trunk@49520 -
2021-06-21 21:36:32 +00:00
florian
356afdd25b * ARM (thumb): do not save registers in routines marked as noreturn
git-svn-id: trunk@49519 -
2021-06-20 18:14:30 +00:00
michael
15f25da1fa * Fix issue ID #0039024, potential wrong write
git-svn-id: trunk@49518 -
2021-06-20 08:06:08 +00:00