Commit Graph

450 Commits

Author SHA1 Message Date
pierre
e8fbe6696b Update Makefile's after commits 48929/48930
git-svn-id: trunk@48940 -
2021-03-12 13:23:41 +00:00
nickysn
1d9d1ab859 * regenerated makefiles
git-svn-id: branches/wasm@48369 -
2021-01-24 02:01:11 +00:00
nickysn
780ded903a * synchronized with trunk
git-svn-id: branches/wasm@48225 -
2021-01-19 23:01:55 +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
nickysn
e0a1ce86fd * synchronized with trunk
git-svn-id: branches/wasm@48158 -
2021-01-15 01:05:37 +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
nickysn
cf6c173653 * regenerated makefiles
git-svn-id: branches/wasm@47988 -
2021-01-02 22:25:27 +00:00
nickysn
a84b091b5e * makefiles regenerated after fpcmake update
git-svn-id: branches/wasm@47985 -
2021-01-02 22:15:42 +00:00
Mattias Gaertner
8eafcd9490 pastojs: await with one param must be async function
git-svn-id: trunk@47895 -
2020-12-29 23:18:41 +00:00
michael
3db8f5c91f * Fix compilation
git-svn-id: trunk@47754 -
2020-12-11 13:34:44 +00:00
Mattias Gaertner
e25848ab32 pastojs: catch load file exceptions and turn into regular errors
git-svn-id: trunk@47712 -
2020-12-07 16:58:52 +00:00
pierre
68d3962889 Regenerate all Makefile's, and update utils/fpcm/fpcmake.inc and utils/fpcm/revision.inc after commit 47483
git-svn-id: trunk@47484 -
2020-11-20 14:03:57 +00:00
Károly Balogh
9d67adcbb6 * regenerated all Makefiles after Sinclair QL support was added
git-svn-id: trunk@47453 -
2020-11-19 02:58:27 +00:00
Mattias Gaertner
280c0d90f7 pastojs: fixed diable optimization using fpc syntax prepend No, issue #38045
git-svn-id: trunk@47334 -
2020-11-07 10:56:30 +00:00
Mattias Gaertner
e69cd3fd1c pastojs: fixed diable optimization using fpc syntax prepend No, issue #38045
git-svn-id: trunk@47331 -
2020-11-07 10:23:46 +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
michael
a8bc2f6947 * Patch from Henrique Werlang to allow setting log config page
git-svn-id: trunk@47052 -
2020-10-05 17:37:45 +00:00
Mattias Gaertner
a66b6cd7c7 pastojs: classname=typeinfoname
git-svn-id: trunk@46986 -
2020-09-28 09:39:24 +00:00
Mattias Gaertner
135f3745d6 pastojs: docs
git-svn-id: trunk@46929 -
2020-09-23 14:35:38 +00:00
Mattias Gaertner
cf4ca3a280 pastojs: optimization ShortRefGlobals
git-svn-id: trunk@46928 -
2020-09-23 14:32:47 +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
edd10be1e2 pastojs: docs updated
git-svn-id: trunk@46818 -
2020-09-09 20:40:58 +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
michael
c7841139f4 * Expose ExtraUnits, remove hardcoded DTypesUnit, patch by Henrique Werlang (bug ID 37570)
git-svn-id: trunk@46444 -
2020-08-15 07:31:43 +00:00
michael
9e3574027c * unit alias possibility
git-svn-id: trunk@46442 -
2020-08-15 07:26:44 +00:00
michael
dfca0bf9c8 * Improved exception handling, patch by Henrique Werlang (bug ID 37567)
git-svn-id: trunk@46425 -
2020-08-14 10:33:07 +00:00
michael
58816b3bc6 * Always define makestub
git-svn-id: trunk@46363 -
2020-08-11 13:32:29 +00:00
michael
6dd0572eaa * skip hints (bug ID 37511)
git-svn-id: trunk@46359 -
2020-08-11 10:56:47 +00:00
michael
a78d5ba112 * Fix bug id #37514 : type helper not recognized
git-svn-id: trunk@46319 -
2020-08-08 09:09:18 +00:00
michael
99551dc6b2 * Fix bug id #37515
git-svn-id: trunk@46317 -
2020-08-08 08:55:36 +00:00
michael
b78a3fec98 * Fix bug #37519: no assembler
git-svn-id: trunk@46314 -
2020-08-08 08:01:06 +00:00
michael
d8caa4844f * Load OS defaults, add text/css
git-svn-id: trunk@46306 -
2020-08-06 22:43:15 +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
michael
ec3eef03f1 * Set path to local version of fcl-passrc, not installed version
git-svn-id: trunk@46232 -
2020-08-04 15:50:45 +00:00
michael
2faa9e06a1 * Additional options for latest pas2js version features
git-svn-id: trunk@46230 -
2020-08-04 13:56:43 +00:00
pierre
ca40956a3a Regenerated all Makefile's
git-svn-id: trunk@46224 -
2020-08-04 10:19:49 +00:00
michael
eaeb21e6ae * Add stub generator
git-svn-id: trunk@45976 -
2020-08-01 07:39:34 +00:00
Mattias Gaertner
4c99a82dbf pas2js: docs
git-svn-id: trunk@45962 -
2020-07-29 21:52:22 +00:00
Jonas Maebe
fb23834367 * regenerated Makefiles again
git-svn-id: trunk@45766 -
2020-07-11 09:51:28 +00:00
Jonas Maebe
350d2d92f9 * regenerated Makesfiles
git-svn-id: trunk@45762 -
2020-07-10 22:08:30 +00:00
Mattias Gaertner
062fbb5e41 pas2js: doc about extending JS function
git-svn-id: trunk@45716 -
2020-06-29 21:51:00 +00:00
Mattias Gaertner
cbf5f1a769 pas2js: doc about extending JS function
git-svn-id: trunk@45715 -
2020-06-29 21:47:04 +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
svenbarth
b3ddd4e786 * regenerate Makefiles
git-svn-id: trunk@45601 -
2020-06-06 17:18:48 +00:00
Mattias Gaertner
4637a882d5 pas2js: async function exit(promise)
git-svn-id: trunk@45523 -
2020-05-28 16:54:22 +00:00
Mattias Gaertner
683c5c8faf fcl-passrc: allow external class function async
git-svn-id: trunk@45518 -
2020-05-27 18:30:00 +00:00
Mattias Gaertner
fa267f90a6 pas2js: doc about await
git-svn-id: trunk@45445 -
2020-05-20 08:11:52 +00:00
Mattias Gaertner
f74eb4692f pas2js: safecall for procedure
git-svn-id: trunk@45417 -
2020-05-18 11:00:06 +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
pierre
c77ef7d6dd Regenerate all Makefile's after change in utils/fpcm/fpcmake.ini to better support use of i386 compiler on x86_64 machines
git-svn-id: trunk@45356 -
2020-05-13 13:53:15 +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
nickysn
56b79257a1 * fixed fpmake invokation when building an i386-linux snapshot on a x86_64-linux host
git-svn-id: trunk@45298 -
2020-05-06 20:41:01 +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
nickysn
86643f8a34 * synchronized with trunk
git-svn-id: branches/z80@44981 -
2020-04-21 23:36:44 +00:00
svenbarth
184d6d61ed * regenerate makefiles
git-svn-id: trunk@44958 -
2020-04-21 06:09:20 +00:00
nickysn
d57ffc4745 * changed the object file format for z80-embedded and z80-zxspectrum to .rel
git-svn-id: branches/z80@44899 -
2020-04-20 23:36:15 +00:00
nickysn
2f68090dd6 * synchronized with trunk
git-svn-id: branches/z80@44898 -
2020-04-20 22:42:08 +00:00
pierre
cd6de6a4ca Regenerate all Makefiles
git-svn-id: trunk@44882 -
2020-04-20 13:58:47 +00:00
nickysn
0f323df7a3 * synchronized with trunk
git-svn-id: branches/z80@44873 -
2020-04-19 21:10:31 +00:00
Jonas Maebe
26ec913725 * regenerated makefiles
git-svn-id: trunk@44861 -
2020-04-19 17:33:47 +00:00
nickysn
b868d653bb * regenerated makefiles after sync with trunk
git-svn-id: branches/z80@44847 -
2020-04-19 13:00:50 +00:00
nickysn
d872d55365 * regenerated makefiles in the utils directory
git-svn-id: branches/z80@44822 -
2020-04-19 04:07:11 +00:00
Jonas Maebe
4b59bcb0ca * regenerated makefiles
git-svn-id: trunk@44793 -
2020-04-18 16:08:25 +00:00
florian
5bab6201d5 * rebuild Makefiles
git-svn-id: trunk@44679 -
2020-04-10 19:42:14 +00:00
florian
43dc4c7ea0 * regenerated Makefiles
git-svn-id: trunk@44333 -
2020-03-21 20:59:59 +00:00
Mattias Gaertner
d560120288 pas2js: fpmake
git-svn-id: trunk@44135 -
2020-02-09 10:25:53 +00:00
Mattias Gaertner
5a0ea9d884 pas2js: -i showing modeswitches
git-svn-id: trunk@44134 -
2020-02-09 10:24:40 +00:00
Mattias Gaertner
af8e3fb816 pas2js: fpmake
git-svn-id: trunk@44122 -
2020-02-06 16:06:37 +00:00
Mattias Gaertner
f053fa926f pas2js: option -im, -M<modeswitch>
git-svn-id: trunk@44121 -
2020-02-06 16:05:09 +00:00
Tomas Hajny
dc83eb5ac8 * added shortname
git-svn-id: trunk@44110 -
2020-02-04 21:04:28 +00:00
Mattias Gaertner
b761498428 pas2js: docs option -Sj
git-svn-id: trunk@44078 -
2020-02-01 10:38:33 +00:00
Mattias Gaertner
4dc84b2a78 pastojs: added libpas2js hook SetPas2JSUnitAliasCallBack
git-svn-id: trunk@43811 -
2019-12-30 08:53:27 +00:00
pierre
a09e40945c Regenerate all Makefile's after commit #43472
git-svn-id: trunk@43478 -
2019-11-15 14:47:02 +00:00
Mattias Gaertner
5ea4233ca4 fcl-passrc: varargs of type
git-svn-id: trunk@43326 -
2019-10-29 14:30:20 +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
6f13582b11 pastojs: test generic class classproperty
git-svn-id: trunk@43216 -
2019-10-17 16:46:32 +00:00
Mattias Gaertner
e28a2b0e21 pastojs: constructor New; external name globalfunc
git-svn-id: trunk@43214 -
2019-10-17 15:53:18 +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
8d60f4542c pastojs: constructor of external class: funcname and {}
git-svn-id: trunk@43166 -
2019-10-11 10:25:24 +00:00
Mattias Gaertner
683d4d4301 fcl-passrc: specialize generic method
git-svn-id: trunk@43090 -
2019-09-29 13:30:50 +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
f2a8e646b7 fcl-passrc: specialize generic constraints
git-svn-id: trunk@42948 -
2019-09-08 13:46:21 +00:00
michael
52ca09cc58 * Fix missing tag
git-svn-id: trunk@42918 -
2019-09-04 06:15:17 +00:00
Mattias Gaertner
af52e8dd54 pastojs: updated lpi
git-svn-id: trunk@42878 -
2019-08-30 09:21:22 +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
Mattias Gaertner
022c4dded2 pastojs: source map: prepend absolute source files with file://
git-svn-id: trunk@42866 -
2019-08-28 22:50:33 +00:00
pierre
41216b04ea Set explicitly packages ShortName's according to renametoshort rule in Makefile.fpc
git-svn-id: trunk@42842 -
2019-08-26 21:34:07 +00:00
michael
69385a7eb0 * Write version option in help
git-svn-id: trunk@42789 -
2019-08-24 09:53:00 +00:00
Mattias Gaertner
c38c3bc12d pastojs: fixed ComIntfInstance is/as IntfType using QueryInterface
git-svn-id: trunk@42771 -
2019-08-23 09:34:33 +00:00
pierre
5ed7bd35df Update all trunk/fpcsrc Makefile's after commit 42749
git-svn-id: trunk@42750 -
2019-08-20 15:58:10 +00:00
Mattias Gaertner
831014cb12 pastojs: fixed result
git-svn-id: trunk@42624 -
2019-08-09 20:49:02 +00:00
Mattias Gaertner
7280452ab2 fcl-passrc: specialize elements
git-svn-id: trunk@42623 -
2019-08-09 20:47:50 +00:00
michael
39a8d06e8a * Fix spaceLeft, missing return statement
git-svn-id: trunk@42608 -
2019-08-09 07:42:34 +00:00
Mattias Gaertner
4e22f7a2ec pas2js: rtl: set TObject.$ancestor
git-svn-id: trunk@42504 -
2019-07-27 11:17:25 +00:00
Mattias Gaertner
5ee32296f0 pastojs: note about typeinfo(aClassVar)
git-svn-id: trunk@42310 -
2019-06-30 14:44:54 +00:00
Jonas Maebe
c262c5dbc9 * synchronised with trunk till r42256
git-svn-id: branches/debug_eh@42257 -
2019-06-20 17:21:34 +00:00
Mattias Gaertner
f50b4c5fbb pastojs: setlength(arr) now always clone
git-svn-id: trunk@42227 -
2019-06-14 20:45:01 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
Mattias Gaertner
25137aef66 pas2js: help
git-svn-id: trunk@41863 -
2019-04-11 10:36:34 +00:00
michael
848a563128 * Fix some warnings
git-svn-id: trunk@41809 -
2019-04-01 08:49:36 +00:00
michael
12cfecf1e8 * Change to latest version
git-svn-id: trunk@41808 -
2019-04-01 08:39:38 +00:00
Mattias Gaertner
c1224f0705 pas2js: fixed rtl.js
git-svn-id: trunk@41788 -
2019-03-24 11:00:50 +00:00
Mattias Gaertner
c3b515695b pas2js: using Math.pow instead of newer **
git-svn-id: trunk@41732 -
2019-03-18 17:23:01 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
Mattias Gaertner
1ea55d0a74 pastojs: helpers: external method apply to helped type
git-svn-id: trunk@41707 -
2019-03-14 22:04:33 +00:00
Mattias Gaertner
6217d44d0b pas2js: fixed compileserver default mime type html
git-svn-id: trunk@41694 -
2019-03-14 10:37:56 +00:00
Mattias Gaertner
dec638761d pastojs: made $DispatchField a modifier of the class, instead of a method
git-svn-id: trunk@41684 -
2019-03-12 12:10:59 +00:00
Mattias Gaertner
6994b67947 pastojs: directives DispatchField and DispatchStrField
git-svn-id: trunk@41681 -
2019-03-11 21:47:47 +00:00
Mattias Gaertner
bc8df85d00 pas2js: doc about dispatch
git-svn-id: trunk@41676 -
2019-03-11 14:38:23 +00:00
Mattias Gaertner
f52ea868dd pas2js: compileserver: fall back mime.types
git-svn-id: trunk@41666 -
2019-03-10 08:11:33 +00:00
Mattias Gaertner
614755f6da pastojs: allow typecast extclass to extclass in mode delphi
git-svn-id: trunk@41623 -
2019-03-06 21:11:21 +00:00
Mattias Gaertner
5463bceaac pas2js: doc: about typecasting to TJSOBject descendant
git-svn-id: trunk@41603 -
2019-03-05 17:09:15 +00:00
Mattias Gaertner
1ab29b43b7 pastojs: bigint shl/shr int
git-svn-id: trunk@41594 -
2019-03-05 13:15:07 +00:00
Mattias Gaertner
e3cd320580 pastojs: method modifier message integer/string
git-svn-id: trunk@41583 -
2019-03-03 23:30:13 +00:00
Mattias Gaertner
f6cbe79a0a pastojs: and/or/xor with nativeint, warn nativeint shl/shr
git-svn-id: trunk@41528 -
2019-02-28 21:57:28 +00:00
Mattias Gaertner
16ba0b4a05 fcl-passrc, pastojs: renamed modeswitch multiplescopehelpers to multihelpers
git-svn-id: trunk@41465 -
2019-02-25 17:50:32 +00:00
Mattias Gaertner
934ece9274 pas2js: updated docs
git-svn-id: trunk@41436 -
2019-02-24 15:45:31 +00:00
Mattias Gaertner
25cb06f021 pastojs: overflow checking for integer operators +,-,* outside nativeint
git-svn-id: trunk@41392 -
2019-02-20 09:22:40 +00:00
Mattias Gaertner
0b0ecc0647 pas2js: fixed rtl.freeLoc to return null if already null
git-svn-id: trunk@41362 -
2019-02-17 20:44:47 +00:00
Mattias Gaertner
d4a5f7e2e1 pas2js: docs
git-svn-id: trunk@41361 -
2019-02-17 20:44:19 +00:00
Mattias Gaertner
4dca114dfe pas2js: fixed compileserver.lpi unitpaths
git-svn-id: trunk@41340 -
2019-02-16 11:17:14 +00:00
Mattias Gaertner
3c9ccb177b pas2js: set trunk version 1.5.1
git-svn-id: trunk@41339 -
2019-02-16 11:01:28 +00:00
Mattias Gaertner
305c754042 pas2js: compileserver: fixed mimetypes under darwin
git-svn-id: trunk@41338 -
2019-02-16 11:01:13 +00:00
Mattias Gaertner
90541cc3c3 pas2js: docs
git-svn-id: trunk@41329 -
2019-02-15 22:52:35 +00:00
Mattias Gaertner
b958dd7927 pas2js: docs
git-svn-id: trunk@41328 -
2019-02-15 22:52:19 +00:00
Mattias Gaertner
f15a18e479 pas2js: docs about helpers version
git-svn-id: trunk@41304 -
2019-02-11 17:38:35 +00:00
Mattias Gaertner
54bd9a61e1 pas2js: updated docs about helpers
git-svn-id: trunk@41303 -
2019-02-11 17:07:04 +00:00