michael
c0995c2ffd
* Moved string constant to sysconst
...
git-svn-id: trunk@19315 -
2011-10-01 14:42:54 +00:00
paul
647218fd13
rtl: patch from Inoussa to complete TCharacter class implementation (mantis #0020302 ):
...
* ToLower is functional for all characters including those outside of the BMP
* ToUpper is functional for all characters including those outside of the BMP
* Other methods using "const AString : UnicodeString; AIndex : Integer" are
functional for all characters including those outside of the BMP
git-svn-id: trunk@19286 -
2011-09-30 00:15:37 +00:00
michael
d766e671a9
* Remove using reverse search, speed up free
...
git-svn-id: trunk@19280 -
2011-09-29 07:59:10 +00:00
michael
4a8914cbb0
* Implemented IndexOfItem, reversed search again in IndexOf
...
git-svn-id: trunk@19279 -
2011-09-29 07:50:24 +00:00
michael
39d8ee1136
* Reverse IndexOf. Increases speed of freeing collection with a factor N^2
...
git-svn-id: trunk@19268 -
2011-09-28 17:44:32 +00:00
florian
d7f7a9bb76
* patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
...
git-svn-id: trunk@19256 -
2011-09-27 20:22:40 +00:00
marco
b0b12d3a64
* fmtbcd divide fix (and others), Mantis #19636 , fix by Lacak2. + Test
...
git-svn-id: trunk@19220 -
2011-09-24 21:34:39 +00:00
paul
3b9fd15af7
rtl: update character.pas by Inoussa OUEDRAOGO (issue #0020302 )
...
* This new version contains all the unicode code points (BMP and other planes) character properties.
git-svn-id: trunk@19207 -
2011-09-24 15:17:12 +00:00
paul
8f4d02ccfa
rtl: add TBytes and TUnicodeCharArray types
...
git-svn-id: trunk@19191 -
2011-09-23 06:19:46 +00:00
paul
eb8a54d666
rtl: add flat functions (duplicates of TCharacter methods) to character unit
...
git-svn-id: trunk@19190 -
2011-09-23 03:14:40 +00:00
paul
98f6ec4a05
rtl: raise EContructException in TCharacter constructor (compatible to delphi behavior)
...
git-svn-id: trunk@19189 -
2011-09-23 02:50:40 +00:00
paul
8af1fa3e57
rtl: fix error message
...
tests: add test to check utf32<->utf16 conversions
git-svn-id: trunk@19188 -
2011-09-23 02:24:30 +00:00
paul
e774a20c97
rtl:
...
- fix compilation of character.pas by fpc 2.4
- check TCharacter method arguments and raise appropriate EArgumentException or EArgumentOutOfRangeException exceptions
- implement to/from UTF32 conversion based on utf16toutf32 and friends
git-svn-id: trunk@19183 -
2011-09-23 00:28:04 +00:00
paul
1553c8da7d
rtl: add EArgumentException, EArgumentOutOfRangeException classes
...
git-svn-id: trunk@19182 -
2011-09-23 00:07:26 +00:00
paul
59a69eaeba
rtl: add TCharacter class implementation by Inoussa. At this moment only BMP(0-$FFFF) UnicodeChar are handled.
...
tests: add character unit tests
(mantis #0020302 )
git-svn-id: trunk@19170 -
2011-09-22 00:52:51 +00:00
marco
91b017a985
* ansi(start/ends)(str/text) MBCS compatible (via widestringmgr), mantis #16153 + tests
...
Patch by Flavio Etrusco.
git-svn-id: trunk@19043 -
2011-09-10 15:01:46 +00:00
marco
47af891513
* change resourcestream.handle from thandle to TPFResourceHGlobal, since it is
...
a pointer, and handle is a 32-bit integer on 64-bit *nix.
git-svn-id: trunk@19042 -
2011-09-10 10:00:27 +00:00
sergei
0c3c8a8745
* Cast HashValue to Longint, otherwise empty strings (which have hash=$FFFFFFFF) cause range check error when RTL is compiled with -Cr.
...
git-svn-id: trunk@19034 -
2011-09-08 19:15:34 +00:00
sergei
689d4b3ecc
+ Mantis #19651 : Generate table of typed string constants which are initialized with resourcestrings, so they are updated when SetResourceStrings or SetUnitResourceStrings is called.
...
git-svn-id: trunk@18968 -
2011-09-04 16:01:26 +00:00
marco
0cc60e05f2
* IsSamemonth analog to IsSameDay. Mantis #19876
...
git-svn-id: trunk@18950 -
2011-09-02 19:44:54 +00:00
florian
3e4469937c
* fix Types.UnionRect as proposed by Piotr Karasinski, resolves #20006
...
git-svn-id: trunk@18246 -
2011-08-17 12:01:23 +00:00
florian
4c95e9fce5
* commented pdata type as proposed in #20004 by Michalis Kamburelis, resolves #20004
...
git-svn-id: trunk@18244 -
2011-08-17 11:47:41 +00:00
florian
ae8c250c3e
* fix indention
...
git-svn-id: trunk@18238 -
2011-08-17 09:20:28 +00:00
florian
9b88297389
* patch by Michalis Kamburelis to keep the ending of TFPSList filled with zeros (space between count and capacity), resolves #20005
...
git-svn-id: trunk@18237 -
2011-08-17 09:05:58 +00:00
florian
6cb6d9ffaf
* patch by Michalis Kamburelis to make FGL lists First and Last properties that are settable, resolves #19874
...
git-svn-id: trunk@18223 -
2011-08-16 17:11:48 +00:00
florian
3787ed993c
* made some fields in fgl.pp private as proposed by Michalis Kamburelis, resolves #19873
...
git-svn-id: trunk@18210 -
2011-08-14 19:52:01 +00:00
florian
63403e5199
* *Dir(<ansistring>) functions need to check io result as well, resolves #19977
...
git-svn-id: trunk@18209 -
2011-08-14 19:00:07 +00:00
florian
4a34192510
* fix TFPGList.Extract to return the correct values by a patch by Michalis Kamburelis, resolves #19960
...
git-svn-id: trunk@18205 -
2011-08-14 13:57:33 +00:00
michael
64514714c2
* Added invalid stream operation string constant
...
git-svn-id: trunk@18200 -
2011-08-13 21:19:45 +00:00
michael
96e5333dc2
* Added fakeSeekForward for benefit of descendant streams.
...
* Override GetSize/Position for memory/stringstream for efficiency
* Added InvalidSeek exception throwing. Should be overridden to throw custom exceptions.
git-svn-id: trunk@18190 -
2011-08-13 18:45:48 +00:00
florian
883eab626d
* inline Types.Point(...)
...
git-svn-id: trunk@18174 -
2011-08-11 20:53:59 +00:00
Jonas Maebe
0a88009059
* comment and formatting fixes by Christian Budde (mantis #19919 )
...
git-svn-id: trunk@18134 -
2011-08-07 10:10:51 +00:00
marco
b59c42f2c7
* removed exporting a non standard strtotime, which was a workaround for missing
...
formatsettings/locale versions. Patch by Lacak2, Mantis #19870 (3rd)
git-svn-id: trunk@18110 -
2011-08-06 12:19:44 +00:00
marco
bf65638891
* strtodatetime adapted to new strtotime regime. Take separator from formatsettings.
...
Second patch fo Mantis #19870
git-svn-id: trunk@18100 -
2011-08-05 13:37:16 +00:00
marco
52afb619aa
* add overloaded strtotime, patch by Lacak2, Mantis #19870
...
git-svn-id: trunk@18093 -
2011-08-04 17:01:34 +00:00
marco
079831b50e
* Deref old content of node in FPSList.put. Mantis #19854
...
git-svn-id: trunk@18063 -
2011-08-02 15:15:27 +00:00
michael
0d14fc2851
* Second patch from Mattias Gaertner (bug 19623, should fix 19633 as well)
...
git-svn-id: trunk@17845 -
2011-06-27 18:34:25 +00:00
michael
b98270d27c
* Undo 17822 - causes resource compilation errors in lazarus
...
git-svn-id: trunk@17842 -
2011-06-27 08:18:30 +00:00
michael
a2d007dfa3
* Applied patch from Mattias Gaertner to fix parse buffer not always being loaded (bug 19623)
...
git-svn-id: trunk@17823 -
2011-06-25 10:58:34 +00:00
florian
37b8b791d5
* overloaded versions of IsNan, resolves #14351
...
* prefer <ord> -> single over <ord> -> double/extended, this is delphi compatible
git-svn-id: trunk@17758 -
2011-06-14 20:38:51 +00:00
joost
96ec37aa92
* Fixed multiplying negative tBCD values
...
git-svn-id: trunk@17744 -
2011-06-13 17:12:49 +00:00
michael
a07b14853a
* Changed ImplicitDir default from False to True
...
git-svn-id: trunk@17735 -
2011-06-13 09:07:17 +00:00
marco
949b6dd65a
* Patch from LacaK2 for Mantis #18807 adding of formatsettings variants of BCD conversion routines
...
git-svn-id: trunk@17729 -
2011-06-12 13:30:03 +00:00
marco
92a7e1c781
* fix typos in windows implementation r17717
...
git-svn-id: trunk@17723 -
2011-06-11 22:26:42 +00:00
michael
6b42ee69a9
* Changed FileSearch to handle a set of options instead of boolean.
...
Options now include stripquotes
* Changed ExeSearch so dirlist is optional and PATH is used if omitted.
It uses stripQuotes on windows. (bug 19282)
git-svn-id: trunk@17717 -
2011-06-11 11:36:51 +00:00
michael
fd491e8647
* Fixed permissions on file create
...
git-svn-id: trunk@17560 -
2011-05-26 07:02:42 +00:00
michael
a201f07420
* Added share mode argument to FileCreate call
...
git-svn-id: trunk@17548 -
2011-05-23 21:11:07 +00:00
michael
4d572aa08d
* Added TEventTypes set
...
git-svn-id: trunk@17531 -
2011-05-23 12:33:28 +00:00
florian
7de8972e5c
* fix Sysutils.AssertErrorHandler as proposed by Martin Friebe in #19130 , resolves #19310
...
git-svn-id: trunk@17470 -
2011-05-15 15:13:22 +00:00
joost
99bbb6e5cf
* EncodeTimeInterval implemented, allowing time intervals>24 hour
...
git-svn-id: trunk@17410 -
2011-05-08 12:28:41 +00:00