Heemanshu Bhalla | 22 Nov 18:02 2014
Picon

How to contribute to Mono or Monodevelop

I am a web developer how can i contribute to Mono or monodevelop . I am trying to communicate on IRC of mono but unable to get interacted with them 
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
techi eth | 21 Nov 08:05 2014
Picon

Mono on Embedded Platform

Hey,

 

I am very new to mono. I am looking forward to use this great platform over Linux on ARM target.

 

I have following point to check before start.

1)      1) How can I achieve small footprint from mono. I have followed the below link but it produces install directory which is more than 100 MB with mono 3.10.0.

http://www.mono-project.com/docs/compiling-mono/small-footprint/

 

I would like to know below listed things are manual way of doing or I can do this by using any of the configure option.

·         Removing unneeded features

·         Removing unneeded data

·         Compilation hints

·         Reducing code in assemblies

 

2)      2) I will going to write application which is multitasking/multithreading, accessing some device port, talking to Ethernet, running WEB service. Can anyone suggest with mono over Linux what is Flash & RAM size I should use.

 

Techi

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Alexander Köplinger | 20 Nov 15:04 2014

Long time Mono devs: share lessons learned for .NET Core

MS is looking for some insights into the early days of Mono for the .NET Core effort over at the .NET foundation forums (http://forums.dotnetfoundation.org/t/the-early-days-of-mono/497):
 
"I'm working on banging into shape the engineering systems for the Linux ports of the .NET Core effort. I was wondering whether anyone knows about the early days of Mono. What was the engineering system (CI, etc.) like back then? Was there any aspect that was really good or really bad that we can learn from when working on .NET Core?"
 
I guess Miguel and the other folks at Xamarin are around the longest, but I thought I'd post it here in case someone else has interesting stories to share :)
 
-- Alex
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Martin Thwaites | 20 Nov 02:04 2014
Picon

Porting HttpApplication and associated classes

Hi All,

I'm planning on taking on the porting of part of System.Web, so I thought I would make people aware so that we're not all working on the same thing.

My process is to start with importing HttpApplication in it's entirety, then pull in the surrounding classes so it compiles.  I can then start running some tests to see how close we are.  Until the fork is in, I've copied them into my local instance, and changing them there, so the sooner we get the fork setup the better.

So far, I've noted that there are a few things that this work will be dependent on.

First, we need to the fork and sub-module up and running for the reference source, so I can doing pull requests on there.

Second, come up with a way to exclude code without deleting it (I'm assuming we won't to go down the #ifdef route rather than simply removing the code from the fork).  I'm thinking there's probably something we can use already, so just need to know what that is.  (something like #if !MONO ??)

Third, Miguel had an idea of how to do the String resources so we don't need to refactor large amounts of the referencesource.  The script needs work, and is probably a job in it's own right.

Finally, as I won't be replacing every file, some will just have large amounts of additions/fixes, it's probably worth getting the legacy #ifdef's before I send a pull.

I have around a week to get this done, if I don't manage to get it completed, I will be able to do some work, just not full-time.  I will however make my fork available for people to continue it.

Please let me know your thoughts, and if you think there may be a better way to do this.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Stephen McConnel | 19 Nov 22:05 2014

pull request 980 [MWF bugfix]

I've updated https://github.com/mono/mono/pull/980 to remove an unwanted merge as far as I can tell.
--
Steve McConnel

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Jb Evain | 19 Nov 21:33 2014
Picon

PR #1411: sdb patch to expose the AppDomain of a StackFrame

Hi folks,

The soft debugger protocol currently doesn't expose the AppDomain in
which a stack frame is being executed.

This is an issue when debugging programs running multiple AppDomains,
where one thread could be executing code in many domains. You want the
ability to use the proper domain when debugging a particular stack
frame.

This PR addresses this issue:

https://github.com/mono/mono/pull/1411/

Thanks for your review,
Jb
Eberhard Beilharz | 19 Nov 21:28 2014

Review of PR #1407 - [MWF] Fix focus issue when removing last item in ListView




-------- Forwarded Message -------- Subject: Date:
Fwd: Review of PR #1407 - [MWF] Fix focus issue when removing last item in ListView
Wed, 19 Nov 2014 14:23:57 -0500


Can you send this message to the mono-devel-list?  Mine hasn't been moderated yet.  Maybe if you send it, then it will get reviewed.

Chris


-------- Forwarded Message -------- Subject: Date: From: To:
Review of PR #1407 - [MWF] Fix focus issue when removing last item in ListView
Tue, 18 Nov 2014 09:28:55 -0500
Chris Hubbard <chris_hubbard <at> sil.org>
mono-devel-list <at> lists.ximian.com


Hello,

We found an issue while testing a form that uses System.Windows.Forms.ListView.

If the last item in a ListView has focus and it is removed by
an another action on the form (i.e. push a button to remove the
current item), then the focused_item_index is not updated when
the VirtualListSize changes, even though that item doesn't exist
anymore. When the ListView receives focus again, it tries to
invalidate the current focused item which causes an
ArgumentOutOfRangeException.

When the VirtualListSize changes, the focus_item_index should
be reset (similar to how it currently resets the selected indices).

https://github.com/mono/mono/pull/1407

Thanks,

Chris Hubbard





_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Eberhard Beilharz | 19 Nov 19:55 2014

PR #1415: [MWF] Fix bug that truncates button text

A recent change of mine introduced a bug that might truncate the text of
a button. The change in PR #1415 fixes this bug.

https://github.com/mono/mono/pull/1415
Edward Ned Harvey (mono | 19 Nov 03:18 2014

What's the most efficient way to do XOR two byte arrays?

Obviously, I could just use a for-loop.  But then my code is theoretically telling the system to XOR each byte individually, wasting most of the CPU on each instruction.

 

I wrote unsafe code to do this with 32-bit and 64-bit int pointers.  Surprisingly they both performed about the same (I guess, at least on my system, 64bit instructions take longer to execute, effectively eliminating most of the gains of the wider bus).  Unsurprisingly, they greatly outperformed the unoptimized for-loop.

 

Surprisingly, the difference between the optimized unsafe code and the optimized for-loop suggested it was a waste of effort.  (Only marginally faster.)

 

I don't know what kind of optimizations the compilers are able to perform on this code:

 

for (int i=0; i<buf1.Length; i++) {

    buf2[i] = (byte)(buf1[i] ^ buf2[i]);

}

 

I am surprised if that optimizes so well as to literally make it a waste of time to pursue anything better.  But if someone here says so, I'll have to believe you.

 

I haven't benchmarked, but rumor on the internet suggests that the for-loop for copying bytes from one buffer to another is slow compared to Array.Copy, which is slower still than Buffer.BlockCopy.  Assuming this is correct, I have to assume it's possible to have an optimized method of XOR'ing blocks of data too.  But I haven't found any such method in .Net.

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Burhan Eyuboglu | 18 Nov 16:05 2014
Picon

Using .so file in Android Library Project and then using it in an Android App

While running my code on an Android Device, it gives that error:


[Mono] DllImport error loading library '/storage/emulated/0/Android/data/LibraryDenemesi.LibraryDenemesi/files/.__override__/libcylibusb.dll': 'Cannot load library: load_library(linker.cpp:746): library "/data/data/LibraryDenemesi.LibraryDenemesi/lib//storage/emulated/0/Android/data/LibraryDenemesi.LibraryDenemesi/files/.__override__/libcylibusb.dll" not found'.

When I search for it I found that resource:
http://www.mono-project.com/docs/adv...oundexception/

Where will my project find the cylibusb.so?

If in the /lib folder,  I'm unable to copy my cylibusb.so to /lib folder on Android device, it gives "Read only file system " error.
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
Martin Thwaites | 15 Nov 14:17 2014
Picon

Coding conventions when porting MS code.

Hi All,

I'm looking into porting some code over from the reference source, and I've noticed that it doesn't match the mono coding conventions. 

Things like spaces instead of tabs, no space before the opening bracket in a method call etc.

They seem like minor things, so I'm curious what the stance should be?

Maybe it's 2 rules? if you port the entire file without changes, it's ok to keep with MS conventions? if you are porting individual methods you need to match the surrounding code?

Also, if you are porting an entire file, should the Microsoft copyright header be retained?

I'm sure there are other things, so there probably needs to be a section on the site to cover the rules around porting from the reference source.

Thanks,
Martin
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list <at> lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Gmane