Commit Graph

421 Commits

Author SHA1 Message Date
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
florian
3c50c5f714 * return from unhandled exception handler to system unit so things get cleaned up properly
git-svn-id: trunk@4708 -
2006-09-24 12:44:20 +00:00
florian
34189ac762 * fix from Forest for #7389
git-svn-id: trunk@4699 -
2006-09-24 07:13:23 +00:00
tom_at_work
73d9beecff * fix for bug web bug #7276: the code to read '*' format specifiers failed errorneously on Int64 and QWord input values. Based on code by mftq75
* test program for above changes

git-svn-id: trunk@4434 -
2006-08-17 21:37:06 +00:00
florian
215b870f5e * StrToBool friends, fixes #7222
git-svn-id: trunk@4378 -
2006-08-06 15:38:27 +00:00
Jonas Maebe
327718e0c4 * changed some var parameters in out parameters to avoid warnings
git-svn-id: trunk@4341 -
2006-08-03 16:47:10 +00:00
yury
82b74ffc64 * fixed warning and note while compiling RTL.
git-svn-id: trunk@4265 -
2006-07-20 12:31:58 +00:00
yury
fefe85a86a * Fixed warning.
git-svn-id: trunk@4258 -
2006-07-19 18:24:26 +00:00
yury
e1b9814b5d * fixed some warnings and notes while compiling RTL.
git-svn-id: trunk@4256 -
2006-07-19 10:31:15 +00:00
Jonas Maebe
9e801eb048 * removed/conditionalised several unused variables
git-svn-id: trunk@4199 -
2006-07-14 20:44:57 +00:00
florian
0a9a9dd69c - mispelled TryStrQWord removed
git-svn-id: trunk@4143 -
2006-07-11 20:03:21 +00:00
michael
89d52a3be9 + Added StrToQWord
git-svn-id: trunk@4063 -
2006-07-02 09:25:35 +00:00
joost
391dc9a9fb + Implemented ComposeDateTime for general use
git-svn-id: trunk@4007 -
2006-06-29 22:18:18 +00:00
peter
4c065bce45 * move InterLocked functions to system unit
git-svn-id: trunk@3933 -
2006-06-25 09:26:23 +00:00
michael
85017f4139 + Fixed incMonth so it truncates on the number of days in the target month
git-svn-id: trunk@3864 -
2006-06-13 22:23:25 +00:00
oro06
42bd89095f *fix fileopen (please OS2,EMX maintainers have a look)
git-svn-id: trunk@3858 -
2006-06-13 08:15:35 +00:00
Jonas Maebe
cb58ac7f18 * initise result of SafeLoadLibrary for non-windows
git-svn-id: trunk@3775 -
2006-06-03 13:46:40 +00:00
Tomas Hajny
4d9e404403 * remove GetEnv dependency
git-svn-id: trunk@3729 -
2006-05-28 22:27:27 +00:00
Tomas Hajny
a9b515c0bf * fexpand defines kept in platform specific sysutils.pp
git-svn-id: trunk@3726 -
2006-05-28 21:29:26 +00:00
yury
198a56cc21 * fixed: Message box is not displayed when unhandled exception occurs and SysUtils is used in GUI apps for all Windows targets.
git-svn-id: trunk@3721 -
2006-05-28 20:30:47 +00:00
florian
2a62055580 + added expand defines for all OSes, hopefully no OS forgotten
git-svn-id: trunk@3708 -
2006-05-27 21:30:35 +00:00
florian
02db8f5c84 * fixes Joost's commit for non unix hopefully
git-svn-id: trunk@3690 -
2006-05-27 08:35:56 +00:00
joost
35c5b75792 + Several dateutil-fixes for dates before 1899/12/30
git-svn-id: trunk@3687 -
2006-05-26 20:55:03 +00:00
michael
7c29068ae3 * Patch from Joost van der Sluis to correct negative date-times
git-svn-id: trunk@3635 -
2006-05-23 07:36:51 +00:00
peter
da85b3db8c * fix linux build
git-svn-id: trunk@3626 -
2006-05-22 06:57:41 +00:00
peter
0237088689 * remove dos unit from sysutils
git-svn-id: trunk@3620 -
2006-05-21 20:17:17 +00:00
michael
b9a0fae596 * Fixed bug #6491, fileextdrive
git-svn-id: trunk@3560 -
2006-05-18 12:45:03 +00:00
oro06
bf6a603d28 *wince fix: SetErrorMode not exist
+wince : ascfun for Ansi func header

