[Mono-dev] mono linker - mscorlib.dll

2011-01-07 Thread marcus julius
Hi, I am using monolinker to remove some functionality that I don't want users to have in my embedded mono application.  My application uses two different C# dlls and users can change/replace one of them. However, I don't want them to have file read/write access (ex. to write viruses...). I

[Mono-dev] Embedding Mono - NULL return value in C#

2010-12-15 Thread marcus julius
Hi, I call a c++ function from C# using mono. For instance, [MethodImplAttribute(MethodImplOptions.InternalCall)] extern internal static Object get_ai_behavior_object(int id); When the function returns a NULL object, there is a NullReferenceException. I think it occurs because C# tries to cast

[Mono-dev] mono-Interop with Native Libraries

2010-09-03 Thread marcus julius
Hi, I've just started reading about Interop with Native Libraries in C# and Mono, so before I started doing something I want to ask more experienced people as a last resort. I wanna send a managed class (which extends another class, has another class as a field and some methods) to unmanaged

[Mono-dev] debug embedded mono

2010-08-25 Thread marcus julius
Hi, I have a C++ application that uses C sharp classes which also use C++ functions. Thus, both C++ and C sharp call each other, but main project that I run is C++. The question is how to debug this project? I tried to create a dummy start up C sharp project and call my C sharp code from

[Mono-dev] reloading mono domain or assemblies

2010-08-16 Thread marcus julius
Hi Lucas, you can use mono_domain_create() and mono_domain_unload() just fine from c. In fact, I suspect it's actually easier to do from native code these days. basically what you should do is: create domain set it active load your assemblies run your code when you want to reload code,

[Mono-dev] reloading mono domain or assemblies

2010-08-13 Thread marcus julius
Hi, We are developing a game and using C# and C++ with the help of mono. There are two dlls we use; Dll1 and Dll2. At run-time, I want to change (update) these dlls without restarting the game (which takes a while). Here is the code we use: mono_domain = mono_jit_init(Dll1);

[Mono-dev] reloading mono domain or assemblies

2010-08-13 Thread marcus julius
On 13.08.2010 15:10, marcus julius wrote: Did I make a mistake and/or is there a way to do this? There are 2 ways to reload an assembly: 2) Use app domains which can be unloaded together with their assemblies by design. Thanks for the quick reply. Ok, I know how to do this in C

[Mono-dev] SerialPort and OnDataReceived event

2010-07-30 Thread Marcus Obst
is never raised) My question is now: is there any (technical) reason why this functionality is not implemented in Mono? Are you interested in a patch which might fix this? Best regards from Chemnitz/Germany! Marcus ___ Mono-devel-list mailing list Mono

[Mono-dev] Mono.Simd and Threefish256

2009-10-01 Thread Marcus Griep
to all the folks who've been keeping the Mono.Simd project going. -- Marcus Griep signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman

Re: [Mono-dev] Update C5 to v1.1.0

2009-08-06 Thread Marcus Griep
, Jul 31, 2009 at 1:48 AM, Marcus Griep mar...@griep.us wrote: I did notice these, and I'll go over each of them. I figured that the priority was getting the verbatim upstream ported over and then fixing them since the upstream hasn't been maintained

[Mono-dev] Update C5 to v1.1.0

2009-07-30 Thread Marcus Griep
ending issues when applying this patch. -- Marcus Griep GPG Key ID: 0x070E3F2D —— https://torproj.xpdm.us Ακακια את.ψο´, 3° signature.asc Description: This is a digitally signed message part ___ Mono-devel-list mailing list Mono-devel-list

Re: [Mono-dev] Update C5 to v1.1.0

2009-07-30 Thread Marcus Griep
at 5:49 PM, Marcus Griep mar...@griep.us wrote: I am not attaching the patch here directly because, even gzip'ed, it stands at over 450KB. Instead, it is being hosted at http://wiki.xpdm.us/_media/mono/v1.1.0.patch.gz The library in general

[Mono-dev] [PATCH] Change Mono.C5 from common lib to net_2_0 lib

2009-07-17 Thread Marcus Griep
files being built into an uninstalled library in the net_1_1 profile. This patch cleans up the Mono.C5 build by moving it to the net_2_0 profile and removing the now unnecessary #ifdef guards. -- Marcus Griep GPG Key ID: 0x070E3F2D —— https://torproj.xpdm.us Ακακια את.ψο´, 3° Index: class/Makefile

