lp:~pitti/qtubuntu-sensors/crash-without-hw

Created by Martin Pitt and last modified
Get this branch:
bzr branch lp:~pitti/qtubuntu-sensors/crash-without-hw
Only Martin Pitt can upload to this branch. If you are Martin Pitt please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Martin Pitt
Project:
qtubuntu-sensors
Status:
Merged

Recent revisions

52. By Martin Pitt

bump platform-api build dependency to ensure we get the _new() crash fix

51. By Martin Pitt

Fix crash if there are no available sensors

Check if ua_sensors_accelerometer_new() returns NULL, which happens if
platform-api cannot actually instantiate a sensor (hardware or simulated).
Don't try and call functions on it and just leave the sensor in an error state
(covered by tests of previous commit).

50. By Martin Pitt

Add tests for real/default backend

Add integration tests what happens when using qtubuntu-sensors against the real
(non-simulated) platform-api backend, and the default backend (which is "dummy"
if you don't have qtubuntu-sensors installed, and "core" if you do as that
ships /etc/xdg/QtProject/Sensors.conf).

Rename the existing APITests to SimBackendTests to tell them apart from the new
{Real,Default}BackendTests.

49. By Albert Astals Cid

Q_ASSERT -> EXPECT_EQ

Since sometimes Q_ASSERT can be compiled out and thus the test would fail. Fixes: https://bugs.launchpad.net/bugs/1271886.

Approved by PS Jenkins bot, Timo Jyrinki.

48. By Albert Astals Cid

Make it compile with Qt 5.2 (LP: #1271415). Fixes: https://bugs.launchpad.net/bugs/1271415.

Approved by PS Jenkins bot, Timo Jyrinki.

47. By Martin Pitt

Add integration tests for the QtSensor API → qtubuntu-sensors → platform-api (with simulated sensor backend).

Approved by PS Jenkins bot, Thomas Voß.

46. By PS Jenkins bot

Releasing 0.6+14.04.20140113.1-0ubuntu1 (revision 45 from lp:qtubuntu-sensors).

Approved by PS Jenkins bot.

45. By Thomas Voß

Switch buildsystem to CMake.

Approved by PS Jenkins bot, Martin Pitt.

44. By Thomas Voß

Add the position plugin for QtLocation. Fixes: https://bugs.launchpad.net/bugs/1214402.

Approved by Timo Jyrinki, Didier Roche, Martin Pitt, PS Jenkins bot.

43. By PS Jenkins bot

Releasing 0.6+14.04.20140108.2-0ubuntu1 (revision 42 from lp:qtubuntu-sensors).

Approved by PS Jenkins bot.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:qtubuntu-sensors
This branch contains Public information 
Everyone can see this information.

Subscribers