Commit Graph

258 Commits

Author SHA1 Message Date
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
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
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
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
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
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