[Mono-dev] [PATCH] Squash 444388 and catch miss on 323096

2009-07-09 Thread Marcus Griep
, and also fixes a bug introduced by the fix to 323096 (which caused incorrect resolution in similar cases). As well, it adds two additional test cases to the test suite to prevent future regressions. If that's too succinct, let me know, and I'll respond more fully to the list. -- Marcus Griep GPG Key

[Mono-dev] Integrating Mono.Simd into Mono.Math, Mono.Security

2009-06-08 Thread Marcus Griep
Hello all, First, by way of introduction, I'm Marcus Griep, a .NET/Mono developer for some time now, and a contributor to such projects as Boo, C5, and git. In a sort of scratch-my-own-itch style, I'm looking to speed up the computationally time consuming steps of BigInteger math by using

Re: [Mono-list] C/C++ Compiler for Mono environment?

2005-12-27 Thread Marcus
I've googled, but I don't find any info on C or C++ compilers that target the CLR. I did find a couple of partial results, but nothing that actually seems to work. Is there a working C/C++ Compiler for Mono? (Other than MSFT VS) Do you need something that will compile C and C++ or

Re: [Mono-list] What about the new GC?

2005-12-15 Thread Marcus
I can't answer the question about when Mono will have a precise garbage collector, but I think that you might be confusing several issues involving garbage collection. The current Boehm GC is designed so that it will work in environments that traditionally do not use garbage collection, such

Re: [Mono-dev] 64 bit time

2005-12-05 Thread Marcus
When I got my new motherboard and processor (AMD64), I just built from the source tarball for the latest release. Then I updated to the latest SVN version after that. I also use --libdir=/usr/local/lib64, as I do for all my 64-bit libs, but Mono's platform independent libs (managed DLLs) still

[Mono-list] JIT Developers Grants Offered

2005-11-22 Thread Marcus
DotGNU opens 2 grants of $4500 each: one grant for work on libJIT, a library to make JITs, another to implement a JIT with libJIT in Portable.NET. The money will be divided in proportion to all contributors to each project according to their work on the project. The percentage of participation

Re: [Mono-dev] how to improve mono performance

2005-11-17 Thread Marcus
From the measurements I've taken, MS .NET is generally 2 to 3 times faster than Mono, both using micro-benchmarks and applications that do real work. I would also point out that your .NET test was on MS, whereas your Mono test was on Linux. Exception-handling on MS is thought to be very slow.

[Mono-list] XSP Configuration

2005-11-08 Thread Marcus Deluigi (intern)
does 10_asp.net-examples has this 10_ prefix? I tried to port a ASP.NET Application from IIS to Debian, but whenever I call another file than default.aspx, I get HTTP 401 (Unauthorized). How can I grant access to all files to everyone? Greetings, Marcus

[Mono-dev] System.DLL

2005-11-06 Thread Marcus Deluigi (intern)
assistance. Greetings, Marcus ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list

Re: [Mono-list] Re: Questions in Interop

2005-10-04 Thread Marcus
The Mono layout looks similar to IBM's JVM, but not to Sun's reference implementation. For ordinary objects in Sun's reference implementation, the first field contains a pointer to a header. The first element of the header points to the instrance variables. The second element of the header

Re: [Mono-list] Re: On Mono and Patents ... again

2005-10-01 Thread Marcus
These issues about patents could be said about every piece of software out there. On Saturday 01 October 2005 3:46 pm, Ralf Reiterer wrote: This kind of thread seems to pop up quarterly or semiannually. I long for a mono-fud or mono-patents or some such mailing list to keep this from

Re: [Mono-list] Re: On Mono and Patents ... again

2005-09-30 Thread Marcus
This kind of thread seems to pop up quarterly or semiannually. I long for a mono-fud or mono-patents or some such mailing list to keep this from cluttering the main list. On Friday 30 September 2005 8:20 am, Robert Jordan wrote: It's really useless to talk about patents. It's even unclear

Re: [Mono-list] C# 3.0

