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