Commit Graph

835 Commits

Author SHA1 Message Date
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
michael
fcce3195b6 * TFormatSettings implementation, stage 3 (final)
git-svn-id: trunk@5899 -
2007-01-11 20:25:18 +00:00
michael
cab9811e02 * TFormatSettings implementation, stage 2
git-svn-id: trunk@5897 -
2007-01-11 20:01:33 +00:00
yury
a4a125e561 * fixed FloatToStrF for ffExponent format.
* fixed FloatToStrF for non Extended values.
+ added test for FloatToStr.

git-svn-id: trunk@5894 -
2007-01-11 18:33:15 +00:00
yury
df10089076 * currency is handled directly in StrToCurr, CurrToStr, CurrToStrF functions.
* improved Delphi compatibility of FloatToStrF.

git-svn-id: trunk@5879 -
2007-01-11 01:50:33 +00:00
michael
bb9d6120ed * TFormatSettings implementation, stage 1
git-svn-id: trunk@5876 -
2007-01-10 22:32:05 +00:00
florian
35fdb22b91 * FileSetDate now working on Win, see #7837
* FileSetDate more Delphi compatible

git-svn-id: trunk@5824 -
2007-01-06 10:48:10 +00:00
Vincent Snijders
07579ca74f * fixed typo, causing compilation error on win64
git-svn-id: trunk@5814 -
2007-01-05 08:16:18 +00:00
florian
4b88079c41 + i386 assembler implementations of tan, cotan, sincos
* default tan, cotan use now sincos

git-svn-id: trunk@5809 -
2007-01-04 12:58:40 +00:00
florian
f6fe70ae0c * sincos result parameters changed from var to out
git-svn-id: trunk@5807 -
2007-01-04 10:55:21 +00:00
micha
467cd39091 * optimize fpglist.indexof, indexed array generates more optimal code than manual index multiplication
git-svn-id: trunk@5751 -
2006-12-30 19:14:11 +00:00
micha
f9e7a99405 * speedup generic list, esp. remove
git-svn-id: trunk@5746 -
2006-12-29 22:23:28 +00:00
marco
4264f5d041 * booltostr now D7 compat.
git-svn-id: trunk@5744 -
2006-12-29 21:19:46 +00:00
marco
e459f8a26f * redivided identifiers over units in a more delphi compat way. Still needs internal rework of convutils to classes. See 7481)
git-svn-id: trunk@5734 -
2006-12-28 17:47:04 +00:00
yury
dddeb7c763 * fixed for wince.
git-svn-id: trunk@5660 -
2006-12-21 15:21:22 +00:00
joost
27213c6873 * Fix strtodate for dates between 1 and 100 AD
git-svn-id: trunk@5658 -
2006-12-21 01:49:12 +00:00
daniel
ecf9363211 - Do not initialize/finalize resourcestrings in objpas.
+ Finalize resourcestrings in gettext.

git-svn-id: trunk@5640 -
2006-12-18 22:05:32 +00:00
micha
2e7dbbda80 * fix generic list add
git-svn-id: trunk@5638 -
2006-12-18 22:03:36 +00:00
micha
efd7073959 * zero allocated memory for usage as dynamic type
git-svn-id: trunk@5631 -
2006-12-17 22:04:07 +00:00
florian
fd2032dab2 + start of embedded rtl
+ feature support in the compiler

git-svn-id: trunk@5628 -
2006-12-17 18:40:36 +00:00
micha
b1c1b6fd3d + generic implementation of list and map; adapt TList/TStringList to use it
git-svn-id: trunk@5624 -
2006-12-17 15:52:42 +00:00
michael
4e1fcbed2c * Added RoundTo and SimpleRoundTo
git-svn-id: trunk@5587 -
2006-12-13 20:25:20 +00:00
michael
8cc78e212d * Changed halt statement with proper exception
git-svn-id: trunk@5583 -
2006-12-13 19:29:04 +00:00
michael
c65744ab41 * Removed debug statement causing bug #7874 from Mantis
git-svn-id: trunk@5582 -
2006-12-13 19:21:31 +00:00
michael
2eda10c74c * Patch from Vincent Snijders to grow memory stream by a quarter of its size
git-svn-id: trunk@5581 -
2006-12-13 19:17:39 +00:00
Jonas Maebe
5133e7161a + newer version of FloatToDecimal
* use more precision for extended (Delphi compatible)

git-svn-id: trunk@5517 -
2006-12-01 18:18:23 +00:00
Jonas Maebe
fb22cb9efc * fixed web bug #7756
git-svn-id: trunk@5516 -
2006-12-01 17:00:03 +00:00
Vincent Snijders
c4b458b2f0 * fixed RunErrorToExcept for EControlC and EPrivilege
git-svn-id: trunk@5499 -
2006-11-26 21:09:31 +00:00
daniel
84982f2f62 + Add siconverror constant.
git-svn-id: trunk@5473 -
2006-11-25 09:49:27 +00:00
daniel
7953785d50 * Fix stupid typo.
git-svn-id: trunk@5472 -
2006-11-25 09:44:58 +00:00