2005-09-20 Thread Marcus
Most of the features look like solutions in search of a problem, especially implicitly typed local variables and object and collection initializers. I have used languages that do have these features, and I really do not miss them in C#. Some of the other features like lambda expressions and

Re: [Mono-list] Mono on AMD64

2005-08-17 Thread Marcus
I filed a bug report: http://bugs.ximian.com/show_bug.cgi?id=75839 On Wednesday 17 August 2005 8:56 am, Miguel de Icaza wrote: I think I fixed my problem. This is going to sound strange, and I cannot explain exactly why this behavior occurred. I just hope that it helps someone who is

[Mono-list] Mono on AMD64

2005-08-15 Thread Marcus
Is there some special trick to getting Mono to run on AMD64? I downloaded and built mono-1.1.8.3 on SUSE 9.3 x86_64. Attempting to run mono apps like mcs (even with no parameters) just results in Mono's consuming lots of CPU time. ___ Mono-list

Re: [Mono-list] Mono on AMD64

2005-08-15 Thread Marcus
not like having the old ~/.wapi around. I guess that's why the SUSE 9.3 RPM worked all right, but I'm not really sure. On Monday 15 August 2005 11:41 pm, Marcus wrote: Is there some special trick to getting Mono to run on AMD64? I downloaded and built mono-1.1.8.3 on SUSE 9.3 x86_64. Attempting

[Mono-list] mcs compiler options

2005-08-09 Thread Marcus
When invoking mcs, I have noticed that non-csc variants of options, such as -o instead of -out: now produce a warning. Is there a timeline for eliminating those old-style options from mcs? ___ Mono-list maillist - Mono-list@lists.ximian.com

Re: [Mono-devel-list] Guidelines: Application Deployment; Feedback requested.

2005-06-26 Thread Marcus
I remember that MSBuild originally did not use the GAC. Then they changed their minds. A brief summary of the situation is given in http://channel9.msdn.com/wiki/default.aspx/MSBuild.MsbuildAssembliesInTheGac. I do wish that they had elaborated on the problems that putting the assemblies in the

Re: [Mono-devel-list] MSBuild implementation and Google Summer of code

2005-06-13 Thread Marcus
MS's implementation does not use the XmlSerializer class to read and parse the project build files. I have not been able to find detailed information about many aspects of MSBuild. Some of the big picture items are covered in articles, but there are many methods those precise effect is not

Re: [Mono-devel-list] Contribution to MSBuild

2005-05-02 Thread Marcus
marcus, i am not very familiar with MSBuild as yet... but have decided to look into it asap. Regarding documentation of microsoft.build.* namespaces... you might want to have a look at the vs2005 documentation at http://msdn2.microsoft.com/library/ms123457(en-us,vs.80).aspx hope that helps

Re: [Mono-devel-list] export C issues

2005-04-30 Thread Marcus
within the 3.x series of GCC there have been changes to mangling (due to misinterpretations of the mangling documentation, as far as I know). Marcus On Saturday 30 April 2005 10:42 pm, Mongoose wrote: I have confirmed it. C export won't work with DllImport. C# [DllImport

Re: [Mono-list] Mono licence

2005-03-19 Thread Marcus
This issue comes up every few months. If everyone quit distributing software because of fear that the software *might* infringe on someone's patent, nothing would ever get distributed. Also, even if MS were to agree not to enforce any patents that Mono might violate, that does not mean that

[Mono-devel-list] Mono tested on CLI-Grande

2005-03-16 Thread Marcus
items work correctly or the best format. Mono hacker types seem to read OO.org spreadsheet, so I'll try that initially. If anyone cannot get it or wants CSV, let me know. I'm looking for an online copy, but the author of the program seems to have let his domain name expire. Ouch! Marcus

Re: [Mono-list] Computer Language Shootout Benchmarks

2005-03-11 Thread Marcus
On the benchmark tests like CLI-Grande (port of Java-Grande), Scimark, and so forth, I have not seen an overall speed increase in approximately the past year. I suspect that on average, Mono 1.1.4 will not be any faster than 1.0.6. In fact, with -O=all, recent releases are actually slower than

Re: [Mono-list] random numbers

2005-03-01 Thread Marcus
Look in the class System.Random. On Tuesday 01 March 2005 10:43 pm, Thomas E. Vaughan wrote: Browsing through the mono documentation, I did not stumble upon a random number generator. Is there a good random number generator available in the mon-1.1.4 distribution?

