Commit Graph

50 Commits

Author SHA1 Message Date
Vincent Torri 0ca69d1f2d Evil: rename variables
SVN revision: 76462
2012-09-11 15:54:23 +00:00
Carsten Haitzler 39a385309b make evil be 1.7 too.. in svn.
SVN revision: 75738
2012-08-27 09:42:09 +00:00
Vincent Torri 8b9e7449ec Evil: quoting + fix distcheck rule
SVN revision: 75468
2012-08-20 15:46:37 +00:00
Vincent Torri cba9a2a11c Evil: less automake stuff, and remove warnings.
currently, distcheck fails because I remove the .la files when installing (so
actually, it's uninstall which fails). I'll fix that later.

SVN revision: 75425
2012-08-19 08:59:51 +00:00
Vincent Torri 2ead8b85c2 * configure.ac:
* src/bin/Makefile.am:
	* src/lib/Makefile.am:
	Fix compilation with mingw-w64 gcc 4.8



SVN revision: 74223
2012-07-20 09:00:48 +00:00
Carsten Haitzler 5c9c0852bb update all versions in @sincs, README's and configure.ac's etc. to
reflect a unified release version, for now 1.6.99.



SVN revision: 73498
2012-07-09 10:20:21 +00:00
Vincent Torri f88902722e Evil: bump to 1.6.99
SVN revision: 73492
2012-07-09 09:00:58 +00:00
Vincent Torri 28cdcce842 Evil: compile with -mms-bitfields
SVN revision: 72840
2012-06-26 05:08:17 +00:00
Vincent Torri 3c0317ceff * NEWS:
* configure.ac:
	Prepare 1.1 release.
	* src/lib/Evil.h:
	Add S_ISLNK macro (always set to 0).



SVN revision: 69786
2012-03-30 09:04:26 +00:00
Vincent Torri 0a42091076 * configure.ac:
* src/lib/Makefile.am:
	* src/lib/evil_pformata.c:
	* src/lib/evil_printa.c:
	* src/lib/gdtoa (added):
	* src/lib/gdtoa/gdtoa.c (added):
	* src/lib/gdtoa/dmisc.c (added):
	* src/lib/gdtoa/gdtoa_fltrnds.h (added):
	* src/lib/gdtoa/ulp.c (added):
	* src/lib/gdtoa/g_dfmt.c (added):
	* src/lib/gdtoa/gmisc.c (added):
	* src/lib/gdtoa/g_ffmt.c (added):
	* src/lib/gdtoa/gdtoa.h (added):
	* src/lib/gdtoa/sum.c (added):
	* src/lib/gdtoa/gdtoaimp.h (added):
	* src/lib/gdtoa/README (added):
	* src/lib/gdtoa/gd_qnan.h (added):
	* src/lib/gdtoa/hd_init.c (added):
	* src/lib/gdtoa/smisc.c (added):
	* src/lib/gdtoa/strtof.c (added):
	* src/lib/gdtoa/hexnan.c (added):
	* src/lib/gdtoa/strtopx.c (added):
	* src/lib/gdtoa/gethex.c (added):
	* src/lib/gdtoa/g_xfmt.c (added):
	* src/lib/gdtoa/gd_arith.h (added):
	* src/lib/gdtoa/strtodg.c (added):
	* src/lib/gdtoa/dtoa.c (added):
	* src/lib/gdtoa/Makefile.am (added):
	* src/lib/gdtoa/misc.c (added):
	* src/lib/gdtoa/g__fmt.c (added):
	* src/lib/gdtoa/README.mingw (added):
	* src/lib/gdtoa/qnan.c (added):
	* src/lib/gdtoa/arithchk.c (added):
	Define some missing functions, so that Evil also
	compile with MinGW, vc++ and later with Cedric
	compatibility layer
	* src/lib/evil_util.c:
	Include limits.h for ULONG_MAX definition



SVN revision: 68304
2012-02-23 06:10:36 +00:00
Vincent Torri b9b5bdc0a3 Evil: minor cleanup
SVN revision: 66300
2011-12-17 07:55:51 +00:00
Vincent Torri b21fb2cb05 Evil: organize the m4 files in common and "private" dirs, remove mpatrol, add a "windows-version" option to configure
SVN revision: 66293
2011-12-16 17:50:13 +00:00
Vincent Torri 79a27fd020 update Evil to prepare it for alpha
SVN revision: 65298
2011-11-16 17:38:19 +00:00
Vincent Torri dd1f4931f5 Evil: fix recent autotools changes. Based on Shinwoo Kim's patch.
SVN revision: 63910
2011-10-07 07:54:58 +00:00
Vincent Torri 98b3d37f90 Evil: add RTLD_DEFAULT support in dlsym() on Windows CE
SVN revision: 63847
2011-10-05 22:08:13 +00:00
Vincent Torri abcd670439 Evil: prepare the 1.0 release. Put (all, evil as well as 'standard' ones) the headers in $includedir/evil-vmaj
SVN revision: 61640
2011-07-24 08:51:33 +00:00
Vincent Torri bdad4772dc rename libtool version names to fit libtool doc
SVN revision: 58125
2011-03-27 18:59:17 +00:00
Vincent Torri c8a27bcc42 * configure.ac:
force libtool >= 2.4



SVN revision: 57354
2011-02-27 09:06:04 +00:00
Vincent Torri 2a3012715d add line
SVN revision: 55953
2011-01-06 19:03:41 +00:00
Vincent Torri 7fa0268487 add guards in config.h to avoid multiple inclusions
SVN revision: 55936
2011-01-06 18:06:00 +00:00
Vincent Torri 98c6a73879 use the same m4 variables than the other EFL
SVN revision: 55596
2010-12-16 15:54:49 +00:00
Vincent Torri 4bd1f6ad99 remove -pedantic, too much noise
SVN revision: 51565
2010-08-23 06:53:43 +00:00
Vincent Torri d989abb2aa * configure.ac:
move version management at the beginning
	* src/bin/evil_suite.c:
	* src/bin/evil_test_dlfcn.c:
	* src/bin/evil_test_environment.c:
	* src/bin/evil_test_gettimeofday.c:
	* src/bin/evil_test_link.c:
	* src/bin/evil_test_mkstemp.c:
	* src/bin/evil_test_pipe.c:
	* src/bin/evil_test_realpath.c:
	* src/lib/Evil.h:
	* src/lib/Makefile.am:
	* src/lib/evil_errno.c:
	* src/lib/evil_main.c:
	* src/lib/evil_main.h:
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.h:
	* src/lib/evil_util.c:
	fix warnings



SVN revision: 47669
2010-04-01 20:13:40 +00:00
Vincent Torri 05b5fbca70 * configure.ac:
add comment
	* win32/vs8/libevil.vcproj:
	clean up Visual Studio output (less useless warnings)
	add missing library



SVN revision: 47128
2010-03-11 06:53:46 +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 61e8284a3d * configure.ac:
improve configure output



SVN revision: 44366
2009-12-11 11:05:58 +00:00
Vincent Torri 586c6be200 * more quoting
* add silent rules (shave feature)
   see the description of AM_SILENT_RULES in: 
   http://www.gnu.org/software/automake/manual/automake.html#Public-Macros



SVN revision: 42914
2009-10-06 16:58:21 +00:00
Vincent Torri 8e36cd3086 Support on Windows XP or later (for desktop)
SVN revision: 42821
2009-09-30 17:05:49 +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 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 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
Vincent Torri de996636ba * configure.ac:
use AC_CHECK_HEADERS instead of AC_CHECK_HEADERS_ONCE, because it
	leads to more trouble than it improves configure speed...
	* src/lib/Evil.h:
	use __VA_ARGS__ instead of ##args to make gcc happy.



SVN revision: 37302
2008-10-29 11:07:43 +00:00
Vincent Torri 52ea343c44 * configure.ac:
define _WIN32_WCE with the cegcc compiler too
	useless EVIL_HAVE_WINCE define
	* src/bin/evil_test_memcpy.c:
	use _WIN32_WCE insead of EVIL_HAVE_WINCE
	* src/lib/Evil.h:
	try another definition of open(). Need feedback.
	* src/lib/evil_private.h:
	* src/lib/evil_util.c:
	add private error message when GetLastMessage must be called
	* src/lib/Makefile.am:
	* src/lib/evil_link_ce.c:
	* src/lib/evil_link_xp.cpp:
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.cpp:
	move specific link code (readlink and symlink) outside
	evil_unistd to evil_link_ce.c for Windows CE and
	evil_link_xp.cpp for Windows XP. This allow the Windows CE
	code not depend on c++ code anymore and above all, not
	statically link libstdc++ on that platform.
	I need feedback on Windows XP, btw :)



