Commit Graph

57595 Commits

Author SHA1 Message Date
michael
4ded1eb698 * Fix memleak in comparer, improve date recognition
git-svn-id: trunk@43663 -
2019-12-08 20:05:53 +00:00
michael
04a51a622d * Fix memleaks (bug ID 36408)
git-svn-id: trunk@43662 -
2019-12-08 20:05:14 +00:00
michael
147a766890 * Indicate and use sqSequences connection info, fix bug #0035241 (statement for sqlite next sequence value)
git-svn-id: trunk@43655 -
2019-12-06 09:57:10 +00:00
michael
feb1dacd33 * Fix bug #0035436
git-svn-id: trunk@43654 -
2019-12-06 08:53:43 +00:00
florian
ac6e4f59c6 * better error recovery, resolves #36397
git-svn-id: trunk@43653 -
2019-12-05 20:46:50 +00:00
florian
266daa62f1 * updated arm linker script as proposed by Alfred, resolves #36395
git-svn-id: trunk@43651 -
2019-12-05 20:07:16 +00:00
Jonas Maebe
54d3c26e27 * renamed abi_linux386_sysv to abi_i386_dynalignedstack, and also use it
for Darwin-based i386 platforms

git-svn-id: trunk@43650 -
2019-12-05 19:38:01 +00:00
michael
694888e7c8 * Make sure open/close use same options in CSV close/open writing
git-svn-id: trunk@43648 -
2019-12-05 16:16:08 +00:00
michael
b82eaf4ce2 * Fix bug #32532: AV when killing daemon app
git-svn-id: trunk@43645 -
2019-12-05 14:54:15 +00:00
michael
00e132498e * Fix name array
git-svn-id: trunk@43644 -
2019-12-05 14:02:03 +00:00
michael
76a4638a46 * Rework default file mechanism in bufdataset to fix bug #34435
git-svn-id: trunk@43643 -
2019-12-05 14:01:43 +00:00
michael
e28b39e395 * Fix 16 bit support for PNM (bug ID 35080)
git-svn-id: trunk@43642 -
2019-12-05 12:51:14 +00:00
michael
db895fcebe * Fix bug #0036361, use buffer when reading csv
git-svn-id: trunk@43641 -
2019-12-05 10:43:02 +00:00
michael
6747654f7d * Fix bug ID #36399: add some easy access methods to TZipper/TUnzipper
git-svn-id: trunk@43640 -
2019-12-05 09:07:20 +00:00
michael
0add077916 * Fix bug ID #36385, CSV header contains also disabled fields
git-svn-id: trunk@43639 -
2019-12-04 12:07:17 +00:00
michael
cd8d75d5fa * Added possibility for array arguments
git-svn-id: trunk@43637 -
2019-12-04 11:42:48 +00:00
michael
575fd849b1 * Patch by Werner Pamler to delete builtin (bug ID 36396)
git-svn-id: trunk@43636 -
2019-12-04 11:30:04 +00:00
florian
0cb85eef9b * more currency fixes, should resolve #36176
git-svn-id: trunk@43635 -
2019-12-03 19:31:50 +00:00
pierre
c87facbae1 Use PInt64(@value_currency)^ construct to avoid internal error when starting from 3.0.4 ppcarm compiler
git-svn-id: trunk@43634 -
2019-12-03 16:05:30 +00:00
pierre
91e550edb6 Remove assigned but unused local variable i64 in taddnode.pass_typecheck_internal as suggested by Ondrej Pokorny
This also solves the "Invalid TypeCast Error" in rtl-objpas when compiled with -CriotR option.

