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
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
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