Commit Graph

112 Commits

Author SHA1 Message Date
Vincent Torri 9a08eb668f add more wrapping
SVN revision: 42532
2009-09-16 21:59:37 +00:00
Vincent Torri 458267b1c2 useless define
SVN revision: 42531
2009-09-16 21:59:04 +00:00
Vincent Torri 1f15fd4f87 typo
SVN revision: 42525
2009-09-16 20:22:21 +00:00
Vincent Torri 98817e4ed3 add other wrapping for Windows function (fileno and fdopen)
SVN revision: 42521
2009-09-16 18:05:04 +00:00
Vincent Torri 17bd8aecf8 add int64_t type when compiling with vc++. Nedded for eina_f*p*.h files
SVN revision: 42518
2009-09-16 17:25:28 +00:00
Vincent Torri 12788aff0b fix--
SVN revision: 42516
2009-09-16 16:28:30 +00:00
Vincent Torri 082c4496b1 make start.bat more generic
SVN revision: 42514
2009-09-16 13:47:01 +00:00
Vincent Torri ceb5e10348 update Visual Studio project files
SVN revision: 42511
2009-09-16 13:27:04 +00:00
Vincent Torri c88e3887d8 * INSTALL:
update INSTALL file



SVN revision: 42345
2009-09-08 06:55:14 +00:00
Vincent Torri bb6e659965 * src/lib/dlfcn/dlfcn.c:
fix warnings
	* src/lib/evil_fnmatch_list_of_states.c:
	fix vc++ warning
	* win32/MANIFEST.txt:
	* win32/README.txt:
	* win32/start.bat:
	* win32/vs9/evil.sln:
	* win32/vs9/libdlfcn.vcproj:
	* win32/vs9/libevil.vcproj:
	* win32/vs9/test/out/update_deps.bat:
	* win32/vs9/test/start.bat:
	* win32/vs9/test/test.sln:
	* win32/vs9/test/test.vcproj:
	* win32/vs9/test/test_fnmatch.cpp:
	* win32/vs9 (added):
	* win32/vs9/test (added):
	* win32/vs9/test/test_fnmatch.cpp (added):
	* win32/vs9/test/test.vcproj (added):
	* win32/vs9/test/start.bat (added):
	* win32/vs9/test/out (added):
	* win32/vs9/test/out/update_deps.bat (added):
	* win32/vs9/test/test.sln (added):
	* win32/vs9/libdlfcn.vcproj (added):
	* win32/vs9/libevil.vcproj (added):
	* win32/vs9/evil.sln (added):
	* win32/start.bat (added):
	* win32/vs8/libmman.vcproj (deleted):
	* win32/vs8/start.bat (deleted):
	* win32/set_env.bat (deleted):
	update the Visual Studio environment. Now, there is only one
	script to launch (start.bat) in win32/. It detects automatically
	the latest Visual Studio environment which is installed and launch
	the solution. Currently	supported VS are 2005 and 2008.



SVN revision: 42029
2009-08-27 08:19:06 +00:00
Lars Munch 3091ddee09 * src/lib/evil_main.c:
initiate use of the Winsock DLL in evil_init()



SVN revision: 41025
2009-06-13 08:25:28 +00:00
Vincent Torri 0965a704e9 * src/lib/evil_langinfo.c:
* src/lib/evil_langinfo.h:
	add minimal RADIXCHAR support. Must be fixed in
	a better way.



SVN revision: 40995
2009-06-10 17:33:18 +00:00
Vincent Torri 51fa69fc9e reviewed by: Vincent Torri
patch by: Lance Fetters
	* src/lib/evil_unistd.c:
	make evil_pipe() non blocking



SVN revision: 40758
2009-05-20 17:56:00 +00:00
Vincent Torri b9972c4f6a * configure.ac:
* src/lib/Makefile.am:
	put c++ flags in a variable and use gcc when
	linking the Windows CE code.



SVN revision: 40180
2009-04-18 18:32:58 +00:00
Vincent Torri aace76a3b8 spelling
SVN revision: 40159
2009-04-18 09:19:03 +00:00
Vincent Torri b2b415ac00 * src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h:
	support of F_GETFD in fcntl() (does nothing, actually
	needed for last ecore change)



SVN revision: 39978
2009-04-11 11:12:34 +00:00
Vincent Torri adf3a95ddc * src/lib/evil_stdlib.c:
manage correctly getenv() when value is NULL.



