Commit Graph

2778 Commits

Author SHA1 Message Date
Michael VAN CANNEYT
54dd32805e * Remove unused KnownArchitectures tryout 2023-06-22 09:44:45 +02:00
florian
20884fdc1b * search for i386-linux-gcc also by trying i686-linux- as prefix as
apparently for newer gcc -m32 does not return the proper libgcc path anymore
2023-06-20 23:16:16 +02:00
Michael VAN CANNEYT
193550945c * Lazarus project file
* Remove unused KnownArchitectures tryout
* Add SUB_TARGET
2023-06-19 07:04:50 +00:00
Michaël Van Canneyt
1d7e346831 * Disable result, explicit list cmmand-line argument 2023-06-05 11:43:07 +02:00
Michaël Van Canneyt
bcdd3cd84b * Correct command-line handling 2023-06-01 17:41:54 +02:00
Michael VAN CANNEYT
a6b01f2b20 * Rework so scanner & lexer files do not contain actual code. Code is moved to scanbase and h2pbase units 2023-05-19 18:01:10 +02:00
mattias
1066a0dbfd pas2js: createSafeCallback: return null for null 2023-05-13 11:24:38 +02:00
marcoonthegit
fba564242e * remove unused variable, reported by lagwagging on on forum. 2023-04-20 16:31:33 +02:00
Pierre Muller
5343ada365 Commit new utils/fpcm/revision.inc after aarch64-iphonesim target addition 2023-03-28 09:45:56 +00:00
Dmytro Bogatskyy
327aac7f24 Add aarch64-iphonesim target 2023-03-27 18:45:00 +00:00
mattias
93a47ddada pas2js: fixed compileserver compile with fpc 3.2.2 2023-02-14 22:38:42 +01:00
Pierre Muller
73f11c71cb Commit new revision.inc file after f737860763 2023-02-07 22:19:47 +00:00
Jinyang He
783bbb66f9 Update Makefiles 2023-02-05 19:18:48 +00:00
Jinyang He
7cde8df8c7 Add loongarch64 packages support 2023-02-05 19:18:48 +00:00
Jinyang He
f737860763 Add loongarch64 fpcmake support 2023-02-05 19:18:48 +00:00
marcoonthegit
d2ddf47d19 * generate fp.cfg help section. 2023-01-28 15:22:35 +01:00
florian
048385fd7f * compilation fixed 2023-01-28 11:42:52 +01:00
florian
3e75ba52f3 * initial preparations for riscv32-freertos 2023-01-27 22:39:15 +01:00
florian
5691f2a2c0 + support of octal literals 2023-01-21 22:14:56 +01:00
Michaël Van Canneyt
b5763eb412 * Added some debugging aids 2023-01-17 14:32:38 +01:00
Michaël Van Canneyt
eb1905a607 * Correct exception handling 2023-01-16 14:02:15 +01:00
Michaël Van Canneyt
98404eab49 * Fix alias typed documentation 2023-01-16 14:02:15 +01:00
Michaël Van Canneyt
dcd7758e4c * Debug statement 2023-01-16 14:02:15 +01:00
mattias
0f43c7b229 pas2js: use exename instead of paramstr 0, to search pas2js.cfg in exe location 2022-10-25 17:52:08 +02:00
Michaël Van Canneyt
9e60c686b4 * Add crossoriginisolation and debugcapture 2022-10-19 22:57:11 +02:00
Henrique Gottardi Werlang
2bf377744a Changed the interface creation to keep the generic name of an interface. 2022-09-23 23:14:17 +00:00
mattias
02f41731eb pastojs: fixed concat array of record and static array 2022-09-12 22:18:24 +02:00
mattias
e9c278b9f1 fpdoc: fixed ElementType, issue 39887 2022-09-10 16:22:11 +02:00
mattias
e1312deafe pas2js: fixed array push records/sets 2022-07-29 13:24:22 +02:00
mattias
c9947b4ee6 webidl: added option --globals 2022-07-27 23:56:59 +02:00
mattias
0ac7e38797 webidl: wasmjob: split unit 2022-06-24 19:51:32 +02:00
mattias
8d79dcc0d0 webidl: exitcode 1 on exception, wasmjob: units 2022-06-23 17:18:28 +02:00
mattias
a9ec4b3767 webidl: added -f 2022-06-23 16:24:16 +02:00
mattias
832bbe9cab webidl: TWebIDLToPasWasmJob clean up 2022-06-23 16:19:51 +02:00
mattias
f26725e70c pas2js: fixed rtl.arrayPush copy instead of reference 2022-06-21 09:08:28 +02:00
mattias
b4926283f8 webidltopas: show source positions 2022-06-20 08:42:50 +02:00
mattias
b4cf545a94 webidltopas: started split TWebIDLToPas2js 2022-06-19 22:05:12 +02:00
mattias
ad9383f2c0 webidltopas: started outputformat 2022-06-19 21:03:10 +02:00
mattias
bf25b32cb2 webidl: fixed typos 2022-06-18 15:49:51 +02:00
Michaël Van Canneyt
b16ce8806b * Fix arrayPush 2022-06-18 14:49:10 +02:00
mattias
5446a3afec webidl: fixed parsing optional attributes 2022-06-15 00:10:19 +02:00
mattias
bcdb68a8c4 webidl: fixed keeping stacktrace on exception, fixed uninitializd var in ParseConst, gitignore linux test file, parse empty interface without brackets 2022-06-14 18:13:15 +02:00
mattias
1e3c5865de pastojs: fixed concat append for nil and referenced array 2022-06-10 23:12:30 +02:00
mattias
d3a2145e5a pastojs: faster AnArray:=Concat(AnArray,...) 2022-06-10 18:46:18 +02:00
mattias
cba89a4713 pas2js: faster arrayConcatN 2022-06-10 16:32:52 +02:00
mattias
2dd072a492 pastojs: started array of interface 2022-06-10 15:48:21 +02:00
mattias
acc8c69cf5 fpdoc: free TPasElement instead of reference count 2022-06-09 17:01:03 +02:00
mattias
1a28b1b5c4 fpdoc: less hints 2022-06-04 22:51:41 +02:00
Nikolay Nikolov
8c562995d7 * regenerate makefiles with latest fpcmake 2022-05-24 14:01:59 +03:00
Michaël Van Canneyt
050153fb50 * Make sure webcompiler works again 2022-05-18 12:36:31 +02:00
marcoonthegit
ca332f1002 * also remove .git dirs. 2022-05-06 18:44:57 +02:00
florian
7b39089d4f * updated 2022-04-27 22:57:43 +02:00
florian
fc6d558727 * compile always with -CX -XX for Z80 2022-04-24 21:38:41 +02:00
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
Michaël Van Canneyt
92b51febc6 * Fix AV 2022-04-04 14:47:16 +02:00
inoussa
551f267670 Unicode source code's size reduction: short field names, delete unicodenumtable.pas. 2022-03-26 21:17:54 +00:00
suve
a68884f750 Make pas2jni use cthreads on Unices 2022-03-16 22:32:50 +00:00
inoussa
27ed2808dc Unicode 14, Unicode Collation Algorithm 14, CLDR 40 support. 2022-03-15 10:19:15 +00: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
8639dea46c Update to revision 6d26d56f2f 2022-03-07 23:42:37 +00:00
Pierre Muller
6d26d56f2f Do not use -m32 option to find generic gcc library 2022-03-07 23:41:44 +00:00
Pierre Muller
ad2ac98858 Update Makefile's 2022-03-07 22:35:29 +00:00
Pierre Muller
c23a64523e Update revision.inc to 982071d4a9 hash 2022-03-07 07:33:52 +00:00
Pierre Muller
982071d4a9 Try to fix mips gcc troubles 2022-03-06 12:14:51 +00:00
florian
3164b535e5 * revision.inc update 2022-03-04 22:48:16 +01:00
florian
5bdf60376a * patch from Debian package by Abou Al Montacir: Change path of localization fies to fit Debian standard, http://bugs.debian.org/73368 2022-03-04 22:48:16 +01:00
florian
19ff0fe9e5 * patch from Debian packages by Paul Gevers, fixes spelling 2022-03-04 22:48:16 +01: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
ac3fab3e92 Update utils/fpcm/revision.inc to commit d0db89072e 2022-02-15 15:47:14 +00: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
Pierre Muller
d0db89072e Enable mips64-linux target 2022-02-15 15:35:10 +00:00
Pierre Muller
855a0af427 Update utils/fpcm/revision.inc after commit 6bded28a10 2022-02-15 14:52:08 +00:00
Pierre Muller
7e7072c823 Update utils/fpcm/revision.inc after commit 8d65554495 dated 2022/02/13 2022-02-14 22:35:04 +00:00
Pierre Muller
6bded28a10 Fix gcc options for mips CPU 2022-02-14 22:34:13 +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
florian
a1f865ae45 * updated 2022-02-06 13:51:05 +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
florian
b2eaa4e701 + some MIPS64 stuff added to the Makefiles 2022-02-02 22:14:43 +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
Pierre Muller
ca8a94e693 Disable utils tply package for all wasm32 targets as it uses goto's 2022-01-25 22:02:56 +00:00
Pierre Muller
40cf71c9a5 Disable h2pas utils package for wasm32 as this CPU does not support goto 2022-01-24 18:25:51 +00: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
Pierre Muller
c83c89128a Update fpcmake.inc after addition of aarch64-embedded target 2022-01-06 14:26:15 +01:00
mattias
e8bf381702 pas2js: compileserver: set default port 3000 2022-01-06 13:16:23 +01:00
florian
4ef8ae2a63 * updated revision after 53e5a4a0 2022-01-05 21:00:58 +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
bb182470a5 * Prepend T when writing pointer types and PrependTypes is set 2021-12-30 18:46:25 +01:00
Michaël Van Canneyt
f590e65c7b * out and var are reserved words 2021-12-30 18:40:08 +01: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
florian
d71346aa37 * comment corrected
- option -date=iso is not needed when retrieving the hash
2021-12-08 20:47:42 +01:00
Florian Klämpfl
56c1e1a5f2 * generate revision.inc using git log with a date format argument compatible with older git 2021-12-07 22:24:52 +01:00
Pierre Muller
b3fb6a0ec0 Commit revision.inc change after 7d1b7eda0e 2021-11-26 07:52:15 +00:00
Pierre Muller
271ba59cf1 All Makefile's regenerated 2021-11-25 22:13:32 +00:00
Pierre Muller
c9ee52a8f5 Regenerated fpcmake.inc after previous commit: Use filter instead of findstring make function when a whole word needs to match 2021-11-25 21:42:17 +00:00
Pierre Muller
7d1b7eda0e Use filter instead of findstring make function when a whole word needs to match 2021-11-25 21:41:35 +00:00
florian
65ef6f1f37 * regenerated Makefiles 2021-11-24 22:50:37 +01:00
florian
5c9de7edd7 * compile fpc with -Cg on powerpc64-linux 2021-11-24 22:45:38 +01:00
florian
1ebc0350d3 * fpcmake uses now git for date and hash in revision.inc 2021-11-24 22:37:20 +01:00
mattias
82cbaa0dc5 fpdoc: gitignore linux binary 2021-11-03 21:57:32 +01:00
mattias
0aecf4d89f pastojs: library: create and call main 2021-10-20 11:32:54 +02:00
Pierre Muller
c616832792 Disable utils packages for wasi OS if required package is not supported or if labels are used (which is not supported for wasm32 target CPU) 2021-10-18 22:41:38 +00:00
Pierre Muller
d4e610dbc3 Disable utils/fpcmkcfg package for wasi OS as it requires packages/fpmkunit package 2021-10-18 22:03:42 +00:00
Pierre Muller
b93998c17c Disable utils for wasi target, because paszlib cannot be compiled due to use of goto labels 2021-10-08 08:41:14 +00: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
Michaël Van Canneyt
848bd3e0c0 * Fix compation 2021-09-01 09:29:50 +02:00
Michaël Van Canneyt
592c2ea0fb * Remove unneeded diagnostic output 2021-09-01 09:29:50 +02:00
Michaël Van Canneyt
45c6833258 * --example-dir support 2021-08-09 16:46:30 +02:00
nickysn
618237a1c7 * update revision.inc
git-svn-id: trunk@49553 -
2021-06-24 00:17:52 +00: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
pierre
8ac821613f Disable sinclairql target OS for most utils packages
git-svn-id: trunk@49194 -
2021-04-12 21:32:34 +00:00
Jonas Maebe
500e29e5e2 * regenerated with FreeBSD/AArch64 support
git-svn-id: trunk@49159 -
2021-04-10 08:19:40 +00:00
Jonas Maebe
c970c17eca * updated revision.inc
git-svn-id: trunk@49158 -
2021-04-10 08:19:20 +00:00
Jonas Maebe
d8021a1102 + FreeBSD/AArch64 support (patch by Mikaël Urankar, mantis #38441)
git-svn-id: trunk@49157 -
2021-04-10 07:57:28 +00:00
pierre
b0c434b2b2 Disable most utils for SinclairQL for now
git-svn-id: trunk@49152 -
2021-04-09 20:15:48 +00:00
pierre
432cd5bdd3 Update after commit 49123
git-svn-id: trunk@49130 -
2021-04-06 21:14:42 +00:00
florian
e4cc8af8fc * Makefiles regenerated
git-svn-id: trunk@49124 -
2021-04-05 15:39:07 +00:00
florian
fe06cddbbf * pass suitable sysroot to aarch64-darwin compiler, if none is supplied by SYSROOTPATH
git-svn-id: trunk@49123 -
2021-04-05 15:38:37 +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
pierre
632e3ff2cd Use utils as shortname also
git-svn-id: trunk@49058 -
2021-03-26 23:35:38 +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
michael
452cdf73b9 * Remove debug statement
git-svn-id: trunk@49014 -
2021-03-19 14:39:20 +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