Commit Graph

106 Commits

Author SHA1 Message Date
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
Mattias Gaertner
9a954d384a pas2js: safecall calling convention for of-object proctypes
git-svn-id: trunk@45392 -
2020-05-16 20:51:23 +00:00
michael
ce0c43c934 * Allow to hook uncaught exception handling
git-svn-id: trunk@45374 -
2020-05-16 11:52:24 +00:00
Mattias Gaertner
4afe1de02f pas2js: fixed arrayRef
git-svn-id: trunk@45335 -
2020-05-11 10:59:30 +00:00
Mattias Gaertner
cf441f6ffa pas2js: setlength dyn array of static array
git-svn-id: trunk@45315 -
2020-05-09 08:33:30 +00:00
Mattias Gaertner
14ccc191eb pas2js: arraySetLength: faster resize
git-svn-id: trunk@45297 -
2020-05-06 20:09:35 +00:00
Mattias Gaertner
86cfd866f4 pas2js: started array SetLength using resize and hidden boolean to mark referenced arrays
git-svn-id: trunk@45294 -
2020-05-06 19:13:33 +00:00
Mattias Gaertner
70ed2470dc pastojs: typeinfo for external classes
git-svn-id: trunk@43323 -
2019-10-27 20:51:31 +00:00
michael
9259c948be * Add support for resources
git-svn-id: trunk@43318 -
2019-10-27 13:14:24 +00:00
Mattias Gaertner
76b5df1bd3 pas2js: fixed setlength(a,0)
git-svn-id: trunk@43168 -
2019-10-11 22:10:42 +00:00
Mattias Gaertner
009a3435c1 pas2js: avoid use of in when enumerating uses list
git-svn-id: trunk@43051 -
2019-09-22 12:04:33 +00:00
Mattias Gaertner
9ac8abeb4e fcl-passrc: specialize non forward generic procedure
git-svn-id: trunk@43050 -
2019-09-22 12:02:04 +00:00
michael
db5620354e avoid use of in when enumerating uses list
git-svn-id: trunk@43049 -
2019-09-22 11:19:45 +00:00
Mattias Gaertner
1145d0d18a pas2js: replace setArrayLength with faster non recursive version
git-svn-id: trunk@43031 -
2019-09-18 15:34:33 +00:00
Mattias Gaertner
c3db2568ff pastojs: longword bitwise operations not, and, or, xor, shl, shr
git-svn-id: trunk@42870 -
2019-08-29 13:10:43 +00:00