SVN revision: 37295
2008-10-29 08:04:52 +00:00
Vincent Torri 9a0b7ebd18 * configure.ac:
add c++ compiler checks
	remove linking against libuid.a	as it's not an import lib.
	* src/bin/Makefile.am:
	* src/bin/evil_suite.c:
	* src/bin/evil_test_link.c:
	* src/bin/evil_test_link.h:
	add unit test for links. Must be improved.
	* src/lib/Makefile.am:
	add unistd.cpp and uuid.c
	use -fno-exceptions when compiling c++ code
	* src/lib/evil_unistd.c:
	* src/lib/evil_unistd.cpp:
	use C++ api to manage links on Windows XP. Can be considered
	as heavy but it's cleaner as the internals can change later.
	I might consider to compile Windows CE code with only C compiler
	as with mingw32ce, libstdc++ is statically linked to the
	DLL / app (legacy of mingw stuff), to reduce a bit the DLL size.
	* src/lib/evil_private.h:
	declare _evil_error_display() as C function (otherwise linker
	not happy)
	* src/lib/evil_stdlib.c:
	use RegCreateKeyEx() instead of RegOpenKeyEx in getenv().
	fix an _evil_error_display() call.
	* src/lib/evil_util.c:
	add more error messages
	* src/lib/evil_uuid.c:
	define IID_IPersistFile (for links on Windows XP)
	* src/lib/evil_unistd.h:
	fix doc



