Commit Graph

68291 Commits

Author SHA1 Message Date
Michaël Van Canneyt
9ef5b8bce9 * Fixes in DoCopyProps. Fixes issue #40362 2023-10-12 11:11:48 +02:00
Michaël Van Canneyt
0d37b3c6ec * Use SinCos where possible. Fixes issue #40420 2023-10-12 09:11:21 +02:00
Michaël Van Canneyt
38776ca494 * Use const string arguments where possible. Fixes issue #40441 2023-10-12 08:49:07 +02:00
Michaël Van Canneyt
ac5b96a0c9 * Bind fields when needed in InternalOpen. Fixes issue #40450 2023-10-12 08:33:23 +02:00
Kai Burghardt
5307ef07c4 bypass realinteger conversion → real promotion in dateUtils.dateOf
The `dateUtils.dateOf` function takes one `tDateTime` value, a `real` value,
converts it to an `integer` using `trunc`, and then the value is automatically
promoted to a `real` value again (because of result data type `tDateTime`).

This is unnecessary (unless an error is the desired behavior).
You can use just `system.int` to obtain the integral (= date) part of `tDateTime`.
2023-10-11 23:05:33 +02:00
florian
f671db3fa6 + simple test for Dateutils.DateOf 2023-10-11 23:05:33 +02:00
Michaël Van Canneyt
3fbf05ec89 * Do not eat exceptions. Allow to handle errors in translation. Fixes issue #40430 2023-10-11 09:00:11 +02:00
Michaël Van Canneyt
26e66fda75 * Fix Access Violation when starting debug server failed 2023-10-11 08:47:53 +02:00
florian
94cb1c3a49 * correctly name nested enum type debug symbols, resolves #40462 2023-10-10 23:16:31 +02:00
mattias
435861b238 fcl-passrc: added test unit not used through alias 2023-10-10 19:37:04 +02:00
mattias
d8fa6e6a9c fcl-passrc: started test generic with type alias 2023-10-10 19:36:32 +02:00
Pierre Muller
ad637e8f09 Fix range error in tstruth2bu.pp test 2023-10-10 16:33:44 +00:00
Pierre Muller
71c6b6be0c Add also DOSDIR and CLASSESDIR 2023-10-09 11:38:14 +02:00
Pierre Muller
2815273cf0 Set SYSUTILSDIR to unix dir in linux Makefile.fpc 2023-10-09 11:19:21 +02:00
Pierre Muller
08f9aaa6e6 Regenerate Makefile's with centralized SYSTEMUNIT variable 2023-10-09 01:02:28 +02:00
Pierre Muller
cb2d675732 Remove OS specific SYSTEMUNIT variable setting 2023-10-09 01:02:28 +02:00
Pierre Muller
b317f47029 Set SYSTEMUNIT variable globally inside inc/Makefile.rtl 2023-10-09 01:02:28 +02:00
mattias
7aa2ae7b36 fcl-css: test user pseudo class 2023-10-08 23:26:48 +02:00
marcoonthegit
816a4714f6 * another indirection problem reported on the forum for libusb_free_device_list 2023-10-07 22:50:18 +02:00
marcoonthegit
018593270b * From double to triple indirection for the get_device_list function. Reported by Jurassic Pork on forum. 2023-10-07 16:40:41 +02:00
florian
a3f221e189 * allow set type to be a generic parameter, resolves #40453 2023-10-06 21:40:25 +02:00
Nikolay Nikolov
8e66041b79 + fix for the conversion of try..catch blocks to structured form 2023-10-05 20:50:24 +03:00
Nikolay Nikolov
11b743fd6a + also check for unexpected delegate instructions when converting to wasm structured form 2023-10-05 20:40:27 +03:00
Nikolay Nikolov
3a85a5a9cf + also debug print structured try..catch and try..delegate blocks 2023-10-05 20:37:55 +03:00
Nikolay Nikolov
84f0b94549 + more consistency checks for unexpected instructions when converting to wasm structured instruction form 2023-10-05 20:24:43 +03:00
Nikolay Nikolov
089e7ca6c8 + added compiler internal error when encountering certain unexpected wasm instructions (indicating improper nesting) 2023-10-05 20:19:08 +03:00
Nikolay Nikolov
595402cac7 + added else to case statement to avoid warning 2023-10-05 19:19:59 +03:00
Nikolay Nikolov
a5f1600275 + avoid more warnings 2023-10-05 19:12:26 +03:00
Nikolay Nikolov
da4980c4c0 + added else to case statement, avoid the warning, produce an internal error in this unexpected case 2023-10-05 19:05:39 +03:00
Nikolay Nikolov
16b14c574e * constructors made public to avoid warnings 2023-10-05 18:58:45 +03:00
Nikolay Nikolov
df2488ea6e * shorten the string for ait_wasm_structured_instruction in taitypestr to fit in string[24] 2023-10-05 18:50:01 +03:00
Nikolay Nikolov
1a26c0ccfe + for debug purposes print wasm structured instructions in the llvm-mc assembler output 2023-10-05 18:27:49 +03:00
Nikolay Nikolov
0680ea46c8 * set typ of wasm structured instructions to ait_wasm_structured_instruction 2023-10-05 15:15:19 +03:00
Nikolay Nikolov
6ff4031398 * fixed more bugs in the wasm structured asmlist construction 2023-10-05 15:09:05 +03:00
Nikolay Nikolov
fff60f9f67 * fixed bug in wasm_convert_to_structured_asmlist 2023-10-05 15:04:42 +03:00
Pierre Muller
431e42c873 Fix compilation of go32v2 installer by regenerating Makefile using latest fpcmake 2023-10-04 21:55:27 +00:00
Nikolay Nikolov
a37430c245 + added code for converting wasm asmlists to structured lists (i.e. lists, using the new wasm structured instructions classes) 2023-10-03 23:35:46 +03:00
Karoly Balogh
d748124996 tosunits: add VM_INQUIRE constant for xbios_vsetmode() 2023-10-03 21:11:18 +02:00
Karoly Balogh
35ac20c1f0 tosunits: xbios vsetrgb/vgetrgb - do not use Pascal open array style syntax in a C-style API, but C pointer-style 2023-10-03 21:11:18 +02:00
Nikolay Nikolov
dec6255a19 + introduced classes for WebAssembly structured form of instructions 2023-10-03 18:47:37 +03:00
Pierre Muller
e3f4676fb0 Remove softfpu from unit list for wasm32-embedded target 2023-10-03 14:25:52 +00:00
Nikolay Nikolov
9996c935ea Merge branch 'main' into wasm_goto 2023-10-03 16:12:13 +03:00
Pierre Muller
d9ad6bdd1f Avoid troubles with exported directories 2023-10-03 10:14:04 +00:00
Michaël Van Canneyt
123481aa8d * Minor improvements of EncodeUri. Fixes issue #40455 2023-10-03 08:59:41 +02:00
Pierre Muller
e11838c5bd Regenerate amiga, embedded, and go32v2 Makefile's 2023-10-02 22:27:17 +02:00
Pierre Muller
261e66fb84 go32v2 dos unit depends on go32 unit. 2023-10-02 22:27:17 +02:00
Pierre Muller
9845d15162 Cleanup sinclairql Makefile.fpc 2023-10-02 22:27:17 +02:00
Pierre Muller
9a9e2e4ae5 amiga and embedded Makefile.pfc changes
Remove RESUNIT rule from amiga/Makefile.fpc, as fpintres and fpextres are both treated inside inc/Makefile.rtl
  Use CPU_COMMON_UNITS for embedded rules.
2023-10-02 22:27:17 +02:00
Michaël Van Canneyt
ab4db7f475 * Fix OnChange being fired twice when adding an object. Fixes issue 40261 2023-10-02 22:17:59 +02:00
Michaël Van Canneyt
113add75cc * Fix issue #40454 2023-10-02 10:15:24 +02:00