Commit Graph

300 Commits

Author SHA1 Message Date
Mattias Gaertner
97234eb509 pas2js: updated docs about helpers
git-svn-id: trunk@41302 -
2019-02-11 17:02:34 +00:00
Mattias Gaertner
599161b180 pas2js: updated docs about helpers
git-svn-id: trunk@41301 -
2019-02-11 16:51:37 +00:00
Mattias Gaertner
6bbc1db8bb pastojs: fixed helper constructor
git-svn-id: trunk@41300 -
2019-02-11 15:26:27 +00:00
Mattias Gaertner
e98d7f2a86 pastojs: type helper: arg/var/const/result
git-svn-id: trunk@41273 -
2019-02-10 00:24:23 +00:00
michael
76f577ccbf * Added switch so the server can act as simple file server
git-svn-id: trunk@41270 -
2019-02-09 18:33:39 +00:00
Mattias Gaertner
79b82acfcc pas2js: docs lo|hi
git-svn-id: trunk@41190 -
2019-02-03 16:31:26 +00:00
pierre
9299e97932 Disable pas2js for jvm compiler
git-svn-id: trunk@41150 -
2019-01-31 11:20:34 +00:00
Mattias Gaertner
6160a2ad51 pastojs: intrinsics lo/hi, issue #34964, patch from Kryvichh
git-svn-id: trunk@41148 -
2019-01-30 16:44:48 +00:00
Mattias Gaertner
70c4d45474 pastojs: fixed rtl.js
git-svn-id: trunk@41147 -
2019-01-30 15:53:58 +00:00
pierre
202c4f86c0 Disable jvm-android as fcl-json is not supported for this target
git-svn-id: trunk@41142 -
2019-01-30 12:55:04 +00:00
Mattias Gaertner
007f266ccf fcl-passrc: scanner: bool switch $goto
git-svn-id: trunk@41125 -
2019-01-29 19:08:16 +00:00
Mattias Gaertner
70fa288fc4 fcl-passrc: resolver: fixed find ancestor property
git-svn-id: trunk@41087 -
2019-01-27 22:34:05 +00:00
Mattias Gaertner
06e821b07b pas2js: added option -Jmabsolute
git-svn-id: trunk@41066 -
2019-01-25 08:31:36 +00:00
Mattias Gaertner
64cb8424ee pastojs: refute to read olf precompiled records, comments
git-svn-id: trunk@40819 -
2019-01-09 20:53:40 +00:00
Mattias Gaertner
3ed38ef3fa pastojs: doc: records missing features
git-svn-id: trunk@40809 -
2019-01-08 10:04:27 +00:00
Mattias Gaertner
8506f9dbf7 pastojs: doc
git-svn-id: trunk@40808 -
2019-01-08 09:42:49 +00:00
Mattias Gaertner
2e11b23883 pastojs: renamed rtl.createTRecord to rtl.recNewT, constructor added return this
git-svn-id: trunk@40807 -
2019-01-08 09:41:17 +00:00
Mattias Gaertner
d9ccc42cc4 pastojs: docs
git-svn-id: trunk@40799 -
2019-01-07 17:02:27 +00:00
Mattias Gaertner
d1edbac29b pastojs:
- changed records from function to Object
- added $new, $assign, $clone, $eq
- passig records to var argument now passes directly instead of temp setter
- using $assign for aRecord:= copying values, keeping object, needed by pointer of record
- advanced records: methods, class vars, const, property, array property, default property, RTTI

