marco
|
4733e50de5
* system unit additions from mantis #27206. Exports some dynarray related RTTI functions.
|
vor 10 Jahren |
nickysn
|
a10c200090
* tdynarraytypedata.elSize changed from PtrUInt to SizeUInt; this fixes e.g.
|
vor 11 Jahren |
sergei
|
f42c1b3720
* Return dynamic arrays in parameter, this was the only managed type still returned in register. Returning managed types in registers requires catching and re-raising exceptions at callee side in order to finalize result and avoid memory leaks. While such behavior makes little difference with generic setjmp-based exception handling, it becomes very inefficient as SEH-styled exception handling is being introduced.
|
vor 11 Jahren |
pierre
|
a311c53167
Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu)
|
vor 13 Jahren |
sergei
|
92f927976e
* Rewrote fpc_dynarray_copy to trim out-of-range arguments instead of raising range error. Makes behavior Delphi-compatible and resolves #21396.
|
vor 13 Jahren |
sergei
|
f136e44b6b
- RTL: cleaned up remaining 'decr_ref' routines (not removed completely due to bootstrapping needs, but aliased to 'finalize' ones).
|
vor 13 Jahren |
sergei
|
568ef396fb
* Added fpc_dynarray_assign (a helper for dynamic array assignments), added local access to fpc_intf_assign, and switched fpc_copy to use assignment helpers instead of incr_ref/decr_ref combinations.
|
vor 13 Jahren |
sergei
|
a8fe9601de
* Get rid of using pdynarraytypeinfo, instead treat rtti as distinct 'header' and 'data' parts. In variants unit, use rtti declarations from typinfo directly. In system unit, declare private tdynarraytypedata record which (like typinfo.TTypeData) is not packed on alignment-sensitive targets. This simplifies code and removes scary pointer manipulations, should also yield better code on aligned targets.
|
vor 13 Jahren |
sergei
|
5658c30328
* Partially reverted r20041 to prevent IE200606085 on ARM platforms.
|
vor 13 Jahren |
sergei
|
40f29ffd7a
* Generate direct order of indexes passed to fpc_dynarray_setlength at compile time, eliminates the need of reversing them at runtime (in DynArraySetLength).
|
vor 13 Jahren |
sergei
|
1fcd40ee64
Continue fixing open array handling:
|
vor 14 Jahren |
mazen
|
b127fc154a
* Fixed spell error revealed by lintian.
|
vor 15 Jahren |
florian
|
e01e4e5719
* optimized copy(<dyn. array> ...) by checking if the elements are really ref. counted
|
vor 15 Jahren |
Jonas Maebe
|
65f217ed02
* only set dynarray pointer to nil in decref in case the last reference
|
vor 17 Jahren |
peter
|
923aac0390
* give range error if setlength value < 0 and the array is not filled
|
vor 17 Jahren |
florian
|
fd2032dab2
+ start of embedded rtl
|
vor 18 Jahren |
micha
|
d704af7216
fix compilation for {$T+} linux/win
|
vor 19 Jahren |
peter
|
16f121a8bc
* reuse generic align()
|
vor 19 Jahren |
yury
|
11576fd24b
* fixed warnings and notes while compiling system unit for wince.
|
vor 19 Jahren |
tom_at_work
|
9d7ac02696
* fixed tb0488 on unix platforms (missing cwstring uses)
|
vor 20 Jahren |
florian
|
8b3c634573
* fixed DynArraySetLength
|
vor 20 Jahren |
florian
|
c5f82ba6de
+ (ole)variant<->error type conversion
|
vor 20 Jahren |
florian
|
8dd52941d5
* tdynarraytypeinfo moved to interface
|
vor 20 Jahren |
michael
|
198b2104be
+ Removed HASFUNCTIONCOPYDYNARR define
|
vor 20 Jahren |
michael
|
5cafc069b5
+ Removed NOSAVEREGISTERS define
|
vor 20 Jahren |
michael
|
93ba0409be
+ Removed HASCOMPILERPROC define
|
vor 20 Jahren |
michael
|
7712d4e2d1
+ Removed FPC_ALIGNSRTTI define
|
vor 20 Jahren |
peter
|
4ace790492
* remove $Log
|
vor 20 Jahren |
fpc
|
790a4fe2d3
* log and id tags removed
|
vor 20 Jahren |
fpc
|
50778076c3
initial import
|
vor 20 Jahren |