Commit Graph

237 Commits

Author SHA1 Message Date
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
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
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
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
michael
07fdede9b8 * Defined ExceptionClass and ExceptObjProc for Delphi compatibility (bug 8459)
git-svn-id: trunk@7850 -
2007-06-29 20:16:44 +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
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
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
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
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
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
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
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
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
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
marco
4264f5d041 * booltostr now D7 compat.
git-svn-id: trunk@5744 -
2006-12-29 21:19:46 +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
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
7953785d50 * Fix stupid typo.
git-svn-id: trunk@5472 -
2006-11-25 09:44:58 +00:00
daniel
76cf70bdbd * Use proper critical sections.
- Remove sysutils dependency by turning exception into runerror, which is
    converted into exception anyway if user decides to use sysutils.

git-svn-id: trunk@5471 -
2006-11-25 07:32:36 +00:00
yury
21bd30b47c * Setting of ErrorCode:=217 in CatchUnhandledException is not needed because it set to 217 in System unit.
git-svn-id: trunk@5330 -
2006-11-11 13:39:25 +00:00
florian
2659c32078 * repeat inline in the body
git-svn-id: trunk@5257 -
2006-11-05 21:47:29 +00:00
micha
0043aff24d * fix linux/sysutils 64 bit file handling: make off_t 64 bit
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
Almindor
0c6e1e4c44 * fixes StrToTime() thanks to jesus
git-svn-id: trunk@5100 -
2006-10-30 22:52:56 +00:00
marco
2f8f88f801 * Replacetime. Bug #7680
git-svn-id: trunk@5033 -
2006-10-27 18:29:00 +00:00
marco
304be38ec1 * datetotime-def functions (but not yet FormatSettings) + ansidequotedstr (turned
out to be extractquotestr wrapper).

git-svn-id: trunk@5032 -
2006-10-27 18:20:02 +00:00
Jonas Maebe
5213992110 * fixed mantis tw7637
git-svn-id: trunk@4995 -
2006-10-21 17:11:06 +00:00
Jonas Maebe
908c9741d3 + added some comments explaining the previous commit
git-svn-id: trunk@4950 -
2006-10-17 15:04:40 +00:00
Jonas Maebe
961667784a * fixed tstrreal3, hopefully didn't break anything else
git-svn-id: trunk@4949 -
2006-10-17 13:47:54 +00:00
micha
d704af7216 fix compilation for {$T+} linux/win
git-svn-id: trunk@4794 -
2006-10-04 20:43:55 +00:00