Commit Graph

2316 Commits

Author SHA1 Message Date
marcoonthegit
117094b540 * small cleanups in intersectrect,unionrect offsetrect and inflaterect; fixes #40436 2023-09-16 16:21:26 +02:00
Rika Ichinose
1c4151d82e Remake AdjustLineBreaks.
This version is correct and supposedly better in other ways (except for a bit of clarity maybe).
2023-08-29 20:08:03 +00:00
Michaël Van Canneyt
148bde3f8f * Small improvement 2023-08-29 11:35:44 +02:00
Michaël Van Canneyt
a748d7279c * Re-add comment 2023-08-24 14:58:22 +02:00
Michaël Van Canneyt
6a07a508b8 * Simplify GetEnumNameCount (by Lagprogramming). Fixes issue #40411 2023-08-24 08:44:01 +02:00
florian
c48c816e49 * (modified) patch by Jinyang He to handle alignment in FindInFieldTable correctly, resolves #40400 2023-08-15 23:31:33 +02:00
Michaël Van Canneyt
36a2835f8c * Deprecate hextobin 2023-08-12 17:09:07 +02:00
Michaël Van Canneyt
fd39fd96b3 * Add enumerator for TStringBuilder. Fix issue #37088 2023-08-12 14:33:50 +02:00
Michael VAN CANNEYT
ccfa38c68e * Dotted RTL compiles 2023-07-27 19:04:03 +02:00
Michael VAN CANNEYT
ed50a1941b * Unicode resource strings 2023-07-25 16:06:53 +02:00
Pierre Muller
ef5a32ab95 Fix order of parameters of FillChar 2023-07-25 07:22:39 +02:00
Michaël Van Canneyt
813105ea0a * Fix compilation for platforms that do not have unicodestring 2023-07-24 18:08:02 +02:00
Michael VAN CANNEYT
b83d4fae29 * CompareStrAnsiStringProc is not necessarily assigned 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
78374bf772 * Synchronize API for AnsiString/Unicode string, keep string where possible. 2023-07-24 15:38:09 +02:00
Michael VAN CANNEYT
68db04d89e * Adapt classes to Unicode RTL : Give string/char correct type depending on case 2023-07-24 15:37:51 +02:00
Michaël Van Canneyt
a3beff94dc * TStringHelper alias. 2023-07-24 08:34:13 +02:00
Michaël Van Canneyt
ceddc2aec3 * TArray is now in system unit 2023-07-22 15:30:30 +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
1f74ca0d1d * Fixes in PChar -> PansiChar 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
ec65ed9e64 * Better Ansi/WideString support for TStream. Fix StringStream with unicode to be delphi compatible 2023-07-15 18:22:41 +02:00
Michaël Van Canneyt
b7f9947d26 * Better string array definitions 2023-07-15 18:22:41 +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
Michael VAN CANNEYT
7edf9b3884 * fix PString 2023-07-14 17:26:11 +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
98cdab5200 * Add MainUnit 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
d23fa5a87f * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
4336599c3a * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
6f4ade6abe * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
efb204d5e7 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
54338a12b3 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michael VAN CANNEYT
2767a9c979 * Char -> AnsiChar 2023-07-14 17:26:10 +02:00
Michaël Van Canneyt
90f902c7d4 * Invoke helper definition, allow calling it 2023-07-13 07:32:21 +00:00
Michaël Van Canneyt
70282826ad * Parent class for hidden TVirtualInterface thunking class 2023-07-11 08:36:57 +00:00
Michaël Van Canneyt
b48c67f49f * Fix epsilon, add TRectF.FitInto 2023-07-09 14:39:18 +02:00
Michaël Van Canneyt
a6d3587432 * Epsilon for Delphi compatibility 2023-07-09 14:33:24 +02:00
Michaël Van Canneyt
c7109674d1 * Small optimization of WriteIdent. fixes issue #40334 2023-06-29 23:48:10 +02:00
mattias
1ab29086f8 rtl: fixed indentation 2023-06-06 14:30:07 +02:00
Michaël Van Canneyt
4d66ac9118 * Add PProcedureSignature 2023-06-05 11:43: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
fc8b28eecd * change types of method from integre to single for tpointf (probably copy-paste the interface error from integer TPoint ) 2023-05-28 15:55:47 +02:00
Sven/Sarah Barth
5a0ace6d45 * replace Length(<array>) - 1 with High(<array>) which leads to slightly shorter/better code (reported by lagprogramming on the forum) 2023-05-26 22:19:32 +02:00
Sven/Sarah Barth
7420dc545d - remove unused variable; reported by Alexey Torgashin on the forum 2023-05-18 16:50:54 +02:00
Michaël Van Canneyt
5a712a0cde * restore ellipsis 2023-05-14 22:12:52 +02:00