Commit Graph

70712 Commits

Author SHA1 Message Date
Nikolay Nikolov
2ba0f42508 + WebAssembly internal assembler and linker: support exporting symbols from
debug sections, via a FPC-specific extension. Unfortunately, this is not
  supported by the LLVM external assembler and linker.
2024-09-07 17:07:29 +03:00
Michaël Van Canneyt
51fdff0e7f * Webassembly websocket support and demo 2024-09-07 11:36:35 +02:00
Nikolay Nikolov
27fd290150 + WebAssembly object writer: record the custom section index for debug sections
in a new field TWasmObjSection.CustomSectionIdx
2024-09-07 04:30:03 +03:00
Nikolay Nikolov
d79c549f03 * WebAssembly internal object writer: generate the symbol table after the
section numbers have been calculated. This is preparation for exporting
  symbols from debug sections, which will be implemented in the future. No
  functional changes.
2024-09-07 04:11:18 +03:00
florian
a867530056 * another fix of cosh/sinh overflow checking 2024-09-06 22:24:38 +02:00
Nikolay Nikolov
5e996dc18f + added several missing targets to the help screen for the -P compiler option 2024-09-06 07:23:23 +03:00
florian
81ffe0ed36 * improved cosh/sinh argument checking 2024-09-05 22:21:56 +02:00
Rika Ichinose
b480979c53 Import TzSpecificLocalTimeToSystemTime. 2024-09-05 21:18:25 +03:00
florian
d4a2f67a6d + check argument range for cosh/sinh 2024-09-04 22:08:45 +02:00
Michaël Van Canneyt
cd13d5bb3a * Patch from Iluha Companets to avoid crash when registry XML file is empty. Fixes issue #40912 2024-09-04 14:34:23 +02:00
Margers
28aaa672a1 Indent block when Persistent blocks are off 2024-09-04 12:28:22 +00:00
Margers
517123899a Revert "to be reverted utf8 char mishmash"
This reverts commit 471a735fe6
2024-09-04 09:40:48 +00:00
Margers
91d9c3286a Reintroduce Microsoft copy/paste keys for Input Lines 2024-09-04 09:32:34 +00:00
Margers
471a735fe6 to be reverted utf8 char mishmash 2024-09-04 09:24:46 +00:00
Margers
16da5280b2 Merge branch source:main into main 2024-09-04 09:10:19 +00:00
Michael Van Canneyt
8b0ed99fbc Revert "Microsoft copy/paste keys for Input Lines"
This reverts commit 660836e027
2024-09-04 09:03:47 +00:00
Margers
a1fad6bfc0 Revert: do not lowercase executable names in Unix systems. 2024-09-04 08:53:39 +00:00
Margers
b3d44a9da2 more elegant way to preserve original exe name 2024-09-04 08:53:39 +00:00
Margers
528ff51a8f Opening same file in a second window don't destroy any changes 2024-09-04 08:51:25 +00:00
Margers
31bc7c4054 On exit ask for changes to save if one file open in two windows. 2024-09-04 08:34:51 +00:00
Margers
dcdfad4dc2 Revert "Opening same file in a second window don't destroy any changes"
This reverts commit cf81682bbb
2024-09-04 08:25:22 +00:00
Margers
cf81682bbb Opening same file in a second window don't destroy any changes 2024-09-04 08:23:32 +00:00
florian
9146eaf083 * fixed also comment 2024-09-03 21:04:09 +01:00
Nikolay Nikolov
45374be28e + added -CN to the help screen of the WebAssembly compiler as well 2024-09-03 18:07:16 +03:00
Nikolay Nikolov
964aa8b71b + added an optional nil pointer checking for WebAssembly (similar to
PowerPC-AIX), that can be activated via the -CN option
2024-09-03 18:05:52 +03:00
Nikolay Nikolov
2dd0b55d04 * the fpc_invalidpointer rtl function declared compproc to allow easier calling
from the high level code generator
2024-09-03 18:04:52 +03:00
Michaël Van Canneyt
aef32d5de9 * Add some utility methods to TJSarray for easier pushing of values 2024-09-03 10:33:54 +02:00
Nikolay Nikolov
00e5289967 * WebAssembly threads: fix race condition, which causes sometimes an abandoned
basic event to be reported as signalled. This should fix the test tbrtlevt.pp
  sometimes failing.
2024-09-03 03:18:21 +03:00
Nikolay Nikolov
ccbc28dd85 * WebAssembly: fixed SysUtils.sleep() with large timeouts causing incorrect time
delay, due to arithmetic overflow
2024-09-03 02:30:14 +03:00
Nikolay Nikolov
0314ba9bfd * WebAssembly threads: in TThread.WaitFor, call CheckSynchronize in a loop,
while waiting on a thread that isn't finished, but the waiting happens on the
  main thread. This fixes the hang in test tb0636.pp
2024-09-03 01:19:51 +03:00
florian
1850eab89a * ensure that the final assignment in the hyperbolic functions raises an exception if they overflow 2024-09-02 21:35:54 +01:00
florian
266662971b + cosh(800) should raise an floating point overflow 2024-09-02 21:34:58 +01:00
Margers
11d542cf8f Do not lowercase executable names in Unix systems. 2024-09-02 08:13:15 +00:00
Margers
7949e53d8a revert unwanted change 2024-09-02 08:11:48 +00:00
Margers
5ded9e3cb3 Overwrite selection block 2024-09-02 08:11:48 +00:00
Margers
660836e027 Microsoft copy/paste keys for Input Lines 2024-09-02 08:10:51 +00:00
Margers
fd353ee62c fixed formatting 2024-09-02 08:09:43 +00:00
Margers
12bc43b7b6 Improved input line of Find and Replace window. 2024-09-02 08:09:43 +00:00
Margers
38e53727f0 Improved Debug - Evaluate (Ctrl+F4) 2024-09-02 08:08:14 +00:00
Margers
54afa37d4d Auto-Closing Brackets and Insert or Restore 2024-09-02 08:04:40 +00:00
Margers
ae81a69cb1 Block insert cursor. Block cursor for overwrite mode in xterm 2024-09-02 08:03:56 +00:00
Margers
2cc454da26 Close/hide compiler messages window by pressing Esc 2024-09-02 08:02:09 +00:00
Margers
6993702192 Select text in code editor by mouse when Persistent Blocks not enabled. 2024-09-02 08:01:08 +00:00
Margers
975ee9d9f0 select to beginning of the file (ctrl+shift+home) 2024-09-02 07:58:40 +00:00
Margers
e4d7867e0e Mark beginning of selected text 2024-09-02 07:57:36 +00:00
Margers
74405ab2e5 Scroll one line up/down 2024-09-02 07:55:34 +00:00
Nikolay Nikolov
3d25e52b61 * renamed the wabt assembler to wasa in the compiler help screen as well 2024-09-02 02:55:06 +03:00
Nikolay Nikolov
6149fe394e * unit agwat renamed agwasa 2024-09-02 02:09:34 +03:00
Nikolay Nikolov
3d204dd0da * TWabtTextAssembler class renamed TWasaTextAssembler 2024-09-02 02:07:48 +03:00
Nikolay Nikolov
75e061e06f * as_wasm_wabt_info renamed as_wasm_wasa_info 2024-09-02 02:07:09 +03:00