Commit Graph

120 Commits

Author SHA1 Message Date
mattias
1066a0dbfd pas2js: createSafeCallback: return null for null 2023-05-13 11:24:38 +02:00
Henrique Gottardi Werlang
2bf377744a Changed the interface creation to keep the generic name of an interface. 2022-09-23 23:14:17 +00:00
mattias
02f41731eb pastojs: fixed concat array of record and static array 2022-09-12 22:18:24 +02:00
mattias
e1312deafe pas2js: fixed array push records/sets 2022-07-29 13:24:22 +02:00
mattias
f26725e70c pas2js: fixed rtl.arrayPush copy instead of reference 2022-06-21 09:08:28 +02:00
Michaël Van Canneyt
b16ce8806b * Fix arrayPush 2022-06-18 14:49:10 +02:00
mattias
1e3c5865de pastojs: fixed concat append for nil and referenced array 2022-06-10 23:12:30 +02:00
mattias
d3a2145e5a pastojs: faster AnArray:=Concat(AnArray,...) 2022-06-10 18:46:18 +02:00
mattias
cba89a4713 pas2js: faster arrayConcatN 2022-06-10 16:32:52 +02:00
mattias
2dd072a492 pastojs: started array of interface 2022-06-10 15:48:21 +02:00
mattias
acc590ac07 pastojs: set version to 2.3.1 2022-02-19 11:34:52 +01:00
Michaël Van Canneyt
6dd5b63e2d * Shorter version of libimports 2022-02-05 16:58:08 +01:00
Michaël Van Canneyt
bf86e57cfe * Need pas.$libimports 2022-02-05 16:17:39 +01:00
mattias
a70d33ff00 pas2js: fixed init external class RTTI 2022-02-01 10:20:35 +01:00
Michaël Van Canneyt
e6fe075a42 * Patch from Henrique Werlan, correctly fetch RTTI info for external classes (pas2js issue 38943) 2021-12-21 15:11:17 +01:00
mattias
0aecf4d89f pastojs: library: create and call main 2021-10-20 11:32:54 +02:00
mattias
a0c0a8fa8c pas2js: fixed rtl.tTypeMemberProperty 2021-09-22 13:10:05 +02:00
mattias
781da5e60d pas2js: nil typeinfo Module, Attr and params 2021-09-21 12:21:42 +02:00
mattias
6c4198fdf3 pas2js: fixed typeinfo procvar resulttype nil 2021-09-14 10:53:12 +03:00
Michaël Van Canneyt
c27823568a * libimports added 2021-09-11 18:01:42 +02:00
Michaël Van Canneyt
40dc7380dc * Correct precisions 2021-09-01 22:43:47 +02:00
Mattias Gaertner
aa03991088 pastojs: fixed classmethod pointer
git-svn-id: trunk@49333 -
2021-05-03 19:32:52 +00:00
Mattias Gaertner
f5d138eb08 pastojs: createCallback: store events in $events to create unique method pointers, issue #38845
git-svn-id: trunk@49331 -
2021-05-03 18:52:49 +00:00
Mattias Gaertner
2d296fd879 pastojs: fixed rtti method flags
git-svn-id: trunk@49268 -
2021-04-26 21:02:43 +00:00
Mattias Gaertner
b64d1f9dfd pastojs: fixed insert array
git-svn-id: trunk@49209 -
2021-04-15 21:05:08 +00:00
Mattias Gaertner
97fd8638d5 pastojs: fixed insert(item,array,pos) when array=nil
git-svn-id: trunk@49073 -
2021-03-28 19:19:32 +00:00
Mattias Gaertner
25fd38b2da pastojs: fixed o as intftype, when o is nil
git-svn-id: trunk@48188 -
2021-01-19 09:42:56 +00:00
Mattias Gaertner
c21e777c85 pastojs: fixed freeing temp intf var if nil
git-svn-id: trunk@48155 -
2021-01-14 12:30:57 +00:00
Mattias Gaertner
2bb083acf1 pastojs: set version 2.1.1
git-svn-id: trunk@47320 -
2020-11-05 10:35:09 +00:00
Mattias Gaertner
b52744bcbf pastojs: fixed a div b<0
git-svn-id: trunk@47212 -
2020-10-26 21:23:34 +00:00
Mattias Gaertner
a66b6cd7c7 pastojs: classname=typeinfoname
git-svn-id: trunk@46986 -
2020-09-28 09:39:24 +00:00
Mattias Gaertner
54f08ea60f pastojs: set $ancestor of pascal descending of external class to null
git-svn-id: trunk@46926 -
2020-09-23 14:30:39 +00:00
Mattias Gaertner
aae5c452cb pastojs: fixed impl rtti
git-svn-id: trunk@46817 -
2020-09-09 20:32:01 +00:00
Mattias Gaertner
02c72dd5c4 pastojs: moved unit implementation js function into unit interface to share local vars
git-svn-id: trunk@46816 -
2020-09-09 19:56:43 +00:00
Mattias Gaertner
342771c0c7 pastojs: fixed create pascal class descendent from a pascal class descendent of a JS function
git-svn-id: trunk@46807 -
2020-09-09 11:24:56 +00:00
Mattias Gaertner
2f661371fe pastojs: specialize class/record type using pascal name
git-svn-id: trunk@46795 -
2020-09-07 17:21:15 +00:00
Mattias Gaertner
4db51d69e4 pastojs: delay RTTI init of record/class/proctype specializations
git-svn-id: trunk@46748 -
2020-09-02 12:42:55 +00:00
Mattias Gaertner
6a0ea119e9 pastojs: fixed concat(a) calling arrayRef
git-svn-id: trunk@46745 -
2020-09-01 22:01:52 +00:00
michael
6f979c9278 * Fix again 37656
git-svn-id: trunk@46741 -
2020-09-01 18:35:41 +00:00
Mattias Gaertner
37eb8c02f5 pastojs: clean up, comments
git-svn-id: trunk@46724 -
2020-08-28 17:23:54 +00:00
michael
13490e1af5 * Patch from Henrique Werlang to fix array concatenation (Bug ID 37656)
git-svn-id: trunk@46723 -
2020-08-28 17:11:12 +00:00
Mattias Gaertner
93cca1ac91 pastojs: clean up
git-svn-id: trunk@46273 -
2020-08-05 19:54:42 +00:00
Mattias Gaertner
68a3e33cac pastojs: fixed arraySetLength shrink
git-svn-id: trunk@46272 -
2020-08-05 19:53:11 +00:00
Mattias Gaertner
dbc0a689f0 pas2js: Pascal descendent from JS function: inherited calls ancestor function
git-svn-id: trunk@45709 -
2020-06-28 16:18:26 +00:00
Mattias Gaertner
1adf6c9428 pas2js: descend pascal class from jsfunction
git-svn-id: trunk@45701 -
2020-06-27 07:15:23 +00:00
Mattias Gaertner
8d2e9b2f75 pas2js: descend pascal class from jsfunction
git-svn-id: trunk@45700 -
2020-06-27 07:02:42 +00:00
Mattias Gaertner
bbd0dc3726 pas2js: extend external: class function NewInstance: check $class and set pascal class properties
git-svn-id: trunk@45697 -
2020-06-26 16:54:16 +00:00
Mattias Gaertner
f26afe4a6a pas2js: started delayed specialize
git-svn-id: trunk@45640 -
2020-06-12 19:54:55 +00:00
Mattias Gaertner
469993a0cc pas2js: started aliasglobals
git-svn-id: trunk@45611 -
2020-06-07 18:17:22 +00:00
michael
0fd06ded8d * Reverse onUncaughtException result
git-svn-id: trunk@45414 -
2020-05-18 07:40:09 +00:00