mattias
533d8a7752
fcl-css: :is(a,b)
2022-09-18 20:54:16 +02:00
mattias
6d104459e2
fcl-css: :is :where, nth-child of
2022-09-18 20:54:16 +02:00
J. Gareth "Curious Kit" Moreton
e7218d09fb
* x86: New MovShr/Sar2Movx optimisation
2022-09-18 14:06:18 +00:00
florian
3963a30f9e
* prettier exception message, resolves #39909
2022-09-18 15:50:55 +02:00
Sven/Sarah Barth
c8fee69345
* fix #39907 : only load system class types from units that are marked as a System unit
...
+ added test
2022-09-18 15:41:33 +02:00
Sven/Sarah Barth
7b09eee02a
* mark units compiled with cs_compilesystem with a corresponding flag
2022-09-18 15:41:33 +02:00
Pierre Muller
aca84a8128
Add /usr/lib64 and /lib64 to default library path list for sparc linux
2022-09-18 14:02:40 +02:00
florian
168016b865
* patch by Rika: Use linear file list in FInput.TInputFileManager instead of linked, resolves #39880
2022-09-17 22:46:57 +02:00
J. Gareth "Curious Kit" Moreton
b872322678
* x86: New "shr %cl; shr x" swap optimisation
2022-09-16 16:57:55 +00:00
J. Gareth "Curious Kit" Moreton
6757bf3832
* x86: New SHR-based optimisations
2022-09-16 16:57:55 +00:00
Sven/Sarah Barth
e21186cac0
* fix #39902 : in case of mode ObjFPC function pointers passed to parameters need to be checked for the correct procdef as well
...
+ added adjusted/extended test
2022-09-16 16:20:42 +02:00
Sven/Sarah Barth
13fb30c52e
* fix #39902 : correctly handle assignment of procvars to properties with a field write accessor
...
+ added adjusted/extended test
2022-09-16 16:20:42 +02:00
Jonas Maebe
68253e2a73
Missing file from b26703feaa
2022-09-16 15:22:05 +02:00
Sven/Sarah Barth
d1d0afe337
* handle_calling_convention is only needed for a function reference used in a record/class/object when it's an anonymous one
2022-09-16 14:32:25 +02:00
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