Fix a potential leak.
[evas_quartz.git] / proto / evil / ChangeLog
blobd47bbf6f4c269b5dcc049d2de05ad2251df1cfe6
1 2008-07-13  Vincent Torri  <doursse at users dot sf dot net>
3         * src/lib/Evil.h:
4         declare pid_t, ssize_t and mode_t for vc++ before flock
5         structure (vc++)
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>
15         * src/lib/Evil.h:
16         uid_t and gid_t exist on cegcc
18 2008-06-29  Vincent Torri  <doursse at users dot sf dot net>
20         * configure.ac:
21         * src/lib/Evil.h:
22         * src/lib/Makefile.am:
23         * src/lib/evil.c:
24         * src/lib/pwd/Makefile.am:
25         * src/lib/pwd/pwd.h:
26         add langinfo and getpwuid support
28         * src/lib/mman/sys/mman.h:
29         * src/lib/dlfcn/dlfcn.h:
30         fix comment
32 2008-06-11  Vincent Torri  <doursse at users dot sf dot net>
34         * src/lib/Evil.h:
35         add defines for vc++. Thanks to Dmitriy Mazovka
37 2008-06-10  Vincent Torri  <doursse at users dot sf dot net>
39         * configure.ac:
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
51         * src/lib/Evil.h:
52         define pipe() as evil_pipe(). This allow to use our pipe()
53         implementation to be usedwith cegcc, as it is broken on that
54         platform.
55         move the defines at the end of the file
57 2008-06-09  Vincent Torri  <doursse at users dot sf dot net>
59         * src/lib/Evil.h:
60         add strdup define
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>
71         * src/lib/Evil.h:
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),
77         (dladdr):
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
84         the data.
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>
93         * src/lib/Evil.h:
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>
102         * src/lib/Evil.h:
103         add PATH_MAX macro
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>
110         * src/lib/Evil.h:
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>
116         * src/lib/Evil.h:
117         * src/lib/evil.c:
118         add open with several arguments
119         add getcwd, lstat, setenv, unsetenv and evil_homedir_get.
120         typo in doc
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>
140         * src/lib/Evil.h:
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>
151         * src/lib/Evil.h:
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
158         Remove unused define
160         * src/lib/mman/sys/mman.h:
161         remove unused define
163 2008-04-26  Vincent Torri  <doursse at users dot sf dot net>
165         * src/lib/Evil.h:
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:
173         add cegcc flags
175         * src/lib/mman/mman.c:
176         move include
178 2008-04-23  Vincent Torri  <doursse at users dot sf dot net>
180         * configure.ac:
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>
196         * src/lib/Evil.h:
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>
204         * src/lib/Evil.h:
205         add POSIX definitions
207         * src/lib/evil.c:
208         make realpath available with cegcc. The function
209         just copy the file name to the resolved name with
210         that compiler
212 2008-03-13  Vincent Torri  <doursse at users dot sf dot net>
214         * INSTALL:
215         * README:
216         additional notes for compilations with cegcc or mingw32ce
218         * configure.ac:
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>
227         * src/lib/Evil.h:
228         * src/lib/evil.c:
229         cegcc or mingwce32 does not like relative path,
230         so _fullpath or other similar function do not exist
231         on Winodws mobile.
233         * src/lib/mman/mman.c:
234         missing #
236 2008-03-05  Vincent Torri  <doursse at users dot sf dot net>
238         fix compilation with cegcc and minor fixing
240         * COPYING:
241         copyright update
243         * configure.ac:
244         * src/lib/Evil.h:
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):
253         * src/lib/evil.c:
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>
262         * COPYING:
263         * COPYING-PLAIN:
264         * Makefile.am:
265         update the COPYING file
267 2008-02-29  Vincent Torri  <doursse at users dot sf dot net>
269         * AUTHORS:
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):
277         change output
279         * src/lib/Evil.h:
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>
291         * initial release