Commit Graph

258 Commits

Author SHA1 Message Date
José Roberto de Souza e9afafc21b efreet: Unregister when client connection die
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80950
2012-12-14 14:27:19 +00:00
José Roberto de Souza db438c3a6c efreet: Use connection events to monitor Disconnected signal
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 80948
2012-12-14 14:27:05 +00:00
Sebastian Dransfeld c823b3fe29 efreet: update language for daemon
SVN revision: 79721
2012-11-26 16:07:55 +00:00
Sebastian Dransfeld 92b5baaea4 efreet: fix alloca
SVN revision: 79629
2012-11-24 06:43:00 +00:00
Sebastian Dransfeld 30965869f0 efreet: don't double test for data in list
SVN revision: 79254
2012-11-13 22:51:11 +00:00
Sebastian Dransfeld 6e883bdbbd efreet: Monitor created paths
If a path which should be monitored does not exist, we can't monitor it.
If we create the path and open it, efreet will signal the cache daemon
that the cache should be rebuilt. If this was a system path, we would
ignore the request, but with this change it will see that the path isn't
monitored and rebuild the cache.

SVN revision: 79244
2012-11-13 20:36:35 +00:00
Sebastian Dransfeld 7adfa90371 efreet: monitor links to directories
SVN revision: 79243
2012-11-13 20:36:26 +00:00
Sebastian Dransfeld f5832cf132 efreet: Do not recurse into icon dirs
There will be a lot of dirs below an icon dir, so it is a lot to watch
all. The icon theme spec says that the top level dir will be updated on
icon theme update, which it will on a standard linux system. A temporary
file will be created and deleted below the top level dir.

SVN revision: 79126
2012-11-11 21:47:22 +00:00
Sebastian Dransfeld 959a737450 efreet: fix typo, not desktop but icon
SVN revision: 79125
2012-11-11 21:47:12 +00:00
Carsten Haitzler 376634601d more xxx's
SVN revision: 79124
2012-11-11 21:35:31 +00:00
Carsten Haitzler 6475821a07 lets make some XXX notes about monitoring non-existant dirs.
SVN revision: 79123
2012-11-11 21:34:49 +00:00
Sebastian Dransfeld b4490d909e efreet: shutdown on error and disconnect
When bus stops it send Disconnect signal. Trap and die.

SVN revision: 79122
2012-11-11 20:59:03 +00:00
Vincent Torri cda5755122 Efreet: declare properly alloca()
SVN revision: 79088
2012-11-10 09:13:56 +00:00
Stefan Schmidt ad8bcedc11 efreet: Add header to files to pass distcheck
SVN revision: 78940
2012-11-06 13:36:09 +00:00
Sebastian Dransfeld a5ac6a987c efreet: better english
SVN revision: 78889
2012-11-03 21:44:11 +00:00
Sebastian Dransfeld 2bdc89808c efreet: check desktop-directories
SVN revision: 78875
2012-11-02 20:12:47 +00:00
Sebastian Dransfeld 6e85b4bfcc efreet: track efreetd clients
SVN revision: 78874
2012-11-02 20:12:41 +00:00
Sebastian Dransfeld 89daa0b210 efreet: minor changes
- Wait longer before we start cache build process
- Fix typo
- Don't log with \n
- TODO++

SVN revision: 78872
2012-11-02 20:11:56 +00:00
Sebastian Dransfeld 124beafa67 efreet: require edbus2
SVN revision: 78867
2012-11-02 14:01:55 +00:00
Sebastian Dransfeld 063cb0c3e2 efreet: only run one builder instance
SVN revision: 78814
2012-11-02 02:49:10 +00:00
Sebastian Dransfeld f38c608627 efreet: reply on ping whether cache exists
And trigger event

SVN revision: 78813
2012-11-02 01:47:06 +00:00
Sebastian Dransfeld 9262991a45 efreet: iface registration before name request
SVN revision: 78812
2012-11-02 01:47:00 +00:00
Sebastian Dransfeld e94d0c6eb1 efreet: Use dbus daemon
SVN revision: 78809
2012-11-02 01:46:44 +00:00
Sebastian Dransfeld ac97a87b85 efreetd: init ecore_file
SVN revision: 78808
2012-11-02 01:46:31 +00:00
José Roberto de Souza ca20fab7d4 efreet: Build fix, edbus_service_interface_register() signature has changed
Patch by: José Roberto de Souza  <zehortigoza@profusion.mobi>



SVN revision: 78804
2012-11-01 16:41:35 +00:00
Sebastian Dransfeld ed5e14204e efreet: Add dbus efreet daemon
Not working yet.

