Commit Graph

58044 Commits

Author SHA1 Message Date
florian
bd96765632 * AVR: do not insert jmp if not supported
git-svn-id: trunk@43995 -
2020-01-19 18:04:58 +00:00
michael
5236f756d1 * More verbose error for array with non-supported element type
git-svn-id: trunk@43993 -
2020-01-19 16:46:30 +00:00
michael
d6894f2814 * Add calendar example
git-svn-id: trunk@43991 -
2020-01-19 16:34:03 +00:00
florian
28391e04bc + AVR: initial support of the avrtiny architecture in the rtl
git-svn-id: trunk@43988 -
2020-01-19 15:55:25 +00:00
florian
2d9cdab264 + AVR: initial support for the avrtiny architecture
git-svn-id: trunk@43987 -
2020-01-19 15:55:24 +00:00
florian
f629fa1bb9 * AVR: tcgavr.normalize_ref must always load the reference into tmpreg
git-svn-id: trunk@43986 -
2020-01-19 15:55:23 +00:00
florian
26eae3672b + AVR: GetDefaultZeroReg and GetDefaultTmpReg
git-svn-id: trunk@43985 -
2020-01-19 15:55:23 +00:00
florian
aaa6ae5770 + AVR: cputype cpu_avrtiny
git-svn-id: trunk@43984 -
2020-01-19 15:55:22 +00:00
florian
96a4cda03b * AVR: fixes pushing and handling of stack passed parameters
git-svn-id: trunk@43983 -
2020-01-19 15:55:21 +00:00
florian
6f434b6751 * AVR: fixed TDwarfAsmCFILowLevel.generate_initial_instructions
git-svn-id: trunk@43982 -
2020-01-19 15:55:21 +00:00
florian
4b4e316af0 * compilation fixed
git-svn-id: trunk@43981 -
2020-01-19 15:55:20 +00:00
michael
2266804e4d * Fix bug #36603, disable inline
git-svn-id: trunk@43977 -
2020-01-19 09:38:32 +00:00
florian
48236401e0 * voidcodepointertype => voidpointertype as suggested by Pierre
git-svn-id: trunk@43976 -
2020-01-18 21:51:27 +00:00
pierre
367eac9743 Enable libffi package on win32,win64 and BSD targets, remove CPU restriction
git-svn-id: trunk@43975 -
2020-01-18 21:23:21 +00:00
michael
0176697483 * Fix regression
git-svn-id: trunk@43974 -
2020-01-18 16:44:22 +00:00
michael
6984cf8606 * Fix bug #0036581, amended patch by Pascal Riekenberg
git-svn-id: trunk@43973 -
2020-01-18 16:40:57 +00:00
michael
0c2400e856 * Fix bug ID #0036482, various fixes by Alexey T.
git-svn-id: trunk@43972 -
2020-01-18 15:35:25 +00:00
marco
37a8536bd4 * undo 43513 which ifdefed usage of ismanagedtype for 3.2. 3.2 now supports ismanagedtype
git-svn-id: trunk@43971 -
2020-01-18 15:17:02 +00:00
marco
de7c03bd42 * License clarification OS2/emx after discussion. Be more clear it is emx-lib
license in copying.emx, and that allows to remove the NOT GPL clause that
   triggers license scanners. 

git-svn-id: trunk@43969 -
2020-01-18 11:53:10 +00:00
florian
22ab6dd329 * disabled mm procs again, they are not usable yet neither supposed to be
used

git-svn-id: trunk@43968 -
2020-01-18 11:37:57 +00:00
svenbarth
8184815780 * ensure that the new mm related procs are only used for 3.3.1 and newer as 3.2 and older don't support the corresponding SSE types
git-svn-id: trunk@43967 -
2020-01-18 11:22:24 +00:00
svenbarth
b3c579f49c * ensure that the includes for the new mm related files are indeed enabled
git-svn-id: trunk@43966 -
2020-01-18 11:22:20 +00:00
marco
ee760a60f4 * changed copyright to Sven since he is the first one with an implementation.
Florian added the file, but as empty skeleton

git-svn-id: trunk@43965 -
2020-01-17 17:51:20 +00:00
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