git-svn-id: trunk@43631 -
2019-12-02 23:11:21 +00:00
michael
10ddaab97a * Enable compilation for Win64 bit
git-svn-id: trunk@43630 -
2019-12-02 23:00:11 +00:00
svenbarth
927c91e093 * fix for Mantis #36388: correctly handle generic constraints when looking for helpers
git-svn-id: trunk@43629 -
2019-12-02 22:29:34 +00:00
svenbarth
f2818bfe7a * apply patch by Blaise.ru to remove last remnants of VMT regeneration which is no longer needed/used
git-svn-id: trunk@43628 -
2019-12-02 22:29:29 +00:00
michael
b86b2f1b80 * Patch from Klaus (computertechnik@web.de) to read/write columncount/columngap
git-svn-id: trunk@43627 -
2019-12-02 21:42:32 +00:00
svenbarth
3ced30f816 * apply (adjusted) patch by Blaise.ru: vmtentries is always created since 2008, so treat it as such (also fixes a memory leak in tobjectdef.getcopy)
git-svn-id: trunk@43626 -
2019-12-02 06:59:05 +00:00
svenbarth
ea75253926 * initialize the defid in trecorddef.create_global_internal as unique_id_str needs it
git-svn-id: trunk@43625 -
2019-12-02 06:58:59 +00:00
svenbarth
80a4a01f12 + add a method to tdef to initialize the defid from within a constructor
git-svn-id: trunk@43624 -
2019-12-02 06:58:47 +00:00
florian
b8a78b135c * simplified and improved TX86AsmOptimizer.RegModifiedByInstruction
git-svn-id: trunk@43623 -
2019-12-01 22:15:48 +00:00
florian
86d8e79e86 * fix some currency issues, resolves #33963 and #36179
git-svn-id: trunk@43620 -
2019-12-01 20:24:00 +00:00
florian
f5496c9d11 * improved build unit lazarus project for linux
git-svn-id: trunk@43618 -
2019-12-01 08:41:26 +00:00
florian
f2a8b8ad6a * adapt register if the size of the paraloc and the register differ, resolves #34409
git-svn-id: trunk@43617 -
2019-11-30 20:37:55 +00:00
svenbarth
06c1a17d13 * use tdef.unique_id_str to generate the unique internal name for anonymous record defs as using the count of the deflist is no longer correct
git-svn-id: trunk@43616 -
2019-11-30 17:40:27 +00:00
joost
d8c81744d3 * Fix for timestamps very close to a whole day in Firebird
git-svn-id: trunk@43615 -
2019-11-30 11:04:19 +00:00
pierre
4e4f55ac0e Comparison nodes are always in LOC_REGISTER, never in LOC_JUMP for riscv32 or riscv64 CPUs
git-svn-id: trunk@43614 -
2019-11-29 23:28:05 +00:00
pierre
92b0ea7d02 Add explicit smallint typecast to first marameter of SarSmallint call to avoid range check errors
git-svn-id: trunk@43613 -
2019-11-29 23:26:45 +00:00
florian
d8f1aacd78 * better error recovery, resolves #36377
git-svn-id: trunk@43612 -
2019-11-29 22:13:17 +00:00
florian
4525edd9f7 * patch by J. Gareth Moreton: x86 implementation of RegModifiedByInstruction, resolves #36376
git-svn-id: trunk@43611 -
2019-11-29 21:57:53 +00:00
florian
3889529e45 * unified internalerror, resolves #36378
git-svn-id: trunk@43610 -
2019-11-29 21:06:12 +00:00
pierre
fb33da5f41 Change parameter type to tcgint for is_imm12 and is_lui_imm functions to avoid range check errors
git-svn-id: trunk@43609 -
2019-11-29 10:31:31 +00:00
marco
4715c94789 * set enum size to 4 only after jedi.inc that has statement
git-svn-id: trunk@43608 -
2019-11-29 09:59:24 +00:00
pierre
7405ae2758 Fix trv32notnode, by using same code as for riscv64 CPU
git-svn-id: trunk@43607 -
2019-11-28 22:34:04 +00:00
michael
4d0b049f4e * Less errors when connection is broken (bug ID 36373)
git-svn-id: trunk@43605 -
2019-11-28 16:19:30 +00:00
pierre
3db08d28e9 Set default stack size for i8086-embedded target: 16384 for far data model, and 2048 for other memory models
git-svn-id: trunk@43604 -
2019-11-28 14:50:55 +00:00
pierre
47b9ef4dc2 Disable ucomplex and matrix units for i8086-embedded target, because no fpu is installed in RTL by default
git-svn-id: trunk@43603 -
2019-11-28 13:47:47 +00:00
ondrej
c7a8267d91 fcl-db: ODBC: allow NULL parameters (TParam.Value := Null sets type to ftUnknown)
git-svn-id: trunk@43602 -
2019-11-28 12:59:13 +00:00
pierre
a9bb9f7310 Add '.module nomips16' at assembly entry for mips/mipsel unless -a5 option is used
git-svn-id: trunk@43600 -
2019-11-27 22:56:35 +00:00
pierre
ba73f7376f Also accept -a5 for older binutils for mips and mpisel cpus
git-svn-id: trunk@43599 -
2019-11-27 22:54:47 +00:00
pierre
01fbad64b7 Use defined(aarch64) instead of defined(cpuaarch64) for FPC_HAS_INTERNAL_ABS_INT64
git-svn-id: trunk@43598 -
2019-11-27 22:15:23 +00:00
florian
7000d82dcd * do not convert cmp 0,... into test ...,... before the post pass of the peephole optimizer
as this conversion might result in missing further optimizer opportunities

git-svn-id: trunk@43596 -
2019-11-26 22:09:34 +00:00
florian
7e6eeebdf0 o patch by J. Gareth Moreton, seeks to improve maintainability, safety and efficiency
in the peephole optimizer by slightly modifying some function headers based
    on their intended purpose, resolves #36353
    * Non-virtual methods and class methods that don't need to access any fields from
      the current object are now static methods, thus removing the hidden "Self"
      parameter and reducing overhead. This includes a large number of
      frequently-used functions such as SkipEntryExitMarker and SuperRegistersEqual.
    * GetNextInstruction, GetLastInstruction, SkipEntryExitMarker and
      SkipLabels have had their 'var' parameter changed to an 'out' parameter because
      they shouldn't depend on its input value. This will cause the compiler to throw warnings
      if you start using the value without initialising it first, and may open up optimisation
      opportunities in the future (e.g. storing written values in a temporary register
      and only writing it to the actual variable when the routine exits).

git-svn-id: trunk@43595 -
2019-11-26 22:09:33 +00:00