Commit Graph

18 Commits

Author SHA1 Message Date
Vincent Torri 2b2b317b30 * src/lib/evil_stdio.c:
Fix returned value of evil_fread_native()
	* doc/Doxyfile:
	* doc/head.html:
	* src/lib/Evil.h:
	* src/lib/dirent.h:
	* src/lib/dlfcn/dlfcn.h:
	* src/lib/evil_fcntl.h:
	* src/lib/evil_inet.h:
	* src/lib/evil_libgen.h:
	* src/lib/evil_stdio.h:
	* src/lib/evil_string.h:
	* src/lib/pwd.h:
	Update documentation



SVN revision: 65105
2011-11-12 22:31:16 +00:00
Vincent Torri 04ccb0a4b4 * src/lib/evil_stdio.c:
make vasprintf() compile on Windows CE
	* src/lib/evil_time.c:
	* src/lib/evil_time.h:
	add stub tzset() for Windows CE



SVN revision: 57273
2011-02-23 19:34:27 +00:00
Vincent Torri 56940cdb32 * src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
	Add asprintf() function.
	Add documentation for vasprintf().
	Use _vcprintf() instead of vsnprintf() to get the length
	of the string, as recommended by MSDN.



SVN revision: 56705
2011-02-04 09:16:11 +00:00
Vincent Torri b16da2d20f * src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
	better perror() declaration / definition



SVN revision: 55954
2011-01-06 19:32:03 +00:00
Vincent Torri d7ed7006ac * src/lib/dlfcn/dlfcn.h:
define (temporary) PATH_MAX on Windows CE.
	cegcc has a bug with limits.h.
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	undefine temporary the definition of perror() on Windows CE



SVN revision: 55845
2011-01-04 13:37:24 +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
Vincent Torri 59384ec82a * doc/Doxyfile:
define _MSC_VER so that code guarded by it can
	be processed by doxygen
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	vasprintf() is also not in mingw crt
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	getpid is declared and defined in mingw crt



SVN revision: 49287
2010-05-29 10:51:06 +00:00
Vincent Torri c1f0bf9bbd * src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
	add vasprintf() function



SVN revision: 48001
2010-04-14 17:47:40 +00:00
Vincent Torri c0f295f2de * remove cegcc compiler support. Only mingw32ce is supported now
* remove some shadow declarations


SVN revision: 46639
2010-02-28 07:57:03 +00:00
Vincent Torri 8e9e67f075 * Makefile.am:
remove m4 libtool installed files during the
	maintainer-clean rule
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	add the remove() function



SVN revision: 44577
2009-12-19 19:08:28 +00:00
Vincent Torri b52d4b247f * evil_string.c : add strrstr() win32 port
* include config.h where it is not included
 * various minor formatting

SVN revision: 44228
2009-12-06 19:22:20 +00:00
Vincent Torri a66c46264c * src/lib/evil_stdio.c:
replace / by \ in the path passed to fopen



SVN revision: 39036
2009-02-16 08:42:41 +00:00
Vincent Torri c8c9bf3062 * src/lib/evil_dirent.c:
* src/lib/evil_fnmatch.c:
	* src/lib/evil_link_xp.cpp:
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdlib.c:
	* src/lib/evil_string.c:
	* src/lib/evil_unistd.c:
	* src/lib/evil_util.c:
	warnings fixes



SVN revision: 38552
2009-01-12 06:03:51 +00:00
Vincent Torri d7092143aa * src/bin/Makefile.am:
* src/bin/evil_suite.c:
	* src/bin/evil_test_gettimeofday.c:
	* src/bin/evil_test_gettimeofday.h:
	add a small test for gettimeofday
	* src/bin/evil_test_memcpy.c:
	fix warning
	* src/lib/Evil.h:
	* src/lib/Makefile.am:
	* src/lib/evil_main.c:
	* src/lib/evil_main.h:
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	* src/lib/evil_private.h:
	add gettimeofday for Windows CE natively. It is necessary
	to initialise evil with evil_init() now, to have that
	feature.
	* src/lib/evil_stdio.c:
	* src/lib/evil_string.c:
	fix warnings



SVN revision: 37734
2008-11-21 22:57:45 +00:00
Vincent Torri ad106db9fe * evil.pc.in:
remove -ldl
	* src/lib/evil_dirent.c:
	change guards
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	add some checks,
	add a function that more or less mimic fopen, but with
	native win32 api calls. This is only for the evas loader
	and saver of png files and works only for Windows CE.
	* src/lib/evil_unistd.c:
	move a free() and remove debug calls.



SVN revision: 37570
2008-11-09 19:27:13 +00:00
Vincent Torri 6a7aefef08 * src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
	overload rewind for Windows CE
	* src/lib/evil_unistd.c:
	remove debug



SVN revision: 37477
2008-11-05 17:27:20 +00:00
Vincent Torri de07e9bad9 reviewed by: <delete if not using a buddy>
patch by: <delete if not someone else's patch>
	* src/lib/Evil.h:
	* src/lib/Makefile.am:
	* src/lib/evil_private.h:
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	* src/lib/evil_stdlib.c:
	* src/lib/evil_unistd.c:
	* src/lib/evil_util.c:



SVN revision: 37046
2008-10-24 07:32:08 +00:00
Vincent Torri c30004b6c9 * configure.ac:
* src/lib/Makefile.am:
	readd guards suppressed in previous commit
	* src/lib/Evil.h:
	include new header files
	* src/lib/errno.h:
	* src/lib/evil_errno.c:
	add fake errno system with mingw32ce
	* src/lib/evil_fcntl.c:
	* src/lib/evil_fcntl.h:
	fix compilation on cegcc and mingw32 (mainly does
	nothing on Windows CE)
	* src/lib/evil_stdio.c:
	* src/lib/evil_stdio.h:
	add rewind and perror for mingw32ce
	* src/lib/evil_string.c:
	* src/lib/evil_string.h:
	add strerror for mingw32ce



SVN revision: 36587
2008-10-11 14:35:26 +00:00