sergei
|
92f927976e
* Rewrote fpc_dynarray_copy to trim out-of-range arguments instead of raising range error. Makes behavior Delphi-compatible and resolves #21396.
|
13 lat temu |
sergei
|
f136e44b6b
- RTL: cleaned up remaining 'decr_ref' routines (not removed completely due to bootstrapping needs, but aliased to 'finalize' ones).
|
13 lat temu |
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.
|
13 lat temu |
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.
|
13 lat temu |
sergei
|
5658c30328
* Partially reverted r20041 to prevent IE200606085 on ARM platforms.
|
13 lat temu |
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).
|
13 lat temu |
sergei
|
1fcd40ee64
Continue fixing open array handling:
|
14 lat temu |
mazen
|
b127fc154a
* Fixed spell error revealed by lintian.
|
15 lat temu |
florian
|
e01e4e5719
* optimized copy(<dyn. array> ...) by checking if the elements are really ref. counted
|
15 lat temu |
Jonas Maebe
|
65f217ed02
* only set dynarray pointer to nil in decref in case the last reference
|
17 lat temu |
peter
|
923aac0390
* give range error if setlength value < 0 and the array is not filled
|
17 lat temu |
florian
|
fd2032dab2
+ start of embedded rtl
|
19 lat temu |
micha
|
d704af7216
fix compilation for {$T+} linux/win
|
19 lat temu |
peter
|
16f121a8bc
* reuse generic align()
|
19 lat temu |
yury
|
11576fd24b
* fixed warnings and notes while compiling system unit for wince.
|
19 lat temu |
tom_at_work
|
9d7ac02696
* fixed tb0488 on unix platforms (missing cwstring uses)
|
20 lat temu |
florian
|
8b3c634573
* fixed DynArraySetLength
|
20 lat temu |
florian
|
c5f82ba6de
+ (ole)variant<->error type conversion
|
20 lat temu |
florian
|
8dd52941d5
* tdynarraytypeinfo moved to interface
|
20 lat temu |
michael
|
198b2104be
+ Removed HASFUNCTIONCOPYDYNARR define
|
20 lat temu |
michael
|
5cafc069b5
+ Removed NOSAVEREGISTERS define
|
20 lat temu |
michael
|
93ba0409be
+ Removed HASCOMPILERPROC define
|
20 lat temu |
michael
|
7712d4e2d1
+ Removed FPC_ALIGNSRTTI define
|
20 lat temu |
peter
|
4ace790492
* remove $Log
|
20 lat temu |
fpc
|
790a4fe2d3
* log and id tags removed
|
20 lat temu |
fpc
|
50778076c3
initial import
|
20 lat temu |
Jonas Maebe
|
9ccf2effdc
* fixed web bug #3805
|
20 lat temu |
florian
|
eeaded577a
* fixed copy(dyn. array,...);
|
20 lat temu |
peter
|
e417e34496
* truncate log
|
20 lat temu |
florian
|
14c33448af
* fixed copy(dyn. array of ansistring)
|
20 lat temu |