ivost
243e0ff3b5
* reverted r13949 because it's unnecessary test
...
git-svn-id: trunk@13954 -
2009-10-25 11:06:38 +00:00
ivost
d4d3227e77
* fixed CompareDate function. Only dates are compared now, ignoring time of day.
...
git-svn-id: trunk@13949 -
2009-10-24 20:53:00 +00:00
michael
89ec956733
* Patch from Mattias Gaertner to fix property overrides. (bug ID 14885)
...
git-svn-id: trunk@13939 -
2009-10-24 12:34:26 +00:00
michael
ed950da9cc
* Forgot raise statement in strtodate (thanks to Denis Golovan)
...
git-svn-id: trunk@13928 -
2009-10-23 10:24:24 +00:00
ivost
40069c3112
* changed output parameters from var to out. This suppress some unnecessary hints and it's also done in datih.inc
...
git-svn-id: trunk@13920 -
2009-10-22 21:26:24 +00:00
ivost
2bfe336917
* reverted compon.inc to the state of r13298 (csFreeNotification maybe set even with no freelist allocated)
...
git-svn-id: trunk@13917 -
2009-10-21 23:26:45 +00:00
ivost
0c725eae43
* fixed setting wrong component state. csDesignInstance and csInline were set inversed.
...
git-svn-id: trunk@13916 -
2009-10-21 19:24:10 +00:00
michael
4c2fe8bc31
* Correctly split date/time parts when dateseparator is a space
...
git-svn-id: trunk@13888 -
2009-10-17 11:18:16 +00:00
ivost
fff6e218af
* readded BeforeDestructor that calls Destroying (delphi compatibility issue)
...
* uncommented code in Notification procedure (delphi compatibility issue)
git-svn-id: trunk@13874 -
2009-10-16 18:12:11 +00:00
ivost
3cfcdb2ab9
* reverted parts of r13852 (removed +/- with sets and added include/exclude)
...
git-svn-id: trunk@13873 -
2009-10-16 17:34:50 +00:00
michael
e4244e0452
* Forgot to commit
...
git-svn-id: trunk@13871 -
2009-10-16 15:31:25 +00:00
michael
cb29ddbd04
* TryStrToTime/TryStrToDate no longer need to catch exceptions
...
git-svn-id: trunk@13865 -
2009-10-16 09:31:09 +00:00
michael
dadd6631ad
* Patch from Alex Rayne (bug ID 14622) to provide some overloaded versions of the strtodate/strtotime functions
...
git-svn-id: trunk@13864 -
2009-10-16 08:16:55 +00:00
ivost
242560f138
* corrected some typo that was inserted by r13853
...
git-svn-id: trunk@13854 -
2009-10-13 15:48:42 +00:00
ivost
65bca0a26d
* enhanced how observers are notified by subjects on destroying
...
git-svn-id: trunk@13853 -
2009-10-13 12:22:36 +00:00
ivost
74c09e2268
* fixed strange free notification behavior of TComponent. Must be some memory corruption or so.
...
* replaced deprecated Include / Exclude calls
git-svn-id: trunk@13852 -
2009-10-13 12:05:14 +00:00
ivost
f18a2ab69c
* fixed bug in TFPSList.SetCount. Deref was not called when shrinking the list.
...
git-svn-id: trunk@13851 -
2009-10-12 21:23:38 +00:00
marco
1e7ee7aef4
* Patch from Paul Ishenin, load stringlists with fmdenywrite. (improves sharing behaviour)
...
git-svn-id: trunk@13803 -
2009-10-04 13:36:43 +00:00
Jonas Maebe
1aa1686778
* fixed varbyref in variant conversion helpers (patch+test by Paul Ishenin,
...
mantis #14536 )
git-svn-id: trunk@13687 -
2009-09-10 16:57:06 +00:00
Jonas Maebe
c2c68ddb8f
- removed FPC_NEW_BIGENDIAN_SETS define and if(n)defs
...
* left old cpu-specific set helper code under ifdef FPC_OLD_BIGENDIAN_SETS
in case someone wants to write new assembler set helpers (although most
of them should be optimally generated by the compiler already if
http://wiki.freepascal.org/FPC_HowToDo#Bit.28field.29_getting.2Fsetting_primitives
are optimally implemented)
git-svn-id: trunk@13582 -
2009-08-23 08:16:40 +00:00
Jonas Maebe
0eec337a00
- removed SUPPORT_UNALIGNED, FPC_SUPPORTS_UNALIGNED and FPC_UNALIGNED_FIXED
...
defines and ifdefs (already all defined by 2.2.4)
git-svn-id: trunk@13581 -
2009-08-23 07:51:26 +00:00
michael
a7ed599879
* Patch from martin friebe (bug id 14380) to fix streaming of frames
...
git-svn-id: trunk@13567 -
2009-08-20 11:29:06 +00:00
florian
a14db25c64
+ procedure DivMod(Dividend: Integer; Divisor: integer; var Result, Remainder: integer); and procedure DivMod(Dividend: cardinal; Divisor: cardinal; var Result, Remainder: cardinal);, resolves #14286
...
+ assembler implementations of DivMod for i386
git-svn-id: trunk@13508 -
2009-08-09 20:47:06 +00:00
marco
2c82c6a747
* several functions are now marked with overload;
...
* implementation of RandomFrom for some float type
(Mantis #12662 )
git-svn-id: trunk@13490 -
2009-08-04 08:20:13 +00:00
florian
44f588b7ad
* fixed nested comment warning
...
git-svn-id: trunk@13450 -
2009-07-26 12:55:01 +00:00
florian
bc8ccacab8
* TInterfacedPersistent requires that the interface is requested from the owner if an owner is SetActive
...
* unified coding style
git-svn-id: trunk@13409 -
2009-07-19 09:36:43 +00:00
florian
5d8835861c
+ unicode functions for sysutils, makes tunistr6.pp compiling
...
git-svn-id: trunk@13402 -
2009-07-17 14:05:19 +00:00
florian
ee49e8acb6
* SScanf uses StrToFloat to convert the string to a float so it has to use DecimalSeparator to parse the string
...
* test adapted to use DecimalSeparator to create the test string
git-svn-id: trunk@13399 -
2009-07-16 21:12:45 +00:00
florian
87df99a53d
* reverted partially r11598 because it breaks delphi compatibility and e.g. tw3721.pp
...
git-svn-id: trunk@13398 -
2009-07-16 21:01:27 +00:00
Jonas Maebe
55578e8226
* fixed FloatToDecimal() for inf/nan (mantis #14143 , thanks to
...
Sergei Gorelkin for the test program)
git-svn-id: trunk@13394 -
2009-07-16 13:11:36 +00:00
florian
6dfd5cb5b8
* fix ExtractFileDrive for \\server\share\path\file: it should return \\server\share
...
* made test easier to debug
git-svn-id: trunk@13392 -
2009-07-15 20:40:34 +00:00
Jonas Maebe
77feb9d45c
* fixed setstrprop() for shortstring properties (based on hint by Zawullon,
...
mantis #14040 )
git-svn-id: trunk@13323 -
2009-06-26 11:34:04 +00:00
ivost
91430b6837
* reverted 13297
...
git-svn-id: trunk@13298 -
2009-06-19 09:03:51 +00:00
ivost
8b7167e538
* revised TComponent class. There was a lot of outdated, bad, maybe also old code. Tested also with Lazarus.
...
git-svn-id: trunk@13297 -
2009-06-19 00:07:59 +00:00
ivost
da55f04221
* fixed bug in SetAncestor of TComponent
...
git-svn-id: trunk@13293 -
2009-06-18 22:38:30 +00:00
Jonas Maebe
79e6ed5047
* fixed CenterPoint() function (patch by Alexander S. Klenin, mantis #13972 )
...
git-svn-id: trunk@13274 -
2009-06-14 14:12:09 +00:00
florian
855a65a061
+ RandomRange
...
git-svn-id: trunk@13262 -
2009-06-11 20:43:24 +00:00
Jonas Maebe
ba951580a2
* fixes and cleanups for tbits (patch by Sergei Gorelkin, mantis #13890 )
...
git-svn-id: trunk@13243 -
2009-06-06 14:35:25 +00:00
ivost
91ae3e8788
* added TryStringToGuid function (former StringToGuid is using this now)
...
git-svn-id: trunk@13237 -
2009-06-05 20:35:12 +00:00
ivost
db429f2d48
* added GUID_NULL constant
...
git-svn-id: trunk@13236 -
2009-06-05 20:23:38 +00:00
ivost
b5be9e008e
* added GuidCase function to intf/guid helper functions
...
git-svn-id: trunk@13234 -
2009-06-05 14:36:43 +00:00
florian
398b5806b1
* TCollectionItem.Changed checks update counter of collection, resolves #13813
...
git-svn-id: trunk@13225 -
2009-06-01 16:09:56 +00:00
Jonas Maebe
ee69d00bec
- unconditionally enabled {$ifdef PARAOUTFILE}-code (that define was
...
decomissioned quite a while ago, but this file was forgotten in
that process)
git-svn-id: trunk@13181 -
2009-05-21 09:57:45 +00:00
ivost
b340822af2
* added FreeObjects property to TFPGObjectList (as known from TObjectList in contnrs)
...
git-svn-id: trunk@13108 -
2009-05-06 22:50:25 +00:00
Jonas Maebe
8193cd175d
* corrected *Between() functions: add epsilon and truncate, rather than
...
round the results (bug reported on irc)
git-svn-id: trunk@13107 -
2009-05-06 20:35:20 +00:00
ivost
f38c6c609d
* implemented TFPGInterfacedObjectList. it's the same as TFPGObjectList but ref counted.
...
git-svn-id: trunk@13102 -
2009-05-05 12:26:42 +00:00
Jonas Maebe
9ab6e355a3
* Miscellaneous is with two l's...
...
git-svn-id: trunk@13087 -
2009-05-03 11:48:30 +00:00
Jonas Maebe
2706eeafcf
* comment change: Playthingies -> Miscelaneous
...
git-svn-id: trunk@13086 -
2009-05-03 08:17:02 +00:00
Jonas Maebe
445c842db3
* made ifthen() declaration in strutils Delphi-compatible (removed overloads
...
that cause various problems, added "overload" directive so it gets
overloaded next to the routines in the "math" unit) (based on patch
by Alexander S. Klenin, mantis #13619 )
- removed "inline" from that function because all the reference increasing/
decreasing in its body mainly cause code bloat and little if any speed
increase
git-svn-id: trunk@13084 -
2009-05-02 15:50:41 +00:00
yury
80fe51380d
* Removed unused private fields TThread.FMethod and TThread.FSynchronizeException.
...
* Removed all code of TThread.Synchronize() for BeOS, since existing code is copy/paste from win32 code and does not work anyway.
git-svn-id: trunk@13078 -
2009-05-02 12:09:30 +00:00
Jonas Maebe
f6d452c2c0
* remove the RTL's installed signal handlers at the end of the system
...
unit's initialization code in case we're in a library
+ implemented InquireSignal(), AbandonSignalHandler(), HookSignal() and
UnhookSignal() in the sysutils unit
* for Kylix compatibility, these routines support operating on
SIGINT and SIGQUIT as well, although they are not hooked by default
by FPC. The run time errors/exception codes for these signals are
resp. 217 and 233 (same as in Kylix; I changed ENoWideStringSupport
to 234).
* changed the BSD syscall version of fpsigaction to use pointer
rather than "var" arguments (compatible with other targets, and
required to be able to pass nil arguments inside the system unit)
-> together fixes mantis #12704
git-svn-id: trunk@13077 -
2009-05-02 09:40:44 +00:00
Jonas Maebe
d89eedf38d
* support varbyref and vararray (the latter if convertable to a single
...
element of its element type) in TBinaryObjectWriter.WriteVariant
by letting variantmanager handle their conversion transparently
git-svn-id: trunk@13075 -
2009-05-02 08:28:42 +00:00
Jonas Maebe
8cae53bb18
* fixed errors with parsing negative, >$99 and invalid BCD numbers in
...
BCDToInt() (patch from Milla, mantis #13512 )
git-svn-id: trunk@13052 -
2009-04-27 16:46:42 +00:00
Jonas Maebe
e8edc31a89
* don't insert thousandseparator if it is #0 (mantis #13552 , patch by
...
Jesus Reyes)
git-svn-id: trunk@13028 -
2009-04-23 19:16:49 +00:00
Jonas Maebe
6a813b8e7b
* fixed rounding error in DateTimeToUnix (mantis #12894 and #12936 )
...
* fixed errors in Inc*() routines regarding skipping the black
home in the data-time continuum around 0, and the same for the
*Between() functions
+ tests, test...
git-svn-id: trunk@12958 -
2009-03-22 18:26:34 +00:00
Jonas Maebe
1c2d2ae481
* fixed SimpleRoundTo() function (mantis #10159 )
...
git-svn-id: trunk@12957 -
2009-03-22 16:29:54 +00:00
Jonas Maebe
6f4637b32a
* do not do anything when writing to a t(custom)memorystream if the current
...
position is negative (patch by Collin Western, mantis #13318 )
git-svn-id: trunk@12955 -
2009-03-22 15:53:16 +00:00
joost
51b49d324e
* Implemented function ExeSearch
...
git-svn-id: trunk@12947 -
2009-03-22 10:02:24 +00:00
joost
2c7d05d210
* Added ImplicitCurrentDir : Boolean = True parameter to FileSearch
...
git-svn-id: trunk@12946 -
2009-03-22 09:35:48 +00:00
michael
2abc422035
* ValidateContainer should call ValidateInsert
...
git-svn-id: trunk@12935 -
2009-03-21 09:26:48 +00:00
michael
a43bda5052
* Added sort method to TCollection
...
git-svn-id: trunk@12901 -
2009-03-15 15:46:50 +00:00
Jonas Maebe
f2ce99029b
* fixed sets in rtti for big endian systems
...
* changed set sizes in rtti to 1 byte for Delphi compatibility
* fixed tests/webtbs/tw12038 for the new set sizes
* documented at http://wiki.freepascal.org/User_Changes_Trunk#Sets_in_RTTI_.28run-time_type_information.29
git-svn-id: trunk@12894 -
2009-03-15 12:06:30 +00:00
Jonas Maebe
8d2f3946e0
* fixed TextToFloat() in case ThousandSeparator = DecimalSeparator, based
...
on patch by Bart Broersma (mantis #13307 )
git-svn-id: trunk@12885 -
2009-03-14 15:20:46 +00:00
marco
e0a5de2280
* fix typo downstream from Debian (Mazen)
...
git-svn-id: trunk@12873 -
2009-03-10 07:26:11 +00:00
Jonas Maebe
f13006c7f2
* changed the output parameters of a bunch of *tofloat() and
...
trystrtocurr() from var to out (mantis #13289 )
git-svn-id: trunk@12862 -
2009-03-07 15:17:58 +00:00
Jonas Maebe
c943c609bd
+ support for vaString when reading variant properties
...
* fixed support for vaUString when reading variant properties (call
ReadUnicodeString instead of ReadWideString)
git-svn-id: trunk@12853 -
2009-03-02 16:19:45 +00:00
ivost
e98850c5c5
* added TFPGObjectList
...
git-svn-id: trunk@12834 -
2009-03-01 00:08:27 +00:00
Jonas Maebe
4bf254bc32
* added .txt extensions to all README, TODO and COPYING files
...
(mantis #12358 )
git-svn-id: trunk@12825 -
2009-02-28 17:34:08 +00:00
Jonas Maebe
e9fcae46d9
* replaced "tvardata" with "variant" in the interface for streaming
...
variants (without pulling in the variants unit)
git-svn-id: trunk@12824 -
2009-02-28 17:08:47 +00:00
Jonas Maebe
b95b1cc983
* variants are now stored in a stream as regular values instead of as a
...
secific variant type
+ support for storing qwords in streams (vaQWord, necessary for varQWord
support)
* moved variant serialisation from twriter into tbinaryobjectwriter so
it can be overridden
(all further changes for mantis #10482 )
git-svn-id: trunk@12820 -
2009-02-28 12:01:18 +00:00
Jonas Maebe
3884a9b065
* initialise temporary variants using fillchar instead of using varclearproc
...
(the latter assumes the variant has already been initialised at least
once). Thanks to Yury.
git-svn-id: trunk@12783 -
2009-02-24 09:57:37 +00:00
Jonas Maebe
e115455ca0
* forgot to commit, part of r12781
...
git-svn-id: trunk@12782 -
2009-02-23 21:39:20 +00:00
Jonas Maebe
f1daa9fa73
+ added support for streaming basic variant types (boolean, integer types,
...
floating point types, currency and string types), based on description
by Anton Kavalenka at
http://wiki.freepascal.org/FPC_Cleanroom#Variant_streaming_implementation
and based on his test program (mantis #10482 )
git-svn-id: trunk@12781 -
2009-02-23 21:32:12 +00:00
Jonas Maebe
4bb1d13d83
* fixed reading utf-8 strings from streams (based on patch by Anton
...
Kavalenka, mantis #13015 )
git-svn-id: trunk@12777 -
2009-02-23 14:58:23 +00:00
ivost
0438667eed
* fixed bug #5800
...
* const s: string = icorbainterface; is possible now
* as operator is working now with corba interfaces
* supports helper function is working now with corba interfaces
git-svn-id: trunk@12729 -
2009-02-09 00:35:09 +00:00
Jonas Maebe
053493fbeb
* fixed FahrenheitToCelsius() and CelsiusToFahrenheit() (mantis #13133 )
...
git-svn-id: trunk@12721 -
2009-02-08 15:30:59 +00:00
Jonas Maebe
dc2d1c6926
* fixed (harmless) range check errors
...
* fixed indentation
git-svn-id: trunk@12709 -
2009-02-07 22:25:07 +00:00
Jonas Maebe
ef7d9c7a41
* fixed range check errors when typecasting vBoolean to unsigned ordinals
...
git-svn-id: trunk@12702 -
2009-02-07 21:12:01 +00:00
yury
8bbb39b630
* MaxBitFlags must not exceed MaxInt atm. After r12443, MaxBitFlags was $3FFFFFFE0. "unreachable code" warning indicated that something is wrong. Please fix all warning/notes to eliminate possible coding errors...
...
git-svn-id: trunk@12687 -
2009-02-05 12:19:02 +00:00
marco
9ff8491cee
* tab2space used zeroes instead of spaces. (mantis 13024)
...
git-svn-id: trunk@12583 -
2009-01-22 22:09:21 +00:00
joost
d2d4aa22db
* Fixed TryEncodeDateTime. Adding a date and a time is not valid for dates before 1899-12-30, use ComposeDateTime instead
...
git-svn-id: trunk@12561 -
2009-01-18 16:05:04 +00:00
joost
4fc5d5dbef
* Show provided invalid date in StroToDate error messages
...
* Show a proper error-message if an empty string is supplied to StrToDate
git-svn-id: trunk@12452 -
2008-12-28 22:37:59 +00:00
marco
658dc2d8cd
* increased very low (64k) TBits limit to +/- 2GB, like most datastructures.
...
Artifact of TP times? Mantis 12431. Further increasing (e.g. for 64-bit)
needs cleanup (ptr(u)int?) first.
git-svn-id: trunk@12443 -
2008-12-27 21:15:30 +00:00
marco
f0c236b992
* Made overloading situation ifthen more Delphi compatible. Mantis #12662
...
All string variants now in one unit.
git-svn-id: trunk@12442 -
2008-12-27 18:43:22 +00:00
florian
23bbb087bd
* indention fixed
...
git-svn-id: trunk@12434 -
2008-12-24 16:17:09 +00:00
yury
5ffec2d876
* Fixed notes: Virtual method X has a lower visibility (protected) than parent class (public).
...
git-svn-id: trunk@12353 -
2008-12-12 15:07:05 +00:00
michael
a469e84820
* And yet another extra test plus fix
...
git-svn-id: trunk@12335 -
2008-12-11 09:04:48 +00:00
michael
6d93a762fd
* And once more fixed formatfloat. All results consistent with Delphi now
...
git-svn-id: trunk@12323 -
2008-12-10 20:39:16 +00:00
michael
87a6193f4f
* Hopefully fixed formatfloat negative value bugs once and for all
...
git-svn-id: trunk@12303 -
2008-12-05 10:54:22 +00:00
joost
4fd9d7314a
* Fixed wrong order of elements in psaElementSizes introduced in r12138
...
git-svn-id: trunk@12227 -
2008-11-25 18:16:51 +00:00
florian
af133effa2
* fix of broken r12138
...
git-svn-id: trunk@12141 -
2008-11-17 10:18:25 +00:00
florian
7afd3ba256
* patch by Petr Kirstan to resolve #12333
...
git-svn-id: trunk@12138 -
2008-11-16 22:53:17 +00:00
michael
f64ec1faa6
* removed debug statement
...
git-svn-id: trunk@12088 -
2008-11-14 13:06:45 +00:00
michael
0d53564797
* Fixed bug #12385
...
git-svn-id: trunk@12087 -
2008-11-14 13:04:51 +00:00
Jonas Maebe
dbbd75ca47
* fixed setting EInoutError.ErrorCode (mantis #12575 , thanks to
...
Bart Broersma for the analysis)
git-svn-id: trunk@12037 -
2008-11-09 09:46:47 +00:00
michael
65637e301f
* Fixed strtotime. Last character was never taken into account
...
git-svn-id: trunk@12005 -
2008-11-01 11:05:21 +00:00
ivost
8fe3b40070
* added helper function "FindPropInfo" with additional TypeKind filter parameter
...
git-svn-id: trunk@11856 -
2008-10-02 21:56:54 +00:00
yury
1fe90fe7dc
* Removed unused code and unused local variable.
...
git-svn-id: trunk@11845 -
2008-10-01 12:25:03 +00:00
florian
50012c2357
* fix by Inoussa OUEDRAOGO to improve UnicodeString property handling, resolves #12224
...
git-svn-id: trunk@11832 -
2008-09-27 13:25:11 +00:00
ivost
fc6ae58b9b
* added GetPropList function for TClass parameter
...
git-svn-id: trunk@11811 -
2008-09-21 00:56:06 +00:00
michael
c94843c646
* Fixed writing of default boolean values
...
git-svn-id: trunk@11749 -
2008-09-11 19:37:18 +00:00
michael
d77b2b2c0c
* Fixed writing of default float values
...
git-svn-id: trunk@11748 -
2008-09-11 19:04:26 +00:00
florian
20fd2d692f
o patch by Markus Beth
...
* improves ReadInteger speed
* unified ChPos variable casing
git-svn-id: trunk@11746 -
2008-09-11 13:41:54 +00:00
florian
b178b08ba7
Merged revisions 11665-11738 via svnmerge from
...
http://svn.freepascal.org/svn/fpc/branches/unicodestring
........
r11665 | florian | 2008-08-30 13:30:17 +0200 (Sat, 30 Aug 2008) | 1 line
* continued to work on unicodestring type support
........
r11666 | florian | 2008-08-30 19:02:26 +0200 (Sat, 30 Aug 2008) | 2 lines
* expectloc for wide/ansi/unicode strings is LOC_CONSTANT or LOC_REGISTER now
........
r11667 | florian | 2008-08-30 20:42:37 +0200 (Sat, 30 Aug 2008) | 1 line
* more unicodestring stuff fixed, test results on win32 are already good
........
r11670 | florian | 2008-08-30 23:21:48 +0200 (Sat, 30 Aug 2008) | 2 lines
* first fixes for unix bootstrapping
........
r11683 | ivost | 2008-09-01 12:46:39 +0200 (Mon, 01 Sep 2008) | 2 lines
* fixed 64bit bug in iconvenc.pas
........
r11689 | florian | 2008-09-01 23:12:34 +0200 (Mon, 01 Sep 2008) | 1 line
* fixed several errors when building on unix
........
r11694 | florian | 2008-09-03 20:32:43 +0200 (Wed, 03 Sep 2008) | 1 line
* fixed unix compilation
........
r11695 | florian | 2008-09-03 21:01:04 +0200 (Wed, 03 Sep 2008) | 1 line
* bootstrapping fix
........
r11696 | florian | 2008-09-03 21:07:18 +0200 (Wed, 03 Sep 2008) | 1 line
* more bootstrapping fixed
........
r11698 | florian | 2008-09-03 22:47:54 +0200 (Wed, 03 Sep 2008) | 1 line
+ two missing compiler procs exported
........
r11701 | florian | 2008-09-04 16:42:34 +0200 (Thu, 04 Sep 2008) | 2 lines
+ lazarus project for the linux rtl
........
r11702 | florian | 2008-09-04 16:43:27 +0200 (Thu, 04 Sep 2008) | 2 lines
+ set unicode string procedures
........
r11707 | florian | 2008-09-04 23:23:02 +0200 (Thu, 04 Sep 2008) | 2 lines
* fixed several type casting stuff
........
r11712 | florian | 2008-09-05 22:46:03 +0200 (Fri, 05 Sep 2008) | 1 line
* fixed unicodestring compilation on windows after recent unix changes
........
r11713 | florian | 2008-09-05 23:35:12 +0200 (Fri, 05 Sep 2008) | 1 line
+ UnicodeString support for Variants
........
r11715 | florian | 2008-09-06 20:59:54 +0200 (Sat, 06 Sep 2008) | 1 line
* patch by Martin Schreiber for UnicodeString streaming
........
r11716 | florian | 2008-09-06 22:22:55 +0200 (Sat, 06 Sep 2008) | 2 lines
* fixed test
........
r11717 | florian | 2008-09-07 10:25:51 +0200 (Sun, 07 Sep 2008) | 1 line
* fixed typo when converting tunicodestring to punicodechar
........
r11718 | florian | 2008-09-07 11:29:52 +0200 (Sun, 07 Sep 2008) | 3 lines
* fixed writing of UnicodeString properties
* moved some helper routines to unicode headers
........
r11734 | florian | 2008-09-09 22:38:55 +0200 (Tue, 09 Sep 2008) | 1 line
* fixed bootstrapping
........
r11735 | florian | 2008-09-10 11:25:28 +0200 (Wed, 10 Sep 2008) | 2 lines
* first fixes for persisten unicodestrings
........
r11736 | florian | 2008-09-10 14:31:00 +0200 (Wed, 10 Sep 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-11663" from
http://svn.freepascal.org/svn/fpc/trunk
........
r11737 | florian | 2008-09-10 21:06:57 +0200 (Wed, 10 Sep 2008) | 3 lines
* fixed unicodestring <-> variant handling
* fixed unicodestring property reading
........
git-svn-id: trunk@11739 -
2008-09-10 20:14:31 +00:00
michael
0ed810b6b0
* Fixed default value for floats (mantis #9183 )
...
git-svn-id: trunk@11687 -
2008-09-01 16:54:05 +00:00
michael
64e6d68a64
* Implemented StrictDelimiter without the delphi bugs (mantis #8910 )
...
git-svn-id: trunk@11686 -
2008-09-01 16:06:28 +00:00
michael
ca4fa01f8f
* Fixed formaatfloat for negative numbers (Bug ID 11711) objpas/sysutils/sysstr.inc
...
git-svn-id: trunk@11680 -
2008-08-31 22:25:19 +00:00
michael
d0d3a79731
* Patch from Martin Schreiber to fix streaming inherited collections
...
(mantis #11774 )
git-svn-id: trunk@11679 -
2008-08-31 21:57:27 +00:00
marco
03fd61b68d
* booltostr overload
...
git-svn-id: trunk@11600 -
2008-08-17 13:26:02 +00:00
marco
24d8341ed6
* (IDE-sysutils) dateutil has now unpacktime/packtime alike to Delphi dt.
...
* newstr and disposestr for pshortstring in sysutils. Avoids import order
problems because of duplicate definitions of pstring between objects
and sysutils
git-svn-id: trunk@11598 -
2008-08-17 12:10:35 +00:00
Almindor
3588a9d02c
* inline the ** operators since they just call functions directly
...
git-svn-id: trunk@11461 -
2008-07-26 10:31:23 +00:00
florian
502b41a277
* fixes reading/writing of extended properties on arm-linux, by Koenraad Lelong
...
git-svn-id: trunk@11431 -
2008-07-21 19:01:46 +00:00
marco
bcfb545837
* deprecation of tsearchrec.pathonly, under ifndef ver2_2 as per 11579
...
git-svn-id: trunk@11402 -
2008-07-18 20:05:32 +00:00
Almindor
3195d8bd79
* patch from Vincent to fix TReader.ReadCollection calling clear() logic
...
git-svn-id: trunk@11348 -
2008-07-07 21:21:44 +00:00
michael
1ea2129c0d
* Changed var to out parameters for strtoint*
...
git-svn-id: trunk@11314 -
2008-07-02 18:00:07 +00:00
Jonas Maebe
f3afd6d934
* fixed TCollection.FindItemID as suggested by "de" (mantis #11588 )
...
git-svn-id: trunk@11301 -
2008-06-30 19:18:45 +00:00
florian
67e811db60
* handle booleans correctly in Typinfo.GetEnum*, resolves #11372
...
git-svn-id: trunk@11284 -
2008-06-26 20:01:31 +00:00
giulio
cc08543f57
Patch from Petr Kristan for AnsiStrComp/AnsiStrIComp to fix comparison
...
when both strings are empty and differ after the null character + test.
git-svn-id: trunk@11277 -
2008-06-25 07:07:54 +00:00
michael
767e3fee62
* Patch from Joao Morais to fix the case where only a time is provided
...
git-svn-id: trunk@11199 -
2008-06-05 07:06:47 +00:00
Jonas Maebe
b6a8e4343d
* fixed tbinaryobjectwrite.writeset/readset on big endian systems
...
(and made it future proof in case the set format should change
again, as long as the size of all streamed sets is guaranteed
to be 4 bytes and if their packset setting is guaranteed to
be 0).
git-svn-id: trunk@11149 -
2008-05-31 22:10:53 +00:00
micha
b3548b4673
* fix TFPGMap key compare (fixes issue #11354 )
...
git-svn-id: trunk@11138 -
2008-05-31 13:12:39 +00:00
michael
d419c1078a
* GetRandomBytes calls randomize only once, now thread safe too
...
git-svn-id: trunk@11125 -
2008-05-29 13:31:32 +00:00
michael
fb53b5e9f6
* GetRandomBytes calls random only once
...
git-svn-id: trunk@11123 -
2008-05-29 13:16:07 +00:00
michael
2482742fc5
* Var -> Out parameters in tstrings.getnameval
...
git-svn-id: trunk@11093 -
2008-05-27 17:37:00 +00:00
michael
26575472b6
* Added GetUSerDir function (ID 11338)
...
git-svn-id: trunk@11074 -
2008-05-24 11:50:26 +00:00
Jonas Maebe
e60e078eb5
* only allow decimalseparator to be used as decimal separator in
...
texttofloat() and friends, rather than both '.' and decimalseparator
(mantis #9126 )
git-svn-id: trunk@11069 -
2008-05-24 08:49:34 +00:00
michael
0ad7cfe39b
* UTF8 strings read as normal strings, not widestrings (bug reported by Stefan Lechner)
...
git-svn-id: trunk@11047 -
2008-05-23 07:52:04 +00:00
michael
a2c012e228
Patch from Joao Morais to fix memory leak with owner lists
...
git-svn-id: trunk@11045 -
2008-05-23 07:11:33 +00:00
michael
ebb5d123ed
* Patch from Bartosz Bogacz to be able to parse streams without size
...
git-svn-id: trunk@11017 -
2008-05-19 19:08:15 +00:00
giulio
028c6d9042
Inline methods inside classes unit protected by {$ifdef classesinline}
...
git-svn-id: trunk@10945 -
2008-05-11 10:19:01 +00:00
florian
c399cbc520
- unused
...
git-svn-id: trunk@10931 -
2008-05-10 16:13:20 +00:00
michael
ee1757a6c5
* Patch from Paul Ishenin to implement SetDesigning and SetDesignInstance
...
git-svn-id: trunk@10890 -
2008-05-05 19:34:06 +00:00
michael
c98d7325f6
* GOTO ON in source.
...
git-svn-id: trunk@10889 -
2008-05-05 19:33:17 +00:00
marco
e57c36eaba
* patch for #11110 , unc drives and forcedirectories from Bart.
...
git-svn-id: trunk@10855 -
2008-05-01 15:41:36 +00:00
Jonas Maebe
2067da9a62
* patch from Giulio Bernardi to fix the generic AnsiStrIComp,
...
AnsiStrLComp and AnsiStrLIComp (mantis #11235 ):
* fixed wrong equality result in case one of the strings
was shorter than the other but matched the start
* AnsiStrLComp and AnsiStrLIComp should ignore embedded #0
characters
git-svn-id: trunk@10846 -
2008-04-30 19:02:01 +00:00
michael
2109a8b611
* Make sure fpdoc can parse through classes
...
git-svn-id: trunk@10771 -
2008-04-23 17:34:06 +00:00
michael
16db18bb73
* Patch from Paul Ishenin to fix tstrings.assign
...
git-svn-id: trunk@10770 -
2008-04-23 17:32:20 +00:00
yury
f82028ec50
* Removed unused local var.
...
git-svn-id: trunk@10652 -
2008-04-13 16:19:16 +00:00
michael
d8fdb83aa2
* Fixed access violation
...
git-svn-id: trunk@10644 -
2008-04-13 14:37:58 +00:00
michael
6650d151f6
* Fixed (hopefully) childpos writing
...
git-svn-id: trunk@10637 -
2008-04-12 18:43:17 +00:00
yury
62e616cae0
* Fixed warnings. rtl is warnings and notes free for wince and win32 again.
...
git-svn-id: trunk@10632 -
2008-04-12 13:34:26 +00:00
yury
bc50a7fd6c
* Removed unused vars.
...
git-svn-id: trunk@10631 -
2008-04-12 13:29:48 +00:00
florian
6c5471f324
* don't destroy LastError when resolving a threadvar on windows, resolves #10205 (?)
...
git-svn-id: trunk@10621 -
2008-04-09 21:27:11 +00:00
joost
1a4ee73146
* Added NoWideStringSupport runtime error
...
git-svn-id: trunk@10618 -
2008-04-08 21:19:52 +00:00
michael
d20636a319
* Fix from Petr Kristan to remofe timereformat (kills AM/PM)
...
git-svn-id: trunk@10616 -
2008-04-08 17:37:05 +00:00
michael
d699e37790
* Patch from Martin Schreiber
...
git-svn-id: trunk@10614 -
2008-04-08 14:24:58 +00:00
marco
99c4e92735
* fix for 11099
...
git-svn-id: trunk@10605 -
2008-04-06 11:14:06 +00:00
michael
51f5fd5eb7
* Patch from Martin Schreiber to fix inline component streaming
...
git-svn-id: trunk@10601 -
2008-04-04 10:06:51 +00:00
michael
618c2ee4f9
* Fixed inline components streaming
...
git-svn-id: trunk@10599 -
2008-04-03 08:33:06 +00:00
michael
b2253c0bd9
* Speedup for ancestor lookup using sorted list
...
git-svn-id: trunk@10589 -
2008-03-30 00:24:56 +00:00