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