Commit Graph

1063 Commits

Author SHA1 Message Date
Sebastian Dransfeld 4f0bcd9b29 efreet: parse user-dirs.dirs
SVN revision: 73053
2012-06-29 20:35:47 +00:00
Sebastian Dransfeld a6fc2bf1bb efreet: use alloca
malloc + dir in same function -> alloca

SVN revision: 73052
2012-06-29 20:35:23 +00:00
Sebastian Dransfeld 851f2fc136 efreet: Fix missing cache info
If a desktop was in the regular cache because of direct access, and then
added by a change in XDG_DATA_DIRS it wouldn't end in the utils cache
unless something triggered a complete cache rebuild.

SVN revision: 72962
2012-06-27 19:07:05 +00:00
Stefan Schmidt b07388e539 efreet: Align coverage generation with eina, eet and evas.
SVN revision: 72946
2012-06-27 13:26:21 +00:00
Stefan Schmidt 18c327cfff efreet: efreet_suite also needs the libs for coverage
Its one of these days where it only comes together in small pieces.

SVN revision: 72934
2012-06-27 09:55:38 +00:00
Stefan Schmidt f61cb10773 efreet: Pass the correct ld flags to the test.
This fixes coverage on freet

SVN revision: 72930
2012-06-27 09:21:22 +00:00
Sebastian Dransfeld 77d44f84d3 efreet: correct desktop cache update on lang reset
As we only build the cache for the current language, we need to trigger
cache rebuild on language change, as the cache might not exist or it is
old.

SVN revision: 72832
2012-06-25 20:54:46 +00:00
Mike Blumenkrantz d26c554d60 changelog/news updates for seb's work
SVN revision: 72818
2012-06-25 17:18:08 +00:00
Sebastian Dransfeld 314d42ea42 efreet: Improve language reset
efreet.c: Reset parsed locale, and force a reparse of LANG env
efreet_cache.c: Close desktop cache so we reopen cache with correct
language

SVN revision: 72817
2012-06-25 17:12:35 +00:00
Jerome Pinot f7f8eadbd7 efreet: nls
Add some translations and improve the "make maintainer-clean".


SVN revision: 72789
2012-06-25 08:39:18 +00:00
Sebastian Dransfeld 76b65ed331 efreet: Add nls support
SVN revision: 72773
2012-06-24 18:26:12 +00:00
Mike Blumenkrantz 672730ee44 only parse retarded canonical ini fields when not using strict spec compliance
SVN revision: 72387
2012-06-18 12:12:44 +00:00
Jerome Pinot afa6d5076f efreet: doxygen
Fix a few typos and missing @c.


SVN revision: 72379
2012-06-18 10:06:17 +00:00
Mike Blumenkrantz 9d8a7e0095 fix annoying null error spam
SVN revision: 72111
2012-06-14 08:29:53 +00:00
Mike Blumenkrantz f5d9c7bf2f +efreet_dirs_reset()
SVN revision: 72104
2012-06-14 07:28:23 +00:00
Mike Blumenkrantz 3e24827119 the dicks at canonical like to break fdo .desktop file spec by adding invalid characters (underscores) to key names. we are not amused.
SVN revision: 71941
2012-06-11 09:38:10 +00:00
Mike Blumenkrantz 4d3515b730 enough with the efreet error message spam!!!
SVN revision: 71939
2012-06-11 09:01:35 +00:00
Mike Blumenkrantz 7f8db5d7c1 whoops, forgot these
SVN revision: 71817
2012-06-07 15:19:33 +00:00
Mike Blumenkrantz 7edc06111f add XDG_DESKTOP_DIR based on http://freedesktop.org/wiki/Software/xdg-user-dirs
seb if I put this in the wrong place let me know


SVN revision: 71816
2012-06-07 15:12:15 +00:00
Mike McCormack 69ac680ae4 efreet: ERR -> EINA_LOG_ERR
SVN revision: 71560
2012-05-30 12:34:18 +00:00
Carsten Haitzler 318bd30043 This is a small change, so I won't changelog it (or backport), but
make _shutdown() funcs across efl complain and be unhappy if you
shutdown to < 0 shutdowns and not pull init count below 0.



SVN revision: 71548
2012-05-30 10:08:41 +00:00
Sebastian Dransfeld f419175657 efreet: Add parameter checking to exported API
Some efreet APIs do not check input parameters.  So I add checking by
using EINA_SAFETY_ON_XXX().
ISO/IEC statndards says that "If an argument to a function has an
invalid value, behavior is undefined" . But this is  just for the
primitive functions such as libc.  I think that parameter checking is
needed in at least EFL exported APIs to prevent run-time abnormal
behavior.
EINA_SAFTETY_ON_XXX are better than "if (xxx) return" because it gives
error message and can be maintainable.

