Commit Graph

8394 Commits

Author SHA1 Message Date
marco
be98b13554 * fix for 11263, changed fileread and fd_zero to out using $modeswitch.
git-svn-id: trunk@14965 -
2010-03-01 22:35:14 +00:00
joost
151fab0548 * Moved TEventType from eventlog.pp tot sysutils
* Added empty TCustomApplication.Log method

git-svn-id: trunk@14960 -
2010-03-01 13:15:36 +00:00
marco
4ee7f3adee * fix for mantis 15865 add hmonitor
git-svn-id: trunk@14953 -
2010-02-28 12:38:17 +00:00
paul
8d7312f87b rtl: use CreateVCLComObject routing to create VCLComObject in case it is not assigned + test
git-svn-id: trunk@14948 -
2010-02-27 08:49:50 +00:00
paul
9aa4504369 rtl: initial TComponent.VCLComObject support - map interface related TComponent methods to the appropriate IVCLComObject interface methods
git-svn-id: trunk@14947 -
2010-02-27 08:05:51 +00:00
paul
fcaac0ebe1 compiler,rtl - safecall handling:
- pass address to SafeCallException  method(rtl needed a modification)
  - improve code generation for regular safecall routines (not methods)
  - improve test - check that passed exception and address are valid

git-svn-id: trunk@14946 -
2010-02-27 04:41:52 +00:00
paul
cf0a1b1af9 compiler: safecall exception handling:
- move safecall exception handling from codegenerator to generate_except_block method (which generates nodes)
  - call SafeCallException for safecall methods which raises an exception

