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 years ago |
paul
|
6384fa2a19
rtl: revert r19330. We probably need to create a separate encoding<->codepage table.
|
14 years ago |
paul
|
a0e7196ae9
rtl: move winiconv.inc into general inc directory and rename it to wincodepages.inc, also rename win2iconv, iconv2win to CodePageToCodePageName, CodePageNameToCodePage.
|
14 years ago |
florian
|
d7f7a9bb76
* patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
|
14 years ago |
Jonas Maebe
|
fadf8bf2a5
* fixed fpc_UnicodeStr_CheckRange() now that apparently the length in
|
14 years ago |
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 years ago |
paul
|
fd5a15fda5
rtl: manual merge some cpstrnew changes which was impossible to merge using regular tools due to the merge conflicts
|
14 years ago |
paul
|
631c545423
merge r19075 from cpstrnew branch by paul:
|
14 years ago |
paul
|
5ac95bc27a
merge r17607 from cpstrnew branch by inoussa:
|
14 years ago |
paul
|
005795495d
merge r17552 from cpstrnew branch by inoussa:
|
14 years ago |
paul
|
f8b5920f31
merge r17438 from cpstrnew branch by michael:
|
14 years ago |
paul
|
1db610ecbd
merge r17434 from cpstrnew branch by michael:
|
14 years ago |
paul
|
7fd7eee1c9
merge r17330 from cpstrnew branch by michael:
|
14 years ago |
paul
|
091627883f
merge r14347 from cpstrnew branch by florian:
|
14 years ago |
paul
|
2162add8ac
merge r14132 from cpstrnew branch by paul:
|
14 years ago |
paul
|
848ca6b0c0
merge r14130 from cpstrnew branch by paul:
|
14 years ago |
paul
|
afa559ab2e
merge r14123 from cpstrnew branch by paul:
|
14 years ago |
paul
|
5e9ee14ee7
merge r 14122 from cpstrnew branch by paul:
|
14 years ago |
paul
|
203ded84ec
merge r14121 from cpstrnew branch by paul:
|
14 years ago |
paul
|
8cc22972a0
merge r13488 from cpstrnew branch by florian except ncgcon.pas which has a difficult merge conflict (code moved to another unit which is not at the branch during the revision):
|
14 years ago |
paul
|
ae0d732c8f
merge r13485 from cpstrnew branch by florian:
|
14 years ago |
paul
|
28627482c5
merge r13483 from cpstrnew branch by florian:
|
14 years ago |
paul
|
8a4634a7b1
merge r13481 from cpstrnew branch by florian
|
14 years ago |
sergei
|
829ee9828d
* Added back pre-r17129 configuration of string range check helpers under {$ifdef ver2_4}. Without it, bootstrapping with 2.4.4 and -Cr is broken.
|
14 years ago |
sergei
|
3e6ad5f5aa
* tcgvecnode, simplified range checking for strings. Removed FPC_*STR_CHECKZERO helpers, and changed FPC_*STR_CHECKRANGE so they accept the original left node. Now strings are checked the same way as dynamic arrays, and the compiler part is considerably simpler.
|
14 years ago |
florian
|
e99c4d1950
+ support str(<boolean>,...), boolean is an enumeration type
|
14 years ago |
Jonas Maebe
|
f4c31ecf3c
+ widestringmanager.codepointlengthproc added, which can be used to
|
14 years ago |
sergei
|
f2260c1549
* DefaultUnicode2AnsiMove, DefaultAnsi2UnicodeMove: replaced indexed access to destination string by pointer access, this eliminates numerous unnecessary calls to fpc_xxxstring_unique.
|
15 years ago |
sergei
|
1e11244ddf
* Fix overflow in Delete procedure for Wide- and UnicodeStrings when its Size argument is MaxInt. Now using the same code as in AnsiString version. Mantis #17514.
|
15 years ago |
Jonas Maebe
|
be39c47d02
* don't stop at #0 characters for setstring with pchar either
|
16 years ago |