Jeppe Johansen
4b227de02e
Add ORN instruction for Thumb2.
...
git-svn-id: trunk@39714 -
2018-09-08 12:10:51 +00:00
michael
2d1ea8070e
* Fix bug #34241 using provided suggestion by Christo Crause
...
git-svn-id: trunk@39713 -
2018-09-08 10:15:57 +00:00
florian
f040c19fd6
* cleanup
...
git-svn-id: branches/laksen/riscv_new@39712 -
2018-09-07 19:22:59 +00:00
svenbarth
92cce05f5f
* as a workaround for some compiler bug introduced during 3.1.1 the freeing of the management operator offset entry lists is moved to a nested procedure as that does not trigger the bug (even with -O2 or -O3)
...
git-svn-id: trunk@39711 -
2018-09-04 20:20:07 +00:00
svenbarth
ba08bdc9b1
* increase PPU version after the addition of the field to keep track of management operators (don't seperately to help merging)
...
git-svn-id: trunk@39710 -
2018-09-03 18:00:30 +00:00
svenbarth
600ed6701e
+ keep track whether a structured type has fields with management operators (or fields that in turn have fields with management operators and so on) and store that in the PPU to speed up compilation again
...
* adjusted PPUdump for this
git-svn-id: trunk@39709 -
2018-09-03 18:00:27 +00:00
marco
d2607b0b76
* small verbosity improvements
...
git-svn-id: trunk@39708 -
2018-09-03 15:14:45 +00:00
marco
733559b633
* improve seealso handling when reading back binindex with chmls
...
* avoid trailing zero chars when reading back binindex with chmls
git-svn-id: trunk@39707 -
2018-09-03 15:11:33 +00:00
michael
d8e483ddd4
* Fix bug #34216
...
git-svn-id: trunk@39706 -
2018-09-03 07:49:38 +00:00
svenbarth
c337575f69
* fix test 26481: it tests for something different than the incorrect type parameters and in fact the need to fix this highlights the need for the previous changes
...
git-svn-id: trunk@39704 -
2018-09-02 16:20:32 +00:00
svenbarth
46ef16ac11
* generate an error if the type parameters of a generic routine's definition does not match with its interface or forward declaration
...
+ added tests
git-svn-id: trunk@39703 -
2018-09-02 16:20:29 +00:00
svenbarth
50323043c1
* generate an error if the type parameters of the record, object or class do not match with its declaration
...
+ added test
git-svn-id: trunk@39702 -
2018-09-02 16:20:25 +00:00
svenbarth
03a036c6cb
* regenerate msg*.inc after adding messages for mismatching generic declarations
...
git-svn-id: trunk@39701 -
2018-09-02 16:20:22 +00:00
svenbarth
cfe75ca0fd
+ add messages to use when generic types of a definition do not match with its declaration
...
git-svn-id: trunk@39700 -
2018-09-02 16:20:18 +00:00
svenbarth
17ebe6e28f
* also move to the next field when skipping it
...
git-svn-id: trunk@39699 -
2018-09-02 16:20:15 +00:00
Jeppe Johansen
29ea4ed07d
Add rounding mode operands.
...
Add support for trunc and round methods.
git-svn-id: branches/laksen/riscv_new@39698 -
2018-09-01 19:48:44 +00:00
Jeppe Johansen
2af0ca8546
Fix bugs caused by swapping of operands in float comparisons.
...
git-svn-id: branches/laksen/riscv_new@39697 -
2018-09-01 19:47:28 +00:00
Jeppe Johansen
ba8245dccb
argc is a longint.
...
git-svn-id: branches/laksen/riscv_new@39696 -
2018-09-01 19:46:04 +00:00
svenbarth
70ae0a2dc9
+ add a comment to the destructor of tsymtable so that others (and maybe me a well) will hopefully see that the destructor of that class is not completely trivial!
...
git-svn-id: trunk@39694 -
2018-08-31 19:16:48 +00:00
svenbarth
072699d38a
* protect the destructors of tabstractrecordsymtable and twithsymtable against executing when called with a refcount > 1 (this fixes Mantis #34210 )
...
+ added simplified test
git-svn-id: trunk@39693 -
2018-08-31 19:16:45 +00:00
svenbarth
10886d8cef
* fix for Mantis #34206 : when specializing nested routines of a generic routine we don't need access to their genericdef (which isn't available anyway in other units when loading from PPU) as their definition is completely contained in the token stream
...
+ added simplified test for the problem
git-svn-id: trunk@39692 -
2018-08-31 16:11:05 +00:00
svenbarth
897abb72e6
- disable debug options -gv, -pg and -gh for the chmcmd project
...
git-svn-id: trunk@39691 -
2018-08-31 12:58:35 +00:00
svenbarth
a076677336
* instead of a flags field generate a table with all Initialize operators of all fields (nested or not, parent class or not) for class types; objects and records don't use this (yet)
...
git-svn-id: trunk@39690 -
2018-08-29 19:21:35 +00:00
svenbarth
21e7ddaac7
+ add method to retrieve a list of management operator/field offset pairs for a specific management operator inside a structured type (no matter how deeply nested they are)
...
git-svn-id: trunk@39689 -
2018-08-29 19:21:31 +00:00
svenbarth
ecc02f3fdb
* always search in the current module as well as its symtables are be popped already in case of RTTI generation
...
git-svn-id: trunk@39688 -
2018-08-29 19:21:28 +00:00
svenbarth
190716ac0e
* move getrecorddef and gettabledef from TVMTWritter to symdef as they might be used from the RTTI as well
...
git-svn-id: trunk@39687 -
2018-08-29 19:21:23 +00:00
svenbarth
2e1327b6b2
* use pooled constant references for the parameter locations as more often than not they're equal between multiple methdos (e.g. the Self argument is always the same)
...
* using this the TypInfo unit can navigate interface methods and VMT method parameters much more quickly as the latter have a constant size now
git-svn-id: trunk@39686 -
2018-08-29 19:20:31 +00:00
svenbarth
029ec93df6
* use pooled constant references for the names of VMT methods in the RTTI
...
git-svn-id: trunk@39685 -
2018-08-29 19:20:27 +00:00
svenbarth
228d3252cc
* use pooled constant references for the parameter names of VMT methods in the RTTI
...
git-svn-id: trunk@39684 -
2018-08-29 19:20:24 +00:00
svenbarth
8bf3661f7f
+ add a method to emit a reference to a pooled shortstring constant (aka one per unit); very useful for new RTTI tables to avoid poluting the binary with string constants
...
git-svn-id: trunk@39683 -
2018-08-29 19:20:20 +00:00
marco
0f619c3ef8
* two new priority classes for all but wince. See comments in process.pp
...
* some left over changes to RunCommandEventCode in preparation of more events.
git-svn-id: trunk@39681 -
2018-08-29 10:00:36 +00:00
marco
b929b8b8eb
* fix for #34185 , pallette not nilled, causes problems when reader is recycled.
...
git-svn-id: trunk@39676 -
2018-08-28 08:46:43 +00:00
marco
0b9ee238b5
* windows unit enhancements from mantis #34184
...
git-svn-id: trunk@39675 -
2018-08-27 18:11:40 +00:00
svenbarth
d9cb5c4502
+ add a Boolean8 alias for Boolean for symmetry's sake (fixes Mantis #34058 )
...
git-svn-id: trunk@39673 -
2018-08-24 15:53:10 +00:00
svenbarth
d8f024a490
* improve DirectoryExists() and FileExists() based on patch by Serge Anvarov in Mantis #32370 so that they also support files/directories that aren't accessible (e.g. the page file) as well as FollowLink = False
...
git-svn-id: trunk@39672 -
2018-08-24 15:34:09 +00:00
svenbarth
e110d90127
+ implement FileGetSymLinkTarget() based on patch by Serge Anvarov in Mantis #32370
...
git-svn-id: trunk@39671 -
2018-08-24 15:34:04 +00:00
svenbarth
b9721003f0
+ add missing defines
...
git-svn-id: trunk@39670 -
2018-08-24 15:33:55 +00:00
svenbarth
09e5f463dc
+ add Delphi-compatible FileGetSymLinkTarget functions to all platforms (currently returns False on all platforms); this also includes TSymLinkRec variants for both RawByteString and UnicodeString
...
git-svn-id: trunk@39669 -
2018-08-24 15:33:45 +00:00
svenbarth
92dcdd8b5b
+ add Delphi compatible FollowLink parameter (default is True) to FileExists and DirectoryExists; support for it is up to each target
...
git-svn-id: trunk@39668 -
2018-08-24 15:33:09 +00:00
michael
3e3c8fdbc1
* Fixed bug ID #33743 with provided patch. (erroneous exception in getbinarydata)
...
git-svn-id: trunk@39667 -
2018-08-24 08:16:49 +00:00
michael
a6f61d6cd7
* Fix bug #34176 , use access field when creating key
...
git-svn-id: trunk@39666 -
2018-08-24 08:09:24 +00:00
marco
315fe21718
* deprecations, remove oldlinux.
...
git-svn-id: trunk@39663 -
2018-08-23 07:57:56 +00:00
marco
096e7d7513
* add prawbytestring.
...
git-svn-id: trunk@39662 -
2018-08-22 12:26:42 +00:00
michael
fd8641d83c
* Fix bug #34164 - Fix use of AssertCount and use overloaded ComparisonMsg
...
git-svn-id: trunk@39660 -
2018-08-21 13:24:17 +00:00
michael
e6304da9a6
* Inadvertenly applied untested change, undo
...
git-svn-id: trunk@39659 -
2018-08-21 08:44:47 +00:00
michael
74b6fb2bfe
* Patch from Bart Broersma to fix bug ID #33993
...
git-svn-id: trunk@39658 -
2018-08-21 08:43:31 +00:00
marco
aaef0d5570
* removed a space, mantis #34149
...
git-svn-id: trunk@39657 -
2018-08-20 16:15:42 +00:00
marco
1e60364572
* another stat file cleanup.
...
git-svn-id: trunk@39655 -
2018-08-20 14:27:59 +00:00
marco
8554332c1d
* centralize some type definitions so that they are compatible between process and processunicode
...
* add an extra parameter to the callback in preparation of readoutput callbacks.
This is needed to let the callback differentiate between stderr or stdout callbacks
* rename processunicode class to TProcess on recommendation of MvC.
git-svn-id: trunk@39651 -
2018-08-20 11:46:11 +00:00
florian
70b2e11e6a
* fix SetRoundingMode on RiscV64
...
git-svn-id: branches/laksen/riscv_new@39646 -
2018-08-19 15:26:44 +00:00