Sebastian Dransfeld
078fd2fd91
efreet: remove old code
...
SVN revision: 48029
2010-04-15 19:20:09 +00:00
Sebastian Dransfeld
bb7b272b18
efreet: better naming
...
SVN revision: 48028
2010-04-15 19:19:59 +00:00
Sebastian Dransfeld
28f67a86d7
efreet: formatting
...
SVN revision: 48027
2010-04-15 19:19:48 +00:00
Sebastian Dransfeld
1870180db1
efreet: and add file
...
SVN revision: 48026
2010-04-15 18:24:48 +00:00
Sebastian Dransfeld
6b1bb18738
efreet: split desktop command to separate file
...
SVN revision: 48025
2010-04-15 18:23:42 +00:00
Sebastian Dransfeld
84f6110ff1
TODO++
...
SVN revision: 48003
2010-04-14 19:39:36 +00:00
Sebastian Dransfeld
e8883033a2
efreet: Listen to new cache dirs
...
SVN revision: 47795
2010-04-06 18:50:26 +00:00
Sebastian Dransfeld
95d6e3390f
efreet: reorder init
...
SVN revision: 47794
2010-04-06 18:36:25 +00:00
Sebastian Dransfeld
207f5dc447
efreet: cache all types of desktop files
...
SVN revision: 47792
2010-04-06 18:36:04 +00:00
Sebastian Dransfeld
c6ec14606e
efreet: TODO++
...
SVN revision: 47791
2010-04-06 18:35:54 +00:00
Sebastian Dransfeld
113b0254a8
efreet: listen for changes in desktop files
...
SVN revision: 47790
2010-04-06 18:35:45 +00:00
Sebastian Dransfeld
44f00fc8a6
efreet: don't truncate, unlink and open
...
SVN revision: 47789
2010-04-06 18:35:35 +00:00
Sebastian Dransfeld
973965f165
efreet: TODO++
...
SVN revision: 47788
2010-04-06 18:35:18 +00:00
Sebastian Dransfeld
b58df70245
efreet: more doc
...
SVN revision: 47737
2010-04-03 18:48:57 +00:00
Sebastian Dransfeld
9e6c9f7335
efreet: check load time on all desktop structs
...
SVN revision: 47736
2010-04-03 18:46:58 +00:00
Sebastian Dransfeld
bc4bc7ce81
efreet: Check whether cached version is latest.
...
SVN revision: 47735
2010-04-03 18:46:47 +00:00
Sebastian Dransfeld
7c3818fb1d
efreet: Always update cache if not read from eet
...
SVN revision: 47734
2010-04-03 18:46:37 +00:00
Sebastian Dransfeld
1122ed6c56
efreet: Don't update cache if we don't mean to
...
SVN revision: 47733
2010-04-03 18:46:27 +00:00
Sebastian Dransfeld
12a341ff2f
efreet: rename fd for lock
...
SVN revision: 47732
2010-04-03 18:46:17 +00:00
Sebastian Dransfeld
3c3e999ad7
efreet: mkpath once
...
SVN revision: 47731
2010-04-03 18:46:07 +00:00
Sebastian Dransfeld
3c595b9408
efreet: Add cache update func
...
SVN revision: 47730
2010-04-03 18:45:57 +00:00
Sebastian Dransfeld
0407d84a9a
efreet: rename lock file
...
SVN revision: 47729
2010-04-03 18:45:46 +00:00
Iván Briano
13265370a5
Don't screw the still used len variable, and remove unnecessary hash_del (we didn't find the entry at the beginning, no point trying to delete it)
...
SVN revision: 47726
2010-04-03 16:26:03 +00:00
Sebastian Dransfeld
31f73712f3
efreet: stringshare
...
SVN revision: 47668
2010-04-01 19:41:03 +00:00
Sebastian Dransfeld
5ffb64a69c
efreet: TODO--++
...
SVN revision: 47667
2010-04-01 19:40:53 +00:00
Sebastian Dransfeld
2dbd820242
efreet: merge
...
SVN revision: 47666
2010-04-01 19:39:42 +00:00
Sebastian Dransfeld
3b546516c3
efreet: fancy alloca include in common header
...
SVN revision: 47664
2010-04-01 19:32:41 +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
Sebastian Dransfeld
9464e87d74
efreet: stringshare
...
SVN revision: 47658
2010-04-01 19:31:38 +00:00
Sebastian Dransfeld
4501c577e3
efreet: stringshare
...
SVN revision: 47657
2010-04-01 19:30:13 +00:00
Carsten Haitzler
d9d11ba836
fixme-- ... my bad! looking at wrong fn! :)
...
SVN revision: 47598
2010-03-30 12:44:37 +00:00
Sebastian Dransfeld
6d00dc126b
efreet: use alloca for local dynamic buffer
...
SVN revision: 47597
2010-03-30 12:22:15 +00:00
Sebastian Dransfeld
1b6662b2e9
efreet: remove strdup
...
SVN revision: 47596
2010-03-30 12:22:05 +00:00
Sebastian Dransfeld
a44f87390d
efreet: benefit from stringshare
...
SVN revision: 47595
2010-03-30 12:21:55 +00:00
Sebastian Dransfeld
c2db2c4258
efreet: stringshare
...
SVN revision: 47594
2010-03-30 12:21:44 +00:00
Sebastian Dransfeld
40a5c9a155
efreet: stringshare
...
SVN revision: 47593
2010-03-30 12:21:33 +00:00
Sebastian Dransfeld
72a79471d5
remove strdup
...
SVN revision: 47592
2010-03-30 12:21:23 +00:00
Sebastian Dransfeld
ac18d14316
efreet: benefit from stringshare
...
Since both values are stringshared, we can use direct comparison.
SVN revision: 47591
2010-03-30 12:21:12 +00:00
Sebastian Dransfeld
1063df8b9e
efreet: stringshare
...
SVN revision: 47590
2010-03-30 12:20:55 +00:00
Sebastian Dransfeld
6da3c6846d
efreet: stringshare
...
SVN revision: 47588
2010-03-30 11:07:19 +00:00
Sebastian Dransfeld
592ebdcb5b
efreet: stringshare
...
SVN revision: 47587
2010-03-30 11:07:07 +00:00
Sebastian Dransfeld
c06492ded0
efreet: stringshare
...
SVN revision: 47586
2010-03-30 11:06:56 +00:00
Sebastian Dransfeld
caa9409ac0
efreet: Check if old and new cache equals
...
SVN revision: 47585
2010-03-30 10:51:45 +00:00
Sebastian Dransfeld
1aa568e828
efreet: Check source of desktop
...
Flag changed if efreet_desktop_new doesn't return a eet cached value.
SVN revision: 47584
2010-03-30 10:51:35 +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
Carsten Haitzler
04af71119f
bah!
...
SVN revision: 47571
2010-03-30 00:02:19 +00:00
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
44aea1a452
efreet: Remove unneeded flag
...
SVN revision: 47544
2010-03-28 20:36:37 +00:00
Sebastian Dransfeld
c37ca95819
efreet: Remove unneeded flag
...
SVN revision: 47543
2010-03-28 20:36:26 +00:00
Sebastian Dransfeld
5e33a5798f
Remove unneeded TOOD
...
SVN revision: 47542
2010-03-28 20:36:11 +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
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
cfc96c36ad
efreet: TODO++
...
SVN revision: 47520
2010-03-27 20:58:45 +00:00
Sebastian Dransfeld
3806dd7a2c
efreet: Track old caches
...
SVN revision: 47519
2010-03-27 20:53:52 +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
fa732e43f6
efreet: fix function name
...
SVN revision: 47515
2010-03-27 19:58:54 +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
45f4c540d5
efreet_util_init gone
...
SVN revision: 47511
2010-03-27 19:58:02 +00:00
Sebastian Dransfeld
534519db27
init util alongside rest of efreet
...
Used to be separate as util had different requirements than base efreet,
and util had high memory usage. No longer the case.
SVN revision: 47510
2010-03-27 19:57:47 +00:00
Sebastian Dransfeld
a870815d90
print dangling references
...
SVN revision: 47509
2010-03-27 19:57:33 +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
6990198493
Add comments
...
SVN revision: 47473
2010-03-26 05:33:37 +00:00
Sebastian Dransfeld
a86ec92bc9
Add listener for cache updates
...
SVN revision: 47471
2010-03-26 05:33:12 +00:00
Sebastian Dransfeld
7bbc5e82ba
Remove unneeded code
...
SVN revision: 47470
2010-03-26 05:33:00 +00:00
Sebastian Dransfeld
4e8ebec3f6
efreet_menu.c: Fix compiler warning
...
SVN revision: 47469
2010-03-26 05:29:15 +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
7efb6fcaad
cache .directory files also
...
SVN revision: 47186
2010-03-13 20:58:17 +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
032c37d795
same PACKAGE_DIR as data subdir
...
SVN revision: 47182
2010-03-13 19:05:23 +00:00
Sebastian Dransfeld
2104d71164
shutdown eina after last stringshare del
...
SVN revision: 47181
2010-03-13 19:05:11 +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
09dcca28de
stringshare
...
SVN revision: 47178
2010-03-13 18:35:39 +00:00
Sebastian Dransfeld
eb8fa05ff3
When using Eina_List, need to return list
...
SVN revision: 47177
2010-03-13 18:35:29 +00:00
Sebastian Dransfeld
c07e3969ce
stringshare
...
SVN revision: 47176
2010-03-13 18:34:30 +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
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
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
755e118e2c
Allow non existing cache file
...
SVN revision: 46833
2010-03-03 12:28:59 +00:00
Sebastian Dransfeld
b5e9acd3da
formatting
...
SVN revision: 46832
2010-03-03 12:28:49 +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
d07a67ad63
Store unknown .desktop file dirs
...
SVN revision: 46829
2010-03-03 12:28:21 +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
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
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
Vincent Torri
bf8b3ce2a3
add unit test and coverage framework, and trivial tests
...
SVN revision: 46742
2010-03-01 21:05:17 +00:00
Vincent Torri
1b9235aa1f
fix autotools stuff
...
SVN revision: 46737
2010-03-01 20:16:15 +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
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
Sebastian Dransfeld
7c1420c73b
Use MAP_FAILED constant
...
SVN revision: 46174
2010-02-14 21:22:06 +00:00
Sebastian Dransfeld
6f2038b6e7
Create path to file if not exists
...
Fixes bug #513
SVN revision: 45990
2010-02-08 19:27:58 +00:00
Sebastian Dransfeld
cb4af1da03
Don't add already existing paths to theme
...
SVN revision: 45883
2010-02-04 20:02:56 +00:00
Sebastian Dransfeld
291c525a42
Remove raster's stupid cache
...
And just disable cache limit on the already existing cache.
SVN revision: 45881
2010-02-04 20:02:33 +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
Sebastian Dransfeld
6833eadf64
/usr/local/share should also be in XDG_DATA_DIRS
...
SVN revision: 45496
2010-01-23 18:55:27 +00:00
Sebastian Dransfeld
04edba1123
Be less strict
...
Prefer system set menu_file.
Try harder to find -merged dirs which matches the current menu.
SVN revision: 45265
2010-01-17 18:57:49 +00:00
Sebastian Dransfeld
4b33d2e4aa
remove ecore_data function
...
SVN revision: 45264
2010-01-17 18:56:48 +00:00
Sebastian Dransfeld
362ef26c2d
remove Ecore_Data
...
SVN revision: 45218
2010-01-16 13:43:28 +00:00
Christopher Michael
7c0e622466
Make efreet compile again.
...
SVN revision: 45206
2010-01-16 05:22:24 +00:00
Sebastian Dransfeld
0903a5be95
Add ()
...
SVN revision: 45200
2010-01-15 20:51:34 +00:00
Sebastian Dransfeld
af22e351b2
Fix compiler warnings
...
SVN revision: 45199
2010-01-15 20:51:23 +00:00
Vincent Torri
a4c6892258
update efl_path_max.m4
...
SVN revision: 45039
2010-01-11 07:14:28 +00:00
Massimiliano Calamelli
bc2a1db660
Added two missing inclusions of limits.h, fix build in NetBSD5
...
SVN revision: 45026
2010-01-10 22:42:34 +00:00
David Walter Seikel
060ec41809
Make it compile again.
...
SVN revision: 44905
2010-01-05 02:15:41 +00:00
Gustavo Sverzut Barbieri
1979834385
PATH_MAX checks and fixes, by Lutin.
...
SVN revision: 44900
2010-01-04 23:11:15 +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
Vincent Torri
bf3b666907
improve configure output
...
SVN revision: 44363
2009-12-11 10:57:22 +00:00
Sebastian Dransfeld
c0a2288b55
Make clang happy
...
SVN revision: 44259
2009-12-07 21:08:49 +00:00
Carsten Haitzler
c15a501be8
baack to normal pre- release name now
...
SVN revision: 44146
2009-12-02 22:50:36 +00:00
Carsten Haitzler
fce5dfd209
quick make svnrev that has right release names
...
SVN revision: 44140
2009-12-02 22:19:53 +00:00
Vincent Torri
5233aff034
fix copy/paste error
...
SVN revision: 44123
2009-12-02 18:47:34 +00:00
Carsten Haitzler
e62d6e6dd2
and back to a pre-svn sonme after snap
...
SVN revision: 44118
2009-12-02 08:07:38 +00:00
Carsten Haitzler
566f8b2656
aaah bah - move to 05 not 04
...
SVN revision: 44116
2009-12-02 07:40:59 +00:00
Carsten Haitzler
799b9b0fac
asparagus - finally
...
SVN revision: 44113
2009-12-02 07:22:35 +00:00
Iván Briano
52468a9940
Fix to new Ecore API
...
SVN revision: 43685
2009-11-13 23:59:46 +00:00
Davide Andreoli
a59b9655b2
*Efreet_Ini: Add a new API call:
...
EAPI void efreet_ini_key_unset(Efreet_Ini *ini, const char *key);
With this you can remove keys from ini files
SVN revision: 43245
2009-10-24 09:23:51 +00:00
Davide Andreoli
c9533023ad
Efreet_ini: remove ending withespaces
...
SVN revision: 43244
2009-10-24 09:02:56 +00:00
Carsten Haitzler
ccec2fb8a4
fix xml init - called multilpe times, has no count for init + shutdown.
...
SVN revision: 43222
2009-10-23 00:01:15 +00:00