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
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
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
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
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
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
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
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
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
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
yury
1fe90fe7dc
* Removed unused code and unused local variable.
...
git-svn-id: trunk@11845 -
2008-10-01 12:25:03 +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
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
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
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
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
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
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
michael
2482742fc5
* Var -> Out parameters in tstrings.getnameval
...
git-svn-id: trunk@11093 -
2008-05-27 17:37:00 +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
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
michael
d699e37790
* Patch from Martin Schreiber
...
git-svn-id: trunk@10614 -
2008-04-08 14:24:58 +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
michael
d5eec67b53
* Fixed ancestor handling (bug ID 11067)
...
git-svn-id: trunk@10588 -
2008-03-30 00:03:03 +00:00
michael
9d3d2bba0b
* Fixed resolving references; FFixups was being freed too early
...
git-svn-id: trunk@10587 -
2008-03-29 20:00:41 +00:00
michael
f2e38c068a
* Patch from Colin Western to fix finding components in ancestors
...
git-svn-id: trunk@10584 -
2008-03-29 13:59:07 +00:00
michael
1427c70b14
* Hopefully Fixed local memory leak in TReader.FixupReferences
...
git-svn-id: trunk@10583 -
2008-03-29 13:09:06 +00:00
michael
61fb196c73
* NeedResolving must be freed
...
git-svn-id: trunk@10581 -
2008-03-29 10:15:44 +00:00