Commit Graph

55206 Commits

Author SHA1 Message Date
michael
fb6d93f35f * Fix lineending being converted to LF char in comments, patch by Joe Care (Bug ID 37808)
git-svn-id: trunk@46939 -
(cherry picked from commit 409dacf52f)
2021-08-16 17:00:57 +02:00
michael
ee55ae0c7e * Fix from Joe care to implement .) as alternative for ], bug ID #37807
git-svn-id: trunk@46937 -
(cherry picked from commit 0ef66a8631)
2021-08-16 17:00:57 +02:00
joost
3e2f94112a * TPasParser.ParseAdhocExpression implemented + test
git-svn-id: trunk@46933 -
(cherry picked from commit 69b1d61a76)
2021-08-16 17:00:57 +02:00
Mattias Gaertner
0edffab994 pastojs: fixed spezialize other unit generic with param in unit intf of spezialize, issue #37762
git-svn-id: trunk@46930 -
(cherry picked from commit 5cde0fc1e2)
2021-08-16 17:00:57 +02:00
Mattias Gaertner
8822b4f881 pastojs: docs
git-svn-id: trunk@46929 -
(cherry picked from commit 135f3745d6)
2021-08-16 17:00:57 +02:00
Mattias Gaertner
6bbbcebd1e pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46928 -
(cherry picked from commit cf4ca3a280)
2021-08-16 17:00:56 +02:00
Mattias Gaertner
52869bcc05 pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46927 -
(cherry picked from commit 755773caad)
2021-08-16 17:00:56 +02:00
Mattias Gaertner
2b63b608c9 pastojs: set $ancestor of pascal descending of external class to null
git-svn-id: trunk@46926 -
(cherry picked from commit 54f08ea60f)
2021-08-16 17:00:07 +02:00
Mattias Gaertner
a7a216494c fcl-passrc: comments
git-svn-id: trunk@46919 -
(cherry picked from commit 56fbaf23da)
2021-08-16 17:00:07 +02:00
Mattias Gaertner
dd77a5e4a0 fcl-passrc: resolver: fixed inteface constraints, iisue #37624
git-svn-id: trunk@46902 -
(cherry picked from commit 85a11c8204)
2021-08-16 17:00:07 +02:00
michael
a3cb69d857 * Avoid double begin/end
git-svn-id: trunk@46889 -
(cherry picked from commit f8b5c81b8b)
2021-08-16 17:00:07 +02:00
michael
7864897a1b * Fix bug ID #0037760
git-svn-id: trunk@46884 -
(cherry picked from commit e2647ea072)
2021-08-16 17:00:06 +02:00
michael
870876aa0d * Patch from Joe Care to fix bug ID #37758 (wrong brackets for array params)
git-svn-id: trunk@46878 -
(cherry picked from commit 48c86637b4)
2021-08-16 17:00:06 +02:00
Mattias Gaertner
8b69ff1daa pastojs: jsglobalalias: references in init to elements from implementation uses
git-svn-id: trunk@46854 -
(cherry picked from commit 96cb396d56)
2021-08-16 17:00:06 +02:00
Mattias Gaertner
3a0936eb7d pastojs: jsglobalalias: references to elements from implementation uses
git-svn-id: trunk@46847 -
(cherry picked from commit af7008ee2f)
2021-08-16 17:00:06 +02:00
Mattias Gaertner
54b487bc7d fcl-passrc: added TPasResolver.ImplementationUsesUnit
git-svn-id: trunk@46846 -
(cherry picked from commit aed1866db9)
2021-08-16 17:00:06 +02:00
Mattias Gaertner
faed06b6d5 pastojs: docs updated
git-svn-id: trunk@46818 -
(cherry picked from commit edd10be1e2)
2021-08-16 17:00:05 +02:00
Mattias Gaertner
66c2056d4a pastojs: fixed impl rtti
git-svn-id: trunk@46817 -
(cherry picked from commit aae5c452cb)
2021-08-16 17:00:05 +02:00
Mattias Gaertner
89c52a049b pastojs: moved unit implementation js function into unit interface to share local vars
git-svn-id: trunk@46816 -
(cherry picked from commit 02c72dd5c4)
2021-08-16 17:00:05 +02:00
Mattias Gaertner
9f4ac3f598 fcl-passrc: fixed compile with pas2js
git-svn-id: trunk@46809 -
(cherry picked from commit 0f466cbed7)
2021-08-16 17:00:05 +02:00
Mattias Gaertner
f007cf58ba fcl-passrc: fixed compile with pas2js
git-svn-id: trunk@46808 -
(cherry picked from commit 13c10cc622)
2021-08-16 17:00:04 +02:00
Mattias Gaertner
703f23bb99 pastojs: fixed create pascal class descendent from a pascal class descendent of a JS function
git-svn-id: trunk@46807 -
(cherry picked from commit 342771c0c7)
2021-08-16 17:00:04 +02:00
Mattias Gaertner
e8efbe9464 pastojs: pass impl uses as [] instead of null
git-svn-id: trunk@46806 -
(cherry picked from commit 9d3daca70c)
2021-08-16 17:00:04 +02:00
Mattias Gaertner
7070468010 pastojs: renamed aliasglobals to jsaliasglobals
git-svn-id: trunk@46805 -
(cherry picked from commit 1d3ea62674)
2021-08-16 17:00:04 +02:00
Mattias Gaertner
469a8bc7ce pastojs: specialize procedure using pascal name
git-svn-id: trunk@46796 -
(cherry picked from commit ce9d7f9995)
2021-08-16 17:00:04 +02:00
Mattias Gaertner
edc4ef115b pastojs: specialize class/record type using pascal name
git-svn-id: trunk@46795 -
(cherry picked from commit 2f661371fe)
2021-08-16 17:00:03 +02:00
Mattias Gaertner
36492c6127 pastojs: specialize array type using pascal name
git-svn-id: trunk@46793 -
(cherry picked from commit e50916a93c)
2021-08-16 17:00:03 +02:00
Mattias Gaertner
fab6b5b8da pastojs: specialized procedure type RTTI now uses pascal name
git-svn-id: trunk@46792 -
(cherry picked from commit a577fa3e58)
2021-08-16 17:00:03 +02:00
Mattias Gaertner
9d770c8b15 pastojs: using pascal names for RTTI
git-svn-id: trunk@46791 -
(cherry picked from commit 7159e63614)
2021-08-16 17:00:03 +02:00
Mattias Gaertner
7b2d84ab42 pastojs: override specialize name
git-svn-id: trunk@46787 -
(cherry picked from commit 43aa4c6b40)
2021-08-16 17:00:02 +02:00
Mattias Gaertner
cf57cce1d3 fcl-passrc: resolver specialize name with params
git-svn-id: trunk@46786 -
(cherry picked from commit f3579bf526)
2021-08-16 17:00:02 +02:00
Mattias Gaertner
635ecabb79 pastojs: specializations: create initSpec for class/record only if typeinfo or global field exists
git-svn-id: trunk@46772 -
(cherry picked from commit c45e56bc91)
2021-08-16 17:00:02 +02:00
Mattias Gaertner
21fd01168e pastojs: specializations: create initSpec if params need it
git-svn-id: trunk@46769 -
(cherry picked from commit 6c8b0614b1)
2021-08-16 17:00:02 +02:00
Mattias Gaertner
a9ed235206 pastojs: override scope class array and proctype
git-svn-id: trunk@46768 -
(cherry picked from commit fc4c48a11c)
2021-08-16 16:58:51 +02:00
Mattias Gaertner
f5809fe667 fcl-passrc: allow override scope class array and proctype
git-svn-id: trunk@46767 -
(cherry picked from commit 9140e9414d)
2021-08-16 16:58:40 +02:00
michael
a90c221319 * Better error message for array types (bug ID 37685, patch from Henrique Werlang)
git-svn-id: trunk@46755 -
(cherry picked from commit c7628c11c6)
2021-08-16 16:52:46 +02:00
Mattias Gaertner
99c42b2751 fcl-passrc: fixed unit implementation uses namespace as unit intf identifier
git-svn-id: trunk@46751 -
(cherry picked from commit dd82f63c3f)
2021-08-16 16:52:39 +02:00
Mattias Gaertner
3ad9f84951 pastojs: delay RTTI init of dynamic and static array specializations
git-svn-id: trunk@46750 -
(cherry picked from commit 545ee82ec4)
2021-08-16 16:52:31 +02:00
Mattias Gaertner
ec44fd2dd6 pastojs: fixed concat(a) calling arrayRef
git-svn-id: trunk@46745 -
(cherry picked from commit 6a0ea119e9)
2021-08-16 16:46:07 +02:00
michael
6b9509cbb9 * Fix again 37656
git-svn-id: trunk@46741 -
(cherry picked from commit 6f979c9278)
2021-08-16 16:46:00 +02:00
Yuriy Sydorov
077acef4d4 * Instruct GitLab to use the Pascal syntax highlighter for .pp and .inc files.
(cherry picked from commit bd814c58c3)
2021-08-16 16:12:52 +02:00
michael
6c78bb2b71 Correctly handle subclasses, patch by Henrique Werlang (issue #39195)
git-svn-id: trunk@49589 -


(cherry picked from commit c7690907e7)
2021-08-15 11:57:06 +00:00
florian
b7b09276a4 + include fcl-passrc in regression tests
(cherry picked from commit 246bff92d2)
2021-08-15 13:43:30 +02:00
yury
7eef017596 * Moved the tregistry2 test back to packages and added more test OS targets.
git-svn-id: trunk@48383 -
(cherry picked from commit 7ffa963127)

# Conflicts:
#	.gitattributes
2021-08-15 13:36:29 +02:00
yury
62bad55544 * 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 -
(cherry picked from commit ddf0ce014b)

# Conflicts:
#	.gitattributes
#	packages/fcl-registry/tests/Makefile
2021-08-15 13:35:37 +02:00
yury
37bce2fcbe * Delete the test.xml file on exit.
git-svn-id: trunk@48379 -
(cherry picked from commit 31135b3890)
2021-08-15 13:33:56 +02:00
yury
794c4a3b0e * tregistry2 test: Use cwstring on unices. Perform the test only on Windows and Linux.
git-svn-id: trunk@48263 -
(cherry picked from commit d83e1a33ca)
2021-08-15 13:33:40 +02:00
yury
210830bda5 * Removed usage the Windows unit from the tregistry2 test.
git-svn-id: trunk@48226 -
(cherry picked from commit fe09efbd0e)
2021-08-15 13:33:26 +02:00
yury
324061745a * To be Delphi compatible TRegistry.DeleteKey() must delete the specified key and all its child keys.
git-svn-id: trunk@48207 -
(cherry picked from commit ffff24593d)
2021-08-15 13:31:12 +02:00
yury
bade890df5 * tregistry2 test: Delete reg.xml and the app config dir.
git-svn-id: trunk@48205 -
(cherry picked from commit 9fd0f94d7c)
2021-08-15 13:30:48 +02:00