Re: [Mono-dev] Porting HttpApplication and associated classes

2014-11-20 Thread Miguel de Icaza


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


The referencesource submodule is 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
 ??)


We should introduce a define, yes.

Perhaps we can introduce a CROSS_PLATFORM define that we use on the
Reference source to annotate those cases.

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.


That will get you running for now ;)

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.


Nah, I think it is easy.

The way you replace a class, is to remove the file from the .sources and
add the new one.   That should cover most bases.

Miguel
___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Porting HttpApplication and associated classes

2014-11-20 Thread Martin Thwaites
Thanks Miguel, I'll get started properly tonight.

So the DEFINE will be #if !CROSS_PLATFORM to exclude anything that is
native and won't work on non-windows?

On 20 November 2014 13:27, Miguel de Icaza mig...@xamarin.com wrote:


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


 The referencesource submodule is 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
 ??)


 We should introduce a define, yes.

 Perhaps we can introduce a CROSS_PLATFORM define that we use on the
 Reference source to annotate those cases.

 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.


 That will get you running for now ;)

 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.


 Nah, I think it is easy.

 The way you replace a class, is to remove the file from the .sources and
 add the new one.   That should cover most bases.

 Miguel

___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Long time Mono devs: share lessons learned for .NET Core

2014-11-20 Thread Alexander Köplinger
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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-dev] Porting HttpApplication and associated classes

2014-11-20 Thread Miguel de Icaza
Yes.

We will add the defines to the build profile so you get them soon

On Thursday, November 20, 2014, Martin Thwaites monofo...@my2cents.co.uk
wrote:

 Thanks Miguel, I'll get started properly tonight.

 So the DEFINE will be #if !CROSS_PLATFORM to exclude anything that is
 native and won't work on non-windows?

 On 20 November 2014 13:27, Miguel de Icaza mig...@xamarin.com
 javascript:_e(%7B%7D,'cvml','mig...@xamarin.com'); wrote:


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


 The referencesource submodule is 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
 ??)


 We should introduce a define, yes.

 Perhaps we can introduce a CROSS_PLATFORM define that we use on the
 Reference source to annotate those cases.

 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.


 That will get you running for now ;)

 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.


 Nah, I think it is easy.

 The way you replace a class, is to remove the file from the .sources and
 add the new one.   That should cover most bases.

 Miguel



___
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


[Mono-dev] Mono on Embedded Platform

2014-11-20 Thread techi eth
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@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list


Re: [Mono-list] Cross-Platform GUI Tookit

2014-11-20 Thread Lluis Sanchez Gual
Xamarin Studio / MonoDevelop is not really going to use MVVM, it will use MVC.

 El 18/11/2014, a les 21:33, Daniel Hughes tramps...@gmail.com va escriure:
 
 Jonathan can you comment on Xamarins plans for MVVM with Xamarin
 Studio/MonoDevelop, can we expect GTK# support to be added to
 MVVMCross, or is there some other approach you will be taking.
 
 Cheers,
 Daniel Hughes
 
 On Wed, Nov 19, 2014 at 4:46 AM, Jonathan Pryor jonpr...@vt.edu wrote:
 On Nov 17, 2014, at 10:55 PM, Edward Ned Harvey (mono) 
 edward.harvey.m...@clevertrove.com wrote:
 The fact that XS/MD is or was based on Xwt is a good sign
 
 based on might be a bit strong. It *uses* Xwt.
 
 Most of the current Xamarin Studio/MonoDevelop code is based on Gtk#. 
 *Parts* were done in Xwt so that those parts could use the platform-native 
 UI and share code with Visual Studio (e.g. File  Open, the Android 
 designer), but most was written in, and continues to be in, Gtk#.
 
 - Jon
 
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] ASP.net and Licensing

2014-11-20 Thread aleksit
Hey
What is licensing terms of ASP.net of mono ? Is they same than licenses of
mono ? 
Can I do commercial software with it and if I can what kind of things I need
to add with my project ? And what is the license terms if I host my project
for customers ? Do I need to buy Xamarin license ?



--
View this message in context: 
http://mono.1490590.n4.nabble.com/ASP-net-and-Licensing-tp4664729.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] Raspberry for the C# program

2014-11-20 Thread jagroop77
Dear Friends,

We have a application where we have to capture some data from the field and
process.
So, we decided to use Raspberry which is on Linux.
For processing we want to use C# program.I came to know that with MONO the
C# program can run on Linux OS.

Is it a good idea or do you suggest some new solution.

cheers

Jagroop



--
View this message in context: 
http://mono.1490590.n4.nabble.com/Raspberry-for-the-C-program-tp4664730.html
Sent from the Mono - General mailing list archive at Nabble.com.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Raspberry for the C# program

2014-11-20 Thread Agustin Gimenez
Hi Jagroop.

There are many solutions, I'm on the process of creating a framework to
manipulate the Raspberry hardware from C#, you can find it at
https://github.com/gusmanb/RaspiSharp

