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