Commit Graph

55489 Commits

Author SHA1 Message Date
yury
3a43ffd57b * arm: Include pi_needs_got to current_procinfo.flags when the GOT register is accessed. It forces proper initialization of the GOT register at the beginning of a procedure. This fixes storing of a double constant to a field in a packed record and other rare copy operations when PIC is enabled.
git-svn-id: trunk@41405 -
2019-02-20 20:06:32 +00:00
yury
3e8c7f66b7 * arm: Fixed crash while loading double constants with PIC enabled. This is the regression after r41129. The crash has occurred due to usage of a rare code path. It will be fixed in the next commit.
git-svn-id: trunk@41404 -
2019-02-20 20:00:06 +00:00
yury
ad6642edc0 * android: Fixed stdio redirection for threads.
git-svn-id: trunk@41400 -
2019-02-20 15:11:45 +00:00
yury
c0e1ec9121 * pas2jni: Fixed exception handling.
git-svn-id: trunk@41396 -
2019-02-20 13:04:49 +00:00
yury
fa4596a08f * ppudump: Fixed warnings with -O3.
git-svn-id: trunk@41394 -
2019-02-20 10:24:48 +00:00
yury
9a3ddf650c * ppudump: Use buffered write when outputting to json or xml. It improves the output speed a lot.
git-svn-id: trunk@41393 -
2019-02-20 10:13:18 +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
yury
496693d77b * pas2jni: Fixed handling of array variables.
* pas2jni: Fixed Java warning for the PascalInterface class.

git-svn-id: trunk@41391 -
2019-02-20 08:33:17 +00:00
Mattias Gaertner
de59341cb7 pastojs: fixed MinMaxSafeIntDouble for significand bits instead of explicit bits
git-svn-id: trunk@41390 -
2019-02-20 02:22:36 +00:00
Mattias Gaertner
5d62a1cfcd fcl-passrc: fixed MinMaxSafeIntDouble for significand bits instead of explicit bits
git-svn-id: trunk@41389 -
2019-02-20 02:22:27 +00:00
Mattias Gaertner
d6f5792f36 fcl-js: fixed MinMaxSafeIntDouble for significand bits instead of explicit bits
git-svn-id: trunk@41388 -
2019-02-20 02:22:12 +00:00
Mattias Gaertner
8569bd2bf6 fcl-js: write 1.20E1 as 1.2E1
git-svn-id: trunk@41387 -
2019-02-20 02:21:56 +00:00
Mattias Gaertner
8ee668ad05 pastojs: range checking for type helpers and var/out arguments
git-svn-id: trunk@41386 -
2019-02-20 00:55:53 +00:00
Mattias Gaertner
97bbae538b fcl-passrc: parser: mode objfpc: generic function name<>...
git-svn-id: trunk@41378 -
2019-02-18 23:08:46 +00:00
yury
f7f1286e51 * pas2jni: Return null if a method pointer is empty.
git-svn-id: trunk@41374 -
2019-02-18 16:31:04 +00:00
yury
6d95018c80 * pas2jni: Properly handle Java exceptions when calling a callback Java method.
git-svn-id: trunk@41371 -
2019-02-18 10:19:20 +00:00
Mattias Gaertner
d0c9392d5e pastojs: clean up
git-svn-id: trunk@41365 -
2019-02-17 20:48:54 +00:00
Mattias Gaertner
4282b61e9f fcl-js: clean up
git-svn-id: trunk@41364 -
2019-02-17 20:48:43 +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
1a977e8efd pastojs: implemented class constructors
git-svn-id: trunk@41360 -
2019-02-17 20:43:58 +00:00
Mattias Gaertner
894aebf8dd fcl-passrc: usenanalyzer: class constructor/destructor
git-svn-id: trunk@41359 -
2019-02-17 20:43:15 +00:00
Mattias Gaertner
34515b09cf fcl-js: added TJSUnaryBracketsExpression, needed for (function(){})
git-svn-id: trunk@41358 -
2019-02-17 20:42:14 +00:00
nickysn
0a228b9115 + added missing dependencies on Unix-like platforms - unit 'keyboard' uses unit
'mouse' and unit 'mouse' uses unit 'video'.

