Commit Graph

79 Commits

Author SHA1 Message Date
Sebastian Dransfeld 3db40c0d97 efreet: fix strdup + stringshare
SVN revision: 47568
2010-03-29 20:14:43 +00:00
Sebastian Dransfeld 434759396a efreet: use efreet_desktop_new, not get
As we free the desktop in the same func, use uncached version

SVN revision: 47567
2010-03-29 20:11:12 +00:00
Sebastian Dransfeld 68d33e8c59 efreet: TODO++
SVN revision: 47566
2010-03-29 20:10:26 +00:00
Sebastian Dransfeld 6d0651d4f2 efreet: Only update cache files if changed
SVN revision: 47546
2010-03-28 20:46:27 +00:00
Sebastian Dransfeld 13b51829ae efreet: TODO--
SVN revision: 47545
2010-03-28 20:36:47 +00:00
Sebastian Dransfeld c37ca95819 efreet: Remove unneeded flag
SVN revision: 47543
2010-03-28 20:36:26 +00:00
Sebastian Dransfeld c7dc3a221d efreet: Only read data from disk when modified
SVN revision: 47539
2010-03-28 19:31:37 +00:00
Sebastian Dransfeld d504b34ac3 efreet: fix old cache deletion
SVN revision: 47538
2010-03-28 19:31:26 +00:00
Sebastian Dransfeld d8bde974e6 efreet: Add variable to prevent cache update
SVN revision: 47536
2010-03-28 18:54:25 +00:00
Sebastian Dransfeld cfc96c36ad efreet: TODO++
SVN revision: 47520
2010-03-27 20:58:45 +00:00
Sebastian Dransfeld 17df443aeb efreet: use uncached call so we read from disk
SVN revision: 47516
2010-03-27 20:03:45 +00:00
Sebastian Dransfeld e9552821a1 efreet: Rename util file first
Rename util file first as it is internal. change for system will happen
on desktop file

SVN revision: 47480
2010-03-26 06:16:19 +00:00
Sebastian Dransfeld 7efb6fcaad cache .directory files also
SVN revision: 47186
2010-03-13 20:58:17 +00:00
Sebastian Dransfeld ed3305dc18 Cache files from user dirs
SVN revision: 47122
2010-03-10 21:34:52 +00:00
Sebastian Dransfeld 8e05829f83 read user dir cache
SVN revision: 47120
2010-03-10 21:33:43 +00:00
Carsten Haitzler 33ec010a36 errrr - how about we have a orig_path for a new desktop file eh? there's a
brilliant idea!



SVN revision: 46859
2010-03-04 01:00:06 +00:00
Sebastian Dransfeld 7a07bed86c Clarify difference between _get and _new
efreet_desktop_get for long living cached structs, efreet_desktop_new
for shortlived non cached.

SVN revision: 46840
2010-03-03 19:42:38 +00:00
Sebastian Dransfeld a1205c588c rename function
SVN revision: 46831
2010-03-03 12:28:40 +00:00
Sebastian Dransfeld 4b25daa441 Open cache files with O_EXCL
SVN revision: 46830
2010-03-03 12:28:30 +00:00
Sebastian Dransfeld c196b7d701 -1 as default fd value
SVN revision: 46828
2010-03-03 12:28:11 +00:00
Sebastian Dransfeld 0903581396 Don't close fd, will be done in error handler
SVN revision: 46827
2010-03-03 12:27:32 +00:00
Sebastian Dransfeld 317f0a427e Various
- lock as soon as possible
- don't truncate old cache, just unlink before create empty file

SVN revision: 46783
2010-03-02 11:26:31 +00:00
Sebastian Dransfeld d99f80aff7 Fix compiler warnings
Found when compiling with --enable-tests and --enable-coverage

SVN revision: 46746
2010-03-01 21:43:59 +00:00
Sebastian Dransfeld a15116ecae Check if file_id exists
SVN revision: 46745
2010-03-01 21:43:49 +00:00
Sebastian Dransfeld 59691e5660 Remember all paths, to avoid duplicates
SVN revision: 46744
2010-03-01 21:43:37 +00:00
Sebastian Dransfeld 9eda1bb218 TODO++
SVN revision: 46731
2010-03-01 19:05:59 +00:00
Sebastian Dransfeld cadc12f955 Create new cache in a tmp file
SVN revision: 46730
2010-03-01 19:05:49 +00:00
Sebastian Dransfeld b88fa404ad truncate old cache so we don't read cached values
SVN revision: 46727
2010-03-01 18:42:24 +00:00
Sebastian Dransfeld f72d4f9342 Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00