Commit Graph

57821 Commits

Author SHA1 Message Date
marco
edb07af423 * more GPL -> GPL with modification.
git-svn-id: trunk@43964 -
2020-01-17 15:01:23 +00:00
marco
c35ada7639 * short op for ident is t not d, probably copy and paste. Patch by Margers, mantis 36597
git-svn-id: trunk@43963 -
2020-01-17 12:23:42 +00:00
marco
3053f8c2e8 * many syscallh header files had GPL license instead of modified. I owned the copyright, or in one case, Thomas did, but it was a full copy of mine. -> changed to modified
* removed the remark about calling convention from several implementations. Oldfpccall no longer used.

git-svn-id: trunk@43962 -
2020-01-17 12:07:50 +00:00
Mattias Gaertner
2d9975fdcc pastojs: filer: generic class
git-svn-id: trunk@43960 -
2020-01-16 21:23:15 +00:00
michael
887c5e81b2 * Remove debug statement, patch by Pascal Riekenberg (Bug ID 36585)
git-svn-id: trunk@43955 -
2020-01-16 10:27:16 +00:00
michael
b938a9654e * Patch from Pascal Riekenberg to fix running a report twice. (Bug ID 36592)
git-svn-id: trunk@43954 -
2020-01-16 09:40:03 +00:00
Mattias Gaertner
e741c6aadd pastojs: filer: anonymous procedure
git-svn-id: trunk@43953 -
2020-01-15 21:06:56 +00:00
Mattias Gaertner
f3249cfe4d pastojs: filer: try-except
git-svn-id: trunk@43952 -
2020-01-15 20:53:38 +00:00
Mattias Gaertner
4f2861be1a pastojs: filer: with-do
git-svn-id: trunk@43951 -
2020-01-15 19:36:33 +00:00
marco
7fc9212ecd Two static inline constructors
git-svn-id: trunk@43950 -
2020-01-15 11:09:17 +00:00
florian
70a836c4a2 * first part of merging parts of Jeppe's intrinsics patch, mainly r31135
is merged by this commit with a lot of adaptions

git-svn-id: trunk@43949 -
2020-01-14 21:52:39 +00:00
ondrej
77fecff30e TStrings.SaveToStream(TStream): use FEncoding as the default for IgnoreEncoding=False so that loaded files are correctly resaved
git-svn-id: trunk@43948 -
2020-01-14 15:33:53 +00:00
ondrej
461a648f67 TStrings: default options:
* remove soWriteBOM for FPC backwards compatibility
* add soPreserveBOM so that a loaded file is correctly resaved

