micha
787f9a44c7
* heap manager: do not try to leave critical section twice, moron
...
git-svn-id: trunk@7763 -
2007-06-21 20:19:33 +00:00
yury
86d49c2a0c
* Activated safecall support for ARM CPU.
...
git-svn-id: trunk@7762 -
2007-06-21 17:32:35 +00:00
yury
691b3da1ed
* Fixed test to be locale independent.
...
git-svn-id: trunk@7761 -
2007-06-21 17:23:13 +00:00
yury
a70eba78a6
* Delete temporary files used by tests. It is important when remotely run testsuite at Pocket PC. Temp files are created in root folder and it is not good if the files are left.
...
git-svn-id: trunk@7760 -
2007-06-21 17:13:39 +00:00
yury
bbd9f6f993
* Removed $E- directive from tests to fix compilation for arm-wince.
...
git-svn-id: trunk@7759 -
2007-06-21 15:50:08 +00:00
yury
d1c2f41c66
* Fixed passing variant parameters by value for ARM. It fixes tw7806.pp.
...
git-svn-id: trunk@7758 -
2007-06-21 15:06:43 +00:00
yury
5b5050a09c
* Fixed integer to single conversion for arm-wince. It fixes tw8055.pp test.
...
git-svn-id: trunk@7757 -
2007-06-21 14:08:58 +00:00
Vincent Snijders
2794cef7b7
fixed checksynchronize so that it can be called recursively, fixes issue #9068 and #9079
...
git-svn-id: trunk@7756 -
2007-06-21 14:03:51 +00:00
yury
029fb7e187
* adapted test for slow cpus like arm.
...
git-svn-id: trunk@7755 -
2007-06-21 13:46:35 +00:00
yury
8e45887e1b
* allow assignment of empty dynarray to variant and empty vararray to dynarray.
...
+ test.
git-svn-id: trunk@7754 -
2007-06-21 09:31:10 +00:00
micha
c0fa8fd255
* heap manager: fix thread exit race condition by using single global lock
...
fix finishing to be freed list in orphaned list context
fix heaptrace finalization
git-svn-id: trunk@7752 -
2007-06-20 21:10:35 +00:00
yury
17764bbbf6
* this test not for wince.
...
git-svn-id: trunk@7750 -
2007-06-20 20:35:44 +00:00
yury
206d027e9e
* for ARM CPU records must be aligned in stack depending of record size to prevent misaligned error when the record is passed as parameter in registers. It fixes tcalext* tests for ARM.
...
git-svn-id: trunk@7749 -
2007-06-20 20:31:06 +00:00
yury
be65e77702
* fixed test.
...
git-svn-id: trunk@7748 -
2007-06-20 20:11:33 +00:00
yury
e305433639
* skip test for wince.
...
git-svn-id: trunk@7747 -
2007-06-20 18:11:05 +00:00
yury
38b8731ba0
* Restored relocs generation for dlls by internal linker. It fixes bug #9048 .
...
* It is possible to generate relocs for exe with internal linker using -WB switch.
git-svn-id: trunk@7743 -
2007-06-20 15:47:10 +00:00
Jonas Maebe
2700c4eeb0
* fixed leaking of CGImage in every screen drawing operation
...
git-svn-id: trunk@7742 -
2007-06-20 15:11:01 +00:00
yury
8beb015957
* fixed test.
...
git-svn-id: trunk@7741 -
2007-06-20 13:12:51 +00:00
yury
63965406c4
* VarArrayRedim should accept new HighBound if it is LowBound-1. It clears the array.
...
* Updated test.
git-svn-id: trunk@7739 -
2007-06-20 09:25:35 +00:00
michael
a7a0e9a307
* Component name can be empty
...
git-svn-id: trunk@7737 -
2007-06-20 07:28:14 +00:00
yury
1ae31b4037
* Delphi compatibility: VarArrayOf([]) should create empty array of variant.
...
+ test.
git-svn-id: trunk@7735 -
2007-06-19 21:45:21 +00:00
yury
93e72c2079
* Fixed bug introduced by r7667. Do not release pushed return value be callee for cdecl on win32. It fixes error3 of bug #9098 .
...
git-svn-id: trunk@7734 -
2007-06-19 21:06:44 +00:00
Almindor
a1108a8fbb
* update lNet to 0.5.2
...
git-svn-id: trunk@7733 -
2007-06-19 20:07:19 +00:00
yury
9525ad6edf
* removed debug output.
...
git-svn-id: trunk@7732 -
2007-06-19 12:45:26 +00:00
yury
a4dfa3b4fd
* fixed bug #9107 : procedure which have pushed parameters in its body fails if only -OoSTACKFRAME switch is used.
...
+ test.
git-svn-id: trunk@7731 -
2007-06-19 12:09:11 +00:00
yury
51493d673e
* fixed test.
...
git-svn-id: trunk@7730 -
2007-06-19 10:37:59 +00:00
yury
ff3bd9fa6f
* fixed compilation for arm targets.
...
git-svn-id: trunk@7729 -
2007-06-18 23:38:54 +00:00
yury
3b7e458f02
* Properly set location of float return value if it is passed as var parameter (it is always happens for safecall functions). It fixes bugs #8523 and #8977 .
...
+ test.
git-svn-id: trunk@7728 -
2007-06-18 23:23:46 +00:00
yury
9bbff8042f
* Set return value of safecall procedure if implicit try/finally blocks are disabled.
...
git-svn-id: trunk@7727 -
2007-06-18 21:40:33 +00:00
micha
3b7792ead1
* heaptrace: cleanup orphaned lock only in case of threading used
...
also improve readability of zeroing LSB
git-svn-id: trunk@7726 -
2007-06-18 21:05:32 +00:00
yury
7a6c15bfcd
* fixed test.
...
git-svn-id: trunk@7724 -
2007-06-18 17:42:17 +00:00
yury
5afc9355f8
* use proper runtime error codes for EIntfCastError and ESafecallException exceptions.
...
git-svn-id: trunk@7723 -
2007-06-18 17:38:07 +00:00
yury
9844174e5e
* It is needed to destroy exception object in safecall procedure as well.
...
git-svn-id: trunk@7722 -
2007-06-18 17:26:15 +00:00
yury
78fe68859b
* Pop the last exception object in safecall procedure.
...
git-svn-id: trunk@7721 -
2007-06-18 16:12:49 +00:00
yury
a7d1508959
* Fixed safecall procedures by generating implicit try/finally and setting correct return value if exception was occurred or not. Now safecall is fully Delphi compatible.
...
git-svn-id: trunk@7720 -
2007-06-18 14:26:08 +00:00
marco
569d7e1138
* fixed deprecated
...
git-svn-id: trunk@7719 -
2007-06-17 20:40:47 +00:00
marco
58e3f8ad0d
* more deprecated fixes
...
git-svn-id: trunk@7718 -
2007-06-17 20:31:08 +00:00
marco
0ef2cb0b02
* fixed deprecated
...
git-svn-id: trunk@7717 -
2007-06-17 20:29:33 +00:00
marco
4200ae288d
* fixed deprecated
...
git-svn-id: trunk@7716 -
2007-06-17 20:28:06 +00:00
Jonas Maebe
d1c597aa71
* avoid extra locking/unlocking for updatescreen (must now always be
...
called while the graphdrawing lock is held)
git-svn-id: trunk@7715 -
2007-06-17 17:15:03 +00:00
florian
c1640b078b
* create init rtti for fpc_copy instead of full rtti
...
git-svn-id: trunk@7714 -
2007-06-17 15:31:06 +00:00
Jonas Maebe
d9284963b3
* fix for fpc_copy on 64 bit systems from Florian
...
git-svn-id: trunk@7713 -
2007-06-17 15:07:52 +00:00
peter
65a721de66
* test for wrong first match of operator overloading
...
git-svn-id: trunk@7703 -
2007-06-17 14:17:30 +00:00
florian
72d49f3033
* reverted r7675
...
git-svn-id: trunk@7702 -
2007-06-17 13:17:44 +00:00
michael
663e020402
* Patch from Inoussa OUEDRAOGO to support GUIDs in interface declarations
...
git-svn-id: trunk@7701 -
2007-06-17 09:58:21 +00:00
Jonas Maebe
b6f4e26631
+ graph unit for Mac OS X. Note that you have to change one thing in graph
...
programs to use it: put the main program code in a function with signature
"function graphprog(p: pointer): longint;" and then start the program
by calling "StartGraphProgram(@graphprog);"
* compilation not yet enabled because graph needs to be moved to
packages/extra first (since this graph unit depends on packages/extra/
univint), and it's also not yet really polished (e.g. hardcoded to
640x480x256 colors)
* Something which will probably never work correctly:
* getpixel (and therefore also and/or/xorput), because you cannot
completely disable anti-aliasing in quartz. Further, the quartz api
requires floating point color component values when drawing, while
the bitmap from which we read the pixels back represents the colors
component values as bytes (which causes extra rounding errors).
Only solvable if we manually duplicate all drawing in a separate
buffer (although then you still won't erase the anti-aliasing pixels
in the real bitmap). An upside of the automatic anti-aliasing is that
all drawing looks nicer.
git-svn-id: trunk@7700 -
2007-06-17 09:57:52 +00:00
florian
ea97b8b137
* fixed copying of remaining elements
...
git-svn-id: trunk@7699 -
2007-06-17 09:47:05 +00:00
Jonas Maebe
3eaceafad3
* fixed notput for vga 16 color modes
...
git-svn-id: trunk@7698 -
2007-06-17 08:42:53 +00:00
florian
2c4aeefbf4
* fixed copying of automated records
...
git-svn-id: trunk@7696 -
2007-06-16 21:44:55 +00:00
daniel
84da64db85
* Library -> daemon
...
git-svn-id: trunk@7695 -
2007-06-16 20:40:59 +00:00