SVN revision: 39900
2009-04-08 17:22:12 +00:00
Vincent Torri a3f6e333f9 include winsock2.h before Evil.h to avoid conflict with sys/time.h
when using Visual Studio


SVN revision: 39179
2009-02-24 17:44:59 +00:00
Vincent Torri 9d900b283a * src/lib/evil_main.c:
* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	Use high resolution timer for gettimeofday() and
	export a convenient function for ecore_time_get(),
	to save some computations.
	* src/lib/evil_pwd.c:
	Use the correct name for GetUserNameEx() according
	to the platform.



SVN revision: 39148
2009-02-22 19:20:23 +00:00
Vincent Torri a42a91cebc include io.h when using vc++ (requested for _open())
SVN revision: 39100
2009-02-19 20:03:58 +00:00
Vincent Torri d39257b550 set correctly the relative path of the extern directory,
so that it fits the one used in the tutorial.


SVN revision: 39098
2009-02-19 19:46:04 +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 715f0f8758 * doc/Makefile.am:
* m4/efl_doxygen.m4:
	Missing modification of the variable DOXYGEN to
	efl_doxygen. Spotted by Albin Tonnerre (Lutin).



SVN revision: 38891
2009-02-01 20:20:29 +00:00
Vincent Torri f15f2c1c64 * m4/efl_doxygen.m4:
fix logic in efl_doxygen.m4



SVN revision: 38880
2009-02-01 06:55:53 +00:00
Vincent Torri 6a48f60e39 * src/lib/evil_fcntl.c:
fix fcntl()



SVN revision: 38766
2009-01-24 22:29:19 +00:00
Vincent Torri 7da4e5839d * src/bin/Makefile.am:
* src/bin/evil_suite.c:
	* src/bin/evil_test_dlfcn.c:
	* src/bin/evil_test_dlfcn.h:
	* src/bin/evil_test_environment.c:
	* src/bin/evil_test_environment.h:
	* src/bin/evil_test_gettimeofday.c:
	* src/bin/evil_test_gettimeofday.h:
	* src/bin/evil_test_link.c:
	* src/bin/evil_test_link.h:
	* src/bin/evil_test_mkstemp.c:
	* src/bin/evil_test_mkstemp.h:
	* src/bin/evil_test_realpath.c:
	* src/bin/evil_test_realpath.h:
	various fixes in the test suite.
	add mkstemp() and realpath tests.
	* src/lib/evil_dirent.c:
	fix opendir() when indexation search is not active.
	formatting.
	* src/lib/evil_stdlib.c:
	fir mkstemp() on both platform
	* src/lib/evil_unistd.c:
	remove useless error message.



SVN revision: 38645
2009-01-19 17:51:17 +00:00
Vincent Torri 2023d9749f update ac_attribute.m4
SVN revision: 38586
2009-01-14 08:39:46 +00:00
Carsten Haitzler fb92a519bf fix the copying license to
1. get rid of grammar mistake
2. refer to COPYING-PLAIn correctly as the filename
3. be more explicit on "shipping source" due to ambiguity (this makes it what
it was intended to be and that is GPL compatible).

this does not modify the LGPL libs... or GPL apps etc. - only those using the
original COPYING from e. author and dates at the top remain the same.



SVN revision: 38569
2009-01-13 13:00:45 +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 c80770901d * configure.ac:
add SECURITY_WIN32 to the proprocessor on Windows XP,
	should fix the bug with security.h



SVN revision: 38334
2008-12-27 18:57:54 +00:00
Vincent Torri ac3bcc3fa9 * src/bin/evil_test_environment.c:
check returned value
	* src/bin/evil_test_memcpy.c:
	define getpagesize() for vc++
	* src/lib/evil_unistd.c:
	move inclusion of time.h after windsock2.h
	include direct.h for vc++
	use _WIN32_WCE for Windows CE compilers in evil_getcwd()
	* src/lib/Evil.h:
	* src/lib/evil_unistd.h:
	move getcwd() define from Evil.h to evil_unistd.h
	add some C99 types to Evil.h for vc++ (will be used in eina)
	* src/lib/evil_fcntl.c:
	include io.h for vc++
	* src/lib/evil_link_xp.cpp:
	use full name for symlink(). Fix symlink on Windows XP with
	the DOS prompt or the debugger of Visual Studio.
	* src/lib/evil_mman.c:
	don't include unistd.h if vc++ is used
	* src/lib/evil_stdio.h:
	formatting
	* src/lib/evil_stdlib.h:
	* src/lib/evil_stdlib.c:
	define putenv only for mingw32ce
	move the returned value of setenv()



