~gnustep/gnustep/+git/gnustep-objc2:keysight_libobjc2_branch

Last commit made on 2021-12-24
Get this branch:
git clone -b keysight_libobjc2_branch https://git.launchpad.net/~gnustep/gnustep/+git/gnustep-objc2

Branch merges

Branch information

Name:
keysight_libobjc2_branch
Repository:
lp:~gnustep/gnustep/+git/gnustep-objc2

Recent commits

a357cb9... by Frederik Seiffert <email address hidden>

tests: Test that we can throw and catch the same exception multiple times sequentially. (#188)

This originally came up as an issue with libc++abi support (#152), but is not specific to that ABI.

* Use the C++ runtime to check for uncaught C++ exceptions.

As discussed in #152, use the function defined in the Itanium C++ ABI to
check whether the thrown exception is the current caught C++ exception
and needs rethrowing via `__cxa_rethrow()`.

Co-authored-by: Niels Grewe <email address hidden>
Co-authored-by: David Chisnall <email address hidden>

14619f2... by Graham--M <email address hidden>

Fix autorelease pool emptying when new references are added (#218)

* Add test for emptying autorelease pool

* Fix arc autorelease pool emptying when adding further references
When releasing a reference in the arc autorelease pool, it is
possible and anticipated that new references may added to the pool.
This fix addresses an edge case where releasing a reference in the
same pool page as the stop position can add more references which
cause the insertion of a new page and emptyPool() returns early
after emptying the new page.

b32ee77... by Frederik Seiffert <email address hidden>

Fix weak ref handling during dealloc (#215)

Add test for setting weak ref during dealloc

Fixes #214

bdf03cb... by Frederik Seiffert <email address hidden>

Update runtime defines to match Apple platforms

646c142... by Lenin

fix typo (#208)

396c9b5... by David Chisnall <email address hidden>

Delete some dead code containing bugs. (#205)

Fixes #203

1094eb7... by mischievous <email address hidden>

Updated the class_copyMethodList (#206)

Updated the class_copyMethodList to clear the stack garbage for outCount if preset before checking the class is null

921e3c3... by Graham--M <email address hidden>

Strong retain calls should always return the instance pointer.

This fixes a regression in 73132a6 (#200) where nil was returned
from a retain call after the object begins deallocating. Normal
retains of a deallocating object are still expected to return an
instance pointer inside its dealloc method and code compiled with ARC
will generate calls to objc_storeStrong() when a block captures the
self pointer inside the dealloc method.

38f44a8... by Graham--M <email address hidden>

Remove unused declares

2deec33... by Bernard Cafarelli <email address hidden>

Add pthreads to link libraries, not link flags

This fixes linking errors with --as-needed like:
ld: libobjc.so.4.6: undefined reference to `pthread_mutexattr_destroy'

Fixes #180