git-svn-id: trunk@3490 -
2006-05-13 14:32:11 +00:00
florian
32f4039978 * fixed compilation on non unix
git-svn-id: trunk@3487 -
2006-05-13 09:09:40 +00:00
florian
47fac4ee6e * moved *SSECSR to system unit
* exposed cpu feature detection on i386 from system unit
+ SafeLoadLibrary

git-svn-id: trunk@3481 -
2006-05-11 19:13:54 +00:00
florian
34176d3d9a * fixed bootstrapping with 2.0.x
git-svn-id: trunk@3473 -
2006-05-11 07:36:45 +00:00
florian
0bbbfd23e5 * wince has to reuse also TSystemTime from the Windows unit inside the sysutils unit
git-svn-id: trunk@3472 -
2006-05-10 20:21:56 +00:00
marco
eaad63e82b * fix for 4970
git-svn-id: trunk@3318 -
2006-04-23 09:55:59 +00:00
micha
ff31761d62 fix datetime from/to timestamp conversion (delphi compat)
git-svn-id: trunk@3201 -
2006-04-13 16:32:07 +00:00
florian
89f8474388 * unified and moved some win32/win64 stuff
+ more units on win64 compile

git-svn-id: trunk@3131 -
2006-04-02 20:52:17 +00:00
marco
5d4300fd45 * PSysCharset.
git-svn-id: trunk@3052 -
2006-03-27 09:01:14 +00:00
marco
dd063d920d * currentyear (bug 4904)
git-svn-id: trunk@3031 -
2006-03-25 15:07:54 +00:00
Jonas Maebe
77d20627dc * removed duplicate EVariant class from varutils and incorporated
its implementation details in the EVariant class of sysutils
  + added conversions of variant error codes to exception messages
   (together these fix tw4704)

git-svn-id: trunk@3026 -
2006-03-24 22:47:15 +00:00
Jonas Maebe
7338c03fac + comp and int64 overloads for floattostr(f)
git-svn-id: trunk@2403 -
2006-02-02 10:33:12 +00:00
Jonas Maebe
e9a6b3dc10 * fixed some FloatToStrF and FloatToStr precision problems. Still fails
for some corner cases (e.g. 8.502 as double), but that problem is in
    str_real

git-svn-id: trunk@2390 -
2006-02-01 10:22:52 +00:00
michael
cbdda429c5 + Patch from Graeme Geldenhuys to fix ExtractFileDrive
git-svn-id: trunk@2359 -
2006-01-28 18:10:07 +00:00
peter
6bbf8f4e22 * always write backtracestr for exception address to print also backtrace info for
exceptions generated from the main body

git-svn-id: trunk@2265 -
2006-01-12 08:46:36 +00:00
florian
f60d89cc75 + StrToQWord patch from Vincent Snijders
git-svn-id: trunk@2148 -
2006-01-03 22:15:22 +00:00
peter
9b0c8269bc * remove also 255 limit for ExtractFileExt
git-svn-id: trunk@2033 -
2005-12-23 10:02:21 +00:00
marco
5008bb74b1 * removed 255 char limit in extractfilename
git-svn-id: trunk@2032 -
2005-12-23 09:41:19 +00:00
Jonas Maebe
5769739834 * fixed floattostr and friends for systems where extended = double
git-svn-id: trunk@1882 -
2005-12-05 14:09:35 +00:00
florian
446c24ed77 * fixed StrToFloat for large constants
git-svn-id: trunk@1817 -
2005-11-24 20:50:40 +00:00
tom_at_work
9d7ac02696 * fixed tb0488 on unix platforms (missing cwstring uses)
* 64bit big-endian fix of dynamic array handling
* added qword support for %x format specifier of format() functions

git-svn-id: trunk@1773 -
2005-11-16 20:50:38 +00:00
florian
ba22b0b3af + format("%d",[<qword>]); fixes 4489
git-svn-id: trunk@1640 -
2005-11-04 19:01:33 +00:00
tom_at_work
7a1860190b * fixes error introduced in sscanf() when looking for 64 bit unsafe pointer casts
git-svn-id: trunk@1632 -
2005-11-02 19:55:57 +00:00
tom_at_work
653f4b465d * fixed some typecasts of pointers to Longint for 64 bit architectures (Linux and generic parts of the RTL only)
* 64 bit sockets unit fixes

