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
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
michael
aaa394cb93
* GetPropList returns nil if no items found. Memory Leak stopped in case of exception
...
git-svn-id: trunk@10580 -
2008-03-29 09:32:13 +00:00
michael
9877763599
* Fixed missing defineproperties
...
git-svn-id: trunk@10579 -
2008-03-29 09:25:08 +00:00
michael
046fb5baf4
Patch from Giulio Bernardi - fixes regression of bug #3595 :
...
* ObjectTextToBinary now correctly handles widestrings
* Fixed TParser's handling of decimal strings
git-svn-id: trunk@10578 -
2008-03-29 09:15:28 +00:00
michael
93400f276c
Merged revisions 9263-10571 via svnmerge from
...
svn+ssh://svn.freepascal.org/FPC/svn/fpc/branches/cleanroom
................
r9269 | michael | 2007-11-17 13:58:31 +0100 (Sat, 17 Nov 2007) | 1 line
* Cleaned initial list of tained routines
................
r9270 | michael | 2007-11-17 14:00:25 +0100 (Sat, 17 Nov 2007) | 1 line
* Test routines for cleanroom implementation
................
r9271 | michael | 2007-11-17 14:04:43 +0100 (Sat, 17 Nov 2007) | 1 line
DoVarClearArray also tainted
................
r9272 | michael | 2007-11-17 15:25:04 +0100 (Sat, 17 Nov 2007) | 1 line
* Removed possibly tainted code
................
r9276 | Almindor | 2007-11-17 21:29:16 +0100 (Sat, 17 Nov 2007) | 2 lines
* initial cleanroom implementation of TStringList.Find
................
r9277 | Almindor | 2007-11-17 21:32:44 +0100 (Sat, 17 Nov 2007) | 2 lines
* also commit forgotten part for "where would it instert" in case of sorted stringlist
................
r9295 | michael | 2007-11-19 21:07:10 +0100 (Mon, 19 Nov 2007) | 1 line
* More tests
................
r9307 | michael | 2007-11-21 08:43:56 +0100 (Wed, 21 Nov 2007) | 1 line
* More tests and reorganization per unit
................
r9308 | michael | 2007-11-21 08:47:58 +0100 (Wed, 21 Nov 2007) | 1 line
* More reorganization of files
................
r9310 | michael | 2007-11-21 21:05:40 +0100 (Wed, 21 Nov 2007) | 1 line
* Completed tccollection tests
................
r9322 | marco | 2007-11-24 15:40:18 +0100 (Sat, 24 Nov 2007) | 1 line
* getnamepath first version. Tests not run yet (fpcunit)
................
r9337 | michael | 2007-11-27 09:21:31 +0100 (Tue, 27 Nov 2007) | 1 line
* Removed TFPlist.Assign and TFPList.Extract
................
r9340 | michael | 2007-11-27 22:33:07 +0100 (Tue, 27 Nov 2007) | 1 line
Removed HandleSafeCallException
................
r9343 | Almindor | 2007-11-28 11:23:00 +0100 (Wed, 28 Nov 2007) | 2 lines
* add cleanroom quicksort implementation [tested very little]
................
r9344 | Almindor | 2007-11-28 11:25:54 +0100 (Wed, 28 Nov 2007) | 2 lines
* update quicksort to use ExchangeItems instead of manual swap
................
r9359 | vincents | 2007-11-30 20:10:03 +0100 (Fri, 30 Nov 2007) | 1 line
+ clean room implementation of HandleSafeCallException; compiles, but not tested.
................
r9387 | michael | 2007-12-03 14:24:32 +0100 (Mon, 03 Dec 2007) | 1 line
* Clean-room implementation of TParser by Giulio Bernardi
................
r9396 | michael | 2007-12-05 21:36:41 +0100 (Wed, 05 Dec 2007) | 5 lines
* Patch from Giulio Bernardi:
- Fixes token positioning after HexToBinary
- Support for certain malformed negative integer values
................
r9399 | michael | 2007-12-06 16:53:41 +0100 (Thu, 06 Dec 2007) | 1 line
* More tests for classes unit
................
r9401 | michael | 2007-12-06 21:58:16 +0100 (Thu, 06 Dec 2007) | 1 line
* Added additional tests for collection streaming. Restructured
................
r9402 | michael | 2007-12-06 22:35:56 +0100 (Thu, 06 Dec 2007) | 1 line
* All compiles again, resolving references not quite yet done
................
r9434 | michael | 2007-12-12 21:24:57 +0100 (Wed, 12 Dec 2007) | 1 line
* New FindNestedComponent routine
................
r9466 | michael | 2007-12-15 23:44:41 +0100 (Sat, 15 Dec 2007) | 1 line
* Fixed all tests
................
r9468 | michael | 2007-12-16 01:00:01 +0100 (Sun, 16 Dec 2007) | 1 line
* Fixed reader fixup of references
................
r9491 | joost | 2007-12-18 21:46:54 +0100 (Tue, 18 Dec 2007) | 3 lines
* Implemented TWriter.WriteComponent
* Implemented TWriter.WriteComponentData
* Implemented TWriter.WriteDescendent
................
r9492 | joost | 2007-12-18 21:56:32 +0100 (Tue, 18 Dec 2007) | 1 line
* The BinaryObjectWriter of fpc stores TValueTypes as a byte, fixed the test for that
................
r9566 | michael | 2007-12-29 15:53:32 +0100 (Sat, 29 Dec 2007) | 1 line
* Clean (and complete) implementation of T(FP)List.Assign
................
r9567 | michael | 2007-12-29 16:02:19 +0100 (Sat, 29 Dec 2007) | 1 line
* Additional tests for reference resolving and TList.Assign
................
r9568 | michael | 2007-12-29 16:12:33 +0100 (Sat, 29 Dec 2007) | 1 line
* Cleanroom implementation of extract
................
r9750 | yury | 2008-01-14 13:07:17 +0100 (Mon, 14 Jan 2008) | 1 line
* My cleanroom implementation of DoVarClearArray.
................
r10271 | michael | 2008-02-10 15:52:37 +0100 (Sun, 10 Feb 2008) | 1 line
* Correct implementation committed
................
r10273 | michael | 2008-02-10 17:08:59 +0100 (Sun, 10 Feb 2008) | 1 line
* Added DecodeSoundexInt
................
r10352 | vincents | 2008-02-18 08:23:18 +0100 (Mon, 18 Feb 2008) | 1 line
+ TStringList.Grow, used algorithm from TFPList.Expand
................
r10353 | vincents | 2008-02-18 10:21:58 +0100 (Mon, 18 Feb 2008) | 1 line
* use new TStringList.Grow implementation from trunk
................
r10354 | vincents | 2008-02-18 10:23:07 +0100 (Mon, 18 Feb 2008) | 1 line
* fixed TList tests
................
r10355 | vincents | 2008-02-18 16:43:35 +0100 (Mon, 18 Feb 2008) | 1 line
* fixed hint in test and removed session information from lpi
................
r10356 | vincents | 2008-02-18 21:58:29 +0100 (Mon, 18 Feb 2008) | 1 line
+ implemented TStringList.Find
................
r10358 | vincents | 2008-02-19 15:02:17 +0100 (Tue, 19 Feb 2008) | 1 line
* fixed TTestTComponentNotifies test
................
r10359 | vincents | 2008-02-19 15:48:43 +0100 (Tue, 19 Feb 2008) | 1 line
* fixed memleak in TWriter.WriteProperties
................
r10360 | vincents | 2008-02-19 15:49:20 +0100 (Tue, 19 Feb 2008) | 1 line
+ initial implementation of TReader.ReadCollection (needs further testing)
................
r10364 | vincents | 2008-02-19 23:05:49 +0100 (Tue, 19 Feb 2008) | 1 line
+ TDataset.SetFieldValues (untested)
................
r10365 | vincents | 2008-02-20 09:03:16 +0100 (Wed, 20 Feb 2008) | 1 line
* initilize critical section used by resolving references
................
r10366 | vincents | 2008-02-20 09:38:03 +0100 (Wed, 20 Feb 2008) | 2 lines
* fixed resolve references test
* removed unused variable
................
r10369 | vincents | 2008-02-20 17:04:51 +0100 (Wed, 20 Feb 2008) | 1 line
+ initial version of TReader.FindComponentClass, works with a simple LCL application
................
r10370 | michael | 2008-02-20 20:48:36 +0100 (Wed, 20 Feb 2008) | 1 line
* Added tcollection stream read tests
................
r10373 | vincents | 2008-02-21 00:33:10 +0100 (Thu, 21 Feb 2008) | 1 line
* TReader.FindComponentClass: also search in FieldTables of parent classes.
................
r10374 | michael | 2008-02-21 11:00:04 +0100 (Thu, 21 Feb 2008) | 1 line
* Fix voor ResolveReferences
................
r10376 | vincents | 2008-02-21 19:37:55 +0100 (Thu, 21 Feb 2008) | 1 line
* reduced hints
................
r10377 | vincents | 2008-02-22 14:56:22 +0100 (Fri, 22 Feb 2008) | 1 line
* add check for valid NewIndex in TFPList.Move, so that an invalid NewIndex doesn't lead to memleak
................
r10378 | vincents | 2008-02-22 15:16:56 +0100 (Fri, 22 Feb 2008) | 1 line
* fixed TReader.ReadCollection in case more than one property was streamed
................
r10379 | vincents | 2008-02-22 15:35:44 +0100 (Fri, 22 Feb 2008) | 3 lines
+ added another test for writing collections (shows how it should be written and thus read
+ added a test for a writing an enum with default value
................
r10380 | vincents | 2008-02-22 15:36:14 +0100 (Fri, 22 Feb 2008) | 1 line
* fixed memleak
................
r10381 | vincents | 2008-02-23 20:03:00 +0100 (Sat, 23 Feb 2008) | 1 line
* fixed AV when streaming a component without published properties
................
r10390 | michael | 2008-02-25 21:34:10 +0100 (Mon, 25 Feb 2008) | 1 line
* Clean version of searchbuf inserted
................
r10393 | vincents | 2008-02-26 23:06:14 +0100 (Tue, 26 Feb 2008) | 1 line
* fixed TDataset.SetFieldValues
................
r10398 | michael | 2008-02-27 21:58:49 +0100 (Wed, 27 Feb 2008) | 1 line
* Added test for streaming 2 components
................
r10400 | vincents | 2008-02-28 00:51:08 +0100 (Thu, 28 Feb 2008) | 1 line
* improved tests for streaming components with owned subcomponents
................
r10403 | vincents | 2008-02-28 22:19:32 +0100 (Thu, 28 Feb 2008) | 1 line
* fixed writing child components
................
r10441 | florian | 2008-03-04 20:11:46 +0100 (Tue, 04 Mar 2008) | 3 lines
Initialized merge tracking via "svnmerge" with revisions "1-9261" from
http://svn.freepascal.org/svn/fpc/trunk
................
r10444 | joost | 2008-03-05 11:31:07 +0100 (Wed, 05 Mar 2008) | 30 lines
Merged revisions 9783,9786,9788,9814,9822,9825,9837-9850,9852,9854-9856,9863-9864,9867,9885,9895 via svnmerge from
svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
........
r9783 | joost | 2008-01-18 23:52:13 +0100 (Fri, 18 Jan 2008) | 1 line
* DigestTestREport makes it possible to write the unittest results to a testsuite-digest
........
r9786 | joost | 2008-01-19 00:40:44 +0100 (Sat, 19 Jan 2008) | 1 line
* Added dependency on paszlib to fcl-fpcunit
........
r9788 | jonas | 2008-01-19 01:20:49 +0100 (Sat, 19 Jan 2008) | 2 lines
+ also add fpc-unit dependency on paszlib to build dependencies
........
r9854 | joost | 2008-01-21 17:26:20 +0100 (Mon, 21 Jan 2008) | 2 lines
* Added Comment and Category properties to TDigestResultsWriter
* Write Comment and Category to digest.cfg
........
r9885 | joost | 2008-01-23 22:56:34 +0100 (Wed, 23 Jan 2008) | 1 line
* Write RelSrcDir to digest.cfg
........
r9895 | joost | 2008-01-24 18:02:47 +0100 (Thu, 24 Jan 2008) | 1 line
* Add dash between hostname and date in digest-tarfile
........
................
r10445 | joost | 2008-03-05 11:47:26 +0100 (Wed, 05 Mar 2008) | 9 lines
Merged revisions 10431 via svnmerge from
svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
........
r10431 | joost | 2008-03-02 18:08:16 +0100 (Sun, 02 Mar 2008) | 1 line
* Set Modified to false when te state of a dataset changes
........
................
r10446 | joost | 2008-03-05 15:34:38 +0100 (Wed, 05 Mar 2008) | 9 lines
Merged revisions 10350 via svnmerge from
svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
........
r10350 | joost | 2008-02-17 22:14:26 +0100 (Sun, 17 Feb 2008) | 1 line
* Fixed bug #8464
........
................
r10490 | Almindor | 2008-03-15 11:18:42 +0100 (Sat, 15 Mar 2008) | 3 lines
* add TDataLink.CalcFirstRecord cleanroom implementation (blind)
* add TField.RefreshLookupList cleanroom implementation (blind)
................
r10491 | Almindor | 2008-03-15 11:29:54 +0100 (Sat, 15 Mar 2008) | 2 lines
* fix compilation of the TField.RefreshLookuplist;
................
r10510 | Almindor | 2008-03-20 18:57:22 +0100 (Thu, 20 Mar 2008) | 2 lines
* implement cleanroom TDataset.CalculateFields
................
r10511 | Almindor | 2008-03-20 19:16:55 +0100 (Thu, 20 Mar 2008) | 2 lines
* add TDataSet.EnableControls cleanroom implementation
................
r10512 | Almindor | 2008-03-20 19:27:27 +0100 (Thu, 20 Mar 2008) | 2 lines
* add TField.CalcLookupValue cleanroom implementation
................
r10513 | Almindor | 2008-03-20 19:30:23 +0100 (Thu, 20 Mar 2008) | 2 lines
* fix potential bug in cleanroom TField.RefreshLookupList
................
r10514 | Almindor | 2008-03-20 19:33:13 +0100 (Thu, 20 Mar 2008) | 2 lines
* add forgotten function call in TDataset.CalculateFields
................
r10515 | Almindor | 2008-03-20 19:37:19 +0100 (Thu, 20 Mar 2008) | 2 lines
* fix potential bug in cleanroom TDataLink.CalcFirstRecord
................
r10531 | Almindor | 2008-03-22 10:57:40 +0100 (Sat, 22 Mar 2008) | 2 lines
* implement cleanroom TDataSet.DataEvent
................
r10534 | Almindor | 2008-03-22 21:30:02 +0100 (Sat, 22 Mar 2008) | 2 lines
* fix cleanroom TDataset.DataEvent, make it call all connected datasources
................
r10537 | michael | 2008-03-23 11:19:05 +0100 (Sun, 23 Mar 2008) | 6 lines
* Fixed some issues:
- Memleak in TReader.ReadPropValue. FFixups was re-allocated in beginreferences !
- FPC behaves different from Delphi if no Default value is declared, it assumes a
default of ord(TEnum)=0, same for sets.
- Fixed MemLeak when a reference was resolved, Removed item was not freed.
................
r10547 | Almindor | 2008-03-24 10:57:28 +0100 (Mon, 24 Mar 2008) | 2 lines
* first fix to cleanroom TDataSet.DataEvent only 6 tests fail now :)
................
r10553 | joost | 2008-03-24 19:58:33 +0100 (Mon, 24 Mar 2008) | 9 lines
Merged revisions 10470 via svnmerge from
svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
........
r10470 | joost | 2008-03-09 21:11:17 +0100 (Sun, 09 Mar 2008) | 1 line
* Set TDataSet.InternalCalcFields if there are InternalCalcFields
........
................
r10555 | joost | 2008-03-25 12:06:12 +0100 (Tue, 25 Mar 2008) | 9 lines
Merged revisions 10519 via svnmerge from
svn+ssh://joost@svn.freepascal.org/FPC/svn/fpc/trunk
........
r10519 | joost | 2008-03-21 14:38:44 +0100 (Fri, 21 Mar 2008) | 1 line
* Fix for ValueOfKey for multiple-fields keys
........
................
r10565 | Almindor | 2008-03-25 18:28:58 +0100 (Tue, 25 Mar 2008) | 2 lines
* fix cleanroom TDataLink.CalcFirstRecord (passes tests now)
................
git-svn-id: trunk@10572 -
2008-03-27 20:15:57 +00:00
michael
33cb576bba
* Patch for arithmetic overflow from Petr Kristan
...
git-svn-id: trunk@10566 -
2008-03-26 15:33:24 +00:00
michael
623e0f0cf5
* Fixed bug in decodesoundexint
...
git-svn-id: trunk@10477 -
2008-03-12 21:08:12 +00:00
marco
c8da24f732
* comment fix #10781
...
git-svn-id: trunk@10435 -
2008-03-03 08:28:26 +00:00
micha
83b7f81f81
+ add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
...
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
florian
c424f27291
* patch by C Western for #10883
...
git-svn-id: trunk@10385 -
2008-02-24 20:00:08 +00:00
florian
c46b44b797
resolves #10509
...
* fixed SetInterfaceProp
+ PInterface
* extended trtti1
git-svn-id: trunk@10334 -
2008-02-15 20:54:10 +00:00
yury
617b59e1c0
* Fixed 3 warnings and 1 note.
...
git-svn-id: trunk@10135 -
2008-02-01 17:42:41 +00:00
peter
3ffcb2244e
* FileSearch needs to check first the file in the
...
current dir
git-svn-id: trunk@10128 -
2008-02-01 07:03:30 +00:00
peter
e08570573f
* fix and cleanup FileSearch
...
git-svn-id: trunk@10115 -
2008-01-30 11:57:23 +00:00
peter
8c0adc7f3d
* fixed also ExtractFileName
...
git-svn-id: trunk@10108 -
2008-01-29 23:30:30 +00:00
peter
496212d5c4
* fixed ExtractFileExt broken after previous commit
...
git-svn-id: trunk@10107 -
2008-01-29 23:23:25 +00:00
peter
f4f3ae84d0
* AllowDirectorySeparators and AllowDriveSeparators typed constants
...
added to allow customization of path and directory parsing in the rtl
* Use the new sets instead of the hardcoded / and \
git-svn-id: trunk@10105 -
2008-01-29 23:04:56 +00:00
peter
3d319a99b8
* made forcedirectories consistent with other file handling
...
to accept both / and \ as spearators
git-svn-id: trunk@10104 -
2008-01-29 22:14:53 +00:00
marco
d7c9bb88d2
* remove some redundant pbyte definitions.
...
git-svn-id: trunk@10097 -
2008-01-29 19:37:41 +00:00
marco
66676be8e5
* pbyte killed, it is in systems nowadays
...
git-svn-id: trunk@10096 -
2008-01-29 19:35:01 +00:00
michael
6d5c3bbee6
* Patch from Giuliano Colla to fix tbits.size
...
git-svn-id: trunk@10095 -
2008-01-29 13:08:54 +00:00
michael
d87768dc0c
* Implemented Loading, as per Graeme Geldenhuys request
...
git-svn-id: trunk@10094 -
2008-01-29 12:31:24 +00:00
peter
95d0ce1270
* VendorName function added to allow an extra subdirectory
...
to group multiple products
* OnGetVendorName hook, like OnGetApplicationName
* use COMMON_APPPATH for global config files under windows
git-svn-id: trunk@10072 -
2008-01-27 21:40:55 +00:00
Jonas Maebe
200f1e5643
* fixed webtbs/tw10519.pp for CPUs which don't support extended
...
git-svn-id: trunk@9893 -
2008-01-24 10:33:14 +00:00
michael
41cce2fe42
* Fixed IsEmptyStr
...
git-svn-id: trunk@9775 -
2008-01-16 16:15:05 +00:00
joost
3852af4afb
* Moved StringsReplace from sqldb to strutils
...
* Removed unused NotYetImplemented procedure from strutils
git-svn-id: trunk@9771 -
2008-01-15 22:13:47 +00:00
peter
f6384b9361
* disable range/overflow checking when calculating with Nan
...
git-svn-id: trunk@9649 -
2008-01-06 12:45:03 +00:00
marco
408d5831ea
* isimplementorof/referenceinfo, bug #10567
...
git-svn-id: trunk@9647 -
2008-01-06 00:12:43 +00:00
marco
97b1d04d8f
* Fix for 10482, iinterfacecomponentreference
...
git-svn-id: trunk@9618 -
2008-01-02 20:45:09 +00:00
Jonas Maebe
edffeac316
* declare math.pinteger as an alias of objpas.pinteger to avoid type
...
masking errors (mantis #10540 )
git-svn-id: trunk@9617 -
2008-01-02 19:53:14 +00:00
marco
574827a844
* Fix for 10534. tagstatstg now aliased in activex.pp to types.pp
...
git-svn-id: trunk@9616 -
2008-01-02 19:50:02 +00:00
mazen
7c19e36595
* Added implementation for Julian date computaton.
...
git-svn-id: trunk@9604 -
2007-12-31 16:34:45 +00:00
michael
8793de3166
* Applied patch from Sergei Gorelkin for ComposeDateTime and IncAMonth
...
git-svn-id: trunk@9600 -
2007-12-30 22:20:11 +00:00
michael
067d1ab582
* Added EPropertyConvertError class
...
git-svn-id: trunk@9598 -
2007-12-30 22:03:56 +00:00
michael
a375df54f2
Implemented get/setinterfaceproperty. Needs checking
...
git-svn-id: trunk@9597 -
2007-12-30 22:01:53 +00:00
michael
d7f94a8282
* Added GetModuleName
...
git-svn-id: trunk@9596 -
2007-12-30 21:50:40 +00:00
michael
eec321b2f8
* Implemented ExtractShortPathName
...
git-svn-id: trunk@9595 -
2007-12-30 21:45:48 +00:00
michael
b244f6eb71
* Patch from Sergei Gorelkin, making TStream.Read and .Write virtual
...
git-svn-id: trunk@9572 -
2007-12-29 19:03:56 +00:00
marco
c6e2d72e3c
* D7 compat, neginfinity (bug 10490)
...
git-svn-id: trunk@9564 -
2007-12-29 13:12:10 +00:00
yury
93e62a3c0d
* Raise range error exception directly to prevent note "Local variable "rcheck" is assigned but never used".
...
git-svn-id: trunk@9555 -
2007-12-28 00:17:11 +00:00
yury
5f8bd39408
* Implemented TFMTBcdFactory.Clear and TFMTBcdFactory.Copy methods.
...
git-svn-id: trunk@9552 -
2007-12-27 23:44:53 +00:00
yury
79a1b1a485
* Converted user defined note to info message.
...
git-svn-id: trunk@9551 -
2007-12-27 23:29:52 +00:00
yury
4b3015802a
* Removed workaround for bug #9827 , since it was fixed.
...
git-svn-id: trunk@9549 -
2007-12-27 22:56:19 +00:00
yury
b52338d0bd
* Converted user defined note to info message.
...
git-svn-id: trunk@9548 -
2007-12-27 22:49:05 +00:00
yury
d306e25dc8
* Fixed warnings.
...
git-svn-id: trunk@9514 -
2007-12-22 12:27:03 +00:00
yury
d7d6b37158
* Fixed warnings.
...
git-svn-id: trunk@9513 -
2007-12-22 12:12:25 +00:00
yury
8b12a7f2c2
* Fixed warnings.
...
git-svn-id: trunk@9506 -
2007-12-21 23:10:33 +00:00
yury
9e9716f95e
* Changed user warnings to notes.
...
git-svn-id: trunk@9505 -
2007-12-21 22:57:59 +00:00
yury
ed5fc4ca0e
* Changed debug notes to hints.
...
git-svn-id: trunk@9499 -
2007-12-21 22:17:09 +00:00
michael
429fd4f685
* Patch from Giulio Bernardi to use NtoLE instead of swapendian
...
git-svn-id: trunk@9438 -
2007-12-13 09:59:19 +00:00
michael
b363afcd0a
* Patch from Giulio Bernardi
...
* ObjectBinaryToText, ObjectTextToBinary and ObjectTextToResource are
endian safe and writing and reading extended type is supported on
machines that don't have an extended type
- TStream.WriteResourceHeader, TStream.ReadResHeader,
TStream.FixupResourceHeader are endian safe
git-svn-id: trunk@9397 -
2007-12-05 20:50:26 +00:00
Jonas Maebe
997d7b33db
* don't override routines hooked by a real widestring manager before
...
sysutils initialised
git-svn-id: trunk@9392 -
2007-12-05 14:28:11 +00:00
peter
6ed3d91989
* CompareText for shortstrings added
...
* optimize CompareText
* use CompareText for case-insenstive compares in the RTL
patches from Sergei Gorelkin
git-svn-id: trunk@9384 -
2007-12-02 18:36:20 +00:00
peter
544cf539e1
* fix for relativepath, fixes #10224
...
git-svn-id: trunk@9312 -
2007-11-21 21:51:42 +00:00
yury
d568718cb0
* Removed UpperCaseTable and LowerCaseTable variables and TCaseTranslationTable type from interface part. These variables are used only by generic upper/lower case conversion routines. They are not used on Windows targets and it is bad idea to let users use these variables. Users must use AnsiLowerCase and AnsiUpperCase routines.
...
git-svn-id: trunk@9301 -
2007-11-20 10:45:50 +00:00
peter
732abba1f2
* all functions use DirSeparators. This is required to be able to have consistent
...
result values that can be used as input values. A problem with inconsitency was
in ForceDirectories where excludetrailingpathdelimiter did not remove a / under win32
and ExtractFilePath found the / as a separator. With the end result an infinite loop.
git-svn-id: trunk@9290 -
2007-11-18 21:40:17 +00:00
Jonas Maebe
1445ca1198
* fixed GetDirs in case the last character of the passed directory
...
= PathDelim (called like that from the compiler)
git-svn-id: trunk@9274 -
2007-11-17 19:53:33 +00:00
michael
cb9608c149
* Replaced suspected copyright infringement of MomentSkewKurtosis with clean-room implementation by Vincent Snijders
...
git-svn-id: trunk@9265 -
2007-11-16 15:24:17 +00:00
yury
515017ece6
* Fixed warnings and notes.
...
git-svn-id: trunk@9097 -
2007-11-03 10:53:08 +00:00
yury
6a36ac786a
* Fixed warnings.
...
git-svn-id: trunk@9095 -
2007-11-03 10:36:27 +00:00
yury
220a37b443
* Do not fill generic upcase and lowcase conversion tables for windows targets, because generic ANSI routines are not used here.
...
git-svn-id: trunk@9049 -
2007-11-01 16:15:29 +00:00
yury
7240f723ef
* Fixed warnings.
...
git-svn-id: trunk@9048 -
2007-11-01 16:05:46 +00:00
yury
0a3591a2a5
* Fixed warnings and notes.
...
git-svn-id: trunk@9046 -
2007-11-01 15:55:54 +00:00
florian
4b172f5973
* made rtti for dyn. arrays more delphi compatible, resolves #9464
...
git-svn-id: trunk@8853 -
2007-10-19 20:27:45 +00:00
peter
398363156b
* cache stdout threadvar in catchunhandledexception
...
* retrieve the address of io exception texts instead of assigning to a string
git-svn-id: trunk@8825 -
2007-10-16 19:13:53 +00:00
marco
4bec9a23ce
* turn implicit exceptions off for most strutils routines.
...
+/-20% decrease in size
git-svn-id: trunk@8791 -
2007-10-14 11:25:19 +00:00
marco
a43e03f6c0
* Spaces version improved.
...
git-svn-id: trunk@8780 -
2007-10-13 19:40:16 +00:00
marco
807e964dab
* Faster overloaded inttobin 32-bit and 64-bit.
...
git-svn-id: trunk@8775 -
2007-10-12 20:54:15 +00:00
florian
de47ba3ac8
* fixed GetKeyData
...
git-svn-id: trunk@8729 -
2007-10-03 11:13:27 +00:00
marco
7429c4871b
* fix for 9770
...
git-svn-id: trunk@8689 -
2007-09-30 11:23:33 +00:00
marco
54d8f93b25
* fix for 9772
...
git-svn-id: trunk@8677 -
2007-09-29 09:18:15 +00:00
marco
827d380691
* pchar(pointer()) isms that were safe.
...
git-svn-id: trunk@8672 -
2007-09-28 21:57:45 +00:00
marco
faa8383403
* some pchar(pointer(s)) changes (see maillist)
...
git-svn-id: trunk@8671 -
2007-09-28 20:24:44 +00:00
marco
9e1462203c
* dateutils.scandatetime, an inverse of formatdatetime
...
git-svn-id: trunk@8624 -
2007-09-23 20:03:12 +00:00
florian
5a585ce07d
* made SExecuteProcessFailed error message more clear
...
git-svn-id: trunk@8622 -
2007-09-23 14:59:22 +00:00
joost
f6d66e8cf5
* Changed MinDateTime for FloatToDateTime and VariantToDate to 01/01/0001
...
git-svn-id: trunk@8534 -
2007-09-17 21:25:51 +00:00
micha
f48e51c380
* fix TFPSMap.GetKeyData on non-sorted map ( #9672 )
...
+ add test for issue #9672
git-svn-id: trunk@8485 -
2007-09-14 20:48:29 +00:00
tom_at_work
ddc0ac9a43
* better fix for TFPGSList memory leak: avoid changing allocation behavior (adds one temp entry used for various operations), and clean up in the destructor
...
git-svn-id: trunk@8433 -
2007-09-11 22:23:33 +00:00
tom_at_work
f88c5e1324
* fix memory leak of TFPSList.Clear()
...
git-svn-id: trunk@8431 -
2007-09-11 21:43:27 +00:00
marco
d539d9c54d
* fix for 9588
...
git-svn-id: trunk@8366 -
2007-09-03 13:24:26 +00:00
Jonas Maebe
a57f9e0672
+ added QWord overloads for IntToHex, hexStr, OctStr, binStr
...
git-svn-id: trunk@8332 -
2007-08-29 12:06:54 +00:00
Jonas Maebe
9238ea2850
* fixed potential range errors
...
git-svn-id: trunk@8321 -
2007-08-28 19:01:49 +00:00
Almindor
1e4dd0685a
* fix bug #9438
...
git-svn-id: trunk@8288 -
2007-08-16 09:58:35 +00:00
Jonas Maebe
49a545aef2
* fixed FormatFloat for non-x86 (mantis 9384)
...
git-svn-id: trunk@8220 -
2007-08-04 17:38:48 +00:00
florian
baafccf372
+ added some constants missed for compatibility, resolves #9182
...
git-svn-id: trunk@8121 -
2007-07-21 20:19:29 +00:00
Almindor
920660c460
* fix AssignFile to use "out" if the PARAMOUT define is defined (fixes 9275)
...
git-svn-id: trunk@8080 -
2007-07-16 21:47:31 +00:00
yury
1807613f88
* Made NaN = 0.0/0.0 for arm-linux. It is calculated as Nan on Florian's arm-linux box. ln(-1.0) is calculated as -Inf on arm-linux and x86. It fixes bug #9132 .
...
git-svn-id: trunk@8045 -
2007-07-14 08:55:54 +00:00
michael
07fdede9b8
* Defined ExceptionClass and ExceptObjProc for Delphi compatibility (bug 8459)
...
git-svn-id: trunk@7850 -
2007-06-29 20:16:44 +00:00
marco
f885568da9
* more little winapi fixes (largeuint)
...
git-svn-id: trunk@7821 -
2007-06-26 14:50:24 +00:00
daniel
7c124b3817
* Fix bug found by new hint.
...
git-svn-id: trunk@7818 -
2007-06-26 07:52:55 +00:00
florian
0caa70a8b3
+ basic TStreamAdapter implementation
...
git-svn-id: trunk@7815 -
2007-06-25 21:05:08 +00:00
florian
e1125c3f7f
+ StrNextChar implemented
...
git-svn-id: trunk@7803 -
2007-06-24 20:30:55 +00:00
florian
628452f04d
+ ReplaceDate
...
git-svn-id: trunk@7794 -
2007-06-24 15:15:53 +00:00