Commit Graph

60312 Commits

Author SHA1 Message Date
lacak
d68ce429ab fcl-db: base: add some of new Delphi field types into enumeration TFieldType
(ftOraTimeStamp, ftOraInterval, ftLongWord, ftShortint, ftByte, ftExtended)

git-svn-id: trunk@47217 -
2020-10-27 10:01:30 +00:00
michael
6d5816085d * Fix for 37993, attempt to prevent memory leak in case of database shutdown
git-svn-id: trunk@47216 -
2020-10-27 08:25:28 +00:00
florian
3baddff71e + inline subroutines with formal parameters as well
git-svn-id: trunk@47214 -
2020-10-26 22:18:03 +00:00
Mattias Gaertner
b864cc4723 pastojs: fixed a/b<0 for currency
git-svn-id: trunk@47213 -
2020-10-26 21:47:31 +00:00
Mattias Gaertner
b52744bcbf pastojs: fixed a div b<0
git-svn-id: trunk@47212 -
2020-10-26 21:23:34 +00:00
florian
dfaee4f04b * patch by Jan Bruns to solve an issue with the new overloading selection code, resolves #37969
git-svn-id: trunk@47211 -
2020-10-26 20:58:24 +00:00
ondrej
b51729dac5 File datetime UTC support
git-svn-id: trunk@47210 -
2020-10-26 20:39:21 +00:00
yury
438bba76b9 + Added a test for: When {$mode delphi} and {$modeswitch nestedprocvars} it is allowed to assign a nested routine which does not use parentfp to a regular procvar. And then call this procvar without any side effects.
git-svn-id: trunk@47209 -
2020-10-26 17:53:40 +00:00
pierre
bf5b85e5e5 Also look for function name of 'result' is not found in load_result_node
git-svn-id: trunk@47208 -
2020-10-26 14:45:34 +00:00
pierre
e50a388f30 Change CLZ support for arm32 minimal CPU to armv5t according to ARM documentation in arminst.dat
git-svn-id: trunk@47207 -
2020-10-26 13:40:45 +00:00
ondrej
0d08b98d47 GetLocalTimeOffset: DateTime-aware overloads (Windows supported, Unix is a ToDo). Issue #35710
git-svn-id: trunk@47206 -
2020-10-26 12:29:18 +00:00
Mattias Gaertner
f15deb1640 pastojs: uses in filename: if not found try pcu
git-svn-id: trunk@47205 -
2020-10-26 12:15:09 +00:00
ondrej
f529253c0b Deprecate TUnicodeSearchRec.Time and TRawbyteSearchRec.Time
git-svn-id: trunk@47204 -
2020-10-26 09:31:54 +00:00
ondrej
34d3429e43 More precise FileAge
git-svn-id: trunk@47203 -
2020-10-26 09:15:26 +00:00
Mattias Gaertner
46f527f593 pastojs: filer: use precompiled names for shortrefs
git-svn-id: trunk@47202 -
2020-10-25 20:39:42 +00:00
florian
17c0291e86 * cache IsATTY value
git-svn-id: trunk@47201 -
2020-10-25 19:07:44 +00:00
florian
ff6a58ff89 * colored message output as requested in #37331, so far linux only
git-svn-id: trunk@47200 -
2020-10-25 17:04:33 +00:00
Mattias Gaertner
375c9c544b pastojs: filer: specializetype after spec was already created
git-svn-id: trunk@47199 -
2020-10-25 16:29:08 +00:00
svenbarth
16eb670e67 * use the sizes of the floatx80 and float128 structs for arrays having their size to avoid problems with padding on different platforms
git-svn-id: trunk@47198 -
2020-10-25 15:36:31 +00:00
svenbarth
52cf07d968 * the define to check for inclusion in the System unit is FPC_IS_SYSTEM, *not* FPC_IN_SYSTEM
git-svn-id: trunk@47197 -
2020-10-25 15:20:39 +00:00
svenbarth
b0f0ff1bc6 * fix for Mantis #37986: apply patch by Bart Broersma to fix a typo in a comment
git-svn-id: trunk@47196 -
2020-10-25 13:20:38 +00:00
svenbarth
d51213d26a * adjust softfpu unit so that it can be really used as a standalone unit instead of mainly as part of the System unit
git-svn-id: trunk@47193 -
2020-10-25 10:18:18 +00:00
svenbarth
225bc70e7e * regenerate Makefiles
git-svn-id: trunk@47192 -
2020-10-25 10:18:14 +00:00
svenbarth
8badcbdd0d * explicit build rules are not required for the softfpu units that are build with a buildrtl
git-svn-id: trunk@47191 -
2020-10-25 10:18:09 +00:00
svenbarth
8eefb37b42 * fix buildrtl units on Amiga-likes
git-svn-id: trunk@47190 -
2020-10-24 21:25:04 +00:00
florian
0ba44502f9 * generate gcc compatible location output also if no column is known
git-svn-id: trunk@47189 -
2020-10-24 21:07:32 +00:00
svenbarth
985c4fafeb * regenerate Makefiles after adding the softfpu units
git-svn-id: trunk@47188 -
2020-10-24 20:58:24 +00:00
svenbarth
707034b271 + add all softfpu units for various targets
git-svn-id: trunk@47187 -
2020-10-24 20:58:08 +00:00
svenbarth
0df460f56e * simplify rules for softfpu units
git-svn-id: trunk@47186 -
2020-10-24 20:57:56 +00:00
michael
b5148304b7 * Added InitSSLInterface overload where the library names can be specified
git-svn-id: trunk@47174 -
2020-10-24 16:29:33 +00:00
pierre
297f468cd6 Use // comments as curly brackets not recognized as comment start inside aarch64 assembly blocks
git-svn-id: trunk@47164 -
2020-10-23 22:21:06 +00:00
florian
8fa62752d4 * patch by J. Gareth Moreton: minor refactor of reduced iterations of pass 1 of the assembler optimizer, resolves #37972
git-svn-id: trunk@47163 -
2020-10-23 20:05:18 +00:00
florian
703941dde5 + x86: MovxMov2Mov optimization
git-svn-id: trunk@47162 -
2020-10-23 20:05:17 +00:00
Jonas Maebe
6d0ce1c4b6 * LLVM: ensure that the parameter types are processed of procdefs that are
declared when they get first called
   o fixes compilation of several tests/test/tobjc* tests after r46675

