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
2013-06-01Pass some defines in config.h instead of on the command line.Zoltan Varga
2013-05-30Revert "Pass more defines in config.h instead of on the command line. Pass ↵Zoltan Varga
libgc defines to libgc only." This reverts commit cff0ecb816fdd10419550b549137f48b5a14ff88. Revert this as boehm-gc.c depends on the libgc defines.
2013-05-30Pass more defines in config.h instead of on the command line. Pass libgc ↵Zoltan Varga
defines to libgc only.
2013-05-02mac-reachability.c: update for C89ismsAaron Bockover
In response to Rodrigo's comments on PR 629.
2013-05-02mac-reachability.c: enable for TARGET_IOSAaron Bockover
2013-05-02NetworkChange: Support Mac OS X (bcx#12038)Aaron Bockover
Refactor System.Net.NetworkingInformation in order to support multiple "providers"; previously only Linux was ever supported for this API. This patch provides basic support for Mac OS X via the SystemConfiguration framework's SCNetworkReachability API. bxc#12038
2013-04-18Fix a crash in Mono.Posix.Syscall.getpwuid_r () on some systems when a uid ↵Steffen Kieß
is not found. Fixes #11770.
2013-03-28Fix the build.Zoltan Varga
2013-03-28Fix build break.Jonathan Pryor
5329fab3 requires <sys/uio.h>, which wasn't being included.
2013-03-27Add nanosecond resolution times to struct StatSteffen Kieß
2013-03-27Add various methods and flags to SyscallSteffen Kieß
* Add OpenFlags.O_CLOEXEC and OpenFlags.O_PATH * Add AtFlags for AT_* values * Add fdopendir, mkdtemp, futimens * Add readv, writev, preadv, pwritev * Add *at methods: openat, renameat, fchmodat, fstatat, utimensat, mkdirat, mknodat, mkfifoat, faccessat, fchownat, linkat, readlinkat, symlinkat, unlinkat * Add constants AT_FDCWD, UTIME_NOW, UTIME_OMIT
2013-03-26Set errno to 0 before calling readdir in Syscall.readdir().Steffen Kieß
This will allow the caller to distinguish between errors and end-of-directory.
2013-03-20Added CreateNLSocket stub for non-linux platformsMarek Habersack
2012-10-24Fix the build.Rodrigo Kumpera
2012-10-24Disable -Werror=format-security on GCC as the input is already validated by ↵Mirco Bauer
the caller Jonathan Pryor (jonpryor) commented on f49164b: The message parameter is validated in managed code: https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix.Native/Syscall.cs#L3200 https://github.com/mono/mono/blob/master/mcs/class/Mono.Posix/Mono.Unix/UnixMarshal.cs#L366 This change means that '%m' isn't useful in format strings to Syscall.syslog(), as it'll be escaped instead of "passed through" unchanged.
2012-10-03Use AM_CPPFLAGS instead of INCLUDES in Makefile.am files, as the later is no ↵Zoltan Varga
longer supported, see http://lists.gnu.org/archive/html/automake/2012-08/msg00087.html.
2012-06-26For Bug 2014: map FcntlCommand to local system command for fcntl_lockRob Wilkens
In support/fcntl.c - every time fcntl() was called, it would first map the cmd from mono's version of it to the system header file version of it. The only time this wasn't happening was in Mono_Posix_Syscall_fcntl_lock() and now it does it there too. This seems to resolve Bug 2014 on both 64-bit linux and on Mac OS X (64-bit).
2012-06-16any BSD's sendfile has 6 argumentsKISHIMOTO, Makoto
2012-06-16mincore(2) isnot X/Ooen standardKISHIMOTO, Makoto
2012-06-01Fix implicit function declarations on osx.Zoltan Varga
2012-03-19Silence compiler warnings for methods that are P/Invoked: provide prototypesMiguel de Icaza
2012-03-19(write_serial): fix the variable holding the return value of write(2) which ↵Miguel de Icaza
is a ssize_t, not a size_t. This fixed a problem where we would not exit the loop, as negative values would never be set, fix from GitHub.com's konrad-kruczynski
2012-03-06Revert the change to syslog message formatting, as JonP's code already does ↵Miguel de Icaza
escaping in managed code, see: https://github.com/mono/mono/commit/f49164bf7658855390b2c19574b170f8728a99ff#commitcomment-1044747
2012-02-28[MonoPosixHelper] Allow MmapFlags.MAP_ANON use on OS X.Jonathan Pryor
Fixes: https://bugzilla.xamarin.com/show_bug.cgi?id=3419 The problem is that OS X defines MAP_ANON but not MAP_ANONYMOUS, AND MAP_ANON and MAP_ANONYMOUS have the same value. Furthermore, create-native-map doesn't have any special support for constants with the same value, so it emits the validation independently. The result is that the following fails on OS X: $ csharp -r:Mono.Posix.dll csharp> int r; csharp> using Mono.Unix.Native; csharp> NativeConvert.TryFromMmapFlags(MmapFlags.MAP_ANONYMOUS, out r); false csharp> r; The (hackish) fix is to provide MAP_ANONYMOUS on OS X, thus allowing the existing validation logic to work as expected.
2011-08-17[minizip] Ensure we don't ever accidentally change calling conventionAlan McGovern
Make sure we always #define ZCALLBACK to empty so we don't change the calling convention on windows by including a header which defines 'CALLBACK'. This will keep things as cdecl as required by the c# pinvokes.
2011-07-26Fix invocation to syslogMiguel de Icaza
2011-05-01Added exception in case of using nonstandard baud rate on POSIX boxes, which ↵Konrad M. Kruczynski
is not supported by termios. OutOfRange rather than NotSupported exception due to interface compatibility.
2011-04-20Don't forget to link with libiconvJeffrey Stedfast
2011-03-29[nl] Move a bunch of #if's out of the way.Gonzalo Paniagua Javier
2011-03-29(c) lines.Gonzalo Paniagua Javier
2011-03-28[NetworkInformation] Support network IP/status eventsGonzalo Paniagua Javier
Add support for the events in NetworkChanged (linux-only).
2011-03-22[windows] Get rid of a lot of warningsGonzalo Paniagua Javier
2011-02-12[gzip] Allow partial flushGonzalo Paniagua Javier
When Flush() is called explicitly, do a Z_PARTIAL_FLUSH to force gzip into giving us whatever is available. Less efficient, but compatible with MS.
2011-02-09Add files to .gitignoreGonzalo Paniagua Javier
2010-11-14Remove the unused and incomplete CMake build scripts for now.Zoltan Varga
2010-10-22Update mappings after latest changes to Mono.PosixGonzalo Paniagua Javier
New mappings created for the epoll code.
2010-10-22UpdateGonzalo Paniagua Javier
2010-10-22Update zlib to version 1.2.5Gonzalo Paniagua Javier
2010-06-292010-06-28 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* Makefile.am (patch-libtool): Fix this up after the dolt changes. svn path=/trunk/mono/; revision=159621
2010-06-14oopsGeoff Norton
svn path=/trunk/mono/; revision=158898
2010-06-142010-05-13 Geoff Norton <gnorton@novell.com>Geoff Norton
* fakepoll.h: Added for OSX * serial.c: * signal.c: poll on OSX is broken, so we use a select based implementation instead. svn path=/trunk/mono/; revision=158861
2010-04-202010-04-19 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* zlib-helper.c: don't call Z_FINISH if nothing has been written. svn path=/trunk/mono/; revision=155764
2010-04-20 * configure.in: Add header, structure member, and function checks as Jonathan Pryor
Android doesn't provide all the headers, structure members, and functions that a "full" Linux distro includes. * support/dirent.c, support/grp.c, support/macros.c, support/pwd.c, support/signal.c, support/sys-statvfs.c, support/sys-time.c, support/unistd.c: Add #if HAVE_XXX checks for functions which aren't provided on Android. svn path=/trunk/mono/; revision=155753
2010-04-15 * Makefile.am: Revert previous linkage against libmono.so, as lupusJonathan Pryor
mentioned that it's unacceptable for MonoPosixHelper to link against libmono (e.g. when embedding mono, there might not be a libmono). * map.h: Flush updated Mono_Unix_UnixSignal_SignalInfo prototype. * signal.c: Don't use mono_runtime_is_shutting_down(). Instead, change Mono_Unix_UnixSignal_WaitAny() to accept a function pointer argument, which will return Environment.HasShutdownStarted in managed code (the moral equivalent of mono_runtime_is_shutting_down()). This allows us to avoid a libmono dependency w/o lots of rewriting. Fixes #592981. svn path=/trunk/mono/; revision=155520
2010-04-082010-04-07 Gonzalo Paniagua Javier <gonzalo@novell.com>Gonzalo Paniagua Javier
* zlib-helper.c: now that we don't use Z_SYNC_FLUSH, there might be unflushed input in zstream, so always call Z_FINISH. svn path=/trunk/mono/; revision=154995
2010-04-02revert openbsd patchGonzalo Paniagua Javier
svn path=/trunk/mono/; revision=154732
2010-04-02 * Makefile.am: On non-Windows platforms, MonoPosixHelper now linksJonathan Pryor
against libmono.so, for mono_runtime_is_shutting_down(). * signal.c: Only continue retrying system calls if Mono is NOT attempting to shut down. Fixes #592981. svn path=/trunk/mono/; revision=154731
2010-04-02cross-compilation fixesGonzalo Paniagua Javier
svn path=/trunk/mono/; revision=154669
2010-03-302010-03-29 Zoltan Varga <vargaz@gmail.com>Zoltan Varga
* mph.h: Applied some changes from the openbsd ports tree to fix openbsd support. svn path=/trunk/mono/; revision=154401
2010-03-23Don't rely on SIGIOAndreas Färber
SIGIO is not part of POSIX, and Haiku does not support it. map.c contains checks to handle this, but old-map.c doesn't. Its generator make-map no longer exists, so let's insert the check manually. 2010-03-23 Andreas Faerber <andreas.faerber@web.de> * old-map.c (map_Mono_Posix_Signals): Fix build for platforms where SIGIO is not defined (Haiku). This commit is licensed under the MIT X11 license. svn path=/trunk/mono/; revision=154029