1 2008-07-13 Vincent Torri <doursse at users dot sf dot net>
4 declare pid_t, ssize_t and mode_t for vc++ before flock
6 * src/lib/dlfcn/dlfcn.h:
7 include limits.h for vc++
9 * src/lib/evil.c: (symlink), (readlink):
10 use UNICODE instead of checking the OS. Use PATH_MAX instead
11 of MB_CUR_MAX when needed
13 2008-07-03 Vincent Torri <doursse at users dot sf dot net>
16 uid_t and gid_t exist on cegcc
18 2008-06-29 Vincent Torri <doursse at users dot sf dot net>
22 * src/lib/Makefile.am:
24 * src/lib/pwd/Makefile.am:
26 add langinfo and getpwuid support
28 * src/lib/mman/sys/mman.h:
29 * src/lib/dlfcn/dlfcn.h:
32 2008-06-11 Vincent Torri <doursse at users dot sf dot net>
35 add defines for vc++. Thanks to Dmitriy Mazovka
37 2008-06-10 Vincent Torri <doursse at users dot sf dot net>
40 * src/lib/dlfcn/dlfcn.h:
41 * src/lib/mman/sys/mman.h:
42 define EFL_EVIL_MMAN_BUILD and EFL_EVIL_DLFCN_BUILD so
43 that functions in Evil.h are not declared as import
45 * src/lib/evil.c: (setenv), (unsetenv), (realpath),
46 (evil_sockets_init), (evil_sockets_shutdown), (evil_pipe),
47 (evil_tmpdir_get), (evil_homedir_get):
48 rename pipe() to evil_pipe().
49 set tmpdir to "Temp" and homedir to "My Documents" on WinCE
52 define pipe() as evil_pipe(). This allow to use our pipe()
53 implementation to be usedwith cegcc, as it is broken on that
55 move the defines at the end of the file
57 2008-06-09 Vincent Torri <doursse at users dot sf dot net>
62 * src/lib/evil.c: (evil_tmpdir_get), (evil_homedir_get):
63 include stdlib.h to define MB_CUR_MAX
64 On Windows CE, tmpdir and homedir are defined as "\windows"
66 * src/lib/mman/mman.c: (mmap), (munmap):
67 compile the big fat hack of mmap only on Windows CE
69 2008-06-08 Vincent Torri <doursse at users dot sf dot net>
72 * src/lib/evil.c: (evil_last_error_get):
73 add evil_last_error_get() function to get
74 useful error string creation.
76 * src/lib/dlfcn/dlfcn.c: (get_last_error), (dlopen), (dlsym),
78 use UNICODE check instead of compiler checks when needed.
79 use evil_last_error_get()
81 * src/lib/mman/mman.c: (mmap), (munmap):
82 file mapping does not work on Windows CE < 5.0.
83 if it is the case, just read the file and return
85 use evil_last_error_get()
87 * src/lib/mman/Makefile.am:
88 * src/lib/Makefile.am:
89 add libevil dependancy
91 2008-06-07 Vincent Torri <doursse at users dot sf dot net>
94 include windows.h instead of windef.h
95 undefine PATH_MATH before defining it
97 * src/lib/dlfcn/dlfcn.c:
98 remove useless header file
100 2008-06-06 Vincent Torri <doursse at users dot sf dot net>
105 * src/lib/dlfcn/dlfcn.c: (get_last_error):
106 free correctly strings
108 2008-06-02 Vincent Torri <doursse at users dot sf dot net>
111 * src/lib/evil.c: (setenv), (unsetenv):
112 setenv and unsetenv are already defined with cegcc
114 2008-06-01 Vincent Torri <doursse at users dot sf dot net>
118 add open with several arguments
119 add getcwd, lstat, setenv, unsetenv and evil_homedir_get.
122 2008-06-01 Vincent Torri <doursse at users dot sf dot net>
124 * src/lib/dlfcn/dlfcn.c:
125 memory leak with cegcc
127 * src/lib/dlfcn/dlfcn.h:
128 include limits.h for MinGW users
130 * src/lib/mman/sys/mman.h:
131 add MAP_FAILED error value
133 2008-05-20 Vincent Torri <doursse at users dot sf dot net>
135 * src/lib/dlfcn/dlfcn.h:
136 dli_fname ncorrectly declared. Thanks to Dmitriy Mazovka.
138 2008-05-11 Vincent Torri <doursse at users dot sf dot net>
141 * src/lib/evil.c (getpid):
142 add wrapper around GetCurrentProcessId()
144 2008-05-10 Vincent Torri <doursse at users dot sf dot net>
146 * src/lib/dlfcn/dlfcn.c: (dladdr):
147 replace all the '\' by '/' in the filename found by dladdr
149 2008-04-28 Vincent Torri <doursse at users dot sf dot net>
152 * src/lib/evil.c: (evil_getcwd):
153 add getcwd-like function
155 * src/lib/dlfcn/dlfcn.c: (dladdr):
156 * src/lib/dlfcn/dlfcn.h:
157 add dladdr-like function. Formatting
160 * src/lib/mman/sys/mman.h:
163 2008-04-26 Vincent Torri <doursse at users dot sf dot net>
166 * src/lib/Makefile.am:
167 * src/lib/dlfcn/Makefile.am:
168 * src/lib/dlfcn/dlfcn.c: (get_last_error), (dlopen), (dlsym):
169 * src/lib/evil.c: (evil_char_to_wchar), (evil_wchar_to_char):
170 make char <--> wchar_t conversion functions public
172 * src/lib/mman/Makefile.am:
175 * src/lib/mman/mman.c:
178 2008-04-23 Vincent Torri <doursse at users dot sf dot net>
181 * src/bin/Makefile.am:
182 * src/lib/Makefile.am:
183 * src/lib/dlfcn/Makefile.am:
184 * src/lib/mman/Makefile.am:
185 use -Wl,--enable-auto-import with cegcc
186 fix warning with newest autoconf
188 * src/lib/dlfcn/dlfcn.c: (string_to_wchar):
189 include wchar.h and fix warnings
191 * src/lib/mman/mman.c:
192 use relative path to include sys/mman.h
194 2008-03-28 Vincent Torri <doursse at users dot sf dot net>
197 remove the stat structure and add guards
199 * src/lib/dlfcn/dlfcn.c:
200 include limits.h also for the cegcc compiler
202 2008-03-23 Vincent Torri <doursse at users dot sf dot net>
205 add POSIX definitions
208 make realpath available with cegcc. The function
209 just copy the file name to the resolved name with
212 2008-03-13 Vincent Torri <doursse at users dot sf dot net>
216 additional notes for compilations with cegcc or mingw32ce
219 use 'win32' instead of 'cegcc' or 'mingw'
221 * src/lib/dlfcn/dlfcn.c (dlopen):
222 cegcc does not support LOAD_WITH_ALTERED_SEARCH_PATH.
223 Use LoadLibrary instead of LoadLibraryEx in that case.
225 2008-03-05 Vincent Torri <doursse at users dot sf dot net>
229 cegcc or mingwce32 does not like relative path,
230 so _fullpath or other similar function do not exist
233 * src/lib/mman/mman.c:
236 2008-03-05 Vincent Torri <doursse at users dot sf dot net>
238 fix compilation with cegcc and minor fixing
245 * src/lib/dlfcn/dlfcn.h:
246 * src/lib/mman/sys/mman.h:
247 define EFL_EVIL_BUILD in config.h for managing correctly EAPI
249 * src/bin/test_pipe.c:
250 stdio.h is needed after winsock2.h for mingw32ce
252 * src/lib/dlfcn/dlfcn.c (get_last_error), (dlopen), (dlsym):
254 fix some heafer files inclusion on cegc platform.
255 first step of mingw32ce support
257 * src/lib/mman/mman.c:
258 define _get_osfhandle for mingw32ce
260 2008-03-03 Vincent Torri <doursse at users dot sf dot net>
265 update the COPYING file
267 2008-02-29 Vincent Torri <doursse at users dot sf dot net>
270 Add Tor Lillqvist as author as he kindly gave me
271 the right to use his code for pipe(). Thanks a lot !
273 * src/bin/test_dlfcn.c (main):
274 read module and symbol from command line
276 * src/bin/test_pipe.c (thread), (main):
280 * src/lib/dlfcn/dlfcn.h:
281 * src/lib/evil.c (mkstemp), (realpath), (evil_sockets_init),
282 (evil_sockets_shutdown):
283 * src/lib/mman/sys/mman.h:
284 update documentation, add unlink() function, realpath()
285 becomes a function instead of a macro, add functions to
286 init / shutdown the socket system of Windows, undef EAPI
287 at the end of each header files.
289 2008-02-27 Vincent Torri <doursse at users dot sf dot net>