Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-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 7439810143 for ; Tue, 9 Apr 2013 12:19:04 +0000 (UTC) Received: (qmail 98857 invoked by uid 500); 9 Apr 2013 12:19:03 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 98489 invoked by uid 500); 9 Apr 2013 12:19:03 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 98470 invoked by uid 99); 9 Apr 2013 12:19:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 12:19:03 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [209.85.223.180] (HELO mail-ie0-f180.google.com) (209.85.223.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 12:18:58 +0000 Received: by mail-ie0-f180.google.com with SMTP id a11so8179656iee.39 for ; Tue, 09 Apr 2013 05:18:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type:x-gm-message-state; bh=aTK/WreGswfTteFxklpkVhgz/+/qernEZ9RSxntgQ68=; b=jw3Xd9xzMPMsyGRqSisW1dlDNOJ4N6lxaZP4ZGa0xgxthLgdwMT0P8oXZdlXc88eLy BgNeZT5VLZEIWV8PyBISo+y1V1Qv7oh2jcTJI5BoV5/bNJ9rOQZZPIDWdg8/jPTSwvET V7BAYPkpT2znSWn/9nRb8ljtBFg437wJk96PZ7K0QAwYD2EYtjt4wl5rC9a3sZeJ2h8V bQ6rs/OASFUulJJlIwYKzCetiDx+jWzkfROnUOWKWYHo/Mjs6OuA7ugATmNQxLmQNNUs xFMoPcuZjMPVzMUH3gZ9EVkE3PBZe6TpGZnsvczcypgHIwRSenADdAsP3ksCutxqzBFZ wheA== MIME-Version: 1.0 X-Received: by 10.50.111.68 with SMTP id ig4mr10150837igb.103.1365509916858; Tue, 09 Apr 2013 05:18:36 -0700 (PDT) Received: by 10.50.102.40 with HTTP; Tue, 9 Apr 2013 05:18:36 -0700 (PDT) In-Reply-To: <001801ce351b$6772d0d0$36587270$@gmail.com> References: <032a01ce344c$17432bc0$45c98340$@gmail.com> <001601ce3506$3688e460$a39aad20$@gmail.com> <001801ce351b$6772d0d0$36587270$@gmail.com> Date: Tue, 9 Apr 2013 07:18:36 -0500 Message-ID: Subject: Re: FalconJX: bugs in external dependencies (Google Closure Compiler), what to do? From: Erik de Bruin To: "dev@flex.apache.org" Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQm6qYpuCFjjGkeODXQwg1ERKeZbi9RWYNhZ7WXt/IDSDT1qgMWeZwiRVbKzF/uzjuzmRbis X-Virus-Checked: Checked by ClamAV on apache.org Also, the current FlexJS implementation for both MXML and AS contains several "giant" methods that simply beg to be broken up into more manageable sets of support functions which maybe even share some common code (like the emission of JSDoc type headers)... That might also be a good way to get your feet wet without needing to change any of the APIs. EdB On Tue, Apr 9, 2013 at 7:11 AM, Tigran Najaryan wrote: >> Forking the Google code to our project doesn't seem like the best option. > Yes, that what concerns me too. > >> We may consider donating your solution to the Closure project, which is >> Open Source... > That may be a solution in the long term but I am not sure that helps to fix > the bug in Falcon compiler right now. > > Anyway submitting a patch to Closure will require more work on my part. > Although the bug fix I propose is generic for PathUtil I still did not > examine all the dependencies from that class in the Closure itself and am > not sure my patch is generic enough and correct for the Closure itself. > Honestly I would rather not digress and stay concentrated on contributing to > Flex. > > >> Keep what you have, please, but don't push it to the 'develop' branch. >> You're probably the smartest person that will work on it, but we need to >> take care that we don't end up with a dependency on a fork of the closure >> tools where we actually want to be able to use their releases. > I guess that means I will keep my patch for myself only until either > somebody else needs it or a better way to fix this bug is found. > > >> For FalconJX the main goal is to write tests for both MXML and AS parsing. > At >> the moment there are some areas that are written specifically to allow for >> the correct parsing of the FlexJSTest_again example. This obviously is not >> "ideal" ;-) We need to make sure that all code is generic (or as much as >> possible) and that all output is properly tested so we don't kill any > existing >> output when refactoring or adding code. Right now, there is only 2 tests >> specific for FlexJS MXML output, and those are "@Ignore"d. >> >> >> But first, just look around, review what's there and see if what I/we did >> makes sense. > OK, I will spend a few more days just getting familiar with the code base > and see if I can find and fix some other bugs before trying to make > functional changes to the compiler. > > Tigran. > -- Ix Multimedia Software Jan Luykenstraat 27 3521 VB Utrecht T. 06-51952295 I. www.ixsoftware.nl