git-svn-id: trunk@47160 -
2020-10-23 15:09:34 +00:00
Jonas Maebe
14b44f5179 * don't run interactive test
git-svn-id: trunk@47159 -
2020-10-23 15:09:31 +00:00
Jonas Maebe
0729340817 * try_make_mul32to64: restore original node order if transformation failed
o this gets called by taddnode.pass_1, which caches the left/right
   node types/resultdefs

git-svn-id: trunk@47158 -
2020-10-23 13:34:24 +00:00
pierre
51d6622148 Switch OpenBSD libc version of geterrnolocation from libcerrno lib C variable to _libc___errno function use
git-svn-id: trunk@47157 -
2020-10-23 10:25:44 +00:00
florian
dc547b1426 + remove type conversions also for unary operations if possible
git-svn-id: trunk@47155 -
2020-10-22 21:25:37 +00:00
florian
74d145bb16 * simplify tcgunaryminusnode.second_integer
git-svn-id: trunk@47154 -
2020-10-22 21:25:36 +00:00
Mattias Gaertner
993c511554 pastojs: filer: class forward
git-svn-id: trunk@47153 -
2020-10-22 20:07:02 +00:00
florian
6fc930a0fc * better complexity calculation of tvecnodes
git-svn-id: trunk@47151 -
2020-10-21 20:46:28 +00:00
florian
044133fc87 * explicitly convert array indicies to pointer sized integers, so cse
can handle the conversion

git-svn-id: trunk@47150 -
2020-10-21 20:46:28 +00:00
florian
4afa4a73c6 + ISO mode: accept put/get without parameter, works on Input/Output respectively, resolves #37949
git-svn-id: trunk@47147 -
2020-10-20 21:03:51 +00:00
florian
91a6223281 * (slight modified) patch by J. Gareth Moreton to reduce number of assembler optimizer passes, resolves #37959
git-svn-id: trunk@47146 -
2020-10-20 20:03:25 +00:00
florian
8bbc7d5df3 * patch by J. Gareth Moreton to improve LEA/SHL -> LEA optimisation, resolves #37954
git-svn-id: trunk@47143 -
2020-10-19 19:46:10 +00:00
Jonas Maebe
099134b545 * fix try_make_mul32to64() if it's called with a constant node on the
left (mantis #37878)
   o can happen if use_generic_mul32to64 returns false

git-svn-id: trunk@47142 -
2020-10-19 19:10:16 +00:00
michael
0e474f4748 * Patch from Laco with additions
git-svn-id: trunk@47138 -
2020-10-19 11:25:21 +00:00
pierre
3f19bd693f + Add new LastCommonAsmOp constant to arm and aarch64 CPU targets.
* Uses this new constant to define TCommonAsmOps set type.
  + Use this constant in armgen/aoptarm MatchInstruction function,
    to avoid a range check error when compiling with -CriotR with optimization.

git-svn-id: trunk@47137 -
2020-10-19 09:19:25 +00:00
Mattias Gaertner
764b035c23 pastojs: fixed compile
git-svn-id: trunk@47136 -
2020-10-19 07:21:16 +00:00
Mattias Gaertner
79935d8579 pastojs: filer: local specialize type
git-svn-id: trunk@47134 -
2020-10-18 20:29:54 +00:00