It's the starting point and i'm evolving it a lot, so expect breaking
changes in near future.

To install mono on the Rpi just execute this:

pi@raspberrypi ~ $ *sudo apt-get update*
pi@raspberrypi ~ $ *sudo apt-get install mono-complete*

It will install the 3.2.8 version which includes hardware floating point
functions and works really well.

After that you have a fully functional mono installation, to run any .net
program execute sudo mono (yourexename)

Cheers.

2014-11-20 12:26 GMT+01:00 jagroop77 jagr...@promatics.co.in:

 Dear Friends,

 We have a application where we have to capture some data from the field and
 process.
 So, we decided to use Raspberry which is on Linux.
 For processing we want to use C# program.I came to know that with MONO the
 C# program can run on Linux OS.

 Is it a good idea or do you suggest some new solution.

 cheers

 Jagroop



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Raspberry-for-the-C-program-tp4664730.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Raspberry for the C# program

2014-11-20 Thread Wayne Douglas
Mono is very, very good on Linux, I am using it as my main platform for
personal and freelance projects. There are some issues - it is not 100%
perfect but it is very, very good and reasonably stable.

Unfortunately I am stuck with Windows for corporate development for the
foreseeable future but I hope that will change at some point :)



On Thu, Nov 20, 2014 at 11:46 AM, Agustin Gimenez geni...@gmail.com wrote:

 Hi Jagroop.

 There are many solutions, I'm on the process of creating a framework to
 manipulate the Raspberry hardware from C#, you can find it at
 https://github.com/gusmanb/RaspiSharp

 It's the starting point and i'm evolving it a lot, so expect breaking
 changes in near future.

 To install mono on the Rpi just execute this:

 pi@raspberrypi ~ $ *sudo apt-get update*
 pi@raspberrypi ~ $ *sudo apt-get install mono-complete*

 It will install the 3.2.8 version which includes hardware floating point
 functions and works really well.

 After that you have a fully functional mono installation, to run any .net
 program execute sudo mono (yourexename)

 Cheers.

 2014-11-20 12:26 GMT+01:00 jagroop77 jagr...@promatics.co.in:

 Dear Friends,

 We have a application where we have to capture some data from the field
 and
 process.
 So, we decided to use Raspberry which is on Linux.
 For processing we want to use C# program.I came to know that with MONO the
 C# program can run on Linux OS.

 Is it a good idea or do you suggest some new solution.

 cheers

 Jagroop



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/Raspberry-for-the-C-program-tp4664730.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list




-- 
**

*w://*

*t: 07508 215 459*

**
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.net and Licensing

2014-11-20 Thread William Ivanski
Great question, I would like to know that too.

William Ivanski

2014-11-20 9:13 GMT-02:00 aleksit aleksi.tanska...@live.com:

 Hey
 What is licensing terms of ASP.net of mono ? Is they same than licenses of
 mono ?
 Can I do commercial software with it and if I can what kind of things I
 need
 to add with my project ? And what is the license terms if I host my project
 for customers ? Do I need to buy Xamarin license ?



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/ASP-net-and-Licensing-tp4664729.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] Binding Cocoa examples?

2014-11-20 Thread Michael McGlothlin
Where is the BaseType attribute defined? Xamarin Studio doesn't seem to include 
it in either Mono or Xamarin Mac versions. The only binding template I see is 
for iOS.


Thanks,
Michael McGlothlin
Sent from my iPhone

 On Nov 19, 2014, at 7:02 PM, Miguel de Icaza mig...@xamarin.com wrote:
 
 hey,
 
 You can see it here:
 
 http://github.com/mono/monomac
 
 Go to src/appkit.cs to see the binding for NSView.
 
 On Sat, Nov 15, 2014 at 1:28 PM, Michael McGlothlin 
 mike.mcgloth...@gmail.com wrote:
 I'm trying to figure out how to bind to obj-c and c and for my first 
 exercise I decided to bind to Apple's ScreenSaverView and make a 
 screensaver. I'm trying to do this with Xamarin Studio and their Sharpie app 
 but not having much luck. Where can I look to see Mono's actual binding to 
 classes such as NSView? What I'd actually do I mean and not something 
 generated.
 
 Thanks,
 Michael McGlothlin
 Sent from my iPhone
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list
 
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.net and Licensing

2014-11-20 Thread Martin Thwaites
Does this not cover it?

https://github.com/mono/mono/blob/master/LICENSE

(Note, I'm not a legal expert so if you're concerned in anyway, get you
lawyer to look into it)

You've got to look at the individual libraries you're using though.  If
they are Mono libraries, chances are they are MIT/X11, so you're safe, and
we are more open that the microsoft licencing.  Give that it's a very, very
(add 20 or so more verys there) common framework to build websites, I'd
say that yes you can build a piece of commercial software with it.