git-svn-id: trunk@1625 -
2005-11-01 22:40:23 +00:00
Jonas Maebe
f67ffaa7c8 * fixed TextToFloat for platforms where currency = Int64 (webtbs/tw4093)
git-svn-id: trunk@1402 -
2005-10-16 06:28:14 +00:00
florian
d4bb99a5fb + runerror 214: bus error/data misaligment
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +00:00
florian
d629426b67 + system qualifier added
git-svn-id: trunk@1187 -
2005-09-25 14:35:01 +00:00
florian
e0d2eee158 * GenericAnsiStrComp fix from Vincent Snijders
git-svn-id: trunk@1172 -
2005-09-24 09:59:26 +00:00
florian
c7cd9ff06b * TMultiReadExclusiveWriteSynchronizer fixed and moved to SysUtils
git-svn-id: trunk@1164 -
2005-09-23 13:07:11 +00:00
florian
c94849ddb0 * readded overload directive to lowercase
+ lowercase(<variant>);

git-svn-id: trunk@1156 -
2005-09-22 17:18:28 +00:00
florian
6df53bf057 - removed overload directive from LowerCase, UpperCase hasn't one either
git-svn-id: trunk@1151 -
2005-09-20 21:10:24 +00:00
florian
b245075bb3 * unix: faSymLink
* unix: TSearchRec.PathOnly

git-svn-id: trunk@1101 -
2005-09-17 20:05:04 +00:00
florian
6bce91adc0 + CurrToStrF
+ ListSeparator

git-svn-id: trunk@1100 -
2005-09-17 19:31:59 +00:00
florian
af3b2f28ca * generic AnsiStrComp fixed
git-svn-id: trunk@1057 -
2005-09-06 21:07:16 +00:00
yury
24cf46266d * Added WinCE defines.
git-svn-id: trunk@1035 -
2005-09-02 11:57:16 +00:00
michael
752ba67635 + Added Windows-Compatible GetTempFileName to sysutils
git-svn-id: trunk@1031 -
2005-09-02 09:57:43 +00:00
marco
0f9a1ab006 * delphi compat fields added to syslocale
git-svn-id: trunk@1028 -
2005-09-02 09:30:48 +00:00
florian
547c3f92b2 * AnsiReplaceText fixed, fixes 4260
git-svn-id: trunk@807 -
2005-08-07 07:57:27 +00:00
florian
9e6c9d4fc7 * sysutils.format: floating point formatting takes care of currency type now
git-svn-id: trunk@736 -
2005-07-24 12:14:18 +00:00
michael
84a4c40a3d + Patch from Joost Van der Sluis to fix DoEncodeTime
git-svn-id: trunk@732 -
2005-07-23 21:13:58 +00:00
florian
bf311fd100 + ExpandUNCFilename for win32 from Klaus Hartnegg
git-svn-id: trunk@715 -
2005-07-20 18:39:21 +00:00
florian
e686da2026 * fixed and removed some missing HASINLINE directives, needs more work
git-svn-id: trunk@637 -
2005-07-17 08:21:17 +00:00
florian
ce08f48926 - from Jakob Klos: removed DefaultTextLineBreakStyle and TTextLineBreakStyle, it's already in the system unit
git-svn-id: trunk@624 -
2005-07-14 10:27:32 +00:00
florian
6ed53e2c70 * Trim removes now all spaces and controll chars
+ Trim* for widestrings

git-svn-id: trunk@618 -
2005-07-13 08:32:41 +00:00
florian
cfcaff7dc9 * fixed mysql date problems using sscanf :]
* better integer parsing in sscanf

git-svn-id: trunk@609 -
2005-07-10 13:43:49 +00:00
florian
4258bee1c5 + char support for sscanf
git-svn-id: trunk@605 -
2005-07-09 22:42:39 +00:00
florian
0d79442d0f + sscanf
git-svn-id: trunk@604 -
2005-07-09 22:34:26 +00:00
florian
13e3102954 * Patch from Vincent Snijders:
* 1. except.patch implements ExceptFrameCount and ExceptFrames
  * 2. arg.patch fixes a bug in the copying of the commandfilename to the arg array. The #0 character was not copied, so the pchar was not properly terminated.