git-svn-id: trunk@43947 -
2020-01-14 15:30:38 +00:00
ondrej
c3f8b7c914 Revert r43942: TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
git-svn-id: trunk@43946 -
2020-01-14 15:17:30 +00:00
ondrej
6ed89d4101 TStrings: add missing SaveToFile overload with IgnoreEncoding parameter
git-svn-id: trunk@43945 -
2020-01-14 15:16:04 +00:00
ondrej
7dba9f0294 TStrings: old SaveToFile(string) and SaveToStream(TStream) should ignore Encoding and stay backwards compatible within FPC. Use the other overloads for Encoding-aware SaveTo* methods
git-svn-id: trunk@43942 -
2020-01-14 10:47:13 +00:00
ondrej
98a494c5d6 TIniFile: allow to set Encoding
git-svn-id: trunk@43939 -
2020-01-14 10:30:23 +00:00
ondrej
af98f78c63 TIniFile: fix encoding support:
* preserve loaded encoding (regression from r42932, issue #36052)
* preserve BOM of the original file.

git-svn-id: trunk@43938 -
2020-01-14 10:13:58 +00:00
ondrej
6385d582bb IniFiles: fix OwnsEncoding default values
git-svn-id: trunk@43937 -
2020-01-14 08:51:59 +00:00
ondrej
0c528a911d TIniFile: remove obsolete FBOM (it will be implemented with TEncoding support)
git-svn-id: trunk@43936 -
2020-01-14 08:44:35 +00:00
Jeppe Johansen
2678522db5 - RISC-V: Add controller types for common RV32 MCUs.
- Adds initial controller units for these MCUs.

Code contributed by Michael Ring

git-svn-id: trunk@43935 -
2020-01-13 22:54:26 +00:00
Jeppe Johansen
02c3f328a2 - RISC-V: Share optimizations between 32 and 64-bit.
git-svn-id: trunk@43934 -
2020-01-13 22:49:23 +00:00
Jeppe Johansen
7cfb87b325 - Handle jump optimizations on RISC-V
git-svn-id: trunk@43933 -
2020-01-13 22:42:39 +00:00
florian
931d4dcfee * ensure the rtl and the packages for embedded compile with features exceptions and classes disabled
git-svn-id: trunk@43931 -
2020-01-13 21:20:03 +00:00
michael
91f416fa80 * Fix from Pascal Riekenberg to fix nested groups (bug ID 36532)
git-svn-id: trunk@43930 -
2020-01-13 21:14:41 +00:00
ondrej
34fecf90f3 SysUtils: add ExpandFileName with a BasePath overload
git-svn-id: trunk@43928 -
2020-01-13 12:36:35 +00:00
florian
9926eb8dc6 * patch by Christo Crause: Passing a file name with extension to cross compiler
with -o causes error, fixed, resolves #36562

git-svn-id: trunk@43921 -
2020-01-12 20:57:52 +00:00
florian
5a1e6c2e91 * compilation on i386 fixed
git-svn-id: trunk@43920 -
2020-01-12 12:00:44 +00:00
florian
2b70c64d09 * patch by J. Gareth Moreton: Some cleaning up of OptPass2JMP and OptPass2MOV, resolves #36553
git-svn-id: trunk@43919 -
2020-01-12 10:33:21 +00:00
florian
124c64152d * patch by J. Gareth Moreton: EAX -> EDX:EAX sign extension shortcuts, and MOVSX shortcuts for AX register, part 2 of #36551
git-svn-id: trunk@43918 -
2020-01-12 09:20:01 +00:00
florian
236c11ef71 * patch by J. Gareth Moreton: EAX -> EDX:EAX sign extension shortcuts, and MOVSX shortcuts for AX register, part 1 of #36551
git-svn-id: trunk@43917 -
2020-01-12 09:20:00 +00:00
florian
1ceb5ea343 + lazarus project
git-svn-id: trunk@43916 -
2020-01-11 22:45:32 +00:00
joost
0c4fee714e * Removed some left-overs of dependencies on specific versions of packages
git-svn-id: trunk@43915 -
2020-01-11 21:46:51 +00:00
florian
007df5d0fa * fix for #36554
git-svn-id: trunk@43913 -
2020-01-11 21:15:19 +00:00
florian
aabd7c7217 * more fixes for loop strength reduction
git-svn-id: trunk@43912 -
2020-01-11 20:37:05 +00:00
florian
a9a711763f * some fixes to loop strength reduction
git-svn-id: trunk@43911 -
2020-01-11 16:08:46 +00:00
florian
2f2b378c03 * moved conversion of for into while loops in a separate pass, so node optimizations on the node tree can be
carried out without losing information from for loops

git-svn-id: trunk@43910 -
2020-01-11 16:08:45 +00:00
pierre
3b39ec84e4 Examine all exception bits in m68k fpsr register to decide which into which run time error it is converted
git-svn-id: trunk@43909 -
2020-01-10 22:58:34 +00:00
pierre
90d2982977 Wipe out any pre-existing exception on SetExceptionMask call for m68k cpu
git-svn-id: trunk@43908 -
2020-01-10 22:56:03 +00:00
florian
6f87a572af * factored out tcgprocinfo.OptimizeNodeTree
git-svn-id: trunk@43907 -
2020-01-10 21:47:20 +00:00
florian
f424ae3929 - cleanup comment
git-svn-id: trunk@43906 -
2020-01-10 21:34:30 +00:00
florian
30e186be78 * renamed sum -> defsum to avoid confusion with usesum
git-svn-id: trunk@43905 -
2020-01-10 21:34:30 +00:00
florian
b5659df425 + CalcUseSum: calculates a sum of all use sets of the current node and its children
git-svn-id: trunk@43904 -
2020-01-10 21:34:29 +00:00
svenbarth
7a0a1d9f36 * fix for Mantis #36544: provide an overall exception handler for the library startup code in case of unhandled exceptions (the loading of the library is considered failed in that case) when SEH is active
+ added test

git-svn-id: trunk@43901 -
2020-01-10 15:39:20 +00:00
michael
8700f1d090 * Patch from Pascal Riekenberg to allow saving rendered report to JSON (bug ID 36547)
git-svn-id: trunk@43900 -
2020-01-10 13:44:10 +00:00
michael
52c32837d1 * Fix from Pascal Riekenberg to fix failing tests
git-svn-id: trunk@43899 -
2020-01-10 13:35:01 +00:00
florian
3335104da2 * get paramstr(0) only if really needed
git-svn-id: trunk@43898 -
2020-01-09 20:35:37 +00:00
pierre
22806e31c3 Add possibility to set explicitly TEST_COMMENT variable, set as Comment field in dbdigest.cfg file (defaulting to TEST_OPT as before)
git-svn-id: trunk@43897 -
2020-01-09 14:40:44 +00:00
pierre
3eb14dd722 Avoid using <> for floating point values, check that abs of difference is small instead (fixes m68k 'pseudo-failure')
git-svn-id: trunk@43896 -
2020-01-09 14:38:58 +00:00
michael
3578510884 * Do not raise error in case of warning (bug ID 36541)
git-svn-id: trunk@43895 -
2020-01-09 09:52:25 +00:00