Commit Graph

55309 Commits

Author SHA1 Message Date
florian
d1f11bb292 * always use $(GIT) to call git
(cherry picked from commit a4878d892c)

# Conflicts:
#	compiler/Makefile
2021-08-21 20:55:38 +02:00
florian
7ae51087e5 * compiler Makefile checks if SOURCE_SOURCE_DATE_EPOCH_DATE is set or if git is used, in either case the former or the latter are used for the build date reported by the compiler
git-svn-id: trunk@47133 -
(cherry picked from commit 201281ae2a)
2021-08-21 20:46:54 +02:00
florian
055283f9cb * set register size correctly for popcnt(<byte>), resolves #37400
(cherry picked from commit ed158f1e52)

# Conflicts:
#	.gitattributes
2021-08-21 16:36:43 +02:00
Pierre Muller
b9090f9117 Add several pattern from tests sub-directory to ignore list
(cherry picked from commit 9700c03699)
2021-08-20 23:37:55 +02:00
Pierre Muller
a837c8d47a Add several pattern from tests sub-directory to ignore list 2021-08-20 21:17:13 +00:00
florian
f58f92f005 * fix change information for popcnt
(cherry picked from commit a45123a87b)
2021-08-19 23:05:07 +02:00
Pierre Muller
18aae139cb Add support for hash generation for git repository (local modifier not implemented)
(cherry picked from commit 3da7d62b1a)
2021-08-18 12:27:22 +02:00
florian
1fd49868c7 * properly check if -unpushed should be appended in revision.inc
(cherry picked from commit 3e3f99c328)
2021-08-18 10:57:27 +02:00
florian
d48e34a81d + include -unpushed in revision.inc if not all changes are pushed to the remote
(cherry picked from commit 4c1eb4e454)
2021-08-17 23:01:40 +02:00
Pierre Muller
0e537519ac Add compiler/revision.inc to .gitignore list
(cherry picked from commit b962abc84f)
2021-08-17 12:32:05 +02:00
florian
c69fde258c * if sub nodes of a commutative node contain conditionally executed nodes, these sub nodes might not be swapped
as this might result in some nodes not being executed, like temp. create nodes with init. code, see e.g. issue #34653, resolves #34653
(cherry picked from commit e24449bcfd)

# Conflicts:
#	.gitattributes
2021-08-16 23:11:06 +02:00
florian
1127761f49 * do not swap left/right code generation for assignment nodes if
conditional expressions are involved, resolves #38129
(cherry picked from commit cc64d9eb4e)

# Conflicts:
#	.gitattributes
2021-08-16 23:08:20 +02:00
florian
3dae87fdb3 + test pastojs with regression tests
* switch extension to .pas for files which shall be ignored
    by the regression tests (they are found by the compiler automatically)

(cherry picked from commit d5dfb73898)
2021-08-16 23:02:48 +02:00
florian
94d126112c * testjson.pp needs to be compiled in objfpc mode, in particular when
being used in the regression tests

(cherry picked from commit 5995a9909b)
2021-08-16 21:56:22 +02:00
michael
151de3c1d8 * Remove debug statement
git-svn-id: trunk@49558 -
(cherry picked from commit 7a7abea0ee)
2021-08-16 21:47:57 +02:00
michael
8b48137f8c * Apply one JSON to another JSON object
(cherry picked from commit d56ddc28e8)

# Conflicts:
#	.gitattributes
2021-08-16 21:47:33 +02:00
florian
fa9822b8a5 * include fcl-json in regression tests
* switch extension to .pas for files which shall be ignored
    by the regression tests (they are found by the compiler automatically)

(cherry picked from commit 2efaee6d85)
2021-08-16 21:42:41 +02:00
florian
2e7736064e * use git describe to create a revision.inc if a .git dir is found
(cherry picked from commit 0ff3f04700)

