lp:~raof/mir/mir-module-throw-exception
- Get this branch:
- bzr branch lp:~raof/mir/mir-module-throw-exception
Branch merges
- Mir CI Bot: Needs Fixing (continuous-integration)
- Mir development team: Pending requested
-
Diff: 364 lines (+267/-11)7 files modifiedinclude/test/mir/test/doubles/null_platform.h (+0/-5)
src/common/sharedlibrary/CMakeLists.txt (+4/-1)
src/common/sharedlibrary/module_throw_exception.cpp (+94/-0)
src/common/symbols.map (+1/-0)
src/include/common/mir/module_throw_exception.h (+69/-0)
tests/acceptance-tests/test_server_shutdown.cpp (+15/-1)
tests/mir_test_framework/platform_graphics_throw.cpp (+84/-4)
Related bugs
Related blueprints
Branch information
Recent revisions
- 3470. By Chris Halse Rogers
-
Babysit g++5 by explicitly using std::hash<
uint32_ t>. I don't really know why g++5 can't handle std::unordered_
map<MyEnumClass , bool> while g++6 can,
but that's apparently the case.Make life easier on poor little g++5
- 3468. By Chris Halse Rogers
-
Add MIR_MODULE_
THROW_EXCEPTION . This is like BOOST_THROW_
EXCEPTION, but it additionally ensures that the dynamic library
that contains the throwing code is not unloaded before exception processing finishes.This prevents annoying-to-debug SIGSEGVs when throwing an exception from a platform module
and stack unwinding causes the mir::UniqueModulePtr to be destroyed (and the DSO unloaded)
before the catch {} attempts to access code (such as destructors) or data (such as
static strings) from the now-unloaded DSO with hilarious consequences! - 3467. By Chris Halse Rogers
-
Test exception-safety of all mg::Platform methods.
Spoiler: only the constructor is exception-safe. All other methods SIGSEGV trying to run
code or load data found in the DSO that's just been unloaded... - 3465. By Alan Griffiths
-
logging: Add a bit more information (surface type) to logging:
:ShellReport. Approved by Cemil Azizoglu, Kevin DuBois, mir-ci-bot.
- 3464. By Daniel van Vugt
-
Fix unresponsive cursor to slow mouse movement (LP: #1528109)
Since we started using libinput and its acceleration curve, that actually
reduces the amount of motion we receive for slow mouse movements. A device
increment of 1 actually results in us receiving a dx or dy from libinput
of less than 1.0. So this fix ensures that such small movements no longer
get truncated to zero. Fixes: https://bugs.launchpad .net/bugs/ 1528109. Approved by Andreas Pokorny, Alan Griffiths, mir-ci-bot.
- 3463. By Daniel van Vugt
-
Fix spurious test failure of
TestClientInput.receives_ one_touch_ event_per_ frame
on slow/loaded machines (LP: #1570698). Fixes: https://bugs.launchpad .net/bugs/ 1570698. Approved by Cemil Azizoglu, Alan Griffiths, mir-ci-bot.
- 3462. By Kevin DuBois
-
fix: LP #1556045 which was blocking CI. problem was in the test fixture. Fixes: https:/
/bugs.launchpad .net/bugs/ 1556045. Approved by Alan Griffiths, Chris Halse Rogers, mir-ci-bot.
- 3461. By Andreas Pokorny
-
Test the optional before accessing the device configuration
This is a workaround necessary until the client api to read input device configurations is in place.
. Fixes: https://bugs.launchpad .net/bugs/ 1570362. Approved by Alan Griffiths, Cemil Azizoglu, mir-ci-bot.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:mir