SVN revision: 78294
2012-10-21 04:53:23 +00:00
Sebastian Dransfeld a473306c0e efreet: move update files
Move update files to separate subdir to reduce inotify triggers

SVN revision: 78176
2012-10-18 09:40:00 +00:00
Sebastian Dransfeld 4eb8b955a9 efreet: optimize stat
use eina_file_stat_ls instead of eina_file.*_ls + ecore_file_is_dir

SVN revision: 78173
2012-10-18 09:12:25 +00:00
Sebastian Dransfeld 8009998bcc efreet: remove realpath
No need to use realpath here, paths coming in here are already sane

SVN revision: 78160
2012-10-18 08:10:23 +00:00
Sebastian Dransfeld 246150b72c efreet: get all files with new extension
Previous code would only allow one file with new extension from
inherited theme. Now we accept for all already known icon types.

SVN revision: 77810
2012-10-10 20:56:29 +00:00
Sebastian Dransfeld 3dba7ec434 efreet: find icons with all extension
If there are icons in inherited themes which have not already found
extensions, add these as alternatives.

SVN revision: 77800
2012-10-10 20:28:55 +00:00
Sebastian Dransfeld 6da5a2edce efreet: directory list can end in a ','
SVN revision: 77799
2012-10-10 20:28:51 +00:00
Sebastian Dransfeld 4a192bca07 efreet: close theme_ef on error
SVN revision: 77798
2012-10-10 20:28:47 +00:00
Sebastian Dransfeld 7f33df3da8 efreet: always allocate icon_version
SVN revision: 77797
2012-10-10 20:28:05 +00:00
Sebastian Dransfeld 9b8a67bb31 efreet: Fix last fix, only access theme inside if
SVN revision: 74879
2012-08-04 17:11:18 +00:00
Sebastian Dransfeld 493fd82f35 efreet: always need to revalidate themes
Themes read from cache are not valid until a valid index file has been
read.

SVN revision: 74865
2012-08-03 20:21:47 +00:00
Vincent Torri e707290273 Efreet: errno.h is not always indirectly included
SVN revision: 73293
2012-07-04 18:35:31 +00:00
Sebastian Dransfeld 851f2fc136 efreet: Fix missing cache info
If a desktop was in the regular cache because of direct access, and then
added by a change in XDG_DATA_DIRS it wouldn't end in the utils cache
unless something triggered a complete cache rebuild.

SVN revision: 72962
2012-06-27 19:07:05 +00:00
Sebastian Dransfeld 93ed956adf efreet: Remove unneeded headers
SVN revision: 67403
2012-01-20 19:54:20 +00:00
Sebastian Dransfeld 820722a779 efreet: opendir -> eina_file_direct_ls
SVN revision: 67308
2012-01-19 00:35:51 +00:00
Cedric BAIL aeed35b2ea efreet: correctly include dirent.h in the right place.
NOTE: for after 1.1, we should really use eina_*_ls API instead.


SVN revision: 65292
2011-11-16 10:56:44 +00:00
Sebastian Dransfeld d459c61334 Efreet: Fix shadow warning
SVN revision: 63019
2011-08-31 09:09:31 +00:00
Sebastian Dransfeld dc78efed2b Efreet: Fix caching of recursive directories
SVN revision: 62985
2011-08-30 12:19:19 +00:00
Sebastian Dransfeld 6ac66e7427 efreet: Don't check if path is a subdir
We don't recurse in extra_dirs, so we must store all paths explicit.

SVN revision: 62582
2011-08-19 06:44:59 +00:00
Sebastian Dransfeld 6dffcf4c32 efreet: Use eina log
SVN revision: 62580
2011-08-19 06:44:38 +00:00
Sebastian Dransfeld 56f3b3b278 efreet: Clean headers
Might affect other systems, please just add the needed headers and don't
complain.

SVN revision: 62557
2011-08-18 07:35:48 +00:00
Sebastian Dransfeld f696cd74bd efret: Save whether cache changed in update file.
SVN revision: 62506
2011-08-16 12:46:35 +00:00
Sebastian Dransfeld fa2a688b02 efreet: redo cache rebuild
Always rebuild cache from scratch when needed, but rely on correct spec
behaviour to check for theme changes. This will considerably speed up
the cache process when there is no change, and improve the correctness
of the cache when changes occur. For example didn't the previous
behaviour handle file removal gracefully.

SVN revision: 62505
2011-08-16 12:46:24 +00:00
Sebastian Dransfeld dfa8b5e29f efreet: No need to sync eet file before close
SVN revision: 62504
2011-08-16 12:46:14 +00:00
Sebastian Dransfeld 46367075e1 efreet: Formatting
SVN revision: 62503
2011-08-16 12:46:03 +00:00