Commit Graph

55090 Commits

Author SHA1 Message Date
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
yury
96710e3168 * Moved the tregistry2.pp test from packages to tests in order it to be run by daily test runs. tregistry2 has been failing for years and nobody has noticed this.
git-svn-id: trunk@48204 -
(cherry picked from commit a29bfe5505)

# Conflicts:
#	.gitattributes
#	packages/fcl-registry/tests/testbasics.pp
2021-08-15 13:29:46 +02:00
michael
e005d72307 * Added stringlist and int64 tests
git-svn-id: trunk@41815 -
(cherry picked from commit d13f0c3f80)
2021-08-15 13:28:08 +02:00
yury
84103be6e6 * Extended the tregistry2 test.
git-svn-id: trunk@48203 -
(cherry picked from commit 4bf19e9d92)
2021-08-15 13:24:28 +02:00
michael
1ab0576ca7 * Apply patch from mgr.inz.Player for bug ID #36842
git-svn-id: trunk@47411 -
(cherry picked from commit 891acabe5b)
2021-08-15 13:24:11 +02:00
michael
1917617d22 * Fix bug ID #37483, correct closesection, patch by C. Western
git-svn-id: trunk@47410 -
(cherry picked from commit 88db3fb502)
2021-08-15 13:23:54 +02:00
michael
9ad319dcdf * use cwstring on non-windows
git-svn-id: trunk@41813 -
(cherry picked from commit 8daccbf4c1)
2021-08-15 13:22:49 +02:00
michael
fb92da495c * Use cwstring on non-windows
git-svn-id: trunk@41811 -
(cherry picked from commit afa9ef279e)
2021-08-15 13:22:22 +02:00
florian
6c29049923 * include also regexpr test in normal regression tests
git-svn-id: trunk@48105 -
(cherry picked from commit 63c603cf32)
2021-08-15 12:35:37 +02:00
florian
1d33fb53b1 + include package/hash in regression tests
git-svn-id: trunk@47979 -
(cherry picked from commit 9430436a24)
2021-08-15 12:35:17 +02:00
Mattias Gaertner
3512397408 pastojs: delay RTTI init of dynamic and static array specializations
git-svn-id: trunk@46749 -
(cherry picked from commit 05edd719d5)
2021-08-14 23:30:40 +02:00
Mattias Gaertner
e361a90aa8 pastojs: delay RTTI init of record/class/proctype specializations
git-svn-id: trunk@46748 -
(cherry picked from commit 4db51d69e4)
2021-08-14 23:13:35 +02:00
Don
fce62a84a8 Remove "r" from FPC revision.
(cherry picked from commit d147533c94)
2021-08-13 22:40:57 +02:00
florian
6a64fcbb06 + more helper routine to check for CPU features added
git-svn-id: trunk@45835 -
(cherry picked from commit e26e824700)
2021-08-09 23:19:20 +02:00
florian
8d6a8e5492 + support SHLX and SHRX in TX86AsmOptimizer.RegLoadedWithNewValue, resolves #39178
(cherry picked from commit 86ac03e07e)

# Conflicts:
#	.gitattributes
2021-08-09 23:12:01 +02:00
florian
6847e7bfa8 * CMOV does not read the second operand
git-svn-id: trunk@49578 -
(cherry picked from commit 9377d9a029)
2021-08-08 17:10:11 +02:00
Florian Klämpfl
ea79e6d755 * restored .gitignore to status from before conversion
(cherry picked from commit 3963e76de9)

# Conflicts:
#	.gitignore
2021-08-08 11:15:23 +02:00