Patch by Bluezery, modified by me

SVN revision: 71366
2012-05-23 20:10:27 +00:00
Cedric BAIL 4fe47342e7 efreet: useless work of the day, faster loading of mime type.
SVN revision: 70931
2012-05-11 10:54:47 +00:00
Cedric BAIL 8053f61f86 efl: add release point in ChangeLog files.
SVN revision: 70494
2012-04-26 08:07:22 +00:00
Carsten Haitzler 8616b93335 restore .99 micro versions for trunk and add back svnrev vers too.
SVN revision: 70492
2012-04-26 04:51:32 +00:00
Carsten Haitzler 2e9912b91a and removed the -beta tag...
SVN revision: 70489
2012-04-26 04:35:43 +00:00
Carsten Haitzler ec3f63fae7 tag everything as beta in svn.
SVN revision: 70375
2012-04-21 01:52:12 +00:00
Carsten Haitzler b2c3dc2350 lets trawl thru svn logs and add changelogs and NEWS
SVN revision: 70210
2012-04-16 06:26:24 +00:00
Vincent Torri db9288db62 Efreet : doc fixes
Patch by Jérôme Pinot


SVN revision: 69816
2012-03-31 08:12:22 +00:00
Carsten Haitzler fed5f79433 and work more on getting release in shape - version requirements.
(god this is a pain in the butt)



SVN revision: 69484
2012-03-17 06:25:41 +00:00
Carsten Haitzler 4092638bf7 add back in libs.private/requires to pc files with some fixes for
missing.



SVN revision: 69482
2012-03-17 05:37:25 +00:00
Carsten Haitzler 63ed6ac02f gear up svn for release. one of many steps/things to do.
SVN revision: 69481
2012-03-17 04:17:29 +00:00
Cedric BAIL 1466254a5a efreet: add errno.h as needed.
SVN revision: 68229
2012-02-21 18:49:01 +00:00
Sebastian Dransfeld 93ed956adf efreet: Remove unneeded headers
SVN revision: 67403
2012-01-20 19:54:20 +00:00
Gustavo Sverzut Barbieri 5cfb4088e8 efreet_alloc test: check if icons are missing.
SVN revision: 67359
2012-01-19 19:40:41 +00:00
Gustavo Sverzut Barbieri 83d9012a96 efreet: make doxyfile similar to eina's.
SVN revision: 67358
2012-01-19 19:38:40 +00:00
Tom Hacohen d264316ab3 Efreet tests: fix compilation warning.
SVN revision: 67357
2012-01-19 18:50:24 +00:00
Sebastian Dransfeld c53f0f501b efreet: name_length -> name_start
SVN revision: 67311
2012-01-19 01:05:33 +00:00
Sebastian Dransfeld 820722a779 efreet: opendir -> eina_file_direct_ls
SVN revision: 67308
2012-01-19 00:35:51 +00:00
Carsten Haitzler 0e9a475092 update all minor versions to 2 (or 6) - and yes. i missed making most
be 1.1 (or 1.5) for the last release. too late. THIS is why i'm sick
and tired of all the bloody separate libs that have to be versiioned
and build and released separately. :( too many places to go fix up per
release.



SVN revision: 67284
2012-01-18 02:32:36 +00:00
Tom Hacohen d7a675766e efreet: Fixed svn detection for svn1.7
SVN revision: 66149
2011-12-13 08:55:15 +00:00
Carsten Haitzler ac4c70ab7b fix changelogs to mention release.
SVN revision: 65860
2011-12-04 01:56:31 +00:00
Carsten Haitzler 4797954c4d and now go to normal-like svn revs
SVN revision: 65806
2011-12-02 09:45:25 +00:00
Carsten Haitzler e51c9a6705 revert my 1.x.99 stuff so i can branch.
SVN revision: 65803
2011-12-02 09:32:11 +00:00
Carsten Haitzler b90b289063 and lets bump on to 1.x.99 (or so) for svn... and back to adding snap
rev.



SVN revision: 65802
2011-12-02 09:10:56 +00:00
Vincent Torri 9fad5fc6f0 evil >= 1.0.0
SVN revision: 65306
2011-11-16 17:51:59 +00:00
Cedric BAIL aeed35b2ea efreet: correctly include dirent.h in the right place.
NOTE: for after 1.1, we should really use eina_*_ls API instead.


SVN revision: 65292
2011-11-16 10:56:44 +00:00
Carsten Haitzler 9e655af267 update release candidate trees to their release version in preparation
for alpha



SVN revision: 65280
2011-11-16 05:34:37 +00:00
Carsten Haitzler 3a83eb3b0a update README for efreet
SVN revision: 65242
2011-11-15 11:41:02 +00:00
Carsten Haitzler 4ec6e9bfe5 efreet news
SVN revision: 65164
2011-11-14 11:40:15 +00:00
Vincent Torri b43267ab25 Efreet: include inet/in.h before arpa/inet.h. Needed by the OpenBSD port
SVN revision: 65156
2011-11-14 08:33:22 +00:00
Vincent Torri 01b5854b54 Efreet: use $requirement_efreet in PKG_CHECK_MODULES
SVN revision: 65025
2011-11-10 16:59:11 +00:00
Sebastian Dransfeld c8bfe4f0d3 efreet: Fix clang warnings
SVN revision: 64997
2011-11-09 23:04:01 +00:00
Boris Faure d718ad4713 efreet: typos
SVN revision: 64137
2011-10-17 20:29:25 +00:00
Cedric BAIL 08e79c00ff efreet: add svg.
SVN revision: 63538
2011-09-22 14:10:04 +00:00
Carsten Haitzler 325dbc04ae fix COPYING to say 2011.
SVN revision: 63187
2011-09-05 07:15:41 +00:00
Sebastian Dransfeld b8e42ad9cd Efreet: Only add known desktop types to cache
SVN revision: 63020
2011-08-31 09:10:18 +00:00
Sebastian Dransfeld d459c61334 Efreet: Fix shadow warning
SVN revision: 63019
2011-08-31 09:09:31 +00:00
Sebastian Dransfeld dc78efed2b Efreet: Fix caching of recursive directories
SVN revision: 62985
2011-08-30 12:19:19 +00:00
Sebastian Dransfeld a4e32175bb Efreet: Always set desktop_cache to NULL
SVN revision: 62984
2011-08-30 12:19:06 +00:00
Carsten Haitzler ab8757c8dc hey.. if we use magic poinrters like... -1 for not existing... null
would probably be fine though here)... we should always then handle
all the cases correctly! fix segv in efreet shutdown



