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