git-svn-id: trunk@14940 -
2010-02-26 10:17:24 +00:00
paul
ea8bf4f2fd rtl: TObject.SafeCallException and TComponent.SafeCallException has HResult return value. Fix default return value to catastrophic failure error code.
git-svn-id: trunk@14936 -
2010-02-25 04:13:52 +00:00
paul
bfb7d91b74 rtl: fix typos
git-svn-id: trunk@14935 -
2010-02-25 04:09:30 +00:00
marco
30207d73ea * epoll_oneshot constant, mantis 15732
git-svn-id: trunk@14931 -
2010-02-20 22:24:01 +00:00
Jonas Maebe
d2a7a4c627 * fixed signal return trampolines for ARM EABI (mantis #15803)
git-svn-id: trunk@14922 -
2010-02-18 20:53:28 +00:00
Jonas Maebe
025ec34e4d + "CExtended" type that is the same as "extended", but conforming to the
properties/behaviour of the equivalent of Extended in C (i.e., to
    "long double" on i386 and x86_64 platforms that support a 10 byte
    long double, and to "double" elsewhere)

git-svn-id: trunk@14912 -
2010-02-14 13:45:58 +00:00
Tomas Hajny
5c31042f6a * SharedSuffix moved to include files to reduce number of ifdefs
git-svn-id: trunk@14902 -
2010-02-13 15:44:12 +00:00
marco
ef4954f8d9 * Pascal version for asm code in video (Mantis 15700)
git-svn-id: trunk@14901 -
2010-02-13 15:37:07 +00:00
marco
da19c48e05 * initial x86_64 code for compare videobuffer. To be tested later. Mantis 15700
git-svn-id: trunk@14900 -
2010-02-13 14:30:07 +00:00
marco
54b15ba318 * tcursorinfo incorrectly was aliassed to console_cursor_info, which is incorrect for
getcursorinfo in redef.inc. Added cursor_info structs as per MSDN. Mantis 15745

git-svn-id: trunk@14898 -
2010-02-13 14:06:08 +00:00
ivost
efc3054644 * commented "deprecated". specialization is not working
git-svn-id: trunk@14894 -
2010-02-13 00:29:22 +00:00
marco
d742d6db58 * another fix for #15655, wrongly fixed in r14885
git-svn-id: trunk@14893 -
2010-02-12 22:32:22 +00:00
joost
8f90db3e98 * Fixed mem-leaks
git-svn-id: trunk@14891 -
2010-02-12 15:44:56 +00:00
ivost
2f20f6efc1 * marked old OnCompare properties as deprecated. use OnKeyCompare or OnDataCompare instead.
git-svn-id: trunk@14889 -
2010-02-11 20:48:35 +00:00
ivost
0637586076 * extended TFPGMap so that it's possible to add a custom compare function for data. Default compare function is binary compare.
git-svn-id: trunk@14888 -
2010-02-11 20:45:14 +00:00
ivost
02b4a626de * changed some var parameters to out. the context allows that. it's required to prevent "not initialized variable" warning.
git-svn-id: trunk@14886 -
2010-02-11 15:52:37 +00:00
marco
fb1e916ed2 * fix from mantis 15655 that adds notifiers to tlist.addlist.
git-svn-id: trunk@14885 -
2010-02-11 13:37:34 +00:00
Jonas Maebe
1b58fcc877 * set moduleislib to true for libraries. Differences with islibrary:
a) is also set to true for packages (when packages will beimplemented)
     b) exists for each package/library/application separately, instead of
        being stored in the package containing the system unit (when packages
        will be implemented)
    (mantis #15701)

git-svn-id: trunk@14880 -
2010-02-10 16:10:23 +00:00
florian
0c153a46df * math.power/intpower(0,0) return 1, this is as recommended in IEEE 754
as well as compatible with other programming languages and delphi

git-svn-id: trunk@14873 -
2010-02-06 23:10:03 +00:00
Jonas Maebe
b1d2ab5450 * tobject.inheritsfrom(nil) has to return false (mantis #15690)
git-svn-id: trunk@14870 -
2010-02-06 18:14:26 +00:00
Jonas Maebe
870edaf916 * tobject.unitname and tobject.tostring have to return an ansistring instead
of a shortstring (mantis #15693)
  * changed tobject5 so it checks whether the return values are correct

git-svn-id: trunk@14869 -
2010-02-06 17:53:49 +00:00
florian
34f976afea * enabled internal sar support for sparc and mips as well
git-svn-id: trunk@14867 -
2010-02-04 22:04:19 +00:00
marco
706f0b7975 * New more delphi compat intstrtotime by Bart Broersma #15505 + test
git-svn-id: trunk@14854 -
2010-02-03 15:10:14 +00:00
pierre
e716c54523 * fix double to clongdouble conversions for 128 bits C long double
git-svn-id: trunk@14849 -
2010-02-02 23:36:46 +00:00
pierre
a989b6c1e6 * avoid problems for windows if case of drive letter is different
git-svn-id: trunk@14840 -
2010-02-01 15:47:22 +00:00
florian
dfc2652062 + support of compiler intrinsic sar* using a patch by Benjamin Rosseaux, resolves #15606
git-svn-id: trunk@14834 -
2010-01-31 16:47:01 +00:00
pierre
23e171d396 * Fix alignment problem for sparc arch.
git-svn-id: trunk@14833 -
2010-01-30 22:19:14 +00:00
Jonas Maebe
89e4e0fd25 * only wake up readers if all recursive write locks have been freed
git-svn-id: trunk@14831 -
2010-01-29 21:56:46 +00:00
Jonas Maebe
13e8b3f23e * don't give a "NoThreadError" for any default rtl/basicevent* routines,
so the TMultiReadExclusiveWriteSynchronizer routines can be safely
    executed even with the default thread manager -> removed ismultithread
    checks, so that it keeps working even if ismultithread is set to true
    between acquiring and freeing a lock (mantis #15619)

git-svn-id: trunk@14830 -
2010-01-29 21:01:11 +00:00
Jonas Maebe
e4858445c7 * make sure fwritelocked remains set correctly when using recursive write locks
git-svn-id: trunk@14828 -
2010-01-29 18:10:10 +00:00
pierre
048b2ba67b * fix pthread problem wen using nice for solaris
git-svn-id: trunk@14823 -
2010-01-28 19:05:42 +00:00
pierre
df33542ca9 + Timezone support for solaris
git-svn-id: trunk@14821 -
2010-01-28 11:03:32 +00:00
Jonas Maebe
2c477269d0 * added a readbarrier after acquiring a read or write lock on
TMultiReadExclusiveWriteSynchronizer, to ensure that out-of-order
    execution cannot already perform some reads inside the critical section
    before the lock has been acquired
  - removed now unnecessary read barrier before releasing a read lock

git-svn-id: trunk@14820 -
2010-01-27 22:23:41 +00:00
marco
2c149e805a * fix for 15597. Added returnvalue to early-out exit().
git-svn-id: trunk@14818 -
2010-01-27 19:49:28 +00:00
Jonas Maebe
a527b6b2b4 * optimized ppc memory barrier implementations
git-svn-id: trunk@14803 -
2010-01-25 14:49:33 +00:00
marco
52e803112b * fix for #0 problem in posex + faster (indexbyte) based implementations.
git-svn-id: trunk@14786 -
2010-01-23 22:03:20 +00:00
paul
d3820bfa58 rtl: add TVmtFieldTable, TVmtFieldEntry to typinfo unit since delphi has that declarations too
git-svn-id: trunk@14754 -
2010-01-20 15:17:06 +00:00
micha
215823c88f * rtl: fix TFPGList Add/Insert hang/crash (issue #15500)
git-svn-id: trunk@14718 -
2010-01-17 15:34:45 +00:00
florian
2c823f5935 * fixes compilation of win32 system unit with -dSYSTEMEXCEPTIONDEBUG
git-svn-id: trunk@14717 -
2010-01-17 15:12:02 +00:00
olivier
22a5e7ef0a * Add convutils and stdconvs units.
git-svn-id: trunk@14689 -
2010-01-17 01:45:38 +00:00
olivier
3b326d1bd1 * Fixed some declarations for Haiku. Some are needed to compile Lazarus.
git-svn-id: trunk@14688 -
2010-01-17 01:10:24 +00:00
marco
689094646e * image_file_machine constants
git-svn-id: trunk@14646 -
2010-01-14 20:28:58 +00:00
pierre
a1baf343b9 * Add convutils ans stdconvs units
git-svn-id: trunk@14643 -
2010-01-14 16:18:58 +00:00
Jonas Maebe
08a4ede9c4 * added str(enum,charray) and export str(enum,ansistr/widestr/unicodestr)
(mantis #15504)
  * fixed result parameter of str(enum,ansistr) helper (was shortstring)

git-svn-id: trunk@14629 -
2010-01-12 20:19:52 +00:00