SVN revision: 37267
2008-10-28 08:59:12 +00:00
Vincent Torri 44d632008b * configure.ac:
* src/lib/Makefile.am:
	store cpp flags in a variable instead of using an
	automake conditional
	* src/bin/Makefile.am:
	* src/bin/evil_suite.c:
	* src/bin/evil_test_memcpy.c:
	add test for getenv / setenv. More tests on it will
	come later
	* src/lib/evil_stdlib.c:
	fix getenv code and minor cleanup



SVN revision: 37004
2008-10-22 21:36:55 +00:00
Vincent Torri 26e3986a81 * configure.ac:
* src/lib/Makefile.am:
	fix compilation on MinGW. Windows 2000 is
	the minimum version supported by Evil (hence
	other EFL). Goodbye Windows 98.
	* src/bin/evil_test_memcpy.c:
	re-enable small memcpy tests. It seems that memcpy
	provided by glibc and the oem driver on Ipaq
	3970 I have, have the same speed.



SVN revision: 36724
2008-10-16 17:12:59 +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
Vincent Torri 1571e802d8 * configure.ac:
* src/lib/Makefile.am:
	* src/lib/evil_fnmatch.c:
	* src/lib/evil_fnmatch_list_of_states.c:
	add guards instead of not including fnmatch source
	file in Makefile.am (for mingw32ce only)
	* src/bin/Makefile.am:
	* src/bin/evil_suite.c:
	* src/bin/evil_test_memcpy.c:
	* src/bin/suite.c:
	* src/bin/suite.h:
	* src/bin/test_memcpy.c:
	* src/bin/test_memcpy.h:
	rename files



