Commit Graph

81 Commits

Author SHA1 Message Date
Sebastian Dransfeld 92b5baaea4 efreet: fix alloca
SVN revision: 79629
2012-11-24 06:43:00 +00:00
Vincent Torri cda5755122 Efreet: declare properly alloca()
SVN revision: 79088
2012-11-10 09:13:56 +00:00
Sebastian Dransfeld e94d0c6eb1 efreet: Use dbus daemon
SVN revision: 78809
2012-11-02 01:46:44 +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 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 93ed956adf efreet: Remove unneeded headers
SVN revision: 67403
2012-01-20 19:54:20 +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
Sebastian Dransfeld 34d2a47e50 efreet: Print error on write error
Better solution to stop ignoring return value.

SVN revision: 62502
2011-08-16 12:45:52 +00:00
Sebastian Dransfeld 51e1eca0a9 efreet: Remove disabled if
SVN revision: 62501
2011-08-16 12:45:30 +00:00
Carsten Haitzler 5a0625660a wrn--
SVN revision: 58472
2011-04-08 05:57:28 +00:00
Sebastian Dransfeld 939470bd59 Efreet: Flush cache if we add new extensions
SVN revision: 58043
2011-03-23 20:02:46 +00:00
Sebastian Dransfeld a812c2b0d3 Efreet: formatting
SVN revision: 57859
2011-03-18 20:00:22 +00:00
Mike Blumenkrantz 96be628d43 use eina_log more effectively: replace all printfs with appropriate log functions and use EINA_LOG_ERR instead of ERR when log dom fails to init
SVN revision: 57858
2011-03-18 19:47:57 +00:00
Sebastian Dransfeld a433d4d56f Efreet: Create theme before accessing it
SVN revision: 57773
2011-03-15 18:54:00 +00:00
Sebastian Dransfeld e171893e89 Efreet: And revert logging, no longer needed
SVN revision: 57772
2011-03-15 18:49:49 +00:00
Sebastian Dransfeld 5d986f225f Efreet: Add some logging
SVN revision: 57769
2011-03-15 17:07:19 +00:00
Sebastian Dransfeld f77442595d Efreet: Make sure we don't reset changed
SVN revision: 57575
2011-03-08 11:41:18 +00:00
Sebastian Dransfeld 984361a2d3 Efreet: Reset changed before scanning fallback
Changed must be EINA_FALSE before scanning fallback to not create false
positive.

SVN revision: 57240
2011-02-22 12:52:58 +00:00
Sebastian Dransfeld 96c006f7e3 Efreet: Always trigger change file
changed flag isn't global, and is set to EINA_FALSE for each theme.

SVN revision: 57239
2011-02-22 12:52:46 +00:00
Sebastian Dransfeld 7c1d716453 formatting
SVN revision: 57237
2011-02-22 12:42:46 +00:00
Cedric BAIL 94a1ea33fa efreet: write once cache to disk and notify only when needed.
NOTE: eet_sync just force the write of the eet file to the disk. 
That's exactly what eet_close will do also. eet_sync is just to
be used when you are planning to still use it and don't want to
close it soon.


SVN revision: 57233
2011-02-22 10:43:58 +00:00
Sebastian Dransfeld e142957521 Only print if verbose and TODO++
SVN revision: 57175
2011-02-19 20:54:03 +00:00
Sebastian Dransfeld fd9a2abd29 remove wrong comment, fixed
SVN revision: 56919
2011-02-10 14:41:36 +00:00
Sebastian Dransfeld 5212c1bdb7 TODO--
Fixed

SVN revision: 56918
2011-02-10 14:37:59 +00:00
Sebastian Dransfeld 68c11a1c76 check >= to close fd
SVN revision: 56855
2011-02-09 17:09:49 +00:00
Sebastian Dransfeld c49d6dd5c4 Set file owner to calling user
This fixes cache problems when running programs utilizing efreet with
sudo.

SVN revision: 56787
2011-02-07 21:33:33 +00:00
Sebastian Dransfeld 918f284b38 Do init efreet before using efreet_*() functions
SVN revision: 56785
2011-02-07 21:33:11 +00:00
Sebastian Dransfeld 711b6b10a0 Don't create cache dir several times
SVN revision: 56784
2011-02-07 21:33:01 +00:00
Sebastian Dransfeld 2296007594 Define EFREET_MODULE_LOG_DOM
Must be defined in all files which include efreet_private.h

SVN revision: 56734
2011-02-05 19:56:44 +00:00
Sebastian Dransfeld 83e7cba435 Pass extensions and directories to cache process.
SVN revision: 56666
2011-02-02 22:58:15 +00:00
Sebastian Dransfeld e9d7cce821 Reapply hash cache
And this time update it on new cache

SVN revision: 56638
2011-02-01 21:03:40 +00:00
Sebastian Dransfeld 3bf3e34ff4 Revert local hash cache
SVN revision: 56623
2011-02-01 09:23:05 +00:00
Sebastian Dransfeld ce7def6846 whitespace
SVN revision: 56618
2011-02-01 08:27:53 +00:00
Sebastian Dransfeld 90dcedff5e TODO--
SVN revision: 56604
2011-01-31 11:46:01 +00:00
Sebastian Dransfeld e61b21462d FIXME--
SVN revision: 56603
2011-01-31 11:45:50 +00:00
Sebastian Dransfeld d8ca02e9ac Correct english
SVN revision: 56599
2011-01-31 11:45:09 +00:00
Sebastian Dransfeld 0b519a6f7d Create one cache file for each theme
SVN revision: 56598
2011-01-31 11:44:56 +00:00