Fri Mar 29 17:15:11 CET 2002 Paolo Molaro <lupus@ximian.com>
[mono.git] / mono / io-layer / ChangeLog
1
2 Fri Mar 29 17:15:11 CET 2002 Paolo Molaro <lupus@ximian.com>
3
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:-)
7
8 2002-03-28  Dick Porter  <dick@ximian.com>
9
10         * sockets.h: 
11         * sockets.c: 
12         * io.c: 
13         * handles.h: 
14         * handles.c: Warning cleanups
15
16 2002-03-27  Dan Lewis <dihlewis@yahoo.co.uk>
17
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.
22
23 2002-03-26  Dick Porter  <dick@ximian.com>
24
25         * types.h: Implement the large integer struct
26
27         * timefuncs.h:
28         * timefuncs.c: Dummy functions that don't yet implement
29         QueryPerformanceCounter() and QueryPerformanceFrequency()
30
31         * threads.h:
32         * threads.c: Implement SleepEx()
33
34         * system.h:
35         * system.c: Beginnings of GetSystemInfo()
36
37         * mono-mutex.c (pthread_mutex_timedlock): Fix a ms/ns conversion
38         thinko
39
40         * context.h:
41         * context.c: Dummy function that doesnt yet implement
42         GetThreadContext()
43
44         * atomic.h: 
45         * atomic.c: Interlocked functions
46
47 Mon Mar 25 13:01:40 CET 2002 Paolo Molaro <lupus@ximian.com>
48
49         * threads.c: use a gc-safe hash table to store tls pointers.
50
51 2002-03-22  Dick Porter  <dick@ximian.com>
52
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)
56
57         Fix a ms to ns conversion magnitude thinko.
58
59 2002-03-21  Dick Porter  <dick@ximian.com>
60
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)
64
65 2002-03-29  Dan Lewis <dihlewis@yahoo.co.uk>
66
67         * io.h, io.c, uglify.h: added MoveFile, CopyFile, CreateDirectory,
68         RemoveDirectory, GetFileAttributes, GetFileAttributesEx
69
70 2002-03-19  Dietmar Maurer  <dietmar@ximian.com>
71
72         * threads.c (Sleep): bug fix: 1ms == 1000000ns
73
74 2002-03-19  Dan Lewis <dihlewis@yahoo.co.uk>
75
76         * io.h, io.c, events.c, mutexes.c, semaphores.c, sockets.c,
77         threads.c, io.c: added flush method to handles.
78
79         * io.c: FlushFileBuffers() and FindFirstFile() functions.
80
81 Thu Mar 7 17:21:52 CET 2002 Paolo Molaro <lupus@ximian.com>
82
83         * threads.c, timed-thread.c, wait.c: Boehm-GC anable.
84
85 2002-02-20  Dick Porter  <dick@ximian.com>
86
87         * io-layer.h: Always build without cygwin support on windows
88
89 Mon Feb 18 15:50:59 CET 2002 Paolo Molaro <lupus@ximian.com>
90
91         * sockets.c: #undef DEBUG.
92
93 2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>
94
95         * io-layer.h: conditionally include sys/filio.h and sys/sockio.h
96         for FIONBIO, FIONREAD, and SIOCATMARK.
97
98 2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>
99
100         * sockets.c: conditionally include sys/filio.h and sys/sockio.h
101         for FIONBIO, FIONREAD, and SIOCATMARK.
102
103 2002-02-13  Dick Porter  <dick@ximian.com>
104
105         * sockets.c: Implement shutdown and select
106
107 2002-02-13  Jeffrey Stedfast  <fejj@ximian.com>
108
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.
113
114         * critical-sections.c:
115         * events.c:
116         * handles.c:
117         * mutexes.c:
118         * semaphores.c:
119         * threads.c:
120         * timed-thread.c:
121         * wait.c: Use the mono-mutex wrapper portability functions/macros.
122
123         * pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]
124
125 2002-01-23  Dick Porter  <dick@ximian.com>
126
127         * sockets.c: Networking support, mostly wrapping BSD socket APIs
128         with handle code, and translating errno into w32 error codes.
129
130         * macros.h: Some w32 macros used with the socket support
131
132         * error.c: Implemented GetLastError() and SetLastError()
133
134         * Makefile.am: Added sockets, with kludge to override some symbols
135
136 2001-12-17  Dietmar Maurer  <dietmar@ximian.com>
137
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.
142
143 2001-12-11  Dick Porter  <dick@ximian.com>
144
145         * io.c: Implement DeleteFile(), GetFileTime(), SetFileTime() and
146         FileTimeToSystemTime().
147
148         * unicode.c (unicode_len): Nasty way of finding length of unicode
149         string with embedded NULLs (counts until two NULLs together).
150
151         * mutexes.c (mutex_close): 
152         * events.c (event_close): Release the internal pthreads resources
153
154 2001-11-26  Dick Porter  <dick@ximian.com>
155
156         * critical-sections.c:
157         * events.c:
158         * handles.c:
159         * io.c:
160         * mutexes.c:
161         * semaphores.c:
162         * threads.c:
163         * timed-thread.c:
164         * wait.c: turn off DEBUG messages
165
166 2001-11-22  Dick Porter  <dick@ximian.com>
167
168         * handles.c (SignalObjectAndWait): Implement
169
170         * wait.c (WaitForSingleObject): Fix case where timeout == 0
171
172         * threads.c:
173         * semaphores.c:
174         * mutexes.c:
175         * io.c:
176         * events.c: Support for SignalObjectAndWait
177         
178 2001-11-21  Dick Porter  <dick@ximian.com>
179
180         * events.c:
181         * handles.c:
182         * mutexes.c:
183         * semaphores.c:
184         * threads.c:
185         * wait.c: Reliable method of returning which handle was signalled
186         on return from WaitForMultipleObjects().
187
188 2001-11-21  Dick Porter  <dick@ximian.com>
189
190         * events.c: Implement events
191
192 2001-11-15  Dick Porter  <dick@ximian.com>
193
194         * mutexes.c: Implement mutexes
195
196         * threads.c: 
197         * semaphores.c: 
198         * misc.c: Factor out some common code
199
200 2001-11-13  Dick Porter  <dick@ximian.com>
201
202         * threads.c: Implement TLS.  Implement GetCurrentThreadId(), and
203         GetCurrentThread() by maintaining a hash of thread handles.
204
205         * threads.h: Define thread and process creation flags
206
207 2001-11-12  Dick Porter  <dick@ximian.com>
208
209         * critical-sections.c: Implement critical sections
210
211 2001-11-12  Dick Porter  <dick@ximian.com>
212
213         * semaphores.c: Implement semaphores
214
215         * wait.c (wait_for_item): Maintain a wait count rather than count
216         signalled booleans.
217
218         * threads.c (thread_wait_multiple): Don't lock the wait item, that
219         will block other wait threads
220
221 2001-11-11  Dick Porter  <dick@ximian.com>
222
223         * Makefile.am: Rename some automake variables
224         (from Nick Drochak <ndrochak@gol.com>)
225
226 2001-11-10  Dick Porter  <dick@ximian.com>
227
228         * Makefile.am (libwapiincludedir): Fix include destination
229
230         * .cvsignore: Ignore generated files
231
232 2001-11-10  Dietmar Maurer  <dietmar@ximian.com>
233
234         * pthread-compat.c: added some include files to make it compile on
235         linux.
236
237 2001-11-08  Dick Porter  <dick@ximian.com>
238
239         * Initial checkin.
240
241         This is a library emulating the win32 threading and IO API.
242
243