SVN revision: 36580
2008-10-11 07:23:55 +00:00
Vincent Torri 85ffa791af * AUTHORS:
mention Tor's contribution
	* configure.ac:
	mention m4 directory, check errno header file,
	add conditionnal when mingw32ce is used, minor
	formatting
	* m4/efl_doxygen.m4:
	fix comments
	* src/lib/Makefile.am:
	include fnmatch files only when mingw32ce is used
	* src/lib/evil_fcntl.c:
	define correctly _get_osfhandle on mingw32ce
	* src/lib/evil_pwd.c:
	fix getpwuid() when cegcc or mingw32ce are used
	* src/lib/evil_stdlib.c:
	fix mkstemp() on all Windows platform, guard errno stuff
	* src/lib/evil_stdlib.h:
	template -> __template because 'template ' is a c++ keyword.
	* src/lib/evil_unistd.c:
	guard errno stuff
	* src/lib/evil_fnmatch.c:
	* src/lib/evil_fnmatch_list_of_states.c:
	* src/lib/evil_fnmatch_private.h:
	* src/lib/fnmatch.h:
	added files
	* win32/common/fnmatch.c:
	* win32/common/fnmatch.h:
	* win32/common/fnmatch_list_of_states.c:
	* win32/common/fnmatch_private.h:
	removed files



SVN revision: 36555
2008-10-09 21:56:31 +00:00
Vincent Torri 22d8fefc05 * m4:
add m4 macro for doxygen, mpatrol and __attribute__

* doc:
move Doxyfile from toplevel dir to doc/

* src/bin/Makefile.am
* src/lib/Makefile.am
* src/lib/dlfcn/Makefile.am
remove _DEPENDENCIES, add flags for mpatrol and put
defines for EAPI

* src/bin:
add memcpy for i686. Need an asm expert to modify it

* src/bin/memcpy_glibc_arm.S:
formatting

* src/bin/suite.c:
fix seg fault by increasing the size of the buffers

* src/bin/test_memcpy.c:
add a test with a bigger size for the memory to copy

* configure.ac:
reorganise a lot, use m4 macro, add mpatrol support

* Makefile.am:
add doc rule


SVN revision: 36446
2008-10-05 15:53:22 +00:00
Vincent Torri be3df7fcd1 * configure.ac:
* src/bin/Makefile.am:
* src/bin/test_memcpy.c:
compile memcpy_glibc.S only if cegcc or mingw32ce is used

* src/bin/test_pipe.c:
use evil_sockets_init and evil_sockets_shutdown.

* src/lib/evil_unistd.c:
formatting


SVN revision: 36294
2008-09-28 13:32:49 +00:00
Vincent Torri a7f00b51bc * Makefile.am:
add autogen.sh in archive distribution

* configure.ac:
remove useless defines
first support of mingw32msvc compiler

* src/lib/Evil.h:
move some macro definitions

* src/lib/Makefile.am:
add evil_(fcntl/langinfo).(c/h) and install pwd.h

* src/lib/dlfcn/dlfcn.h:
remove useless ifdef

* src/lib/evil.c:
comment all code for now. It will be deleted later

* src/lib/evil_fcntl.c:
* src/lib/evil_fcntl.h:
* src/lib/evil_langinfo.c:
* src/lib/evil_langinfo.h:
move fcntl and langinfo related code to their own files

* src/lib/evil_mman.c:
remove useless inclusion

* src/lib/evil_pwd.c:
pw var is not needed with cegcc

* src/lib/evil_stdlib.c:
fix bugs, formatting

* src/lib/evil_unistd.c:
add missing declarations and fix header files

* src/lib/evil_unistd.h:
move pid_t typedef to Evil.h

* src/lib/evil_util.c:
additional include and fix a bug in output

* src/lib/pwd.h:
use EAPI from Evil.h, define struct passwd when not using cegcc

* src/lib/sys/mman.h:
use EAPI from Evil.h