[Mono-list] Problem converting a string to double

2004-12-29 Thread Marcus Vinicius Eiffle Duarte
behavior? Or the environmental locale should really affect the internal conversion? Thanks in advance, Marcus Vinicius P.S.: The demo code is below (with NumberFormatInfo) : // created on 28/12/2004 at 13:34 using System; using System.IO; using System.Text.RegularExpressions; using System.Globalization

Re: [Mono-list] How to start a non mono program

2004-12-22 Thread Marcus
Use System.Diagnostics.Process.Start(). You will most likely want to use one of the variations that uses an instance of ProcessStartInfo. Here's one example: /*! Invokes the C++ compiler to compile the given file. The output filename is specified as objectFile.

Re: [Mono-list] StringDictionary Class

2004-11-25 Thread Marcus
Short version: The Item property is really an indexer, which permits array-like access to the data structure. For example, code fragment below should print ``Apple'': StringDictionary dict = new StringDictionary(); dict.Add(a, Apple);

Re: [Mono-list] C#/Mono Serial port communication

2004-11-24 Thread Marcus
I'm not sure if Mono provides its own version of such a class. It appears that .NET 2.0 will add a System.IO.Ports namespace to provide support for serial ports. I do not see such a namespace in current SVN (subversion) for Mono. If there is not yet a working version, it might be a nice idea

Re: [Mono-list] Newbie question: GUI choice

2004-11-09 Thread Marcus
Qt# is not going very quickly, but it is not dead. On Tuesday 09 November 2004 11:00 am, Christian Convey wrote: Qt# looks like its going nowhere. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Custom Marshalling

2004-10-28 Thread Marcus
and explained any problems with in, out, and ref parameters separately, I could better understand. Marcus On Thursday 28 October 2004 1:12 pm, [EMAIL PROTECTED] wrote: I've implemented some custom marshalling for an external call so that the parameters being sent gets massaged as required by the external

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-17 Thread Marcus
that needs to perform a large number of three-way decisions like this. Marcus On Sunday 17 October 2004 9:45 am, Paolo Molaro wrote: We may add the code to turn a switch with less than 3-4 destinations to a if/else sequence, but I'm not sure if this is really a speed problem in practice

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-16 Thread Marcus
On Saturday 16 October 2004 3:53 am, Michal Moskal wrote: No, I don't think that it's a completely a runtime issue. There are at least three fundamentally-different mechanisms for handling a switch statement, including hashing, binary search, and a linear if/else. With CIL, there is the

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-16 Thread Marcus
On Saturday 16 October 2004 7:20 am, Mike Welham wrote: Yes, and in fact, according to the CLI spec, it is difficult for the JIT to determine whether the a tail call can be used when the ldloca and ldarga instructions are involved. I must admit that I do not quite understand how ldloca and

Re: [Mono-list] [Off-topic] if else or switch ?

2004-10-15 Thread Marcus
Performance will depend on both the C# compiler used and the runtime/JIT. I have not tested four-way decisions, which is what you have, but I did test three-way decisions not too long ago. With Mono's C# compiler + mono runtime, if-statements were about 3 times faster than switch.

Re: [Mono-list] How many strings do I have?

