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