Re: [Mono-dev] Status of non-full AOT on x86 mac

2010-10-31 Thread Andreas Färber
Hi, Am 31.10.2010 um 04:15 schrieb Brian Luczkiewicz: > diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c > index 5088324..70ff8c0 100644 > --- a/mono/mini/aot-compiler.c > +++ b/mono/mini/aot-compiler.c > @@ -82,6 +82,8 @@ > #define SHARED_EXT ".dll" > #elif defined(__ppc__) &&

Re: [Mono-dev] [mono/moon] [2 commits] fd3b2520: Add a checkout-mono target that parses the README and checks out the cor

2010-10-08 Thread Andreas Färber
Hi, Am 07.10.2010 um 10:32 schrieb Rolf Bjarne Kvinge: >> Firstly, the 'reset --hard' is an absolute no-no for a checkout. >> Please use 'git checkout'. 'reset' modifies the branch metadata -- >> checkout only modifies the working tree. 'reset --hard' is a >> too-convenient bludgeon that smashe

Re: [Mono-dev] [PATCH] Make mono on OSX relocatable

2010-10-08 Thread Andreas Färber
Hi, Am 05.10.2010 um 10:43 schrieb Bassam Tabbara: > Attached is a patched that makes mono on OSX relocatable as with > Linux, Windows and Solaris. It would be great if this can be > committed to the mono-2-6 branch. We had some issues with apps embedding Mono using /Library/Frameworks/ Mon

Re: [Mono-dev] [PATCH] Enable sgen on sparc and Solaris

2010-10-02 Thread Andreas Färber
Am 01.10.2010 um 15:35 schrieb Dick Porter: > diff --git a/mono/utils/mono-sigcontext.h b/mono/utils/mono- > sigcontext.h > index a794a28..0cd3bc5 100644 > --- a/mono/utils/mono-sigcontext.h > +++ b/mono/utils/mono-sigcontext.h > @@ -67,6 +67,16 @@ > #define UCONTEXT_REG_ESI(ctx) (((ucontex

Re: [Mono-dev] Standard name for mcs

2010-06-27 Thread Andreas Färber
Am 27.06.2010 um 18:37 schrieb Russell Wallace: > Would it be possible to define a command to run whatever the > latest/currently installed C# compiler is? It seems to me that command > should be mcs, but it doesn't really matter what it is, as long as it > works reliably on all systems. I would

Re: [Mono-dev] [PATCH] Support for newer versions of Boehm GC (>7.0)

2010-05-26 Thread Andreas Färber
Hi, Am 26.05.2010 um 10:28 schrieb Burkhard Linke: > the applied patch adds support for newer versions of Boehm GC > (required for a > working GC under Solaris). > > The new API introduces a function called GC_allow_register_threads() > which > explicitly turns on thread management within the

Re: [Mono-dev] [PATCH v2 1/7] configure: Don't hardcode libm dependency

2010-04-29 Thread Andreas Färber
Am 28.04.2010 um 02:34 schrieb Rodrigo Kumpera: > Patch looks good. Thanks, applied to trunk in r156468, with the following Haiku: Minus L M is Explicit mathematics - Abelian group? Andreas > On Tue, Apr 27, 2010 at 6:47 PM, Andreas Färber > wrote: > Hey Rodrigo, >

Re: [Mono-dev] [PATCH v2 1/7] configure: Don't hardcode libm dependency

2010-04-27 Thread Andreas Färber
Hey Rodrigo, Can you ack this reworked patch please? A similar check was introduced for eglib already. Thanks, Andreas Am 05.04.2010 um 01:52 schrieb Andreas Färber: > Haiku has math functions in libroot.so and no libm.so. > > v1 -> v2: > * Use autoconf check instead of platfo

Re: [Mono-dev] eglib libiconv check

2010-04-25 Thread Andreas Färber
Am 25.04.2010 um 16:52 schrieb Geoff Norton: > Oops. Looks fine please commit Thanks for the quick feedback, applied to trunk in r156061. Andreas > On 2010-04-25, at 10:42 AM, Andreas Färber > wrote: > >> diff --git a/eglib/configure.ac b/eglib/configure.ac >> index

[Mono-dev] eglib libiconv check