# Conflicts:
#	compiler/Makefile
2021-08-16 21:37:51 +02:00
pierre
d1a642100a Add PPUDUMP variable to be able to specify explicit version of ppudump program, defaulting to ppudump executable in SEARCHPATH
git-svn-id: trunk@42580 -
(cherry picked from commit 754b1bd930)
2021-08-16 21:36:28 +02:00
Mattias Gaertner
6174962635 pastojs: updated logo year
git-svn-id: trunk@49332 -
(cherry picked from commit 23c913c65c)
2021-08-16 17:12:14 +02:00
Mattias Gaertner
f372945211 pastojs: createCallback: store events in $events to create unique method pointers, issue #38845
git-svn-id: trunk@49331 -
(cherry picked from commit f5d138eb08)
2021-08-16 17:12:13 +02:00
Mattias Gaertner
da996e0a0b fcl-passrc: fixed (intf as tobject).ClassType, issue #38805
git-svn-id: trunk@49272 -
(cherry picked from commit 0670980981)
2021-08-16 17:12:13 +02:00
Mattias Gaertner
20278cec06 pastojs: fixed rtti method flags
git-svn-id: trunk@49268 -
(cherry picked from commit 2d296fd879)
2021-08-16 17:12:13 +02:00
Mattias Gaertner
9b9e9c9b40 fcl-passrc: started specialize type reference a<b>.c
git-svn-id: trunk@49256 -
(cherry picked from commit 6d551fad4c)
2021-08-16 17:12:13 +02:00
Mattias Gaertner
dff41c209b pastojs: rtti of async function: pfAsync
git-svn-id: trunk@49255 -
(cherry picked from commit 1ab2ad3b06)
2021-08-16 17:12:12 +02:00
Mattias Gaertner
6f64bed140 fcl-passrc: started example issue #38784
git-svn-id: trunk@49254 -
(cherry picked from commit 74b8ccb992)
2021-08-16 17:12:12 +02:00
Mattias Gaertner
5c35337bc9 pastojs: specialize try except on, issue #38795
git-svn-id: trunk@49253 -
(cherry picked from commit be9b0adf71)
2021-08-16 17:12:12 +02:00
Mattias Gaertner
9d511d3a3f pastojs: clean up
git-svn-id: trunk@49227 -
(cherry picked from commit a8f8f0ef4e)
2021-08-16 17:12:12 +02:00
Mattias Gaertner
c258ce9688 pas2js: fixed delay init specializations after loading impl sections
git-svn-id: trunk@49226 -
(cherry picked from commit 1861dc83d9)
2021-08-16 17:12:12 +02:00
Mattias Gaertner
adf99f6d50 pastojs: fixed insert array
git-svn-id: trunk@49209 -
(cherry picked from commit b64d1f9dfd)
2021-08-16 17:12:11 +02:00
Mattias Gaertner
f90f5a390a pastojs: fixed multi add element position
git-svn-id: trunk@49122 -
(cherry picked from commit 204f2a3bc1)
2021-08-16 17:12:11 +02:00
Mattias Gaertner
fabb4b45f3 fcl-passrc: comment
git-svn-id: trunk@49121 -
(cherry picked from commit d28cf7c393)
2021-08-16 17:12:11 +02:00
Mattias Gaertner
bf2d8686ad fcl-passrc: fixed resolve multi add
git-svn-id: trunk@49120 -
(cherry picked from commit c28ab0a8b8)
2021-08-16 17:12:11 +02:00
Mattias Gaertner
140e0c02a0 pastojs: specialzie anonymous function
git-svn-id: trunk@49093 -
(cherry picked from commit b5a8164233)
2021-08-16 17:12:11 +02:00
Mattias Gaertner
2826d15137 pastojs: fixed -O- and record const, issue #38683
git-svn-id: trunk@49081 -
(cherry picked from commit 1fe486d8f6)
2021-08-16 17:12:10 +02:00
Mattias Gaertner
7107a30593 pastojs: clean up
git-svn-id: trunk@49079 -
(cherry picked from commit e7e2b7db41)
2021-08-16 17:12:10 +02:00
Mattias Gaertner
5c265c85b8 pastojs: fixed published field with anonymous array
git-svn-id: trunk@49076 -
(cherry picked from commit a357645384)
2021-08-16 17:12:10 +02:00
Mattias Gaertner
761d2c7551 pastojs: fixed insert(item,array,pos) when array=nil
git-svn-id: trunk@49073 -
(cherry picked from commit 97fd8638d5)
2021-08-16 17:12:10 +02:00
Mattias Gaertner
f53a486595 pastojs: filer: restore global shortref names
git-svn-id: trunk@49053 -
(cherry picked from commit e89e010155)
2021-08-16 17:12:09 +02:00
Mattias Gaertner
cbee1110e4 fcl-js: fixed writing multi add
git-svn-id: trunk@49048 -
(cherry picked from commit 5eda61e136)
2021-08-16 17:12:09 +02:00
Mattias Gaertner
0b7c5d2485 pastojs: filer: fixed writing class destructor
git-svn-id: trunk@49043 -
(cherry picked from commit 6fb57f8a92)
2021-08-16 17:12:09 +02:00
Mattias Gaertner
d65b4a6107 fcl-js: fixed mem leak
git-svn-id: trunk@49033 -
(cherry picked from commit cae74485cf)
2021-08-16 17:12:09 +02:00
Mattias Gaertner
16c118c881 pastojs: convert TBinaryExpr left lists without stack
git-svn-id: trunk@49031 -
(cherry picked from commit d62da7bc5d)
2021-08-16 17:12:09 +02:00
Mattias Gaertner
708de2786f fcl-passrc: process TBinaryExpr left lists without stack
git-svn-id: trunk@49030 -
(cherry picked from commit 3c18b7e3b6)
2021-08-16 17:12:08 +02:00
Mattias Gaertner
2833c60373 fcl-js: write and free TBinaryExpr left lists without stack
git-svn-id: trunk@49029 -
(cherry picked from commit de0e5919c9)
2021-08-16 17:12:08 +02:00
Mattias Gaertner
5795a143dd fcl-passrc: resolver: resolve multi add expressions without stack
git-svn-id: trunk@49027 -
(cherry picked from commit 786688eef6)
2021-08-16 17:12:08 +02:00
Mattias Gaertner
63534c35a8 pastojs: precompiled proc: store shortref to enumtype of enumvalue
git-svn-id: trunk@49025 -
(cherry picked from commit 8b09375ec2)
2021-08-16 17:12:08 +02:00
Mattias Gaertner
a778ccee9e pastojs: fixed compileserver --simpleserver and -d relative path
git-svn-id: trunk@49024 -
(cherry picked from commit 8b63a69f59)
2021-08-16 17:12:08 +02:00
michael
7fa2dcb800 * Remove debug statement
git-svn-id: trunk@49014 -
(cherry picked from commit 452cdf73b9)
2021-08-16 17:12:07 +02:00
michael
8d7f707d31 * discardresult modifier
git-svn-id: trunk@49013 -
(cherry picked from commit 702322cfde)
2021-08-16 17:12:07 +02:00