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