Commit Graph

50 Commits

Author SHA1 Message Date
Gustavo Sverzut Barbieri a13620d1e7 add efreet_user_dir to test variables.
SVN revision: 77683
2012-10-09 20:16:29 +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 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
Tom Hacohen d264316ab3 Efreet tests: fix compilation warning.
SVN revision: 67357
2012-01-19 18:50:24 +00:00
Sebastian Dransfeld c8bfe4f0d3 efreet: Fix clang warnings
SVN revision: 64997
2011-11-09 23:04:01 +00:00
Boris Faure e6119fa4d9 remove .cvsignore files
SVN revision: 60246
2011-06-12 21:38:37 +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 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
Sebastian Dransfeld 04db235b11 Add more testing to tests
SVN revision: 56913
2011-02-10 14:25:54 +00:00
Sebastian Dransfeld 01a9d81096 Wait for caches to update, then quit.
SVN revision: 56857
2011-02-09 17:10:12 +00:00
Eric Schuele dd094399bb Failed to wrap one clearenv() (take two)
SVN revision: 56744
2011-02-06 01:53:33 +00:00
Sebastian Dransfeld 2296007594 Define EFREET_MODULE_LOG_DOM
Must be defined in all files which include efreet_private.h

SVN revision: 56734
2011-02-05 19:56:44 +00:00
Sebastian Dransfeld d2fe644145 remove test which will always fail
SVN revision: 56698
2011-02-03 21:34:45 +00:00
Sebastian Dransfeld e9d7cce821 Reapply hash cache
And this time update it on new cache

SVN revision: 56638
2011-02-01 21:03:40 +00:00
Sebastian Dransfeld 3bf3e34ff4 Revert local hash cache
SVN revision: 56623
2011-02-01 09:23:05 +00:00
Sebastian Dransfeld 90dcedff5e TODO--
SVN revision: 56604
2011-01-31 11:46:01 +00:00
Sebastian Dransfeld 0b519a6f7d Create one cache file for each theme
SVN revision: 56598
2011-01-31 11:44:56 +00:00
Sebastian Dransfeld 8309f40d0f Check if theme has changed when building cache
SVN revision: 56596
2011-01-31 11:44:35 +00:00
Sebastian Dransfeld 4ec17d71fc Create internal struct for theme cache
SVN revision: 56595
2011-01-31 11:44:24 +00:00
Sebastian Dransfeld e3e3b2a204 Always use icon cache, remove old code
SVN revision: 56590
2011-01-31 11:43:31 +00:00
Carsten Haitzler debf4d9428 clearenv not on bsd - dont build the related test code (yes tests may
fail).



SVN revision: 56550
2011-01-30 10:50:14 +00:00
Vincent Torri 2a40bd2c7c put again efreet tests in the source tree
SVN revision: 56197
2011-01-16 19:07:19 +00:00
Carsten Haitzler fa14105442 and move efreet tests out of src tree too.
SVN revision: 55641
2010-12-19 03:15:19 +00:00
Sebastian Dransfeld dcbbc1ef37 fix environment handling
SVN revision: 55397
2010-12-09 08:56:46 +00:00
Sebastian Dransfeld d104d2e745 Add icon theme cache
Not used yet.

SVN revision: 55384
2010-12-08 21:39:43 +00:00
Sebastian Dransfeld ed43ae5263 rename struct
prepare for Efreet_Cache_Icon_Theme

SVN revision: 55382
2010-12-08 21:36:54 +00:00
Sebastian Dransfeld 2f8e8a4f1a check efreet_mime_type_icon_get()
SVN revision: 55260
2010-12-04 13:59:37 +00:00
Sebastian Dransfeld 652f748760 more decimals
SVN revision: 55195
2010-12-03 14:53:21 +00:00
Sebastian Dransfeld c06fe60c99 move dump to tests
SVN revision: 55192
2010-12-03 14:52:39 +00:00
Sebastian Dransfeld e8e0615c08 only inherit hicolor if theme is valid
SVN revision: 54974
2010-11-25 09:04:39 +00:00
Sebastian Dransfeld 19e3d5ee33 Make icon test work without theme installed
SVN revision: 54973
2010-11-25 09:04:19 +00:00
Sebastian Dransfeld c36317f77c do ecore_init, so ecore_time_get works
SVN revision: 54827
2010-11-22 20:50:32 +00:00
Sebastian Dransfeld 8a1cde087d formatting
SVN revision: 54582
2010-11-16 10:32:11 +00:00
Sebastian Dransfeld 7545e54203 Let efreet icon return const
We return a pointer to an internal cache, so no need to do strdup. I we
implement a cache, the pointer will be a return from a mmap'ed file, so
no need to do strdup.

A bit late to do an API break, but must be done.

SVN revision: 54372
2010-11-09 20:15:55 +00:00
Carsten Haitzler d9aad06334 shuddup gcc wanrings
SVN revision: 52434
2010-09-19 00:36:27 +00:00
Lucas De Marchi 5a8a8c9014 Convert (hopefully) all comparisons to NULL
Apply badzero.cocci, badnull.coci and badnull2.cocci

This should convert all cases where there's a comparison to NULL to simpler
forms. This patch applies the following transformations:

code before patch               ||code after patch
===============================================================

return a == NULL;                 return !a;

return a != NULL;                 return !!a;

func(a == NULL);                  func(!a);

func(a != NULL);                  func(!!a);

b = a == NULL;                    b = !a;

b = a != NULL;                    b = !!a;

b = a == NULL ? c : d;            b = !a ? c : d;

b = a != NULL ? c : d;            b = a ? c : d;


other cases:

a == NULL                         !a
a != NULL                         a




SVN revision: 51487
2010-08-21 13:52:25 +00:00
Cedric BAIL a6645cb746 * eina: fix eina array threadsafe version.
Also add iterator and accessor ability to walk threadsafely.
	Rename EINA_EACH to EINA_EACH_CB to match other callback cast.


SVN revision: 51000
2010-08-11 14:32:30 +00:00
Lucas De Marchi 0a4617ae38 FORMATTING
* Remove vim modelines:
 find . -name '*.[chx]' -exec sed -i '/\/\*$/ {N;N;/ \* vim:ts/d}' \{\} \;
 find . -name '*.[chx]' -exec sed -i '/\/[\*\/] *vim:/d' \{\} \;

* Remove leading blank lines:
 find . -name '*.[cxh]' -exec sed -i '/./,$!d'

If you use vim, use this in your .vimrc:
set ts=8 sw=3 sts=8 expandtab cino=>5n-3f0^-2{2(0W1st0



SVN revision: 50816
2010-08-04 16:57:32 +00:00
Sebastian Dransfeld 45f4c540d5 efreet_util_init gone
SVN revision: 47511
2010-03-27 19:58:02 +00:00
Sebastian Dransfeld 032c37d795 same PACKAGE_DIR as data subdir
SVN revision: 47182
2010-03-13 19:05:23 +00:00
Sebastian Dransfeld d07a67ad63 Store unknown .desktop file dirs
SVN revision: 46829
2010-03-03 12:28:21 +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
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 f72d4f9342 Eet cache for efreet desktop
SVN revision: 46726
2010-03-01 18:16:32 +00:00