Michaël Van Canneyt
|
a3beff94dc
|
* TStringHelper alias.
|
2023-07-24 08:34:13 +02:00 |
|
Michaël Van Canneyt
|
757d2b4f91
|
* Move TMarshal to system unit
|
2023-07-22 15:24:27 +02:00 |
|
Rika Ichinose
|
7f4420495b
|
TMarshal & TMarshaller, strange things from Delphi.
|
2023-07-22 15:24:27 +02:00 |
|
Michaël Van Canneyt
|
7493e04015
|
* PChar -> PansiChar
|
2023-07-15 18:22:41 +02:00 |
|
Michael VAN CANNEYT
|
0c17b8e9c6
|
* String helpers for all string types
|
2023-07-15 09:24:35 +02:00 |
|
Michael VAN CANNEYT
|
fae6b2a1f3
|
* Refer to mainunit for lazarus IDE
|
2023-07-14 20:28:28 +02:00 |
|
Michael VAN CANNEYT
|
8b84926993
|
* Refer to mainunit for lazarus IDE
|
2023-07-14 20:28:03 +02:00 |
|
Michael VAN CANNEYT
|
0d0e66f2f0
|
* Refer to mainunit for lazarus IDE
|
2023-07-14 20:26:46 +02:00 |
|
Michael VAN CANNEYT
|
9320118189
|
* Refer to mainunit for lazarus IDE
|
2023-07-14 20:26:10 +02:00 |
|
Michael VAN CANNEYT
|
1ee1040bce
|
* Explicit string types, duplicate where needed
|
2023-07-14 20:16:27 +02:00 |
|
Michaël Van Canneyt
|
15ed1f131e
|
* PAnsiChar version of Strdispose must be public
|
2023-07-14 17:26:10 +02:00 |
|
Michael VAN CANNEYT
|
4336599c3a
|
* Char -> AnsiChar
|
2023-07-14 17:26:10 +02:00 |
|
mattias
|
1ab29086f8
|
rtl: fixed indentation
|
2023-06-06 14:30:07 +02:00 |
|
Sven/Sarah Barth
|
d24eeffa2b
|
* fix #40293: have the SysUtils unit use the TArray<> declaration in the ObjPas unit instead of declaring it again
|
2023-06-03 18:10:45 +02:00 |
|
marcoonthegit
|
8d0b822a27
|
* check for frac(dt) being slightly lower than a whole number. Patch by Werner P
Resolves #40140
|
2023-04-23 12:32:53 +02:00 |
|
marcoonthegit
|
8e7572faba
|
* small cleanup, remove redundant result assignment and unused variable (from Lagprogramming on forum)
|
2023-04-11 14:13:39 +02:00 |
|
Michael Van Canneyt
|
6ff542a13e
|
* SafeFormat and helper function to convert array of const to string in a safe manner
|
2023-03-31 22:13:05 +02:00 |
|
florian
|
66891b1d59
|
* patch by Rika: Implement TCurrencyHelper.Ceil/Floor, resolves #40134
|
2023-01-31 22:58:51 +01:00 |
|
Michaël Van Canneyt
|
fead1ce818
|
* Fix compilation
|
2023-01-31 19:39:30 +01:00 |
|
Michaël Van Canneyt
|
c5af4c420e
|
* Hopefully fixed GetFileStamps/FileGetDateTimeInfo
|
2023-01-31 19:05:48 +01:00 |
|
florian
|
a9f9996dc8
|
+ support leap seconds in TryEncodeTime, resolves #40121
|
2023-01-30 22:40:15 +01:00 |
|
Bi0T1N
|
eb62a71a5f
|
Add Delphi-compatible TCurrencyHelper
|
2023-01-30 13:10:47 +00:00 |
|
Pierre Muller
|
b95bfd07d9
|
Fix sysutils unit compilation failure for wasm32-wasi wince and possibly more targets
|
2023-01-27 14:42:05 +00:00 |
|
Michaël Van Canneyt
|
0bad315daf
|
* Fix TDateTimeInfoRec
|
2023-01-23 18:09:43 +01:00 |
|
Michaël Van Canneyt
|
735fd20a6a
|
* (Hopefully) fix compilation for non-win,non-unix platforms
|
2023-01-23 10:05:18 +01:00 |
|
Michael Van Canneyt
|
d1b2fe1659
|
* Date/Time info for files (Delphi compatibility)
|
2023-01-21 13:45:04 +01:00 |
|
Michael Van Canneyt
|
32884082e3
|
* Checks for directory and special directories
|
2023-01-19 12:21:56 +01:00 |
|
Michaël Van Canneyt
|
13548088b7
|
* Implement case-insensitive version of Equals & Contains. Fix issue #40029
|
2022-12-10 15:18:26 +01:00 |
|
Michaël Van Canneyt
|
d5777174d8
|
* Optimization of TStringHelper.Split by Rika. Fixes issue #39948
|
2022-10-13 12:45:30 +02:00 |
|
florian
|
989895c82f
|
* patch by Bart B: FormatFloat correctly outputs NaN now, resolves #32868
+ test
|
2022-10-11 22:11:33 +02:00 |
|
florian
|
717d38f060
|
* prettier casing of Str* functions, resolves #39879
|
2022-08-25 20:40:23 +02:00 |
|
marcoonthegit
|
9ad1995c6d
|
* Patch by Rika to have a char specific TStringHelper.replace. Probably faster with low number of char matches. closes #39707
* also raise rangeerror for startindex<0 in previous committed join() patch.
|
2022-08-20 16:16:58 +02:00 |
|
marcoonthegit
|
d25daba08a
|
* Patch from Alexey T. closes #39705
* don't use copy in helper.indexof(). Watch those 0 based indexes.
|
2022-08-18 13:59:00 +02:00 |
|
marcoonthegit
|
533cd82922
|
* applied patch from Alexey for closes #39704
* reviewed checks at start of function to match Delphi in rangecheck errors and other exits
* test for the above.
|
2022-08-17 18:38:02 +02:00 |
|
florian
|
30f5558bf2
|
* patch by Rika: optimize TStringHelper.StartsWith / EndsWith, resolves #39706
|
2022-07-14 22:38:07 +02:00 |
|
florian
|
0122044226
|
* part of last commit
|
2022-07-06 20:39:38 +02:00 |
|
florian
|
4fecfe3df3
|
* fix SysUtils.HashName as proposed by Awkward in #39827, resolves #39827
* adapted to syscodepages.inc for the fixed HashName
|
2022-07-06 20:38:45 +02:00 |
|
marcoonthegit
|
2df9dd9c14
|
* another fix for bug #39758, this time the end of the string
|
2022-06-05 17:46:58 +02:00 |
|
marcoonthegit
|
5b90eaf2dd
|
* move char index checks up. fixes bug #39758
|
2022-06-04 22:40:56 +02:00 |
|
Michaël Van Canneyt
|
cab37732c4
|
* Avoid memory allocation in IsNullOrWhitespace. Fix issue #39702
|
2022-05-05 12:04:52 +02:00 |
|
marcoonthegit
|
c203097ec2
|
* add overload to getenvironmentvariable so that it is also found when windows is before sysutils in the uses list. bug #39448
|
2022-04-25 14:07:57 +02:00 |
|
Sven/Sarah Barth
|
862cffa087
|
* have the unsigned 32-bit overload of IntToHex use the signed 32-bit one to avoid usage of 64-bit arithmetic (and parameter passing) when it can be avoided
|
2022-04-19 14:24:01 +02:00 |
|
Sven/Sarah Barth
|
d32134dd1a
|
* fix #39664: ensure that the 8- and 16-bit signed overloads of IntToHex return the correct number of digits
+ added test
|
2022-04-19 14:24:00 +02:00 |
|
Michaël Van Canneyt
|
30b0d98636
|
* Change return type of some functions, so -1 can actually be returned, patch by Zeljko Avramovic (issue 39268).
|
2022-01-22 11:17:44 +01:00 |
|
florian
|
0764158fd1
|
* reverted TryStrToInt to the old implementation since after the val fixed the changes are not
needed anymore as pointed out by Bart B
|
2022-01-09 18:35:31 +01:00 |
|
florian
|
983fbff871
|
* proper range checking for TryStrToDWord, should resolve all issues in #39406
|
2022-01-02 21:46:14 +01:00 |
|
florian
|
435f3a9fe2
|
* allow a range of Low(Longint) to High(DWord) in TryStrToInt, see also issue #39406
* moved test
|
2022-01-02 21:33:01 +01:00 |
|
florian
|
2a93e65511
|
* seperator => separator
|
2022-01-02 13:12:33 +01:00 |
|
Sven Barth
|
2636966e2a
|
* adjust ToInteger of the Boolean helpers so that it returns the value of either True or False, but not any other value (e.g. in the *Bool types). This is not only Delphi compatible, but also fixes the compilation problem of the one or other 32-bit platform (like PowerPC) after e65b822a.
|
2021-12-05 00:03:05 +01:00 |
|
Sven/Sarah Barth
|
e65b822a0c
|
+ add type helpers for the remaining Boolean types (QWordBool and Boolean{8,16,32,64})
|
2021-12-03 14:52:19 +01:00 |
|