git-svn-id: trunk@41353 -
2019-02-17 19:10:53 +00:00
joost
0814dad0ba * Fixed mistake in r41325, bug #35099
git-svn-id: trunk@41352 -
2019-02-17 18:39:09 +00:00
Mattias Gaertner
3ecfa10417 pastojs: fixed mark impl scope ref of VarRecs
git-svn-id: trunk@41350 -
2019-02-16 23:26:40 +00:00
Mattias Gaertner
73e1846222 resolver: treat array of const as open array
git-svn-id: trunk@41348 -
2019-02-16 20:00:11 +00:00
Mattias Gaertner
3cb31b75a7 pastojs: fixed typecast jsvalue(anobject/interface)
git-svn-id: trunk@41346 -
2019-02-16 19:48:10 +00:00
Mattias Gaertner
d2203e460c pastojs: fixed version check using current version
git-svn-id: trunk@41344 -
2019-02-16 19:46:11 +00:00
michael
fbba24d636 * Fix bug ID #35098 (count param)
git-svn-id: trunk@41343 -
2019-02-16 14:52:17 +00:00
michael
541bf05b94 * Add overloaded version of AssignFile with codepage. See bug ID #34889
git-svn-id: trunk@41342 -
2019-02-16 12:52:00 +00:00
michael
f737521590 * Patch from Ondrej Pokorny, to demonstrate alpha blending mode
git-svn-id: trunk@41341 -
2019-02-16 12:43:14 +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
michael
2b876c6079 * Actually call InitLeadBytes
git-svn-id: trunk@41337 -
2019-02-16 10:52:51 +00:00
michael
3fcc1c5f0e * Complete the implementation of IsLeadChar
git-svn-id: trunk@41336 -
2019-02-16 10:50:31 +00:00
Jonas Maebe
d99d1f1f30 * let the ARM code generator use the generic tcg.a_load_ref_cgpara() instead
of its own buggy version
   o added support to the generic version to override part of the functionality
     needed to implement an ARM quirk

git-svn-id: trunk@41335 -
2019-02-16 10:45:46 +00:00
Mattias Gaertner
e0ada1ced9 pastojs: use VarRecs only if called
git-svn-id: trunk@41333 -
2019-02-16 09:46:38 +00:00
michael
3d2de82656 * Fix bug ID #34854
git-svn-id: trunk@41332 -
2019-02-16 08:50:13 +00:00
michael
4143ecf6c0 Fix bug ID #35086: TParser should reset position (tentative)
git-svn-id: trunk@41331 -
2019-02-16 08:39:40 +00:00
michael
a750039f7c * Add overloaded version of stringreplace with replacement count (ID 23987)
git-svn-id: trunk@41330 -
2019-02-16 07:55:26 +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
d4512cc714 pastojs: array of const
git-svn-id: trunk@41327 -
2019-02-15 22:38:44 +00:00
Mattias Gaertner
28e509f8f9 fcl-passrc: resolver: array of const
git-svn-id: trunk@41326 -
2019-02-15 22:37:36 +00:00
joost
cd03f5326d * Fixed bug #35060, proper unicode-handling of registry-keynames. With test
(modified) from Bart Broersma

git-svn-id: trunk@41325 -
2019-02-15 21:25:05 +00:00
florian
e3546cf5af * properly quote pathes for objcopy calls, resolves #35072
git-svn-id: trunk@41324 -
2019-02-15 18:57:20 +00:00
yury
d55f1b69c0 * pas2jni: Accept partial names in inclusion/exclusion lists. Use wildcard * at the end of a partial name.
git-svn-id: trunk@41323 -
2019-02-15 16:05:19 +00:00
yury
fe8b98ded3 * pas2jni: Removed obsolete code.
git-svn-id: trunk@41320 -
2019-02-15 15:19:30 +00:00