Commit Graph

462 Commits

Author SHA1 Message Date
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
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
michael
73b65f5a15 * Restrict list of OSes to same list as in pastojs package
git-svn-id: trunk@37837 -
2017-12-28 08:57:08 +00:00
michael
4a566ceec1 * Move compiler files to package.
* Separate lib compiler from library file.

git-svn-id: trunk@37835 -
2017-12-27 17:12:19 +00:00
michael
44b2419d5e * Config file in home dir has . prepended on unix
git-svn-id: trunk@37828 -
2017-12-27 09:29:28 +00:00
Mattias Gaertner
df5a9333a7 pas2js: bool switches $hints, $notes, $warnings
git-svn-id: trunk@37823 -
2017-12-26 22:24:05 +00:00
Mattias Gaertner
94b485a56e pas2js: docs
git-svn-id: trunk@37818 -
2017-12-26 14:56:57 +00:00
Mattias Gaertner
3b37083979 pas2js: allow $ScopedEnums
git-svn-id: trunk@37817 -
2017-12-26 14:46:38 +00:00
Mattias Gaertner
c64562e80c pas2js: docs
git-svn-id: trunk@37814 -
2017-12-26 10:48:51 +00:00
Mattias Gaertner
d3553337ca pas2js: doc about enumerators
git-svn-id: trunk@37808 -
2017-12-25 12:02:20 +00:00
Mattias Gaertner
17b4e63d05 pas2jslib: compile with 3.0.4
git-svn-id: trunk@37807 -
2017-12-25 12:02:02 +00:00
Mattias Gaertner
a9bf0ed28c pas2js 0.8.41
git-svn-id: trunk@37806 -
2017-12-25 10:12:10 +00:00
michael
cb4b68b574 * version 40
git-svn-id: trunk@37797 -
2017-12-24 13:55:14 +00:00
michael
68ed736c93 * Add .pas file read callback
git-svn-id: trunk@37794 -
2017-12-24 12:34:31 +00:00
michael
cb46e21bc3 * Correctly observe result of FileRead callback
git-svn-id: trunk@37793 -
2017-12-24 12:33:08 +00:00
Mattias Gaertner
656ddcccf7 pas2js: added OnReadFile hook
git-svn-id: trunk@37792 -
2017-12-24 10:12:59 +00:00
Mattias Gaertner
3165651bfd pas2js: docs
git-svn-id: trunk@37790 -
2017-12-24 09:31:14 +00:00
Mattias Gaertner
25d44b3637 pas2js: docs: class constructor
git-svn-id: trunk@37784 -
2017-12-22 18:30:05 +00:00
Mattias Gaertner
e00e7d9cfd pas2js: fixed handlign error on first token of used unit
git-svn-id: trunk@37782 -
2017-12-21 22:24:06 +00:00
Mattias Gaertner
b307930443 pas2js: updated cfg
git-svn-id: trunk@37779 -
2017-12-21 22:08:37 +00:00
Mattias Gaertner
8edb5541a3 pas2js: comment
git-svn-id: trunk@37769 -
2017-12-20 00:34:56 +00:00
Mattias Gaertner
effbafabd2 pas2js: fixed globbing * ignoring . and ..
git-svn-id: trunk@37765 -
2017-12-19 11:46:35 +00:00
Mattias Gaertner
8d36c0d64e pas2js: added -i -iD -iSO -iSP -TO -iTP
git-svn-id: trunk@37754 -
2017-12-18 13:23:46 +00:00
michael
3496256179 * Added library version of pas2js
git-svn-id: trunk@37752 -
2017-12-17 08:27:27 +00:00
michael
8342c502c5 * Initial check-in of pas2js changes
git-svn-id: trunk@37749 -
2017-12-16 15:55:10 +00:00
pierre
d18627f0af * Update all fpcsrc Makefile's using latest fpcmake version 2017-09-21 rev 37286
git-svn-id: trunk@37462 -
2017-10-16 00:27:27 +00:00
Károly Balogh
04dee0fc04 regenerated Makefiles for m68k-macos target
git-svn-id: trunk@37034 -
2017-08-22 11:16:42 +00:00
michael
cccff83bab * Fix compilation
git-svn-id: trunk@36817 -
2017-08-02 11:11:54 +00:00
pierre
2371755b4f Regenerate with sparc64-linux target
git-svn-id: trunk@36391 -
2017-06-01 13:40:25 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
michael
a1303eecde * Fixed from Mattias Gaertner
pasresolver: checking all varargs arguments
  pasresolver: checking arguments are readable
  fppas2js: fixed using externals from other units

