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