SVN revision: 62616
2011-08-20 04:22:24 +00:00
Sebastian Dransfeld 352ec9086c efreet: Don't keep desktop_dirs permanently
SVN revision: 62583
2011-08-19 06:50:50 +00:00
Sebastian Dransfeld 6ac66e7427 efreet: Don't check if path is a subdir
We don't recurse in extra_dirs, so we must store all paths explicit.

SVN revision: 62582
2011-08-19 06:44:59 +00:00
Sebastian Dransfeld 1210e95895 efreet: Use eina log
SVN revision: 62581
2011-08-19 06:44:49 +00:00
Sebastian Dransfeld 6dffcf4c32 efreet: Use eina log
SVN revision: 62580
2011-08-19 06:44:38 +00:00
Sebastian Dransfeld 8fde31ddd6 efreet: Add doc
SVN revision: 62579
2011-08-19 06:44:27 +00:00
Sebastian Dransfeld 0f140cc959 efreet: Move doc to function declaration
SVN revision: 62578
2011-08-19 06:44:16 +00:00
Sebastian Dransfeld 3ae7cf0980 efreet: Use eina_hash_free_cb_set
SVN revision: 62560
2011-08-18 10:59:01 +00:00
Sebastian Dransfeld a0861d7c26 efreet: Don't stat .desktop file on every fetch
SVN revision: 62559
2011-08-18 09:03:44 +00:00
Sebastian Dransfeld 56f3b3b278 efreet: Clean headers
Might affect other systems, please just add the needed headers and don't
complain.

SVN revision: 62557
2011-08-18 07:35:48 +00:00
Sebastian Dransfeld 68a31c96c0 efreet: TODO--
SVN revision: 62556
2011-08-18 07:35:34 +00:00
Sebastian Dransfeld 4b6c9289be efreet: Delay closing of old caches
Programs might close their references after the event has completed.

SVN revision: 62551
2011-08-18 07:34:40 +00:00
Sebastian Dransfeld e99515a4a6 efreet: ignore++
SVN revision: 62550
2011-08-18 07:34:29 +00:00
Sebastian Dransfeld a43a9d363c efreet: Add cache build event
And listen for this event in e_startup to check for cache build
completion.

