nickysn
a74024e7d5
* synchronized with trunk
...
git-svn-id: branches/wasm@48654 -
2021-02-12 01:54:24 +00:00
michael
47be45830c
* Fix issue ID #38462
...
git-svn-id: trunk@48580 -
2021-02-10 11:00:22 +00:00
florian
ecce39a3b2
+ throw a warning in ISO mode if a constant string is assigned to a char and the sizes do not match, resolves #38439
...
git-svn-id: trunk@48563 -
2021-02-09 20:48:27 +00:00
florian
b1f7fb4ba1
* test for already fixed issue #24434
...
git-svn-id: trunk@48516 -
2021-02-06 12:53:04 +00:00
nickysn
ae75c87d65
* synchronized with trunk
...
git-svn-id: branches/wasm@48515 -
2021-02-06 08:27:24 +00:00
florian
d0910b5ac8
* allow sub/add nodes in constant pointer expressions, resolves #34027
...
git-svn-id: trunk@48514 -
2021-02-05 22:10:27 +00:00
nickysn
cf3b883bce
* synchronized with trunk
...
git-svn-id: branches/wasm@48513 -
2021-02-04 21:34:40 +00:00
florian
a67c184200
* test for already fixed issue #32139
...
git-svn-id: trunk@48501 -
2021-02-02 21:36:54 +00:00
nickysn
d52e918fc8
* synchronized with trunk
...
git-svn-id: branches/wasm@48480 -
2021-02-01 01:13:27 +00:00
svenbarth
d13838ac0b
+ add a test which ensures that a "const TVarData" parameter is passed as a reference.
...
This is required for Delphi compatibility as implementers of IVarInvokable or
inheritors of TInvokableVariantType need to modify the variant data by using
a pointer to the TVarData because it's passed as const and thus not modifyable
by itself.
This behavior is documented in so far as the C++ builder documentation shows
that the same parameter is implemented as "const&".
git-svn-id: trunk@48478 -
2021-01-31 21:23:29 +00:00
svenbarth
fe5b29c111
* fix for Mantis #38249 : apply adjusted patch by avk to implemnt CastTo handling when the source variant is a custom variant, but the destination type is not
...
+ added test (includes test for #20849 )
git-svn-id: trunk@48477 -
2021-01-31 20:26:26 +00:00
florian
b8ab06aae7
+ futimens syscall
...
* make use of futimens syscall in sysutils unit
+ tests
git-svn-id: trunk@48472 -
2021-01-31 17:12:39 +00:00
florian
0c77536f11
+ linux.fputimensat which properly uses the _tim64 version if needed and available
...
+ test
git-svn-id: trunk@48470 -
2021-01-31 16:24:47 +00:00
nickysn
f8b87e472d
* set eol-style=native and mime-type=text/plain to graph.tex
...
git-svn-id: trunk@48463 -
2021-01-31 11:08:21 +00:00
nickysn
8b52969b62
* synchronized with trunk
...
git-svn-id: branches/wasm@48460 -
2021-01-30 22:29:44 +00:00
florian
f39f8d0f1a
* linux: make use of statx in Sysutils.FileAge if available
...
git-svn-id: trunk@48457 -
2021-01-30 18:47:27 +00:00
michael
a90315c3a0
* Patch from Noel Duffy to implement DNS over TCP and test
...
git-svn-id: trunk@48455 -
2021-01-30 08:28:13 +00:00
nickysn
80d3a8d130
* synchronized with trunk
...
git-svn-id: branches/wasm@48453 -
2021-01-29 23:45:05 +00:00
florian
4bec57702f
* handle generic with ord call of sub-range and enumeration data excluding 0 correctly, resolves #38412
...
git-svn-id: trunk@48452 -
2021-01-29 21:31:59 +00:00
nickysn
e7d568ea38
* synchronized with trunk
...
git-svn-id: branches/wasm@48451 -
2021-01-29 04:03:57 +00:00
florian
e99827246e
* fix type conversion for array indicies if the ordinal ranges of the involved types do not overlap, resolves #38413
...
git-svn-id: trunk@48449 -
2021-01-28 20:56:15 +00:00
nickysn
95e0c7ab6e
* synchronized with trunk
...
git-svn-id: branches/wasm@48433 -
2021-01-26 22:52:18 +00:00
florian
bcfa71d706
+ lazarus project for demo
...
git-svn-id: trunk@48431 -
2021-01-26 22:00:33 +00:00
nickysn
616db5df68
+ compile the strings unit for the wasi target
...
git-svn-id: branches/wasm@48427 -
2021-01-25 21:17:28 +00:00
nickysn
45b67bf8c8
+ added unit wasiapi
...
git-svn-id: branches/wasm@48424 -
2021-01-25 20:54:25 +00:00
nickysn
64bb0359d2
* synchronized with trunk
...
git-svn-id: branches/wasm@48412 -
2021-01-24 23:38:35 +00:00
florian
0ab4515e58
* properly mangle interface wrapper names to avoid duplicate label errors, resolves #38385
...
git-svn-id: trunk@48411 -
2021-01-24 21:32:27 +00:00
svenbarth
c3fd06b6b5
* fix for Mantis #38390 : use Val instead of StrToInt to avoid overload problems
...
+ added test
git-svn-id: trunk@48399 -
2021-01-24 14:57:20 +00:00
yury
7ffa963127
* Moved the tregistry2 test back to packages and added more test OS targets.
...
git-svn-id: trunk@48383 -
2021-01-24 11:05:34 +00:00
yury
ddf0ce014b
* Include packages/fcl-registry/tests to be run by the testsuite. Renamed files so only the main test files start with "t".
...
git-svn-id: trunk@48382 -
2021-01-24 11:01:33 +00:00
nickysn
f77ae51751
* the wasm target (now 'embedded') moved to the i_embed/t_embed units
...
git-svn-id: branches/wasm@48365 -
2021-01-24 01:45:35 +00:00
nickysn
dccd4d5b37
* synchronized with trunk
...
git-svn-id: branches/wasm@48359 -
2021-01-24 00:39:31 +00:00
florian
9803318fef
* give a proper error if macros are too deeply nested
...
git-svn-id: trunk@48357 -
2021-01-23 21:29:37 +00:00
nickysn
04828b22f6
* WASI API consts, types and procs moved to separate include files
...
git-svn-id: branches/wasm@48351 -
2021-01-23 15:19:21 +00:00
pierre
1351ccb3bf
Avoid range check errors
...
git-svn-id: trunk@48317 -
2021-01-22 12:51:53 +00:00
nickysn
f5f15e3dbf
+ added startup code for WASI
...
git-svn-id: branches/wasm@48304 -
2021-01-22 00:41:51 +00:00
nickysn
4165c893be
* synchronized with trunk
...
git-svn-id: branches/wasm@48292 -
2021-01-21 23:16:12 +00:00
nickysn
54299874d3
+ implemented memory.grow and memory.size intrinsics and implemented SysOSAlloc
...
git-svn-id: branches/wasm@48290 -
2021-01-21 23:13:49 +00:00
florian
f4c74b6b09
* fix TBufferedFileStream.Seek(0,soBeginning) as proposed by Andrey Zubarev, resolves #38351
...
git-svn-id: trunk@48282 -
2021-01-21 21:08:13 +00:00
nickysn
6df4254c12
+ added WASI sysdir.inc and sysfile.inc (functions not implemented yet)
...
git-svn-id: branches/wasm@48239 -
2021-01-20 21:29:40 +00:00
nickysn
780ded903a
* synchronized with trunk
...
git-svn-id: branches/wasm@48225 -
2021-01-19 23:01:55 +00:00
nickysn
2f233adda2
+ dummy WASI heap functions
...
git-svn-id: branches/wasm@48220 -
2021-01-19 19:55:34 +00:00
nickysn
774f6f650d
+ dummy setjmp/longjmp implementation for WebAssembly
...
git-svn-id: branches/wasm@48219 -
2021-01-19 19:38:25 +00:00
yury
a29bfe5505
* Moved the tregistry2.pp test from packages to tests in order it to be run by daily test runs. tregistry2 has been failing for years and nobody has noticed this.
...
git-svn-id: trunk@48204 -
2021-01-19 16:52:43 +00:00
nickysn
888af282a4
+ override the inline node for WASM
...
git-svn-id: branches/wasm@48197 -
2021-01-19 14:04:47 +00:00
nickysn
8021de82f6
* synchronized with trunk
...
git-svn-id: branches/wasm@48185 -
2021-01-18 23:11:34 +00:00
nickysn
69c407dff5
+ added dummy int64p.inc file for WebAssembly
...
git-svn-id: branches/wasm@48181 -
2021-01-18 22:50:22 +00:00
nickysn
039e2f20b7
+ override the case node for WASM. The actual code generation isn't implemented yet.
...
git-svn-id: branches/wasm@48172 -
2021-01-18 17:43:01 +00:00
michael
b30d54b064
* Patches from Andrey Sobol, more control over warnings, improve class tree and resolving
...
git-svn-id: trunk@48163 -
2021-01-16 15:05:44 +00:00
nickysn
e0a1ce86fd
* synchronized with trunk
...
git-svn-id: branches/wasm@48158 -
2021-01-15 01:05:37 +00:00
florian
4e61867ce1
* modified (use IsManagedType to check if a for loop can be used for copying) patch by Bart Broersma to fix IncreaseCapacity of TQueue, resolves #38306
...
git-svn-id: trunk@48154 -
2021-01-13 21:24:50 +00:00
nickysn
8b4aceea50
* synchronized with trunk
...
git-svn-id: branches/wasm@48134 -
2021-01-11 07:01:01 +00:00
Jonas Maebe
5c2303a76b
* add parameter cleanup nodes to the call cleanup block (mantis #38316 )
...
git-svn-id: trunk@48130 -
2021-01-10 15:47:27 +00:00
pierre
b7c519de81
Add check for bug fix in bug report 38339
...
git-svn-id: trunk@48129 -
2021-01-10 14:43:22 +00:00
Jonas Maebe
b1a1e6c510
+ test for mantis #38337 , already fixed
...
git-svn-id: trunk@48127 -
2021-01-10 14:09:22 +00:00
florian
7f775abb6d
* throw a proper error if a contructur has a type parameter in delphi mode, resolves #37217
...
git-svn-id: trunk@48113 -
2021-01-08 14:19:19 +00:00
nickysn
77578f0e03
* synchronized with trunk
...
git-svn-id: branches/wasm@48090 -
2021-01-06 05:11:52 +00:00
florian
aec18c2426
* weight currency->float conversions the same regardless if
...
the currency type is handled by the integer unit or the x87 fpu,
resolves #38309
git-svn-id: trunk@48089 -
2021-01-05 22:39:16 +00:00
svenbarth
57d9884d96
* fix for Mantis #38310 : ignore procsyms that have no procdefs for checking overloads, or more precisely to stop checking for overloads; these are generic dummy symbols
...
+ added (simplified) tests
git-svn-id: trunk@48088 -
2021-01-05 20:58:46 +00:00
nickysn
67cea74ec6
+ implemented twasmtypeconvnode.second_int_to_bool
...
git-svn-id: branches/wasm@48076 -
2021-01-05 07:50:05 +00:00
nickysn
04c14500a7
+ added math.inc and set.inc
...
git-svn-id: branches/wasm@48057 -
2021-01-04 15:37:16 +00:00
nickysn
052d1bc38a
* synchronized with trunk
...
git-svn-id: branches/wasm@48022 -
2021-01-04 02:57:44 +00:00
florian
7d5b0d2382
* handle rawbytestrings in Win32Ansi2UnicodeMove properly, resolves #38299
...
git-svn-id: trunk@48021 -
2021-01-03 22:55:37 +00:00
florian
9592c033e5
* process fma intrinsic parameters in an order which takes care of multiple x87 stack parameters, resolves #38295
...
git-svn-id: trunk@48017 -
2021-01-03 17:08:58 +00:00
michael
743e7c1c1b
* Forgot to commit
...
git-svn-id: trunk@48014 -
2021-01-03 15:30:41 +00:00
svenbarth
c96029ebd5
* Delphi does not allow a generic method to be overloaded by a non generic type of the same name (unlike for generic types and non generic routines); this is probably done to simplify the implementation of implicit specializations of generic methods so we do this as well. For this we change the dummy symbol for generic routines from a typesym to a procsym
...
+ added tests
Note: what Delphi /does/ allow however is to overload a generic routine with a generic type... go figure. :/ We currently don't allow that
git-svn-id: trunk@48002 -
2021-01-02 23:23:39 +00:00
svenbarth
d854d18bd9
* instead of blindly consuming whatever comes next trigger an explicit error if the parsed expression does not match for "INDEX ordexpr" or "NAME strexpr"
...
+ added tests
git-svn-id: trunk@47995 -
2021-01-02 23:23:08 +00:00
nickysn
67206943e8
+ added WASI RTL makefile
...
git-svn-id: branches/wasm@47992 -
2021-01-02 22:56:43 +00:00
nickysn
5a98127ae6
+ added makefile.cpu for wasm32
...
git-svn-id: branches/wasm@47989 -
2021-01-02 22:27:30 +00:00
nickysn
05d66eddfc
* synchronized with trunk
...
git-svn-id: branches/wasm@47982 -
2021-01-02 22:06:17 +00:00
florian
7de94e7a1d
* properly fold string+string const+string const., resolves #38267
...
git-svn-id: trunk@47977 -
2021-01-02 17:18:54 +00:00
michael
390be00327
* Markdown support for fpdoc
...
git-svn-id: trunk@47973 -
2021-01-02 14:28:45 +00:00
nickysn
a5fafea8d1
* more updates to attempt to get a larger part of the full RTL to compile for WASM32
...
git-svn-id: branches/wasm@47970 -
2021-01-02 13:01:39 +00:00
nickysn
9bd8b66e86
+ first attempts to compile a full WASI rtl
...
git-svn-id: branches/wasm@47958 -
2021-01-02 08:05:02 +00:00
nickysn
0ec39281f9
+ added rtl directory and some rtl include files for wasm32
...
git-svn-id: branches/wasm@47956 -
2021-01-02 07:57:17 +00:00
nickysn
f87f9969a7
* synchronized with trunk
...
git-svn-id: branches/wasm@47937 -
2021-01-02 04:55:50 +00:00
florian
97abf6b495
* first part of fixing #38267 : do not bail out early during constant folding
...
if the constant is 1 or -1
git-svn-id: trunk@47933 -
2021-01-01 15:26:13 +00:00
nickysn
57b976535f
* synchronized with trunk
...
git-svn-id: branches/wasm@47896 -
2020-12-29 23:50:34 +00:00
florian
edfbf2ce30
* correctly handle inlined exits in dfa, resolves #38259
...
git-svn-id: trunk@47894 -
2020-12-29 22:35:33 +00:00
florian
eb7702bea4
+ implement align directive for records, resolves #28927
...
git-svn-id: trunk@47892 -
2020-12-29 18:19:35 +00:00
nickysn
96de6c4b96
* synchronize with trunk
...
git-svn-id: branches/wasm@47877 -
2020-12-28 18:45:24 +00:00
michael
f1db695809
* Move chm writer to separate unit
...
git-svn-id: trunk@47868 -
2020-12-28 13:55:22 +00:00
Jonas Maebe
b359080f42
* fixed round(currency) so it takes the rounding mode into account on
...
platforms where currency is "type int64"
* inline trunc(currency), trunc(comp) and round(comp) on platforms where
currency and comp are "type int64"
git-svn-id: trunk@47859 -
2020-12-27 13:19:02 +00:00
Jonas Maebe
3e047d3691
* generate more efficient code for trunc(currency), trunc(comp), and
...
round(comp) on platforms where currency and comp are handled using the FPU
o also fixes trunc(comp) and trunc(currency) compilation for x86 on LLVM
with -Oofastmath
* add missing removal of excess fpu precision typecasts for trunc/round
git-svn-id: trunk@47854 -
2020-12-27 13:18:47 +00:00
florian
33afecd117
+ support got modifier on labels
...
git-svn-id: trunk@47851 -
2020-12-26 18:51:45 +00:00
florian
6db164c993
* min/max optimization needs to check both operands of the if condition, even if no else-statement is passed, resolves #38249
...
git-svn-id: trunk@47843 -
2020-12-23 22:41:37 +00:00
svenbarth
cbe352808a
* fix for Mantis #38238 : when creating a copy of a procdef for a procvar set the methodpointer flag also for methods of records
...
+ added test
git-svn-id: trunk@47826 -
2020-12-20 22:41:27 +00:00
florian
072be7b0f7
* Aarch64: fix 32 bit div operations with constant denominators, resolves #38225
...
git-svn-id: trunk@47812 -
2020-12-18 21:39:35 +00:00
svenbarth
2a897f5b6b
* apply slightly adjusted patch by Blaise.ru which moves parsing of result types to a separate functions thus ensuring that File types can't be used for procedure variables (just like they already couldn't be used as a result type for normal functions)
...
+ added test
git-svn-id: trunk@47810 -
2020-12-18 13:50:39 +00:00
florian
80f87edffd
* x86-64: correctly translate and with large constants in mod optimizations, resolves #38164
...
git-svn-id: trunk@47805 -
2020-12-17 22:09:23 +00:00
svenbarth
d29f95d9e1
* apply patch by Blaise.ru to allow specializations for the result type of function and method variables
...
+ added tests
git-svn-id: trunk@47795 -
2020-12-16 21:43:30 +00:00
svenbarth
32938dde1c
* apply patch by Blaise.ru to allow record methods to be assigned to method variables as well (this is Delphi compatible)
...
+ added test
git-svn-id: trunk@47794 -
2020-12-16 21:43:25 +00:00
nickysn
47ff701db7
* synchronized with trunk
...
git-svn-id: branches/wasm@47778 -
2020-12-14 23:07:56 +00:00
florian
2e2f2eb784
- remove could which prevented that rte is triggered even if we are inside
...
an exception block but *without* using sysutils. The remove code
was once added to have primitive exception handling even if
no sysutils is used. But if this is desired, an appropriate handler
to ErrorProc should be assigned. Resolves #38201
git-svn-id: trunk@47775 -
2020-12-14 21:55:42 +00:00
nickysn
91e9558f5b
* synchronized with trunk
...
git-svn-id: branches/wasm@47766 -
2020-12-12 23:20:33 +00:00
florian
53a4e6c513
* patch by Zoran Vučenović: fixes TDoubleRec.SetFrac, resolves #38202
...
+ test
git-svn-id: trunk@47765 -
2020-12-12 21:39:17 +00:00
yury
67284c7452
+ Added a test for proper setting of fc_no_direct_exit in flowcontrol.
...
git-svn-id: trunk@47755 -
2020-12-11 14:17:18 +00:00
svenbarth
1efeb5851a
* fix regression introduced with r47625 for Mantis #38122 : when checking for a dereferentiation of the Self parameter subscript and vec nodes need to be kept
...
+ added test
git-svn-id: trunk@47747 -
2020-12-10 06:11:46 +00:00
nickysn
dc5b78d5f0
* synchronized with trunk
...
git-svn-id: branches/wasm@47716 -
2020-12-08 06:57:57 +00:00
florian
a16b34d951
* test for min/max intrinsics
...
git-svn-id: trunk@47697 -
2020-12-06 14:19:00 +00:00
florian
e60a367f1b
+ project file for PowerPC64LE
...
git-svn-id: trunk@47694 -
2020-12-06 10:23:17 +00:00
svenbarth
deaff6f7fe
* fix for Mantis #38151 : when a Variant is passed by reference to a IDispatch property then invoke it using DISPATCH_PROPERTYPUTREF instead of DISPATCH_PROPERTYPUT
...
+ added test
git-svn-id: trunk@47687 -
2020-12-04 22:07:39 +00:00
svenbarth
69e6f3dcbb
* if a call inside a generic's code that involves generic type arguments can't be clearly determined then postpone it till specialization in the hope that the type will be clear then
...
+ added test
git-svn-id: trunk@47686 -
2020-12-04 22:07:34 +00:00
nickysn
aeafe42144
* synchronized with trunk
...
git-svn-id: branches/wasm@47653 -
2020-12-01 03:27:01 +00:00
svenbarth
3597696e98
* fix for Mantis #38145 : allow overloading of assignment operators that return ShortStrings with a specific size
...
+ added tests
The following rules for using these operator overloads as *implicit* overloads apply (Delphi compatible):
- if a found assignment operator returns a default ShortString then that is used
- if only one assignment operator to a String[x] is found then that is used
- otherwise the assignment is not possible
The explicit assignment checks for an exact match (and falls back for an implicit assignment). This is not entirely Delphi compatible as Delphi seems to favor the first found symbol in that case, but sometimes also not... :/
git-svn-id: trunk@47634 -
2020-11-29 15:47:52 +00:00
svenbarth
82957ec5a3
* Fix for Mantis #38122 : when a deref node is passed as a Self parameter for a type helper (which is a var parameter) we need to pass the non-derefentiated value so that the data it points to can be modified by the helper's method (this is Delphi compatible)
...
+ added tests
git-svn-id: trunk@47625 -
2020-11-28 18:32:24 +00:00
florian
7b88d1127f
* remove unused file
...
git-svn-id: trunk@47619 -
2020-11-28 13:41:44 +00:00
nickysn
f9daec43ef
* synchronized with trunk
...
git-svn-id: branches/wasm@47588 -
2020-11-25 21:59:19 +00:00
Tomas Hajny
74eb7b5050
+ added coloured compiler output support for OS/2 and DOS targets, platform-specific parts refactored to a standalone unit to remove the heap of ifdefs in unit comphook
...
git-svn-id: trunk@47566 -
2020-11-24 23:09:01 +00:00
florian
9dcf85a8ef
+ Xtensa: FMA support
...
git-svn-id: trunk@47563 -
2020-11-24 20:59:47 +00:00
nickysn
44b7a1df18
+ support reading .wav with an odd (uneven) fmt chunk size
...
git-svn-id: trunk@47545 -
2020-11-24 00:31:16 +00:00
Tomas Hajny
95394d7f98
+ added TZ variable based offset calculation
...
git-svn-id: trunk@47535 -
2020-11-23 01:08:39 +00:00
nickysn
59b465bbe7
* synchronized with trunk
...
git-svn-id: branches/wasm@47525 -
2020-11-22 04:01:56 +00:00
svenbarth
c20cbcc28f
+ add test to check whether ComObj correctly dispatches Ansi-, Unicode- and WideString arguments
...
git-svn-id: trunk@47519 -
2020-11-21 20:17:14 +00:00
nickysn
c895c8fa0a
* synchronized with trunk
...
git-svn-id: branches/wasm@47506 -
2020-11-20 23:21:42 +00:00
nickysn
94f8971e73
+ added tests with 32-bit and 64-bit IEEE floating point .wav files
...
git-svn-id: trunk@47466 -
2020-11-20 03:31:15 +00:00
nickysn
8862709fb1
* synchronized with trunk
...
git-svn-id: branches/wasm@47463 -
2020-11-20 00:00:53 +00:00
nickysn
46b35256bd
+ support reading .wav files that have extra data in the end of the 'fmt '
...
chunk. Added test case, which is a file, generated by the Euphoric emulator.
git-svn-id: trunk@47461 -
2020-11-19 23:05:25 +00:00
Károly Balogh
84e1be805c
qlunits: updated QDOS unit, added a QLfloat unit to convert longints and doubles to 48bit QLfloats, added a rotating cube example
...
git-svn-id: trunk@47456 -
2020-11-19 05:08:12 +00:00
nickysn
a552fc6d94
+ fcl_sound wav reader tests: added stereo .wav file tests
...
git-svn-id: trunk@47454 -
2020-11-19 03:26:37 +00:00
Károly Balogh
9d67adcbb6
* regenerated all Makefiles after Sinclair QL support was added
...
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
nickysn
188054d9b4
+ also check the actual PCM wave data in the fcl-sound wavreader test
...
git-svn-id: trunk@47452 -
2020-11-19 02:56:49 +00:00
nickysn
509821260e
* synchronized with trunk
...
git-svn-id: branches/wasm@47448 -
2020-11-19 01:12:38 +00:00
nickysn
bed8b8bfd3
+ created some tests for fcl-sound
...
git-svn-id: trunk@47447 -
2020-11-19 01:10:36 +00:00
florian
103b44cf2b
* made Compiler Options window large enough to show all CPUs
...
+ project file for IDE targetting arm
* write binary to bin/<full target>/fp
git-svn-id: trunk@47446 -
2020-11-18 21:19:14 +00:00
florian
6380df9b42
* correctly simplify tree transforms of (a+c1+c2) if a is a pointer, resolves #37671
...
git-svn-id: trunk@47437 -
2020-11-16 21:47:19 +00:00
florian
878f6d9ce4
* allow generic parameters as iterator variable in for in loops, resolves #38050
...
git-svn-id: trunk@47425 -
2020-11-15 19:10:34 +00:00
svenbarth
3d2ee097b5
* fix for Mantis #38083 : ensure that the sp_generic_dummy flag is set correctly on the new procsym when replacing a dummy sym
...
+ added test
git-svn-id: trunk@47424 -
2020-11-15 16:27:26 +00:00
florian
089e13396a
* ensure that changed compiler options do not cause values
...
ending up in registers which cannot be hold in registers
git-svn-id: trunk@47415 -
2020-11-14 18:40:58 +00:00
florian
bf7961a901
* fixes for nasm writer, resolves #38074
...
+ test
git-svn-id: trunk@47413 -
2020-11-13 21:39:16 +00:00
Károly Balogh
27125b760e
qlunits: package skeleton to support the Sinclair QL
...
git-svn-id: trunk@47385 -
2020-11-11 00:00:39 +00:00
nickysn
93ecf5f155
* synchronized with trunk
...
git-svn-id: branches/wasm@47357 -
2020-11-09 00:06:32 +00:00
Jonas Maebe
091b0fde0c
* fixed type of size parameter passed to fpc_getmem() when translating
...
new(pointer) (mantis #38054 )
git-svn-id: trunk@47355 -
2020-11-08 22:42:38 +00:00
svenbarth
c496b609d1
* fix for Mantis #38051 : make Chr() a real intrinsics so that it can be used in type declarations as well
...
+ added test
git-svn-id: trunk@47353 -
2020-11-08 22:23:02 +00:00
Károly Balogh
c8d18f5ac6
sinclairql: implemented some OS trap wrappers, to be used by the RTL
...
git-svn-id: trunk@47348 -
2020-11-08 20:43:01 +00:00
nickysn
d3d51d2f7e
* synchronized with trunk
...
git-svn-id: branches/wasm@47338 -
2020-11-07 22:40:43 +00:00
Jonas Maebe
49fbe53cf3
+ test for mantis #36381 (seems already fixed)
...
git-svn-id: trunk@47337 -
2020-11-07 16:09:51 +00:00
ondrej
691fb2c9fe
* add unix timezone test
...
git-svn-id: trunk@47322 -
2020-11-05 12:53:51 +00:00
Károly Balogh
18f364a497
+ RTL skeleton for the Sinclair QL
...
git-svn-id: trunk@47310 -
2020-11-04 15:59:50 +00:00
Károly Balogh
519701960c
m68k: initial commit to add the Sinclair QL as a compiler target
...
git-svn-id: trunk@47307 -
2020-11-04 14:20:28 +00:00
florian
0bf1af08c4
+ test for #38022
...
git-svn-id: trunk@47304 -
2020-11-03 21:44:57 +00:00
Jonas Maebe
38a059f039
* give an error when trying to define a macro/compiler variable with
...
an empty name
git-svn-id: trunk@47300 -
2020-11-03 21:34:19 +00:00
ondrej
9b5d2322b6
Fix tepoch1 test
...
git-svn-id: trunk@47297 -
2020-11-03 20:15:04 +00:00
florian
1266afc0d0
* in equal_genfunc_paradefs take care of the fact that typesym might not be assigned for open array parameters, resolves #38012
...
git-svn-id: trunk@47253 -
2020-10-29 21:00:03 +00:00
nickysn
48b81da877
* synchronized with trunk
...
git-svn-id: branches/wasm@47249 -
2020-10-29 10:49:36 +00:00
florian
dfaee4f04b
* patch by Jan Bruns to solve an issue with the new overloading selection code, resolves #37969
...
git-svn-id: trunk@47211 -
2020-10-26 20:58:24 +00:00
yury
438bba76b9
+ Added a test for: When {$mode delphi} and {$modeswitch nestedprocvars} it is allowed to assign a nested routine which does not use parentfp to a regular procvar. And then call this procvar without any side effects.
...
git-svn-id: trunk@47209 -
2020-10-26 17:53:40 +00:00
nickysn
6899e07cd7
* synchronized with trunk
...
git-svn-id: branches/wasm@47156 -
2020-10-23 00:41:20 +00:00
florian
4afa4a73c6
+ ISO mode: accept put/get without parameter, works on Input/Output respectively, resolves #37949
...
git-svn-id: trunk@47147 -
2020-10-20 21:03:51 +00:00
Jonas Maebe
099134b545
* fix try_make_mul32to64() if it's called with a constant node on the
...
left (mantis #37878 )
o can happen if use_generic_mul32to64 returns false
git-svn-id: trunk@47142 -
2020-10-19 19:10:16 +00:00