git-svn-id: trunk@40797 -
2019-01-07 16:01:35 +00:00
Károly Balogh
5182dc37af haiku-x86_64: regenerated all Makefiles, take 2
git-svn-id: trunk@40758 -
2019-01-04 03:18:42 +00:00
Mattias Gaertner
e108d9c5eb pastojs: concat(string1,string2,...)
git-svn-id: trunk@40597 -
2018-12-19 23:18:04 +00:00
Mattias Gaertner
eee0074eb4 pas2js: rtl.js set version
git-svn-id: trunk@40580 -
2018-12-16 22:39:31 +00:00
Mattias Gaertner
f7661c6fd4 pastojs: added -iJ
git-svn-id: trunk@40559 -
2018-12-15 13:38:23 +00:00
Mattias Gaertner
38a511a2f0 pas2js: cleaned up pcu
git-svn-id: trunk@40554 -
2018-12-15 11:11:24 +00:00
Mattias Gaertner
95c4736785 pas2js: added option -JoRTL-x=y, added shared converter options
git-svn-id: trunk@40553 -
2018-12-15 11:04:50 +00:00
Mattias Gaertner
cea0060507 pastojs: procedure val(const string; out enum; out int)
git-svn-id: trunk@40551 -
2018-12-14 15:36:12 +00:00
Mattias Gaertner
ac94267311 pastojs: anonymous functions docs
git-svn-id: trunk@40530 -
2018-12-12 10:24:29 +00:00
Mattias Gaertner
a97fd7e819 nodepas2js: fixed loading default cfg
git-svn-id: trunk@40509 -
2018-12-08 20:50:58 +00:00
Mattias Gaertner
1e15e35eab pastojs: checked writeln
git-svn-id: trunk@40495 -
2018-12-07 17:16:14 +00:00
Mattias Gaertner
8d3c133caa pastojs: added $i %EnvVar%
git-svn-id: trunk@40488 -
2018-12-07 08:09:50 +00:00
Mattias Gaertner
58e50ef07e pastojs: added $i %file%
git-svn-id: trunk@40487 -
2018-12-07 07:57:49 +00:00
Mattias Gaertner
148cc6e157 pas2js: cleaned up lpi
git-svn-id: trunk@40478 -
2018-12-06 09:34:31 +00:00
Mattias Gaertner
711065cf78 pastojs: restored built in function debugger
git-svn-id: trunk@40477 -
2018-12-06 09:34:04 +00:00
michael
fd609fe19c * Web browser compiler, initial implementation
git-svn-id: trunk@40471 -
2018-12-04 21:42:53 +00:00
Mattias Gaertner
3c8c833234 pastojs: restored built-in function debugger
git-svn-id: trunk@40457 -
2018-12-03 16:41:45 +00:00
michael
b9905f6a2c * Instantiate FS compiler
git-svn-id: trunk@40452 -
2018-12-02 18:44:34 +00:00
michael
2c7f401bf7 * Instantiate PCU compiler
git-svn-id: trunk@40451 -
2018-12-02 18:44:21 +00:00
pierre
101ce4d37b Add several missing unit references in fpmake files
git-svn-id: trunk@40391 -
2018-11-28 23:45:35 +00:00
Mattias Gaertner
9f7f43673f pastojs: added built-in procedure debugger
git-svn-id: trunk@40372 -
2018-11-26 09:36:02 +00:00
Mattias Gaertner
74f950c88b pastojs: changed -Jpostproc to -Jpcmd
git-svn-id: trunk@40356 -
2018-11-19 09:48:48 +00:00
Mattias Gaertner
250b9489f6 pas2jslib: set default paths
git-svn-id: trunk@40353 -
2018-11-18 18:50:26 +00:00
Mattias Gaertner
e31a7e9b73 pas2js: clean up
git-svn-id: trunk@40258 -
2018-11-07 17:46:45 +00:00
Mattias Gaertner
6bb752c637 pas2js: default pas2js.cfg unitpath uses $CfgDir/../../../packages/*
git-svn-id: trunk@40245 -
2018-11-06 17:00:28 +00:00
Mattias Gaertner
e89223e56e pas2js: clean up
git-svn-id: trunk@40243 -
2018-11-06 16:54:56 +00:00
Mattias Gaertner
0140c5ede7 pas2js: fixed unit paths
git-svn-id: trunk@40241 -
2018-11-06 16:48:14 +00:00
Mattias Gaertner
2f5d081b5d nodepas2js: clean up
git-svn-id: trunk@40164 -
2018-11-01 22:35:17 +00:00
Mattias Gaertner
f9e426c45a pas2js: clean up $shared in sets
git-svn-id: trunk@40148 -
2018-11-01 13:37:49 +00:00
Mattias Gaertner
ef3b1ee5ba pas2js: hide $shared in sets
git-svn-id: trunk@40146 -
2018-11-01 13:35:12 +00:00
Mattias Gaertner
a2f89ac1f9 pas2js: debug val() failure
git-svn-id: trunk@40144 -
2018-11-01 13:32:58 +00:00
Mattias Gaertner
05243a2de6 pas2js: hide $shared in sets
git-svn-id: trunk@40143 -
2018-11-01 13:32:19 +00:00
Mattias Gaertner
ff431f0106 pastojs: fixed calling destructor after exception in constructor
git-svn-id: trunk@40116 -
2018-10-31 23:02:01 +00:00
Mattias Gaertner
0e012e657f pastojs: fixed handling read error
git-svn-id: trunk@40108 -
2018-10-31 14:17:39 +00:00
Mattias Gaertner
bbb5943fef pas2js: started nodepas2js
git-svn-id: trunk@40098 -
2018-10-30 23:18:09 +00:00
Mattias Gaertner
60eb591844 pastojs: fixed compilation
git-svn-id: trunk@40075 -
2018-10-29 10:16:58 +00:00
Mattias Gaertner
01d1cde8a3 pastojs: adaptions for pas2js
git-svn-id: trunk@40064 -
2018-10-28 14:34:08 +00:00
Mattias Gaertner
d915932c29 pastojs: $i %date%, %time%, %line%
git-svn-id: trunk@40062 -
2018-10-28 14:08:41 +00:00
Mattias Gaertner
a2c16728cc pastojs: adaptions for pas2js
git-svn-id: trunk@40049 -
2018-10-27 11:17:58 +00:00
Mattias Gaertner
43c2dce24f fcl-js: jssrcmap adapted for pas2js
git-svn-id: trunk@40048 -
2018-10-26 09:10:56 +00:00
Mattias Gaertner
75e6356e02 fcl-js: started jsonscanner adaption for pas2js
git-svn-id: trunk@40045 -
2018-10-25 20:16:56 +00:00
Mattias Gaertner
225aa064fe pastojs: adapted pas2jspparser for pas2js
git-svn-id: trunk@40044 -
2018-10-25 20:07:00 +00:00
Mattias Gaertner
60dab2f4fb pas2js: logger adapted for pas2js
git-svn-id: trunk@40042 -
2018-10-25 19:47:11 +00:00
Mattias Gaertner
703f5ea97e pas2js: started nodepas2js
git-svn-id: trunk@40037 -
2018-10-25 16:09:20 +00:00
Mattias Gaertner
91d7658844 pas2js: fixed calling $final, do not call BeforeDestruction on exception in constructor
git-svn-id: trunk@39966 -
2018-10-18 10:00:02 +00:00
yury
a29290202f * Regenerated makefiles to support x86_64-android.
git-svn-id: trunk@39958 -
2018-10-17 17:12:20 +00:00
yury
8c59eb1ce5 * Regenerated makefiles to support aarch64-android.
git-svn-id: trunk@39863 -
2018-10-06 09:36:03 +00:00
Mattias Gaertner
cec7188704 pastojs: added option -JoCheckVersion
git-svn-id: trunk@39851 -
2018-10-02 14:58:05 +00:00
pierre
b5c5329f39 Update all utils Makefile's
git-svn-id: trunk@39823 -
2018-09-27 06:53:52 +00:00
florian
a34d4e715c Merged riscv_new branch
git-svn-id: trunk@39813 -
2018-09-26 19:49:08 +00:00
Mattias Gaertner
a672107894 pastojs: fixed override class interface map
git-svn-id: trunk@39799 -
2018-09-24 17:28:58 +00:00
marco
98f00acb06 * trunk to 3.3.1
git-svn-id: trunk@39635 -
2018-08-18 15:47:44 +00:00
Jeppe Johansen
d32d158b4d Regenerated utils makefiles.
git-svn-id: branches/laksen/riscv_new@39496 -
2018-07-23 12:25:52 +00:00
Mattias Gaertner
2086bdbbc0 pastojs: check reserved global JS identifiers only for non prefixed identifiers
git-svn-id: trunk@39360 -
2018-07-03 14:05:38 +00:00
Mattias Gaertner
7e64102b74 fcl-passrc: fixed scanner row, col in macro
git-svn-id: trunk@39344 -
2018-06-29 15:48:21 +00:00
Mattias Gaertner
7a6fed75a0 fcl-passrc: $warn directive
git-svn-id: trunk@39315 -
2018-06-27 14:27:43 +00:00
Mattias Gaertner
5228cada27 pas2js: set version 0.9.26
git-svn-id: trunk@39304 -
2018-06-25 18:21:04 +00:00
Mattias Gaertner
b2bd41d08e pastojs: hint how to use -vl
git-svn-id: trunk@39300 -
2018-06-25 09:27:49 +00:00
michael
6e8ec3449f * Allow to set version, add copyright header
git-svn-id: trunk@39295 -
2018-06-23 16:32:59 +00:00
michael
bfc5d63fde * Add webidl2pas
git-svn-id: trunk@39293 -
2018-06-23 14:02:55 +00:00
Mattias Gaertner
821182d518 pas2js: docs
git-svn-id: trunk@39284 -
2018-06-23 08:36:45 +00:00
Mattias Gaertner
118ec57000 pastojs: typecast function to TJSFunction
git-svn-id: trunk@39208 -
2018-06-10 13:45:40 +00:00
Mattias Gaertner
2a598c851f pastojs: allow {$H+}, error on {$H-}
git-svn-id: trunk@39128 -
2018-05-28 06:46:52 +00:00
Mattias Gaertner
df71ab3ecf pastojs: writestr and -Sm
git-svn-id: trunk@39125 -
2018-05-27 22:01:09 +00:00
Mattias Gaertner
763fd783e0 pastojs: typecast array to/from tjsobject
git-svn-id: trunk@39034 -
2018-05-20 10:40:07 +00:00
Mattias Gaertner
3d186b2706 pastojs: for value in externalarray do
git-svn-id: trunk@39026 -
2018-05-19 17:59:50 +00:00
Mattias Gaertner
cd4eb4738c pas2js: fixed rtti module
git-svn-id: trunk@38992 -
2018-05-14 16:55:04 +00:00
Mattias Gaertner
8a5c519f2d pastojs: option -FE
git-svn-id: trunk@38983 -
2018-05-12 18:26:39 +00:00
Mattias Gaertner
69d6e8ac90 pastojs: added option -vv, -va includes -vd
git-svn-id: trunk@38965 -
2018-05-10 09:27:40 +00:00
Mattias Gaertner
e9843bccf0 pastojs: added option -SI<interfacestyel>
git-svn-id: trunk@38964 -
2018-05-10 08:00:33 +00:00
Mattias Gaertner
cc7983d781 pastojs: external class field with brackets
git-svn-id: trunk@38958 -
2018-05-09 12:47:17 +00:00
Mattias Gaertner
e283024ad7 pastojs: added option -vz, -ic, -io, -it, fixed -va writing used files, fixed -o. -Jc, -vt now writes used unit scopes
git-svn-id: trunk@38957 -
2018-05-09 08:41:44 +00:00
Mattias Gaertner
d323bd087e pastojs: added option -FN<x>, marked -NS as obsolete
git-svn-id: trunk@38940 -
2018-05-07 07:17:32 +00:00
Mattias Gaertner
7ea975a869 pastojs: default(record)
git-svn-id: trunk@38882 -
2018-04-30 23:48:28 +00:00
Mattias Gaertner
8100f9b222 pastojs: nested classes
git-svn-id: trunk@38878 -
2018-04-30 18:03:48 +00:00
Mattias Gaertner
a918071130 pastojs: docs
git-svn-id: trunk@38876 -
2018-04-30 08:32:44 +00:00
Mattias Gaertner
994167481d pas2js: docs: record const
git-svn-id: trunk@38870 -
2018-04-29 19:26:57 +00:00
Mattias Gaertner
b6f50c9847 pas2js: docs: type alias type
git-svn-id: trunk@38853 -
2018-04-27 08:45:36 +00:00
Mattias Gaertner
47b350947f pas2js: added hexstr
git-svn-id: trunk@38846 -
2018-04-26 08:12:55 +00:00
michael
0adfb4fb02 * Fix bug ID #33651
git-svn-id: trunk@38845 -
2018-04-26 07:08:41 +00:00
Mattias Gaertner
0fd731efc5 pastojs: docs: typecast int(int)
git-svn-id: trunk@38843 -
2018-04-25 13:37:39 +00:00
Mattias Gaertner
2750a0010c fcl-passrc: resolver: GetElementSourcePos for intrinsic
git-svn-id: trunk@38841 -
2018-04-25 00:24:00 +00:00
Mattias Gaertner
1215cafb4e pastojs: range check string index
git-svn-id: trunk@38835 -
2018-04-24 18:01:53 +00:00
Mattias Gaertner
268ffcb854 pastojs: range check array index
git-svn-id: trunk@38834 -
2018-04-24 17:42:31 +00:00
Mattias Gaertner
65ae09a914 pastojs: range check char:=, char parameter
git-svn-id: trunk@38831 -
2018-04-24 11:51:49 +00:00
Mattias Gaertner
63032c796f pas2js: docs
git-svn-id: trunk@38826 -
2018-04-23 17:25:14 +00:00
Mattias Gaertner
73310ac57f pastojs: jsvalue:=currency
git-svn-id: trunk@38808 -
2018-04-22 11:35:58 +00:00
Mattias Gaertner
0601b437a4 pas2js: added option -JoUseStrict
git-svn-id: trunk@38793 -
2018-04-19 12:42:00 +00:00
Mattias Gaertner
2945f4a3c9 pas2js: changed TGuid to record
git-svn-id: trunk@38792 -
2018-04-19 12:16:03 +00:00
pierre
69376efa26 Regenerated Makefile's after addition of ppas and ppaslink script removal in rev 38745
git-svn-id: trunk@38748 -
2018-04-12 15:20:27 +00:00
Mattias Gaertner
e1ead17c77 pas2js: simplify
git-svn-id: trunk@38721 -
2018-04-09 22:36:10 +00:00
Mattias Gaertner
77cf535e21 pas2js: version 0.9.15
git-svn-id: trunk@38715 -
2018-04-08 15:37:03 +00:00
Mattias Gaertner
bb13e36c80 pas2js: docs: fixed typo
git-svn-id: trunk@38712 -
2018-04-08 13:05:14 +00:00
Mattias Gaertner
5140e1b022 pas2js: docs: interfaces JS
git-svn-id: trunk@38711 -
2018-04-08 12:59:12 +00:00
Mattias Gaertner
c2fe9080d6 pas2js: docs: guid
git-svn-id: trunk@38710 -
2018-04-08 12:20:58 +00:00
Mattias Gaertner
eb0992a79e pas2js: docs about class interfaces
git-svn-id: trunk@38708 -
2018-04-08 09:05:48 +00:00
Mattias Gaertner
52b1649b8f pas2js: utility functions for com interfaces
git-svn-id: trunk@38697 -
2018-04-06 10:38:37 +00:00
Mattias Gaertner
0fa83eade8 pas2js: rtl.js: added corba interface helper functions
git-svn-id: trunk@38652 -
2018-03-30 15:16:09 +00:00
Mattias Gaertner
97e74fe6fd pas2js: fixed typo
git-svn-id: trunk@38577 -
2018-03-19 18:31:34 +00:00
michael
4972a9fbb8 * Allow use of mime.types on windows
git-svn-id: trunk@38566 -
2018-03-18 18:16:48 +00:00
Mattias Gaertner
fe8f7a9876 pas2js: docs: property getter array element not supported
git-svn-id: trunk@38508 -
2018-03-12 16:55:54 +00:00
Mattias Gaertner
3508070d10 pas2js: set version 0.9.6
git-svn-id: trunk@38438 -
2018-03-06 17:52:07 +00:00
Mattias Gaertner
dd246f5698 pas2js: docs
git-svn-id: trunk@38436 -
2018-03-06 14:09:54 +00:00
Mattias Gaertner
fc805c4bd2 pas2js: marker for checking writeln statements
git-svn-id: trunk@38139 -
2018-02-06 13:50:18 +00:00
Mattias Gaertner
17c010b9a3 pas2js: catch jswriter exceptions
git-svn-id: trunk@38114 -
2018-02-04 18:49:06 +00:00
Mattias Gaertner
b8710d8fec fcl-passrc: fixed stConstDef for class local const
git-svn-id: trunk@38097 -
2018-02-01 17:48:44 +00:00
Mattias Gaertner
32fee98477 pas2js: docs: anonymous functions
git-svn-id: trunk@38095 -
2018-02-01 12:55:53 +00:00
Mattias Gaertner
1955a5bd1a pas2js: docs: reference to
git-svn-id: trunk@38094 -
2018-02-01 12:40:52 +00:00
Mattias Gaertner
d580402916 pastojs: set version 0.9.0
git-svn-id: trunk@38087 -
2018-01-31 13:07:49 +00:00
Mattias Gaertner
d139b3e8f1 pas2js: docs
git-svn-id: trunk@38078 -
2018-01-29 17:45:53 +00:00
Mattias Gaertner
898b566837 pas2js:: rtl.js: add Math.trunc only if used
git-svn-id: trunk@38059 -
2018-01-27 14:15:36 +00:00
michael
0ef3fc2f29 * Math.trunc polyfill
git-svn-id: trunk@38051 -
2018-01-26 20:33:42 +00:00
Mattias Gaertner
bd37d43f1c pas2js: search case insensitive by default
git-svn-id: trunk@38046 -
2018-01-25 21:36:01 +00:00
Mattias Gaertner
ade2779f93 pas2js: doc about -JmXSSIHeader
git-svn-id: trunk@38039 -
2018-01-25 14:17:03 +00:00
michael
7d355ffffc call rtl function cloneset with fully qualified name
git-svn-id: trunk@38036 -
2018-01-25 13:58:39 +00:00
Mattias Gaertner
ef7d13d112 pas2js: fixed srcmap header
git-svn-id: trunk@38033 -
2018-01-25 10:42:23 +00:00
Mattias Gaertner
c98c70548a fcl-js: srcmap: disable safety header by default, because not supported by Firefox
git-svn-id: trunk@38029 -
2018-01-25 09:06:54 +00:00
Mattias Gaertner
eebfb65131 pas2js: added option -Jmxssiheader
git-svn-id: trunk@38028 -
2018-01-25 09:01:57 +00:00
Mattias Gaertner
32f4d9e3a5 pas2js: range check int:=
git-svn-id: trunk@38011 -
2018-01-19 17:00:20 +00:00
Mattias Gaertner
afb4add9c7 fcl-passrc: renamed bsMethodCallChecks to bsObjectChecks
git-svn-id: trunk@38008 -
2018-01-19 09:35:29 +00:00
Mattias Gaertner
df61c3fa0d pas2js: -CR
git-svn-id: trunk@38005 -
2018-01-19 00:54:36 +00:00
Mattias Gaertner
89382e0929 pas2js: rtl.js isExt with check for instance
git-svn-id: trunk@38003 -
2018-01-19 00:03:08 +00:00
Mattias Gaertner
b54ca867b1 pas2js: rtl.js: set functions: remove hasOwnProperty - other properties are not enumerable, added rtl.checkMethodCall
git-svn-id: trunk@37999 -
2018-01-18 21:43:47 +00:00
Mattias Gaertner
5bccc69f6a pas2js: docs
git-svn-id: trunk@37998 -
2018-01-18 17:23:35 +00:00
Mattias Gaertner
700b2fdb03 pas2js: doc
git-svn-id: trunk@37993 -
2018-01-18 12:36:16 +00:00
Mattias Gaertner
1d4d34a52e pas2jslib: added SetPas2JSReadDirCallBack, AddPas2JSDirectoryEntry
git-svn-id: trunk@37967 -
2018-01-14 15:45:35 +00:00
Mattias Gaertner
70bc4e62ed pas2js: updated compileserver.lpi
git-svn-id: trunk@37904 -
2018-01-04 14:42:25 +00:00
michael
d9f733bada * Re-add Pas2jsLibCompiler to uses clause
git-svn-id: trunk@37881 -
2017-12-30 10:45:24 +00:00
michael
40cc1d3731 * Compile server
git-svn-id: trunk@37874 -
2017-12-29 19:08:29 +00:00
michael
364620fd73 * Use only project file
git-svn-id: trunk@37873 -
2017-12-29 19:07:47 +00:00
michael
00da85bea1 * Correct uses clause
git-svn-id: trunk@37872 -
2017-12-29 19:07:05 +00:00
Mattias Gaertner
9e01c15005 pas2jsL clean up
git-svn-id: trunk@37845 -
2017-12-28 15:11:27 +00:00