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
29864666c9
that's it - remove autom4te.cache dirs again... - keep having to many
...
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.
SVN revision: 61974
2011-08-02 04:13:33 +00:00
Carsten Haitzler
39a63149cf
enable mmap safety in efreet.
...
SVN revision: 60978
2011-07-04 09:35:39 +00:00
Carsten Haitzler
d5e66856fe
add errs for efreet cache init failures.
...
SVN revision: 60707
2011-06-26 23:11:07 +00:00
Michael Jennings
1461fec9ec
Assorted build and spec fixes.
...
SVN revision: 60624
2011-06-23 07:01:45 +00:00
Michael Jennings
092d2d861b
Since the SVN revision is now included in %{version}, it's redundant
...
to have it in %{release} also. So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.
SVN revision: 60407
2011-06-16 20:36:43 +00:00
Rafael Antognolli
568175ab49
efreet: fix doc build when srcdir != builddir.
...
SVN revision: 60290
2011-06-13 18:03:52 +00:00
Boris Faure
e6119fa4d9
remove .cvsignore files
...
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Mike McCormack
2b58267396
Add ignore and update files
...
SVN revision: 60034
2011-06-07 10:26:13 +00:00
Cedric BAIL
cb90b07d81
autogen: unobrk things.
...
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL
df4bef8bdf
autogen: improve detection of parameter change.
...
SVN revision: 58667
2011-04-14 14:03:46 +00:00
Sebastian Dransfeld
979f1c7e4b
Efreet: We don't add non-existing dirs to lists
...
SVN revision: 58608
2011-04-12 22:42:57 +00:00
Sebastian Dransfeld
4c7b75cbf4
Efreet: Detect hidden themes
...
SVN revision: 58607
2011-04-12 22:42:43 +00:00
Sebastian Dransfeld
5fcbbac392
Efreet: Consistent PACKAGE_DATA_DIR
...
SVN revision: 58606
2011-04-12 22:42:29 +00:00
Sebastian Dransfeld
4262dd6285
Efreet: Fail on invalid ini file
...
SVN revision: 58605
2011-04-12 22:42:15 +00:00
Sebastian Dransfeld
649229a695
Efreet: Correct log domain name for efreet_ini
...
SVN revision: 58604
2011-04-12 22:42:01 +00:00
Sebastian Dransfeld
754b1f6425
Efreet: Re-add Home tests
...
Fixed cache dir creation problem.
SVN revision: 58603
2011-04-12 22:41:48 +00:00
Sebastian Dransfeld
eacc880e8e
Efreet: Don't update cache during tests
...
This makes efreet_init not fail if we pass non-existing paths as HOME
and XDG_* during testing.
SVN revision: 58602
2011-04-12 22:41:34 +00:00
Sebastian Dransfeld
1ff5c07744
Efreet: Only create cache dir if we update cache
...
SVN revision: 58601
2011-04-12 22:40:35 +00:00
Carsten Haitzler
71b7acde90
doxy -> h files.
...
SVN revision: 58487
2011-04-08 11:01:08 +00:00
Carsten Haitzler
5a0625660a
wrn--
...
SVN revision: 58472
2011-04-08 05:57:28 +00:00
Tom Hacohen
55f67da95b
Efreet: Updated changelog.
...
SVN revision: 58330
2011-04-04 13:43:06 +00:00
Tom Hacohen
babf703cb9
Efreet desktop: Fixed URI creation when opening files.
...
URI should be escaped before passed to the application being
executed. This fixes runnig videos with vlc from paths with
utf8 values in them.
SVN revision: 58329
2011-04-04 13:43:01 +00:00
Tom Hacohen
4eaf1b7ba0
Efreet uri: Fixed efreet_uri_encode.
...
it doesn't work well if the value passed is negative (utf8 text for example).
SVN revision: 58328
2011-04-04 13:42:55 +00:00
Vincent Torri
888031e6f9
rename libtool version names to fit libtool doc
...
SVN revision: 58122
2011-03-27 18:12:15 +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
c04c2ce3c5
Efreet: Remove redundant log text
...
SVN revision: 57860
2011-03-18 20:06:03 +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
Carsten Haitzler
543016a352
revert version change 999 -> 99. also e17 didnt even need it as it
...
produced no versioned .so files.
SVN revision: 57844
2011-03-18 07:35:19 +00:00
Sebastian Dransfeld
8dee8ac0ac
Set v_mic to 99 (less than 256) to please OS X
...
SVN revision: 57824
2011-03-17 13:12:50 +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
c45d4c937d
Efreet: Listen for ECORE_FILE_EVENT_CLOSED
...
SVN revision: 57574
2011-03-08 11:40:54 +00:00
Sebastian Dransfeld
d5927220e8
Efreet: Verify that path contains '.'
...
Thanks Heinervdm
SVN revision: 57435
2011-02-28 20:15:55 +00:00
Sebastian Dransfeld
83306ac5c6
Efreet: Remove unused variables
...
SVN revision: 57409
2011-02-28 10:50:37 +00:00
Sebastian Dransfeld
284c85240a
Efreet: Separate desktop dirs to add
...
Keep desktop dirs to add to cache process in separate list, so we can
free data after they are passed to cache process.
SVN revision: 57408
2011-02-28 10:50:27 +00:00
Sebastian Dransfeld
494c6c6d4f
efreet: check for subpath
...
Need to check if the path we want to add is a subpath of an already
added path.
SVN revision: 57407
2011-02-28 10:50:16 +00:00
Sebastian Dransfeld
377da1a3c4
Efreet: Add comment for unchached desktop files
...
SVN revision: 57257
2011-02-23 09:33:24 +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
0ee1932ebd
Always trigger desktop cache update
...
E init process waits for this and must always get it.
SVN revision: 57238
2011-02-22 12:42:58 +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
Cedric BAIL
74a5463b36
efl: add back touch on configure time generated file.
...
SVN revision: 57232
2011-02-22 10:29:28 +00:00
Cedric BAIL
810ce84f7e
efl: turn on cached result, that will reduce your configure time a lot !
...
SVN revision: 57213
2011-02-21 14:56:49 +00:00
Sebastian Dransfeld
41e4f229af
TODO++
...
SVN revision: 57176
2011-02-19 20:54:15 +00:00
Sebastian Dransfeld
e142957521
Only print if verbose and TODO++
...
SVN revision: 57175
2011-02-19 20:54:03 +00:00
Sebastian Dransfeld
c5c5df9ba9
Remove debug ouput
...
SVN revision: 57173
2011-02-19 20:52:10 +00:00
Sebastian Dransfeld
678b0ab6d3
TODO++
...
SVN revision: 57061
2011-02-15 18:51:06 +00:00
Hannes Janetzek
8aed4736a0
fix: size < ret_size is always false. scale icons less
...
SVN revision: 57021
2011-02-14 14:28:21 +00:00
Sebastian Dransfeld
d22176c22d
TODO++
...
SVN revision: 56951
2011-02-11 13:49:25 +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
8094cbf79b
move NON_EXISTING define to efreet_cache
...
SVN revision: 56917
2011-02-10 14:34:03 +00:00
Sebastian Dransfeld
ec310fc5db
Search for theme directly in hash
...
If not found directly in hash, use efreet_cache_icon_theme_find
SVN revision: 56916
2011-02-10 14:26:30 +00:00
Sebastian Dransfeld
59f8c14a95
TODO--
...
We can't check in cache, as the path might not exist on disk.
SVN revision: 56915
2011-02-10 14:26:20 +00:00
Sebastian Dransfeld
04db235b11
Add more testing to tests
...
SVN revision: 56913
2011-02-10 14:25:54 +00:00
Sebastian Dransfeld
5e106f5cd6
Move desktop cache to efreet_cache.c
...
SVN revision: 56912
2011-02-10 14:25:44 +00:00
Sebastian Dransfeld
2dd1fe0d41
Delay cache recreation with a timer
...
SVN revision: 56911
2011-02-10 14:25:33 +00:00
Sebastian Dransfeld
b17640ba62
Pass dirs to desktop cache process as arguments
...
And store the extra dirs in the desktop eet cache.
SVN revision: 56910
2011-02-10 14:25:23 +00:00
Sebastian Dransfeld
c5669b308e
Fix memleak in desktop cache create
...
SVN revision: 56909
2011-02-10 14:25:13 +00:00
Sebastian Dransfeld
049fee06f1
efreet_cache_icon -> efreet_icon
...
SVN revision: 56908
2011-02-10 14:25:00 +00:00
Sebastian Dransfeld
09203ef10a
Free hashes on init error
...
SVN revision: 56907
2011-02-10 14:24:50 +00:00
Sebastian Dransfeld
23c5801400
Move all eet cache handling to efreet_cache.c
...
SVN revision: 56906
2011-02-10 14:24:40 +00:00
Sebastian Dransfeld
72ab08256a
Move struct only used for cache
...
SVN revision: 56905
2011-02-10 14:24:30 +00:00
Sebastian Dransfeld
3997e75aa9
move around some code
...
SVN revision: 56904
2011-02-10 14:24:20 +00:00
Sebastian Dransfeld
45aebcb121
Make efreet_cache_icon_theme_free static
...
SVN revision: 56903
2011-02-10 14:24:09 +00:00
Sebastian Dransfeld
c999910e15
Remove unneeded EAPI
...
SVN revision: 56902
2011-02-10 14:23:31 +00:00
Sebastian Dransfeld
6067dad09e
Check for special "*" glob
...
SVN revision: 56878
2011-02-09 21:20:42 +00:00
Sebastian Dransfeld
6ad5b0111e
Remove unneeded header
...
SVN revision: 56877
2011-02-09 21:20:28 +00:00
Sebastian Dransfeld
8c9ac9c967
Don't free strings from eet
...
SVN revision: 56874
2011-02-09 20:43:43 +00:00
Sebastian Dransfeld
851fcce119
Don't deref NULL pointer
...
SVN revision: 56868
2011-02-09 18:36:12 +00:00
Sebastian Dransfeld
01a9d81096
Wait for caches to update, then quit.
...
SVN revision: 56857
2011-02-09 17:10:12 +00:00
Sebastian Dransfeld
68c11a1c76
check >= to close fd
...
SVN revision: 56855
2011-02-09 17:09:49 +00:00
Sebastian Dransfeld
8c9083f65d
Add free callback to eet hashes
...
Fixes memleak
SVN revision: 56854
2011-02-09 17:09:38 +00:00
Sebastian Dransfeld
2728c70bc3
Don't free data from efreet_util_cache_names
...
SVN revision: 56853
2011-02-09 17:09:27 +00:00
Sebastian Dransfeld
021beae781
Move theme hash from efreet_icon to efreet_cache
...
SVN revision: 56852
2011-02-09 17:09:16 +00:00
Sebastian Dransfeld
2344ff9520
These TODO's are done
...
SVN revision: 56851
2011-02-09 17:08:50 +00:00
Sebastian Dransfeld
88efa51928
Fix segv correctly
...
There should be no key starting with efreet in the cache, but make sure
a theme exists before adding to the theme list.
SVN revision: 56838
2011-02-09 08:40:39 +00:00
Hannes Janetzek
0f47e4a0eb
fix segv of e's icon theme chooser. please review
...
SVN revision: 56818
2011-02-08 20:50:29 +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
886a338b94
Move lock creation to own function for cache
...
SVN revision: 56786
2011-02-07 21:33:22 +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
582ecd7203
Fix doc
...
SVN revision: 56783
2011-02-07 21:19:36 +00:00
Eric Schuele
dd094399bb
Failed to wrap one clearenv() (take two)
...
SVN revision: 56744
2011-02-06 01:53:33 +00:00
Sebastian Dransfeld
1cfad6b93c
And really remove init/shutdown of xml
...
SVN revision: 56737
2011-02-05 20:34:22 +00:00
Sebastian Dransfeld
8d0cebc632
Fix segv, clear mem cache on eet file close
...
Patch by Hannes Janetzek
SVN revision: 56735
2011-02-05 20:03:18 +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
da2c871e24
Remove duplicate logging macros
...
SVN revision: 56732
2011-02-05 19:07:07 +00:00
Sebastian Dransfeld
accd246c72
Set EFREET_MODULE_LOG_DOM to -1 after unregister
...
SVN revision: 56731
2011-02-05 19:06:55 +00:00
Sebastian Dransfeld
18c663b7e2
Remove efreet_xml_{init,shutdown}() from menu
...
SVN revision: 56730
2011-02-05 19:06:45 +00:00
Sebastian Dransfeld
6ed10251db
Remove global log domain
...
SVN revision: 56729
2011-02-05 19:05:55 +00:00