Commit Graph

55232 Commits

Author SHA1 Message Date
Mattias Gaertner
75b634ca3c fcl-passrc: resolver: use declproc signature
git-svn-id: trunk@47669 -
(cherry picked from commit c1496a266e)
2021-08-16 17:04:57 +02:00
Mattias Gaertner
6c18f3f4bd pas2js: filer: fixed storing reference to await and debugger
git-svn-id: trunk@47666 -
(cherry picked from commit 01766a3ff7)
2021-08-16 17:04:56 +02:00
Mattias Gaertner
520502abeb pastojs: delayed inits only for fully specialized types
git-svn-id: trunk@47665 -
(cherry picked from commit 1c1e994ffc)
2021-08-16 17:04:56 +02:00
Mattias Gaertner
f4aca292c1 pastojs: shortrefglobals: unit initialization and empty implementation
git-svn-id: trunk@47649 -
(cherry picked from commit fc0b513c3a)
2021-08-16 17:04:56 +02:00
Mattias Gaertner
67c9261777 pastojs: filer: add identifiers to scope for immediate specializations of TPasSpecializeType
git-svn-id: trunk@47639 -
(cherry picked from commit 05065e1d86)
2021-08-16 17:04:56 +02:00
Mattias Gaertner
0eb473d8d5 fcl-passrc: resolver: error on using generic types without params
git-svn-id: trunk@47627 -
(cherry picked from commit 8431584251)
2021-08-16 17:04:56 +02:00
Mattias Gaertner
3ee0f47990 pastojs: fixed test TestExternalClass_SameNamePublishedProperty
git-svn-id: trunk@47617 -
(cherry picked from commit 150e78c56a)
2021-08-16 17:04:55 +02:00
Mattias Gaertner
90031dcfa7 pastojs: fixed -OoShortRefGlobals
git-svn-id: trunk@47616 -
(cherry picked from commit fc04a83ff5)
2021-08-16 17:04:55 +02:00
Mattias Gaertner
e61f1873fe pastojs: fixed typeinfo path of inline specialize type
git-svn-id: trunk@47614 -
(cherry picked from commit 3808d9c7b6)
2021-08-16 17:04:55 +02:00
Mattias Gaertner
4f9d772dfd pastojs: fixed crash when parser error in inline specialize expression
git-svn-id: trunk@47613 -
(cherry picked from commit f858ee6355)
2021-08-16 17:04:54 +02:00
michael
8647d8b45e * Some fixes in fpdoc generation
git-svn-id: trunk@47610 -
(cherry picked from commit c7383e54cf)
2021-08-16 17:04:54 +02:00
Mattias Gaertner
1fb839f9a7 pastojs: filer: fixed testsuite using shortrefglobals for all tests, added FormData js keyword, fixed shortrefglobals new/free instance fields
git-svn-id: trunk@47609 -
(cherry picked from commit e1dd6fd932)
2021-08-16 17:04:54 +02:00
svenbarth
91b6e8b9e9 * the "otherwise" clause is in fact allowed in ISO Extended Pascal (see 6.1.2 and 6.9.3.5 of ISO 10206)
git-svn-id: trunk@47596 -
(cherry picked from commit 3d7c9690e0)
2021-08-16 17:04:54 +02:00
svenbarth
0578662cc9 * name of the mode for ISO Extended Pascal is ExtendedPascal, not Extended
git-svn-id: trunk@47595 -
(cherry picked from commit 5ce84538a4)
2021-08-16 17:04:54 +02:00
michael
57758b7645 * Fix compilation after class tree changes
git-svn-id: trunk@47540 -
(cherry picked from commit 0323f0b07d)
2021-08-16 17:04:54 +02:00
michael
d8fe04da4b * Improved class tree building
git-svn-id: trunk@47537 -
(cherry picked from commit f1aca7f877)
2021-08-16 17:04:53 +02:00
Mattias Gaertner
068487160c fcl-passrc: fixed tests
git-svn-id: trunk@47515 -
(cherry picked from commit bb3d472251)
2021-08-16 17:04:53 +02:00
Mattias Gaertner
69bc1a1540 undo
git-svn-id: trunk@47514 -
(cherry picked from commit 0f391f5e1a)
2021-08-16 17:04:53 +02:00
Mattias Gaertner
3a43373fb6 fcl-passrc: fixed tests
git-svn-id: trunk@47513 -
(cherry picked from commit b8d5e9c8d2)
2021-08-16 17:04:53 +02:00
Mattias Gaertner
4bdb94477d fcl-passrc: fixed tests TTestProcedureFunction
git-svn-id: trunk@47512 -
(cherry picked from commit 58bbf7e265)
2021-08-16 17:04:53 +02:00
michael
1a048ab8a1 No advanced records
git-svn-id: trunk@47511 -
(cherry picked from commit 132186a5aa)
2021-08-16 17:04:53 +02:00
michael
373721ee36 * Advanced records structure changed, fixed fpdoc
git-svn-id: trunk@47510 -
(cherry picked from commit 5354cf2a61)
2021-08-16 17:04:52 +02:00
michael
af1bb99fe8 * Empty sections in advanced records
git-svn-id: trunk@47509 -
(cherry picked from commit 713d6a0649)
2021-08-16 17:04:52 +02:00
michael
e0cc112e09 * Changed customization method texts
git-svn-id: trunk@47504 -
(cherry picked from commit b00450437b)
2021-08-16 17:04:52 +02:00
michael
c2ae189e08 * More customization methods
git-svn-id: trunk@47503 -
(cherry picked from commit a65ad26bca)
2021-08-16 17:04:52 +02:00
michael
405cda03a3 * Test for cascaded types
git-svn-id: trunk@47502 -
(cherry picked from commit ce40a219ba)
2021-08-16 17:04:52 +02:00
michael
dd8f3f2bb1 * Fix FItems: ^TArray<A>;
git-svn-id: trunk@47501 -
(cherry picked from commit 988cd7235c)
2021-08-16 17:04:51 +02:00
michael
6cd077060a * Fix far test
git-svn-id: trunk@47500 -
(cherry picked from commit 5c18d04732)
2021-08-16 17:04:51 +02:00
michael
9413d2c5d1 * far is a procedure type modifier, can appear in type defs
git-svn-id: trunk@47499 -
(cherry picked from commit 215dab8c8a)
2021-08-16 17:04:51 +02:00
michael
a0db717adf * Fix hex number evaluation in conditional expressions
git-svn-id: trunk@47498 -
(cherry picked from commit 37b827c6a0)
2021-08-16 17:04:51 +02:00
michael
3b85a6f555 * Absolute is allowed as variable/type/const name
git-svn-id: trunk@47497 -
(cherry picked from commit f8eac112d1)
2021-08-16 17:04:51 +02:00
michael
388ffe420e * Last field before end does not need a semicolon
git-svn-id: trunk@47496 -
(cherry picked from commit 185048c631)
2021-08-16 17:04:51 +02:00
michael
adb4af12a0 * absolute can also take address on some platforms
git-svn-id: trunk@47495 -
(cherry picked from commit bd571fdd31)
2021-08-16 17:04:50 +02:00
michael
dba6a67546 * Fix generics >=Class and type ^File and external vars
git-svn-id: trunk@47494 -
(cherry picked from commit 6ee3d6064f)
2021-08-16 17:04:50 +02:00
Mattias Gaertner
a5886eee00 pastojs: fixed search include file mode objfpc in dir of current include file
git-svn-id: trunk@47493 -
(cherry picked from commit 45e2c837b8)
2021-08-16 17:04:50 +02:00
Mattias Gaertner
dceaa374c9 fcl-passrc: fixed search include file mode objfpc in dir of current include file
git-svn-id: trunk@47492 -
(cherry picked from commit 909d34e1eb)
2021-08-16 17:04:50 +02:00
michael
0a1971bcc7 * test for missing semicolon after fields in class declaration
git-svn-id: trunk@47487 -
(cherry picked from commit 81344a6f5c)
2021-08-16 17:04:50 +02:00
Mattias Gaertner
ba70c3c82a fcl-passrc: clean up
git-svn-id: trunk@47482 -
(cherry picked from commit 95addf15ce)
2021-08-16 17:04:50 +02:00
michael
1221b3335f * objcprotocol can have multiple parents
git-svn-id: trunk@47480 -
(cherry picked from commit ebb1d78ced)
2021-08-16 17:04:49 +02:00
michael
fdc426a7d4 * Protocol can also be external
git-svn-id: trunk@47479 -
(cherry picked from commit 319c00b832)
2021-08-16 17:04:49 +02:00
michael
505ed9a2b1 * Consoledevice
git-svn-id: trunk@47478 -
(cherry picked from commit 9d4a1d1ac5)
2021-08-16 17:04:49 +02:00
michael
a477c98e32 * More base address fixes
git-svn-id: trunk@47477 -
(cherry picked from commit be4d0be10c)
2021-08-16 17:04:49 +02:00
michael
190414efc3 * More syscall fixes
git-svn-id: trunk@47476 -
(cherry picked from commit 60ecdb00ae)
2021-08-16 17:04:49 +02:00
michael
bfe7410614 * Fix compilation, new visibility sections
git-svn-id: trunk@47473 -
(cherry picked from commit 8de1e91f4b)
2021-08-16 17:04:49 +02:00
michael
b950340ebb * Added new visibility sections for objcprotocol
git-svn-id: trunk@47472 -
(cherry picked from commit 08ab526a10)
2021-08-16 17:04:48 +02:00
michael
469dff01f1 * Fix syscall calling convention parsing
git-svn-id: trunk@47471 -
(cherry picked from commit cf68d1f965)
2021-08-16 17:04:48 +02:00
Mattias Gaertner
e222f55fd9 pastojs: async modifier not needed in impl proc
git-svn-id: trunk@47470 -
(cherry picked from commit 3ef12409c9)
2021-08-16 17:04:48 +02:00
michael
b06e9fcbaa * Allow optional/required sections in objcprotocol classes
git-svn-id: trunk@47469 -
(cherry picked from commit 873354beaa)
2021-08-16 17:04:48 +02:00
michael
15d928ab5d * Includefile also must set basename
git-svn-id: trunk@47468 -
(cherry picked from commit ec4df539c3)
2021-08-16 17:04:47 +02:00
Mattias Gaertner
fed344ecb8 pastojs: check await(T,callasyncfunc) type match
git-svn-id: trunk@47462 -
(cherry picked from commit a38da538af)
2021-08-16 17:04:47 +02:00