Sebastian Dransfeld
0407d84a9a
efreet: rename lock file
...
SVN revision: 47729
2010-04-03 18:45:46 +00:00
Sebastian Dransfeld
5d368823ba
efreet: move file local data to .c file
...
SVN revision: 47663
2010-04-01 19:32:29 +00:00
Sebastian Dransfeld
ede5ac01f6
efreet: remove strdup, use alloca
...
SVN revision: 47662
2010-04-01 19:32:19 +00:00
Sebastian Dransfeld
127982f44c
efreet: remove strdup, use alloca
...
SVN revision: 47661
2010-04-01 19:32:10 +00:00
Sebastian Dransfeld
48ecf5383b
efreet: fix compiler warning
...
SVN revision: 47660
2010-04-01 19:32:00 +00:00
Sebastian Dransfeld
e30468b362
efreet: stringshare
...
SVN revision: 47659
2010-04-01 19:31:49 +00:00
Carsten Haitzler
d9d11ba836
fixme-- ... my bad! looking at wrong fn! :)
...
SVN revision: 47598
2010-03-30 12:44:37 +00:00
Carsten Haitzler
d3de8d9f1d
hmm - avoid crash for now, but bitch loudly
...
SVN revision: 47581
2010-03-30 05:29:49 +00:00
Carsten Haitzler
76b3bed05e
comment++
...
SVN revision: 47577
2010-03-30 05:15:33 +00:00
Sebastian Dransfeld
44aea1a452
efreet: Remove unneeded flag
...
SVN revision: 47544
2010-03-28 20:36:37 +00:00
Sebastian Dransfeld
d075ee43c2
efreet: Always run cache update on init
...
SVN revision: 47537
2010-03-28 19:31:14 +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
3806dd7a2c
efreet: Track old caches
...
SVN revision: 47519
2010-03-27 20:53:52 +00:00
Sebastian Dransfeld
053190d2f4
sync cache reload between desktop and util
...
SVN revision: 47513
2010-03-27 19:58:33 +00:00
Sebastian Dransfeld
a870815d90
print dangling references
...
SVN revision: 47509
2010-03-27 19:57:33 +00:00
Sebastian Dransfeld
a86ec92bc9
Add listener for cache updates
...
SVN revision: 47471
2010-03-26 05:33:12 +00:00
Sebastian Dransfeld
ef2cb7ab02
Add func to read a .desktop file from disk
...
SVN revision: 47250
2010-03-15 19:57:57 +00:00
Sebastian Dransfeld
a4c63dd80d
formatting
...
SVN revision: 47245
2010-03-15 19:10:51 +00:00
Sebastian Dransfeld
985b7e395a
Fix realpath usage
...
Always use realpath before interacting with the efreet_desktop_cache,
else it wont be consistent.
SVN revision: 47244
2010-03-15 19:08:22 +00:00
Cedric BAIL
ddbeb0581c
* efreet: Prevent crash due to freed desktop still in cache.
...
SVN revision: 47235
2010-03-15 13:46:45 +00:00
Sebastian Dransfeld
2f7f718185
Fix?? segv
...
For some peculiar reason, using ecore_file_realpath here screws with
efreet_menu.
SVN revision: 47224
2010-03-14 20:48:52 +00:00
Sebastian Dransfeld
d47cdf8288
fix memleak
...
Free hash and data pointer when using eet, but not lists
SVN revision: 47183
2010-03-13 19:14:35 +00:00
Sebastian Dransfeld
277365fe1c
Don't free data at all from eet
...
SVN revision: 47179
2010-03-13 18:35:48 +00:00
Sebastian Dransfeld
f3b42c4b05
Hi,
...
I discover a memory leak (an invalid free) in efreet after running some
of the test programs.
Mathieu
SVN revision: 47136
2010-03-11 18:36:31 +00:00
Sebastian Dransfeld
424f67585e
formatting
...
SVN revision: 46960
2010-03-07 20:34:41 +00:00
Sebastian Dransfeld
30c305288f
Fix problem with orig_path and rp
...
We have orig_path, it is set by rp. Only problem is that it was set
after efreet_desktop_read so the error handler would work as it should.
Wrong solution. So now we set orig_path to NULL, so we always can free
rp.
SVN revision: 46880
2010-03-04 21:54:33 +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
76d630dcc0
TODO
...
SVN revision: 46848
2010-03-03 22:11:06 +00:00
Sebastian Dransfeld
22a691b5e9
Assign rp to orig_path after last goto error
...
This will fix the double free problem
SVN revision: 46841
2010-03-03 20:13:13 +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
afb2a67c50
Create func to get name for cache dirs file
...
SVN revision: 46834
2010-03-03 12:29:09 +00:00
Sebastian Dransfeld
d07a67ad63
Store unknown .desktop file dirs
...
SVN revision: 46829
2010-03-03 12:28:21 +00:00
Christopher Michael
4177422a6b
Temporary stop-gap for E17 crashing when Applications menu is trying to
...
show.
(I know, not an ideal fix, but I don't know the code well enough...and
this is better than everyone's desktop dying.)
SVN revision: 46810
2010-03-03 02:24:26 +00:00
Sebastian Dransfeld
6d10aea822
Use realpath to clean path
...
SVN revision: 46801
2010-03-02 20:07:41 +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
8b0e9907b6
Empty cache is probable, so don't check for it
...
SVN revision: 46736
2010-03-01 19:58:23 +00:00
Sebastian Dransfeld
9eda1bb218
TODO++
...
SVN revision: 46731
2010-03-01 19:05:59 +00:00
Sebastian Dransfeld
f72d4f9342
Eet cache for efreet desktop
...
SVN revision: 46726
2010-03-01 18:16:32 +00:00
Sebastian Dransfeld
0423e1ea99
Formatting
...
SVN revision: 45865
2010-02-04 09:12:35 +00:00
Sebastian Dransfeld
d3419db6cd
Ecore_Str.h -> Eina
...
SVN revision: 45741
2010-01-30 22:13:16 +00:00
Sebastian Dransfeld
96a20ffd91
Update to spec 1.1
...
%n, %N, %d and %D is deprecated, and version is string
SVN revision: 45532
2010-01-24 21:21:27 +00:00
David Walter Seikel
060ec41809
Make it compile again.
...
SVN revision: 44905
2010-01-05 02:15:41 +00:00
Christopher Michael
56ec4c946f
When using snprintf or fgets, etc, do not use PATH_MAX directly as the size
...
of the variable...use sizeof() compiler directive (lots of these).
Do not free 'realpath' in efreet_menu if we are going to try and print out
it's value.
If we find 'realpath' in the merged_menus hash, and we are going to return,
then free the realpath variable.
SVN revision: 44699
2009-12-23 20:55:23 +00:00
Iván Briano
52468a9940
Fix to new Ecore API
...
SVN revision: 43685
2009-11-13 23:59:46 +00:00
Vincent Torri
285297dcdd
* API break: _shutdown() functions return an int, now
...
* simplify a bit and fix init/shutdown functions
SVN revision: 42996
2009-10-10 06:19:13 +00:00
Vincent Torri
1403d26dce
remoove unused variables
...
SVN revision: 42877
2009-10-04 22:28:12 +00:00
Cedric BAIL
05126826a3
* efreet: Use eina_log.
...
Patch from Matthieu.
SVN revision: 42599
2009-09-21 16:36:29 +00:00
Gustavo Sverzut Barbieri
992936af22
Update to match new EINA init/shutdown.
...
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Gustavo Sverzut Barbieri
eac66d4e5a
proper cleanup of efreet_desktop_command.
...
Efreet API is BRAIN NUTS, some stuff you're supposed to release (list)
and others are up to the callback to release.
Okay, I broke e17 trying to fix efreet tests. API is so inconsistent
that its own test was wrong. I'm reverting my change and fix the test,
but this is bad.
SVN revision: 41133
2009-06-20 19:07:31 +00:00
Gustavo Sverzut Barbieri
44d66495ca
more valgrind fixes on efreet.
...
SVN revision: 41121
2009-06-20 06:50:01 +00:00