Commit Graph

55347 Commits

Author SHA1 Message Date
Mattias Gaertner
f7ec0fd104 pastojs: fixed writing map file when OnWriteJS handler returns true
git-svn-id: trunk@47714 -
(cherry picked from commit 18919b774d)
2021-08-16 17:06:34 +02:00
Mattias Gaertner
fc0bd29585 pastojs: on handled error set LastErrorClass empty
git-svn-id: trunk@47713 -
(cherry picked from commit dbdd90a989)
2021-08-16 17:06:33 +02:00
Mattias Gaertner
dcb33a61a7 pastojs: catch load file exceptions and turn into regular errors
git-svn-id: trunk@47712 -
(cherry picked from commit e25848ab32)
2021-08-16 17:06:33 +02:00
michael
b6c3e42bfa * Partially resolved ID 38141 : better handling of class hierarchy and cross-package links
(cherry picked from commit 9fc390877e)

# Conflicts:
#	utils/fpdoc/fpdoc.lpi
2021-08-16 17:06:28 +02:00
Mattias Gaertner
8e0b4e307a pastojs: filer: restore method decl SelfArg
git-svn-id: trunk@47706 -
(cherry picked from commit 54627fe1e7)
2021-08-16 17:05:25 +02:00
Mattias Gaertner
6f3340df78 fcl-passrc: fixed calling type helper method when unit implementation is not yet read
git-svn-id: trunk@47705 -
(cherry picked from commit bf5a2a46de)
2021-08-16 17:05:25 +02:00
Mattias Gaertner
3991326d6b pastojs: filer: record values
git-svn-id: trunk@47684 -
(cherry picked from commit 0be298802b)
2021-08-16 17:05:25 +02:00
Mattias Gaertner
26c99a7ac4 pastojs: filer: fixed checking signature in interface used unit referenced by implementation and needing indirect implementation unit
git-svn-id: trunk@47682 -
(cherry picked from commit d1cfb15a2a)
2021-08-16 17:05:25 +02:00
Mattias Gaertner
3ef2fe2321 pastojs: filer skip not fully specialized
git-svn-id: trunk@47679 -
(cherry picked from commit b90504a458)
2021-08-16 17:05:24 +02:00
Mattias Gaertner
717a973681 pastojs: filer: fixed specialize A<B<C>>
git-svn-id: trunk@47677 -
(cherry picked from commit 988b67ae71)
2021-08-16 17:05:24 +02:00
Mattias Gaertner
a5adf3fcbd fcl-passrc: resolver: fixed specialize name of A<B<C>>
git-svn-id: trunk@47676 -
(cherry picked from commit 055cfa28b7)
2021-08-16 17:05:24 +02:00
Mattias Gaertner
381f6f7f23 pastojs: filer: fixed restoring overload names of specialized methods
git-svn-id: trunk@47674 -
(cherry picked from commit 0eac775cea)
2021-08-16 17:05:24 +02:00
Mattias Gaertner
9459aabb51 pastojs: filer: read inline specialize expr
git-svn-id: trunk@47673 -
(cherry picked from commit 7b223eafe1)
2021-08-16 17:05:23 +02:00
Mattias Gaertner
4b88379e1e pastojs: filer: skip generic references to generic types
git-svn-id: trunk@47672 -
(cherry picked from commit e2fb9a43b4)
2021-08-16 17:04:57 +02:00
Mattias Gaertner
8c7cb59f90 pastojs: fixed specialize impl procs
git-svn-id: trunk@47670 -
(cherry picked from commit e17365b12a)
2021-08-16 17:04:57 +02:00
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