hoangduit / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Library depends on full version of .NET #429

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be nice if this library would only depend on the client part of .NET. 
The download difference is quite big and most people don't need the full .NET, 
and will be confused if they have to install a full version and they have a 
client version installed.

Original issue reported on code.google.com by anders.rune.jensen on 14 Sep 2010 at 11:01

GoogleCodeExporter commented 9 years ago
Actually it's quite easy to make it work. One just have to implement a few 
URLencode and decode functions. And looking at the source you have already 
included this functionality from mono, for WINCE. So if you update to the 
latest version of HTTPUtility, there is no need to depend on System.Web, and we 
can run on client profile instead.

Original comment by anders.rune.jensen on 15 Sep 2010 at 6:07

GoogleCodeExporter commented 9 years ago
Attached is a patch removing the -r:System.Web.dll dependency, and updating 
src/Core/HttpUtility.cs from Mono, adding the UrlEncode method needed elsewhere.

This patch is important to Linux distributions as it will reduce the dependency 
burden of apps (such as Banshee) using gdata-sharp.

Original comment by gabriel....@gmail.com on 29 Oct 2010 at 5:26

Attachments:

GoogleCodeExporter commented 9 years ago
Issue 406 has been merged into this issue.

Original comment by ccherub...@google.com on 30 Jan 2011 at 8:35

GoogleCodeExporter commented 9 years ago
I'm not sure we can just copy and paste that code taken from Mono. 
I saw you added the following line:

"Taken from 
http://github.com/mono/mono/tree/master/mcs/class/System.Web/System.Web.Util/"

Is it enough according to Mono license?

Original comment by ccherub...@google.com on 7 Feb 2011 at 1:41

GoogleCodeExporter commented 9 years ago
It looks like the MIT license, which says:-

// subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.

Therefore, I'm guessing you would need to add the copyright statement and the 
license text?

Original comment by hyper...@gmail.com on 7 Feb 2011 at 1:46