Commit Graph

130 Commits

Author SHA1 Message Date
Guillaume Friloux 14ff0e1ae0 ecore - Various patches in ecore's doc
Hello e people, i modified some comments to get less doxygen
warnings/errors.

Signed-Off-By: Guillaume Friloux <guillaume.friloux@asp64.com>




SVN revision: 67270
2012-01-17 11:37:35 +00:00
Cedric BAIL e845e82b30 ecore: we never call perro.
SVN revision: 66040
2011-12-08 16:21:29 +00:00
Cedric BAIL 38567fbf32 ecore: include stdlib.h when required.
SVN revision: 65964
2011-12-06 16:09:05 +00:00
Mike Blumenkrantz 1b59d38784 more trivial fixes from Joerg Sonnenberger <joerg@britannica.bec.de>
SVN revision: 65799
2011-12-02 03:33:19 +00:00
Vincent Torri 1e7698357d Ecore: fix some warnings on Windows
SVN revision: 65497
2011-11-21 20:20:39 +00:00
Cedric BAIL 5b06c1947b ecore: oops forgotten to test all possible option.
SVN revision: 65455
2011-11-20 16:52:21 +00:00
Cedric BAIL 5c17799c25 ecore: use Eina_File for cleaner more portable code.
SVN revision: 65451
2011-11-20 15:14:48 +00:00
Lucas De Marchi 2d6d954935 Fix ecore_file initialization
We must init ecore, otherwise we will not have an eina ref.



SVN revision: 59916
2011-06-03 16:06:57 +00:00
Lucas De Marchi 2f4bba5d15 ecore: fix misspellings
Misspellings found by codespell


SVN revision: 59821
2011-05-30 16:17:07 +00:00
Lucas De Marchi cfae43f754 grammar fix
SVN revision: 59292
2011-05-09 11:53:45 +00:00
Daniel Juyung Seo 6ef3841a37 Ecore: Removed trailing whitespaces.
SVN revision: 58753
2011-04-20 14:15:33 +00:00
Daniel Juyung Seo 736e8bf67b Ecore ecore_file.c: NULL check before using strcmp().
SVN revision: 58168
2011-03-29 02:28:41 +00:00
Sebastian Dransfeld bd1b8e9985 renmae variable to prevent name clash
SVN revision: 56856
2011-02-09 17:10:00 +00:00
Mike Blumenkrantz 4cb086f57b fix doc typo
SVN revision: 56330
2011-01-27 20:40:02 +00:00
Carsten Haitzler 6502ea96ea hve to revert these commits. they hve created a whole chunk of 64bit
crashes on linux. this is REALLY bad. so remove these changes now.



SVN revision: 55981
2011-01-07 15:56:54 +00:00
Vincent Torri 7a078d0c76 use configure-time headers checks instead of compiler ones
SVN revision: 55975
2011-01-07 08:51:17 +00:00
Vincent Torri 658a9a8c05 AC_SYS_LARGEFILE defines _FILE_OFFSET_BITS
SVN revision: 55943
2011-01-06 18:39:55 +00:00
Vincent Torri 883850c5ec on Windows, "C:" is not a directory, but a drive.
SVN revision: 55013
2010-11-26 13:47:51 +00:00
Vincent Torri 259b702319 [ecore-file] fix doc
SVN revision: 53810
2010-10-23 11:05:36 +00:00
Gustavo Sverzut Barbieri 3a88bc8b71 log domains in lower-case only please.
let's make it a standard so we don't have to look at the code
everytime to figure out the name...



SVN revision: 53172
2010-10-07 22:31:46 +00:00
Vincent Torri 519007d376 tab--
SVN revision: 52920
2010-09-30 07:25:06 +00:00
Lucas De Marchi be1b6d32ef Fix common misspellings
Following misspellings were fixed:

alledgedly->allegedly
cant->can't
carefull->careful
consistant->consistent
currenly->currently
dependancy->dependency
descripters->descriptors
doesnt->doesn't
dosen't->doesn't
existant->existent
exmaple->example
inbetween->between
independant->independent
isnt->isn't
mroe->more
neccessary->necessary
occured->occurred
occurence->occurrence
parrallel->parallel
particualr->particular
preceeding->preceding
recieved->received
recieves->receives
seperate->separate
substraction->subtraction
succesfully->successfully
successfull->successful
sucess->success
supress->suppress
usefull->useful
witht->with



