Carsten Haitzler
83b36be7a3
snap+release
...
SVN revision: 49899
2010-06-27 13:45:27 +00:00
Carsten Haitzler
4d65425dd8
Snapshot efreet
...
SVN revision: 49895
2010-06-27 13:32:58 +00:00
Sebastian Dransfeld
bcb8744bc0
formatting
...
SVN revision: 49840
2010-06-25 01:44:30 +00:00
Sebastian Dransfeld
51c6fc3785
formatting
...
SVN revision: 49839
2010-06-25 01:38:50 +00:00
Sebastian Dransfeld
36b570e9bc
formatting
...
SVN revision: 49838
2010-06-24 19:34:15 +00:00
Cedric BAIL
55524b4e87
* efreet: remove warning due to change in Ecore API.
...
SVN revision: 49831
2010-06-24 16:17:45 +00:00
Cedric BAIL
a1bfc834d5
* configure.ac: take inept translation a little bit into account.
...
SVN revision: 49743
2010-06-18 14:45:42 +00:00
Sebastian Dransfeld
a392e677a7
flock -> fcntl
...
SVN revision: 49650
2010-06-11 21:48:33 +00:00
Sebastian Dransfeld
28878014c9
flock -> fcntl
...
flock isn't portable. Fix some headers too.
SVN revision: 49649
2010-06-11 21:43:07 +00:00
Gustavo Sverzut Barbieri
ddb8c95fa9
SVN_REPO_PATH envvar during autoconf to use svnversion in there.
...
Some systems, like the Gentoo, copy the svn contents somewhere before
doing the autoconf, this may result in lack of .svn and thus minor
version "0".
This patch introduces the $SVN_REPO_PATH to say where the svn checkout
containing the ".svn" directory is.
SVN revision: 49594
2010-06-09 18:22:47 +00:00
Vincent Torri
5a8135174a
missing headers
...
SVN revision: 49545
2010-06-06 19:45:16 +00:00
Carsten Haitzler
1520bad01b
restore after snap/release
...
SVN revision: 49540
2010-06-06 17:43:03 +00:00
Carsten Haitzler
c3394da2af
Snapshot efreet
...
SVN revision: 49536
2010-06-06 17:26:55 +00:00
Carsten Haitzler
f0eee2d260
post-snap anr release.. reset svn back.. this time for real.
...
SVN revision: 49526
2010-06-06 17:17:52 +00:00
Carsten Haitzler
d1cbfb1609
Snapshot efreet
...
SVN revision: 49519
2010-06-06 16:42:48 +00:00
Carsten Haitzler
25ff64e960
post release - move relname to pre-svn again.
...
SVN revision: 49506
2010-06-06 16:23:16 +00:00
Carsten Haitzler
75584cb0a5
Snapshot efreet
...
SVN revision: 49500
2010-06-06 16:08:14 +00:00
Carsten Haitzler
a4769c42cb
change svnversion shell goop to nuke sed and just use tr to delete
...
unwanted goop.
SVN revision: 49429
2010-06-04 01:04:24 +00:00
Iván Briano
6600f0c43f
Let git-svn users get the right revision number to be used as version.
...
SVN revision: 49407
2010-06-03 07:40:54 +00:00
Carsten Haitzler
7a935a6eac
add verbose option/
...
SVN revision: 49387
2010-06-02 00:19:38 +00:00
Carsten Haitzler
f1e19253e6
nopw svn revision works again.
...
SVN revision: 49344
2010-05-31 03:12:45 +00:00
Carsten Haitzler
17dfab359b
fix - if no svn tree, then it will pretend to be a release.
...
SVN revision: 49343
2010-05-31 01:59:22 +00:00
Carsten Haitzler
0d773a63a0
version for efreet
...
SVN revision: 49282
2010-05-29 08:30:06 +00:00
Sebastian Dransfeld
cf894cab2e
fix double free
...
eina_hash_del calls free callback, so we don't need to free the data
ourselves.
SVN revision: 49247
2010-05-28 09:25:16 +00:00
Sebastian Dransfeld
d4eb19a520
efreet: formatting
...
SVN revision: 48946
2010-05-17 19:45:20 +00:00
Hannes Janetzek
61df60e3bb
get min/max size only for scalable icons
...
SVN revision: 48924
2010-05-16 21:11:21 +00:00
Hannes Janetzek
3ac99ef29b
fix ret_size used unitialized
...
Threshold is fallback for type
calc min/max dir size for threshold only once
SVN revision: 48923
2010-05-16 21:02:52 +00:00
Sebastian Dransfeld
f7b9de9595
efreet: formatting
...
SVN revision: 48921
2010-05-16 19:36:42 +00:00
Sebastian Dransfeld
fc031b899d
efreet: better variable naming
...
SVN revision: 48920
2010-05-16 18:42:43 +00:00
Sebastian Dransfeld
f827867a22
efreet: prefer downsizing
...
SVN revision: 48919
2010-05-16 18:42:33 +00:00
Sebastian Dransfeld
31fa5a1e1d
efreet: use exponential scale for icon size search
...
fd.o spec wants us to use linear distance for icon size search. But
f.ex. when searching for a 128px icon, and the available is 48px and
256px, 256px would be preferable as 256/128 is 2 and 128/48 is 2.67
SVN revision: 48918
2010-05-16 18:41:56 +00:00
Carsten Haitzler
8bbc3b9024
gaaaaah! fix buf - paths were "wrong" - thus matching failed. man i see some
...
expensive ops going on with lots of strcmping.
SVN revision: 48917
2010-05-16 17:11:38 +00:00
Sebastian Dransfeld
8cde10890b
efreet: Don't remove/add stuff already in list
...
eina_list_promote_list to prepend data already in list.
SVN revision: 48898
2010-05-15 18:38:50 +00:00
Hannes Janetzek
af2471c7bc
remove svg from default types.
...
make efreet_icon_extensions prepended a type when it already is in list
SVN revision: 48895
2010-05-15 17:55:41 +00:00
Hannes Janetzek
82b89cea6b
add FIXME
...
SVN revision: 48893
2010-05-15 16:57:28 +00:00
Hannes Janetzek
85dbd6d844
search for svg icons
...
SVN revision: 48891
2010-05-15 16:24:58 +00:00
Hannes Janetzek
db8de25e56
allow trashing of files which are not on home partition
...
SVN revision: 48885
2010-05-15 07:51:49 +00:00
Sebastian Dransfeld
dc91f4ebbf
efreet: make sure we flush new dirs
...
SVN revision: 48812
2010-05-13 18:31:41 +00:00
Hannes Janetzek
1a49327928
make all strings returned by efre_mime_type_get stringshared
...
SVN revision: 48641
2010-05-05 20:55:14 +00:00
Sebastian Dransfeld
5be72adc7d
efreet: TODO++
...
SVN revision: 48429
2010-04-29 18:16:15 +00:00
Rui Seabra
a13c11beaf
Apply the same fix MEJ did ( http://marc.info/?l=enlightenment-svn&m=127157420508183&w=3 ) to more specs
...
SVN revision: 48213
2010-04-21 20:55:23 +00:00
Sebastian Dransfeld
b5caf6ce1b
efreet: fix #534
...
SVN revision: 48110
2010-04-18 20:04:09 +00:00
Albin Tonnerre
1dde324c33
[E-devel] [PATCH] Efreet: move efreet_desktop_cache_create out of
...
the path
This binary is just an internal helper, and isn't expected to be run by
anything but efreet. Therefore, let's emphasize this and keep it out of
the path by installing it in PACKAGE_LIB_DIR/efreet/
Signed-off-by: Albin Tonnerre <lutin@debian.org>
By: Albin Tonnerre <albin.tonnerre@gmail.com>
SVN revision: 48085
2010-04-17 20:19:35 +00:00
Sebastian Dransfeld
a384141abc
efreet: Check return value from opendir
...
SVN revision: 48081
2010-04-17 18:39:13 +00:00
Carsten Haitzler
ca87bc3349
how about if opendir fails... we dont try and walk the dir? :)
...
SVN revision: 48047
2010-04-16 02:20:56 +00:00
Sebastian Dransfeld
3d71b07fc7
TODO--
...
SVN revision: 48040
2010-04-15 19:43:02 +00:00
Sebastian Dransfeld
9460f8ed3e
efreet: use convenience func
...
One func to add monitor, func checks for duplicate monitor and uses
realpath
SVN revision: 48038
2010-04-15 19:38:01 +00:00
Sebastian Dransfeld
80e3b951fa
efreet: listen for changes recursivly
...
SVN revision: 48036
2010-04-15 19:21:23 +00:00
Sebastian Dransfeld
1488a1889d
efreet: better naming
...
SVN revision: 48035
2010-04-15 19:21:13 +00:00
Sebastian Dransfeld
37e39a6834
efreet: better naming
...
SVN revision: 48034
2010-04-15 19:21:03 +00:00
Sebastian Dransfeld
2df0141340
efreet: better naming
...
SVN revision: 48033
2010-04-15 19:20:51 +00:00
Sebastian Dransfeld
1560298337
efreet: better naming
...
SVN revision: 48032
2010-04-15 19:20:41 +00:00
Sebastian Dransfeld
1446a1a819
efreet: reorganize
...
SVN revision: 48031
2010-04-15 19:20:31 +00:00
Sebastian Dransfeld
42415580c2
efreet: group EAPI int's and init 0
...
SVN revision: 48030
2010-04-15 19:20:18 +00:00
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
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
Cedric BAIL
703fb37368
* efreet: Prevent div by zero.
...
SVN revision: 42940
2009-10-07 12:57:13 +00:00
Vincent Torri
f976b34a21
* more quoting
...
* add silent rules (shave feature)
see the description of AM_SILENT_RULES in:
http://www.gnu.org/software/automake/manual/automake.html#Public-Macros
SVN revision: 42915
2009-10-06 16:59:49 +00:00
Vincent Torri
f5821e813c
* use Requires.private field in efreet .pc files if pkg-config 0.22 is installed.
...
We list in it the required packages needed to compile efreet.
SVN revision: 42878
2009-10-04 22:32:21 +00:00
Vincent Torri
1403d26dce
remoove unused variables
...
SVN revision: 42877
2009-10-04 22:28:12 +00:00
Vincent Torri
4c05580f59
cleanup
...
SVN revision: 42876
2009-10-04 22:27:03 +00:00
Hannes Janetzek
6a9f924640
patch from dfjoerg: search also pixmap dirs for icons
...
SVN revision: 42875
2009-10-04 21:55:13 +00:00
Carsten Haitzler
adc947b725
move images -> img
...
SVN revision: 42759
2009-09-28 06:49:34 +00:00
Cedric BAIL
05126826a3
* efreet: Use eina_log.
...
Patch from Matthieu.
SVN revision: 42599
2009-09-21 16:36:29 +00:00
Davide Andreoli
5f6ba77546
Don't segfault if 'icon' is null
...
SVN revision: 42490
2009-09-14 20:18:25 +00:00
Carsten Haitzler
0b8f43494a
moe enume typedefs together. typedef before enum is bad for some compilrs...
...
like g++.. or suncc... dod so in all headers anyay for consistency
SVN revision: 42477
2009-09-14 00:38:59 +00:00
Hannes Janetzek
51fd74a36f
efreet_mime add fallback check for executables
...
SVN revision: 42474
2009-09-14 00:28:51 +00:00
Gustavo Sverzut Barbieri
992936af22
Update to match new EINA init/shutdown.
...
SVN revision: 42301
2009-09-06 22:23:04 +00:00
Vincent Torri
2e38151ed8
formatting
...
SVN revision: 42084
2009-08-29 05:29:05 +00:00
Gustavo Sverzut Barbieri
85c2e25399
have efreet to match x-generic as well, requested by jeffdameth.
...
SVN revision: 41907
2009-08-21 03:03:59 +00:00
Carsten Haitzler
1ea1c629cb
back to pre ver's
...
SVN revision: 41535
2009-07-29 08:19:34 +00:00
Carsten Haitzler
6db38393cd
SNAPSHOT: svn-03
...
SVN revision: 41532
2009-07-29 08:03:25 +00:00
Gustavo Sverzut Barbieri
4faa46cab3
Efreet_Mime: bugfix for magic matching.
...
Efreet_Mime did not match last set of magics for given mime-type due to
missing check after the loop. This bug was partially masked by the
problem fixed in my previous patch.
By: Mikhail Gusarov
SVN revision: 41305
2009-07-11 14:26:53 +00:00
Gustavo Sverzut Barbieri
9aef9f5eca
Efreet_Mime: fix subrules with non-zero depth.
...
Hello,
I've fixed a bug in parsing magic file in Efreet_Mime: if some magic
rule has a subrule with non-zero depth, then the 0 depth is used instead
for subrule. This led to nonsense like all .xml documents matched as
application/docbook+xml.
By: Mikhail Gusarov
SVN revision: 41304
2009-07-11 14:23:36 +00:00
Vincent Torri
390f94bcfd
update m4 macros (mainly formatting)
...
SVN revision: 41212
2009-06-27 06:42:14 +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
Vincent Torri
b9d313774f
* Allow some tests to pass on Windows. Just for the fun
...
* More important, allow to manage correctly the icons with
efreet on Windows. It works with Tango (and ewl, now)
SVN revision: 41130
2009-06-20 16:18:17 +00:00
Gustavo Sverzut Barbieri
44d66495ca
more valgrind fixes on efreet.
...
SVN revision: 41121
2009-06-20 06:50:01 +00:00
Gustavo Sverzut Barbieri
3871aed422
free some leaks reported by valgrind in src/bin tests.
...
SVN revision: 41117
2009-06-20 06:19:48 +00:00
Gustavo Sverzut Barbieri
ebeee4b5ce
we use lists, need to init/shutdown eina_list or we get segvs.
...
SVN revision: 41115
2009-06-20 05:53:26 +00:00
Gustavo Sverzut Barbieri
adf5c3553e
use new stringshared hash, pointer was being misused since api is confusing.
...
The pointer type is really confusing, it was expecting pointer to
pointer what is really weird.
Cedric just added a stringshared variant that should be as fast
(removing the strcmp()) and is the api one would expect.
This fix a long standing bug I introduced (sorry!) when added the
cache, but it was bit hard to hit as if you didn't find a collision
you'd be adding to cache and never finding it. But I recently started
to use icons on desktop and for some weird reason the PDF icons
started to show in TAR :-P
SVN revision: 41113
2009-06-19 15:00:38 +00:00
Vincent Torri
54b27e4edc
* DATADIR is used in a Windows directory. Use PACKAGE_DATA_DIR instead
...
* useless Evil.h inclusion
SVN revision: 41084
2009-06-17 16:07:29 +00:00
Cedric BAIL
3ec50d3bdc
* efreet: Forgot to update AUTHORS with Albin.
...
SVN revision: 41079
2009-06-17 13:17:02 +00:00
Carsten Haitzler
9394f73104
back to svn soname
...
SVN revision: 41042
2009-06-15 06:29:43 +00:00
Carsten Haitzler
e81db0f5a3
make distcheck and... SNAP!
...
SVN revision: 41039
2009-06-15 05:32:49 +00:00
Carsten Haitzler
2cf2ffd88b
patch from dfjoerg - fix prefix handling for eet.
...
SVN revision: 41031
2009-06-14 20:13:58 +00:00
Gustavo Sverzut Barbieri
7b7ece4046
fix debian rules files.
...
* fix the way AC_INIT macros are parsed to consider [] as well.
* set both LDFLAGS and CFLAGS on the libs I use and I know support -fvisibility=hidden.
SVN revision: 40838
2009-05-26 17:34:53 +00:00
Carsten Haitzler
e50d237d83
more patches...
...
SVN revision: 40669
2009-05-15 11:47:39 +00:00
Vincent Torri
2f5d77ad08
* update efl_doxygen.m4
...
* underquoted parameters in AC_INIT
SVN revision: 40662
2009-05-15 08:38:02 +00:00
Daniel Kolesa
07ec7509a9
Fixed debian stuff everywhere.
...
SVN revision: 40505
2009-05-04 17:36:48 +00:00
Rodrigo Cesar Lopes Belem
a7c514da2b
Added libtool as Build-Depends to everything that uses
...
DEB_CONFIGURE_SCRIPT := ./autogen.sh
SVN revision: 40500
2009-05-03 14:32:23 +00:00
Massimiliano Calamelli
31c77f7844
Added #define _POSIX_HOST_NAME_MAX for OSes that don't know it (NetBSD in detail)
...
SVN revision: 40444
2009-04-28 15:49:45 +00:00
Mike Frysinger
d344f8a106
include Ecore.h for ecore_time* prototypes
...
SVN revision: 40432
2009-04-28 05:40:42 +00:00
Mike Frysinger
81b053c046
include Ecore.h for ecore_exe_run prototype
...
SVN revision: 40431
2009-04-28 05:39:22 +00:00
Rodrigo Cesar Lopes Belem
05a22bce95
Merge branch 'debian-fixes'
...
SVN revision: 40345
2009-04-24 05:29:12 +00:00
Carsten Haitzler
ae44cac932
revert patch - no-undefined already there.
...
SVN revision: 40319
2009-04-23 04:07:59 +00:00
booleanlabel
51dc49dbee
From: booleanlabel@gmail.com
...
cygwin fixes.
SVN revision: 40301
2009-04-23 01:09:01 +00:00
Carsten Haitzler
8e52d827ec
move to uses no []'s as it works for me, but for belem... inconsistent []'s
...
doesnt work.
SVN revision: 40300
2009-04-23 00:32:53 +00:00
Daniel Kolesa
f0e4360835
Updated debian stuff
...
SVN revision: 40296
2009-04-22 17:33:22 +00:00
Daniel Kolesa
875d89a9fe
Updated debian stuff for core EFL. Changed debian stuff of others to work with core EFL updates.
...
SVN revision: 40292
2009-04-22 16:37:17 +00:00
Carsten Haitzler
9d18df3109
and incriment to next rev.
...
SVN revision: 40285
2009-04-22 14:08:21 +00:00
Carsten Haitzler
99ccf484f8
snapworth quality - distchecked. sonames bumped. rev's bumped. tarballs
...
uploaded.
SVN revision: 40284
2009-04-22 14:07:05 +00:00
Daniel Kolesa
7a07300a77
Updated changelogs for packages which will go into repository.
...
SVN revision: 40270
2009-04-21 17:39:20 +00:00
Carsten Haitzler
e39dc41493
1. embryo shoudl have soname
...
2. yes local.conf slipped in - ignore
3. added soname version release to module arch dirs
4. adapted extra-modules to use the revision in arch
5. made e17 also have a release rev
6. dummy release stuff in eet - wont use it as its already released.
SVN revision: 40267
2009-04-21 14:17:42 +00:00
Vincent Torri
c634a197b4
fix eina_list_remove use
...
SVN revision: 40263
2009-04-21 08:09:39 +00:00
Vincent Torri
361f682833
typo
...
SVN revision: 40260
2009-04-21 06:16:19 +00:00
Vincent Torri
1bf086809e
* move header files in efree_provate.h to the source files
...
* fix compilation on Windows XP (not sure that Windows CE port is needed...)
note that, as ecore_exe is not available on Windows, some code have
been disables for that platform in src/lib/efreet_desktop.c. Also, a new Evil
version should be used (not in svn yet)
The compilation on Windows is needed for Ewl (icon and mime)
SVN revision: 40257
2009-04-20 23:20:40 +00:00
Gustavo Sverzut Barbieri
3ab5491316
fix distcheck on couple packages, problems with EXTRA_DIST
...
Do NOT include dirs in EXTRA_DIST (embryo, eet, ecore, evas, edje,
efreet) as it will include .svn directories!
EXTRA_DIST does not take a glob as ETK did, use $(wildcard glob) to
expand it.
And do not forget about adding extra files to EXTRA_DIST (wizard) and
DIST_SUBDIRS (fileman_opinfo).
SVN revision: 40247
2009-04-20 13:38:49 +00:00
Daniel Kolesa
c06e55cc1b
Merged with pkgE
...
SVN revision: 40226
2009-04-19 16:22:00 +00:00
Daniel Kolesa
5d5d17960d
Prepared for merge with pkgE debian stuff
...
SVN revision: 40225
2009-04-19 16:18:41 +00:00
Carsten Haitzler
ce5a59b7e5
lutin... release soname patch. verbose svn soname used right now
...
SVN revision: 40131
2009-04-17 10:01:45 +00:00
Cedric BAIL
23f1bf7116
* efreet: Cleanup efreet test of desktop command.
...
SVN revision: 40130
2009-04-17 09:51:52 +00:00
Luis Felipe Strano Moraes
37ff2edaff
Cleanup of clang's static analyzer warnings for efreet.
...
SVN revision: 40114
2009-04-16 17:45:57 +00:00
Daniel Kolesa
cd8dd91b01
Updated debian stuff(grew Standards-Version, updated python-ecore rules file)
...
SVN revision: 40043
2009-04-14 17:21:19 +00:00
Vincent Torri
45e1663dab
* fix pkg-config requirements
...
* fix a bit the autotools
SVN revision: 39754
2009-03-27 11:29:20 +00:00
Vincent Torri
98284f7849
fix macro name
...
SVN revision: 39753
2009-03-27 11:14:38 +00:00
Vincent Torri
312a4365b8
fix header files
...
SVN revision: 39752
2009-03-27 11:14:21 +00:00
Cedric BAIL
8a8b4ca2d1
* efreet: On STRICT_SPEC don't handle efreet_menu_file.
...
SVN revision: 39732
2009-03-26 18:02:17 +00:00
Cedric BAIL
81ee186382
* efreet: Use the right macro for the cast.
...
SVN revision: 39731
2009-03-26 17:56:51 +00:00
Cedric BAIL
7e6af0a5c1
* efreet: Remove ecore_dlist from Efreet.
...
SVN revision: 39730
2009-03-26 17:54:50 +00:00
Daniel Kolesa
47d3a66c13
i found it is useless and cdbs is setting up prefix automatically.
...
SVN revision: 39695
2009-03-24 19:56:43 +00:00
Daniel Kolesa
510ec92901
forgot to add --prefix=/usr
...
SVN revision: 39694
2009-03-24 19:51:00 +00:00
Daniel Kolesa
1bce155f0f
Updated debian stuff everywhere.
...
SVN revision: 39693
2009-03-24 19:44:57 +00:00
Carsten Haitzler
34822db882
menu segv fix! my bad! overzealous freeing
...
SVN revision: 39653
2009-03-23 13:16:10 +00:00
Vincent Torri
908a722bfa
more leak fixes
...
SVN revision: 39650
2009-03-23 12:19:31 +00:00
Carsten Haitzler
ddb11ee846
leaks--! this code is riddled with leaks! really really bad!
...
SVN revision: 39647
2009-03-23 10:27:54 +00:00
Vincent Torri
a7dfd144ac
formatting
...
SVN revision: 39643
2009-03-23 04:58:31 +00:00
Gustavo Sverzut Barbieri
122566bac4
fix efreet signedness issues.
...
char is unsigned on ARM and other platforms, force some types to be
signed as they can hold negative values.
By: Albin Tonnerre
SVN revision: 39610
2009-03-21 17:00:55 +00:00
Carsten Haitzler
9e5c641263
and somewhere.. someone broke system settings and efreet hashes of categories!
...
SVN revision: 39570
2009-03-19 04:29:31 +00:00
Sebastian Dransfeld
5378f8d4d6
Check whether the found item is a directory.
...
SVN revision: 39524
2009-03-17 13:42:21 +00:00
Gustavo Sverzut Barbieri
ba1e67fcd8
Add LRU to mime icons cache.
...
This should really remove unused items that would age forever in the
last, forcing old but not so to be evicted before them.
Fortunately it was not so complex to add, and should wait just 3
pointers more of space per node.
SVN revision: 39350
2009-03-03 22:38:21 +00:00
Gustavo Sverzut Barbieri
200c92f82a
efreet mime types icon cache.
...
This cache is very simple and should work fine when system does not
change, it keeps a direct association of mime-types and found icons,
remembering theme and icon size. Search is very fast since it uses
stringshared strings and thus direct pointer comparison in hash
search. We could optimize it even more if we assumed stringshared
strings to come in, so no need to eina_stringshare_add() (which is a
hash per se), using just eina_stringshare_ref().
Cache population is limited to compile-time value and just values
older than a given threshold are deleted. I do not keep a LRU explicit
list, so you might have some old but unused items always alive. I
don't find this too bad, sure it will consume more memory, but will
not hurt performance. We can change this to purge all expired items by
not checking for number of items to remove, removing all that match.
Next I plan to find out a good way to cache and speed up file->mime
discovery. I plan to do auto-generated state-machine to match
extensions, so you don't need to check the same extension character
more than once. Example:
Input: bla.edc
Extensions: edc edj eps png bmp
It would first try to match against 'e', 'p' and 'b'. It will match
'e' and then check for 'd' (edc or edj) or 'p' (eps). It will match
'd' and then check for 'c' or 'j'. This will reduce number of
comparisons considerably.
As I'm running out of time (4am, not much time left on this month), I
could use some help here.
SVN revision: 39343
2009-03-03 07:20:21 +00:00
Gustavo Sverzut Barbieri
09f9cd39c5
Oops! forgot to test binaries and missed including config.h
...
SVN revision: 39261
2009-02-26 22:38:14 +00:00
Gustavo Sverzut Barbieri
ab2e35127f
Fix most compiler & clang warnings.
...
Left warnings regarding signed and unsigned comparison since
eina_list_count() returns unsigned, can use a cast in this return, but
not big deal for now.
By: Luis Felipe Strano Moraes & myself.
SVN revision: 39260
2009-02-26 22:35:38 +00:00
Cedric BAIL
452695bd6c
* efreet: Fix opening file.
...
SVN revision: 39246
2009-02-26 16:14:22 +00:00
Gustavo Sverzut Barbieri
2bcea93a7c
Fix port to eina_list.
...
* efreet_desktop_command_build(): should consider the first
run. Before had a "first" toggle variable, which vanished with eina
port. I changed it to do {} while (), making it work again.
* exec string is already freed by callback (in e_exec.c), to keep old
behavior, just free the list with eina_list_free(). Just pay
attention to ecore_list and double check if they had a free
function set or not. If it didn't, then we should not free nodes!
SVN revision: 39228
2009-02-26 03:56:21 +00:00
Carsten Haitzler
7646b3e4af
fix custom icon dirs api so u CAN add to the icon dirs!
...
SVN revision: 39226
2009-02-26 03:46:35 +00:00
Cedric BAIL
7e64baf165
* efreet: Prevent crash when no Efreet_Desktop are found.
...
SVN revision: 39214
2009-02-25 17:40:40 +00:00
Cedric BAIL
0b41f0e138
* efreet: Fix previously broken efreet cache.
...
SVN revision: 39211
2009-02-25 16:46:51 +00:00
Cedric BAIL
6978e98dc6
* estickies,
...
* etk,
* PROTO/exalt,
* E-MODULES-EXTRA/diskio,
* E-MODULES-EXTRA/drawer,
* E-MODULES-EXTRA/penguins,
* E-MODULES-EXTRA/slideshow,
* E-MODULES-EXTRA/mail,
* E-MODULES-EXTRA/forecasts,
* E-MODULES-EXTRA/iiirk,
* E-MODULES-EXTRA/places,
* e,
* ewl,
* ecore,
* elitaire,
* entrance,
* e_dbus,
* efreet: Here we go, move from Ecore_List to Eina_List.
NOTE: This patch is huge, I did test it a lot, and I hope nothing is
broken. But if you think something change after this commit, please
contact me ASAP.
SVN revision: 39200
2009-02-25 11:03:47 +00:00
Gustavo Sverzut Barbieri
24328d9738
Fix problems reported by some C++ compilers.
...
SVN revision: 38975
2009-02-09 01:11:27 +00:00
Daniel Kolesa
1be050b7b8
Updated efreet debian stuff - for make doc.
...
SVN revision: 38960
2009-02-06 18:25:16 +00:00
Vincent Torri
10bcd5d186
add missing files
...
remove useless ones
SVN revision: 38913
2009-02-03 09:10:22 +00:00
Vincent Torri
e2df9c5c93
use 'make doc' for efreet
...
SVN revision: 38912
2009-02-03 09:03:53 +00:00
Carsten Haitzler
b00bae1d92
a really simple hash cache for icon finds - this massively makes stuff faster
...
for app dialogs etc. yes - it uses ram. thats next - make it leaner on ram
usage. its simple enough now where that shouldnt be a problem.
SVN revision: 38839
2009-01-29 07:36:58 +00:00
Vincent Torri
84f9677f10
update ac_attribute.m4
...
SVN revision: 38584
2009-01-14 08:37:29 +00:00
Daniel Kolesa
b61dff0b58
Added debian/rules files with a new permissions set(755).
...
SVN revision: 38519
2009-01-09 16:33:51 +00:00
Daniel Kolesa
971b1682a9
prepare debian rules files for new chmod permissions.
...
SVN revision: 38518
2009-01-09 16:31:51 +00:00
Daniel Kolesa
9ea4273925
Added debian subdir for python-elementary.
...
SVN revision: 38433
2009-01-03 08:33:59 +00:00
Daniel Kolesa
ef35256335
Updated debian in efreet, ewl
...
SVN revision: 38416
2009-01-02 10:09:14 +00:00
Daniel Kolesa
2bf1434120
Added new set of debian subdirs.
...
BROKEN/etox
e
ecore
e_dbus
edje
edje_editor
edje_viewer
eet
efreet
eina
elicit
elitaire
embryo
E-MODULES-EXTRA
emotion
emphasis
empower
emprint
enhance
enity
entrance
ephoto
epsilon
esmart
estickies
etk
etk_extra
evas
evolve
ewl
exhibit
exml
expedite
imlib2
imlib2_loaders
MISC/engage
OLD/eclair
OLD/engrave
OLD/enotes
OLD/entrance_edit_gui
OLD/e_utils
OLD/evoak
OLD/examine
OLD/iconbar
PROTO/etk_server
PROTO/exchange
PROTO/extrackt
rage
SVN revision: 38399
2009-01-01 11:35:17 +00:00
Daniel Kolesa
bf77c1ced2
Removed debian subfolders - prepared for a new set of debian subdirs.
...
SVN revision: 38398
2009-01-01 11:25:05 +00:00
Cedric BAIL
35540b3a3b
This commit is huge. I did test it a lot on my computer, and it run fine here.
...
But is so big i fear i could have broken some piece of code. So report any wrong
behaviour to me (cedric on #edevelop).
So moving e17 and efreet to eina_hash. With a little efreet API break so they
must come together.
SVN revision: 38185
2008-12-17 15:33:43 +00:00
Cedric BAIL
3d41b74146
Update ac_attribute macro and remove __UNUSED__ declaration from eina.
...
SVN revision: 38179
2008-12-17 13:03:00 +00:00
Sebastian Dransfeld
1de2e74d74
Adding missing Name entry in efreet_menu.
...
Add fix from Massimiliano Calamelli.
SVN revision: 38153
2008-12-15 20:23:24 +00:00
Sebastian Dransfeld
82c1c80632
Only save menu element name if it exists.
...
SVN revision: 38131
2008-12-13 21:00:49 +00:00
Gustavo Sverzut Barbieri
d5f5e6eb55
src/bin/ stuff uses it, so these symbols must be exported.
...
SVN revision: 37634
2008-11-14 20:22:03 +00:00
Sebastian Dransfeld
b41023437d
Remove warning by adding parentheses.
...
SVN revision: 37167
2008-10-26 20:05:46 +00:00
Sebastian Dransfeld
b439133578
Don't compile in unused code.
...
SVN revision: 37166
2008-10-26 20:05:34 +00:00
Carsten Haitzler
1065c6298a
support setting the default menu explicitly.
...
SVN revision: 37098
2008-10-25 15:06:31 +00:00
Cedric BAIL
02bf306fdd
Remove macro provided by Eina.
...
SVN revision: 36863
2008-10-20 16:34:59 +00:00
Cedric BAIL
01befd2b67
Switch ecore_strings to eina_stringshare.
...
SVN revision: 36676
2008-10-15 14:48:03 +00:00
Cedric BAIL
b6a71c63e6
Make efreet depend on eina. No change in the code yet, so just fix your build system and no bug must show up.
...
SVN revision: 36625
2008-10-13 16:00:19 +00:00
Peter Wehrfritz
beaa909d45
configure.in -> configure.ac
...
SVN revision: 36364
2008-09-30 18:07:29 +00:00
Vincent Torri
ff6665c909
add some files in tarballs, especially doc stuff (thanks Lutin for the report)
...
SVN revision: 36362
2008-09-30 16:33:55 +00:00
Carsten Haitzler
2b9cecee4f
asparagus!
...
SVN revision: 36234
2008-09-25 02:59:59 +00:00
Carsten Haitzler
0e1ee5edb7
add null theme check
...
SVN revision: 35658
2008-08-25 09:14:13 +00:00
Sebastian Dransfeld
77cb8587de
define (void *)-1 as a macro
...
SVN revision: 35574
2008-08-19 06:32:40 +00:00
Sebastian Dransfeld
8d6938ec31
Fix ef_read_dir() (ecore_file_ls() returns filenames without path).
...
SVN revision: 35565
2008-08-18 21:03:13 +00:00
Sebastian Dransfeld
ddfdbe237e
Use Tango as default test theme.
...
SVN revision: 35564
2008-08-18 20:54:46 +00:00
Carsten Haitzler
0d3a45be0f
ok. i think most binary files are now fixed.
...
SVN revision: 35525
2008-08-18 00:02:26 +00:00
Sebastian Dransfeld
bfb18778e2
Pass icon size as unsigned int.
...
SVN revision: 35490
2008-08-14 20:48:41 +00:00
Sebastian Dransfeld
e52e71e475
Do atoi only once for each query.
...
SVN revision: 35489
2008-08-14 20:02:07 +00:00
Sebastian Dransfeld
7ee9598bd2
Make the icon cache work for efreet_icon_list_find.
...
SVN revision: 35488
2008-08-14 19:47:48 +00:00
Sebastian Dransfeld
25c29b62a3
ignore missing icons for 5 seconds.
...
SVN revision: 35480
2008-08-14 16:59:41 +00:00
Davide Andreoli
71e9fe89e9
Move Efreet_Uri stuff on the proper file. We can now use this in e instead of the internal one.
...
SVN revision: 35312
2008-08-03 00:07:17 +00:00
Dan Sinclair
1379c749b0
- seems modules is generated by a later version of doxygen then I have
...
SVN revision: 35310
2008-08-02 22:39:43 +00:00
Dan Sinclair
5c0aaab8f1
- cleanups
...
SVN revision: 35309
2008-08-02 22:09:04 +00:00
Dan Sinclair
626a99a438
- there is no modules file but there is a file file
...
SVN revision: 35308
2008-08-02 22:01:28 +00:00
Davide Andreoli
f438c7eb9a
* Fix Doxy warnings
...
SVN revision: 35307
2008-08-02 21:48:44 +00:00
Sebastian Dransfeld
e909810628
remove uneeded variable.
...
SVN revision: 35245
2008-07-29 18:55:41 +00:00
Sebastian Dransfeld
31c9bed503
Reduce the needed amount of ecore_strlcpy.
...
SVN revision: 35244
2008-07-29 18:52:27 +00:00
Michael Jennings
9e2cace719
Wed Jul 23 00:10:13 2008 Michael Jennings (mej)
...
distcheck and spec fixes
----------------------------------------------------------------------
SVN revision: 35187
2008-07-23 07:11:56 +00:00
Miculcy Brian
cf33734edf
enable failback when empty localisation string are found
...
SVN revision: 35184
2008-07-22 13:30:25 +00:00
Sebastian Dransfeld
018b1cae14
FDO Trash.
...
SVN revision: 35129
2008-07-16 19:45:12 +00:00
Sebastian Dransfeld
2daf954148
Fix single quouting, patch from ���������� ����������
...
SVN revision: 35013
2008-07-06 14:06:31 +00:00
Carsten Haitzler
43821d36e4
* add efreet garbage data check
...
* remove printfs that clutter output
* add efreet file type check - only parse regular files
* chekc mmap returns correctly for MAP_FAILED results
* edje has some stubs for adding script-only objecvts - but nothing useful
right now
SVN revision: 34689
2008-05-29 02:00:04 +00:00
Carsten Haitzler
6982d7fb37
pass make distcheck and a snapshot asparagus release - been a while
...
SVN revision: 34600
2008-05-19 00:07:12 +00:00
Dan Sinclair
cecac6f9d6
- add comments
...
- fix formatting
SVN revision: 34512
2008-05-08 14:22:21 +00:00
kaethorn
b1125496a2
Fix Debian package.
...
SVN revision: 34510
2008-05-08 10:23:57 +00:00
Carsten Haitzler
69a1a1a2e0
slackdood seems to report creating new apps is broken. this may be it.
...
SVN revision: 34508
2008-05-08 07:11:48 +00:00
Dan Sinclair
3322ce3b12
- deal with blank lines outside the invalid file checks
...
- this fixes the warning about a missing = sign
- you can have a blank value set on a key
- this fixes the warnings about invalid key=value pairs
- formatting changes
SVN revision: 34496
2008-05-07 04:14:45 +00:00
Dan Sinclair
3624e4e923
- if we can't parse the INI file we can't set ini->data so return NULL
...
instead of an invalid ini file
SVN revision: 34493
2008-05-07 03:04:58 +00:00
Dan Sinclair
bc35dd6189
- fix the package paths used in the test files. this makes 19/19 tests pass.
...
SVN revision: 34492
2008-05-07 03:04:12 +00:00
Dan Sinclair
4cbf818700
- efreet_icon_theme_list_get doesn't return themes without a name, fix test
...
case
SVN revision: 34491
2008-05-07 02:48:06 +00:00
Dan Sinclair
74b5878da7
- fix warnings
...
SVN revision: 34490
2008-05-07 02:16:50 +00:00
Dan Sinclair
e646720b97
- add ignore
...
SVN revision: 34489
2008-05-07 02:03:11 +00:00
Cedric BAIL
14a01955ef
Switch efreet_ini_parse to use mmap instead of fopen. Small speed improvements and little code cleanup.
...
FIXME: If people wonder we are loosing 50% of efreet time inside ecore_hash_* and ecore_string_*.
SVN revision: 34482
2008-05-06 15:56:40 +00:00
kaethorn
3811012c07
Forgot to add Debian efreet patch.
...
SVN revision: 34465
2008-05-05 23:01:13 +00:00
Carsten Haitzler
9e6e6a86e2
efreet segv maker removed. bad unescaping causing segvs! fixxored.
...
SVN revision: 34445
2008-05-03 09:25:43 +00:00
kaethorn
2143ae177a
Merge with Debian files from PkgE.
...
SVN revision: 34397
2008-04-28 17:04:15 +00:00
kaethorn
ace1e213d7
Merge with Debian files from PkgE.
...
SVN revision: 34393
2008-04-28 15:09:40 +00:00
Sebastian Dransfeld
b495b19470
formatting
...
SVN revision: 34212
2008-04-07 05:52:45 +00:00
Carsten Haitzler
ec51ff71c6
1. stop doing unaligned memory accesses - htons() on a pointer to some
...
arbitrary point...
2. use int not long - long will be 64bit on 64bit platforms, but 32bit almost
everywhere (yes in theory it may not - but in practice, it won't - long
though will vary).
SVN revision: 34211
2008-04-06 23:02:54 +00:00
Carsten Haitzler
a11b5c4769
deps lists/ debugging too...
...
SVN revision: 34177
2008-04-03 18:47:14 +00:00
Dan Sinclair
a81974fe1f
- patch from Michael <sECuRE+e17 at twice-irc dot de> to fix possible mem
...
leak in efreet_desktop
SVN revision: 34050
2008-03-18 04:01:41 +00:00
Sebastian Dransfeld
0fdd25e671
TODO++
...
SVN revision: 33833
2008-02-24 19:20:08 +00:00
Sebastian Dransfeld
5fffd55830
Fix function to match callback prototype.
...
SVN revision: 33832
2008-02-24 19:14:14 +00:00
Sebastian Dransfeld
cbe6386bc4
Fix callback to match changed function prototype.
...
SVN revision: 33831
2008-02-24 19:12:49 +00:00
Carsten Haitzler
e6694ca7b4
fix doxy
...
SVN revision: 33798
2008-02-20 15:39:03 +00:00
Carsten Haitzler
d522fc9e09
return the void pointer return val from the run cb - not just 1 or 0 :) a
...
superset here...
SVN revision: 33793
2008-02-20 04:10:02 +00:00
Mike Frysinger
9cda799943
set proper ACLOCAL_AMFLAGS
...
SVN revision: 33605
2008-01-25 04:40:28 +00:00
Carsten Haitzler
92e084f9ca
asparagus! also pass distcheck and have common autofoo init that is
...
consistent for package, version etc.
SVN revision: 33602
2008-01-25 03:35:49 +00:00
Sebastian Dransfeld
1683d650d4
A submenu needs real entries to be non empty.
...
SVN revision: 33513
2008-01-17 22:38:46 +00:00
Carsten Haitzler
c1441e1c3a
e:
...
1. configure/build changes to allow cross-compiling painlessly
2. pager module namespace changes - this was still dirty afdter the namespace
cleanup, so clean it up
3. add a powersave subsystem - doesnt have an "automatic" way to turn on and
off right now, this i think is best provided by modules (that do things like
monitor acpi status's (eg close lid of laptop), AC power status etc. etc.
this allows e to nicely defer "power" expensive actions to avoid disk
spinups etc.
4. move to use the new ecore poller system - discussed long ago as part of
power management/saving issues. now it exists
5. add a canvas idle flush call that helsp cope with the new shm greedy
software x11 engine stuff
6. use the new powersave subsystem where appropriate
7. fix non-zeroed/initted memory access in e_fm_main
8. fix mem leak for e menus
9. remove ipc handlers for changed/removed config values
10. use animaotr not timer for menu scrolls - then menu scrolls obey the fps
config
11. fix up timer/poll happienss of cursor idle stuff
12. remove avoid damage from popups for now - causing problems
13. change battery and temp readouts to b e shorter so they fit
14. pager can emit signals on focus change for mini-windows now
15. temperature module now uses a slave process and uses stdin/out to talk to
it and get output - this makes e smoother as in my expereicne i found getting
the temp on my laptop actually took like 200ms so e "hang" for 200ms while
reading the acpi files - so now the subprocess does it and just writesa back
to e when it gets it.
ecore:
1. add ecore_pollers. see the documentation on them in doxygen comments :)
2. fix timers to only go off when they have to - bug there that made e's
select time out a LOT more than it needed to. defensive coding hid the
problem. now fixed. e should be much more power friendly now.
3. formatting/niceness in ecore_exe stuff
4. some comments on comments with SIGIO ideas vs. select
5. add call to be able to add an idle enterer at the start of the list of
them, not just the end (as has been the default)
6. fix ecore_evas to support auto evas idler calls after 0.5 secs of idle in
all canvases - and to do it right
7. if argb destination - set the shape EVENT shape (to mask out events in
transparent regions much like shape does withotu translucency)
8. in ecore_x add support for the event shape
evas:
1. fix cache to work properly and not just always fill up (as it seemed to
like to think cahce useage dropped below 0 when it didnt and thus just
over-fill)
2. software x11 engine now ONLY uses shm segments - no ximages over the
socket. this ximage hack was there to avoid the 2 round trips involved in
setting up an shm image - now i mitigated that wih an shm image cache pool.
it keeps shm images around and repurposes them for new update regions if
appropriate. this means many fewer shm creates (about 1/100th the number) and
since we recycle the memory less 0 memory page filling by the kernel - in the
end, i recorded about a 10-20% speedup over the old software x11 engine.
simple tests i have seen up to 120% speedups. idle flush now does something -
it frees all the cached shm segments. it has a hard-coded limit of 4mb worth
of shm segments (or 32 segments - whichever comes first) to keep around. once
can never complain much about speedups methinks :). also evas will defer sync
until the NEXT frame is written - this means evas can calculate the next
frame of data while x dma's/copies the images to the screen at the same time
(if you hve a dual core or multi-cpu machnike or your xserver is able to use
DMA to copy image data to the screen/video ram then this should see a decent
speedup).
SVN revision: 33448
2008-01-11 07:33:57 +00:00
Davide Andreoli
948a5791e1
Dont use online image in doxy
...
SVN revision: 33020
2007-12-06 16:58:42 +00:00
Davide Andreoli
e6f2ff67e5
Update doxy style
...
SVN revision: 33019
2007-12-06 16:49:14 +00:00
Dan Sinclair
01fb0d312a
- add the install file. fixes bug #304
...
SVN revision: 32975
2007-12-04 14:14:08 +00:00
Christopher Michael
6ebcae0ca6
Remove extra blank line.
...
SVN revision: 32965
2007-12-03 16:28:24 +00:00
Sebastian Dransfeld
ae3b4b9d18
Store X- keys
...
SVN revision: 32836
2007-11-23 06:57:39 +00:00
Carsten Haitzler
d9a541eade
build it if spec is sloppy - which is it by default
...
SVN revision: 32731
2007-11-16 04:55:40 +00:00
Carsten Haitzler
ff7e1f0a92
makes efreet more forgiving of bad .desktops. we spew out a warning though.
...
SVN revision: 32729
2007-11-16 02:35:01 +00:00
doursse
96ac328a81
Fix awk portability by removing the space between the -F flag and its arg.
...
SVN revision: 32656
2007-11-13 07:13:51 +00:00
Carsten Haitzler
c6df44802c
As requested -
...
debian--, gendoc++
SVN revision: 32476
2007-11-07 22:56:05 +00:00
Michael Jennings
d7997fe020
Tue Nov 6 21:42:00 2007 Michael Jennings (mej)
...
Spec and build fixes.
----------------------------------------------------------------------
SVN revision: 32416
2007-11-07 05:42:08 +00:00
Carsten Haitzler
eece802ba4
export those funcs! used by e.
...
SVN revision: 32350
2007-11-04 12:29:36 +00:00
Sebastian Dransfeld
3070ebe721
define EAPI
...
SVN revision: 32347
2007-11-04 11:19:55 +00:00
doursse
c4a6c0dea6
autostuff improvements:
...
* use non deprecated version of AC_INIT and AM_INIT_AUTOMAKE
and check the required minimal versions.
* add bzipped distribution archive
* add AC_LIBTOOL_WIN32_DLL
* forbid libtool to check fortran and c++ compilers
* compute libtool versioning from the version of the package
* pass the directories based on ${prefix} to the preoprocessor
with the -D option
* replace INCLUDES, wich is deprecated since 2001 by AM_CPPFLAGS
* remove some hardcoded gcc compiler flags
SVN revision: 32346
2007-11-04 10:28:23 +00:00
Sebastian Dransfeld
50240194f5
Don't hide this function.
...
SVN revision: 32345
2007-11-04 10:16:02 +00:00
Sebastian Dransfeld
d15dcd181c
EAPI
...
SVN revision: 32339
2007-11-04 09:32:35 +00:00
Sebastian Dransfeld
193bdf421f
Now that users of efreet_desktop must free their references, this is no
...
longer needed.
SVN revision: 31865
2007-09-29 13:24:31 +00:00
Sebastian Dransfeld
ee2d0762f4
Check for data size. Should be done throught the whole function!
...
SVN revision: 31723
2007-09-15 09:51:19 +00:00
Sebastian Dransfeld
fdd316902d
Temporarily fix SEGV when deleting .desktop files from disk.
...
SVN revision: 31717
2007-09-14 23:15:41 +00:00
Sebastian Dransfeld
9506bc06df
Revert erronous changes.
...
SVN revision: 31716
2007-09-14 22:22:29 +00:00
doursse
6a7494bba7
remove trailing spaces
...
SVN revision: 31638
2007-09-06 16:15:10 +00:00
doursse
5209a42671
in efreet_ini_parse:
...
* move the opening of the file after the creation of the hash table and
return it on failure
* return NULL when the hash table can not be created
* add the binary flag when opening a file for compatibility with Windows
in efreet_new, return NULL when efreet_ini_parse returns NULL (mem alloc
failure)
SVN revision: 31637
2007-09-06 16:05:35 +00:00
Nicholas Hughart
0ca23c712f
Newline
...
SVN revision: 31630
2007-09-05 22:27:01 +00:00
Nicholas Hughart
f6ce8ff6ad
Add missing lib link for efreet_mime
...
SVN revision: 31628
2007-09-05 22:24:13 +00:00
Carsten Haitzler
278279e269
asparagus!
...
SVN revision: 31524
2007-08-26 14:33:41 +00:00
Peter Wehrfritz
9ed7b18db2
ecore_list_remove_last -> ecore_list_last_remove
...
SVN revision: 31410
2007-08-19 19:36:53 +00:00
Sebastian Dransfeld
8e3509c4e0
Add recently used icon cache.
...
SVN revision: 31316
2007-08-15 05:33:04 +00:00
Sebastian Dransfeld
f619a05536
Fix const warnings.
...
SVN revision: 31293
2007-08-13 05:36:03 +00:00
Sebastian Dransfeld
b9c551c57d
formatting
...
SVN revision: 31292
2007-08-13 05:33:26 +00:00
Sebastian Dransfeld
b3e01bb957
Formatting
...
SVN revision: 31271
2007-08-12 19:28:02 +00:00
Sebastian Dransfeld
399d1a5c1b
Formatting.
...
SVN revision: 31269
2007-08-12 19:18:16 +00:00
Carsten Haitzler
2f35dd7ab3
only check ext.. if there is one!
...
SVN revision: 31265
2007-08-12 11:14:56 +00:00
Carsten Haitzler
6b0688752a
and for the picky - there's less copies for tolowoer. i also saw some BAD BAD
...
leaks. bad! alloc pointer but not freeing them! also fixed up #include of
alloca.h if needed.
SVN revision: 31260
2007-08-12 10:00:02 +00:00
Carsten Haitzler
492e5f9644
externsion checks should be case-insensitve.
...
SVN revision: 31245
2007-08-11 13:20:16 +00:00
Sebastian Dransfeld
d2db2be7df
more ref/free work.
...
SVN revision: 30998
2007-07-26 22:04:16 +00:00
Sebastian Dransfeld
df7fa7571a
Only need to assign ->desktop when ->directory exists.
...
SVN revision: 30997
2007-07-26 21:43:43 +00:00
Sebastian Dransfeld
f4acbe64ce
++
...
SVN revision: 30996
2007-07-26 19:15:48 +00:00
Sebastian Dransfeld
f5a9f79140
More ref/free work.
...
SVN revision: 30995
2007-07-26 19:14:41 +00:00
Sebastian Dransfeld
2c191f2cae
efreet_desktop_free after efreet_desktop_get
...
SVN revision: 30989
2007-07-26 11:40:04 +00:00
Sebastian Dransfeld
c233e2af8b
Return NULL if file does not exist.
...
SVN revision: 30988
2007-07-26 11:37:23 +00:00
Sebastian Dransfeld
3b116f3a2b
Remove the icon cache.
...
This means that users of efreet_icon_list_find, efreet_icon_path_find and
efreet_icon_find must clean up after themselves!
SVN revision: 30986
2007-07-26 11:30:10 +00:00
Sebastian Dransfeld
4142475b16
All pointers aquired with efreet_desktop_get should be free'd with
...
efreet_desktop_free now.
SVN revision: 30982
2007-07-26 10:20:24 +00:00
Peter Wehrfritz
cd20fbc9d9
*API BREAK* see the discussion in the mailing list. misc and e_modules will follow
...
SVN revision: 30970
2007-07-25 17:01:04 +00:00
Dan Sinclair
6d48fb4e38
- efreet_init will call efreet_icon_init so there is no reason to do the
...
call again
SVN revision: 30905
2007-07-19 14:56:35 +00:00
Dan Sinclair
71da5f4639
- guard the efreet_icon init/shutdown methods as efreet_mime is calling it
...
internally
SVN revision: 30904
2007-07-19 14:54:51 +00:00
Nicholas Hughart
0a4d1e3605
Added efreet_mime_type_icon_get which will retrieve a mimetype icon. This follows the loose specification described in the fdo icon spec. Also added efreet_icon_list_find which will search for a list of icons in a theme before falling back to inherited themes. Also made a slight modification to the fallback detection for efreet_mime. Tabs will no longer trigger the return of application/octet-stream.
...
SVN revision: 30875
2007-07-17 19:21:20 +00:00
Nicholas Hughart
be190f1117
Adding efreet_desktop_environment_get
...
SVN revision: 30873
2007-07-17 15:07:59 +00:00
codewarrior
61b09fd882
no need to work on a file if its empty. speeds things up a hell of a lot.
...
SVN revision: 30803
2007-07-13 23:23:13 +00:00
kaethorn
3844e0f0ab
remove ecore_alloc and compare_results from debian package.
...
SVN revision: 30793
2007-07-13 12:40:56 +00:00
Dan Sinclair
36867e14a2
- remove ecore_desktop comparison tests
...
SVN revision: 30767
2007-07-11 15:17:30 +00:00
Carsten Haitzler
78408fe60a
1. fix a lot of things so they pass make distcheck - so many things have
...
broken. guys - need to be more careful!
2. asparagus
3. some extra docs/comments for evas
SVN revision: 30696
2007-07-10 00:13:26 +00:00
Nicholas Hughart
5f4e0e936e
API update. Now you have more control over which methods are used to check for a type by using the efreet_mime_*_type_get functions. Also vastly increased the speed of the glob checking.
...
SVN revision: 30612
2007-07-06 03:01:21 +00:00
Nicholas Hughart
7a470acd75
No debugging
...
SVN revision: 30593
2007-07-04 15:46:19 +00:00
Nicholas Hughart
4e6ce1caf5
This should work now for big endian.
...
SVN revision: 30592
2007-07-04 15:29:29 +00:00
Dan Sinclair
1a14377b08
- hm, change this back...
...
SVN revision: 30587
2007-07-04 03:00:46 +00:00
Dan Sinclair
e120a285b7
- update authors
...
SVN revision: 30581
2007-07-03 18:03:58 +00:00
Dan Sinclair
54f06c5e70
- formatting
...
SVN revision: 30580
2007-07-03 18:01:56 +00:00
Nicholas Hughart
93d3922d79
Added fallback mime types according to the spec. Should only get a NULL return when the file doesn't exist.
...
SVN revision: 30579
2007-07-03 17:55:20 +00:00
Dan Sinclair
0445f933df
- stop losing the last mime
...
SVN revision: 30578
2007-07-03 16:22:17 +00:00
Dan Sinclair
d1cd6e6710
- remove debug
...
SVN revision: 30577
2007-07-03 16:15:51 +00:00
Dan Sinclair
8c156ad2fc
- update the magic parser to use mmap. fixes earlier hack
...
SVN revision: 30576
2007-07-03 16:10:30 +00:00
Dan Sinclair
891fbe5708
- update mime test
...
SVN revision: 30572
2007-07-03 15:07:00 +00:00
Dan Sinclair
0cf64dd8fd
- this is a hack but keeps it from segv'ing if the delimiter is split over a
...
buffer read
SVN revision: 30571
2007-07-03 14:12:12 +00:00
Dan Sinclair
7176001239
- cleanup
...
SVN revision: 30570
2007-07-03 13:59:40 +00:00
rephorm
150d857e6f
plug last leak
...
SVN revision: 30569
2007-07-03 13:41:44 +00:00
kaethorn
0dd5e37e1a
remove efreet-config from install files.
...
clean up rules.
SVN revision: 30565
2007-07-03 12:53:18 +00:00
Nicholas Hughart
94b2f0a24f
Fixed almost all the leaks. One minor one is still lingering that I can't quite figure out.
...
SVN revision: 30555
2007-07-03 05:46:54 +00:00
Nicholas Hughart
f9727d47ae
Updated quite a bit. API break: efreet_mime_get is now efreet_mime_type_get and it no longer accepts methods as a parameter. It will do the full check of the magic and glob rules based on recommendations in the spec. Also fixed the major leaks, still a few minor ones left.
...
SVN revision: 30553
2007-07-03 04:47:29 +00:00
Dan Sinclair
d43f40e6c7
- simplify the monitor code. still gets spanked on shutdown for some reason
...
SVN revision: 30546
2007-07-02 22:01:44 +00:00
Dan Sinclair
563d1a104e
- oops, though I'd compiled that....
...
SVN revision: 30545
2007-07-02 20:16:23 +00:00
Dan Sinclair
5406ab673f
- formatting
...
- simplify a couple routines
- make the magic loading not loop infinitly on big endian
SVN revision: 30544
2007-07-02 20:08:35 +00:00
Andreas Volz
e8a13809f9
removed efreet-config.in because of pkg-config
...
SVN revision: 30533
2007-07-01 18:25:36 +00:00
Dan Sinclair
5e87a2a846
- cleanup
...
SVN revision: 30520
2007-07-01 16:32:34 +00:00
Nicholas Hughart
fe2842a58f
Everything is working except the file monitors to look for new/modified files. This is going up in hopes that someone can find the bug in my code pertaining to this as I haven't been able to.
...
If you find the bug and fix it, don't hesitate to commit the code :)
Have Fun\!
SVN revision: 30515
2007-07-01 05:10:14 +00:00
kiwi
a001af9e23
fix some warnings, mostly missing "void" when a function has no parameters
...
SVN revision: 30474
2007-06-27 10:57:54 +00:00
Sebastian Dransfeld
ee938c5191
Free efreet_icon_deprecated_user_dir on shutdown.
...
SVN revision: 30430
2007-06-22 10:20:44 +00:00
Sebastian Dransfeld
b97be5f5c1
Make IF_FREE better suited for free'ing global variables. The free cb
...
can now not interfere with it's owner during free.
SVN revision: 30429
2007-06-22 09:45:09 +00:00
Sebastian Dransfeld
68159d9bdd
- Add ref function.
...
- Don't free Efreet_Desktops on shutdown, this is the responsibility of
those who do efreet_desktop_get. If we free them here, there will be a
problem with the events in efreet_util, as the events might try to free
the Efreet_Desktops during ecore_shutdown.
- Check if the cache exists before trying to remove a Efreet_Desktop, as
we might try to free a Efreet_Desktop after efreet_shutdown.
SVN revision: 30428
2007-06-22 09:39:58 +00:00
Sebastian Dransfeld
a3ab006950
util is optional, need to init this too.
...
SVN revision: 30426
2007-06-22 09:05:36 +00:00
rephorm
2993abfb7d
add efreet_type_alias()
...
SVN revision: 30411
2007-06-20 18:04:26 +00:00
Dan Sinclair
4182b76087
- make sure we have the right number of nodes
...
SVN revision: 30397
2007-06-18 18:01:37 +00:00
rephorm
166cdf9873
add a function to get desktop commands immediately when no remote uri's are passed in
...
SVN revision: 30386
2007-06-18 04:26:50 +00:00
Carsten Haitzler
a6ad878e08
ASPARAGUS!
...
SVN revision: 30379
2007-06-17 15:25:52 +00:00
Carsten Haitzler
e01578f037
allow to load a .desktop file and bypass cache
...
SVN revision: 30369
2007-06-17 08:29:20 +00:00
Carsten Haitzler
1f4e4934b2
make load time a long long - so we can use the modified time on disk (this will
...
make it 2038 safe).
SVN revision: 30350
2007-06-17 00:33:39 +00:00
Sebastian Dransfeld
0de6ba55b1
Formatting.
...
SVN revision: 30330
2007-06-14 18:37:31 +00:00
Carsten Haitzler
b784b8142a
efreet can actually free icons now... and flush the cache explicitly
...
SVN revision: 30328
2007-06-14 15:53:02 +00:00
rephorm
5a12b590ac
add efreet_menu_new()
...
small fixes
SVN revision: 30267
2007-06-07 01:22:48 +00:00
Sebastian Dransfeld
5b271a1069
Init and shutdown util
...
SVN revision: 30217
2007-06-03 19:53:08 +00:00
Sebastian Dransfeld
214cf08966
Create category lists while scanning for .desktop files.
...
SVN revision: 30216
2007-06-03 18:07:23 +00:00
Sebastian Dransfeld
a4c53227fb
Fix EmbeddedTextRectangle parsing.
...
SVN revision: 30153
2007-05-29 20:24:27 +00:00
Sebastian Dransfeld
ab766b0398
Don't store the complete path in the name element.
...
SVN revision: 30152
2007-05-29 20:18:21 +00:00
Sebastian Dransfeld
5e3a40da08
No need for the 'last' variable.
...
SVN revision: 30151
2007-05-29 19:29:46 +00:00
Sebastian Dransfeld
9bc0ab2e6e
Check if we find the monitor in the list.
...
SVN revision: 30123
2007-05-28 10:35:12 +00:00
Carsten Haitzler
f1d6383852
limit recursion - safety for bad theme config.
...
SVN revision: 30080
2007-05-26 06:45:51 +00:00
Carsten Haitzler
002d09cc7d
asparagus - pass distcheck.
...
SVN revision: 29865
2007-05-05 15:14:17 +00:00
Sebastian Dransfeld
d783212329
Fix Merge type="all"
...
SVN revision: 29862
2007-05-05 07:49:01 +00:00
Sebastian Dransfeld
90510b648a
dump test names.
...
SVN revision: 29861
2007-05-05 07:37:08 +00:00
Sebastian Dransfeld
eea11312db
Store the .directory files which provides the icon.
...
SVN revision: 29860
2007-05-05 07:21:40 +00:00
Sebastian Dransfeld
8691b711a3
formatting.
...
SVN revision: 29849
2007-05-04 17:45:26 +00:00
Sebastian Dransfeld
fc6aa64ea0
Fix environment set.
...
Better new buffer value.
SVN revision: 29845
2007-05-04 15:02:55 +00:00
rephorm
2a090ac94b
fix test
...
SVN revision: 29838
2007-05-04 03:28:12 +00:00
Sebastian Dransfeld
405dcfc633
implement more of fdo menu layout.
...
SVN revision: 29805
2007-05-02 19:35:43 +00:00
rephorm
e0beb5c67d
oops
...
SVN revision: 29743
2007-04-27 20:02:16 +00:00
rephorm
3aed040af1
This isn't correct.
...
<Parent>
<!--
<!-- comment -->
<Child>Text</Child>
-->
</Parent>
Technically would be parsed as:
Parent Tag
Child Tag
Text Node - "Text"
Text Node "-->"
But, we ignore text nodes after the first child node anyway.
SVN revision: 29742
2007-04-27 19:57:39 +00:00
Dan Sinclair
89b58e232d
- add test case for incorrect menu name. this currently works correctly.
...
- add test case for nested comments with tags inside. this test fails.
SVN revision: 29741
2007-04-27 19:48:54 +00:00
Carsten Haitzler
9af768a436
efreet passes make distcheck now.
...
SVN revision: 29634
2007-04-22 03:53:02 +00:00
Eric Schuele
64f4fbc453
Fix efreet cache_fill issue by guaranteeing we attempt to obtain at least one file in the dir. This allows the idler to run again at a later time.
...
SVN revision: 29587
2007-04-18 14:18:28 +00:00
Sebastian Dransfeld
ece3b075c4
Rename prototype to match function name.
...
SVN revision: 29543
2007-04-15 17:19:08 +00:00
Sebastian Dransfeld
edf0a0942b
Use ecore_string_instance so we can do pointer matching instead of string
...
matching.
SVN revision: 29533
2007-04-15 10:53:54 +00:00
rephorm
cd7db5cbdb
api change
...
SVN revision: 29531
2007-04-15 07:50:03 +00:00
rephorm
1b269ba561
leak--
...
add functions to retrieve a list of desktop categories and a list of desktops in a given category
SVN revision: 29530
2007-04-15 07:24:03 +00:00
rephorm
354550b349
add efreet_util_menus_find()
...
SVN revision: 29527
2007-04-15 06:16:54 +00:00
rephorm
b2aac1d94a
don't leak empty menu entries
...
SVN revision: 29525
2007-04-15 04:54:45 +00:00
rephorm
d35772f52a
${XDG_DATA_HOME}/icons should be scanned, not ${XDG_DATA_HOME}
...
SVN revision: 29524
2007-04-15 04:51:37 +00:00
Sebastian Dransfeld
5e20d74ef1
--
...
SVN revision: 29497
2007-04-13 16:29:41 +00:00
Sebastian Dransfeld
c3056543a1
No need to this as we get the contents of the dir by using remove first.
...
SVN revision: 29496
2007-04-13 16:29:29 +00:00
Sebastian Dransfeld
814eed1b11
Scan dir before monitoring it.
...
SVN revision: 29495
2007-04-13 16:28:32 +00:00
Sebastian Dransfeld
1e2ce0a4af
This is done.
...
SVN revision: 29494
2007-04-13 16:06:01 +00:00
Sebastian Dransfeld
ea5f208a00
Fix segv. Create struct before adding it to the hash.
...
SVN revision: 29458
2007-04-10 16:11:54 +00:00
Sebastian Dransfeld
838a4883b7
Don't emit add events during inital scan.
...
SVN revision: 29456
2007-04-10 07:18:51 +00:00
Sebastian Dransfeld
e7107630db
Make util optional.
...
SVN revision: 29452
2007-04-09 12:16:09 +00:00
Sebastian Dransfeld
6d320096e0
Keep track of previous .desktop file on update.
...
SVN revision: 29395
2007-04-05 21:10:50 +00:00
Sebastian Dransfeld
bd2a3953a9
Make sure header variables matches the real variables.
...
SVN revision: 29393
2007-04-05 20:56:23 +00:00
Sebastian Dransfeld
78cb82439f
Events when .desktop files change.
...
SVN revision: 29392
2007-04-05 20:53:43 +00:00
Sebastian Dransfeld
c6e4580e33
++
...
SVN revision: 29391
2007-04-05 20:34:57 +00:00
Sebastian Dransfeld
0ab450e0f3
Use correct source for desktop.
...
SVN revision: 29390
2007-04-05 20:29:26 +00:00
Sebastian Dransfeld
9c2d4cf883
This is valid. StartupWMClass can match either name or class, check
...
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
SVN revision: 29389
2007-04-05 20:24:53 +00:00
Sebastian Dransfeld
d6277241e0
Prioritize user .desktop files.
...
SVN revision: 29388
2007-04-05 20:22:58 +00:00
Sebastian Dransfeld
196f55ef54
Remove desktop from menu.
...
SVN revision: 29371
2007-04-05 12:10:32 +00:00
rephorm
30c129cc88
actually find the extension
...
SVN revision: 29356
2007-04-04 19:12:42 +00:00
Sebastian Dransfeld
6c73d2b536
--
...
SVN revision: 29349
2007-04-04 12:03:15 +00:00
Sebastian Dransfeld
d4b0093826
Efreet style.
...
SVN revision: 29348
2007-04-04 12:00:40 +00:00
Sebastian Dransfeld
e27e139ac8
Efreet style.
...
SVN revision: 29347
2007-04-04 11:55:24 +00:00
Sebastian Dransfeld
170542eef2
Drop icons without extenstion
...
SVN revision: 29346
2007-04-04 11:54:23 +00:00
Sebastian Dransfeld
0a2d7b785e
Strip known extensions from icons.
...
SVN revision: 29345
2007-04-04 11:52:46 +00:00
Sebastian Dransfeld
943b05a5d9
enable sloppy spec by default.
...
SVN revision: 29339
2007-04-04 10:50:35 +00:00