ChangeLog 10 KB

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