examples: build qitranslate

Change-Id: I668bb6bbf1856311d5b4a2175af907f4c3f07a5c
Reviewed-on: http://gerrit.aldebaran.lan/27205
Reviewed-by: vbarbaresi <vbarbaresi@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
log: support --qi-log-filters, remove some old options, rename verbosity to level

Change-Id: Ic565721eee96a7befac5014c09cbf268b2623b3d
Reviewed-on: http://gerrit.aldebaran.lan/27066
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
Fix _QI_COMMAND_LINE_OPTIONS to hide unnecessary help messages

Change-Id: If19b75a697205fad4e1857840cd4fba18f9c054e
Reviewed-on: http://gerrit.aldebaran.lan/26008
Tested-by: gerrit
Reviewed-by: lwchhim <lwchhim@aldebaran-robotics.com>
Tested-by: lwchhim <lwchhim@aldebaran-robotics.com>
android: do not compile qitranslate

Change-Id: Ib97c0405a3a4edda2fe5b89e5253f1b5db1fe583
Reviewed-on: http://gerrit.aldebaran.lan/28350
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
improve qi::path doc

and add a test about finding directories

Change-Id: Ieaed604cc1da4363a81f473d6bc3ac1d649ae754
Reviewed-on: http://gerrit.aldebaran.lan/26618
Reviewed-by: dmerejkowsky <dmerejkowsky@aldebaran-robotics.com>
Reviewed-by: jfremy <jfremy@aldebaran-robotics.com>
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: sbarthelemy <sbarthelemy@aldebaran-robotics.com>
Tested-by: sbarthelemy <sbarthelemy@aldebaran-robotics.com>
remove path::findListData

since it adds little value, and function names are confusing

Change-Id: I3557786b520b859760983840463f9bf09b89def2
Reviewed-on: http://gerrit.aldebaran.lan/29790
Reviewed-by: sbarthelemy <sbarthelemy@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Added qi::os::currentThreadName()

Change-Id: Ie9be18e306a323e900f7c7d57237d9932afb6391
Reviewed-on: http://gerrit.aldebaran.lan/28038
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Approved: qmignot <qmignot@aldebaran-robotics.com>
Reviewed-by: qmignot <qmignot@aldebaran-robotics.com>
Tested-by: qmignot <qmignot@aldebaran-robotics.com>
PointerLockException: Implement what()

Change-Id: Ifd15bc2ff5d940c66740a3b71c6be29780e48497
Reviewed-on: http://gerrit.aldebaran.lan/25744
Reviewed-by: qmignot <qmignot@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Atomic: static-initializable AtomicBase. Mark storage volatile.

We wouldn't need the volatile if we had support for a
atomicCompareAndExchange.

Change-Id: I373e61234fbb05fbbf942cabefd0d4b9ce13e55d
Reviewed-on: http://gerrit.aldebaran.lan/29217
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
QI_ONCE, QI_THREADSAFE_NEW: New.

Change-Id: If66335365f34bb8153da260747c6640fa2311fa9
Reviewed-on: http://gerrit.aldebaran.lan/29218
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
Atomic: Fix for 64bit WIN32

Change-Id: If8582e7b6bd8645461485f0a2423dcbdbb0f7bc9
Reviewed-on: http://gerrit.aldebaran.lan/29220
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
test_future: Remove invalid assert.

Change-Id: Iee28567f17e48faa2d99917b0b4adc79e14a08c0
Reviewed-on: http://gerrit.aldebaran.lan/29221
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
Atomic::setIfEquals: New.

Change-Id: I3f0b4e7776d15d5c40a36da099f20ec0f98e994a
Reviewed-on: http://gerrit.aldebaran.lan/29256
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
QI_ONCE: Safer implementation.

Only use operations with proper memory barriers (even though the
volatile seems to suffice to make the 'while (!*atomic)' work.

Change-Id: I0b466019282d9aec286e4b8aac6ec69dd59234f6
Reviewed-on: http://gerrit.aldebaran.lan/29257
Tested-by: gerrit
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
Log: More missing locks.

Change-Id: Ibcd25bba008ca7d545d8350a2d442ca3fb63cd98
Reviewed-on: http://gerrit.aldebaran.lan/29334
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
Throw at Application construction at double initialization.

Change-Id: I26f3fd7251e22f539f01a99de10d707183cddd3f
Reviewed-on: http://gerrit.aldebaran.lan/29478
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: lwchhim <lwchhim@aldebaran-robotics.com>
Tested-by: lwchhim <lwchhim@aldebaran-robotics.com>
Promise: Fix leak when onCancel is used.

The code was binding a copy of the promise to the callback.

Change-Id: Id666f79235224375633c9f0cde48c515463f44dd
Reviewed-on: http://gerrit.aldebaran.lan/29647
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: mnottale <mnottale@aldebaran-robotics.com>
Tested-by: mnottale <mnottale@aldebaran-robotics.com>
The application logs that it unregisters the signal handlers in verbose mode

Change-Id: I1dba87a8f49dddf64cd1bfa4aa77f26786bfe113
Reviewed-on: http://gerrit.aldebaran.lan/29860
Reviewed-by: qmignot <qmignot@aldebaran-robotics.com>
Tested-by: gerrit
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
LOG: Fix bad glob checking on setCategory

Updating an existing filter with setCategory updates the value
without changing the position of the filter in the ordered list,
but it also updated existing categories as if the filter was the last element of the list.
Change that last bit by reprocessing the whole filter list
for each category that matches the updated filter.

Change-Id: I567aa78aa601644b210d5e4694805c6c1052a868
Reviewed-on: http://gerrit.aldebaran.lan/30163
Reviewed-by: hcuche <hcuche@aldebaran-robotics.com>
Tested-by: hcuche <hcuche@aldebaran-robotics.com>
macro: splitout traits and atomic out of macro.hpp


isclonable => traits.hpp
QI_ONCE/QI_THREADSAFE_NEW => atomic.hpp

Change-Id: Ia17dcfa215b02d20adb2e4102a3ee0e0f2b78866
Reviewed-on: http://gerrit.aldebaran.lan/30927
Reviewed-by: cgestes <gestes@aldebaran-robotics.com>
Tested-by: cgestes <gestes@aldebaran-robotics.com>
Reviewed-by: ckilner <ckilner@aldebaran-robotics.com>
Tested-by: ckilner <ckilner@aldebaran-robotics.com>