2004-10-07 Thread Marcus
On the subject of switches on strings, I tested how mcs and the Mono runtime performed. Specifically, I tested the code that mcs produces for switches on strings versus nested if-statements for a three-way decision. The if-statement version was substantally faster (about 3-5 times, as I

Re: [Mono-list] Indirect calling

2004-09-25 Thread Marcus
It might want to look into delegates. They're an object-oriented equivalent to function pointers. On Sunday 26 September 2004 12:13 am, Eric Damron wrote: I'm looking for a way to execute a function indirectly but I'm not sure that C# supports this. I'm just learning C# so please don't be too

Re: [Mono-list] Memory Allocation in unmanaged code

2004-09-06 Thread Marcus
I do not know what shared library you are invoking, so I haven't been able to test this with the actual shared lib. Inside, I wrote a skeleton C lib that fills in the structure when called. If I change the C# declaration of CupsPrinterStruct from a struct to a class, it works. On Friday 03

Re: [Mono-list] Separate Files

2004-08-28 Thread Marcus
With the original C# standard, no, you can't, but C# 2.0 supports dividing the class into several files at including the keyword partial in the class declarations. On Saturday 28 August 2004 9:16 pm, Eric Damron wrote: I just started using mono, C# and monodevelop so forgive the beginner

Re: [Mono-list] popt

2004-08-26 Thread Marcus
I'm not sure about popt. There is a somewhat different package for handling options in the Mono.GetOptions namespace. It handles parsing options by attaching attributes to fields/properties that correspond to options and using reflection at runtime to set them. On Thursday 26 August 2004

Re: [Mono-list] popt

2004-08-26 Thread Marcus
I'm not sure if Mono.GetOptions is compiled by default. If you're building from source, you can do a make in Mono.GetOptions directory. The resulting assembly to be installed is Mono.GetOptions.dll. On Thursday 26 August 2004 10:18 pm, Rob Brown-Bayliss wrote: But I cant find any mention of

Re: [Mono-list] Problem using p/invoke on mono 1.0.1

2004-08-23 Thread Marcus
I think that the problem has to do with some changes that were made to Mono regarding its handling of strings as return types from P/Invoke method. Behind the scenes, a char* is being returned, and the runtime converts the char* into a System.String. In addition, MS.NET calls CoTaskFree() on

Re: [Mono-list] Custom marshalling

2004-08-05 Thread Marcus
Unfortunately, UnmanagedMarshal.DefineCustom is a Mono-only class and not part of .NET. The normal .NET mechanism is to create a custom attribute using CustomAttributeBuilder to obtain an instance of MarshalAsAttribute with the custom marshaler specified. That does not seem to work under Mono.

Re: [Mono-list] Cross-platform GUI.

2004-07-25 Thread Marcus
Qt is Free on Mac. On Sunday 25 July 2004 1:54 pm, Daniel Carrera wrote: Thanks. Am I wrong, or is Qt not free under Windows and Mac? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

Re: [Mono-list] Documentation page down

2004-07-17 Thread Marcus
That one also fails: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, [EMAIL PROTECTED] and inform them of the time the error occurred, and anything you might have done that

Re: [Mono-list] Strict evaluation

2004-07-16 Thread Marcus
Are you talking about not using short-circuiting? Short-circuit evaluation is part of the standard behavior of the and || operators. If you're looking for something that evaluates both (not sure why), you can use or |. On Friday 16 July 2004 1:55 am, Juergen Moeller wrote: Hi, is there a

Re: [Mono-list] Re: Bootstrapping

2004-07-08 Thread Marcus
Pnet's cscc can compile mcs itself, if you use make BOOT_COMPILE=cscc. Mono's corlib still causes a few problems, which actually seem to be related to issues with the response files. On Wednesday 07 July 2004 11:39 pm, Iain McCoy wrote: The components written in c# were initially compiled on

Re: [Mono-list] Using qt#

2004-07-07 Thread Marcus
/local/lib by default. You can use the MONO_PATH to set where the runtime looks for libs. See the mono manpage. Marcus On Wednesday 07 July 2004 5:59 pm, Paul wrote: Hi, I've compiled qt# from sourceforge and installed it into /usr/local/lib. How do I link it to source code? mcs -r: Qt just

Re: [Mono-list] Re: Bootstrapping

2004-07-07 Thread Marcus
I have to quote from the page http://gcc.gnu.org/install/prerequisites.html: ``Tools/packages necessary for building GCC ``ISO C90 compiler Necessary to bootstrap the GCC package, although versions of GCC prior to 3.4 also allow bootstrapping with a traditional (KR) C compiler. ``To make

Re: [Mono-list] PInvoke Marshaling problem

2004-07-04 Thread Marcus
I reported this bug a couple days ago: http://bugs.ximian.com/show_bug.cgi?id=61134 On Saturday 03 July 2004 4:06 pm, Kai Reichert wrote: Hi! I want to pass an array of bytes to a method compiled in c/c++. The first naiv method works and looks like this : - - xx.c

Re: [Mono-list] Re: P/Invoke IntPtr versus byte[]

2004-07-03 Thread Marcus
I was writing my reply, saying that you probably pasted the wrong method signature. Is there some particular reason that you do not know the type in advance? It would be easier if you could do that because you would then be able to write a precise signature for the P/Invoke method. By the

Re: [Mono-list] Bootstrapping

2004-07-03 Thread Marcus
The DLLs are not DLLs in the sense of binary shared libraries for Windows. The files in mono/runtime are CLI/.NET assemblies (libraries, in this case). The mono.tar.gz file contains prebuilt mcs.exe and DLLs. Once you have the prebuild versions installed, you can download mcs.tar.gz and build

[Mono-list] Mono xsd invocation problems

2004-07-02 Thread Marcus
Invoking Mono's xsd program seems to have a serious problem in that it's impossible to specify a path to the .xsd file. Instead, one must invoke in xsd from the directory that contains the .xds file. Attaching to specify a path results in errors: xsd /home/marcus/Schemas/file.xsd /classes

Re: [Mono-list] Casting and Plugin Issue

2004-06-27 Thread Marcus
I think that you need to put IPlugin in the shared assembly (that the main program and plugins both references). On Sunday 27 June 2004 9:19 pm, Pablo Fischer wrote: Hi! I don't have any other idea, but I thought that maybe instead of doing: snip my_method = t.GetMethod(MGetPosts);

[Mono-list] CLI-Grande Test Results

2004-06-09 Thread Marcus
I recently obtained a copy of the CLI-Grande benchmark suite, which is a port of Java-Grande. It is available from CVS at :pserver:[EMAIL PROTECTED]:/cvs. Check out module cli-grande. I wanted to post the results in case anyone was interested. I observed that using full optimization (-O=all)

Re: [Mono-list] CLI-Grande Test Results

2004-06-09 Thread Marcus
I think that the idea is to test overall performance, independent of JIT time. When real users run the applications, the JIT time is part of the performance issue. The results are available at http://mylinuxisp.com/~mathpup/results.sxc I tried to attach them to the email, but that did not seem

[Mono-list] CLI-Grande Test Results

2004-06-07 Thread Marcus
I recently obtained a copy of the CLI-Grande benchmark suite, which is a port of Java-Grande. It is available from CVS at :pserver:[EMAIL PROTECTED]:/cvs. Check out module cli-grande. I wanted to post the results in case anyone was interested. I observed that using full optimization (-O=all)

Re: [Mono-list] InteropServices: DllNotFoundException...?

2004-05-24 Thread Marcus
I ran a short test, and it appears the Mono runtime still does not free strings returned from P/Invoke methods. Do you know if there is a bug report about this? I did a query and could not find one. I was not sure about Mono's behavior, so I wrote a short test case, which I can file with the

Re: [Mono-list] What is the best way to ...

2004-05-24 Thread Marcus
Process.Start() is the portable way to do this. On Monday 24 May 2004 12:47 am, Peter Foley wrote: call a Unix command or shell file from Mono? Should I use PInvoke or Process.Start? Something else? ___ Mono-list maillist - [EMAIL PROTECTED]

Re: [Mono-list] How to use the Boehm garbage collector

2004-05-03 Thread Marcus
With Mono and Boehm GC, the collector never compacts the heap. I think that's why your memory usage does not decrease. (More sophisticated collectors like MS.NET, various LISP systems, Modula-3 do compact the heap by moving object references during collections.) Also, my general obsevation for

[Mono-list] Mono + GCC 3.4

2004-05-01 Thread Marcus
I recently upgraded to GCC 3.4. Any idea why I get errors like make[2]: Entering directory `/home/marcus/src/mcs/jay' cc -DSKEL_DIRECTORY=\/usr/local/share/jay\ -g -O2 -c -o closure.o closure.c In file included from closure.c:41: defs.h:306: warning: conflicting types for built-in function

Re: [Mono-list] Mono + GCC 3.4

2004-05-01 Thread Marcus
(31) error CS0246: Cannot find type `yyParser.yyInput' On Saturday 01 May 2004 3:09 am, Marcus wrote: I recently upgraded to GCC 3.4. Any idea why I get errors like make[2]: Entering directory `/home/marcus/src/mcs/jay' cc -DSKEL_DIRECTORY=\/usr/local/share/jay\ -g -O2 -c -o closure.o closure.c

Re: [Mono-list] Re: The Mauve unicode testcase and VM performance

2004-04-13 Thread Marcus
I get almost identical results overall on SciMark with AOT and JIT compilation. The overall results are 97.0 MFlops (JIT) versus 95.4 MFlops (AOT). Some subtests are faster with JIT; some are faster with AOT. This difference is less than what I see from week to week comparing JIT-to-JIT, as

Re: [Mono-list] foreach issues

2004-04-10 Thread Marcus
The collection sizes and run times are so small that I question whether this is a valid comparison. As the size of the collection increases, some of mechanisms become much, much slower. For example, with 40,000 instead of 1000 elements, I get the times foreach list: : 00:00:00.1349930

Re: [Mono-list] I give up

2004-04-08 Thread Marcus
On Thursday 08 April 2004 1:31 am, Michael J. Ryan wrote: Also have to mention that GTK# can be used on the windows side. First Qt was bad because it wasn't GPL. Now it's bad because it's GPL. I don't get it. ___ Mono-list maillist - [EMAIL

Re: [Mono-list] I give up

2004-04-08 Thread Marcus
On Friday 09 April 2004 1:35 am, George Farris wrote: Nonsense. Mono and Gtk# work extremely well today. I know, I've built a fully functional app (Gfax) and all one has to do is look at a few other apps such as F-Spot, Muine, Monodoc and Monodevelop to realize this. If someone would actually

[Mono-list] Agent for Service

2004-04-07 Thread Marcus
Who is Novel/Ximian's agent for service in Houston, TX? ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

[Mono-list] I give up

2004-04-07 Thread Marcus
After trying to work with Mono, Portable.NET, Qt, and KDE, I've realized that I'm fighting a battle that I cannot win. Mono supports Gtk# (and GTK+) to the exclusion of any other platform. Portable.NET is behind their own SWF implementation, but at least they are a bit more agnostic. The Qt/KDE

Re: [Mono-list] Starting processes with parameters from Mono 0.31 and mono-0.31.99.20040331

2004-04-04 Thread Marcus
Are you using Windows or Linux? As I understand UseShellExecute, when set to false, Process.Start() will treat the filename as a binary image and attempt to execute it directly. This is really the only option that makes sense under vanilla Unix. On Windows, when UseShellExecute == true, it

Re: [Mono-list] About performance

2004-03-23 Thread Marcus
On SciMark, the performance drop is much worse, with Mono taking about 2.2X long as .NET. On Tuesday 23 March 2004 7:06 pm, Philippe Lavoie wrote: Simple inquiry here, I have a program which takes 20 seconds with .NET from Microsoft and it takes 28 seconds on mono (both run are made inside

Re: [Mono-list] GUI, threads, etc...

2004-03-15 Thread Marcus
On Monday 15 March 2004 10:52 pm, Jonathan Pryor wrote: A *direct* equivalent to fork(2)? No. The nearest equivalent is System.Diagnostics.Process, which is a fork(2)/exec(3) equivalent. (Minor side question: what would happen if you P/Invoked out to fork(2) in libc.so? Is it safe for

[Mono-list] Mono logo

2004-03-15 Thread Marcus Brenneman
The scalable logo provided with Mono seems to have been generated from the raster one, and is of such low quality that it's practically non-scalable. I've taken the liberty of creating a scalable (vector) version of the logo from scratch; I sincerely hope that something like it replaces the

Re: [Mono-list] How to create C++ library and call it's functions from C# program?

2004-03-11 Thread Marcus
On Friday 12 March 2004 12:14 am, Jonathan Pryor wrote: 2. C++ compilers use a technique called name mangling, so that you can have function overloads. For example, your print (const char*) function is *actually* the linker symbol: The right way is to instead tell the C++ compiler to

Re: [Mono-list] How to create C++ library and call it's functions from C# program?

2004-03-11 Thread Marcus
On Friday 12 March 2004 1:16 am, Jonathan Pryor wrote: Finally, it can be noted that the intermediate C library, and a C# wrapper for the C library, can be automatically generated (with some programmer assistance). See the SWIG project: I've looked at SWIG, and found it unsatisfactory. The

Re: [Mono-list] Platform comparison

2004-03-08 Thread Marcus
Some editions of the Rotor and MSDN docs have errors with regard to directory separator characters. I've seen at least once instance where the errors are fixed, however. On Tuesday 09 March 2004 12:57 am, Jonathan Gilbert wrote: The character stored in this field cannot be in

Re: [Mono-list] Bug related to operator += and instance fields

2004-02-21 Thread Marcus
It appears to be a mono runtime bug. Note that it disappears with -O=all or using the Mono interpreter (mint) instead. I filed a bug report: http://bugs.ximian.com/show_bug.cgi?id=54710 ___ Mono-list maillist - [EMAIL PROTECTED]

Re: [Mono-list] Reflection...

2004-02-20 Thread Marcus
I think that this is an mcs bug. I think I narrowed it down to mcs's mark handling the custom attribute correctly. I filed a bug report for you. http://bugs.ximian.com/show_bug.cgi?id=54679 On Friday 20 February 2004 2:06 pm, Giuseppe Greco wrote: Hi all, since const fields are implicitly

Re: [Mono-list] evangelizing mono

2004-02-16 Thread Marcus
Also, I know that this is getting a bit off-topic, but as I recall, even old-fashioned OS's like VMS used special extensions for executables. (Did VMS used .COM or something else?) On Monday 16 February 2004 4:25 pm, Gustavo Ramos wrote: If someone gets irritated with the .exe extension,

[Mono-list] Re: Executing mono program: was evangelizing mono

2004-02-14 Thread Marcus
AFAIK, you can use whatever filename you want for the executable. It does not have to end in .exe (at last with Mono). What's more, the Linux kernel called binfmt-misc, which allows running programs under Mono as though they were native binary executables. Here's a link to a script that does

Re: [Mono-list] Double-buffered graphics solutions in mono

2004-02-12 Thread Marcus
It is also possible to use double-buffered display in Qt#. See ScribbeWindow for an example. On Thursday 12 February 2004 12:26 pm, Stuart Ballard wrote: I'm looking for a way to do a simple double-buffered graphics display that will work with Mono on Linux. I know how to do it (at least so

Re: [Mono-list] unicode trouble

2004-02-09 Thread Marcus
As I recall, when the CM3 Modula-3 compiler added support for unicode, they used a hybrid scheme where TEXTs (their equivalent of System.String) can contain both 8-bit and 16-bit chars. So only the portions of the string that require more than 8 bits use it. Something similar could be done with

Re: [Mono-list] Maths

2004-02-09 Thread Marcus
By the way, the more usual method of rounding *is* used when rounding occurs as a result of a format-string conversion, which results in such surprising output: Console.WriteLine({0:n0}, 2.5 ); // prints 3 Console.WriteLine( Math.Round(2.5) ); // prints 2 On Monday 09

Re: [Mono-list] Handling file paths for different operating systems

2004-02-07 Thread Marcus
I'm not sure that I understand your question. The class Path defines things like DirectorySeparatorChar, GetDirectoryName(), GetFileName(), and so forth. You might peek around in there and see if anything looks promising. On Saturday 07 February 2004 2:20 am, Timothy Parez wrote: Hi, I'm

[Mono-list] Problem with String.Replace

2004-02-01 Thread Marcus
I did want to point out a bug that I posted to Bugzilla because of its potential severity: When calling String.Replace on a string, the comparison seems to be done on a case-insensitive basis. For example, in the test program: using System; public class Testing { private static void

[Mono-list] Cairo dependency issues and Xft

2003-10-31 Thread Marcus
I wanted to mention this in case anyone else runs into this problem. Cairo was recently added to Mono as a dependency. (If Cairo were detected and its use disabled when not present, I might call it an *optional* dependency, but this is not the case. One of the (recursive?) dependencies of

[Mono-list] Re: [DotGNU]pnet/mono packaging conflicts

2003-10-21 Thread Marcus
Doesn't a similar situation exist with the various Java installations available. It is not uncommon to have several implementations or versions of Java installed (i.e. IBM 1.3.1, Sun 1.4.x, etc) for compatability testing and so forth. Not being a Java developer, I don't know how this is handled

[Mono-list] FUCK OFF AND DIE

2003-08-31 Thread Marcus
FUCK YOU MONO ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list

  1   2   >