Jonas Maebe
|
3694b4f003
* moved ToSingleByteFileSystemEncodedFileName() to the system unit and
|
před 12 roky |
Jonas Maebe
|
ecd3cba02b
* synchronised with trunk up to r24912
|
před 12 roky |
nickysn
|
cac6ac38d0
+ added RTL helpers for Val() for longint/dword on 16/8-bit CPUs
|
před 12 roky |
nickysn
|
4dfbf148f2
+ added Str() helpers for 32-bit ints for 16/8-bit CPUs
|
před 12 roky |
paul
|
0be1f4d23d
rtl: missing FPC_UNICODESTRING_TYPE_DEFINED define
|
před 12 roky |
Jonas Maebe
|
7c578c3541
* made the pascal name of the string range checking helpers match
|
před 12 roky |
Jonas Maebe
|
fe5a4baa15
- removed FPC 2.4 bootstrapping support
|
před 12 roky |
Jonas Maebe
|
598d2feeb6
+ rtldefs.inc file for every target that contains defines shared by multiple
|
před 13 roky |
Jonas Maebe
|
e073bf3008
* set destination codepage in DefaultUnicode2AnsiMove
|
před 13 roky |
Jonas Maebe
|
504544e173
* fixed null-termination in StringToWideChar() if the buffer is larger than
|
před 13 roky |
pierre
|
a311c53167
Replace HandleErrorFrame calls by HandleErrorAddrFrameInd where possible in common code (to allow correct backtrace for mips cpu)
|
před 13 roky |
Jonas Maebe
|
834026bfb5
* synchronised with trunk up to r21067
|
před 13 roky |
paul
|
19d1cf9470
rtl: reduce amount of warnings regards implicit string conversions + little formatting
|
před 13 roky |
Jonas Maebe
|
aee5380ae0
* merged trunk up to r20882
|
před 13 roky |
sergei
|
180686e429
* Removed 'first' field and 'packed' attribute from TAnsiRec and TUnicodeRec. Removing 'packed' should yield more efficient code on alignment-sensitive targets, while removing 'first' effectively makes two records identical to each other. Further cleanup is possible, but let's see the test suite results before proceeding.
|
před 13 roky |
sergei
|
a1cb87bcf8
* Improved ucs4 to utf16 conversions: removed function call on every character and multiple memory allocations, made as much code as possible shared between WideString and UnicodeString versions.
|
před 13 roky |
sergei
|
e94508d5eb
* Improved utf16 to ucs4 conversion routines: removed function call on every character, allocate memory once and made as much as possible code shared between WideString and UnicodeString versions.
|
před 13 roky |
sergei
|
8dab34b31a
* fpc_char_to_unicodestr: call widestringmanager directly instead of nested char_to_uchar conversion.
|
před 13 roky |
sergei
|
f07d02b427
- Removed string conversion helpers that are not actually used by compiler code generation (duplicated pwidechar/punicodechar stuff).
|
před 13 roky |
sergei
|
8d26b3358f
RTL, wide/unicode strings cleanup:
|
před 13 roky |
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.
|
před 13 roky |
sergei
|
06192a8137
Values of managed variables are never ever used after decrementing reference on the variable, so there is no point of having a 'decrement reference' as a separate operation. We can always do 'finalize', i.e. clear the contents after decref.
|
před 13 roky |
sergei
|
009ee271ec
- Cleaned out STR_CONCAT_PROCS define
|
před 13 roky |
sergei
|
724f41a9af
- Cleaned out FPC_STRTOSHORTSTRPROC and FPC_STRTOCHARARRAYPROC defines. Somebody had to do it one day.
|
před 13 roky |
paul
|
270fb09e87
rtl: add WideStringManager.GetStandardCodePageProc method to retrieve system ansi and console code pages
|
před 13 roky |
paul
|
c1866d5c17
compiler:
|
před 13 roky |
sergei
|
018fdaf839
- Removed unnecessary operations: SetLength before widestringmanager calls (widestringmanager does the allocation) and zero-termination after SetLength (SetLength does zero-termination).
|
před 14 roky |
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
|
před 14 roky |
paul
|
6384fa2a19
rtl: revert r19330. We probably need to create a separate encoding<->codepage table.
|
před 14 roky |
paul
|
a0e7196ae9
rtl: move winiconv.inc into general inc directory and rename it to wincodepages.inc, also rename win2iconv, iconv2win to CodePageToCodePageName, CodePageNameToCodePage.
|
před 14 roky |