Commit Graph

55548 Commits

Author SHA1 Message Date
Jonas Maebe
1a559f5c60 * move the homogenous float aggregate determination function to a common
unit for ARM and AArch64

git-svn-id: trunk@41419 -
2019-02-23 15:42:39 +00:00
pierre
54ae0f7d64 * Use DupIgnore for TBuildEngine.Clean list of files to delete
+ Generate list of remaining files and call CmdDeleteFiles

git-svn-id: trunk@41418 -
2019-02-23 15:41:44 +00:00
pierre
1a564de6e6 Add testing of use of variable of class
git-svn-id: trunk@41417 -
2019-02-23 15:37:39 +00:00
Jonas Maebe
af36913469 * don't use cg64.a_load64_loc_cgpara() for 64 bit records passed in
non-integer registers

git-svn-id: trunk@41416 -
2019-02-23 15:08:29 +00:00
joost
42204977f8 * Patch from Bart Broersma to fix writing unicode strings in the Windows
registry + test (modified, bug #35060)

git-svn-id: trunk@41415 -
2019-02-22 22:26:21 +00:00
yury
382d5060a0 * aarch64: According to ARM64 ABI, function's arguments and the result are not required to be sign/zero extended to a full register size. Obey this rule for all targets except iOS where sign/zero extension is required.
git-svn-id: trunk@41412 -
2019-02-22 17:59:54 +00:00
michael
e9c4042023 * Add gif to help message
git-svn-id: trunk@41411 -
2019-02-22 08:07:21 +00:00
michael
373e6a78d7 * Support reading gifs
git-svn-id: trunk@41410 -
2019-02-22 08:05:24 +00:00
michael
fe505c12a9 * Patch from Anton Kavalenka to fix gif reading (bug ID 35134)
git-svn-id: trunk@41409 -
2019-02-22 08:03:39 +00:00
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