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