Commit Graph

68488 Commits

Author SHA1 Message Date
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
Michaël Van Canneyt
8fb39925eb * Implement ListIndexError 2023-11-09 11:43:19 +01:00
Michaël Van Canneyt
a9ff6272f6 * Add IsInstanceOf 2023-11-09 11:28:53 +01:00
Michaël Van Canneyt
972b961f2b * Add delphi compatible constant 2023-11-09 11:23:13 +01:00
Michaël Van Canneyt
9b9623b289 * Fix wince/nativent compilation 2023-11-09 11:09:07 +01:00
Rika Ichinose
d04547eb83 Replace TEncoding.FLock with interlocked operations. 2023-11-09 09:11:00 +00:00
J. Gareth "Curious Kit" Moreton
cc3f4508fd * a64: New CG tests for evaluating correct EON instructions 2023-11-08 21:07:00 +00:00
J. Gareth "Curious Kit" Moreton
afe2e80673 * a64: Node parser now attempts to directly create BIC, ORN and EON instructions 2023-11-08 21:07:00 +00:00
Michaël Van Canneyt
7bd8ac25d4 * Regen Makefiles with correct defines for some lineinfo units 2023-11-08 18:15:52 +01:00
Michaël Van Canneyt
ebed69e858 * Fix name of lineinfo 2023-11-08 17:12:37 +01:00
Michaël Van Canneyt
ab3b7f8f69 * Do not use namespace prefix for lnfodwarf 2023-11-08 17:08:03 +01:00
Michaël Van Canneyt
2f9c1e8be4 * line info may not use namespaces, referenced in compiler 2023-11-08 17:06:19 +01:00
Michaël Van Canneyt
2444c5ec79 * Not all OSes have NilHandle 2023-11-08 14:26:17 +01:00