ChangeLog 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433
  1. 2005-07-12 Daniel Drake <[email protected]>
  2. * sys-xattr.c: Use <attr/attr.h> if <sys/xattr.h> does not exist (e.g. for
  3. glibc 2.2)
  4. * Makefile.am: Link to libattr if libc does not provide the xattr
  5. syscalls.
  6. Thu Jul 7 12:35:20 EDT 2005 Paolo Molaro <[email protected]>
  7. *supportw.c, Makefile.am: remove calls and link to libmono/libwapi.
  8. 2005-07-01 Daniel Drake <[email protected]>
  9. * sys-xattr.c: Support FreeBSD's extattr implementation. Slight API rework
  10. to provide transparency between Linux and FreeBSD EA's.
  11. * map-icalls.h: Update as above
  12. 2005-06-30 Gonzalo Paniagua Javier <[email protected]>
  13. * supportw.c: HeapDestroy.
  14. * Makefile.am: don't build supportw on windows.
  15. 2005-06-29 Ben Maurer <[email protected]>
  16. * Makefile.am: namespace our library.
  17. 2005-06-29 Gonzalo Paniagua Javier <[email protected]>
  18. * supportw.c:
  19. * supportw.h:
  20. * Makefile.am: new library intended to provide often P/Invoked windows
  21. API functions not present in io-layer.
  22. 2005-06-29 Jonathan Pryor <[email protected]>
  23. * map.c: Handle Syslog-related changes (SyslogFacility isn't a
  24. [Flags] enum); make-map.exe changes.
  25. 2005-06-28 Jonathan Pryor <[email protected]>
  26. * map.c, map.h: Handle Syslog-related changes (SyslogLevel isn't a [Flags]
  27. enum; change in order between LOG_USER and LOG_USRE).
  28. 2005-06-27 Jonathan Pryor <[email protected]>
  29. * map.c, map.h: Add corrected spelling of LOG_USER.
  30. 2005-06-13 Miguel de Icaza <[email protected]>
  31. * sys-statvfs.c (copy_statfs): f_flags is the field name on BSD,
  32. not f_flag.
  33. 2005-06-08 Jonathan Pryor <[email protected]>
  34. * Makefile.am: Create an unversioned library. We won't make any gaurantees
  35. about ABI stability until Mono 1.2 (if then).
  36. 2005-06-07 Jonathan Pryor <[email protected]>
  37. * sys-mman.c: Check for presence of mremap and remap_file_pages.
  38. 2005-06-05 Jonathan Pryor <[email protected]>
  39. * map-icalls.h, map.h: Change header comment so it matches what
  40. `make refresh` generates.
  41. * map.c: Add <sys/xattr.h> header.
  42. 2005-05-31 Jonathan Pryor <[email protected]>
  43. * sys-mman.c: Add wrappers for mmap, munmap, mprotect, msync, mlock,
  44. munlock, mremap, mincore, remap_file_pages.
  45. * map-icalls.h: Update to latest shared interface.
  46. * map.c, map.h: Add {To,From} pairs for MmapFlags, MmapProt, MsyncFlags,
  47. MlockallFlags, MremapFlags.
  48. * mph.h: Add mph_return_*_if_ssize_t_overflow macros.
  49. 2005-05-31 Jonathan Pryor <[email protected]>
  50. * unistd.c: Oops -- deal with s/LockFlags/LockfCommand/ change.
  51. 2005-05-31 Jonathan Pryor <[email protected]>
  52. * map.h, map.c, map-icalls.h: Rename LockFlags to LockfCommand.
  53. 2005-05-20 Zoltan Varga <[email protected]>
  54. * Makefile.am (MPH_C_SOURCE): Add map-icalls.h. Fixes #75012.
  55. 2005-05-18 Jonathan Pryor <[email protected]>
  56. * map-icalls.h: Added; auto-generated file which contains Mono_Posix_*
  57. declarations for DllImport functions in Mono.Posix.dll. This ensure
  58. consistency between Mono.Posix.dll and MonoPosixHelper.so.
  59. * mph.h: Add include for map-icalls.h, to ensure that all MonoPosixHelper
  60. exports have correct prototypes.
  61. * dirent.c, grp.c, macros.c, pwd.c, signal.c, stdio.c, sys-stat.c,
  62. sys-time.c, utime.c: Correct prototypes to match map-icalls.h. Alas, this
  63. "loses" information -- FILE* becomes void*, etc. -- but no semantics or
  64. ABI should be changed (except for Mono_Posix_Syscall_utime). Some
  65. structure names also changed to match the generated names; since the
  66. structures are private, this shouldn't break anything.
  67. * errno.c: Remove Mono_Posix_Syscall_SetLastError so we don't get a warning
  68. about a missing prototype. This was never in a stable release.
  69. * old-map.c: Include mph.h for prototype checking.
  70. * unistd.c: SeekFlags conversion is now done in managed code so that a short
  71. isn't passed as a parameter; Correct prototypes to match map-icalls.h.
  72. * sys-xattr.c: fix lsetxattr/fsetxattr confusion; Correct prototypes to
  73. match map-icalls.h.
  74. * sys-sendfile.c: Move mph.h include so that HAVE_SYS_SENDFILE_H is used.
  75. * sys-wait.c: Include mph.h so that prototypes are checked.
  76. 2005-05-16 Jonathan Pryor <[email protected]>
  77. * sys-statvfs.c: Include "map.h" for Mono_Posix_ToMountFlags prototype.
  78. * map.c: Include <sys/statvfs.h> so Mono_Posix_{To,From}MountFlags actually
  79. does something useful.
  80. 2005-05-12 Jonathan Pryor <[email protected]>
  81. * map.c, map.h: Add FromMountFlags, ToMountFlags. (MountFlags is used in
  82. `struct statvfs', which is POSIX).
  83. * sys-statvfs.c: Use ToMountFlags to convert the OS flags value into the
  84. managed equivalent.
  85. 2005-05-03 Geoff Norton <[email protected]>
  86. * sys-xattr.c: Mac OS/X Tiger supports xattr but has a different API for supporting
  87. resource forks. Allow mono to build on Tiger.
  88. 2005-04-30 Jonathan Pryor <[email protected]>
  89. * stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
  90. "dump" of a fpos_t. This is used for Mono.Unix.FilePosition.ToString().
  91. 2005-04-19 Jonathan Pryor <[email protected]>
  92. * map.c, map.h: Added XattrFlags values, functions.
  93. * sys-xattr.c: Added; <sys/xattr.h> wrapper functions. Thanks to Daniel
  94. Drake for writing these.
  95. * Makefile.am: Add sys-xattr.c to the build.
  96. 2005-04-07 Jonathan Pryor <[email protected]>
  97. * errno.c: Use the GNU version of strerror_r if _GNU_SOURCE is defined
  98. (otherwise assume existence of XPG variant). This allows proper
  99. compilation under Red Hat 9.
  100. * fstab.c: protect against users calling setfsent(), setfsent(), ...
  101. endfsent(), which would otherwise leak a FILE handle.
  102. 2005-04-05 Zoltan Varga <[email protected]>
  103. * mph.h: Apply patch from the freebsd ports collection.
  104. 2005-02-10 Zoltan Varga <[email protected]>
  105. * zlib_macros.c (create_z_stream): Explicitly check for older versions
  106. of zlib.
  107. 2005-02-08 Zoltan Varga <[email protected]>
  108. * pwd.c (Mono_Posix_Syscall_getpwnam_r): Add another part missing from the last patch.
  109. 2005-02-07 Jonathan Pryor <[email protected]>
  110. * grp.c: Oops. Didn't see other Solaris fix in #72292.
  111. 2005-02-07 Jonathan Pryor <[email protected]>
  112. * grp.c, pwd.c: Clear errno before calling the actual calls, as errno may
  113. have a stale value, leading to spurious errors later. Fixes #72292.
  114. 2005-02-03 Jonathan Pryor <[email protected]>
  115. * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
  116. on Windows as well as Unix.
  117. 2005-02-03 Jonathan Pryor <[email protected]>
  118. * errno.c: Mono_Posix_Syscall_SetLastError should be in Stdlib, not Syscall,
  119. since it's part of ANSI C (and errno will be used from StdioFileStream).
  120. Add Mono_Posix_Stdlib_SetLastError. Don't remove the Syscall version, as
  121. we don't want to break Mono 1.1.4/svn users the day after release. :-)
  122. 2005-01-25 Jonathan Pryor <[email protected]>
  123. * macros.c: Use gint64, not long, to match C# declaration. Fixes 71152.
  124. 2005-01-23 Geoff Norton <[email protected]>
  125. * dirent.c: Include <unistd.h> to bring off_t in on gcc4.0+OSX
  126. 2005-01-13 Jonathan Pryor <[email protected]>
  127. * map.h: Correct Mono_Posix_OpenFlags values (they should now match
  128. x86 linux); remove unused enumerations (MountFlags, etc.).
  129. 2005-01-13 Jonathan Pryor <[email protected]>
  130. * fstab.c: Fix HPUX support. HPUX includes both <fstab.h> and
  131. <checkpoint.h>, so we need to give preference to <checkpoint.h>.
  132. 2005-01-05 Jonathan Pryor <[email protected]>
  133. * fstab.c: Add support for HPUX, which uses <checklist.h>.
  134. 2005-01-05 Jonathan Pryor <[email protected]>
  135. * map.c: Continuing my ineptitude... <sys/wait.h> isn't on Win32.
  136. * mph.h: Win32 doesn't define EOVERFLOW, either. Define it.
  137. 2005-01-05 Jonathan Pryor <[email protected]>
  138. * map.c: Include <config.h> so we can check for PLATFORM_WIN32.
  139. 2005-01-05 Jonathan Pryor <[email protected]>
  140. * map.c: Fix Win32 build break. Win32 doesn't have all the sys/* headers.
  141. 2005-01-05 Jonathan Pryor <[email protected]>
  142. * serial.c: HPUX compiler fix.
  143. * stdlib.c: Add C-defined macro wrappers.
  144. 2005-01-04 Jonathan Pryor <[email protected]>
  145. * stdio.c: Add wrapper for C99's snprintf(3).
  146. 2005-01-04 Jonathan Pryor <[email protected]>
  147. * Makefile.am: Rewrite. Remove configure-generated warnings about
  148. multiple _LIBADD and _SOURCES lines. Add support for Win32.
  149. Win32 support is limited to ANSI C functions.
  150. * stdio.c: Don't compile Unix wrappers on Win32.
  151. 2005-01-04 Raja R Harinath <[email protected]>
  152. * Makefile.am (LIBS): Remove. Was overriding results of configure check.
  153. (libMonoPosixHelper_la_LIBADD): List $(GLIB_LIBS) here.
  154. 2005-01-04 Jonathan Pryor <[email protected]>
  155. * Makefile.am: Add libnsl to LIBS. Hopefully this will let sparc link.
  156. * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
  157. 2005-01-03 Jonathan Pryor <[email protected]>
  158. * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
  159. * unistd.c: Check for presence of gethostname and sethostname.
  160. 2005-01-03 Jonathan Pryor <[email protected]>
  161. * mph.h, x-struct-str.c: Add "const" to parameters to remove
  162. "warning: passing arg [2|4]...discards qualifiers" message.
  163. 2005-01-03 Jonathan Pryor <[email protected]>
  164. * fstab.c: Remove some sparc compiler warnings.
  165. 2005-01-03 Jonathan Pryor <[email protected]>
  166. * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
  167. functionality in getvfsent(3C). Implement Solaris support.
  168. 2005-01-02 Jonathan Pryor <[email protected]>
  169. * stdio.c: More wrapper functions. I missed a few macros... This should
  170. complete all macro's defined in <stdio.h> for C99.
  171. 2004-12-30 Jonathan Pryor <[email protected]>
  172. * stdio.c: More wrapper functions. This should complete C89's <stdio.h>
  173. requirements.
  174. 2004-12-30 Jonathan Pryor <[email protected]>
  175. * sys-statvfs.c: Further proving that changing code without compiling is
  176. dangerous business... Compiler fix for OS X.
  177. 2004-12-30 Jonathan Pryor <[email protected]>
  178. * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
  179. 2004-12-30 Jonathan Pryor <[email protected]>
  180. * Makefile.am: Add signal.c to the build.
  181. * signal.c: Added. Contains helper functions to wrap signal(2).
  182. 2004-12-30 Jonathan Pryor <[email protected]>
  183. * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
  184. f_fsid isn't an integral type; fstatfs needs to use fpathconf).
  185. 2004-12-29 Jonathan Pryor <[email protected]>
  186. * unistd.c: Null-terminate the string returned by readlink(2). This works
  187. around a marshaler "issue".
  188. 2004-12-28 Jonathan Pryor <[email protected]>
  189. * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
  190. against glib-2.0 (to use g_assert()).
  191. 2004-12-28 Jonathan Pryor <[email protected]>
  192. * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
  193. getfsspec(3).
  194. * map.c: Add new conversion functions for SyslogOptions, SyslogFacility,
  195. SyslogLevel; see syslog(3) for details.
  196. * map.h: Add new conversion functions and values for SyslogOptions,
  197. SyslogFacility, SyslogLevel; see syslog(3) for details.
  198. * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
  199. * mph.h: Document location for Mac OS X man page documentation; add
  200. MPH_INTERNAL macro for intra-library function calls (for functions that
  201. shouldn't be exported from libMonoPosixHelper.so); declare
  202. _mph_copy_structure_strings().
  203. * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
  204. struct passwd.
  205. * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
  206. fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
  207. of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
  208. * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
  209. generalized interface to copy strings between structures (as is needed in
  210. pwd.c and fstab.c).
  211. Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <[email protected]>
  212. * serial.c: remove mono calls from here: they break the build
  213. and they don't belong here.
  214. 2004-12-21 Chris Toshok <[email protected]>
  215. * serial.c: initial import of System.IO.Ports pinvoke stuff.
  216. * Makefile.am (MPH_SOURCE): add serial.c.
  217. 2004-11-30 Jonathan Pryor <[email protected]>
  218. * mph.h: Use <glib.h>, not <glib/gtypes.h>, as the HP/UX compiler needs
  219. <glib/gutils.h> to handle the `inline' keyword.
  220. 2004-11-27 Miguel de Icaza <[email protected]>
  221. * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
  222. the old API (currently the old API would fail).
  223. 2004-11-25 Raja R Harinath <[email protected]>
  224. * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
  225. 2004-11-18 Jonathan Pryor <[email protected]>
  226. * stdio.c: Add fread(3) and fwrite(3) wrappers.
  227. 2004-11-16 Jonathan Pryor <[email protected]>
  228. * Makefile.am: Remove sys-mount.c from the build.
  229. * sys-mount.c: Delete. We're not exporting mount-related functionality
  230. anymore. It's not remotely portable, and trying to make it portable is a
  231. doomed idea.
  232. * map.c: Remove mount- and umount-related conversion functions.
  233. 2004-11-14 Geoff Norton <[email protected]>
  234. * mph.h: Revernt jonp's removal of MPH_ON_BSD define as sys-mount.c
  235. and unistd.c still check this configuration value. This allows mono
  236. to build on *BSD again.
  237. 2004-11-12 Jonathan Pryor <[email protected]>
  238. * dirent.c: Only access members which exist on the target
  239. platform.
  240. * errno.c: Only export strerror_r if it's available.
  241. * mph.h: Remove MPH_ON_BSD; use the configure checks instead.
  242. * sys-mman.c: Only export posix_madvise if it's available.
  243. * unistd.c: Only export sethostid if it's available.
  244. 2004-11-08 Jonathan Pryor <[email protected]>
  245. * Makefile.am: Add sys-sendfile.c to the build.
  246. * dirent.c, fcntl.c, unistd.c: Remove
  247. compile-time checks for -64 apis (pread64, etc.), as they're
  248. superfluous. GLibc #defines the functions to the appropriate
  249. -64 counterpart when necessary, and Darwin is intrinsically
  250. large-file-aware, so manual checking on my part is redundant and
  251. unnecessary.
  252. * grp.c: Add checks for non-portable functions getgrnam_r,
  253. getgrgid_r.
  254. * pwd.c: Add checks for non-portable functions getpwnam_r,
  255. getpwuid_r.
  256. * map.c: Remove <poll.h> include. Building on Tiger (Mac
  257. OS X 10.4 beta) breaks when both <poll.h> and <sys/poll.h> are
  258. included, so only use <sys/poll.h>.
  259. * mph.h: Clean up macro handling for type overflow checking.
  260. 2004-11-05 Jonathan Pryor <[email protected]>
  261. * .cvsignore: Ignore generated files.
  262. * Makefile.am: Add new INCLUDE directives (for glib
  263. headers), source; bump library version (so we don't clobber
  264. previous versions of libMonoPosixHelper.so).
  265. * dirent.c: New file; <dirent.h> wrapper functions;
  266. BSD portability fixes.
  267. * errno.c: New file; <errno.h> wrapper functions
  268. * fcntl.c: New file; <fcntl.h> wrapper functions;
  269. BSD portability fixes.
  270. * grp.c: New file; <grp.h> wrapper functions;
  271. BSD portability fixes.
  272. * map.c: Updated macro mapping functions (more enums
  273. mapped, more error checking, etc.).
  274. * map.h: Updated macro mapping functions
  275. * old-map.c: Previous map.c implementation, for backward
  276. compatibility Remove spurious warning about redefining
  277. _GNU_SOURCE.
  278. * old-map.h: Previous map.h implementation, for backward
  279. compatibility
  280. * mph.h: New file; Utility types, macros;
  281. BSD portability fixes.
  282. * pwd.c: New file; <pwd.h> wrapper functions;
  283. BSD portability fixes.
  284. * stdio.c: New file; <stdio.h> wrapper functions
  285. * stdlib.c: New file; <stdlib.h> wrapper functions
  286. * sys-mman.c: New file; <sys/mman.h> wrapper functions
  287. * sys-mount.c: New file; <sys/mount.h> wrapper functions;
  288. BSD portability fixes.
  289. * sys-sendfile.c: New file; <sys/sendfile.h> wrapper
  290. functions; BSD portability fixes.
  291. * sys-stat.c: New file; <sys/stat.h> wrapper functions
  292. * sys-wait.c: New file; <sys/wait.h> wrapper functions
  293. * time.c: New file; <time.h> wrapper functions;
  294. BSD portability fixes.
  295. * unistd.c: New file; <unistd.h> wrapper functions;
  296. BSD portability fixes.