SVN revision: 62549
2011-08-18 07:34:19 +00:00
Sebastian Dransfeld c31f9f2049 efreet: Revert changed flag
Only send event when cache is actually updated.

SVN revision: 62548
2011-08-18 07:34:02 +00:00
Sebastian Dransfeld bf958ebbd7 efreet: No more caches in this file.
SVN revision: 62510
2011-08-16 13:19:00 +00:00
Sebastian Dransfeld 789a38a62f efreet: Add @since
SVN revision: 62508
2011-08-16 12:49:56 +00:00
Sebastian Dransfeld f696cd74bd efret: Save whether cache changed in update file.
SVN revision: 62506
2011-08-16 12:46:35 +00:00
Sebastian Dransfeld fa2a688b02 efreet: redo cache rebuild
Always rebuild cache from scratch when needed, but rely on correct spec
behaviour to check for theme changes. This will considerably speed up
the cache process when there is no change, and improve the correctness
of the cache when changes occur. For example didn't the previous
behaviour handle file removal gracefully.

SVN revision: 62505
2011-08-16 12:46:24 +00:00
Sebastian Dransfeld dfa8b5e29f efreet: No need to sync eet file before close
SVN revision: 62504
2011-08-16 12:46:14 +00:00
Sebastian Dransfeld 46367075e1 efreet: Formatting
SVN revision: 62503
2011-08-16 12:46:03 +00:00
Sebastian Dransfeld 34d2a47e50 efreet: Print error on write error
Better solution to stop ignoring return value.

SVN revision: 62502
2011-08-16 12:45:52 +00:00
Sebastian Dransfeld 51e1eca0a9 efreet: Remove disabled if
SVN revision: 62501
2011-08-16 12:45:30 +00:00
Carsten Haitzler 29864666c9 that's it - remove autom4te.cache dirs again... - keep having to many
problems about it storing invalid config when the same build trees are
shared between multiple architectures and machines. :( better we
build right than build fast.



SVN revision: 61974
2011-08-02 04:13:33 +00:00
Carsten Haitzler 39a63149cf enable mmap safety in efreet.
SVN revision: 60978
2011-07-04 09:35:39 +00:00
Carsten Haitzler d5e66856fe add errs for efreet cache init failures.
SVN revision: 60707
2011-06-26 23:11:07 +00:00
Michael Jennings 1461fec9ec Assorted build and spec fixes.
SVN revision: 60624
2011-06-23 07:01:45 +00:00
Michael Jennings 092d2d861b Since the SVN revision is now included in %{version}, it's redundant
to have it in %{release} also.  So let's just tag the package as ours
and try to make sure it doesn't interfere with vendor releases.



SVN revision: 60407
2011-06-16 20:36:43 +00:00
Rafael Antognolli 568175ab49 efreet: fix doc build when srcdir != builddir.
SVN revision: 60290
2011-06-13 18:03:52 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +00:00
Mike McCormack 2b58267396 Add ignore and update files
SVN revision: 60034
2011-06-07 10:26:13 +00:00
Cedric BAIL cb90b07d81 autogen: unobrk things.
SVN revision: 58668
2011-04-14 14:51:36 +00:00
Cedric BAIL df4bef8bdf autogen: improve detection of parameter change.
SVN revision: 58667
2011-04-14 14:03:46 +00:00
Sebastian Dransfeld 979f1c7e4b Efreet: We don't add non-existing dirs to lists
SVN revision: 58608
2011-04-12 22:42:57 +00:00
Sebastian Dransfeld 4c7b75cbf4 Efreet: Detect hidden themes
SVN revision: 58607
2011-04-12 22:42:43 +00:00
Sebastian Dransfeld 5fcbbac392 Efreet: Consistent PACKAGE_DATA_DIR
SVN revision: 58606
2011-04-12 22:42:29 +00:00
Sebastian Dransfeld 4262dd6285 Efreet: Fail on invalid ini file
SVN revision: 58605
2011-04-12 22:42:15 +00:00
Sebastian Dransfeld 649229a695 Efreet: Correct log domain name for efreet_ini
SVN revision: 58604
2011-04-12 22:42:01 +00:00
Sebastian Dransfeld 754b1f6425 Efreet: Re-add Home tests
Fixed cache dir creation problem.

SVN revision: 58603
2011-04-12 22:41:48 +00:00
Sebastian Dransfeld eacc880e8e Efreet: Don't update cache during tests
This makes efreet_init not fail if we pass non-existing paths as HOME
and XDG_* during testing.

SVN revision: 58602
2011-04-12 22:41:34 +00:00