Commit Graph

452 Commits

Author SHA1 Message Date
mattias
d748bb6630 pas2js: removed translation.html, it is now on the wiki https://wiki.freepascal.org/Pas2js_Transpiler 2022-04-12 10:56:35 +02:00
Pierre Muller
2f28c5596f Regenerate all Makefile's to fix problem on x86_64 linux 2022-03-07 23:46:15 +00:00
Pierre Muller
ad2ac98858 Update Makefile's 2022-03-07 22:35:29 +00:00
Michaël Van Canneyt
3a81f5c732 * Add -s --settings option 2022-02-20 18:22:44 +01:00
mattias
acc590ac07 pastojs: set version to 2.3.1 2022-02-19 11:34:52 +01:00
Pierre Muller
4da4c96349 Regenerate Makefile's with mips gcc fixes and new enabled mips64-linux target 2022-02-15 15:45:15 +00:00
Nikolay Nikolov
21593942a1 * regenerate all makefiles with the latest fpcmake 2022-02-13 15:26:54 +02:00
mattias
952eee5ed0 pas2js: less hints 2022-02-08 13:33:33 +01:00
Michaël Van Canneyt
6dd5b63e2d * Shorter version of libimports 2022-02-05 16:58:08 +01:00
Michaël Van Canneyt
396b516a85 * dts2pas added for next pas2js release 2022-02-05 16:35:04 +01:00
Michaël Van Canneyt
bf86e57cfe * Need pas.$libimports 2022-02-05 16:17:39 +01:00
mattias
a8449ad959 pas2js: less hints 2022-02-01 13:18:00 +01:00
mattias
a70d33ff00 pas2js: fixed init external class RTTI 2022-02-01 10:20:35 +01:00
Nikolay Nikolov
b407b67ca1 * regenerate all makefiles with latest fpcmake 2022-01-19 07:08:32 +02:00
mattias
d76cfdd913 pas2js: compileserver: added commandline param --version 2022-01-18 16:54:45 +01:00
mattias
ec1766ac3f pas2js: compileserver: added cmd line option interface 2022-01-14 15:47:12 +01:00
mattias
52e30aa332 pas2js: compileserver exitcode 1 on ESocketError 2022-01-14 15:47:12 +01:00
mattias
e8bf381702 pas2js: compileserver: set default port 3000 2022-01-06 13:16:23 +01:00
Robert Roland
53e5a4a03a Adding aaarch64-embedded target
This adds support for aarch64-embedded, specifically for the Raspberry Pi 3.

Uses UART0 at 115200 baud 8N1 for console IO.
2022-01-05 12:29:00 +00: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
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00
florian
65ef6f1f37 * regenerated Makefiles 2021-11-24 22:50:37 +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
0b5c8030e4 pas2js: comment 2021-09-19 16:55:12 +02:00
Michaël Van Canneyt
3e621f2014 * Allow to specify address 2021-09-15 11:22:52 +02:00
mattias
5d571853ac pas2js: compile httpcompiler with fpc 3.2.2 2021-09-14 15:51:00 +03:00
mattias
ffc3e1780d pas2js: added SetPas2JSGetFileSrcAttrCallBack 2021-09-14 11:47:10 +03:00
mattias
6c4198fdf3 pas2js: fixed typeinfo procvar resulttype nil 2021-09-14 10:53:12 +03:00
Michaël Van Canneyt
59b49addc0 Revert "* Export SetPas2JSGetFileSrcAttrCallBack"
This reverts commit 0053cec880.
2021-09-14 09:16:48 +02:00
Michaël Van Canneyt
0053cec880 * Export SetPas2JSGetFileSrcAttrCallBack 2021-09-14 09:08:31 +02:00
Michaël Van Canneyt
c27823568a * libimports added 2021-09-11 18:01:42 +02:00
Michaël Van Canneyt
2781be118f * Add linklib, add some formatting 2021-09-11 15:23:25 +02:00
mattias
bad14c5dbd pas2js: httpcompiler: fixed reading values fomr config file 2021-09-09 16:09:52 +02:00
mattias
679cfab709 pastojs: added hook GetFileSrcAttr to skip generating srcmap of some files 2021-09-08 18:31:12 +02:00
mattias
d20f18634f pas2js: git ignore linux binaries 2021-09-06 16:51:48 +02:00
Michaël Van Canneyt
b36154671b * Bring compileserver functionality up-to-date with simpleserver 2021-09-04 17:49:32 +02:00
Michaël Van Canneyt
40dc7380dc * Correct precisions 2021-09-01 22:43:47 +02:00
nickysn
433050a2c4 * set EXEEXT to .wasm for the WASI target in fpcmake
git-svn-id: trunk@49552 -
2021-06-24 00:16:00 +00:00
Mattias Gaertner
4ddaa26fc0 pastojs: nested external class constructor
git-svn-id: trunk@49351 -
2021-05-12 19:47:26 +00: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
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
florian
e4cc8af8fc * Makefiles regenerated
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +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
8b63a69f59 pastojs: fixed compileserver --simpleserver and -d relative path
git-svn-id: trunk@49024 -
2021-03-21 17:56:00 +00:00
Mattias Gaertner
29dee4a0d3 pas2js: fixed option --simpleserver and -d relative path
git-svn-id: trunk@49008 -
2021-03-19 10:31:46 +00:00
nickysn
ea8f068817 * regenerated makefiles after sync with trunk
git-svn-id: branches/wasm@48951 -
2021-03-13 21:52:13 +00:00
nickysn
e42330a7ad * synchronized with trunk
git-svn-id: branches/wasm@48949 -
2021-03-13 21:47:24 +00:00
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