SVN revision: 38333
2008-12-27 18:53:56 +00:00
dm 7ad6bb42fc Evil Win32 VS8 projects modified
SVN revision: 38281
2008-12-22 23:18:41 +00:00
Vincent Torri 55f7df7ef9 * src/bin/Makefile.am:
* src/bin/evil_test_gettimeofday.c:
	fix unit test; now all tests pass, finally
	* src/lib/evil_unistd.c:
	fix gettimeofday() on mingw32ce



SVN revision: 38130
2008-12-13 18:43:16 +00:00
Vincent Torri 87ededafe7 * src/bin/Makefile.am:
and don't compile test_dlfcn...



SVN revision: 38129
2008-12-13 17:19:28 +00:00
Vincent Torri 93bded8fd2 * src/bin/evil_suite.c:
do not access to undefined pointer



SVN revision: 38128
2008-12-13 17:11:31 +00:00
Vincent Torri e4978aeae2 * src/bin/test_dlfcn.c:
remove dlfcn test, is in the unit test now



SVN revision: 38127
2008-12-13 16:07:23 +00:00
Vincent Torri 826fd4ce79 * src/bin/Makefile.am:
* src/bin/evil_test_dlfcn.c:
	* src/bin/evil_test_dlfcn.h:
	add dflcn unit test
	* src/bin/evil_suite.c:
	show result of the unit tests and add dlfcn unit test
	* src/bin/evil_test_environment.c:
	remove debug
	* src/bin/evil_test_gettimeofday.c:
	debug, not working yet :/
	* src/bin/evil_test_link.c:
	* src/lib/evil_link_ce.c:
	fix link support on Windows CE



SVN revision: 38126
2008-12-13 16:04:05 +00:00
Vincent Torri 89937e8cf5 * src/lib/Evil.h:
be sure to include stdio.h before redefining the
	functions that are declared int it.



SVN revision: 38076
2008-12-10 06:15:03 +00:00
Vincent Torri 26d595d0d8 * src/bin/evil_test_gettimeofday.c:
add output
	* src/bin/evil_test_link.c:
	add a unit test for readlink()
	* src/lib/evil_link_xp.cpp:
	fix readlink() and symlink() on Windows XP



SVN revision: 38070
2008-12-09 22:27:53 +00:00
Vincent Torri 7b9b40334f * src/lib/evil_main.c:
always export evil_init() and evil_shutdown()



SVN revision: 37945
2008-12-05 22:50:24 +00:00
Vincent Torri e407285fb1 * src/bin/evil_test_gettimeofday.c:
replace evil_gettimeofday by gettimeofday
	* src/lib/evil_string.c:
	* src/lib/evil_string.h:
	add strcoll() "port" to Windows CE OS. Note it's
	just strcmp, no locale stuff is used onn that OS.



SVN revision: 37910
2008-12-03 00:36:31 +00:00
Vincent Torri e12623ee46 * src/lib/evil_main.c:
define correctly EAPI



SVN revision: 37849
2008-11-29 10:56:20 +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
Samuel F. Baggen fafeb1044d [vtorri patch] include fnmath code for mingw users
SVN revision: 37611
2008-11-13 20:53:16 +00:00
Vincent Torri bd70ea0c86 * src/lib/evil_unistd.h:
export execvp()



SVN revision: 37596
2008-11-12 07:25:38 +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 d475a28d93 * src/lib/Evil.h:
* src/lib/evil_stdio.h:
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	overload the stat() function for native Windows CE platform.
	move pipe() and fopen() definitions to their own header files



SVN revision: 37452
2008-11-04 07:53:43 +00:00
Vincent Torri 9efc8ecf79 * configure.ac:
add a flag to know if cegcc is used or not
	* src/lib/Makefile.am:
	* src/lib/dirent.h:
	* src/lib/evil_dirent.c:
	add opendir(), closedir() and readdir() implementations
	for Windows XP and CE. Now, the evas engines are correctly
	found.
	* src/lib/fnmatch.h:
	formatting



SVN revision: 37376
2008-11-01 17:07:41 +00:00
Vincent Torri 7e2b141beb * configure.ac:
formatting
	* src/lib/dlfcn/dlfcn.c:
	* src/lib/dlfcn/dlfcn.h:
	fix dladdr declaration



SVN revision: 37370
2008-11-01 09:50:01 +00:00