2 Fri Mar 29 17:15:11 CET 2002 Paolo Molaro <lupus@ximian.com>
4 * io.c: EEXISTS is ignored for directory creation.
5 * mono-mutex.h: remove silly "pragma }" that emacs users insert
6 because they use a broken editor:-)
8 2002-03-28 Dick Porter <dick@ximian.com>
14 * handles.c: Warning cleanups
16 2002-03-27 Dan Lewis <dihlewis@yahoo.co.uk>
18 * unicode.h, unicode.c: changed to gunichar2
19 * io.h, io.c: changed strings to gunichar2*, added
20 SetFileAttributes(), GetCurrentDirectory(), SetCurrentDirectory(),
21 some fixes to FindFirstFile() and friends.
23 2002-03-26 Dick Porter <dick@ximian.com>
25 * types.h: Implement the large integer struct
28 * timefuncs.c: Dummy functions that don't yet implement
29 QueryPerformanceCounter() and QueryPerformanceFrequency()
32 * threads.c: Implement SleepEx()
35 * system.c: Beginnings of GetSystemInfo()
37 * mono-mutex.c (pthread_mutex_timedlock): Fix a ms/ns conversion
41 * context.c: Dummy function that doesnt yet implement
45 * atomic.c: Interlocked functions
47 Mon Mar 25 13:01:40 CET 2002 Paolo Molaro <lupus@ximian.com>
49 * threads.c: use a gc-safe hash table to store tls pointers.
51 2002-03-22 Dick Porter <dick@ximian.com>
53 * threads.c: Fix a race condition where a thread can start and
54 exit before the handle has been properly initialised (no reason
55 why the handle couldn't be initialised beforehand, so do so)
57 Fix a ms to ns conversion magnitude thinko.
59 2002-03-21 Dick Porter <dick@ximian.com>
61 * semaphores.c: Fix a problem when waiting for one or more
62 semaphores, and another semaphore is Released (all waiting
63 semaphores assumed they were signalled)
65 2002-03-29 Dan Lewis <dihlewis@yahoo.co.uk>
67 * io.h, io.c, uglify.h: added MoveFile, CopyFile, CreateDirectory,
68 RemoveDirectory, GetFileAttributes, GetFileAttributesEx
70 2002-03-19 Dietmar Maurer <dietmar@ximian.com>
72 * threads.c (Sleep): bug fix: 1ms == 1000000ns
74 2002-03-19 Dan Lewis <dihlewis@yahoo.co.uk>
76 * io.h, io.c, events.c, mutexes.c, semaphores.c, sockets.c,
77 threads.c, io.c: added flush method to handles.
79 * io.c: FlushFileBuffers() and FindFirstFile() functions.
81 Thu Mar 7 17:21:52 CET 2002 Paolo Molaro <lupus@ximian.com>
83 * threads.c, timed-thread.c, wait.c: Boehm-GC anable.
85 2002-02-20 Dick Porter <dick@ximian.com>
87 * io-layer.h: Always build without cygwin support on windows
89 Mon Feb 18 15:50:59 CET 2002 Paolo Molaro <lupus@ximian.com>
91 * sockets.c: #undef DEBUG.
93 2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
95 * io-layer.h: conditionally include sys/filio.h and sys/sockio.h
96 for FIONBIO, FIONREAD, and SIOCATMARK.
98 2002-02-14 Jeffrey Stedfast <fejj@ximian.com>
100 * sockets.c: conditionally include sys/filio.h and sys/sockio.h
101 for FIONBIO, FIONREAD, and SIOCATMARK.
103 2002-02-13 Dick Porter <dick@ximian.com>
105 * sockets.c: Implement shutdown and select
107 2002-02-13 Jeffrey Stedfast <fejj@ximian.com>
109 * mono-mutex.[c,h]: New source files that thinly wrap all pthread
110 functions that take pthread_mutex_t and/or pthread_mutexattr_t
111 arguments for the sake of portability. Implements recursive
112 mutexes and pthread_mutex_timedlock.
114 * critical-sections.c:
121 * wait.c: Use the mono-mutex wrapper portability functions/macros.
123 * pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]
125 2002-01-23 Dick Porter <dick@ximian.com>
127 * sockets.c: Networking support, mostly wrapping BSD socket APIs
128 with handle code, and translating errno into w32 error codes.
130 * macros.h: Some w32 macros used with the socket support
132 * error.c: Implemented GetLastError() and SetLastError()
134 * Makefile.am: Added sockets, with kludge to override some symbols
136 2001-12-17 Dietmar Maurer <dietmar@ximian.com>
138 * unicode.c (_wapi_unicode_to_utf8): byteswap UTF16 strings before
139 passing them to iconv
140 (_wapi_unicode_to_utf8): only swap bytes on LE systems, remove bug
141 from previous commit.
143 2001-12-11 Dick Porter <dick@ximian.com>
145 * io.c: Implement DeleteFile(), GetFileTime(), SetFileTime() and
146 FileTimeToSystemTime().
148 * unicode.c (unicode_len): Nasty way of finding length of unicode
149 string with embedded NULLs (counts until two NULLs together).
151 * mutexes.c (mutex_close):
152 * events.c (event_close): Release the internal pthreads resources
154 2001-11-26 Dick Porter <dick@ximian.com>
156 * critical-sections.c:
164 * wait.c: turn off DEBUG messages
166 2001-11-22 Dick Porter <dick@ximian.com>
168 * handles.c (SignalObjectAndWait): Implement
170 * wait.c (WaitForSingleObject): Fix case where timeout == 0
176 * events.c: Support for SignalObjectAndWait
178 2001-11-21 Dick Porter <dick@ximian.com>
185 * wait.c: Reliable method of returning which handle was signalled
186 on return from WaitForMultipleObjects().
188 2001-11-21 Dick Porter <dick@ximian.com>
190 * events.c: Implement events
192 2001-11-15 Dick Porter <dick@ximian.com>
194 * mutexes.c: Implement mutexes
198 * misc.c: Factor out some common code
200 2001-11-13 Dick Porter <dick@ximian.com>
202 * threads.c: Implement TLS. Implement GetCurrentThreadId(), and
203 GetCurrentThread() by maintaining a hash of thread handles.
205 * threads.h: Define thread and process creation flags
207 2001-11-12 Dick Porter <dick@ximian.com>
209 * critical-sections.c: Implement critical sections
211 2001-11-12 Dick Porter <dick@ximian.com>
213 * semaphores.c: Implement semaphores
215 * wait.c (wait_for_item): Maintain a wait count rather than count
218 * threads.c (thread_wait_multiple): Don't lock the wait item, that
219 will block other wait threads
221 2001-11-11 Dick Porter <dick@ximian.com>
223 * Makefile.am: Rename some automake variables
224 (from Nick Drochak <ndrochak@gol.com>)
226 2001-11-10 Dick Porter <dick@ximian.com>
228 * Makefile.am (libwapiincludedir): Fix include destination
230 * .cvsignore: Ignore generated files
232 2001-11-10 Dietmar Maurer <dietmar@ximian.com>
234 * pthread-compat.c: added some include files to make it compile on
237 2001-11-08 Dick Porter <dick@ximian.com>
241 This is a library emulating the win32 threading and IO API.