8bb11bf15841c723754a74882e0e68f373353380
[mono.git] / mono / io-layer / ChangeLog
1 2002-03-19  Dietmar Maurer  <dietmar@ximian.com>
2
3         * threads.c (Sleep): bug fix: 1ms == 1000000ns
4
5 2002-03-19  Dan Lewis <dihlewis@yahoo.co.uk>
6
7         * io.h, io.c, events.c, mutexes.c, semaphores.c, sockets.c,
8         threads.c, io.c: added flush method to handles.
9
10         * io.c: FlushFileBuffers() and FindFirstFile() functions.
11
12 Thu Mar 7 17:21:52 CET 2002 Paolo Molaro <lupus@ximian.com>
13
14         * threads.c, timed-thread.c, wait.c: Boehm-GC anable.
15
16 2002-02-20  Dick Porter  <dick@ximian.com>
17
18         * io-layer.h: Always build without cygwin support on windows
19
20 Mon Feb 18 15:50:59 CET 2002 Paolo Molaro <lupus@ximian.com>
21
22         * sockets.c: #undef DEBUG.
23
24 2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>
25
26         * io-layer.h: conditionally include sys/filio.h and sys/sockio.h
27         for FIONBIO, FIONREAD, and SIOCATMARK.
28
29 2002-02-14  Jeffrey Stedfast  <fejj@ximian.com>
30
31         * sockets.c: conditionally include sys/filio.h and sys/sockio.h
32         for FIONBIO, FIONREAD, and SIOCATMARK.
33
34 2002-02-13  Dick Porter  <dick@ximian.com>
35
36         * sockets.c: Implement shutdown and select
37
38 2002-02-13  Jeffrey Stedfast  <fejj@ximian.com>
39
40         * mono-mutex.[c,h]: New source files that thinly wrap all pthread
41         functions that take pthread_mutex_t and/or pthread_mutexattr_t
42         arguments for the sake of portability. Implements recursive
43         mutexes and pthread_mutex_timedlock.
44
45         * critical-sections.c:
46         * events.c:
47         * handles.c:
48         * mutexes.c:
49         * semaphores.c:
50         * threads.c:
51         * timed-thread.c:
52         * wait.c: Use the mono-mutex wrapper portability functions/macros.
53
54         * pthread-compat.[c,h]: Replaced by mono-mutex.[c,h]
55
56 2002-01-23  Dick Porter  <dick@ximian.com>
57
58         * sockets.c: Networking support, mostly wrapping BSD socket APIs
59         with handle code, and translating errno into w32 error codes.
60
61         * macros.h: Some w32 macros used with the socket support
62
63         * error.c: Implemented GetLastError() and SetLastError()
64
65         * Makefile.am: Added sockets, with kludge to override some symbols
66
67 2001-12-17  Dietmar Maurer  <dietmar@ximian.com>
68
69         * unicode.c (_wapi_unicode_to_utf8): byteswap UTF16 strings before
70         passing them to iconv
71         (_wapi_unicode_to_utf8): only swap bytes on LE systems, remove bug
72         from previous commit.
73
74 2001-12-11  Dick Porter  <dick@ximian.com>
75
76         * io.c: Implement DeleteFile(), GetFileTime(), SetFileTime() and
77         FileTimeToSystemTime().
78
79         * unicode.c (unicode_len): Nasty way of finding length of unicode
80         string with embedded NULLs (counts until two NULLs together).
81
82         * mutexes.c (mutex_close): 
83         * events.c (event_close): Release the internal pthreads resources
84
85 2001-11-26  Dick Porter  <dick@ximian.com>
86
87         * critical-sections.c:
88         * events.c:
89         * handles.c:
90         * io.c:
91         * mutexes.c:
92         * semaphores.c:
93         * threads.c:
94         * timed-thread.c:
95         * wait.c: turn off DEBUG messages
96
97 2001-11-22  Dick Porter  <dick@ximian.com>
98
99         * handles.c (SignalObjectAndWait): Implement
100
101         * wait.c (WaitForSingleObject): Fix case where timeout == 0
102
103         * threads.c:
104         * semaphores.c:
105         * mutexes.c:
106         * io.c:
107         * events.c: Support for SignalObjectAndWait
108         
109 2001-11-21  Dick Porter  <dick@ximian.com>
110
111         * events.c:
112         * handles.c:
113         * mutexes.c:
114         * semaphores.c:
115         * threads.c:
116         * wait.c: Reliable method of returning which handle was signalled
117         on return from WaitForMultipleObjects().
118
119 2001-11-21  Dick Porter  <dick@ximian.com>
120
121         * events.c: Implement events
122
123 2001-11-15  Dick Porter  <dick@ximian.com>
124
125         * mutexes.c: Implement mutexes
126
127         * threads.c: 
128         * semaphores.c: 
129         * misc.c: Factor out some common code
130
131 2001-11-13  Dick Porter  <dick@ximian.com>
132
133         * threads.c: Implement TLS.  Implement GetCurrentThreadId(), and
134         GetCurrentThread() by maintaining a hash of thread handles.
135
136         * threads.h: Define thread and process creation flags
137
138 2001-11-12  Dick Porter  <dick@ximian.com>
139
140         * critical-sections.c: Implement critical sections
141
142 2001-11-12  Dick Porter  <dick@ximian.com>
143
144         * semaphores.c: Implement semaphores
145
146         * wait.c (wait_for_item): Maintain a wait count rather than count
147         signalled booleans.
148
149         * threads.c (thread_wait_multiple): Don't lock the wait item, that
150         will block other wait threads
151
152 2001-11-11  Dick Porter  <dick@ximian.com>
153
154         * Makefile.am: Rename some automake variables
155         (from Nick Drochak <ndrochak@gol.com>)
156
157 2001-11-10  Dick Porter  <dick@ximian.com>
158
159         * Makefile.am (libwapiincludedir): Fix include destination
160
161         * .cvsignore: Ignore generated files
162
163 2001-11-10  Dietmar Maurer  <dietmar@ximian.com>
164
165         * pthread-compat.c: added some include files to make it compile on
166         linux.
167
168 2001-11-08  Dick Porter  <dick@ximian.com>
169
170         * Initial checkin.
171
172         This is a library emulating the win32 threading and IO API.
173
174