svenbarth
|
a2c9c75e97
Convert Insert() and Delete() to intrinsics in preparation for dynamic array support for these two procedures.
|
пре 9 година |
michael
|
1bdae1edc8
* Correct comments about sizes/offsets in invisible string header record
|
пре 9 година |
michael
|
463c9f6e42
* Apply patch to improve pos() for widestring (mimicking unicodestring), bug ID #29790
|
пре 9 година |
svenbarth
|
77cb13c38c
Revert r33057. MaxLen is the maximum value that Pos can return and does not need to be adjusted by (Offset - 1). Also there's no buffer that could be overrun as i is not used to access the string's buffer. Fixes failure of tests/test/units/system/tstring.pp
|
пре 9 година |
michael
|
e2733c9a50
* Small correction in POS (prevent moving out of buffer if offset<>1)
|
пре 9 година |
Jonas Maebe
|
2afd8eb802
- removed FPC_HAS_STR_CURRENCY-related code, FPC 2.6.4 has it
|
пре 10 година |
michael
|
a8978361dd
* Fix signatures on all platforms
|
пре 10 година |
michael
|
8161c1135c
* Add offset to Pos functions, Delphi XE 8 compatible.
|
пре 10 година |
sergei
|
ae68a4962f
- RTL: merged functionality of InitWideStringManager into InitUnicodeStringManager and removed the former.
|
пре 10 година |
Jonas Maebe
|
ff583bde6c
* made setstring() a compiler intrinsic so it can set the compile-time
|
пре 10 година |
sergei
|
531c2d79e0
- RTL: removed 'unimplementedwidestring' procedure and use 'unimplementedunicodestring' instead. Reduces bloat. Furthermore, a separate message about missing widestring manager is misleading, because there is only one wide/unicodestring manager that can be set.
|
пре 11 година |
sergei
|
54e561dfa4
* Assign CharLengthPCharProc and CodePointLengthProc always in initunicodestringmanager, doing it in initwidestringmanager only complicates things.
|
пре 11 година |
Jonas Maebe
|
a5273abc9c
+ support for CP_OEMCP
|
пре 12 година |
Jonas Maebe
|
7c578c3541
* made the pascal name of the string range checking helpers match
|
пре 12 година |
Jonas Maebe
|
fe5a4baa15
- removed FPC 2.4 bootstrapping support
|
пре 12 година |
pierre
|
a311c53167
Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu)
|
пре 13 година |
paul
|
19d1cf9470
rtl: reduce amount of warnings regards implicit string conversions + little formatting
|
пре 13 година |
sergei
|
f07d02b427
- Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff).
|
пре 13 година |
sergei
|
8d26b3358f
RTL, wide/unicode strings cleanup:
|
пре 13 година |
sergei
|
7ff76caa73
* Removed 'inline' attribute from 6 overloaded pos() functions which contain a managed typecast. Inlining it leads to noticeable increase in code size without any sensible speed improvement.
|
пре 13 година |
sergei
|
009ee271ec
- Cleaned out STR_CONCAT_PROCS define
|
пре 13 година |
sergei
|
724f41a9af
- Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day.
|
пре 13 година |
paul
|
c1866d5c17
compiler:
|
пре 13 година |
sergei
|
018fdaf839
- Removed unnecessary operations: SetLength before widestringmanager calls (widestringmanager does the allocation) and zero-termination after SetLength (SetLength does zero-termination).
|
пре 13 година |
paul
|
836889fc64
rtl: move some CP_xxx constants from syswin into systemh for generic use, redeclare UTF8Sting, RawByteString using constant identifiers instead of pure numbers. replace comparison with $ffff codepage to CP_NONE
|
пре 14 година |
florian
|
d7f7a9bb76
* patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
|
пре 14 година |
sergei
|
f2852137c8
* DisposeAnsiString doesn't need to exist as a separate procedure, because it is only called from a single place. Merging it into caller yields somewhat more efficient code.
|
пре 14 година |
paul
|
fd5a15fda5
rtl: manual merge some cpstrnew changes which was impossible to merge using regular tools due to the merge conflicts
|
пре 14 година |
florian
|
f238c9161b
+ declaration of missing BufLen
|
пре 14 година |
paul
|
631c545423
merge r19075 from cpstrnew branch by paul:
|
пре 14 година |