ChangeLog 16 KB

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