That said, you would need to be more specific.  Using the libraries in .NET
or mono should not be a problem in terms of building a commercial website
without any acknowledgement in my opinion.  I've built major websites using
.NET and the ASP.NET framework (WebForms and MVC), and our legal department
never raised an eyebrow.

That said, is it not always nice to acknowledge people's hard work and give
credit where it's due?

Mono is NOT Xamarin.  Xamarin do something very specific with Mobile.
Xamarin's offerings use Mono under the hood, and therefore they commit any
changes/enhancements back to the mono project.  Anything on GitHub is not
owned by Xamarin (as I understand it, and check the licences if you're
unsure), therefore they cannot (nor would they want to) force you to buy a
licence to use them.

Hope that helps
Martin

On 20 November 2014 16:00, William Ivanski william.ivan...@gmail.com
wrote:

 Great question, I would like to know that too.

 William Ivanski

 2014-11-20 9:13 GMT-02:00 aleksit aleksi.tanska...@live.com:

 Hey
 What is licensing terms of ASP.net of mono ? Is they same than licenses of
 mono ?
 Can I do commercial software with it and if I can what kind of things I
 need
 to add with my project ? And what is the license terms if I host my
 project
 for customers ? Do I need to buy Xamarin license ?



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/ASP-net-and-Licensing-tp4664729.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list


___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.net and Licensing

2014-11-20 Thread William Ivanski
I think Martin is right. Reading mono license, at first glance is possible
to see that everybody can use mono to develop, build and host ASP.NET
websites (WebForms or MVC) for commercial purposes.

I already developed some ASP.NET applications and run then on mono for
personal and freelance purposes.

But I'm considering buying one Xamarin license for two reasons: I want to
start to develop applications for Android, and I'm looking for a way to
retribute to the mono project. I know that contributing to Xamarin, Xamarin
people would have more resources to work on mono improve, fix bugs and so
on.

William Ivanski

2014-11-20 14:14 GMT-02:00 Martin Thwaites monofo...@my2cents.co.uk:

 Does this not cover it?

 https://github.com/mono/mono/blob/master/LICENSE

 (Note, I'm not a legal expert so if you're concerned in anyway, get you
 lawyer to look into it)

 You've got to look at the individual libraries you're using though.  If
 they are Mono libraries, chances are they are MIT/X11, so you're safe, and
 we are more open that the microsoft licencing.  Give that it's a very, very
 (add 20 or so more verys there) common framework to build websites, I'd
 say that yes you can build a piece of commercial software with it.

 That said, you would need to be more specific.  Using the libraries in
 .NET or mono should not be a problem in terms of building a commercial
 website without any acknowledgement in my opinion.  I've built major
 websites using .NET and the ASP.NET framework (WebForms and MVC), and our
 legal department never raised an eyebrow.

 That said, is it not always nice to acknowledge people's hard work and
 give credit where it's due?

 Mono is NOT Xamarin.  Xamarin do something very specific with Mobile.
 Xamarin's offerings use Mono under the hood, and therefore they commit any
 changes/enhancements back to the mono project.  Anything on GitHub is not
 owned by Xamarin (as I understand it, and check the licences if you're
 unsure), therefore they cannot (nor would they want to) force you to buy a
 licence to use them.

 Hope that helps
 Martin

 On 20 November 2014 16:00, William Ivanski william.ivan...@gmail.com
 wrote:

 Great question, I would like to know that too.

 William Ivanski

 2014-11-20 9:13 GMT-02:00 aleksit aleksi.tanska...@live.com:

 Hey
 What is licensing terms of ASP.net of mono ? Is they same than licenses
 of
 mono ?
 Can I do commercial software with it and if I can what kind of things I
 need
 to add with my project ? And what is the license terms if I host my
 project
 for customers ? Do I need to buy Xamarin license ?



 --
 View this message in context:
 http://mono.1490590.n4.nabble.com/ASP-net-and-Licensing-tp4664729.html
 Sent from the Mono - General mailing list archive at Nabble.com.
 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



 ___
 Mono-list maillist  -  Mono-list@lists.ximian.com
 http://lists.ximian.com/mailman/listinfo/mono-list



___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


Re: [Mono-list] ASP.net and Licensing

2014-11-20 Thread Edward Ned Harvey (mono)
 From: mono-list-boun...@lists.ximian.com [mailto:mono-list-
 boun...@lists.ximian.com] On Behalf Of aleksit
 
 Hey
 What is licensing terms of ASP.net of mono ? Is they same than licenses of
 mono ?
 Can I do commercial software with it and if I can what kind of things I need
 to add with my project ? And what is the license terms if I host my project
 for customers ? Do I need to buy Xamarin license ?

You only need to be concerned about the license terms if you plan on 
redistributing it.  But you're probably just writing an application that RUNS 
on ASP.Net.  So the consumer would install ASP.Net, and then download your 
application separately, and then run your application on it - meaning - you're 
not redistributing ASP.Net and therefore don't need to worry about its license 
terms.

ASP.Net is purely mono, and not related to Xamarin.
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list