git-svn-id: trunk@35631 -
2017-03-20 07:31:39 +00:00
michael
78e7f59982 * Patch from Mattias Gaertner
- external vars
    - untyped parameters
    - varargs
    - SetLength(s,len) is now converted to s.length=len
    - destructor now clears references
    - dynamic arrays now are never null.
      - anArr:=nil  becomes  anArr = []
      - anArr=nil becomes anArr.length==0
      - passing nil to an array parameter passes []
      - length(anArr) becomes anArr.length
      - High(anArr) becomes anArr.length-1
    - sets now uses references when assigning and passing to a parameter.
      Far less clone operations.

git-svn-id: trunk@35505 -
2017-03-01 17:41:16 +00:00
michael
0da38fd281 * Patch from Mattias Gaertner:
- local const: declare as local var in singleton parent function 
  - give procedure overloads in module unique names by appending $1, $2, ...
  - give nested procedure overloads unique names by appending $1, $2, ...
  - give reintroduced/overloaded class members unique names by appending $1, $2, ...
  - record operators = and <>
  - static arrays
    - range: enumtype
    - init as arr = rtl.arrayNewMultiDim([dim1,dim2,...],value)
    - init with expression from const array
    - length(1-dim array)
    - low(1-dim array), high(1-dim array)
  - property TargetProcessor
  - ECMAScript6:
    - use 0b for binary literals, and 0o for octal literals

git-svn-id: trunk@35491 -
2017-02-28 13:23:49 +00:00
michael
2d36af85bb * Patch from Mattias Gaertner with various improvements:
+ changed varname/funcname properties to string, saving many conversion
  + array of record
  + pass by reference
    - pass local var to a var/out parameter
    - pass variable to a var/out parameter
    - pass reference to a var/out parameter
    - pass array element to a var/out parameter
  + proc types
    - implemented as immutable wrapper function
    - assign := nil, proctype (not clone), @function, @method
    - call  explicit and implicit
    - compare equal and notequal with nil, proctype, address, function
    - assigned(proctype)
    - pass as argument
    - methods
    - mode delphi: proctype:=proc
    - mode delphi: functype=funcresulttype
  + class-of
    - assign :=   nil, var
    - call class method
    - call constructor
    - operators =, <>
    - class var, property, method
    - Self in class method
    - typecast

git-svn-id: trunk@35472 -
2017-02-22 20:59:23 +00:00
michael
7702ebb261 * Patch from Mattias Gaertner; SetCharAt
git-svn-id: trunk@35429 -
2017-02-12 15:17:12 +00:00
michael
f5b76b62fe * Patch from Mattias Gaertner:
- set operator functions
  - dyn array can be null

git-svn-id: trunk@35418 -
2017-02-10 23:26:14 +00:00
michael
eaa02f2f88 * Basic RTL for pas2js generated programs
git-svn-id: trunk@35384 -
2017-02-04 11:31:55 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
nickysn
2e3cb70489 * regenerated makefiles after adding the win16 target
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
joost
d53da9192b * Renamed pas2js package to utils-pas2js, for consistency
git-svn-id: trunk@29397 -
2015-01-04 20:46:57 +00:00
joost
fcade9d8b8 * Re-generated utils-Makefile.fpcs and Makefiles
git-svn-id: trunk@29394 -
2015-01-04 20:37:29 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
michael
181892cc5f * First implementation of pas2js converter program
git-svn-id: trunk@27476 -
2014-04-05 09:19:55 +00:00