git-svn-id: trunk@461 -
2005-06-21 12:55:45 +00:00
Jonas Maebe
437f35315c * fixed datetime related routines for unix
git-svn-id: trunk@444 -
2005-06-19 14:49:37 +00:00
michael
d2d33c03fb + Added missing FileSetDate call
git-svn-id: trunk@403 -
2005-06-14 11:46:31 +00:00
michael
7fb254755d + Optimizations for lower/uppercase functions
git-svn-id: trunk@380 -
2005-06-11 13:14:59 +00:00
florian
64c72bd312 * patch from Joost van der Sluis to remove VIRTUALPASCAL define since VP is officially dead
git-svn-id: trunk@374 -
2005-06-10 17:05:35 +00:00
florian
6992fde8fc * patch from Ales to Katona to change some var parameters to out
parameters

git-svn-id: trunk@292 -
2005-06-09 07:42:40 +00:00
michael
8a226bba52 + Removed HASWIDESTRING/HASWIDECHAR defines
git-svn-id: trunk@241 -
2005-06-07 20:42:22 +00:00
michael
23ad0ae1ec + Removed HASINTF and VER1_0 defines
git-svn-id: trunk@239 -
2005-06-07 20:30:03 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
florian
4f30642b4a * fixed StrToDate to throw proper exceptions in case of an error, fixes bug #3913
git-svn-id: trunk@156 -
2005-05-30 20:37:35 +00:00
michael
08c7681c60 + EncodeDate routines raise EConvertError as needed
git-svn-id: trunk@110 -
2005-05-25 21:26:36 +00:00
florian
dfcb5903a9 * fixed TimeStampToMSecs as suggested by Vinzent Hoefler in bug report 3915
git-svn-id: trunk@67 -
2005-05-22 12:25:12 +00:00
michael
180fd52858 + Reworked GUID creation
git-svn-id: trunk@43 -
2005-05-21 10:03:44 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
michael
99658cf4d6 + Implementation of CreateGUID
git-svn-id: trunk@27 -
2005-05-19 17:31:25 +00:00
florian
f949a53da8 * format(%u",[<qword>]); fixed
* made test working

git-svn-id: trunk@13 -
2005-05-17 22:27:53 +00:00
peter
b68af1b0e3 * post 2.0.0 fixes from cvs
git-svn-id: trunk@7 -
2005-05-16 20:59:02 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
michael
30b55c8bee + Added MAX_PATH for Delphi/Kylix compatibility. 2005-05-12 20:30:51 +00:00
michael
b60c5b9cd2 + Fixed bug #3957 2005-05-09 18:35:06 +00:00
florian
207e67cc4d + cycling with 1.0.x fixed, hopefully the last fix of this for ever ;) 2005-05-08 08:03:15 +00:00
florian
bf179526ff + TryStrToDate/Time functions 2005-05-07 10:23:17 +00:00
florian
c36eadddf7 + variants: string -> float/int casts 2005-04-28 09:15:43 +00:00
michael
525e2cf1ff + Added FormatCurr by Uberto Barbini 2005-04-26 16:40:51 +00:00
Jonas Maebe
2426ecafc3 * fixed several warnings and notes about unused variables (mainly) or
uninitialised use of variables/function results (a few)
2005-03-25 22:53:39 +00:00
marco
2efe42a051 * fixed incmonths default param. Thnks nldelphi 2005-03-17 15:21:10 +00:00
marco
1ec105d95e * some 1.0.x fixes 2005-03-13 14:30:24 +00:00
florian
0bfbd0a18e + added Ansi* routines to widestring manager
* made them using OS calls on windows
2005-03-12 14:56:22 +00:00
florian
36efa2d7b5 * fixed compatibility problem of DateTimeToString 2005-03-10 19:48:27 +00:00
florian
29b9c85074 + WideFormatBuf and WideFmtStr implemented 2005-03-06 18:28:23 +00:00
Jonas Maebe
8281d7a359 * fixed newstr() and disposestr() 2005-03-01 19:23:03 +00:00
Jonas Maebe
1162235207 * fixed web bug #3708 2005-02-28 11:12:17 +00:00
florian
926cb64612 + initial commit 2005-02-26 19:25:01 +00:00
florian
7fa1ae2ea8 + WideSameStr 2005-02-26 15:00:14 +00:00
florian
7fef413b69 + SysLocale 2005-02-26 14:38:14 +00:00
florian
eb4b962cee + implemented WideFormat
+ some Widestring stuff implemented
  * some Widestring stuff fixed
