Commit Graph

107 Commits

Author SHA1 Message Date
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
Carsten Haitzler daf72b327b ok- disabel error handlign for file_init.. foudn a case where iot fails...
wow! must check.



SVN revision: 36586
2008-10-11 14:25:58 +00:00
Sebastian Dransfeld 2d2c1176df formatting
SVN revision: 35791
2008-09-02 05:38:46 +00:00
Nicholas Hughart 4851309c8b Another update to ecore_file_mv to make it work even better. Now even writes to external devices will be atomic if possible. If it's still not possible, the old fallback method of just copying will be done.
SVN revision: 35787
2008-09-02 02:44:47 +00:00
Nicholas Hughart f8cee23def Remove this check. Any software that depended on this check should check before calling this function instead.
SVN revision: 35781
2008-09-01 20:13:00 +00:00
Davide Andreoli 288b801e42 as per irc add the function:
EAPI int ecore_file_dir_is_empty(const char*dir)
Should we need to upgrade the ecore version? so apps that need this function can check for the right version?
Thanks
Dave


SVN revision: 34889
2008-06-22 15:10:00 +00:00
doursse cc0ca9325e integration of evil in ecore. It's compiling on windows and my ubuntu. The commit is big, please report any problem
SVN revision: 34671
2008-05-26 05:16:34 +00:00
Eric Schuele c48d02e391 Check for null pointer before passing to realpath()
SVN revision: 34285
2008-04-17 02:04:02 +00:00
Mike Frysinger 184812f289 replace a lot of win32 ifdef hacks with autoconf checks
SVN revision: 33616
2008-01-26 05:40:53 +00:00
doursse 8cdab64618 fix linking on Windows, minor formatting and remove useless windows.h include
SVN revision: 32207
2007-10-29 20:02:08 +00:00
doursse 251f9a2f62 Windows port: mkdir is obsolete with vc++, use _mkdir instead. Define macros for realpath and mkdir
SVN revision: 31771
2007-09-21 17:06:24 +00:00
doursse 21339321e9 add a readlink equivalent for Windows
SVN revision: 31663
2007-09-09 11:05:02 +00:00
doursse a22ebcafac port ecore_file to Windows
SVN revision: 31662
2007-09-09 10:26:37 +00:00
Peter Wehrfritz 021597ec25 more docs
SVN revision: 31237
2007-08-10 16:01:59 +00:00
Peter Wehrfritz 32a28bf832 add some docs
SVN revision: 31236
2007-08-10 14:15:14 +00:00
Davide Andreoli 8ea12a434f Ecore_File documented with doxy tags
SVN revision: 31198
2007-08-06 20:00:28 +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
Eric Schuele 5a88f37fe1 oops.
SVN revision: 30260
2007-06-05 22:12:10 +00:00
Eric Schuele 91ced99888 FreeBSD has large file support out of the box
SVN revision: 30259
2007-06-05 21:52:15 +00:00
Carsten Haitzler f31429ba3d use features.h
SVN revision: 30204
2007-06-03 03:48:18 +00:00
Carsten Haitzler 0edf0118d4 dont actually need to #define this - features.h does ti for us
SVN revision: 30203
2007-06-03 03:46:35 +00:00
Carsten Haitzler 7c8c33371d make ecore_file able to handle large files.
SVN revision: 30194
2007-06-02 16:33:43 +00:00
Carsten Haitzler db70aa52ac return 0 if file cp only partially succeeded
SVN revision: 29684
2007-04-22 23:07:48 +00:00
Sebastian Dransfeld 928faa73f5 Check for NULL argument.
SVN revision: 29110
2007-03-25 12:05:48 +00:00