Bryce Harrington
f4cb6a398b
uuid: Check error on ftruncate call
...
Summary:
Fixes warning:
src/bin/e_uuid_store.c:71:4: warning: ignoring return value of
‘ftruncate’, declared with attribute warn_unused_result
[-Wunused-result]
ftruncate(store->shmfd, TABLE_SIZE);
^
Signed-off-by: Bryce Harrington <bryce@osg.samsung.com>
Reviewers: zmike
Subscribers: cedric
Differential Revision: https://phab.enlightenment.org/D2156
2015-03-13 20:26:24 -04:00
Stefan Schmidt
f47bed7ed7
e_uuid_store: Write uuid as latest to avoid half-working states
2014-04-24 11:03:53 +02:00
Stefan Schmidt
cc23186dbd
e_uuid_store: Use libuuid for UUID generation and handling
...
Instead of rolling our own we go with a known working UUID implementation
here. Dependency should be easy enough as more or less every Linux system
is shipping it anyway.
2014-04-24 11:03:52 +02:00
Stefan Schmidt
19436fe61d
e_uuid_store: Handle cases where the store is already present as well as not
2014-04-24 11:03:52 +02:00
Stefan Schmidt
9523d7a93c
e_uuid_store: Switch uuid entries from list to array
...
This should help to store it in the shm
2014-04-24 11:03:52 +02:00
Stefan Schmidt
8662551ee3
e_uuid_store: Add version to table if not yet set
2014-04-24 11:03:52 +02:00
Stefan Schmidt
c2ce32596a
e_uuid_store: Close shm fd on shutdown
2014-04-24 11:03:52 +02:00
Stefan Schmidt
720f3634f8
e_uuid_store: Print out some more store infos on startup
2014-04-24 11:03:52 +02:00
Stefan Schmidt
8ebda14276
e_uuid_store: Add function to dump the table for debugging
2014-04-24 11:03:52 +02:00
Stefan Schmidt
7a940b1062
feature: e_uuid_store: Add infrastructure to store window/surface properties.
...
e_uuid_store provides an API to store various window/surface properties
in a mmapped shm memory object based on an assigned UUID. Its main purpose
will be to provide storage of these properties during session recovery when
E acts as a wayland compositor.
@feature
2014-04-24 11:03:52 +02:00