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