Mir

lp:~raof/mir/mir-module-throw-exception

Created by Chris Halse Rogers and last modified
Get this branch:
bzr branch lp:~raof/mir/mir-module-throw-exception
Only Chris Halse Rogers can upload to this branch. If you are Chris Halse Rogers please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Chris Halse Rogers
Project:
Mir
Status:
Development

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

3469. By Chris Halse Rogers

Use MIR_MODULE_THROW_EXCEPTION in graphics-throw.so

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...

3466. By Chris Halse Rogers

Remove vestigial mtd::NullPlatform::connection_ipc_package()

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
This branch contains Public information 
Everyone can see this information.