1 2006-09-15 Jonathan Pryor <jonpryor@vt.edu>
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.
10 2006-09-07 Jonathan Pryor <jonpryor@vt.edu>
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.
15 2006-04-06 Jonathan Pryor <jonpryor@vt.edu>
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.
21 2006-03-23 Raja R Harinath <rharinath@novell.com>
23 * NativeConvert.generated.cs: Update after merge.
25 2006-02-25 Marek Safar <marek.safar@seznam.cz>
27 * NativeConvert.generated.cs: Guarded CLSCompliant attribute by NET_2_0
28 until mcs is merged with gmcs.
30 2006-02-21 Marek Safar <marek.safar@seznam.cz>
32 * NativeConvert.generated.cs: Removed duplicated CLSCompliant attribute.
34 2006-01-10 Raja R Harinath <rharinath@novell.com>
36 * Syscall.cs (sys_futimes): Remove buggy custom marshaller on 'fd' parameter.
38 2005-01-09 Jonathan Pryor <jonpryor@vt.edu>
40 * NativeConvert.cs: s/IsType/IsSet/g: deal with UnixFileSystemInfo method
43 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
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. :-(
48 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
50 * NativeConvert.generated.cs: Flush (remove Obsolete members).
51 * Syscall.cs: Remove invalid utimes(2) wrapper.
53 2005-01-02 Jonathan Pryor <jonpryor@vt.edu>
55 * Stdlib.cs: s/ACCES/ACCESS/g. How'd I create a badly named errno value?
57 2005-12-29 Jonathan Pryor <jonpryor@vt.edu>
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).
63 2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
65 * Syscall.cs: Include <sys/mman.h> for map.c generation. Fixes #77091.
67 2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
69 * make-map.cs: Always include 2nd parameter of [Obsolete] attributes; mark
70 the [DllImport]ed method with [Obsolete] if the underlying type is
72 * NativeConvert.generated.cs: Flush.
74 2005-12-27 Jonathan Pryor <jonpryor@vt.edu>
76 * FileNameMarshaler.cs: Use UnixMarshal.PtrToStringUnix -- it's faster.
78 2005-11-28 Jonathan Pryor <jonpryor@vt.edu>
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.
83 2005-11-08 Jonathan Pryor <jonpryor@vt.edu>
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"
90 2005-11-07 Jonathan Pryor <jonpryor@vt.edu>
92 * Syscall.cs: *xattr functions should use the FileNameMarshaler for filenames.
94 2005-11-07 Jonathan Pryor <jonpryor@vt.edu>
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.
100 2005-11-02 Jonathan Pryor <jonpryor@vt.edu>
102 * Syscall.cs: Remove [CLSCompliant(false)] when it isn't needed.
104 2005-11-02 Jonathan Pryor <jonpryor@vt.edu>
106 * FileNameMarshaler.cs: Use UnixMarshal.FreeHeap(). .Free() is obsolete.
108 2005-10-27 Jonathan Pryor <jonpryor@vt.edu>
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().
115 2005-10-26 Jonathan Pryor <jonpryor@vt.edu>
117 * FileNameMarshaler.cs: Deal with UnixMarshal method name changes.
119 2005-10-26 Jonathan Pryor <jonpryor@vt.edu>
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.
127 2005-10-25 Jonathan Pryor <jonpryor@vt.edu>
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.
135 2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
137 * Stdlib.cs, Syscall.cs: Flush naming convention documentation.
139 2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
141 * NativeConvert.generated.cs: Flush currently generated version.
143 2005-10-14 Jonathan Pryor <jonpryor@vt.edu>
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.
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;
159 2005-10-13 Gonzalo Paniagua Javier <gonzalo@ximian.com>
161 * Stdlib.cs: add strlen() to fix the build.
163 2005-09-23 Jonathan Pryor <jonpryor@vt.edu>
165 * make-map.cs: Generate NativeConvert documentation XML fragments for use in
168 2005-09-20 Jonathan Pryor <jonpryor@vt.edu>
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
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)]
185 * Syscall.cs: Use HeaderAttribute, not IncludeAttribute, for CLS compliance;
186 add [CLSCompliant(false)] as needed; use NativeConvert, not UnixConvert.