SVN revision: 51986
2010-09-08 11:23:42 +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
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
Brett Nash 1c185410b4 Old bug: Don't suffer from buffer overflow in readlink.
SVN revision: 50040
2010-07-05 04:11:53 +00:00
Cedric BAIL d4059c7107 * eina: rename ecore_file_ls_iterator to eina_file_ls.
SVN revision: 50002
2010-07-02 17:23:05 +00:00
Cedric BAIL 87b85132dd * ecore: add ecore_file_ls_iterator.
SVN revision: 49997
2010-07-02 15:25:22 +00:00
Cedric BAIL 238b9836ca * ecore: return Eina_Bool instead of int when it make sense.
Patch from Nicolas Aguirre.


SVN revision: 49611
2010-06-10 11:57:12 +00:00
Vincent Torri 898768c963 various fixes for vc++. I'll add the Visual Studio projects later
SVN revision: 47758
2010-04-05 08:26:48 +00:00
Sebastian Dransfeld c3b33835ea switch to eina_strlcpy
SVN revision: 45653
2010-01-27 20:59:26 +00:00
Carsten Haitzler f5ab46c84e saftery for strncpy
SVN revision: 45505
2010-01-24 02:23:43 +00:00
Cedric BAIL c354216b27 * ecore: Handle NULL in ecore_file_dir_get.
SVN revision: 45352
2010-01-20 12:41:22 +00:00
Cedric BAIL 3d2b34c85c * ecore: Fix ecore_file_dir_get.
SVN revision: 45283
2010-01-18 11:05:03 +00:00
Vincent Torri faadd43b94 statement not reached
SVN revision: 45224
2010-01-16 13:58:02 +00:00
Sebastian Dransfeld 75e3c941b1 Second argument isn't sort order, it's list size
SVN revision: 45217
2010-01-16 13:43:04 +00:00
Sebastian Dransfeld b91ae1fd9f Remove dependency on Ecore_Data
SVN revision: 45201
2010-01-15 21:47:03 +00:00
Sebastian Dransfeld 8007e73077 Patch from Mathieu Taillefumier
I modified some hearder file in ecore to ease the cleanup of the private
header files in ecore. Each module has now a private header with its own
log color (eina_log related). I also created two private header files
for ecore_sdl and ecore_input for this purpose and corrected some typos
in the xlib_xcb private header file.

SVN revision: 44933
2010-01-07 00:30:05 +00:00
Christopher Michael 741a725889 Remove wasted whitespace & fix some formatting.
SVN revision: 44861
2010-01-03 21:50:23 +00:00
Cedric BAIL d8e1895350 * ecore: Use eina_log.
Patch from Mathieu Taillefumier.


SVN revision: 44637
2009-12-21 17:32:19 +00:00
Vincent Torri 5cffd43943 add a wrapper around remove()
SVN revision: 44578
2009-12-19 19:09:37 +00:00
Vincent Torri 4072d0b23d * check the returned value of the _init() functions
* simplify a bit the init/shutdown functions


SVN revision: 42995
2009-10-10 05:28:43 +00:00
Gustavo Sverzut Barbieri 0af63168e5 debug--, sorry.
SVN revision: 39968
2009-04-11 07:12:13 +00:00
Gustavo Sverzut Barbieri 51bc45acb4 remove nasty warning.
SVN revision: 39967
2009-04-11 07:11:16 +00:00
Gustavo Sverzut Barbieri eab4fea030 move batch directory creation to ecore_file.
as suggested by raster, this could be abstracted into ecore-file and
other applications could use it as well.



SVN revision: 39965
2009-04-11 07:10:12 +00:00
Gustavo Sverzut Barbieri 33183982b0 minor optimizations to ecore_file_mkpath()
* check if path is already valid, not doing further work if that's the case;
 * less stats;
 * check error of ecore_file_mkdir();
 * better usage of 'ss' string.



SVN revision: 39964
2009-04-11 06:33:00 +00:00
Gustavo Sverzut Barbieri 4467ac1c39 batch directory creation, part 1.
SVN revision: 39961
2009-04-11 06:13:02 +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
Vincent Torri e18508b701 remove a bit the mess n ecore. It's just the first patch...
* add vim header
 * include config.h when necessary
 * fix the order of some include
 * move the standard header in ecore_private.h to the source files

I have recompiled all the efl and e17, and e17 seems to work fine with these changes.
If you encounter problems with that commit, let me know.


SVN revision: 38864
2009-01-31 18:33:39 +00:00
Sebastian Dransfeld dd4a299895 Remove const qualifier.
Dynamically allocated buffers which we will free shouldn't be const.

SVN revision: 38069
2008-12-09 20:08:36 +00:00
Chidambar Zinnoury c4525334f3 Leak --: ecore_file_dir_get always returns a new buffer.
SVN revision: 38068
2008-12-09 18:28:45 +00:00