Commit Graph

66038 Commits

Author SHA1 Message Date
Sven/Sarah Barth
c43f671baa * check whether the hdef is still a procvardef before accessing it as such 2022-09-16 14:31:57 +02:00
Jonas Maebe
b0e1867b4c symcreat: support for scanner/parser escape sequences
Support escape sequences when parsing internally generated code. Used for now
to force interpreting certain identifiers as unit/namespace identifiers.
2022-09-16 11:21:05 +02:00
Jonas Maebe
e746cf96da Overload selection: call procvars if result is compatible with parameter
Previously we only autmatically called procvars without parameters in TP/Delphi
modes if their result type was equal to the parameter type to which they were
passed. Resolves #39748.
2022-09-16 11:21:05 +02:00
Jonas Maebe
136022a7b2 objc: stop generating coalesced sections
When targeting >= Mac OS X 10.6, don't generate coalesced sections anymore
because they are deprecated. Resolves #39818
2022-09-16 11:21:05 +02:00
Jonas Maebe
df3a0af7e0 objc: use compile-time macOS version checks
Use "modern" APIs for calling inherited messages when targeting Mac OS X 10.6
or later
2022-09-16 11:21:05 +02:00
Jonas Maebe
b26703feaa Darwin version comparisons: factored out into object
Use numeric instead of string comparisons
2022-09-16 11:21:05 +02:00
Jonas Maebe
657b9a6203 LLVM: support for -Sv (manual vector usage)
Override register type for vectors to "integer registers" because we don't
use mmregister on LLVM (they're all virtual, so it doesn't matter)
2022-09-16 11:21:05 +02:00
Jonas Maebe
f51798e449 High level codegen: set MM register type for vectors 2022-09-16 11:21:05 +02:00
Jonas Maebe
a6c7ed5e61 vector support: use vector result types
Set the result of a vector add node to a vector type.

Ensure that that these vector types are still asignment-compatible with
regular array types (may want to change this when we expose vector types),
and don't remove type conversions from vector types to array types (so the
code generator pass can still rely on the resultdef being a vector type)
2022-09-16 11:21:04 +02:00
Jonas Maebe
cb96acefc9 vector support: check supported type during parsing already
Avoids internalerrors at the code generation stage when using an unsupported
type
2022-09-16 11:21:04 +02:00
Sven/Sarah Barth
62a57bf82e * fix #39903: correctly parse anonymous function references in records (and classes/objects)
+ added test
2022-09-15 22:57:05 +02:00
mattias
abed465c08 fcl-css: fixed skipping invalid, skip utf8bom, nth-child 2022-09-15 16:01:23 +02:00
mattias
18a2269622 fcl-base: fixed local names 2022-09-15 10:52:41 +02:00
mattias
8a6ee0055a fcl-css: started skipping invalid selectors 2022-09-15 10:52:25 +02:00
florian
f562a8d9fd * hopefully final fix after 9848349610 2022-09-14 22:34:50 +02:00
mattias
6a0e8feeba fcl-css: fixed compile 2022-09-14 21:49:39 +02:00
mattias
9156d10257 fcl-css: test 2022-09-14 21:44:18 +02:00
mattias
1137322634 fcl-css: started calls 2022-09-14 20:00:00 +02:00
mattias
843ef82002 fcl-css: attribute value integer 2022-09-14 17:05:16 +02:00
mattias
a9fb193b1c fcl-css: descendant combinator 2022-09-14 17:05:16 +02:00
mattias
0c4d61b3de fcl-css: added two char tokens, parse descendant combinator as binary op 2022-09-14 17:05:16 +02:00
florian
cc7d67d08c * i8086 compiler fixed after 9848349610 2022-09-13 22:30:52 +02:00
florian
9848349610 * allocate registers correctly for method pointers on 16 bit address cpus, resolves #39603 2022-09-12 23:08:34 +02:00
mattias
d4a7431938 fcl-css: test inline style 2022-09-12 22:19:31 +02:00
mattias
02f41731eb pastojs: fixed concat array of record and static array 2022-09-12 22:18:24 +02:00
mattias
eff489a37a webidl: fixed compile with fpc 3.2.2 2022-09-12 10:56:48 +02:00
mattias
a429b47436 pastojs: added const 2022-09-12 10:12:12 +02:00
mattias
7ce609e721 fcl-css: empty and class 2022-09-12 10:10:26 +02:00
mattias
a6dd77e32a fcl-css: fixed ~= searching only words separated by whitespace 2022-09-11 23:48:04 +02:00
mattias
3e9fd9073f fcl-css: resolver: invalid selectors 2022-09-11 23:16:22 +02:00
florian
e024fdc5d7 * cleanup 2022-09-11 22:43:07 +02:00
mattias
c3d0d3edd3 fcl-css: tests for :first-of-type, :last-of-type 2022-09-11 22:13:36 +02:00
mattias
db499b61c0 fcl-css: resolver: :root 2022-09-11 21:44:07 +02:00
mattias
b33ae75c59 fcl-css: attribute selector operations 2022-09-11 00:47:45 +02:00
J. Gareth "Curious Kit" Moreton
6cbb3d982d * x86: Added SARX to BMI2 code generator 2022-09-10 19:10:55 +00:00
J. Gareth "Curious Kit" Moreton
83969d3ba3 * x86: Added BEXTR and BZHI to special spilling rules since they follow the same format as SHRX etc. 2022-09-10 19:10:55 +00:00
mattias
e9c278b9f1 fpdoc: fixed ElementType, issue 39887 2022-09-10 16:22:11 +02:00
mattias
a23a4805f4 fcl-css: resolver: has attribute check 2022-09-10 15:56:38 +02:00
mattias
a6afacd633 fcl-css: resolver: adjacent and general sibling combinator 2022-09-10 13:40:23 +02:00
mattias
a2c518285c fcl-css: selector child combinator 2022-09-10 12:53:03 +02:00
mattias
a7e983b08a fcl-css: updated fpmake 2022-09-09 23:26:06 +02:00
mattias
2d1510e067 fcl-css: started TCSSResolver 2022-09-09 23:21:50 +02:00
mattias
23098d049d fcl-css: fixed mode 2022-09-09 23:21:50 +02:00
mattias
72466cac46 fcl-css: TCSSIntegerElement.GetAsString: append units 2022-09-09 23:21:50 +02:00
J. Gareth "Curious Kit" Moreton
63a2395e2c * x86: Made a check for BMI2 more explicit in the integer division code generator 2022-09-09 21:02:29 +00:00
mattias
754a3749ce fcl-css: TCSSString 2022-09-09 13:44:00 +02:00
mattias
d8d5087782 fcl-css: TCSSString 2022-09-09 13:40:52 +02:00
mattias
de586e55c0 fcl-css: added GetCSSPath 2022-09-08 14:59:38 +02:00
mattias
a40a3ee34d fcl-csss: comment 2022-09-08 14:37:47 +02:00
mattias
e244c7bbb2 fcl-css: added TCSSElement.Parent 2022-09-08 14:37:47 +02:00