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
daniel
0ad710dc44
+ Warn for Debian mouse bug on Debian systems.
...
git-svn-id: trunk@7694 -
2007-06-16 20:39:05 +00:00
daniel
013107d245
+ Test for automated types.
...
git-svn-id: trunk@7693 -
2007-06-16 20:16:05 +00:00
tom_at_work
3e7a771b69
* fix compilation
...
git-svn-id: trunk@7692 -
2007-06-16 19:44:02 +00:00
florian
37bd49692e
* proper fix for 8481 et. al.
...
git-svn-id: trunk@7691 -
2007-06-16 19:03:53 +00:00
daniel
92975a7c99
* Remove accidentally enabled winlikewidestring.
...
git-svn-id: trunk@7690 -
2007-06-16 18:27:00 +00:00
florian
bcff0dae6d
* fixing continued
...
git-svn-id: trunk@7688 -
2007-06-16 17:04:50 +00:00
florian
9d7e2c203f
+ some types added
...
git-svn-id: trunk@7687 -
2007-06-16 17:04:15 +00:00
florian
fb1c8e5b1a
+ {$PACKSET 1} for windows units to improve delphi compatibility
...
git-svn-id: trunk@7686 -
2007-06-16 16:57:31 +00:00
florian
44037b565f
+ some missing BM_* and WM_* constants added
...
git-svn-id: trunk@7685 -
2007-06-16 16:57:00 +00:00
florian
0f281f6269
+ start of D7 compatible tlist.assign
...
git-svn-id: trunk@7684 -
2007-06-16 16:56:27 +00:00
Jonas Maebe
0a121bda8e
* removed svn:executable property
...
git-svn-id: trunk@7680 -
2007-06-16 10:02:22 +00:00
Jonas Maebe
ce94d89bd9
+ added cwstring unit for unix
...
git-svn-id: trunk@7679 -
2007-06-16 09:13:01 +00:00
Jonas Maebe
0c79628c8a
* ifdef linux -> ifdef unix for cthreads
...
git-svn-id: trunk@7678 -
2007-06-16 08:48:13 +00:00
florian
741e0a170e
+ treqsize
...
git-svn-id: trunk@7676 -
2007-06-15 21:57:46 +00:00
florian
01a4737b10
+ local symbols can hide class members in delphi mode
...
git-svn-id: trunk@7675 -
2007-06-15 21:41:55 +00:00
florian
7a99c517c4
* fixed a lot of stuff to be delphi compatible
...
git-svn-id: trunk@7674 -
2007-06-15 19:51:08 +00:00
florian
87f87bce0b
* some dummy implementations of delphi compatibility stuff
...
git-svn-id: trunk@7673 -
2007-06-15 18:57:05 +00:00
Jonas Maebe
7b47ebff6b
* removed Darwin/Solaris-specific code and fixed all issues by calling
...
setlocale(LC_ALL,'') per POSIX, which initialises the langinfo stuff
based on the environment variables (some OS'es do that automatically,
but at least Darwin and Solaris don't)
git-svn-id: trunk@7672 -
2007-06-15 18:51:06 +00:00
Jonas Maebe
62b3b307e0
* also process all subnodes of try-except and try-finally in
...
foreachnode(static) (fixes first example of mantis #9076 )
git-svn-id: trunk@7671 -
2007-06-15 17:36:09 +00:00
Jonas Maebe
ba95cc22ee
* only allow automatic type conversions of array constructors of
...
char to pchar/array of char, rather than of arbitrary array
constructors (mantis #9085 )
git-svn-id: trunk@7670 -
2007-06-15 17:16:44 +00:00
daniel
b293a9bdd4
- Revert patch by Alex Raine.
...
git-svn-id: trunk@7669 -
2007-06-15 14:13:26 +00:00
daniel
14f2edc56e
+ Assembler implementation of min/max by Alex Rayne.
...
git-svn-id: trunk@7668 -
2007-06-15 13:59:20 +00:00
Jonas Maebe
02adc2b6ab
* fixed calling cdecl routines under win32 which return their result in
...
a structure whose address is passed by the caller (the caller is
responsible there to remove the address from the stack, unlike on
e.g. linux/i386 and darwin/i386) (mantis #9013 )
git-svn-id: trunk@7667 -
2007-06-15 12:48:12 +00:00
daniel
b034a88c9c
* Prevent range check error.
...
git-svn-id: trunk@7666 -
2007-06-15 07:53:47 +00:00
florian
9e257a5289
+ new definitions
...
git-svn-id: trunk@7665 -
2007-06-14 21:37:30 +00:00
florian
0d08b1e8da
* several delphi compatibility stuff fixed
...
git-svn-id: trunk@7664 -
2007-06-14 21:24:53 +00:00
Jonas Maebe
2496946c23
* put tests in procedure so that an unbalanced stack will cause a crash
...
when exiting it
git-svn-id: trunk@7662 -
2007-06-14 16:50:08 +00:00