2010-04-25 Thread Andreas Färber
Hello Geoff, In r156018 you changed the -liconv check. In GNU libiconv, the symbol is in fact libiconv_open (to distinguish from glibc's version), so linking is now broken. The following patch re-adds the old check and helps on Haiku, could you please check on your side? diff --git a/eglib

Re: [Mono-dev] Make System.IO.Ports work on UNIX systems other than Linux

2010-04-22 Thread Andreas Färber
Hi, Am 22.04.2010 um 18:45 schrieb Robert Nagy: > Can someone please have a look at this? > > On (2010-04-20 23:26), Robert Nagy wrote: >> The attached diff makes SerialPort.GetPortNames() work on >> all Unix systems other than Linux too, because ttyS* and >> ttyUSB* is linux specific and on *BSD

Re: [Mono-dev] [PATCH] Android Support [3/4]

2010-04-20 Thread Andreas Färber
Am 20.04.2010 um 11:16 schrieb Paolo Molaro: > On 04/19/10 Jonathan Pryor wrote: >> Index: mono/mini/exceptions-arm.c >> === >> --- mono/mini/exceptions-arm.c (revision 155735) >> +++ mono/mini/exceptions-arm.c (working co

Re: [Mono-dev] [PATCH v2 6/7] eglib: Fix hardcoded library dependencies for Haiku

2010-04-10 Thread Andreas Färber
Am 10.04.2010 um 04:34 schrieb Zoltan Varga: > Looks ok. Thanks, applied to trunk in r155195, with the following Haiku: Math is beautiful A universal language Libraries differ Andreas > On Mon, Apr 5, 2010 at 1:52 AM, Andreas Färber wrote: > Haiku neither has libm nor libdl.

Re: [Mono-dev] [PATCH v4 4/7] io-layer: Fix process helper functions for Haiku

2010-04-10 Thread Andreas Färber
Am 10.04.2010 um 04:32 schrieb Zoltan Varga: > Looks ok. Thanks, applied to trunk in r155191, with the following Haiku: Be did not have /proc For Mono to build without Resort to Be's root Andreas > On Mon, Apr 5, 2010 at 1:52 AM, Andreas Färber wrote: > Haiku has neith

Re: [Mono-dev] Summer of Code / C++ Interop

2010-04-08 Thread Andreas Färber
Hi, Am 08.04.2010 um 11:25 schrieb Alex Corrado: > I am proposing to expand Mono's C++ interop support to enable the > creation of managed wrappers directly around native C++ objects. [...] > The first place I read about calling C++ functions directly from > managed code was on Mono's "Intero

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Andreas Färber
Am 05.04.2010 um 02:05 schrieb Zoltan Varga: > Looks ok. Thanks, applied to trunk in r154778, with the following poem dedicated to the BSD addicts among us. ;) So soft it might break Be Open for Berkeley But not for poets Andreas > On Mon, Apr 5, 2010 at 1:52 AM, Andreas

Re: [Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Andreas Färber
to define MONO_ARCH_USE_SIGACTION for them to be requested, or you don't and it will either not compile or likely not work at runtime. Am I overlooking something? mini-x86.h:55 defines MONO_ARCH_USE_SIGACTION for Linux, Solaris, Mac OS X, NetBSD, FreeBSD and OpenBSD. Andreas > On (2010-04-05 01:52), And

[Mono-dev] [RFC v5 3/7] Handle lack of SA_SIGINFO on Haiku

2010-04-04 Thread Andreas Färber
SA_SIGINFO-style signals were part of the POSIX.1-2006 optional Real Time Signals (XSI RTS) feature. Haiku does not implement it (yet) and goes so far as to not define SA_SIGINFO to indicate lack thereof. In POSIX.1-2008 they're no longer optional. Define SA_SIGINFO for Haiku, to avoid a forest of

[Mono-dev] [PATCH v3 2/7] mini: Disable soft debugger when not using sigaction

2010-04-04 Thread Andreas Färber
The x86 soft debugger depends on siginfo_t outside Windows. So if we're neither building for Windows nor using SA_SIGINFO-style signal handlers, don't enable the soft debugger. Fixes the build on Haiku. Cc: Zoltan Varga v2 -> v3: * Enable the soft debugger for Windows as well (uses different cod

[Mono-dev] [PATCH v2 6/7] eglib: Fix hardcoded library dependencies for Haiku

2010-04-04 Thread Andreas Färber
Haiku neither has libm nor libdl. On Mac OS X, libm.dylib is just a symlink to libSystem.dylib. Introduce autoconf checks for these libraries. v1 -> v2: * Add checks for libm and libdl. This commit is licensed under the MIT X11 license. --- eglib/ChangeLog|8 eglib/configur

[Mono-dev] [RFC 7/7] configure: Fix linking against eglib

2010-04-04 Thread Andreas Färber
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm and need for libiconv. This commit is licensed under the MIT X11 license. --- configure.in |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 5e34fc4..5033bfe

[Mono-dev] [FYI v2 5/7] serial: Stub implementation for Haiku

2010-04-04 Thread Andreas Färber
Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. v1 -> v2: * Provide a separate implementation that might be sourced out as serial-null.c This commit is licensed under the MIT X11 license. --- support/serial.c | 72 ++

[Mono-dev] [PATCH v4 4/7] io-layer: Fix process helper functions for Haiku

2010-04-04 Thread Andreas Färber
3 insertions(+), 4 deletions(-) diff --git a/mono/io-layer/ChangeLog b/mono/io-layer/ChangeLog index bb199ba..3fed2e9 100644 --- a/mono/io-layer/ChangeLog +++ b/mono/io-layer/ChangeLog @@ -1,3 +1,15 @@ +2010-04-04 Andreas Färber + + * processes.c (EnumProcesses, load_modules): Add implement

[Mono-dev] [PATCH v2 1/7] configure: Don't hardcode libm dependency

2010-04-04 Thread Andreas Färber
Haiku has math functions in libroot.so and no libm.so. v1 -> v2: * Use autoconf check instead of platform-based switch This commit is licensed under the MIT X11 license. --- configure.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index 4

[Mono-dev] [PATCH v5 0/7] Port Mono to Haiku/x86, round #5

2010-04-04 Thread Andreas Färber
on how to proceed there is welcome. I've verified that my configure changes continue to work on Linux/amd64. So, are the library checks (patches 1 + 6) okay to commit? Regards, Andreas Andreas Färber (7): configure: Don't hardcode libm dependency mini: Disable soft debugger when

Re: [Mono-dev] [PATCH 0/2] Cosmetic fixes for configure

2010-04-04 Thread Andreas Färber
Am 04.04.2010 um 02:55 schrieb Andreas Färber: > Here are two small patches to clean up configure output. Okay to > commit? Thanks, applied to trunk in r154764 and r154765. Typo fix applied to 2.6 in r154766 and to 2.4 in r154767. Andreas > Andreas Färber (2): > configu

Re: [Mono-dev] Include pthread.h in mono/utils/gc_wrapper.h and kill bash in web/mono-build.sh

2010-04-04 Thread Andreas Färber
Hi, Am 04.04.2010 um 15:03 schrieb Robert Nagy: > Index: mono/utils/gc_wrapper.h > === > --- mono/utils/gc_wrapper.h (revision 154762) > +++ mono/utils/gc_wrapper.h (working copy) > @@ -33,6 +33,14 @@ > # endif > #

[Mono-dev] [PATCH 2/2] configure: Set default for moonlight

2010-04-03 Thread Andreas Färber
Make configure display "Moon Profile: no". --- ChangeLog|1 + configure.in |2 +- 2 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index af88d48..e370d7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2010-04-03 Andreas Färber

[Mono-dev] [PATCH 1/2] configure: Fix typo

2010-04-03 Thread Andreas Färber
It's "initializer". --- ChangeLog|6 ++ configure.in |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 0f0b0a6..af88d48 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-04-03 Andreas Färber + + * configure.in: Fi

[Mono-dev] [PATCH 0/2] Cosmetic fixes for configure

2010-04-03 Thread Andreas Färber
Hello, Here are two small patches to clean up configure output. Okay to commit? Regards, Andreas Andreas Färber (2): configure: Fix typo configure: Set default for moonlight ChangeLog|7 +++ configure.in |4 ++-- 2 files changed, 9 insertions(+), 2 deletions

[Mono-dev] [PATCH v4 3/7] Handle lack of SA_SIGINFO

2010-04-03 Thread Andreas Färber
SA_SIGINFO-style signals are part of the optional POSIX XSI (formerly Real Time Signals, RTS) feature. Haiku does not implement it (yet) and goes so far as to not define SA_SIGINFO to indicate lack thereof. In mini, there's MONO_ARCH_USE_SIGACTION as indicator but it doesn't cover all uses of SA_S

[Mono-dev] [PATCH v3 4/7] io-layer: Fix process helper functions for Haiku

2010-04-03 Thread Andreas Färber
ons(-) diff --git a/mono/io-layer/ChangeLog b/mono/io-layer/ChangeLog index ede8fed..4bd2d1f 100644 --- a/mono/io-layer/ChangeLog +++ b/mono/io-layer/ChangeLog @@ -1,3 +1,15 @@ +2010-04-03 Andreas Färber + + * processes.c (EnumProcesses, load_modules): Add implementations +

[Mono-dev] [PATCH v2 1/7] configure: Don't hardcode libm dependency

2010-04-03 Thread Andreas Färber
Haiku has math functions in libroot.so and no libm.so. v1 -> v2: * Use autoconf check instead of platform-based switch This commit is licensed under the MIT X11 license. --- configure.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index 5

[Mono-dev] [RFC 7/7] configure: Fix linking against eglib

2010-04-03 Thread Andreas Färber
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm and need for libiconv. This commit is licensed under the MIT X11 license. --- configure.in |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 20c7ac5..1b1f363

[Mono-dev] [PATCH v4 0/7] Port Mono to Haiku/x86, round #4

2010-04-03 Thread Andreas Färber
actly does that mean? (p? no w?) What is the perms field good for? It looks like it's not being read at all. Regards, Andreas Andreas Färber (7): configure: Don't hardcode libm dependency mini: Disable soft debugger when not using sigaction Handle lack of SA_SIGINFO io-layer: Fix

[Mono-dev] [PATCH v2 6/7] eglib: Fix hardcoded library dependencies for Haiku

2010-04-03 Thread Andreas Färber
Haiku neither has libm nor libdl. On Mac OS X, libm.dylib is just a symlink to libSystem.dylib. Introduce autoconf checks for these libraries. v1 -> v2: * Add checks for libm and libdl. This commit is licensed under the MIT X11 license. --- eglib/ChangeLog|8 eglib/configur

[Mono-dev] [RFC v2 5/7] serial: Stub implementation for Haiku

2010-04-03 Thread Andreas Färber
Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. v1 -> v2: * Provide a separate implementation that might be sourced out as serial-null.c This commit is licensed under the MIT X11 license. --- support/serial.c | 72 ++

[Mono-dev] [PATCH v2 2/7] mini: Disable soft debugger when not using sigaction

2010-04-03 Thread Andreas Färber
The x86 soft debugger depends on siginfo_t. So if we're not using SA_SIGINFO-style signal handlers, don't enable the soft debugger. Fixes the build on Haiku. Cc: Zoltan Varga v1 -> v2: * Instead of disabling siginfo_t code inside the soft debugger, disable the soft debugger itself. This commi

[Mono-dev] [RFC] Debug messages and eglib

2010-04-03 Thread Andreas Färber
Hello, When debugging, e.g., mono/io-layer/processes.c (s/#undef DEBUG/ #define DEBUG/), there are a lot of g_message invocations, leading to unreadable console output. The following patch helps improve the readability by forcing newlines inside eglib: diff --git a/eglib/src/goutput.c b/egli

Re: [Mono-dev] [RFC 5/8] io-layer: Define makedev for Haiku

2010-04-02 Thread Andreas Färber
oks ok. > > Zoltan > > On Thu, Apr 1, 2010 at 2:27 AM, Andreas Färber > wrote: > This commit is licensed under the MIT X11 license. > --- > mono/io-layer/processes.c |3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/mono/

[Mono-dev] r154669 broke compilation w/eglib

2010-04-02 Thread Andreas Färber
Hello Gonzalo, Your commit "cross-compilation fixes" added $(GLIB_LIBS) to Z_LIBS in support/Makefile.am. http://anonsvn.mono-project.com/viewvc/trunk/mono/support/Makefile.am?r1=154669&r2=154668&pathrev=154669 Since that is already in MPH_LIBS it tries to link libeglib.a twice, leading to d

Re: [Mono-dev] [PATCH 4/8] mini: Add support for BeOS-style signal handlers

2010-04-02 Thread Andreas Färber
Hi, Am 02.04.2010 um 03:09 schrieb Zoltan Varga: This is ok to check in. Thanks, applied to trunk in r154716, with the following Haiku: POSIX is diverse Long road to Real Time Signals Unique Be's handlers One minor change inline. On Thu, Apr 1, 2010 at 2:27 AM, Andreas F

Re: [Mono-dev] Remove bash dependency from a couple of scripts

2010-04-02 Thread Andreas Färber
Hi, Am 01.04.2010 um 18:36 schrieb Robert Nagy: > This is the first bucket of of diffs that are meant to remove the > hardcoded bash depencendy. On !GNU systems bash is either not > installed > or it's path is not /bin. Most of the scripts in mono will just work > with a posix shell so use that

Re: [Mono-dev] [PATCH 2/8] mini: Fix unguarded uses of siginfo_t

2010-04-02 Thread Andreas Färber
it be a better idea to just undef MONO_ARCH_SOFT_DEBUG_SUPPORTED in mini-x86.h instead to keep `mono -V` from pretending it works? Andreas On Thu, Apr 1, 2010 at 2:27 AM, Andreas Färber wrote: Haiku does not support SA_SIGINFO-style signal handlers including the siginfo_t type. This

Re: [Mono-dev] [HaikuPorts-devs] [RFC v2 6/8] serial: Stub implementation for Haiku

2010-04-01 Thread Andreas Färber
Hello François, Am 01.04.2010 um 10:35 schrieb François Revol: > Le Thu, 1 Apr 2010 02:27:57 +0200, Andreas Färber a écrit : >> Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. >> Provide a no-op implementation similar to null-gc. >> > > Agai

[Mono-dev] [PATCH 4/8] mini: Add support for BeOS-style signal handlers

2010-03-31 Thread Andreas Färber
Haiku does not support SA_SIGINFO-style signal handlers but supports a BeOS extension to signal handlers. This commit is licensed under the MIT X11 license. --- mono/mini/ChangeLog |7 +++ mono/mini/mini-x86.h | 18 ++ mono/mini/mini.h |6 ++ 3 files changed

[Mono-dev] [PATCH v2 1/8] configure: Don't hardcode libm dependency

2010-03-31 Thread Andreas Färber
Haiku has math functions in libroot.so and no libm.so. v1 -> v2: * Use autoconf check instead of platform-based switch This commit is licensed under the MIT X11 license. --- configure.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index f

[Mono-dev] [RFC 8/8] configure: Fix linking against eglib

2010-03-31 Thread Andreas Färber
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm and need for libiconv. This commit is licensed under the MIT X11 license. --- configure.in |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index d23d2e3..5c784fc

[Mono-dev] [PATCH v2 7/8] eglib: Fix hardcoded library dependencies for Haiku

2010-03-31 Thread Andreas Färber
Haiku neither has libm nor libdl. On Mac OS X, libm.dylib is just a symlink to libSystem.dylib. Introduce autoconf checks for these libraries. v1 -> v2: * Add checks for libm and libdl. This commit is licensed under the MIT X11 license. --- eglib/ChangeLog|8 eglib/configur

[Mono-dev] [RFC v2 6/8] serial: Stub implementation for Haiku

2010-03-31 Thread Andreas Färber
Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. v1 -> v2: * Provide a separate implementation that might be sourced out as serial-null.c This commit is licensed under the MIT X11 license. --- support/serial.c | 72 ++

[Mono-dev] [RFC 5/8] io-layer: Define makedev for Haiku

2010-03-31 Thread Andreas Färber
This commit is licensed under the MIT X11 license. --- mono/io-layer/processes.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c index b591716..e8f13ef 100644 --- a/mono/io-layer/processes.c +++ b/mono/io-layer/proces

[Mono-dev] [PATCH v4 3/8] Handle lack of SA_SIGINFO

2010-03-31 Thread Andreas Färber
SA_SIGINFO-style signals are part of the optional POSIX XSI (formerly Real Time Signals, RTS) feature. Haiku does not implement it (yet) and goes so far as to not define SA_SIGINFO to indicate lack thereof. In mini, there's MONO_ARCH_USE_SIGACTION as indicator but it doesn't cover all uses of SA_S

[Mono-dev] [PATCH 2/8] mini: Fix unguarded uses of siginfo_t

2010-03-31 Thread Andreas Färber
Haiku does not support SA_SIGINFO-style signal handlers including the siginfo_t type. This commit is licensed under the MIT X11 license. --- mono/mini/ChangeLog |8 mono/mini/mini-x86.c |8 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/mono/mini/Change

[Mono-dev] [PATCH v3 0/8] Port Mono to Haiku/x86, round #3

2010-03-31 Thread Andreas Färber
. Regards, Andreas Andreas Färber (8): configure: Don't hardcode libm dependency mini: Fix unguarded uses of siginfo_t Handle lack of SA_SIGINFO mini: Add support for BeOS-style signal handlers io-layer: Define makedev for Haiku serial: Stub implementation for Haiku eglib: Fix ha

Re: [Mono-dev] Test Suite Failures

2010-03-31 Thread Andreas Färber
Am 26.03.2010 um 14:50 schrieb Andreas Färber: > Current build issue at r154271: > > MCS [moonlight_bootstrap] mscorlib.dll > System/Type.cs(1570,34): error CS1501: No overload for method > `GetType' takes `3' arguments > System.Reflection/MemberInfoSerializ

Re: [Mono-dev] [PATCH 02/10] config: Add support for Haiku

2010-03-30 Thread Andreas Färber
Am 30.03.2010 um 15:03 schrieb Paolo Molaro: > On 03/30/10 Andreas Färber wrote: >> --- a/mono/metadata/mono-config.c >> +++ b/mono/metadata/mono-config.c >> @@ -39,6 +39,8 @@ >> #define CONFIG_OS "aix" >> #elif defined(__hpux) >> #define CONFIG_O

[Mono-dev] [PATCH v2 00/10] Add support for Haiku, round #2

2010-03-29 Thread Andreas Färber
iated. The conversion of the signal macros to functions is not yet done. Is anything wrong with the mono-config patch? Regards, Andreas Andreas Färber (10): configure: Don't hardcode libm dependency config: Add support for Haiku mini: Add support for BeOS-style signal handlers mini: Fix

[Mono-dev] [RFC 09/10] eglib: Workaround hardcoded library dependencies for Haiku

2010-03-29 Thread Andreas Färber
Haiku neither has libm nor libdl. A proper fix would probably be autoconf checks for those libraries. This commit is licensed under the MIT X11 license. --- eglib/src/Makefile.am |2 +- eglib/test/Makefile.am |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eglib/sr

[Mono-dev] [PATCH v2 07/10] console-unix: Compile fix for Haiku

2010-03-29 Thread Andreas Färber
FIONREAD is defined in sys/ioctl.h on Haiku. This commit is licensed under the MIT X11 license. --- mono/metadata/console-unix.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/mono/metadata/console-unix.c b/mono/metadata/console-unix.c index 7280b6f..c33de93 100644 ---

[Mono-dev] [PATCH 04/10] mini: Fix unguarded uses of siginfo_t

2010-03-29 Thread Andreas Färber
Haiku does not support SA_SIGINFO-style signal handlers including the siginfo_t type. This commit is licensed under the MIT X11 license. --- mono/mini/ChangeLog |8 mono/mini/mini-x86.c |8 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/mono/mini/Change

[Mono-dev] [PATCH 02/10] config: Add support for Haiku

2010-03-29 Thread Andreas Färber
Allow using "haiku" in dllmap. This commit is licensed under the MIT X11 license. --- mono/metadata/mono-config.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mono/metadata/mono-config.c b/mono/metadata/mono-config.c index 9145603..8f3b633 100644 --- a/mono/metadata/m

[Mono-dev] [RFC 10/10] configure: Fix linking against eglib

2010-03-29 Thread Andreas Färber
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm and need for libiconv. This commit is licensed under the MIT X11 license. --- configure.in |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index d23d2e3..5c784fc

[Mono-dev] [RFC v2 08/10] serial: Stub implementation for Haiku

2010-03-29 Thread Andreas Färber
Haiku has no full serial support, especially no TIOCOUTQ or TIOCM_*. Provide a no-op implementation similar to null-gc. v1 -> v2: * Provide a separate implementation that might be sourced out as serial-null.c This commit is licensed under the MIT X11 license. --- support/serial.c | 72 ++

[Mono-dev] [RFC v3 05/10] Handle lack of SA_SIGINFO

2010-03-29 Thread Andreas Färber
lows keeping track of oldspace->nursery references for the card table code. -2010-03-26 Andreas Färber +2010-03-26 Andreas Färber * null-gc.c (mono_gc_invoke_with_gc_lock): Fix function name. diff --git a/mono/metadata/console-unix.c b/mono/metadata/console-unix.

[Mono-dev] [RFC 06/10] io-layer: Define makedev for Haiku

2010-03-29 Thread Andreas Färber
This commit is licensed under the MIT X11 license. --- mono/io-layer/processes.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c index b591716..e8f13ef 100644 --- a/mono/io-layer/processes.c +++ b/mono/io-layer/proces

[Mono-dev] [PATCH 03/10] mini: Add support for BeOS-style signal handlers

2010-03-29 Thread Andreas Färber
Haiku does not support SA_SIGINFO-style signal handlers but supports a BeOS extension to signal handlers. This commit is licensed under the MIT X11 license. --- mono/mini/ChangeLog |7 +++ mono/mini/mini-x86.h | 18 ++ mono/mini/mini.h |6 ++ 3 files changed

[Mono-dev] [PATCH v2 01/10] configure: Don't hardcode libm dependency

2010-03-29 Thread Andreas Färber
Haiku has math functions in libroot.so and no libm.so. v1 -> v2: * Use autoconf check instead of platform-based switch This commit is licensed under the MIT X11 license. --- configure.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index f

Re: [Mono-dev] [PATCH 01/12] configure: Add support for Haiku

2010-03-29 Thread Andreas Färber
Am 26.03.2010 um 16:07 schrieb Rodrigo Kumpera: > Patch looks good. Thanks, applied to trunk in r154390 with the following Haiku (cc by): Not Just For Monkeys Common Runtime Is Purpose For Mono To Be > diff --git a/configure.in b/configure.in > index 92c4cf9..5cc7e4e 100644 > --- a/configure.i

Re: [Mono-dev] [RFC 10/12] eglib: Workaround hardcoded library dependencies for Haiku

2010-03-26 Thread Andreas Färber
Hey Miguel, Am 26.03.2010 um 17:15 schrieb Miguel de Icaza: >> A proper fix would probably be autoconf checks for those libraries. > > Right, which is why this patch is unacceptable. > > Because the burden is now on us to maintain these half-cooked patches > and legacy code. Note that some of th

Re: [Mono-dev] [HaikuPorts-devs] [PATCH 01/12] configure: Add support for Haiku

2010-03-26 Thread Andreas Färber
Am 26.03.2010 um 16:48 schrieb Ingo Weinhold: > On 2010-03-26 at 14:29:54 [+0100], Andreas Färber > > wrote: >> cygwin*) >> have_visibility_hidden=no >> +;; >> + haiku*) >> +# at least for G

Re: [Mono-dev] [HaikuPorts-devs] [RFC 09/12] console-unix: Workaround FIONREAD ioctl for Haiku

2010-03-26 Thread Andreas Färber
Hi, Am 26.03.2010 um 15:39 schrieb François Revol: > Le Fri, 26 Mar 2010 14:30:02 +0100, Andreas Färber a écrit : >> This commit is licensed under the MIT X11 license. >> --- >> mono/metadata/console-unix.c |4 >> 1 files changed, 4 insertions(+), 0 deletions

Re: [Mono-dev] Test Suite Failures

2010-03-26 Thread Andreas Färber
Am 25.03.2010 um 16:14 schrieb Jonathan Pobst: > We have accumulated many test suite failures in the past month. If > you > commit to mono, please take the time to regularly check the > buildbots to > ensure you are not breaking things. > > The buildbot results are available here: > http://w

[Mono-dev] [PATCH 03/12] config: Add support for Haiku

2010-03-26 Thread Andreas Färber
Allow using "haiku" in dllmap. This commit is licensed under the MIT X11 license. --- mono/metadata/mono-config.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/mono/metadata/mono-config.c b/mono/metadata/mono-config.c index 9145603..8f3b633 100644 --- a/mono/metadata/m

[Mono-dev] [RFC 08/12] serial: Various workarounds for Haiku

2010-03-26 Thread Andreas Färber
This commit is licensed under the MIT X11 license. --- support/serial.c | 17 + 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/support/serial.c b/support/serial.c index 7968fbb..4cf7fe4 100644 --- a/support/serial.c +++ b/support/serial.c @@ -134,6 +134,9 @@ disc

[Mono-dev] [PATCH 12/12] null-gc: Fix function name

2010-03-26 Thread Andreas Färber
Fixes the build for --with-gc=none. Cc: Mark Probst This commit is licensed under the MIT X11 license. --- mono/metadata/ChangeLog |6 ++ mono/metadata/null-gc.c |2 +- 2 files changed, 7 insertions(+), 1 deletions(-) diff --git a/mono/metadata/ChangeLog b/mono/metadata/ChangeLog i

[Mono-dev] [RFC 11/12] configure: Fix linking against eglib

2010-03-26 Thread Andreas Färber
Apply patch from BNC #389393, adapted for Haiku to cope with lack of libm and need for libiconv. This commit is licensed under the MIT X11 license. --- configure.in |9 +++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index 8b0a5c5..52deebc

[Mono-dev] [RFC 10/12] eglib: Workaround hardcoded library dependencies for Haiku

2010-03-26 Thread Andreas Färber
Haiku neither has libm nor libdl. A proper fix would probably be autoconf checks for those libraries. This commit is licensed under the MIT X11 license. --- eglib/src/Makefile.am |2 +- eglib/test/Makefile.am |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eglib/sr

[Mono-dev] [RFC 09/12] console-unix: Workaround FIONREAD ioctl for Haiku

2010-03-26 Thread Andreas Färber
This commit is licensed under the MIT X11 license. --- mono/metadata/console-unix.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/mono/metadata/console-unix.c b/mono/metadata/console-unix.c index 7280b6f..324c0c1 100644 --- a/mono/metadata/console-unix.c +++ b/mono/me

[Mono-dev] [PATCH 06/12] Handle lack of SA_SIGINFO

2010-03-26 Thread Andreas Färber
SA_SIGINFO-style signals are part of the optional POSIX XSI (formerly Real Time Signals, RTS) feature. Haiku does not implement it (yet) and goes so far as to not define SA_SIGINFO to indicate lack thereof. In mini, there's MONO_ARCH_USE_SIGACTION for this but it doesn't cover all uses of SA_SIGIN

[Mono-dev] [RFC 07/12] io-layer: Define makedev for Haiku

2010-03-26 Thread Andreas Färber
This commit is licensed under the MIT X11 license. --- mono/io-layer/processes.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/mono/io-layer/processes.c b/mono/io-layer/processes.c index b591716..e8f13ef 100644 --- a/mono/io-layer/processes.c +++ b/mono/io-layer/proces

[Mono-dev] [PATCH 05/12] mini: Fix unguarded uses of siginfo_t

2010-03-26 Thread Andreas Färber
Haiku does not support SA_SIGINFO-style signal handlers including the siginfo_t type. This commit is licensed under the MIT X11 license. --- mono/mini/ChangeLog |8 mono/mini/mini-x86.c |8 2 files changed, 16 insertions(+), 0 deletions(-) diff --git a/mono/mini/Change

[Mono-dev] [PATCH 04/12] mini: Add support for BeOS-style signal handlers

2010-03-26 Thread Andreas Färber
Haiku does not support SA_SIGINFO-style signal handlers but supports a BeOS extension to signal handlers. This commit is licensed under the MIT X11 license. --- mono/mini/ChangeLog |7 +++ mono/mini/mini-x86.h | 18 ++ mono/mini/mini.h |6 ++ 3 files changed

[Mono-dev] [RFC 02/12] configure: Don't hardcode libm dependency

2010-03-26 Thread Andreas Färber
Haiku has math functions in libroot.so and no libm.so. A more elegant solution would be an autoconf check for some math function actually used. That would avoid linking against -lm on Mac OS X as well, where libm.dylib is a symlink to libSystem.dylib only. In its present form, the patch does not c

[Mono-dev] [PATCH 00/12] Port Mono to Haiku/x86

2010-03-26 Thread Andreas Färber
the exceptions.exe test with an empty stack trace. Patches are designed to be mostly independent of each other and their order. Please review which ones may be applied and whether you have suggestions for improvements. Thanks! Regards, Andreas Andreas Färber (12): configure: Add support for

[Mono-dev] [PATCH 01/12] configure: Add support for Haiku

2010-03-26 Thread Andreas Färber
This commit is licensed under the MIT X11 license. --- ChangeLog|6 ++ configure.in | 17 + 2 files changed, 23 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9cdabe8..f6bb935 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-03-25

Re: [Mono-dev] [PATCH] Version fix for git

2010-03-26 Thread Andreas Färber
Am 20.03.2010 um 22:54 schrieb Andreas Färber: > When working on a Git repository that was cloned from a git-svn > repo, it is currently displayed as "tarball" in `mono -V`. > > The method used to obtain the git revision info - searching the log > - is independen

Re: [Mono-dev] [PATCH] Version fix for git

2010-03-25 Thread Andreas Färber
Am 20.03.2010 um 22:54 schrieb Andreas Färber: > When working on a Git repository that was cloned from a git-svn > repo, it is currently displayed as "tarball" in `mono -V`. > > The method used to obtain the git revision info - searching the log > - is independen

Re: [Mono-dev] [PATCH] Don't rely on SIGIO

2010-03-22 Thread Andreas Färber
Am 22.03.2010 um 21:24 schrieb Jonathan Pryor: > On Sun, 2010-03-21 at 23:44 +0100, Andreas Färber wrote: >> SIGIO is not part of POSIX, Haiku does not support it. > > You might want to mention that fact in the ChangeLog, otherwise we'll > need to care why SIGIO is s

[Mono-dev] [RFC] Handle lack of SA_SIGINFO

2010-03-21 Thread Andreas Färber
SA_SIGINFO and sigaction are part of the optional POSIX XSI feature. In mini, there's MONO_ARCH_USE_SIGACTION but it doesn't cover everything and it isn't available elsewhere. 2010-03-21 Andreas Faerber * mini-posix.c: Fix the build on platforms without SA_SIGINFO (Haiku). 2010-03-21

Re: [Mono-dev] [PATCH] Add include for fd_set

2010-03-21 Thread Andreas Färber
Am 22.03.2010 um 00:42 schrieb Zoltan Varga: Looks ok. Thanks, applied to trunk in r153962. Andreas Zoltan On Mon, Mar 22, 2010 at 12:30 AM, Andreas Färber > wrote: According to POSIX, fd_set is defined in sys/select.h. http://www.opengroup.org/onlinepubs/9699919799/based

[Mono-dev] [PATCH] Add include for fd_set

2010-03-21 Thread Andreas Färber
According to POSIX, fd_set is defined in sys/select.h. http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html 2010-03-21 Andreas Faerber * debugger-agent.c: #include sys/select.h for fd_set. This commit is licensed under the MIT X11 license. --- Hello, Okay to

Re: [Mono-dev] [Mono-patches] r153961 - trunk/mono/mono/metadata

2010-03-21 Thread Andreas Färber
==== >> --- trunk/mono/mono/metadata/ChangeLog 2010-03-21 18:06:56 UTC (rev >> 153960) >> +++ trunk/mono/mono/metadata/ChangeLog 2010-03-21 18:55:50 UTC (rev >> 153961) >> @@ -1,3 +1,10 @@ >> +2010-03-21 Andreas Färber >> + >> +* so

[Mono-dev] [PATCH] Don't rely on SIGIO

2010-03-21 Thread Andreas Färber
SIGIO is not part of POSIX, Haiku does not support it. map.c contains checks to handle this, but old-map.c doesn't. Its generator no longer exists, so let's insert the check manually. Cc: Jonathan Pryor 2010-03-21 Andreas Faerber * old-map.c: Don't rely on SIGIO being defined. This

Re: [Mono-dev] [PATCH] Handle absence of socket constants

2010-03-21 Thread Andreas Färber
Am 21.03.2010 um 19:31 schrieb Zoltan Varga: Looks ok. Thanks for the immediate response. Applied to trunk in r153961. Andreas Zoltan On Sun, Mar 21, 2010 at 7:19 PM, Andreas Färber > wrote: AF_SNA, AF_DECnet and SOCK_RDM are not part of POSIX, and Haiku does not supply t

[Mono-dev] [PATCH] Handle absence of socket constants

2010-03-21 Thread Andreas Färber
AF_SNA, AF_DECnet and SOCK_RDM are not part of POSIX, and Haiku does not supply them. Check for their presence before using them, as already done for AF_IPX. * socket-io.c: Don't depend on AF_SNA, AF_DECnet, SOCK_RDM. This commit is licensed under the MIT X11 license. ---

[Mono-dev] [PATCH] Version fix for git

2010-03-20 Thread Andreas Färber
Hello, When working on a Git repository that was cloned from a git-svn repo, it is currently displayed as "tarball" in `mono -V`. The method used to obtain the git revision info - searching the log - is independent of git-svn. The patch below thus only checks for a .git subdirectory. Any

Re: [Mono-dev] moonlight

2010-02-16 Thread Andreas Färber
Hello, Am 14.02.2010 um 16:15 schrieb Απόστολος Συρόπουλος: > I would like to know whether there are any plans to make moonlight > available to other platforms. For example, although it is possible > to compile > moonlight on OpenSolaris, still the resulting binaries do not work. At FOSDEM

Re: [Mono-dev] mono 2.6+ : Garbage added to BinaryWriter/GZipStream output?

2010-02-01 Thread Andreas Färber
Am 01.02.2010 um 00:28 schrieb Hin-Tak Leung: > mono-devel-list is just a little slow because my posts needs > moderation. (non-subscriber). For the record, you can subscribe to the list but deactivate message delivery. That way you can avoid moderation of your posts. Andreas __

Re: [Mono-dev] Announcing Mono 2.6 RC1

2009-12-19 Thread Andreas Färber
Hello Andrew, I recently fixed https://bugzilla.novell.com/show_bug.cgi? id=445074#c10 on trunk (DTrace disabled for all platforms while trying to cure old Solaris 10 systems). Who decides whether this should be backported to mono-2-6? From my POV it's a regression in both Mono 2.4 and Mono 2

Re: [Mono-dev] build fails on genmdesc

2009-12-05 Thread Andreas Färber
Hi, Am 04.12.2009 um 21:10 schrieb Zoltan Varga: >The mono build runs executables compiled during the build, like > genmdesc, so I don't > think it will run in scratchbox. When cross-compiling, Mono is supposed to use a Perl version of genmdesc instead. if CROSS_COMPILING GENMDESC_PRG=p

  1   2   3   4   >