svenbarth
|
b8af1f912a
Don't return class instances in parameters even if they are reference counted (might lead to potential problems, but otherwise some of the compiler's expectations regarding class instances fail).
|
11 years ago |
svenbarth
|
8b7f561408
Revert unintended commit.
|
11 years ago |
svenbarth
|
0c9cca0a20
Correctly handle reference counted classes inside their constructors.
|
11 years ago |
svenbarth
|
80faa51a90
Don't try to load the RTTI for reference counted classes.
|
11 years ago |
svenbarth
|
3a0fca6380
Reference counted classes are considered as needing an init table.
|
11 years ago |
svenbarth
|
8721896d92
Initialize reference counted class variables (or out parameters) with Nil.
|
11 years ago |
svenbarth
|
41269d6072
Call the RTL helpers for reference counted classes.
|
11 years ago |
svenbarth
|
e358ac5482
Handle initialization/finalization and copying of records.
|
11 years ago |
svenbarth
|
2a4e3a5c3b
Add support for manual reference counting of reference counted class instances.
|
11 years ago |
svenbarth
|
7e9484ad0a
Add RTL Helpers for increasing and decreasing reference count as well as assigning reference counted class instances to one another.
|
11 years ago |
svenbarth
|
eef2c1652f
Add the offset to the reference count field relative to Self to the VMT (which works better than adding it to the RTTI).
|
11 years ago |
svenbarth
|
878483ad50
Add possibility to query the hidden field of a class that represents the reference count
|
11 years ago |
svenbarth
|
4b6216ddd7
"Self" variable is considered as "weak".
|
11 years ago |
svenbarth
|
d71f6a6ac3
Correctly denote the Result symbol as "weak" if it was parsed as such.
|
11 years ago |
svenbarth
|
586c54dad2
Add support for parsing "refcounted" in classes.
|
11 years ago |
svenbarth
|
1671645bc0
Add support for parsing "weak" directive for variables, fields and parameters.
|
11 years ago |
svenbarth
|
c4cb4a3576
Add enum values needed for reference counting support.
|
11 years ago |
svenbarth
|
63bdf285ec
Add new tokens for ARC support
|
11 years ago |
svenbarth
|
9f5536fe2e
Correctly name the branch...
|
11 years ago |
svenbarth
|
23957c6fd9
Creating a branch for a Proof of Concept implementation for Automatic Reference Counted Objects
|
11 years ago |
nickysn
|
3f70871dff
* do not call HideMouse inside go32v2 Mouse.DoCustomMouse, because in the case of mouse cursor drawn by the int 33h mouse driver, this increments the mouse driver's internal 'hide count', which is already 1 after a mode set (changing video modes causes the int 33h mouse cursor to disappear), so after a mode set followed by DoCustomMouse, we need to call ShowMouse twice in order for the mouse cursor to appear. This fixes mantis #5523
|
11 years ago |
nickysn
|
aa44dcbd7f
* fixed hang in dos.exec_ansistring when passing a long command line via the
|
11 years ago |
michael
|
1815be1837
* Added support for TJSONData.CompressedJSON and TJSONObject.UnquotedElementNames
|
11 years ago |
Jonas Maebe
|
0606c18745
* don't use vfork in case we may have to call any OS routine after we've
|
11 years ago |
Jonas Maebe
|
5c8ae259c4
* handle GOT-relative loads in the assembler reader as reads of
|
11 years ago |
michael
|
edd96fc46b
* Patch from Zeljko Avramovic to allow uppercase characters in non-quoted names (Bug ID 26831)
|
11 years ago |
nickysn
|
207efda423
* fixed indentation in SysSetVideoMode of the go32v2 video unit
|
11 years ago |
nickysn
|
d8a9860e92
+ optimization in tinyheap's reallocmem for the case when there's not enough
|
11 years ago |
nickysn
|
c279efc9a5
+ added normalization and alignment test for HeapOrg and HeapEnd in the
|
11 years ago |
nickysn
|
2843194124
+ added check for HeapOrg<=FreeList and HeapPtr<=HeapEnd in test ttheap1.pp
|
11 years ago |