Commit Graph

129 Commits

Author SHA1 Message Date
mattias
3df05fb6bb fcl-passrc: resolver: fixed typecast a(b.func) marking implicit call 2020-12-30 16:13:45 +00:00
mattias
807fddf658 pastojs: await with one param must be async function 2020-12-29 23:27:28 +00:00
mattias
8c7e8e568e fcl-passrc: separate hints for not used fields: 4501, 4502 2020-12-29 02:39:15 +00:00
mattias
56096412cb fcl-passrc: resolver: fixed resolving string lit switching to utf-16 2020-12-29 02:38:53 +00:00
mattias
0947a7b0c2 fcl-passrc: fixed implicit call of specialized method 2020-12-29 01:16:46 +00:00
mattias
26ca4e7d16 fcl-passrc: fixed parsing a(b).c<d>() 2020-12-29 00:26:24 +00:00
mattias
917aba3de2 fcl-passrc: fixed resolve string lit on non utf-8 system 2020-12-28 18:19:58 +00:00
mattias
dc85b9283f fcl-passrc: fixed typecast specialized array to specialized type 2020-12-28 16:51:25 +00:00
mattias
94cee0dc39 fcl-passrc: check class intf impl proc type modifiers match 2020-12-27 20:52:16 +00:00
mattias
f9b7f1dbb2 fcl-passrc: typecast generic template type to generic template type 2020-12-23 01:07:26 +00:00
mattias
3c51a0d851 pastojs: fixed UTF-16 chars 2020-12-21 15:52:44 +00:00
mattias
a9b4ca33c3 fcl-passrc: resolver: split source and target codepage 2020-12-21 15:51:15 +00:00
mattias
e34698f1d5 fcl-js: writer: fixed writing invalid UTF-16 2020-12-21 15:49:12 +00:00
mattias
7633a39273 fcl-passrc: use fmShareDenyNone when writing pas 2020-12-19 11:47:14 +00:00
mattias
f211913978 pastojs: use fmShareDenyNone when writing js 2020-12-19 11:46:30 +00:00
mattias
8aed6ac7e4 pastojs: test #256+ 2020-12-19 11:38:03 +00:00
mattias
9e277a6a6a set pas2js fixes version 2.0.0.RC7 2020-12-13 18:23:01 +00:00
mattias
6050bfe6e4 pastojs: fixed record member type 2020-12-11 20:04:43 +00:00
mattias
91e7558f0f pastojs: fixed unit without implementation 2020-12-11 17:34:09 +00:00
mattias
648a86be7e fcl-passrc: resolver: fixed unit without implementation 2020-12-11 17:33:13 +00:00
mattias
be81221a1d pastojs: precompiled code: always store with unix line ending, write with platform line ending 2020-12-09 21:42:48 +00:00
mattias
8ae6ee1771 pastojs: shortrefglobals: enumvalue 2020-12-09 20:47:48 +00:00
mattias
fd28aa84e3 set pas2js fixes version 2.0.0.RC6 2020-12-08 11:56:51 +00:00
mattias
b11d0f692a fcl-passrc: useanalyzer: when member needs typeinfo, mark parent too 2020-12-08 11:53:10 +00:00
mattias
a86581a9ea pastojs: clean up 2020-12-08 11:52:31 +00:00
mattias
56a9c2d912 restored version 2020-12-07 23:58:18 +00:00
mattias
327e6aa0c9 missing patches from trunk 2020-12-07 23:53:55 +00:00
mattias
6330aa3fd6 fcl-passrc: fixed tests 2020-12-07 23:27:47 +00:00
mattias
e19ce4af3d fcl-passrc: Added new visibility sections for objcprotocol 2020-12-07 23:26:25 +00:00
mattias
714623c91c pastojs: added experimental target os electron 2020-12-07 23:25:07 +00:00
mattias
782c135262 fcl-passrc: far is a procedure type modifier, can appear in type defs 2020-12-07 23:19:35 +00:00
mattias
31103c3c9f fcl-passrc: fixed search include file mode objfpc in dir of current include file 2020-12-07 23:17:57 +00:00
mattias
2865164d2b fcl-passrc: Includefile also must set basename 2020-12-07 23:16:54 +00:00
mattias
87f91b9db0 fcl-passrc: resolver: use declproc signature 2020-12-07 23:10:42 +00:00
mattias
d16d8367fb pastojs: fixed writing map file when OnWriteJS handler returns true 2020-12-07 18:51:56 +00:00
mattias
e6209bbaaa pastojs: on handled error set LastErrorClass empty 2020-12-07 17:07:49 +00:00
mattias
5c49a9af0c pastojs: catch load file exceptions and turn into regular errors 2020-12-07 16:59:17 +00:00
mattias
cd3818f9fb pastojs: filer: restore method decl SelfArg 2020-12-06 22:18:46 +00:00
mattias
fd9b00ffb2 fcl-passrc: fixed calling type helper method when unit implementation is not yet read 2020-12-06 22:17:24 +00:00
mattias
89597afd18 set pas2js fixes version 2.0.0.RC4 2020-12-04 14:53:26 +00:00
mattias
5f74ba4305 pastojs: filer: record values 2020-12-04 13:54:50 +00:00
mattias
8c2d82b2f9 pastojs: filer: fixed checking signature in interface used unit referenced by implementation and needing indirect implementation unit 2020-12-04 11:07:06 +00:00
mattias
7e130ffc53 pastojs: filer skip not fully specialized 2020-12-03 20:57:09 +00:00
mattias
8b35ab0512 pastojs: filer: fixed specialize A<B<C>> 2020-12-03 16:21:06 +00:00
mattias
718f6bfa79 fcl-passrc: resolver: fixed specialize name of A<B<C>> 2020-12-03 16:20:48 +00:00
mattias
758492a59c pastojs: filer: fixed restoring overload names of specialized methods 2020-12-03 10:44:57 +00:00
mattias
cc7c15f35e pastojs: filer: read inline specialize expr 2020-12-03 09:49:12 +00:00
mattias
c15fe1bef2 pastojs: filer: skip generic references to generic types 2020-12-03 08:42:56 +00:00
mattias
cf989afccc pas2js: filer: fixed storing reference to await and debugger 2020-12-02 15:12:44 +00:00
mattias
5034dc1b56 pastojs: delayed inits only for fully specialized types 2020-12-02 13:59:47 +00:00
mattias
748853981c set pas2js fixes version 2.0.0RC4 2020-11-30 22:32:56 +00:00
mattias
e42140d8d4 pastojs: shortrefglobals: unit initialization and empty implementation 2020-11-30 22:05:02 +00:00
mattias
ade8d75bb0 pastojs: filer: add identifiers to scope for immediate specializations of TPasSpecializeType 2020-11-29 23:12:51 +00:00
mattias
84321a4c29 fcl-passrc: resolver: error on using generic types without params 2020-11-29 00:06:47 +00:00
mattias
0bfef62666 pastojs: fixed test TestExternalClass_SameNamePublishedProperty 2020-11-28 13:19:53 +00:00
mattias
c24f8c9a35 pastojs: fixed -OoShortRefGlobals 2020-11-28 13:09:28 +00:00
mattias
dab747c65d pastojs: fixed typeinfo path of inline specialize type 2020-11-28 11:43:03 +00:00
mattias
5236a86500 pastojs: fixed crash when parser error in inline specialize expression, issue 38111 2020-11-28 10:42:37 +00:00
mattias
40cd9a84c7 pastojs: filer: fixed testsuite using shortrefglobals for all tests, added FormData js keyword, fixed shortrefglobals new/free instance fields 2020-11-27 16:57:51 +00:00
mattias
dc4f984172 pastojs: async modifier not needed in impl 2020-11-20 10:40:48 +00:00
mattias
79d1c35407 pastojs: check await(T,callasyncfunc) type match 2020-11-19 23:29:49 +00:00
mattias
c1c3fd60ed pastojs: fixed aPromise:=AsyncFunctionWithCOMIntfResult 2020-11-18 14:35:15 +00:00
mattias
0e769ac13d pastojs: fixed await(arg) and fixed hint await needs a promise 2020-11-17 10:05:46 +00:00
mattias
c3bdbfcd6e pastojs: fixed await on as operator 2020-11-15 23:13:34 +00:00
mattias
75d759c763 set pas2js fixes version 2.0.0RC3 2020-11-13 11:51:56 +00:00
mattias
b50b1ac90c fcl-passrc: useanalyzer: fixed implementation class forward 2020-11-13 01:29:23 +00:00
mattias
55ebba76b2 fcl-passrc: fixed var arg char=widechar 2020-11-12 23:39:17 +00:00
mattias
3c19035a27 pastojs: typeinfo unicodestring andf widechar 2020-11-12 23:13:11 +00:00
mattias
d50c45362d set pas2js fixes version 2.0.0RC2 2020-11-11 09:02:22 +00:00
michael
992481dffe * Merge * Support for $I %unit% %module% %filename% includes 2020-11-10 21:54:45 +00:00
michael
6b2fb0f806 * Merge -Jrnone skips resources 2020-11-10 21:33:10 +00:00
mattias
0f2ec58bbe pastojs: fixed shortrefglobals for minimal class interface, issue 38042 2020-11-07 12:10:24 +00:00
mattias
d497f63429 pastojs: fixed shortrefglobals for proc without args, issue 38043 2020-11-07 11:05:09 +00:00
mattias
e760b9bd79 pastojs: fixed diable optimization using fpc syntax prepend No, issue 38045 2020-11-07 10:56:57 +00:00
mattias
3dfa40f9a8 pastojs: fixed diable optimization using fpc syntax prepend No, issue 38045 2020-11-07 10:25:55 +00:00
mattias
2a9433fc93 pastojs: filer: generic constraints 2020-11-04 23:45:34 +00:00
mattias
d2f8bbadbe set pas2js fixes version 2.0.0 2020-11-04 22:37:48 +00:00
michael
eaebf015f8 * Copy externals 2020-11-04 20:29:47 +00:00
michael
c08e8fc667 * Added webidl2pas 2018-06-23 14:10:58 +00:00