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
tom_at_work
cb3b55b3cf
* fix compilation on non-windows platforms
...
git-svn-id: trunk@7786 -
2007-06-23 19:01:57 +00:00
florian
42f036b66c
* unified IStream and ISequentialStream declaration
...
git-svn-id: trunk@7783 -
2007-06-23 10:00:36 +00:00
florian
30c6b37c8d
* fixed largeint declarations
...
git-svn-id: trunk@7781 -
2007-06-23 09:21:50 +00:00
michael
a7a0e9a307
* Component name can be empty
...
git-svn-id: trunk@7737 -
2007-06-20 07:28:14 +00:00
yury
5afc9355f8
* use proper runtime error codes for EIntfCastError and ESafecallException exceptions.
...
git-svn-id: trunk@7723 -
2007-06-18 17:38:07 +00:00
daniel
b293a9bdd4
- Revert patch by Alex Raine.
...
git-svn-id: trunk@7669 -
2007-06-15 14:13:26 +00:00
daniel
14f2edc56e
+ Assembler implementation of min/max by Alex Rayne.
...
git-svn-id: trunk@7668 -
2007-06-15 13:59:20 +00:00
joost
4d9c3244fe
* If a variant contains a datetime value and is converted to a string, it should return a string in a date/time format. (+test)
...
git-svn-id: trunk@7643 -
2007-06-13 12:24:16 +00:00
Jonas Maebe
480af93606
* fixed several range check errors inside variant helpers in case the
...
rtl is compiled with range checking on (Delphi doesn't give range
errors there either)
git-svn-id: trunk@7513 -
2007-05-29 14:09:24 +00:00
Jonas Maebe
a0b57eddb5
* new internal set format for big endian systems. Advantages:
...
* varsets ({$packset x}) are now supported on big endian targets
* gdb now displays sets properly on big endian systems
* cleanup of generic set code (in, include/exclude, helpers), all
based on "bitpacked array[] of 0..1" now
* there are no helpers available yet to convert sets from the old to
the new format, because the set format will change again slightly
in the near future (so that e.g. a set of 24..31 will be stored in
1 byte), and creating two classes of set conversion helpers would
confuse things (i.e., it's not recommended to use trunk currently for
programs which load sets stored to disk by big endian programs compiled
by previous FPC versions)
* cross-endian compiling has been tested and still works, but one case
is not supported: compiling a compiler for a different endianess
using a starting compiler from before the current revision (so first
cycle natively, and then use the newly created compiler to create a
cross-compiler)
git-svn-id: trunk@7395 -
2007-05-19 17:15:15 +00:00
pierre
79f314cf96
Put every {$smarlink on} inside an {$ifndef NO_SMART_link} condition.
...
This allows to do a 'make build' for win32 with nasm,
using OPT="-Anasmwin32 -XS -dNO_SMART_LINK"
git-svn-id: trunk@7357 -
2007-05-16 11:26:06 +00:00
marco
c2715f6aaa
* added cvartypetoelementinfo struct/const. (mergeme)
...
git-svn-id: trunk@7152 -
2007-04-22 09:50:50 +00:00
florian
c29455b111
* handle rtti for sets with a size of 1 and 2 properly, resolves #8660
...
git-svn-id: trunk@7125 -
2007-04-17 20:34:58 +00:00
micha
3a1b633325
+ revive generics based tfplist/tstringlist implementation for generics testing; build with FPC_TESTGENERICS
...
git-svn-id: trunk@7001 -
2007-03-25 19:19:04 +00:00
michael
79b572ccae
* Fixed bug #8187
...
git-svn-id: trunk@6990 -
2007-03-24 23:36:35 +00:00
michael
74cbe82e3f
* Fixed TimeToStr and DateTimeToStr so they are delphi compatible
...
git-svn-id: trunk@6986 -
2007-03-24 22:43:02 +00:00
michael
f60fbbb01b
* Removed inttostr, isvalidident so sysutils versions are used.
...
git-svn-id: trunk@6984 -
2007-03-24 22:11:03 +00:00
michael
25a29c1159
* Undid revision 6462
...
git-svn-id: trunk@6955 -
2007-03-22 18:43:14 +00:00
Jonas Maebe
6eb320506b
* fixed range error in incmonth()
...
git-svn-id: trunk@6858 -
2007-03-14 19:48:08 +00:00
Jonas Maebe
d3736f563f
* fixed several range errors
...
git-svn-id: trunk@6857 -
2007-03-14 19:47:53 +00:00
Jonas Maebe
18e0b6e98b
* do not turn on range/overflow checking, because several of the
...
statements cause range errors which should be ignored for Delphi
compatibility (e.g. assigning a variant which contains -10 to a
cardinal)
git-svn-id: trunk@6856 -
2007-03-14 19:47:32 +00:00
Jonas Maebe
bdc378e250
* fixed 64 bit compilation
...
git-svn-id: trunk@6816 -
2007-03-13 08:35:08 +00:00
florian
418222bc32
* handle interfaces et al. correctly in Set/GetOrdProp, resolves #8510
...
git-svn-id: trunk@6804 -
2007-03-12 19:38:22 +00:00
marco
b7b057d570
* patch for 8452 committed
...
git-svn-id: trunk@6781 -
2007-03-10 21:05:48 +00:00
florian
a99b5470af
* big variant from Thorsten Engler, fixes and improves several variant stuff
...
git-svn-id: trunk@6747 -
2007-03-07 20:45:06 +00:00
Tomas Hajny
5e1a7997ee
+ FileTruncate allows 64-bit parameter
...
git-svn-id: trunk@6727 -
2007-03-05 23:47:10 +00:00
marco
e56abc47b7
* formatfloat patches for #8388 and 8386
...
git-svn-id: trunk@6697 -
2007-03-03 14:02:20 +00:00
florian
d5d3779360
* patch for #8375 from Roozbeh Gholizadeh
...
git-svn-id: trunk@6621 -
2007-02-23 19:35:35 +00:00
michael
3275f36b8f
* IsNan, IsInfinite for Extended and Double
...
git-svn-id: trunk@6462 -
2007-02-12 20:57:24 +00:00
joost
6741866689
* {$inline on} added to fix compilation with 2.0.4
...
git-svn-id: trunk@6441 -
2007-02-11 19:28:44 +00:00
joost
2a7c22e140
* Enabled inlining and removed macro
...
git-svn-id: trunk@6428 -
2007-02-11 16:14:18 +00:00
Vincent Snijders
d87dc4e3f8
* always pass property value by value to the property setter of a method, the optimization (to prevent copying) to pass just the reference doesn't work on arm, for example (bug 8273)
...
git-svn-id: trunk@6370 -
2007-02-07 22:06:15 +00:00
Jonas Maebe
ccbee142bc
* added THandle() typecast around feInvalidHandle value (-1)
...
for OS'es where THandle is an unsigned type
git-svn-id: trunk@6322 -
2007-02-03 18:09:00 +00:00
Jonas Maebe
0e1c9c901d
+ cot, sec, csc, secant, cosecant (mantis #8142 )
...
git-svn-id: trunk@6170 -
2007-01-24 19:22:53 +00:00
yury
9d3a3f3c49
* Fixed SafeArrayGetLBound,SafeArrayGetUBound,CheckVarArrayAndCalculateAddress (variant array bounds are stored in reverse order).
...
* It fixes test/testv9.pp for non Windows targets.
git-svn-id: trunk@6008 -
2007-01-17 01:12:03 +00:00
yury
2602ceb7e4
* Fixed StrToTime. TimeAMString and/or TimePMString can be empty on some locales and StrToTime crashed in this case.
...
git-svn-id: trunk@5957 -
2007-01-13 23:00:55 +00:00
yury
c73860bc39
* fixed SafeArrayRedim.
...
* set ARR_VARIANT flag for arrays of varVariant.
* fixed VariantClear for arrays.
* all this fixes tw3681 for arm-wince.
git-svn-id: trunk@5956 -
2007-01-13 22:25:26 +00:00
Jonas Maebe
241645961d
* converted CP850UCT and CP850LCT into #-notation (mantis #8104 )
...
git-svn-id: trunk@5952 -
2007-01-13 19:12:02 +00:00
Jonas Maebe
18eaee6ea3
* force tryencodetime to perform calculation using the precision of
...
tdatetime
git-svn-id: trunk@5941 -
2007-01-13 14:58:35 +00:00
yury
3b70222574
* fixed again ffExponent format in FloatToStrFIntl.
...
* updated test for FloatToStr.
git-svn-id: trunk@5940 -
2007-01-13 13:52:17 +00:00
michael
14eaf7200e
* Fixed buf 7168
...
git-svn-id: trunk@5932 -
2007-01-12 20:49:54 +00:00
michael
63af3b33a1
* Fixed bug #7159 and implemented clear/copy/redim for interface/widestring/variant arrays
...
git-svn-id: trunk@5930 -
2007-01-12 20:16:44 +00:00
Jonas Maebe
ab79ccf277
* better fix than the one in r5920
...
git-svn-id: trunk@5926 -
2007-01-12 18:31:11 +00:00
Jonas Maebe
d1c351462d
* fixed FloatToStrFIntl for platforms without extended
...
git-svn-id: trunk@5920 -
2007-01-12 16:27:31 +00:00
michael
aaec51dd3f
* Fixed bug #8033 , removed longrec, so sysutils version is used
...
git-svn-id: trunk@5901 -
2007-01-11 20:40:12 +00:00