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