Commit Graph

68650 Commits

Author SHA1 Message Date
Michaël Van Canneyt
a7016a9ea0 * Fixes for Delphi multiline strings in pas2js 2023-11-17 16:41:43 +01:00
Michaël Van Canneyt
a7b449da8b * Implement missing tests 2023-11-17 16:23:34 +01:00
Michaël Van Canneyt
5b1574bd63 * Handle forward external objcclass 2023-11-17 16:23:06 +01:00
Michaël Van Canneyt
b7c00a2116 * Implement Delphi multiline strings 2023-11-17 15:48:33 +01:00
Michaël Van Canneyt
8e6bc090c2 * Darwin only has 8-bit char version of the library 2023-11-17 11:11:57 +01:00
Michaël Van Canneyt
b61d85ad2d * Add interface to libpcre (Perl Compatible Regular Expressions) 2023-11-16 23:17:35 +01:00
Nikolay Nikolov
5a61f51b3c + added TWasmExeOutput class (not implemented, yet) 2023-11-17 00:12:18 +02:00
Nikolay Nikolov
ddac127347 + added TInternalLinkerWasi class (not fully implemented, yet) 2023-11-17 00:08:42 +02:00
Jonas Maebe
340d389e20 cpptcl1.o: recompiled with -fno-exceptions
As identified by @modersohn, resolves #40501
2023-11-16 23:03:13 +01:00
Jonas Maebe
3e96ac0c4c iosxwstr: use kCFCompareNonliteral
Patch by @modersohn

Fixes tunistr7/twidestr7, resolves #40507
2023-11-16 22:56:21 +01:00
Rika Ichinose
c07f36b30b Post-modern CompareByte for x86-64/SSE2. 2023-11-16 21:42:51 +00:00
Rika Ichinose
9f491a40c7 Post-modern CompareByte for i386/SSE2. 2023-11-15 22:13:01 +00:00
Michaël Van Canneyt
6652fa7919 * Properly zero-terminate ansistring when calling unicode2ascii 2023-11-15 18:58:20 +01:00
Nikolay Nikolov
d98d0c5e62 + started implementing TWasmObjInput.ReadObjData 2023-11-15 17:58:15 +02:00
Nikolay Nikolov
b9668a88c6 + implemented TWasmObjInput.CanReadObjData: checks for WASM header and version 2023-11-15 01:55:12 +02:00
Nikolay Nikolov
bc727f9fb2 + added TWasmObjInput class. To be used in the WASM internal linker. Not doing anything, yet. 2023-11-15 01:39:39 +02:00
Michaël Van Canneyt
d32deedb4e * Add system.diagnostics for Delphi compatibility 2023-11-14 17:36:33 +01:00
Michaël Van Canneyt
4943e01e25 * Copyright statement 2023-11-14 12:17:40 +01:00
Michaël Van Canneyt
903f1b9fad * Correct permissions 2023-11-14 12:14:40 +01:00
Michaël Van Canneyt
1e660c9cbc * System.Imagelist for Delphi compatibility 2023-11-14 12:14:03 +01:00
Michaël Van Canneyt
45021498cf * Add unicode AnsiLastChar overload 2023-11-14 10:26:49 +01:00
Michaël Van Canneyt
ea63bfb32f * Fix string type in AnsiLastChar declaration 2023-11-14 10:23:34 +01:00
Michaël Van Canneyt
cb7a8dfea7 * Only free event if it was actually created 2023-11-14 10:01:36 +01:00
Michaël Van Canneyt
3c1d50ab72 * Fix unicodertl compilation 2023-11-13 13:14:11 +01:00
florian
6e5860cb87 * check for *-1 multiplications after folding, resolves #40448 2023-11-12 22:30:43 +01:00
Michaël Van Canneyt
399f693ebb * ExtractShortPathName 2023-11-12 22:13:22 +01:00
Pierre Muller
6e9521d99a Fix for trunk arm STM optimize bug 2023-11-12 18:22:19 +00:00
Pierre Muller
31c8e78581 Default to external assembler
in cross-endian configuration.

  Add note about reason of switching to external assembler.
2023-11-12 17:26:19 +00:00
Pierre Muller
19a3e69f03 Add new option_switch_bin_to_src_assembler_cross_endian message 2023-11-12 17:26:19 +00:00
Pierre Muller
b054febbc8 Change internal linker in cross-endian message.
Change message level from error to warning,
in order to allow to work on full support of
cross-endian internal assemblers and linkers.
2023-11-12 17:26:19 +00:00
Pierre Muller
2cbaa24f76 Prevent usage of internal linker in cross-endian configuration.
Add LinkInternSetExplicitly field to TOption class.
Set this field to true if '-Xe-' or '-Xi' option is used.
Check at exit if in cross-endian configuration:
 if LinkInternSetExplicitly is set, issue error message,
else add cs_link_extern to init_settings.globalswitches.
2023-11-12 17:25:45 +00:00
Rika Ichinose
78368d4432 Specialized IndexQWord for i386. 2023-11-12 17:00:07 +00:00
Michaël Van Canneyt
f10bdf4012 * Add System.AnsiStrings for Delphi compatibility 2023-11-12 17:49:41 +01:00
Michaël Van Canneyt
407fb4b1da * pthread_mutex_timedlock 2023-11-12 10:17:22 +01:00
Michaël Van Canneyt
c9b88a1cd0 * Allow to disable 8.3 filename search 2023-11-12 09:55:30 +01:00
Michaël Van Canneyt
d8700e5190 * Make TSemaphore and TMutex opt-in for some platforms 2023-11-12 08:49:45 +01:00
ccrause
652f21b656 RP2040 support based on modification by Michael Ring (https://github.com/michael-ring/freepascal). 2023-11-11 17:45:23 +00:00
Michaël Van Canneyt
81925b7c1b * Correctly close IFDEF block 2023-11-11 17:57:53 +01:00
Michaël Van Canneyt
f2372c0c0a * Fix during defined USE_pthread_mutex_trylock 2023-11-11 12:17:04 +01:00
Michaël Van Canneyt
121f6fce22 * Fix typo, missing brackets 2023-11-11 12:08:44 +01:00
Michaël Van Canneyt
0e3b8cca8c * Correct tsemaphore for platforms that do not have the mutex_timedlock 2023-11-11 11:55:24 +01:00
J. Gareth "Curious Kit" Moreton
5fab6cc5e0 * Fixed internal error number clash (2022102110) 2023-11-10 18:43:55 +00:00
Michaël Van Canneyt
9f62b33ef0 * Add ChangeFilePath 2023-11-10 18:14:03 +01:00
Michaël Van Canneyt
76909f0894 * Correct StuffString for character size in unicodestring 2023-11-10 17:08:26 +01:00
Michaël Van Canneyt
7f6931f685 * Better version of nilpchar 2023-11-10 15:21:14 +01:00
Michaël Van Canneyt
457daac896 * Re-Add MatchIndexFromName. Fixes issue #40478 2023-11-10 14:18:34 +01:00
Michaël Van Canneyt
f0b714d5ad * Add pthread_mutex_timedlock, sem_timedwait may be needed in future 2023-11-10 14:13:23 +01:00
Michaël Van Canneyt
d989fb9a15 * Implement TSemaphore & TMutex for Delphi compatibility 2023-11-10 14:13:23 +01:00
Rika Ichinose
ce1a82a1e4 Add potentially required barriers to TEnconding. 2023-11-10 02:36:04 +03:00
marcoonthegit
b6999496a7 * add pointer variant fo createconsolescreenbuffer, move old VAR definition to redef for compat. 2023-11-09 14:17:14 +01:00