2005-02-26 10:21:17 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
michael
525832f03a + Patch from peter to fix 1.0 compile 2005-02-07 08:29:00 +00:00
florian
c8d20e65c4 + GlobalNameSpace 2005-02-06 20:31:35 +00:00
florian
3ed23de88e + StrCharLength infrastructure 2005-02-06 09:38:45 +00:00
florian
f9d09611a8 * compilation with 1.0.x fixed
+ infrastructure for WideCompareText implemented
2005-02-03 18:40:02 +00:00
peter
86c8e46d5d * 1.0.x fix 2005-02-03 16:21:59 +00:00
florian
4f7560d89e * improved widestring infrastructure manager 2005-02-01 20:22:49 +00:00
peter
a68b710efd * retrieve backtrace when exception is raised
* RaiseMaxFrameCount added to limit the number of backtraces, setting
    it to 0 disables backtraces. Default is 16
2005-01-26 17:07:10 +00:00
peter
b989cd1d4e * no backtrace for default unhandled exception 2005-01-26 15:57:02 +00:00
olle
99776e6402 + a tiny bit of support for macos 2005-01-24 18:25:46 +00:00
peter
b89cddc0ec * extended overload disabled for powerpc 2005-01-17 18:38:48 +00:00
michael
95714e9a4e + Patch from Colin Western to implemenet TryStrToFLoat 2005-01-16 17:53:27 +00:00
michael
e05a92537d + Implemented ForceDirectories for Delphi compatibility 2005-01-14 12:59:25 +00:00
peter
cb255fffed * fix bugs 3477, 3478, 3479 2004-12-26 13:04:30 +00:00
michael
9701081657 + Added mode field to TSearchRec for Kylix compatibility 2004-12-19 18:03:29 +00:00
michael
aa96eb6ceb + Implemented wraptext 2004-12-19 17:55:38 +00:00
michael
fbb13b5266 + Added GetEnvironmentVariableCount and GetEnvironmentString calls 2004-12-11 11:32:44 +00:00
peter
76efcf23f7 add alias FPC_BREAK_UNHANDLED_EXCEPTION 2004-12-06 19:24:59 +00:00
michael
ff146b3d32 + Patch from Pete: Dont support widestrings when compiled with 1.0.x and Add additional typecasts to Widestring for widechar/pwidechar 2004-12-01 10:34:46 +00:00
michael
9eb3c1ced6 + Fix from Alexey Barkovoy for bug #3302 2004-11-30 20:56:27 +00:00
marco
e3812e3683 * fixed little 1.0.xism 2004-11-22 05:53:44 +00:00
marco
841e3b75aa * %x 64-bit support 2004-11-21 19:33:20 +00:00
marco
743ac811fb * %u 2004-11-21 16:44:01 +00:00
peter
4d8460ec2f * float routines all use internproc and compilerproc helpers 2004-11-21 15:35:23 +00:00
marco
d7cc714078 * updated ansiexctractquotedstring (more delphi compat, both interface and code) 2004-11-16 18:30:35 +00:00
marco
67c3e6c17a * now correct proc patched 2004-11-05 13:02:21 +00:00
marco
55e845aa5e * fix for 3357, introducing some local vars. 2004-11-05 12:10:04 +00:00
marco
ed0c42b2eb * Removed a "unix." prefix 2004-10-30 20:49:32 +00:00
michael
dfe2a0417e + Implementation of GetTempDir and GetTempFileName 2004-10-10 10:28:34 +00:00
armin
70688f63c8 * changed defines for netware 2004-10-03 20:27:00 +00:00
sg
c1d0445cbc * Fixed ExceptionErrorMessage (string const didn't match Format() call) 2004-09-14 01:13:43 +00:00
armin
33d67e9547 * added target netwlibc 2004-09-05 00:02:40 +00:00
michael
049f82ba75 + Some capitalization added for documentation purposes 2004-08-31 11:03:35 +00:00
michael
04b73e3560 + Some capitalization added for documentation purposes 2004-08-31 10:34:11 +00:00
michael
201b7dc791 + Extra index check in IsDelimiter 2004-08-30 18:00:12 +00:00
michael
09490c6f5a + Added MACOS linebreakstyle (tlbsCR) 2004-08-30 13:07:03 +00:00
Jonas Maebe
75680eaa31 * use C versions of string routines if FPC_USE_LIBC is defined 2004-08-09 16:44:23 +00:00
florian
76513df77d * fixed CompareStr with a patch from Michalis Kamburelis 2004-08-07 19:32:35 +00:00
florian
d4117aeb34 + TryStrToInt* added 2004-08-07 16:56:28 +00:00
michael
370f47e611 + Added getappconfigdir calls 2004-08-05 07:28:01 +00:00
florian
61cf2984c7 * fixed bootstrapping problems 2004-06-20 20:41:47 +00:00
peter
7f9b703d64 * use sizeint 2004-06-17 16:23:50 +00:00
florian
6427a54c3d * fixed some bootstrapping problems as well as some 64 bit stuff 2004-06-13 10:49:50 +00:00
michael
2b66cb3edd + Enhanced FloatToStrF to 18 digits (Delphi compatibility, bug #3106 2004-06-12 13:57:18 +00:00
michael
70143302f0 + Fixed currency<->string conversion support 2004-06-12 13:23:17 +00:00
marco
b0bc2d5bb9 * fix to AM/PM behaviour of formatdatetime around noon 2004-05-02 13:40:55 +00:00
peter
81b6d9f16c * replace strlenint with sizeint 2004-05-01 23:55:18 +00:00
marco
5af746ce28 * fileno -> getfilehandle 2004-05-01 11:56:25 +00:00
marco
b82160ba33 * fileno 2004-05-01 11:04:34 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
marco
e546db7a23 * interlocked* changed to longints, including winapi. (which was a bug) 2004-03-05 12:17:50 +00:00
michael
e91bc5bb19 + Added AnsiSameStr 2004-02-26 08:46:21 +00:00
florian
ff42d8657a + x86_64 dependend sysutils part added
* some 64 bit adaptions
2004-02-20 22:15:16 +00:00
marco
4f6d200630 * addition of second executeprocess prototype 2004-02-13 13:02:21 +00:00
michael
345e537e53 + Made SameFileName Public 2004-02-08 15:05:50 +00:00
michael
dc953332cd + Added fileIsReadOnly 2004-02-08 14:50:51 +00:00
michael
e31cf3e728 + Implemented RaiseLastOSError 2004-02-08 11:02:40 +00:00
michael
68cd24e2e7 + Renamed intf to avoid conflicts 2004-02-06 08:33:21 +00:00
michael
94b905367a + Renamed to avoid conflicts 2004-02-06 08:32:40 +00:00
peter
e2df62fc08 * EOSError.errorcode change to Longint which is more compatible
with unix platforms
2004-01-28 22:09:52 +00:00
michael
67d7dcdc91 + Implemented sleep() on Unix. 2004-01-10 17:34:36 +00:00
florian
822ce0df68 * changed sysutils.exec to ExecuteProcess 2004-01-05 22:37:15 +00:00
marco
5d49357d80 * Exec(ansistring) function 2004-01-03 08:55:58 +00:00
peter
0d3948fc5f * register calling updates 2003-12-04 21:42:07 +00:00
michael
c07028fe4e + Merged fixbranch fixes, missing in main branch 2003-11-26 22:17:42 +00:00
michael
07583c11a7 TwoDigitYearCenturyWindow is 50 2003-11-26 20:15:46 +00:00
michael
0271650b3a + New runerror 231 (exception stack error) and 232 (nothread support) 2003-11-26 20:12:08 +00:00
florian
058d480f40 * error handling for Variants improved 2003-11-26 20:00:19 +00:00
michael
18c394efa8 + Fix for bug #2476 2003-11-24 23:00:56 +00:00
marco
c29abe12db * johill patch applied 2003-11-22 17:18:53 +00:00
michael
3e33c1a5ab + Small optimization in comparemem 2003-11-22 16:17:26 +00:00
michael
cae0e667de + Patched CompareMem for case when length is 0 2003-11-22 15:46:48 +00:00
michael
9e8353e232 + Position specifier in format string affects all later specifiers 2003-11-09 13:37:42 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
Tomas Hajny
57538cb669 * THandle in sysutils common using System.THandle 2003-10-25 23:42:35 +00:00
marco
d086084380 * sametext and ansisametext added. (simple (ansi)comparetext wrappers) 2003-10-07 12:02:47 +00:00
peter
3d27318cb2 * moved classes unit to rtl 2003-10-06 21:01:06 +00:00