Vincent Torri
3ece862b75
* src/lib/Evil.h:
...
* src/lib/Makefile.am:
* src/lib/evil_macro.h:
* src/lib/evil_print.h:
* src/lib/evil_macro_pop.h (added):
Undef __cdecl if it has been defined by Evil and
move some defined macro to evil_macro_pop.h
* src/lib/evil_unistd.c:
* src/lib/evil_unistd.h:
Define gettimeofday() only for vc++ as MinGW-w64
already defines it.
SVN revision: 68117
2012-02-18 18:11:10 +00:00
Vincent Torri
7edbacad08
forgot NEWS file
...
SVN revision: 68089
2012-02-17 20:55:25 +00:00
Vincent Torri
b9728980ab
* AUTHORS:
...
* src/lib/Evil.h:
* src/lib/Makefile.am:
* src/lib/evil_inet.c:
* src/lib/evil_mman.c:
* src/lib/evil_stdio.c:
* src/lib/evil_stdio.h:
* src/lib/evil_stdlib.c:
* src/lib/evil_util.c:
* src/lib/sys/mman.h:
* src/lib/evil_printa.c (added):
* src/lib/evil_pformatw.c (added):
* src/lib/evil_pformat.h (added):
* src/lib/evil_printw.c (added):
* src/lib/evil_print.h (added):
* src/lib/evil_macro.h (added):
* src/lib/evil_pformata.c (added):
Add POSIX printf family. Code taken from the MinGW-w64
project and modified to be integrated into Evil.
* src/bin/Makefile.am:
* src/bin/evil_suite.c:
* src/bin/evil_test_util.h (added):
* src/bin/evil_test_print.c (added):
* src/bin/evil_test_print.h (added):
* src/bin/evil_test_util.c (added):
Add util and printf unit tests
* src/lib/evil_errno.c:
* src/lib/errno.h (deleted):
* src/lib/mingw32ce (added):
* src/lib/mingw32ce/errno.h (added):
Move errno.h for Windows CE in its own directory to
suppress conflicts with standard errno.h when compiling
for Windows XP.
* src/lib/dlfcn/dlfcn.c:
* src/lib/evil_link_ce.c:
* src/lib/evil_main.c:
* src/lib/evil_unistd.c:
Define WIN32_LEAN_AND_MEAN only if it's not defined.
* src/lib/evil_fcntl.c:
Remove debug.
* 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:
Remove warnings.
* src/lib/evil_link_xp.cpp:
Formatting.
SVN revision: 68084
2012-02-17 20:48:11 +00:00
Vincent Torri
1c6ea6ff65
* Makefile.am:
...
Fix EXTRA_DIST variable
* src/bin/Makefile.am:
* src/bin/evil_suite.c:
* src/lib/evil_libgen.c:
* src/lib/evil_util.c:
* src/lib/evil_util.h:
Add evil_path_is_absolute() API and use it.
* src/bin/evil_test_dlfcn.c:
* src/bin/evil_test_realpath.c:
clean up.
SVN revision: 67389
2012-01-20 12:44:05 +00:00
Vincent Torri
e5cbe13992
Release Version 1.0.0.
...
* NEWS: Mention the release.
SVN revision: 65829
2011-12-02 18:00:12 +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
e54c2c56be
* src/lib/Evil.h:
...
clean main page
SVN revision: 65106
2011-11-12 22:37:11 +00:00
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
c664467025
* src/lib/evil_util.c:
...
* src/lib/evil_util.h:
Add evil_utf16_to_utf8() function, display error messages
and fix a bit the documentation of the other conversion
functions.
SVN revision: 64636
2011-11-02 07:22:11 +00:00
Vincent Torri
3859b0ea96
Evil: simplify evil_wchar_to_char()
...
SVN revision: 64023
2011-10-12 18:50:11 +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
2c6a86fb6d
Evil: add inet_ntop function from c-ares
...
* src/lib/evil_inet.c:
* src/lib/evil_inet.h:
* AUTHORS:
add inet_ntop() function. Implementation from c-ares library.
See AUTHORS.
SVN revision: 63843
2011-10-05 20:23:24 +00:00
Vincent Torri
585938123d
Evil: add RTLD_DEFAULT support for dlsym()
...
SVN revision: 63373
2011-09-14 07:44:09 +00:00
Vincent Torri
dc12586bdd
revert last commit of mkstemp (remove _O_TEMPORARY flag in open())
...
SVN revision: 61417
2011-07-16 07:14:42 +00:00
Vincent Torri
43955a6d53
Evil:
...
* src/lib/dlfcn/dlfcn.c:
change '/' to '\' in paths
* src/lib/evil_inet.c:
* src/lib/evil_inet.h:
* src/lib/Evil.h:
* src/lib/Makefile.am:
* AUTHORS:
add inet_pton() function. Implementation from curl library.
See AUTHORS.
SVN revision: 59530
2011-05-19 12:00:06 +00:00
Vincent Torri
33eacca871
Evil: evil_stdlib.c
...
fix mkstemp() which didn't remove the file when the last
file descriptor was closed
SVN revision: 58274
2011-04-02 12:29:32 +00:00
Vincent Torri
c8a27bcc42
* configure.ac:
...
force libtool >= 2.4
SVN revision: 57354
2011-02-27 09:06:04 +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
4bc3bb0962
* src/lib/evil_unistd.c:
...
* src/lib/evil_unistd.h:
declare and define getpid() for Windows CE.
SVN revision: 55854
2011-01-04 18:52:28 +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
Vincent Torri
741aaf1016
fix segmentation fault in basename() and dirname()
...
SVN revision: 55632
2010-12-18 18:30:32 +00:00
Vincent Torri
4e50c40cb0
use _tzset instead of tzset with vc++
...
SVN revision: 55631
2010-12-18 17:37:50 +00:00
Vincent Torri
0fe21742f6
add dirname() function
...
SVN revision: 55530
2010-12-13 05:20:56 +00:00
Vincent Torri
562d84c432
add usleep() for vc++
...
SVN revision: 55525
2010-12-12 22:44:06 +00:00
Vincent Torri
4fb7d6e26b
fix warning
...
SVN revision: 55472
2010-12-10 23:45:29 +00:00
Vincent Torri
66b9ed8926
* src/lib/Evil.h:
...
* src/lib/evil_string.h:
Fix doxygen documentation
SVN revision: 54220
2010-11-06 07:10:12 +00:00
Vincent Torri
a2a90c6131
* src/lib/Evil.h:
...
define offsetof for Windows CE
SVN revision: 53982
2010-10-29 08:37:25 +00:00
Vincent Torri
38f3d012d6
[evil] use our own dirent structure and implementation instead of
...
mingw one.
SVN revision: 53773
2010-10-22 16:47:28 +00:00
Vincent Torri
70622ee748
* src/lib/Makefile.am:
...
* src/lib/Evil.h:
* src/lib/evil_time.c:
* src/lib/evil_time.h:
add locatime_r() for calendar in Elementary.
SVN revision: 52263
2010-09-14 21:24:25 +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
5120168d52
* src/lib/Evil.h:
...
mkdir() does not accept 2 arguments.
Define hypot to remove huge amount of warnings in
Evas withvc++
SVN revision: 47739
2010-04-03 19:06:20 +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
361446fafe
* src/lib/evil_string.c:
...
* src/lib/evil_string.h:
add strcasecmp wrapper for vc++
SVN revision: 47485
2010-03-26 08:05:02 +00:00
Vincent Torri
9793cb0681
tzset is also defined with vc++...
...
SVN revision: 47152
2010-03-12 06:34:18 +00:00
Vincent Torri
9c6bbb6f58
update vcproj files wrt evil_time.c removal
...
SVN revision: 47151
2010-03-12 06:21:05 +00:00
Vincent Torri
a64d92ba6f
* src/lib/Makefile.am:
...
* src/lib/evil_time.c (deleted):
remove evil_time.c as tzset is defined with mingw
and as _tzset is defined with vc++
* src/lib/Evil.h:
* src/lib/dlfcn/dlfcn.c:
* src/lib/dlfcn/dlfcn.h:
remove __CEGCC__ occurences
SVN revision: 47150
2010-03-12 06:16:41 +00:00
Vincent Torri
e3badfbb2e
* win32/vs8/libdlfcn.vcproj:
...
* win32/vs9/libdlfcn.vcproj:
set supported Windows minimal version
SVN revision: 47138
2010-03-11 18:53:56 +00:00
Vincent Torri
3ef3435fed
* src/lib/Evil.h:
...
actually, ssize_t is defined with all mingw versions
but not with vc++. So move it in vc++ part of Evil.h
SVN revision: 47137
2010-03-11 18:49:11 +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
a8180883bb
update ChangeLog
...
SVN revision: 46640
2010-02-28 07:58:39 +00:00
Vincent Torri
5f5973c6c2
* src/lib/evil_unistd.c:
...
fix gettimeofday(). Thanks to Mathieu SCHROETER,
from the GeexBox project, for having spotted this.
SVN revision: 46116
2010-02-12 16:03:08 +00:00
Vincent Torri
65d13f2085
* src/lib/evil_fcntl.c:
...
verify that the data passed to fcntl() is really a socket
and fix ioctlsocket() returned value check.
* src/bin/Makefile.am:
* src/bin/evil_suite.c:
add unit test for pipe().
SVN revision: 45736
2010-01-30 19:55:45 +00:00
Vincent Torri
e49ce78f00
* src/lib/Evil.h:
...
change again the redefinition of open(). Needed
for the gif loader. But the compilation with vc++
is certainly broken. Will be fixed later with a specific
case for vc++.
SVN revision: 45725
2010-01-30 00:28:11 +00:00
Vincent Torri
7a09cb73a6
* src/lib/evil_fcntl.c:
...
* src/lib/evil_fcntl.h:
fix fcntl() with F_SETFL command
SVN revision: 45723
2010-01-30 00:03:47 +00:00
Vincent Torri
29db27970c
* src/lib/evil_fcntl.c:
...
* src/lib/evil_fcntl.h:
* src/lib/evil_unistd.c:
make pipe() blocking by default and allow fcntl()
to set a socket to be non-blocking
* src/lib/evil_stdlib.c:
fix warning
SVN revision: 45698
2010-01-29 09:34:26 +00:00
Vincent Torri
3697aa349d
* src/lib/dlfcn/dlfcn.c:
...
Fix dladdr() on Windows CE: use the calling process
address to get the path.
SVN revision: 45325
2010-01-19 13:46:45 +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