Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-182006-11-18 Miguel de Icaza <miguel@novell.com>Miguel de Icaza
* serial.c (poll_serial): Do not report an error for EINTR. svn path=/trunk/mono/; revision=68124
2006-11-182006-11-18 Jelle Hissink <Jelle.Hissink@C-it.nl>Miguel de Icaza
* serial.c (poll_serial): Add timeout parameter to poll. Fixes #79722 and #79735 svn path=/trunk/mono/; revision=68123
2006-11-18 * map.c: Flush (fix FromFilePermissions for SuppressFlags-marked values).Jonathan Pryor
svn path=/trunk/mono/; revision=68103
2006-11-15 * map.c: Flush (removes warnings due to _cnm_return_val_if_overflow()).Jonathan Pryor
svn path=/trunk/mono/; revision=67933
2006-11-15 * map.c: Flush (fixes FilePermissions conversion, allowing Syscall.stat() toJonathan Pryor
work as expected). svn path=/trunk/mono/; revision=67884
2006-11-13 * mph.h: Add macro for XATTR_AUTO, so that XattrFlags mapping works (asJonathan Pryor
XATTR_AUTO is a value which frequently isn't definedy by any OS, yet it has the value 0, a default value which is supported by most OS's). svn path=/trunk/mono/; revision=67768
2006-11-08 * Makefile.am: Revert addition of L_SET et al; this breaks the Win32 build.Jonathan Pryor
* map.c: Revert addition of L_SET et al; this breaks the Win32 build. * mph.h: Add macros for L_SET, L_INCR, and L_XTND for non-Win32 platforms. svn path=/trunk/mono/; revision=67536
2006-11-08 * Makefile.am: Add implementation macros for L_SET, L_INCR, and L_XTND.Jonathan Pryor
* map.c: Make sure that L_SET, L_INCR, and L_XTND are defined. Lets Mono_Posix_FromSeekFlags() work on Solaris, fixing Gnome Bugzilla 370081. svn path=/trunk/mono/; revision=67502
2006-11-02 * stdio.c: Some BSDs define clearerr(3) as a macro, so we need to castJonathan Pryor
`stream' to a `FILE*' to avoid derefing a `void*'. * sys-statvfs.c: Build fix to support OS X 10.3.9 & systems w/o statvfs(2). svn path=/trunk/mono/; revision=67254
2006-11-02 * configure.in: Add type checks for blkcnt_t, blksize_t, suseconds_t. SomeJonathan Pryor
versions of Mac OS X don't define these, needed by support/map.c. * support/mph.h: Add fallback typedefs for blkcnt_t, blksize_t, suseconds_t so that map.c can rely on their presence. (Some versions of OS X don't provide these typedefs.) svn path=/trunk/mono/; revision=67252
2006-10-28 * map.c: Improve handling of [Flags] enumerations which mix bitfields andJonathan Pryor
non-bitfield values (i.e. FilePermissions and S_IFREG, which isn't a bit field, along with a few other FilePermissions values). Fixes #79161. svn path=/trunk/mono/; revision=67056
2006-10-26 * configure.in: Add type checks for structs pollfd, stat, timeval, timezone.Jonathan Pryor
This is so that support/map.c can use HAVE_STRUCT_... wrappers around structure conversion functions, allowing them to be omitted from the Win32 build. * support/map.c: Enclose structure conversion functions with HAVE_<<STRUCT NAME>>, so that Unix-specific structures don't break the Win32 build. svn path=/trunk/mono/; revision=67012
2006-10-26 * create-native-map.exe: Remove. Just grab a new copy whenever we need toJonathan Pryor
refresh map.[ch]. * Makefile.am: Remove `update-create-native-map' target, and just have the `refresh' target grab the latest create-native-map.exe program. * map.c: Flush (remove fallback to <inttypes.h> constants). svn path=/trunk/mono/; revision=67004
2006-10-26 * create-native-map.exe: Update; Adds support for integral limit fallback.Jonathan Pryor
* map.c: Flush (adds integral limits fallback, so that if G_MININT8 doesn't exist we can fallback sanely instead of breaking the build). svn path=/trunk/mono/; revision=66995
2006-10-26 * Makefile.am: Add "mph.h" to the generated code for map.c, so thatJonathan Pryor
EOVERFLOW is defined on Win32. * map.c: Flush (adds #include "mph.h"). svn path=/trunk/mono/; revision=66991
2006-10-25* Makefile.am: remove map-icalls.h so make dist succeedsWade Berrier
svn path=/trunk/mono/; revision=66953
2006-10-25 * dirent.c, errno.c, fcntl.c, fstab.c, grp.c, macros.c, pwd.c, signal.c, Jonathan Pryor
stdio.c, stdlib.c, string.c, sys-mman.c, sys-sendfile.c, sys-stat.c, sys-statvfs.c, sys-time.c, sys-xattr.c syslog.c, time.c, unistd.c, utime.c: Remove structure definitions, and use the create-native-map generated definitions within map.h. Update function prototypes to match current map.h declarations. * map.c, map.h: Flush (current create-native-map output). * mph.h: Don't include "map-icalls.h"; "icalls" are now in map.h. * create-native-map.exe: Added; cached version of create-native-map.exe used to update map.c, map.h. (create-native-map.exe source within mono-tools/create-native-map.) * Makefile.am: Added update-create-native-map target to update create-native-map.exe using pkg-config & the create-native-map.pc package. Use create-native-map.exe to generate map.* files instead of make-map.exe. * sys-statvfs.c: Add Mono_Posix_ToStatvfs, Mono_Posix_FromStatvfs exports. svn path=/trunk/mono/; revision=66946
2006-10-18Do not depend on glib/types.hMiguel de Icaza
svn path=/trunk/mono/; revision=66767
2006-09-15 * configure.in: Remove check for setkey(3).Jonathan Pryor
* support/Makefile.am: Remove CRYPT_LIBS use; we no longer rely on libcrypt. * support/stdlib.c: Remove setkey(3) wrapper. * support/unistd.c: Remove encrypt(3) wrapper. svn path=/trunk/mono/; revision=65458
2006-08-142006-08-13 Miguel de Icaza <miguel@novell.com>Miguel de Icaza
* serial.c (get_bytes_in_buffer): Change the signature, we do not return any meaningful error other than -1. svn path=/trunk/mono/; revision=63687
2006-06-282006-06-28 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* mph.h (MPH_INTERNAL): Only use this if HAVE_VISIBILITY_HIDDEN is defined since it is not supported on some archs with gcc. svn path=/trunk/mono/; revision=62099
2006-04-29serial.c: Add sys/filio.h for solaris for FIONREADWade Berrier
svn path=/trunk/mono/; revision=60062
2006-04-212006-04-20 Geoff Norton <gnorton@customerdna.com>Geoff Norton
* serial.c: Change TIOCINQ to FIONREAD to fix the build on the *BSDs. svn path=/trunk/mono/; revision=59720
2006-04-192006-04-19 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* serial.c: Added poll_serial () function, to poll outside the read_serial () functions; and get_bytes_in_buffer (), to get bytes in serialport buffers . Update some functions/enums used by System.IO.Port.SerialPort too (Changes aproved by Miguel: we will add tests in the managed side). svn path=/trunk/mono/; revision=59625
2006-03-222006-03-22 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* serial.c: Add get_signal_code, get_signal, and set_signal functions to access serial signals. Also add a MonoSerialSignal enum, which is a copy of System.IO.Ports.SerialSignal. svn path=/trunk/mono/; revision=58288
2006-03-16Thu Mar 16 17:27:46 CET 2006 Paolo Molaro <lupus@ximian.com>Paolo Molaro
* serial.c: removed useless serial.h file (it was also breaking the build). svn path=/trunk/mono/; revision=58067
2006-03-092006-03-09 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* serial.c: Fix a pair of wrong or incomplete assignations in set_attributes. svn path=/trunk/mono/; revision=57714
2006-02-282006-02-28 Carlos Alberto Cortez <calberto.cortez@gmail.com>Carlos Alberto Cortez
* serial.h: New file with serial port constants. * serial.c: Use the constants in serial.h instead of magic numbers. svn path=/trunk/mono/; revision=57383
2006-01-03 * configure.in: Add check for lutimes(2). Mac OS X doesn't provide this.Jonathan Pryor
* support/sys-time.c: lutimes(2) only exists on some BSDs. There's a configure check for it now -- use it. svn path=/trunk/mono/; revision=55015
2005-12-30 * map-icalls.h: Flush (add utimes_bad, lutimes, futimes).Jonathan Pryor
* sys-time.c: Add lutimes(2) and futimes(2) wrapper. svn path=/trunk/mono/; revision=54922
2005-12-28 * configure.in: Add check for <sys/mman.h>. Fixes #77091.Jonathan Pryor
Thanks to Ben Gamari for the patch. * support/map.c: Include <sys/mman.h>. Fixes #77091. Thanks to Ben Gamari. svn path=/trunk/mono/; revision=54894
2005-12-01 * configure.in: Check for setkey(3) in -lcrypt and define CRYPT_LIBSJonathan Pryor
accordingly. * support/Makefile.am: Use $(CRYPT_LIB), not -lcrypt, as not all platforms support -lcrypt. * support/stdlib.c: Wrap Mono_Posix_Syscall_setkey() within HAVE_SETKEY, not PLATFORM_WIN32 svn path=/trunk/mono/; revision=53787
2005-12-01Revert -lcrypt until it's fixed.Paolo Molaro
svn path=/trunk/mono/; revision=53781
2005-12-012005-12-01 Daniel Drake <dsd@gentoo.org>Daniel Drake
* Makefile.am: Link against libcrypt, needed for setkey(3) as referenced in stdlib.c. Problem caught by Michael Hill. svn path=/trunk/mono/; revision=53775
2005-11-102005-11-09 Miguel de Icaza <miguel@novell.com>Miguel de Icaza
* assembly.c (mono_set_dirs): New API entry point to set the assembly and the config directory in one call A more robust framework for relocation and a public API for embedders to use. svn path=/trunk/mono/; revision=52816
2005-11-07 * map-icalls.h: Oddly, this file didn't get the new functions added inJonathan Pryor
2005-10-14 -- ToConfstrName, FromConfstrName, etc. Add them. * map.c, map.h: Remove invalid enumeration value SyslogFacility.LOG_USRE. svn path=/trunk/mono/; revision=52656
2005-10-18 * signal.c: Don't build Syscall wrappers on Win32.Jonathan Pryor
svn path=/trunk/mono/; revision=51830
2005-10-14 * Makefile.am (MPH_UNIX_SOURCE): Add syslog.c.Jonathan Pryor
* dirent.c, grp.c, pwd.c, signal.c, stdio.c, stdlib.c: Wrap functions which return `void' so that they instead: (1) return `int', (2) clear errno before calling the real function, and (3) return -1 if errno changed. This must be done in native code because calling Stdlib.SetLastError/Syscall.xxx from managed code won't work reliably (since errno may change between the SetLastError call and the actual Syscall invocation). * unistd.c: Same as above, and allow fpathconf(3), pathconf(3), sysconf(3), and confstr(3) callers to explicitly choose their own errno value. * map.c, map.h: Handle enumeration name change in Mono.Unix.Native (e.g. ConfStr --> ConfstrName, etc.). This is so that they follow the established naming conventions. * map-icalls.h: Add new icalls. * syslog.c: Added; wraps <syslog.h> functions. svn path=/trunk/mono/; revision=51711
2005-10-06 * Makefile.am (MPH_C_SOURCE): Add string.c.Jonathan Pryor
* string.c: Added; exports strlen(3) wrapper. * map-icalls.h: Prototype for strlen(3) wrapper. svn path=/trunk/mono/; revision=51345
2005-09-30Remove libwapiMiguel de Icaza
svn path=/trunk/mono/; revision=51050
2005-09-30FixMiguel de Icaza
svn path=/trunk/mono/; revision=51014
2005-09-30AddMiguel de Icaza
svn path=/trunk/mono/; revision=51013
2005-09-30Implement the heap stuff, move it to a separate fileMiguel de Icaza
svn path=/trunk/mono/; revision=51008
2005-09-20 * Makefile.am (refresh): Use the make-map.exe in Mono.Unix.Native.Jonathan Pryor
* map-icalls.h, map.c, map.h: Update to catch new enums AccessModes, Errno, and MmapProts. Huge re-ordering because of namespace change in managed code (not relevant to C API), and make-map.exe now outputs types/members in alphabetical order (to avoid major code churn in the future). svn path=/trunk/mono/; revision=50308
2005-07-122005-07-12 Daniel Drake <dsd@gentoo.org>Daniel Drake
* sys-xattr.c: Use <attr/attr.h> if <sys/xattr.h> does not exist (e.g. for glibc 2.2) * Makefile.am: Link to libattr if libc does not provide the xattr syscalls. svn path=/trunk/mono/; revision=47231
2005-07-07Thu Jul 7 12:35:20 EDT 2005 Paolo Molaro <lupus@ximian.com>Paolo Molaro
*supportw.c, Makefile.am: remove calls and link to libmono/libwapi. svn path=/trunk/mono/; revision=47049
2005-07-022005-07-01 Daniel Drake <dsd@gentoo.org>Daniel Drake
* sys-xattr.c: Support FreeBSD's extattr implementation. Slight API rework to provide transparency between Linux and FreeBSD EA's. * map-icalls.h: Update as above svn path=/trunk/mono/; revision=46863
2005-07-012005-06-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>Gonzalo Paniagua Javier
* supportw.c: HeapDestroy. * Makefile.am: don't build supportw on windows. svn path=/trunk/mono/; revision=46791
2005-06-30rename a la miguelBen Maurer
svn path=/trunk/mono/; revision=46753
2005-06-302005-06-29 Ben Maurer <bmaurer@ximian.com>Ben Maurer
* Makefile.am: namespace our library. svn path=/trunk/mono/; revision=46751