sergei
3b904943e7
* Moved ExceptObjProc from objpas to system, because it is going to be called from system. Also added ExceptClsProc variable.
...
* Fixed SExceptionErrorMessage, it was missing format placeholder.
git-svn-id: trunk@19787 -
2011-12-09 14:52:26 +00:00
sergei
0093517227
* sysutils: changed RunErrorToExcept to use table instead of case statement for OS exceptions. This is to be able to extract exception class alone for the upcoming SEH support.
...
* Some Delphi-compatible changes:
* For floating point underflow condition, raise EUnderflow, not EOverflow.
* For unknown codes, raise EInOutError, not Exception.
* Added entries for EZeroDivide and EStackOverflow (actually raising EZeroDivide on floating-point division by zero requires further changes to System because currently both integer and float division by zero is mapped to the same code 200).
git-svn-id: trunk@19707 -
2011-11-29 18:41:13 +00:00
paul
aa666d38ed
rtl: check arguments in some TEncoding functions which uses array/string access and raise EEncodingError in case of wrong indexes or string/arrays
...
git-svn-id: trunk@19387 -
2011-10-06 01:14:51 +00:00
paul
abf9816a09
rtl: add basic implementation of TEncoding class
...
git-svn-id: trunk@19355 -
2011-10-04 05:06:32 +00:00
michael
c0995c2ffd
* Moved string constant to sysconst
...
git-svn-id: trunk@19315 -
2011-10-01 14:42:54 +00:00
Jonas Maebe
4303eda80c
* moved SInvalidJulianDate from rtlconst to sysconst (part of r15032,
...
necessary because dateutils only depends on sysconst and it contains
the julian-datetime helper routines)
git-svn-id: trunk@15033 -
2010-03-22 22:28:59 +00:00
michael
e4244e0452
* Forgot to commit
...
git-svn-id: trunk@13871 -
2009-10-16 15:31:25 +00:00
Jonas Maebe
f6d452c2c0
* remove the RTL's installed signal handlers at the end of the system
...
unit's initialization code in case we're in a library
+ implemented InquireSignal(), AbandonSignalHandler(), HookSignal() and
UnhookSignal() in the sysutils unit
* for Kylix compatibility, these routines support operating on
SIGINT and SIGQUIT as well, although they are not hooked by default
by FPC. The run time errors/exception codes for these signals are
resp. 217 and 233 (same as in Kylix; I changed ENoWideStringSupport
to 234).
* changed the BSD syscall version of fpsigaction to use pointer
rather than "var" arguments (compatible with other targets, and
required to be able to pass nil arguments inside the system unit)
-> together fixes mantis #12704
git-svn-id: trunk@13077 -
2009-05-02 09:40:44 +00:00
Jonas Maebe
8cae53bb18
* fixed errors with parsing negative, >$99 and invalid BCD numbers in
...
BCDToInt() (patch from Milla, mantis #13512 )
git-svn-id: trunk@13052 -
2009-04-27 16:46:42 +00:00
marco
e0a5de2280
* fix typo downstream from Debian (Mazen)
...
git-svn-id: trunk@12873 -
2009-03-10 07:26:11 +00:00
joost
1a4ee73146
* Added NoWideStringSupport runtime error
...
git-svn-id: trunk@10618 -
2008-04-08 21:19:52 +00:00
marco
9e1462203c
* dateutils.scandatetime, an inverse of formatdatetime
...
git-svn-id: trunk@8624 -
2007-09-23 20:03:12 +00:00
florian
5a585ce07d
* made SExecuteProcessFailed error message more clear
...
git-svn-id: trunk@8622 -
2007-09-23 14:59:22 +00:00
florian
a99b5470af
* big variant from Thorsten Engler, fixes and improves several variant stuff
...
git-svn-id: trunk@6747 -
2007-03-07 20:45:06 +00:00
daniel
84982f2f62
+ Add siconverror constant.
...
git-svn-id: trunk@5473 -
2006-11-25 09:49:27 +00:00
Jonas Maebe
2c3d8af195
* fixed typo (invalid type case -> invalid type cast)
...
git-svn-id: trunk@3025 -
2006-03-24 22:19:47 +00:00
florian
d4bb99a5fb
+ runerror 214: bus error/data misaligment
...
git-svn-id: trunk@1263 -
2005-10-03 08:25:20 +00:00
fpc
790a4fe2d3
* log and id tags removed
...
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
florian
372711eea4
+ a lot of vararray stuff
2005-03-28 13:38:05 +00:00
peter
ac95600774
* fixed str() call
2005-03-17 16:29:04 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
michael
e05a92537d
+ Implemented ForceDirectories for Delphi compatibility
2005-01-14 12:59:25 +00:00
olle
9a4855aa43
+ added maxExitCode to all System.pp
...
* constrained error code to be below maxExitCode in RunError et. al.
2004-09-03 19:25:21 +00:00
peter
0caeea9e61
* disbaled error 900 that is out of range
2004-08-25 15:29:58 +00:00
olle
6fae444a85
+ added error 900, for macos
2004-08-20 10:18:58 +00:00
michael
70143302f0
+ Fixed currency<->string conversion support
2004-06-12 13:23:17 +00:00
michael
f3519a496a
+ OSERRor related constants
2004-02-08 11:44:05 +00:00
Tomas Hajny
e0f9297e01
* ExecuteProcess fixes, ProcessID and ThreadID added
2004-01-20 23:05:31 +00:00
michael
1567dc0814
+ Moved all resource strings to rtlconst/sysconst
2004-01-10 19:35:17 +00:00
michael
ea7ed753c8
+ Changed lookup table with Case: Array of resourcestring is not translated
2004-01-10 17:55:45 +00:00
michael
530638348a
+ Removed old strings
2003-11-30 15:04:56 +00:00
michael
3730c41c50
+ Added runerrors functionality to sysconst
2003-11-27 20:39:43 +00:00
michael
de16dcff56
+ Some fixes to have everything compile again
2003-11-26 20:34:19 +00:00
florian
058d480f40
* error handling for Variants improved
2003-11-26 20:00:19 +00:00
florian
8d771df2d4
* arm fixes to the common rtl code
...
* some generic math code fixed
* ...
2003-09-03 14:09:37 +00:00