* win32/common/fnmatch.c:
* win32/common/fnmatch.h:
* win32/common/fnmatch_list_of_states.c:
* win32/vs8/evil.sln:
fix and cleanup with vc++ compilation
Based on patch by Dmitriy Mazovka


SVN revision: 35993
2008-09-15 06:56:14 +00:00
Vincent Torri 146b4a86c6 * big rework of evil: put most of functions in evil.c in their own files
* add unit test for memcpy. more will come later


SVN revision: 35979
2008-09-13 21:19:22 +00:00
doursse 6aba69be2f * configure.ac:
* src/lib/Evil.h:
* src/lib/Makefile.am:
* src/lib/evil.c:
* src/lib/pwd/Makefile.am:
* src/lib/pwd/pwd.h:
add langinfo and getpwuid support
* src/lib/mman/sys/mman.h:
* src/lib/dlfcn/dlfcn.h:
fix comment


SVN revision: 34942
2008-06-29 12:09:48 +00:00
doursse ef5ef75eab * configure.ac:
* src/lib/dlfcn/dlfcn.h:
* src/lib/mman/sys/mman.h:
define EFL_EVIL_MMAN_BUILD and EFL_EVIL_DLFCN_BUILD so
that functions in Evil.h are not declared as import
* src/lib/evil.c: (setenv), (unsetenv), (realpath),
(evil_sockets_init), (evil_sockets_shutdown), (evil_pipe),
(evil_tmpdir_get), (evil_homedir_get):
rename pipe() to evil_pipe().
set tmpdir to "Temp" and homedir to "My Documents" on WinCE
* src/lib/Evil.h:
define pipe() as evil_pipe(). This allow to use our pipe()
implementation to be usedwith cegcc, as it is broken on that
platform.
move the defines at the end of the file


SVN revision: 34787
2008-06-10 07:16:53 +00:00
doursse 21f0fdb18f * configure.ac:
* src/bin/Makefile.am:
* src/lib/Makefile.am:
* src/lib/dlfcn/Makefile.am:
* src/lib/mman/Makefile.am:
use -Wl,--enable-auto-import with cegcc
fix warning with newest autoconf
* src/lib/dlfcn/dlfcn.c: (string_to_wchar):
include wchar.h and fix warnings
* src/lib/mman/mman.c:
use relative path to include sys/mman.h


SVN revision: 34348
2008-04-22 22:53:54 +00:00
doursse 743cff2ced Fix dlopen for cegcc and minor fix and doc:
* INSTALL:
* README:
additional notes for compilations with cegcc or mingw32ce

* configure.ac:
use 'win32' instead of 'cegcc' or 'mingw'

* src/lib/dlfcn/dlfcn.c (dlopen):
cegcc does not support LOAD_WITH_ALTERED_SEARCH_PATH.
Use LoadLibrary instead of LoadLibraryEx in that case.


SVN revision: 34014
2008-03-13 17:46:53 +00:00
doursse ff821bdc93 fix compilation with cegcc and minor fixing
* COPYING:
copyright update

* configure.ac:
* src/lib/Evil.h:
* src/lib/dlfcn/dlfcn.h:
* src/lib/mman/sys/mman.h:
define EFL_EVIL_BUILD in config.h for managing correctly EAPI

* src/bin/test_pipe.c:
stdio.h is needed after winsock2.h for mingw32ce

* src/lib/dlfcn/dlfcn.c (get_last_error), (dlopen), (dlsym):
* src/lib/evil.c:
fix some heafer files inclusion on cegc platform.
first step of mingw32ce support

* src/lib/mman/mman.c:
define _get_osfhandle for mingw32ce


SVN revision: 33934
2008-03-05 09:19:38 +00:00
doursse a5d43225dc Here is the Evil library, which provides, for the Windows platform (XP or Mobile), a set of Unix functions used in the EFL and which do not exist on that evil platform
SVN revision: 33862
2008-02-27 21:01:30 +00:00