Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0B51E17B6B for ; Thu, 26 Mar 2015 17:44:08 +0000 (UTC) Received: (qmail 70601 invoked by uid 500); 26 Mar 2015 17:37:27 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 70560 invoked by uid 500); 26 Mar 2015 17:37:27 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 70547 invoked by uid 99); 26 Mar 2015 17:37:26 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 17:37:26 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of purplecabbage@gmail.com designates 209.85.214.176 as permitted sender) Received: from [209.85.214.176] (HELO mail-ob0-f176.google.com) (209.85.214.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Mar 2015 17:37:23 +0000 Received: by obdfc2 with SMTP id fc2so51728612obd.3 for ; Thu, 26 Mar 2015 10:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=3z0AI+iNgMJP/8ypII+NyUvU8Ka7XKndKwipvn4aUnY=; b=i5CUEICNgAFyKs2Ov/WOcDCGn/qawz34nEHd7pcXTuzrOYA6dC2OdzFj/D9rK9TvVK xTwhD0XMliOSS+YL4duHyEzdCMzZ/3BtcXumyt1TIjjOEMH+tmShtkKxkqXzYNSrjIY4 LiR7GoSR73tqDZLU/5t8I9cR9lz0FqIi9A2dCk13Usq34/C1cNMlCbEncPItBsMfB4Bi 6PG+VmlQa9MOxmXBsQT6/lCj8mvnfJDTsbITcReq+PLoUthv5VEaszi0Uug2g9xvtyqU TiQagm2Doae/TsLc4gmNmLzSlChbh4GygDS+5VW2uPtCS1J+DoLT1VW1RpkRQkNtRWpW v1OQ== MIME-Version: 1.0 X-Received: by 10.202.72.72 with SMTP id v69mr4402818oia.24.1427391422577; Thu, 26 Mar 2015 10:37:02 -0700 (PDT) Received: by 10.76.13.102 with HTTP; Thu, 26 Mar 2015 10:37:02 -0700 (PDT) In-Reply-To: References: <68323E8E-A649-479D-933E-E9254953BF30@gmail.com> Date: Thu, 26 Mar 2015 10:37:02 -0700 Message-ID: Subject: Re: Cordova WP8: switching to Newtonsoft.Json From: Jesse To: "dev@cordova.apache.org" Content-Type: multipart/alternative; boundary=001a1134e746b2c09f05123476cb X-Virus-Checked: Checked by ClamAV on apache.org --001a1134e746b2c09f05123476cb Content-Type: text/plain; charset=UTF-8 Nikhil, that pull request does not resolve this. Using DataContractJsonSerializer will fail for nested objects. There is no guarantee that jsonHeaders is just a dictionary of string,string. In fact, I'm pretty sure this test will fail : https://github.com/apache/cordova-plugin-file-transfer/blob/master/tests/tests.js#L856 @purplecabbage risingj.com On Thu, Mar 26, 2015 at 10:26 AM, Nikhil Khandelwal wrote: > The main use case for Newtonsoft.Json has been resolved through another > implementation approach in this PR: > https://github.com/apache/cordova-plugin-file-transfer/pull/72 > > -Nikhil > > -----Original Message----- > From: Carlos Santana [mailto:csantana23@gmail.com] > Sent: Thursday, March 26, 2015 9:47 AM > To: dev@cordova.apache.org > Subject: Re: Cordova WP8: switching to Newtonsoft.Json > > Jesse dumb question, what else is new 8-] > > Can we do that Mark pointed out to add a reference to a location where the > windows project can get the dependency? > Like adding a nuget dependency entry, and then when app get's compile, > visual studio takes care of downloading Newtonsoft.Json from nuget > repository? > > > On Tue, Mar 24, 2015 at 1:38 PM, Jesse wrote: > > > I am looking into this. We need to include source code, as we cannot > > distribute a dll. > > The pull-req is definitely dead except for the fact it contain part of > > this conversation. > > > > > > > > > > > On Mar 24, 2015, at 6:37 AM, Ian Clelland > > wrote: > > > > > > I'm not sure about whether Cordova has any specific policies -- > > > there's > > no > > > hard rule that says we can't use third-party code, and even include > > > it in our distributions (see Cordova-Android and okhttp, for > > > instance), but we should probably discuss it on-list first. > > > > > > There are definitely rules, policies, and guidelines at the Apache > > > level > > -- > > > no distribution of binaries, for instance, and there are probably > > questions > > > of license interaction as well between Apache and MIT licenses, if > > > we're combining the code at all. > > > > > > > > > > > > On Tue, Mar 24, 2015 at 5:04 AM, Sergey Grebnov (Akvelon) < > > > v-segreb@microsoft.com> wrote: > > > > > >> This[1] PR is being opened for a while so let's make a final > > >> decision if we switch to Newtonsoft.Json or reject it. > > >> > > >> The idea of adding Newtonsoft.Json (MIT license) [1] looks good to > > >> me > > and > > >> I can quickly add necessary improvements to make sure everything > > >> looks > > good > > >> and works - as per mobile spec tests there are no new issues found. > > >> > > >> But I'm not sure about our policies regarding adding new third > > >> party dependencies. Should it be discussed/voted here before merge? > > >> Does it documented somewhere? > > >> > > >> PS. If we go w/ Newtonsoft.Json I propose to just add reference to > > >> compiled dll and not to keep source code due to size(200kb vs 19mb) > > >> and compile time reasons. > > > > > > Distributing the .dll without the source will *definitely* be a > problem. > > > Distributing the .dll with the source *might* be a problem. The only > > > way we've been able to do this in the past (see Gradle and Crosswalk > > > for two recent examples) is to have a script that the user runs > > > (even as part of the platform scripts) that downloads the library > > > from somewhere trusted > > and > > > installs it. We can't ship binaries as part of an Apache project. > > > > > > > > >> > > >> [1] https://github.com/apache/cordova-wp8/pull/62 > > >> > > >> Thx! > > >> Sergey > > >> > > >> > > >> ------------------------------------------------------------------- > > >> -- To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > >> For additional commands, e-mail: dev-help@cordova.apache.org > > >> > > >> > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: dev-unsubscribe@cordova.apache.org > > For additional commands, e-mail: dev-help@cordova.apache.org > > > > > > > -- > Carlos Santana > > --001a1134e746b2c09f05123476cb--