*** merged revision 57284 from mcs/
[mono.git] / mcs / class / Mono.Posix / Mono.Unix.Native / ChangeLog
1 2006-03-23  Raja R Harinath  <rharinath@novell.com>
2
3         * NativeConvert.generated.cs: Update after merge.
4
5 2006-02-25  Marek Safar  <marek.safar@seznam.cz>
6
7         * NativeConvert.generated.cs: Guarded CLSCompliant attribute by NET_2_0
8         until mcs is merged with gmcs.
9
10 2006-02-21  Marek Safar  <marek.safar@seznam.cz>
11
12         * NativeConvert.generated.cs: Removed duplicated CLSCompliant attribute.
13
14 2006-01-10  Raja R Harinath  <rharinath@novell.com>
15
16         * Syscall.cs (sys_futimes): Remove buggy custom marshaller on 'fd' parameter.
17
18 2005-01-09  Jonathan Pryor <jonpryor@vt.edu>
19
20         * NativeConvert.cs: s/IsType/IsSet/g: deal with UnixFileSystemInfo method 
21           name change.
22
23 2005-01-02  Jonathan Pryor <jonpryor@vt.edu>
24
25         * Stdlib.cs: s/ACCESS/ACCES/g.  I didn't create a badly named errno value, I
26           mis-read EACCES in man pages.  I can't read. :-(
27
28 2005-01-02  Jonathan Pryor <jonpryor@vt.edu>
29
30         * NativeConvert.generated.cs: Flush (remove Obsolete members).
31         * Syscall.cs: Remove invalid utimes(2) wrapper.
32
33 2005-01-02  Jonathan Pryor <jonpryor@vt.edu>
34
35         * Stdlib.cs: s/ACCES/ACCESS/g.  How'd I create a badly named errno value?
36
37 2005-12-29  Jonathan Pryor <jonpryor@vt.edu>
38
39         * make-map.cs: Properly handle managed arrays in argument lists.
40         * Syscall.cs: Properly bind utimes(2) (the Linux man pages are vague on what
41           it does; the BSD ones are much better).  Bind lutimes(2) and futimes(2).
42
43 2005-12-27  Jonathan Pryor <jonpryor@vt.edu>
44
45         * Syscall.cs: Include <sys/mman.h> for map.c generation.  Fixes #77091.
46
47 2005-12-27  Jonathan Pryor <jonpryor@vt.edu>
48
49         * make-map.cs: Always include 2nd parameter of [Obsolete] attributes; mark
50           the [DllImport]ed method with [Obsolete] if the underlying type is
51           [Obsolete].
52         * NativeConvert.generated.cs: Flush.
53
54 2005-12-27  Jonathan Pryor <jonpryor@vt.edu>
55
56         * FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix -- it's faster.
57
58 2005-11-28  Jonathan Pryor <jonpryor@vt.edu>
59
60         * Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal().  This is
61           so that mono doesn't have to JIT the handler within signal context.
62
63 2005-11-08  Jonathan Pryor <jonpryor@vt.edu>
64
65         * Stdlib.cs: Implement IEquatable<FilePosition> for FilePosition.
66         * Syscall.cs: Provide GetHashCode(), Equals(), operator==, operator!= for
67           all structure types.  Implement IEquatable<T> for all "value type" 
68           structs and classes.
69
70 2005-11-07  Jonathan Pryor <jonpryor@vt.edu>
71
72         * Syscall.cs: *xattr functions should use the FileNameMarshaler for filenames.
73
74 2005-11-07  Jonathan Pryor <jonpryor@vt.edu>
75
76         * make-map.cs: Always use ordinal string sorting behavior.  The string
77           collation sorting has changed, so to keep the mono/support diff sizes down
78           we have to explicitly specify the previous implicit ordering.
79
80 2005-11-02  Jonathan Pryor <jonpryor@vt.edu>
81
82         * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
83
84 2005-11-02  Jonathan Pryor <jonpryor@vt.edu>
85
86         * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap().  .Free() is obsolete.
87
88 2005-10-27  Jonathan Pryor <jonpryor@vt.edu>
89
90         * Stdlib.cs: Correct return type of setbuf(IntPtr, byte*).
91         * Syscall.cs: Remove [Obsolete] SyslogFacility.LOG_USRE member
92           (Mono.Unix.Native hasn't shipped yet, so nobody is using it); correct
93           [Obsolete] comment for getpagesize().
94
95 2005-10-26  Jonathan Pryor <jonpryor@vt.edu>
96
97         * FileNameMarshaler.cs: Deal with UnixMarshal method name changes.
98
99 2005-10-26  Jonathan Pryor <jonpryor@vt.edu>
100
101         * Stdlib.cs: FilePosition should derive from MarshalByRefObject, for two
102           reasons: (1) it's a recommendation from FxCop that classes implementing
103           IDisposable also derive from MarshalByRefObject; (2) FilePosition is
104           exposed from Mono.Unix.StdioFileStream, which (indirectly) inherits from
105           MarshalByRefObject.  Fix Equals() so it doesn't rely on Reflection.
106
107 2005-10-25  Jonathan Pryor <jonpryor@vt.edu>
108
109         * FileNameMarshaler.cs: Custom marshaler to marshal filenames using
110           Mono.Unix.UnixEncoding.  A custom marshaler is used to remove the need to
111           have ~6 lines of boilerplate on every method that takes filenames.
112         * Stdlib.cs, Syscall.cs:  Filenames need to be marshaled through the
113           FileNameMarshaler, which will encode/decode filenames with UnixEncoder.
114
115 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
116
117         * Stdlib.cs, Syscall.cs: Flush naming convention documentation.
118
119 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
120
121         * NativeConvert.generated.cs: Flush currently generated version.
122
123 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
124
125         * make-map.cs: Fix documentation comment.
126         * Stdlib.cs: Fix export of XprintfFunctions.syslog(); make SetLastError()
127           protected (normal user code shouldn't call it, as it isn't safe); 
128           replace functions which return `void' with functions which return `int'
129           (adding them to MonoPosixHelper.so as well) -- since users can't reliably
130           use SetLastError(), they need the "normal" error detection mechanism;
131           correct the strlen(3) export.
132         * Syscall.cs: 
133           - s/PathConf/PathconfName/, s/SysConf/SysconfName/, s/ConfStr/ConfstrName/ 
134             to follow documented enumeration naming conventions.
135           - replace functions which return `void' with functions which return `int'
136             (adding them to MonoPosixHelper.so as well) -- since users can't reliably
137             use SetLastError(), they need the "normal" error detection mechanism;
138
139 2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
140
141         * Stdlib.cs: add strlen() to fix the build.
142
143 2005-09-23  Jonathan Pryor <jonpryor@vt.edu>
144
145         * make-map.cs: Generate NativeConvert documentation XML fragments for use in
146           monodoc.
147
148 2005-09-20  Jonathan Pryor <jonpryor@vt.edu>
149
150         * ChangeLog: Started.
151         * CdeclFunction.cs: Copied from ../Mono.Unix; change namespace.
152         * HeaderAttribute.cs: Added
153         * make-map.cs: Copied from ../Mono.Unix; sort type and member names in
154           output (makes for a more stable svn history, as types/members won't change
155           position anymore within generated code); look for HeaderAttribute not
156           IncludeAttribute for getting headers & #defines; generate NativeConvert
157           partial class.
158         * NativeConvert.cs: Copied from ../Mono.Unix; change namespace; turn into a
159           partial class; Remove generated code (generated code is in
160           NativeConvert.generated.cs).
161         * NativeConvert.generated.cs: Added
162         * Stdlib.cs: Copied from ../Mono.Unix; change namespace; rename Error to
163           Errno (as Error is a "reserved word" in FxCop); [CLSCompliant(false)]
164           support.
165         * Syscall.cs: Use HeaderAttribute, not IncludeAttribute, for CLS compliance; 
166           add [CLSCompliant(false)] as needed; use NativeConvert, not UnixConvert.
167