* Mono.Posix_test.dll.sources: Move StdlibTest into the Mono.Unix.Native
[mono.git] / mcs / class / Mono.Posix / Mono.Unix.Native / ChangeLog
1 2005-11-28  Jonathan Pryor <jonpryor@vt.edu>
2
3         * Stdlib.cs: Prelink all SignalHandlers passed to Stdlib.signal().  This is
4           so that mono doesn't have to JIT the handler within signal context.
5
6 2005-11-08  Jonathan Pryor <jonpryor@vt.edu>
7
8         * Stdlib.cs: Implement IEquatable<FilePosition> for FilePosition.
9         * Syscall.cs: Provide GetHashCode(), Equals(), operator==, operator!= for
10           all structure types.  Implement IEquatable<T> for all "value type" 
11           structs and classes.
12
13 2005-11-07  Jonathan Pryor <jonpryor@vt.edu>
14
15         * Syscall.cs: *xattr functions should use the FileNameMarshaler for filenames.
16
17 2005-11-07  Jonathan Pryor <jonpryor@vt.edu>
18
19         * make-map.cs: Always use ordinal string sorting behavior.  The string
20           collation sorting has changed, so to keep the mono/support diff sizes down
21           we have to explicitly specify the previous implicit ordering.
22
23 2005-11-02  Jonathan Pryor <jonpryor@vt.edu>
24
25         * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
26
27 2005-11-02  Jonathan Pryor <jonpryor@vt.edu>
28
29         * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap().  .Free() is obsolete.
30
31 2005-10-27  Jonathan Pryor <jonpryor@vt.edu>
32
33         * Stdlib.cs: Correct return type of setbuf(IntPtr, byte*).
34         * Syscall.cs: Remove [Obsolete] SyslogFacility.LOG_USRE member
35           (Mono.Unix.Native hasn't shipped yet, so nobody is using it); correct
36           [Obsolete] comment for getpagesize().
37
38 2005-10-26  Jonathan Pryor <jonpryor@vt.edu>
39
40         * FileNameMarshaler.cs: Deal with UnixMarshal method name changes.
41
42 2005-10-26  Jonathan Pryor <jonpryor@vt.edu>
43
44         * Stdlib.cs: FilePosition should derive from MarshalByRefObject, for two
45           reasons: (1) it's a recommendation from FxCop that classes implementing
46           IDisposable also derive from MarshalByRefObject; (2) FilePosition is
47           exposed from Mono.Unix.StdioFileStream, which (indirectly) inherits from
48           MarshalByRefObject.  Fix Equals() so it doesn't rely on Reflection.
49
50 2005-10-25  Jonathan Pryor <jonpryor@vt.edu>
51
52         * FileNameMarshaler.cs: Custom marshaler to marshal filenames using
53           Mono.Unix.UnixEncoding.  A custom marshaler is used to remove the need to
54           have ~6 lines of boilerplate on every method that takes filenames.
55         * Stdlib.cs, Syscall.cs:  Filenames need to be marshaled through the
56           FileNameMarshaler, which will encode/decode filenames with UnixEncoder.
57
58 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
59
60         * Stdlib.cs, Syscall.cs: Flush naming convention documentation.
61
62 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
63
64         * NativeConvert.generated.cs: Flush currently generated version.
65
66 2005-10-14  Jonathan Pryor <jonpryor@vt.edu>
67
68         * make-map.cs: Fix documentation comment.
69         * Stdlib.cs: Fix export of XprintfFunctions.syslog(); make SetLastError()
70           protected (normal user code shouldn't call it, as it isn't safe); 
71           replace functions which return `void' with functions which return `int'
72           (adding them to MonoPosixHelper.so as well) -- since users can't reliably
73           use SetLastError(), they need the "normal" error detection mechanism;
74           correct the strlen(3) export.
75         * Syscall.cs: 
76           - s/PathConf/PathconfName/, s/SysConf/SysconfName/, s/ConfStr/ConfstrName/ 
77             to follow documented enumeration naming conventions.
78           - replace functions which return `void' with functions which return `int'
79             (adding them to MonoPosixHelper.so as well) -- since users can't reliably
80             use SetLastError(), they need the "normal" error detection mechanism;
81
82 2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
83
84         * Stdlib.cs: add strlen() to fix the build.
85
86 2005-09-23  Jonathan Pryor <jonpryor@vt.edu>
87
88         * make-map.cs: Generate NativeConvert documentation XML fragments for use in
89           monodoc.
90
91 2005-09-20  Jonathan Pryor <jonpryor@vt.edu>
92
93         * ChangeLog: Started.
94         * CdeclFunction.cs: Copied from ../Mono.Unix; change namespace.
95         * HeaderAttribute.cs: Added
96         * make-map.cs: Copied from ../Mono.Unix; sort type and member names in
97           output (makes for a more stable svn history, as types/members won't change
98           position anymore within generated code); look for HeaderAttribute not
99           IncludeAttribute for getting headers & #defines; generate NativeConvert
100           partial class.
101         * NativeConvert.cs: Copied from ../Mono.Unix; change namespace; turn into a
102           partial class; Remove generated code (generated code is in
103           NativeConvert.generated.cs).
104         * NativeConvert.generated.cs: Added
105         * Stdlib.cs: Copied from ../Mono.Unix; change namespace; rename Error to
106           Errno (as Error is a "reserved word" in FxCop); [CLSCompliant(false)]
107           support.
108         * Syscall.cs: Use HeaderAttribute, not IncludeAttribute, for CLS compliance; 
109           add [CLSCompliant(false)] as needed; use NativeConvert, not UnixConvert.
110