ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309
  1. 2005-05-03 Geoff Norton <[email protected]>
  2. * sys-xattr.c: Mac OS/X Tiger supports xattr but has a different API for supporting
  3. resource forks. Allow mono to build on Tiger.
  4. 2005-04-30 Jonathan Pryor <[email protected]>
  5. * stdio.c: Add Mono_Posix_Stdlib_DumpFilePosition, which create a hex string
  6. "dump" of a fpos_t. This is used for Mono.Unix.FilePosition.ToString().
  7. 2005-04-19 Jonathan Pryor <[email protected]>
  8. * map.c, map.h: Added XattrFlags values, functions.
  9. * sys-xattr.c: Added; <sys/xattr.h> wrapper functions. Thanks to Daniel
  10. Drake for writing these.
  11. * Makefile.am: Add sys-xattr.c to the build.
  12. 2005-04-07 Jonathan Pryor <[email protected]>
  13. * errno.c: Use the GNU version of strerror_r if _GNU_SOURCE is defined
  14. (otherwise assume existence of XPG variant). This allows proper
  15. compilation under Red Hat 9.
  16. * fstab.c: protect against users calling setfsent(), setfsent(), ...
  17. endfsent(), which would otherwise leak a FILE handle.
  18. 2005-04-05 Zoltan Varga <[email protected]>
  19. * mph.h: Apply patch from the freebsd ports collection.
  20. 2005-02-10 Zoltan Varga <[email protected]>
  21. * zlib_macros.c (create_z_stream): Explicitly check for older versions
  22. of zlib.
  23. 2005-02-08 Zoltan Varga <[email protected]>
  24. * pwd.c (Mono_Posix_Syscall_getpwnam_r): Add another part missing from the last patch.
  25. 2005-02-07 Jonathan Pryor <[email protected]>
  26. * grp.c: Oops. Didn't see other Solaris fix in #72292.
  27. 2005-02-07 Jonathan Pryor <[email protected]>
  28. * grp.c, pwd.c: Clear errno before calling the actual calls, as errno may
  29. have a stale value, leading to spurious errors later. Fixes #72292.
  30. 2005-02-03 Jonathan Pryor <[email protected]>
  31. * Makefile.am (MPH_C_SOURCE): Move errno.c into MPH_C_SOURCE, so it's built
  32. on Windows as well as Unix.
  33. 2005-02-03 Jonathan Pryor <[email protected]>
  34. * errno.c: Mono_Posix_Syscall_SetLastError should be in Stdlib, not Syscall,
  35. since it's part of ANSI C (and errno will be used from StdioFileStream).
  36. Add Mono_Posix_Stdlib_SetLastError. Don't remove the Syscall version, as
  37. we don't want to break Mono 1.1.4/svn users the day after release. :-)
  38. 2005-01-25 Jonathan Pryor <[email protected]>
  39. * macros.c: Use gint64, not long, to match C# declaration. Fixes 71152.
  40. 2005-01-23 Geoff Norton <[email protected]>
  41. * dirent.c: Include <unistd.h> to bring off_t in on gcc4.0+OSX
  42. 2005-01-13 Jonathan Pryor <[email protected]>
  43. * map.h: Correct Mono_Posix_OpenFlags values (they should now match
  44. x86 linux); remove unused enumerations (MountFlags, etc.).
  45. 2005-01-13 Jonathan Pryor <[email protected]>
  46. * fstab.c: Fix HPUX support. HPUX includes both <fstab.h> and
  47. <checkpoint.h>, so we need to give preference to <checkpoint.h>.
  48. 2005-01-05 Jonathan Pryor <[email protected]>
  49. * fstab.c: Add support for HPUX, which uses <checklist.h>.
  50. 2005-01-05 Jonathan Pryor <[email protected]>
  51. * map.c: Continuing my ineptitude... <sys/wait.h> isn't on Win32.
  52. * mph.h: Win32 doesn't define EOVERFLOW, either. Define it.
  53. 2005-01-05 Jonathan Pryor <[email protected]>
  54. * map.c: Include <config.h> so we can check for PLATFORM_WIN32.
  55. 2005-01-05 Jonathan Pryor <[email protected]>
  56. * map.c: Fix Win32 build break. Win32 doesn't have all the sys/* headers.
  57. 2005-01-05 Jonathan Pryor <[email protected]>
  58. * serial.c: HPUX compiler fix.
  59. * stdlib.c: Add C-defined macro wrappers.
  60. 2005-01-04 Jonathan Pryor <[email protected]>
  61. * stdio.c: Add wrapper for C99's snprintf(3).
  62. 2005-01-04 Jonathan Pryor <[email protected]>
  63. * Makefile.am: Rewrite. Remove configure-generated warnings about
  64. multiple _LIBADD and _SOURCES lines. Add support for Win32.
  65. Win32 support is limited to ANSI C functions.
  66. * stdio.c: Don't compile Unix wrappers on Win32.
  67. 2005-01-04 Raja R Harinath <[email protected]>
  68. * Makefile.am (LIBS): Remove. Was overriding results of configure check.
  69. (libMonoPosixHelper_la_LIBADD): List $(GLIB_LIBS) here.
  70. 2005-01-04 Jonathan Pryor <[email protected]>
  71. * Makefile.am: Add libnsl to LIBS. Hopefully this will let sparc link.
  72. * mph.h: Make MPH_INTERNAL conditional on __GNUC__.
  73. 2005-01-03 Jonathan Pryor <[email protected]>
  74. * signal.c, stdio.c: Remove "function declaration isn't a prototype" warnings.
  75. * unistd.c: Check for presence of gethostname and sethostname.
  76. 2005-01-03 Jonathan Pryor <[email protected]>
  77. * mph.h, x-struct-str.c: Add "const" to parameters to remove
  78. "warning: passing arg [2|4]...discards qualifiers" message.
  79. 2005-01-03 Jonathan Pryor <[email protected]>
  80. * fstab.c: Remove some sparc compiler warnings.
  81. 2005-01-03 Jonathan Pryor <[email protected]>
  82. * fstab.c: Solaris doesn't support getfsent(3), but it provides equivalent
  83. functionality in getvfsent(3C). Implement Solaris support.
  84. 2005-01-02 Jonathan Pryor <[email protected]>
  85. * stdio.c: More wrapper functions. I missed a few macros... This should
  86. complete all macro's defined in <stdio.h> for C99.
  87. 2004-12-30 Jonathan Pryor <[email protected]>
  88. * stdio.c: More wrapper functions. This should complete C89's <stdio.h>
  89. requirements.
  90. 2004-12-30 Jonathan Pryor <[email protected]>
  91. * sys-statvfs.c: Further proving that changing code without compiling is
  92. dangerous business... Compiler fix for OS X.
  93. 2004-12-30 Jonathan Pryor <[email protected]>
  94. * signal.c: Mac OS X portability fixes -- it doesn't provide sighandler_t!
  95. 2004-12-30 Jonathan Pryor <[email protected]>
  96. * Makefile.am: Add signal.c to the build.
  97. * signal.c: Added. Contains helper functions to wrap signal(2).
  98. 2004-12-30 Jonathan Pryor <[email protected]>
  99. * sys-statvfs.c: Fix Mac OS X build (statfs.f_frsize doesn't exist on OSX;
  100. f_fsid isn't an integral type; fstatfs needs to use fpathconf).
  101. 2004-12-29 Jonathan Pryor <[email protected]>
  102. * unistd.c: Null-terminate the string returned by readlink(2). This works
  103. around a marshaler "issue".
  104. 2004-12-28 Jonathan Pryor <[email protected]>
  105. * Makefile.am: Add GLIB_LIBS to the LIBS line, since we require linking
  106. against glib-2.0 (to use g_assert()).
  107. 2004-12-28 Jonathan Pryor <[email protected]>
  108. * fstab.c: Added; wrap <fstab.h> functions: getfsent(3), getfsfile(3),
  109. getfsspec(3).
  110. * map.c: Add new conversion functions for SyslogOptions, SyslogFacility,
  111. SyslogLevel; see syslog(3) for details.
  112. * map.h: Add new conversion functions and values for SyslogOptions,
  113. SyslogFacility, SyslogLevel; see syslog(3) for details.
  114. * Makefile.am (MPH_SOURCE): add fstab.c, sys-statvfs.c, x-struct-str.c.
  115. * mph.h: Document location for Mac OS X man page documentation; add
  116. MPH_INTERNAL macro for intra-library function calls (for functions that
  117. shouldn't be exported from libMonoPosixHelper.so); declare
  118. _mph_copy_structure_strings().
  119. * pwd.c: Use _mph_copy_structure_strings() to copy strings embedded within
  120. struct passwd.
  121. * sys-statvfs.c: Added; wrap <sys/statvfs.h> functions statvfs(2),
  122. fstatvfs(2), and (to complicate things) implement (f)statvfs(2) in terms
  123. of (f)statfs(2) on Mac OS X (which lacks the -vfs calls).
  124. * x-struct-str.c: implements _mph_copy_structure_strings(), which is a
  125. generalized interface to copy strings between structures (as is needed in
  126. pwd.c and fstab.c).
  127. Thu Dec 23 14:58:09 EST 2004 Paolo Molaro <[email protected]>
  128. * serial.c: remove mono calls from here: they break the build
  129. and they don't belong here.
  130. 2004-12-21 Chris Toshok <[email protected]>
  131. * serial.c: initial import of System.IO.Ports pinvoke stuff.
  132. * Makefile.am (MPH_SOURCE): add serial.c.
  133. 2004-11-30 Jonathan Pryor <[email protected]>
  134. * mph.h: Use <glib.h>, not <glib/gtypes.h>, as the HP/UX compiler needs
  135. <glib/gutils.h> to handle the `inline' keyword.
  136. 2004-11-27 Miguel de Icaza <[email protected]>
  137. * Makefile.am (MPH_SOURCE): Add macros.c for compatibility with
  138. the old API (currently the old API would fail).
  139. 2004-11-25 Raja R Harinath <[email protected]>
  140. * Makefile.am (MPH_SOURCE): Distribute old-map.h and map.h.
  141. 2004-11-18 Jonathan Pryor <[email protected]>
  142. * stdio.c: Add fread(3) and fwrite(3) wrappers.
  143. 2004-11-16 Jonathan Pryor <[email protected]>
  144. * Makefile.am: Remove sys-mount.c from the build.
  145. * sys-mount.c: Delete. We're not exporting mount-related functionality
  146. anymore. It's not remotely portable, and trying to make it portable is a
  147. doomed idea.
  148. * map.c: Remove mount- and umount-related conversion functions.
  149. 2004-11-14 Geoff Norton <[email protected]>
  150. * mph.h: Revernt jonp's removal of MPH_ON_BSD define as sys-mount.c
  151. and unistd.c still check this configuration value. This allows mono
  152. to build on *BSD again.
  153. 2004-11-12 Jonathan Pryor <[email protected]>
  154. * dirent.c: Only access members which exist on the target
  155. platform.
  156. * errno.c: Only export strerror_r if it's available.
  157. * mph.h: Remove MPH_ON_BSD; use the configure checks instead.
  158. * sys-mman.c: Only export posix_madvise if it's available.
  159. * unistd.c: Only export sethostid if it's available.
  160. 2004-11-08 Jonathan Pryor <[email protected]>
  161. * Makefile.am: Add sys-sendfile.c to the build.
  162. * dirent.c, fcntl.c, unistd.c: Remove
  163. compile-time checks for -64 apis (pread64, etc.), as they're
  164. superfluous. GLibc #defines the functions to the appropriate
  165. -64 counterpart when necessary, and Darwin is intrinsically
  166. large-file-aware, so manual checking on my part is redundant and
  167. unnecessary.
  168. * grp.c: Add checks for non-portable functions getgrnam_r,
  169. getgrgid_r.
  170. * pwd.c: Add checks for non-portable functions getpwnam_r,
  171. getpwuid_r.
  172. * map.c: Remove <poll.h> include. Building on Tiger (Mac
  173. OS X 10.4 beta) breaks when both <poll.h> and <sys/poll.h> are
  174. included, so only use <sys/poll.h>.
  175. * mph.h: Clean up macro handling for type overflow checking.
  176. 2004-11-05 Jonathan Pryor <[email protected]>
  177. * .cvsignore: Ignore generated files.
  178. * Makefile.am: Add new INCLUDE directives (for glib
  179. headers), source; bump library version (so we don't clobber
  180. previous versions of libMonoPosixHelper.so).
  181. * dirent.c: New file; <dirent.h> wrapper functions;
  182. BSD portability fixes.
  183. * errno.c: New file; <errno.h> wrapper functions
  184. * fcntl.c: New file; <fcntl.h> wrapper functions;
  185. BSD portability fixes.
  186. * grp.c: New file; <grp.h> wrapper functions;
  187. BSD portability fixes.
  188. * map.c: Updated macro mapping functions (more enums
  189. mapped, more error checking, etc.).
  190. * map.h: Updated macro mapping functions
  191. * old-map.c: Previous map.c implementation, for backward
  192. compatibility Remove spurious warning about redefining
  193. _GNU_SOURCE.
  194. * old-map.h: Previous map.h implementation, for backward
  195. compatibility
  196. * mph.h: New file; Utility types, macros;
  197. BSD portability fixes.
  198. * pwd.c: New file; <pwd.h> wrapper functions;
  199. BSD portability fixes.
  200. * stdio.c: New file; <stdio.h> wrapper functions
  201. * stdlib.c: New file; <stdlib.h> wrapper functions
  202. * sys-mman.c: New file; <sys/mman.h> wrapper functions
  203. * sys-mount.c: New file; <sys/mount.h> wrapper functions;
  204. BSD portability fixes.
  205. * sys-sendfile.c: New file; <sys/sendfile.h> wrapper
  206. functions; BSD portability fixes.
  207. * sys-stat.c: New file; <sys/stat.h> wrapper functions
  208. * sys-wait.c: New file; <sys/wait.h> wrapper functions
  209. * time.c: New file; <time.h> wrapper functions;
  210. BSD portability fixes.
  211. * unistd.c: New file; <unistd.h> wrapper functions;
  212. BSD portability fixes.