What's the difference between --aot=full and mkbundle? --aot=full looked
like it should produce a single binary as well..
--aot=full merely compiles all the code natively, much more than regular
--aot does, including all sorts of extra methods that the engine believes
you might need.
This
Let me suggest a simpler solution.
You write your FindMethod routine in C#. Then you invoke that well-known
method from C to do the lookup for you.
Miguel
On Thu, Oct 27, 2011 at 7:23 PM, Jonathan Shore jonathan.sh...@gmail.comwrote:
I want to call arbitrary methods on C# / mono classes
Hello,
I would like to know if the page about workflow in mono
http://www.mono-project.com/Workflow is up to date or the support to WF
has been improved in latest versions.
Thanks in advance.
Workflow has not been worked on in some 3-4 years.
If someone were to start work on that, they
OK so it's not an architectural reason. If Byte doesn't work for me I can
take a crack at implementing Message.
Welcome to the team!
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
If not, are there any workarounds to achive something similar, e.g.
Linux permissions/ SE Linux ?
You could use something like AppArmor to create a custom sandbox that would
only give the user access to files that you have explicitly flagged as being
OK.
To prevent P/Invoke from working,
Hello,
Tom filed recently a bug against Mono that boils down to Mono calling
the finalizer for COM objects in the finalizer thread, which is something
that most COM applications are not expecting.
His solution is to extend the .NET API to do this, which is not going
to work for Mono.
Thanks. That’s actually what I’m trying to do now, but Ubuntu in
particular lists this as a ‘critical’ component and warns that upgrading
will potentially break many things! I tried Ubuntu 11.x, but mono in it
seems broken as the apps I’m using happily on 10.4LTS don’t work at all with
all
Hello Jerry,
F_script (http://www.fscript.org/) has a rather clever class browser
that lists classes, methods etc via the Objective-C runtime. Might it
possible to use the same approach to automate the generation of MONO
Cocoa bindings using the same technique? The runtime has a C API, is
Keeping in mind that .NET in general has many more users than Mono does, I
do not understand why the Mono team is sometimes reluctant to break
backward
compatibility with older Mono versions.
Because we are not a perfect 1:1 match to the .NET universe, and our loyalty
is to the users that
Hello,
I was wondering if there was any movement on these bugs? I noticed all of
the
bugs have been mostly untouched since being reported. Is the plan just to
be
inconsistent with Silverlight on OSX?
Mono existed before Silverlight for OSX existed, and unlike Silverlight for
OSX, it has no
Hello Yves,
Switch to teh aborted thread, and get a managed stack trace.
To get that stack trace, follow the instructions on how to get
mono_backtrace from:
http://www.mono-project.com/Debugging
On Thu, Aug 18, 2011 at 3:22 PM, Yves Goergen
nospam.l...@unclassified.dewrote:
On
Hey guys,
I would love to ship mod_mono on OSX enabled by default, with the proper
settings to let users use ASPX directly from their ~/Sites directory. The
good news is that mod_mono compiles out of the box, with no changes.
It seems that our installer places things in the wrong place
Hello,
Where has the Gtk# API documentation gone. It is no longer available at
http://www.go-mono.com/docs/. In fact the whole gnome# tree has
disappeared.
We have been migrating the servers to their new home, and there have been a
few kinks to sort out during this process.
The APIs are now
Well, please do tell us what we can do to help put the documentation back.
When you find a problem, in general, use Bugzilla. That is where we are
tracking problems.
Sadly, monitoring the mailing list has taken a secondary priority as we get
Mono back up and running.
Miguel
Hello guys,
The MonoMac addin has been update with fixes for Lion on MonoDevelop
2.4, you can get it by picking the update if you have it installed.
Are people running other versions of MonoDevelop with the MonoMac
addin? If so, which versions?
Miguel
I suspect that this is being driven mostly by Xamarin's upcoming MonoTouch
killer. They must be using MacCore to share code between MonoMac and
Xamarin
for iOS just like Novell did. Not a big surprise.
Right.
We had to fork maccore into a private repository to add the iOS5 and Lion
Hello folks,
Some of you have been asking about the upcoming release of Mono 2.12.
We hit a little bit of a bump in the road with the layoff of the Mono
team, but we have now re-constituted the team at Xamarin and we are getting
back to speed. Our first priority at Xamarin is to ensure
Hello folks,
Some of you have been asking about the upcoming release of Mono 2.12.
We hit a little bit of a bump in the road with the layoff of the Mono
team, but we have now re-constituted the team at Xamarin and we are getting
back to speed. Our first priority at Xamarin is to ensure
Can you include the old and ancient releases of mono too?
Yes.
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
I am more concerned on when mono 3.0 will be released. As we know, about
performance, mono still has a long way to go. The gc and socket performance
improved significantly but not enough..
Mono 3.0 will be released when it is ready.
We have suffered a slight schedule setback, and the next
I do hope that Xamarin will also offer Mono for Mac OS X, Linux and Windows
like Novell did before.
We will continue to package Mono for various platforms, yes.
That being said, now more than even, we need developers from multiple
distributions to package Mono. See the packaging list for
Hey guys,
I just posted this on my blog:
We are getting flooded with paid support requests for
Mono. Developers looking for us to fix bugs in Mono, to do
some custom work, to port applications, libraries and adjust
Mono for some specific needs.
But
Hey guys,
I just posted this on my blog:
We are getting flooded with paid support requests for
Mono. Developers looking for us to fix bugs in Mono, to do
some custom work, to port applications, libraries and adjust
Mono for some specific needs.
But
For the sake of throwing it out there, Mono used to run on Wrench,
written by Rolf, and I hosted the wrench server for moonlight free of
charge for the last few years. I'm happy to do that indefinitely
going forward on the same server if the community wants to go that
way.
I would love to
Hey guys!
We would love to hire someone that (a) Loves Mono, and (b) would love
to work with us build, package and release Mono in assorted forms and
shapes, including our MonoTouch and MonoDroid products.
Ideally, you would be based in Boston or San Francisco.
If you are
Hello Alex,
I'm hoping this project could become an official part of the Mono
project. I realize that with the dependencies it has, including it in
the Mono repository itself would be problematic. Would it be possible
for it to have a repository under the Mono organization? Furthermore,
if it
Hello Alex,
I've been working on a command line interface to Mono's soft debugger
recently; I call it sdb-cli. It's going to be very similar to gdb and
.NET's mdbg. It currently depends on Mono.Debugger.Soft from the Mono
repository, and NRefactory/Mono.Debugging.Soft from MonoDevelop. The
Hello,
I'm adding the needed code to add all required fences and make sure x86
doesn't get super slow.
Perhaps we could add those fences only on systems with weak consistency and
on systems with strong consistency they become no-ops?
Miguel
___
I'd like to call a managed method from c which returns a GLib.List.
I seem to be unable to do this, however..
my managed code looks like:
public GLib.List Test()
{
GLib.List list = new GLib.List(typeof(string));
list.Append(eins);
list.Append(zwei);
Hello,
In Fedora, the assemblies are treated as architecture-dependent and so
they (including the GAC) are put into %{_libdir} which is /usr/lib64 on
x86_64 systems.
However, it seems to be the standard for mono to place the assemblies
under %{_prefix}/lib/, regardless of the architecture.
Hello Konrad,
Problem is very common for all programs that do a lot of computations.
Agree, this may be minority
of software runned on Mono, but still.
Could you try the same code, but using LLVM as the code generation engine?
But I do agree that it would be nice to fix it in the regular
Hello,
That is how the cancelled event works on Linux. I used this in the REPL
to interrupt an ongoing computation, see:
mono/mcs/tools/csharp/getline.cs
On Fri, May 20, 2011 at 6:41 AM, Weeble clockworksa...@gmail.com wrote:
What's a good way to write a cross-platform (for at least
Your comments about complete WCF support not being realistic and not setting
a need for WS-* seems to be in conflict (on the surface) to the Mono 3.0
Road map that is promising Complete WCF 4.0 API support, is that meaning
that the API support will be in there but not all the bindings that are
Hello,
Your comments about complete WCF support not being realistic and not setting
a need for WS-* seems to be in conflict (on the surface) to the Mono 3.0
Road map that is promising Complete WCF 4.0 API support, is that meaning
that the API support will be in there but not all the bindings
The reports I have been seeing are that the GC is very close. I see quite a
lot of chatter about WCF support so I assume that is coming along as well.
How are the parallel and tail call projects coming? The last I heard, there
was nobody working on tail call optimisation.
We just landed a
Is there a problem with mkbundle2 (this also happens with mkbundle)?
Surely we shouldn't have to distribute these library modules alongside our
application? I used the mkbundle2 --deps command to make sure all
dependancies are included.
It's by design. Mkbundle is only considering
Hi, I'm trying to use the Microsoft.Win32 nameSpace to detect when some
system event occurred, for example when a user login and log off his
session, for this I'm working with the class SystemEvents and inside of
this I use the the event SessionEnded to handler this event when happend,
but in
Hello,
I have a Apache+mono+mod_mono_server setup and I would like to
experiment with the new garbage collector, but when I start mono with
--gc=sgen reports a 'Stack overflow' problem on start-up.
Could you reduce your app to the smallest test case that still causes
this problem?
This
Hello Chris,
I have named it ildasm to match the managed ilasm. The new name also means
that it can live alongside monodis for the time being.
This is wonderful!
Monodis has a major drawback, its dependency on picking up the right
mscorlib.dll to work, your effort will fix that problem and
I've found an issue in my ASP.NET application when it's running under heavy
load. It throws an exception like that: http://pastebin.com/DRAYVM0F and
then the whole application is down, i've to restart apache/mod-mono-server.
It's running under mono 2.10.1, apache2 and mod-mono. On IIS/MS.NET
Hello,
Alright, I asked for a test case in the bug report.
Lets get the patch applied.
I wanted the test case to ensure we were not breaking, and to be able
to run the test suite with valgrind in standalone mode before we end
up with some bug report in the future that starts with my 30 meg app
Are there any optimisations worth pursuing at my level? (mono options?) Or
any way to target more precisely the differences between .Net/mono?
You should use Mono 2.10.1 as it contains many improvements to the
networking stack.
Miguel
___
Mono-list
Hello Julien,
In that case, your best course of action is to use the new Mono
profiler to track down allocations (those tend to be the most
harmful), then locks (there is special support for tracking lock
contention) and then timing issues.
A self-contained test case might help others
Hello Elijah,
If it's worth anything, changing null checks to NREs would also
severely cripple Native Client support in Mono. NREs rely on hardware
signals if I'm not mistaken, and we don't support that currently (and
probably not for a long time if ever) in NaCl. We've actually had to
Mono's current JIT takes the easy solution which is to mark all those
variables as volatile, which has the unfortunate effect of producing
code outside the catch block that is quite worse than otherwise. So,
EH has a very low overhead, but should not be used for those cases.
Ok, so this
Thanks for the response. Are you suggesting that I run mkbundle/monomac tool
on my assemblies to find out what mono libraries I need ? I can start trying
that, but the issue is that we are planning to use mono in our product
(written in .Net) which consists of quite a large number of
I was under the impression that this is exactly what the MonoMac
linker/bundler did. In fact, I thought it went further and only included the
specific classes and methods that you actually use within each assembly. My
understanding is that this would result in needed to distribute even less
Hello guys,
Today in the shower I had an idea that I believe we could use to
improve the performance of our class library code.
Plenty of our class library code has code like this:
void Foo (Something x)
{
if (x == null)
throw new ArgumentNullException (x);
x.DoSomething ();
I' am trying to understand what are the minimal required runtime libraries
needed if I need to redistribute Mono with my application. We had the
impression initially that we would have installation of Mono Framework as a
pre-requisit on end computers (mostly Mac). Now it has been decided to go
Hello Damien,
I have split this code drop into a series of commits based on 1f8ad5a4:
I am not sure what the above number means, is that master or some branch?
We would likely want to merge things into master, I do not think we
will be maintaining the MIPS port against the existing released
Hello,
Who do usually update npgsql driver in mono master ?
I found that driver from mono master is not working
with new Nhibernate 3.
This one is working ok btw:
http://pgfoundry.org/frs/download.php/2860/Npgsql2.0.11-bin-mono2.0.zip
The problem is that the Npgsql broke binary
Actually there is no problem letting the application run on linux (it's
using nhibernate, log4net and many other libraries).
But I noticed a huge memory usage difference. If I'm compiling the
application on my Windows system and let it run, it consumes up to 40mb
ram (Release without debug
Hello Victor,
I'm new to .NET and Mono, so some of the terminology in the embedding API
isn't quite clear to me.
What's the difference between a MonoAssembly and a MonoImage?
Assemblies are the unit of deployment in .NET and the container for
the MonoImage, you will typically see those as
Hello Kosta,
When 'mscorlib.dll' is copied to some temporary folder and then
disassemblied using monodis, it results in Segmentation fault:
This is because internally monodis already loaded the system mscorlib.
Try doing this:
MONO_PATH=. monodis mscorlib_dsm.dll
Miguel
Some genius configured selenium.quasiparticle.net to email people that
commit to Mono on every commit.
Please stop this whoever you are.
___
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
Hello,
Seems to be a problem with the way OSX launches the program, try
this instead for the first line:
#!/usr/bin/mono
/Library/Frameworks/Mono.framework/Versions/Current/lib/mono/4.0/csharp.exe
On Thu, Mar 3, 2011 at 1:10 PM, Steve Lessard s_less...@yahoo.com wrote:
I read in the
Following a long established tradition of doing a quick
Mono update after we do a major release,
we release Mono 2.10.1 to the world, details as usual:
http://www.mono-project.com/Release_Notes_Mono_2.10.1
There are four big features in this release that we
backported from our master branch in
Following a long established tradition of doing a quick
Mono update after we do a major release,
we release Mono 2.10.1 to the world, details as usual:
http://www.mono-project.com/Release_Notes_Mono_2.10.1
There are four big features in this release that we
backported from our master branch in
Hello,
well I have a 64mb ram want to use a GC parameter that will stop
continuously incerasing memory usage. I use some gtk# widgets that I dispose
destory but the memory still increases?
starting with %72 and after some gtk# widget usage it continuosly
incerases...
Consider using Mono
I just have a single, minor issue that I don't seem capable of solving:
When I open an application using the Debug/Debug Application menu item,
it opens the application, runs it immediately and therefore does not
allow me to set breakpoints and single-step the program. I have tried
opening a
Hello,
The newer system should be as convenient as dll.sources model. Without as
easy step as to add just one line for new Foo.cs in Bar.dll.sources (or more
importantly for contribution, FooTest.cs in Bar_test.dll.sources), I'm not
likely enthusiastic to contribute new code.
If all you
Hello,
I noticed another issue: the project does not support tests. Test project
will require NUnit addin (am not sure if it exists for 2010) and thus
excludes Express users.
But that should not mean that it's okay for Windows-based hackers to totally
ignore those NUnit tests.
I could use
is there a list of people available to fix mono bugs for hire anywhere?
(A quick google search for commercial support mono only brings up
the novell offering, which seems to be tied to licensing the OS.)
This is a good idea. We repeatedly get questions about We are
willing to pay for these
Hello,
This is a good idea. We repeatedly get questions about We are
willing to pay for these bugs to be fixed and only have a handful of
contractors that we know that can help users.
In addition, the other question that we get repeatedly is regarding
training on Mono-specific APIs like
Hello,
You can have the csproj reference the .sources file externally, and use a
small Task to transform the list of files into Compile elements. This works
in VS for building, but does not show the sources as files in the csproj via
the UI. So, depending what you want...
I wanted to make F5
Hello guys,
I have resumed my work on creating visual studio project files for
our assemblies. I have checked the solutions, currently these
solutions are intended to be used by developers that want to build
their code with Visual Studio. Although currently you must invoke
msbuild/xbuild
Hello Steve,
I can “force” this to work by overwriting the System.Windows.Forms.dll with
our custom one in the mono gac, but going that route would force us to
distribute a custom mono package to our users which really doesn’t appeal to
me. As things currently run our users can always get
Hello Marek,
A new compiler option has been introduced called sdk with 2 values at
the moment (2, 4). It allows to build against predefined framework
version without manually specifying mscorlib location when compiling
directly using mcs compiler. The default value is 4.
Although I mentioned
Hello Daniel,
This decompiler shows promise but unfortunately it was not able to fully
decompile my .net 4.0 assemblies.
Could see class and method names, but trying to view method contents
resulted in a Not Implemented exception .
Correct. This code needs some work, and what better time
With this working I could definitely convince my whole team to install
monodevelop just for the decompiler. Is their a bug tacker for this, or do I
use the MonoDevelop one.
Just to be clear: we are not really planning on fixing this on behalf
of people interested in a decompiler.
If people
Hello,
Note that Mono.Posix is a misnomer because it is actually
containing Unix bindings. Some of them (those supported by
msvcrt) might work under Windows, but it's up to you to test
this.
This is correct. The assembly is still named Mono.Posix for
historical reasons (not breaking third
Hello,
Just a quick heads up.
Could someone please review this patch:
https://bugzilla.novell.com/show_bug.cgi?id=666245 (libgdiplus - fast copy
path optimisations)?
It would be nice to have a test case that we can run to compare, but
other than that, it seems like a useful path to follow.
I was thinking about using a helper function that does the right thing[tm],
using sigaction if available, with a fallback to sigset and signal. A unified
function that may be used in other parts of the code is probably not
possible, since sigaction allows a number of flags that influence
I have project that uses both System.Xaml for XAML serialization and
WindowsBase for System.IO.Packaging. The problem is that when I try to
reference a class like MarkupExtension, Mono complains that it's defined
multiple times. Indeed, it is both in System.Xaml and WindowsBase, only the
My bad; that works. This doesn't: evaluator.Evaluate(using System;\n
int b;) nor evaluator.Run(using System;\n int b;) I'm assuming
because the using System; is not an expression?
Correct, you can not mix using statements and regular code, that is
the only limitation.
If there are compiler commands to allow functions and classes, I'd
love to do that. That is the biggest limitation.
It is planned, we just do not know when it will be done, we have a
number of other urgent tasks ahead of us.
1) it would be handy to inject a variable into the environment of
Hello,
I have other concerns about this use of signal. Perhaps it
should be using sigaction with the proper flags to configure how we
want signals to be delivered instead.
Miguel
On Thu, Jan 27, 2011 at 12:52 PM, Jonathan Pryor jonpr...@vt.edu wrote:
I can't speak to the rest of the
Hello Mattia,
I temporarily resolved using NDesk.Dbus libraries, until someone will put
his hands on that part of framework. I do hope that code will be
implemented, cause it's annoying and could be hard to maintain two sections
of our application that do the same things.
We currently do not
1) a single evaluate function which could handle expressions and statements.
This is already the case.
2) able to evaluate multiple statements, without evaluating them one by one.
That is also the case.
3) handle errors through a return or raised exception, rather than
through a
Hello,
Was this an anticipated use of Mono.CSharp? Does anyone have any pointers
for how to use it in this manner?
To generate code dynamically from C# text.The use as a syntax
highlighter is probably not going to be very good.
You found a first few issues with it, but you will run into
That will compile most IL code using the LLVM optimizing compiler instead of
the mono JIT. The next mono release, 2.10 will have llvm enabled official
packages.
I am pretty sure that our 2.8 packages shipped with LLVM support.
Another hack that we do not really encourage, but you might find
Hello,
I'm unsure who owns the OSX build/packaging, but it seems like this should
be a simple change to make since we already do it on linux, and it would be
great to get this kind of performance out of the box.
It would consume more disk space.
Perhaps we could provide the option for the
Hello,
There is no toolchain (moma) bug when they are indeed marked. And I
won't remove those attributes when there are reasons.
Why don't you just *run* it and see if it works or not instead?
A couple of years ago we introduced a couple of extra attributes
(derived from MonoTODO) that are
Hello Dick,
Please apply to both 2-10 and master branches.
Thanks for tracking this down.
Miguel
On Thu, Jan 20, 2011 at 11:15 AM, Dick Porter
dpor...@codicesoftware.com wrote:
On 17 Jan 2011, at 6:00PM, Rodrigo Kumpera wrote:
I'm not sure what the defined behavior is on this case,
Hello Pablo,
Yes, it's me again talking about Solaris... this time, MWF on Solaris
11. It seems the latest version got rid of some well-known X problems:
http://www.facebook.com/album.php?aid=253265id=8260127524saved
Very nice screenshots!
Miguel
I hate this behavior, and I believe it was introduced around c# 3
On Wednesday, January 5, 2011, Eric Slosser eric.slos...@v-fx.com wrote:
csharp newbie
I have a C# struct that's defined as
public struct Field : IComparable, IComparableField,
IEquatableField
{
}
Hello,
Building Mono 2.9 from git master, we're encountering an issue where an
assembly with lots of embedded resources (approx 4000), where gmcs is
throwing Too many open files exception.
The culprit seems to be that a new file handle is opened for every embedded
resource when it's added.
Hello Travis,
Most of the libraries graduate into regular Mono, and with it, most of
the discussions. This is the new home of the discussion.
Is there a particular area that you are interested in contributing to?
On Mon, Dec 13, 2010 at 7:25 PM, Travis Smith tra...@legomaster.net
Hello,
I figured contributing to an area I work with would be easier. I was
looking at WF or System.Messaging and was interested in finding out
the status of those 'areas' to see what love they need. Failing that,
I'm open to other suggestions that need more immediate love.
Most brilliant!
Hello,
Nice to see you're making progress. Sorry, I wish I could help (no Mac).
Most of the code I added to Git were just general bug fixes, they were not
even Mac related. That code is still in my last code drop.
I just wanted to ask a quick question: Ralph provided a patch for bug
Hello guys,
I did another pass at merging Ralph's changes, and committed a lot of
the low-hanging fruit into Git.
The remaining changes are now:
http://tirania.org/tmp/changes4.gz
If anyone wants to extract some of the changes and document the
subsystems and what they do, it
I've started new project that may interest you: report designer and
reporting engine for mono/.net. It's similar to the CrystalReport and
other tools like that, except it's not this much sql oriented.
This is absolutely fabulous!
You are going to make hundreds of developers very happy.
Btw,
I seen the pretty screenshots of MonoDroid sample apps on monologue.
Can I beta test MonoDroid pretty please? Or at least open the beta up to the
public?
We broke the debugger in the current preview, you really want to wait a
couple of days. But I sent you the invite.
We will be doing
Hello,
I have a running mono application, and I want to be able to call procedures
from other mono applications on the same machine; on other local machines;
and from C/C++ programs. I don't mind using a different approach for
different scenarios.
Today is your lucky day.
You want to use
Some of you reported that Mono 2.8.1 was no longer able to run Winforms
apps, this has been fixed.
The 2.8.1 download on Mono's web site has the hot fix in place.
Miguel
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
Some of you reported that Mono 2.8.1 was no longer able to run Winforms
apps, this has been fixed.
The 2.8.1 download on Mono's web site has the hot fix in place.
Miguel
___
Mono-list maillist - Mono-list@lists.ximian.com
of the
patch is isolated (new changes.gz file, and the individual patch isolated).
For instance, I did that with the Clipboard. This helped me isolate the
fact that the patch broke the API and regressed in functionality.
Miguel
On Sun, Nov 21, 2010 at 6:25 AM, Miguel de Icaza mig...@novell.com
Hello,
I have isolated the clipboard changes from Ralph's patches, this version no
longer regresses the API [1], and I updated the list of pending changes from
Ralph and uploaded that [2].
I am not sure why these changes were needed in the first place. They moved
the Clipboard functionality
Ugh, those are huge patches, I can imagine how that'd be hard to review.
There is some reformatting noise, and also, some private / internal members
were renamed to add a an underscore prefix, which is something that I
haven't seen in the Mono code so far, and which is a practice that MS and
[Adding Geoff]
Still, that doesn't explain the regression from 2.8 to 2.8.1... There were
apparently no WinForms fixes, and the only Mac-specific change seems to be
GetProcessById now works on Mac.
There were a bunch of changes on
commit 44dc98ddd17629a11fded1488e13cf5e30f2ae49
from Geoff
301 - 400 of 3080 matches
Mail list logo