ondrej
9a9cd15ec4
TInterfacedObject.Destroy: fix case for correct auto-completion
...
git-svn-id: trunk@43418 -
2019-11-08 21:29:26 +00:00
michael
5f6f5cb864
* Bit helpers for ordinal functions, adapted from batch by Thaddy De Koning (bug ID 0036146)
...
git-svn-id: trunk@43417 -
2019-11-08 11:43:10 +00:00
michael
f622f58b04
* Observe doclear
...
git-svn-id: trunk@43416 -
2019-11-08 09:31:45 +00:00
michael
e578477334
* Refactor AddDelimitedText/SetDelimitedText
...
git-svn-id: trunk@43415 -
2019-11-08 09:21:08 +00:00
michael
d3ceede910
* Reduce use of Length(aValue) in setdelimitedtext
...
git-svn-id: trunk@43414 -
2019-11-08 08:36:31 +00:00
florian
d275e7a7e6
* removed accidently committed debug statement
...
git-svn-id: trunk@43413 -
2019-11-07 21:12:47 +00:00
florian
c8f746b881
* do not allocate an extra register for some integer operations if not needed
...
git-svn-id: trunk@43412 -
2019-11-07 21:08:08 +00:00
svenbarth
b0ac0ddcc9
+ add support for the IsManagedType() intrinsics which reports for a type (or variable) whether it needs initialization/finalization
...
+ added tests
git-svn-id: trunk@43409 -
2019-11-06 23:04:52 +00:00
Jonas Maebe
490f057aa1
* replaced the arrays in the generic set helpers with arrays of 32 bytes
...
instead of high(cardinal), so LLVM doesn't get tricked into massively
unrolling and parallelising those loops
git-svn-id: trunk@43408 -
2019-11-06 21:50:23 +00:00
Jonas Maebe
ac1e0f96bd
* replaced tentryfile.get/putsmall/normalset() with a common tget/putset
...
that expects an open array of byte, and use it for all sets
o since all sets need to be typecasted to an array type of the appropriate
size, we'll get a compilation error in case this needs to be done and
that also tells us at the same time that the ppu version will need to
be increased
* enabled {$packset 1} for the compiler, as this is now safe with the above
changes
git-svn-id: trunk@43407 -
2019-11-06 21:50:19 +00:00
michael
3b867da924
* Add AddDelimitedText,AddCommatext by Werner Pamler (bug ID 36249)
...
git-svn-id: trunk@43405 -
2019-11-06 10:51:34 +00:00
michael
2557c8e99b
* Fix bug ID #0036268 , more descriptive comment
...
git-svn-id: trunk@43404 -
2019-11-06 10:42:11 +00:00
pierre
fff3b67b7e
Remove ALLOW_WARNINGS=1 for m68k compiler
...
git-svn-id: trunk@43392 -
2019-11-05 10:37:19 +00:00
pierre
7d12e8cc6d
Avoid warnings for m68k compiler
...
git-svn-id: trunk@43391 -
2019-11-05 10:00:48 +00:00
florian
fabe4cc067
* patch by Christo Crause: reg. allocation information if non-volatile registers
...
are used for parameter passing as it is might happen on avr, resolves #36079
git-svn-id: trunk@43390 -
2019-11-04 20:14:46 +00:00
marco
ee5fe9ef79
* patch from Keith Bowes, mantis #23950
...
git-svn-id: trunk@43389 -
2019-11-04 15:43:12 +00:00
yury
937683ec8f
* pas2jni: Filter out advanced methods and properties of RTL classes to prevent overbloated code.
...
git-svn-id: trunk@43386 -
2019-11-03 18:51:33 +00:00
florian
d3c5bd2a3e
* test for tw36212
...
git-svn-id: trunk@43385 -
2019-11-03 17:33:26 +00:00
florian
c6659d62f8
* do not join register deallocations/allocations as it makes no use and causes later on trouble in
...
the assembler optimizer as register allocations are not correct, resolves #33565
git-svn-id: trunk@43384 -
2019-11-03 17:13:59 +00:00
yury
a09c0a6857
* pas2jni: Exclude TExtended80Rec by default.
...
git-svn-id: trunk@43383 -
2019-11-03 16:00:41 +00:00
florian
b8f186dab2
* reverted r43366
...
git-svn-id: trunk@43382 -
2019-11-03 14:42:02 +00:00
yury
b988837d1b
* pas2jni: Skip var parameters of unsupported types.
...
git-svn-id: trunk@43381 -
2019-11-03 14:26:00 +00:00
yury
b4e0c72cbe
* pas2jni: Fixed more case statement warnings.
...
git-svn-id: trunk@43376 -
2019-11-03 13:22:14 +00:00
yury
843b1b0d49
* Fixed case statement warnings.
...
git-svn-id: trunk@43375 -
2019-11-03 13:13:52 +00:00
Jonas Maebe
62da49577d
* set default Mac OS X/OS X/macOS target version to 10.8 for i386 and x86-64,
...
instead of the previous 10.4 for i386 and 10.5 for x86-64. This prevents
issues with finding the crt.* files, as starting with 10.8 those files
are no longer required.
git-svn-id: trunk@43374 -
2019-11-02 22:44:15 +00:00
florian
20a47afe13
* more aggressive LeaCallLeaRet2Jmp
...
git-svn-id: trunk@43373 -
2019-11-02 22:37:31 +00:00
florian
1fc7667b3b
+ LeaCallLeaRet2Jmp
...
git-svn-id: trunk@43372 -
2019-11-02 22:37:30 +00:00
florian
6842c5784d
* CallRet2Jmp works with PIC
...
git-svn-id: trunk@43371 -
2019-11-02 22:37:29 +00:00
florian
3487c34ed9
* unified TX86AsmOptimizer.OptPass1MOVAP and TX86AsmOptimizer.OptPass1VMOVAP
...
git-svn-id: trunk@43370 -
2019-11-02 18:48:23 +00:00
florian
f9530437c2
* fix i386 building
...
git-svn-id: trunk@43369 -
2019-11-02 18:34:53 +00:00
florian
c3ef42b164
* allow cmov with memory reference if it is a pure symbol or a rip relative symbol: as the symbol is
...
allocated within the image of the program, this should never cause a seg. fault, so it is save
to use cmov with it
git-svn-id: trunk@43368 -
2019-11-02 18:09:11 +00:00
florian
5ead23513d
* more overloads for Math.Min/Max, resolves #36161
...
git-svn-id: trunk@43366 -
2019-11-02 16:21:43 +00:00
michael
faee789507
* Add some functional methods to TStrings
...
git-svn-id: trunk@43365 -
2019-11-02 15:08:27 +00:00
yury
4ade471488
* GetModuleByAddr: Prevent returning a name of the current executable for invalid addresses such as pointer(-1) on Windows.
...
git-svn-id: trunk@43364 -
2019-11-02 14:54:25 +00:00
michael
6f80223b64
* Fix bug ID #36248
...
git-svn-id: trunk@43363 -
2019-11-02 14:35:18 +00:00
michael
bd91c559ee
* Forgot to commit
...
git-svn-id: trunk@43362 -
2019-11-02 14:33:19 +00:00
marco
8bf9854dbe
* chmcmd enable widestring manager for Linux. Binaries are now libc dependent.
...
patch by C western, mantis #36247
git-svn-id: trunk@43361 -
2019-11-02 13:54:16 +00:00
michael
00e358f15a
* Fix bug #36244
...
git-svn-id: trunk@43360 -
2019-11-02 13:07:34 +00:00
svenbarth
ccb169b0f1
* correctly handle PE COMDAT sections: like for the Comdat groups in ELF files the unused symbols need to be converted to externals so that relocations are handled correctly
...
git-svn-id: trunk@43359 -
2019-11-02 12:36:30 +00:00
svenbarth
c6a08cdc6e
+ add a Flush method to TExeMap which is useful when debugging internal errors or crashes where the exemap instance has not yet been destroyed
...
git-svn-id: trunk@43358 -
2019-11-02 12:36:26 +00:00
michael
20ca7d857c
* Fix bug ID #36234 : unicodedatastering must be of type unicodestring
...
git-svn-id: trunk@43357 -
2019-11-02 11:51:28 +00:00
michael
c6f53adf89
* Explicitly use UTF8, fix bug ID #36231 : RTF export must write unicode chars escaped
...
git-svn-id: trunk@43356 -
2019-11-02 11:42:32 +00:00
michael
51b1f6a47c
* Fix case where table streams are nil
...
git-svn-id: trunk@43355 -
2019-11-02 11:17:37 +00:00
michael
078534472b
* Patch from Michal Gawrycki to handle duplicating strings (bug ID 36243)
...
git-svn-id: trunk@43354 -
2019-11-02 10:28:27 +00:00
michael
30bc217d55
* Fix bug ID #0036246 , delphi compatibility property
...
git-svn-id: trunk@43353 -
2019-11-02 10:25:42 +00:00
florian
ae04e5d7f0
* avr: apply LdiOp2Opi optimization also to and and sub
...
git-svn-id: trunk@43352 -
2019-11-01 18:39:18 +00:00
florian
828e961f3d
* remove unused constants
...
git-svn-id: trunk@43351 -
2019-11-01 18:39:17 +00:00
florian
701848889e
* avr: help the compiler with constant loading to avoid ie 200309041
...
git-svn-id: trunk@43350 -
2019-11-01 18:39:16 +00:00
florian
e8a48be3bc
* avr: more precise execution weigth for shift loops
...
git-svn-id: trunk@43349 -
2019-11-01 18:39:15 +00:00
florian
f61207f1cc
* avr directly encodes constant shifts of 64 bit values
...
git-svn-id: trunk@43348 -
2019-11-01 18:39:15 +00:00