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
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