mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Added ChangeLog entry from last commit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@32258 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
18ccb48ece
commit
8e1fcfe9d5
1 changed files with 23 additions and 0 deletions
23
ChangeLog
23
ChangeLog
|
@ -1,3 +1,26 @@
|
|||
2011-02-21 11:05 David Chisnall <theraven@gna.org>
|
||||
|
||||
* libs/base/trunk/Source/GSFFIInvocation.m: Some changes to method
|
||||
type lookup when forwarding. Alway use the compiler-supplied type
|
||||
information if it exists - this is guaranteed to by the correct
|
||||
type encoding for the call frame and lets us deconstruct it
|
||||
correctly. We can then fail gracefully later on when trying to
|
||||
invoke the selector if the types in the callee don't match,
|
||||
rather than by reading nonsense from the stack now.
|
||||
|
||||
When using the GNUstep runtime, use the safe mechanism for
|
||||
checking whether there is more than one typed selector, and only
|
||||
use that as a guess if it is safe to do so. With the GCC runtime,
|
||||
we are still stuck using the API that it is impossible to use
|
||||
safely (we might be better off just giving up at this point), but
|
||||
now we call this after -methodSignatureForSelector:, so the app
|
||||
developer gets a chance to do the right thing before we do the
|
||||
wrong thing.
|
||||
|
||||
Also changed the assert to throw an exception if no type
|
||||
signature can be found. This behaviour is consistent with Mac OS
|
||||
X.
|
||||
|
||||
2011-02-20 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSMethodSignature.m:
|
||||
|
|
Loading…
Reference in a new issue