Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
Thanks :) On Tuesday, March 17, 2015 at 12:41:56 PM UTC+1, David Nolen wrote: > > Yes I said earlier that you'll want SNAPSHOT releases of both weasel and > piggieback. The current release of piggieback doesn't include this commit > https://github.com/cemerick/piggieback/commit/966c811ab817df0e8

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread David Nolen
We bumped the Closure Compiler dependency which now spews a few innocuous warnings. Feel free to report this one to the Google Closure mailing list. I've already reported the Object type one we get now when using browser REPL. David On Tue, Mar 17, 2015 at 5:46 AM, Max Gonzih wrote: > After upd

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread David Nolen
Yes I said earlier that you'll want SNAPSHOT releases of both weasel and piggieback. The current release of piggieback doesn't include this commit https://github.com/cemerick/piggieback/commit/966c811ab817df0e818404943c473081337b286e In the case of weasel you might want to try a local install of m

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Max Gonzih
After update compilation with advanced optimizations displays following warning: WARNING: file:/home/gnzh/.m2/repository/org/clojure/google-closure-library/0.0-20140718-946a7d39/google-closure-library-0.0-20140718-946a7d39.jar!/goog/net/jsonp.js:269: WARNING - Misplaced f unction annotation.

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
And stacktrace - looks like a piggieback issue: core.clj: 4577 clojure.core/ex-info analyzer.clj: 379 cljs.analyzer/error analyzer.clj: 376 cljs.analyzer/error analyzer.clj: 1249 cljs.analyzer/analyze-deps

Re: ANN: ClojureScript 0.0-3115

2015-03-17 Thread Leon Grapenthin
Here is the error I am still getting when compiling a ns via piggieback 0.1.5 /weasel 0.6.0 on cljs 3123: 1. Unhandled clojure.lang.ExceptionInfo No such namespace: cljsjs.react, could not locate cljsjs/react.cljs at line 1 file:/home/leon/.m2/repository/org/omcljs/om/0.8.8/om-0.8.8.jar!

Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
Glad to hear it! On Monday, March 16, 2015, Jonathon McKitrick wrote: > The cljsjs issue is fixed! > > On Monday, March 16, 2015 at 7:03:00 PM UTC-4, David Nolen wrote: > > And cut 0.0-3123 based on feedback from releases earlier today. One fix > addresses redundant information in the dependency

Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Jonathon McKitrick
The cljsjs issue is fixed! On Monday, March 16, 2015 at 7:03:00 PM UTC-4, David Nolen wrote: > And cut 0.0-3123 based on feedback from releases earlier today. One fix > addresses redundant information in the dependency graph when compiling, the > other fixes an issue when using advanced optimiza

Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
And cut 0.0-3123 based on feedback from releases earlier today. One fix addresses redundant information in the dependency graph when compiling, the other fixes an issue when using advanced optimizations and :cache-analysis true. David On Mon, Mar 16, 2015 at 7:11 AM, David Nolen wrote: > Clojur

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Mike Fikes
> If that is true, then it is a problem, indicative either of a widespread > lack of discipline among the tool makers or (more likely) a strong need for > some additional well-specified (and maintained!) APIs in the compiler for > tools to hook into. > Sometimes it is just a simple bug or la

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
Both piggieback and weasel unfortunately tapped into undiscussed details. piggieback's design is fundamentally flawed (being constructed on flawed implementation details of the standard REPL infrastructure which have since changed) and I would personally be happy to see piggieback eventually disapp

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Leon Grapenthin
If it helps: I am getting a similar error ( goog.require could not find: cljsjs.react when trying to compile a namespace via weasel-5.0.0 and piggieback... On Monday, March 16, 2015 at 7:47:12 PM UTC+1, Fluid Dynamics wrote: > > > > On Monday, March 16, 2015 at 1:06:31 PM UTC-4, David Nolen wr

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
On Mon, Mar 16, 2015 at 2:47 PM, Fluid Dynamics wrote: > If that is true, then it is a problem, indicative either of a widespread > lack of discipline among the tool makers or (more likely) a strong need for > some additional well-specified (and maintained!) APIs in the compiler for > tools to ho

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Fluid Dynamics
On Monday, March 16, 2015 at 1:06:31 PM UTC-4, David Nolen wrote: > > On Mon, Mar 16, 2015 at 1:01 PM, Fluid Dynamics > wrote: > >> On Monday, March 16, 2015 at 11:23:14 AM UTC-4, David Nolen wrote: >>> >>> Need more information. But that warning is most certainly not something >>> emitted by t

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
It appears there was a regression in ClojureScript :foreign-libs support and Closure optimization passes. Just cut 0.0-3119 to address this. Jonathan, this may fix your issue but it's unclear as the regression was around release builds and your error about cljsjs.react seems like it originated fro

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Luc Préfontaine
It's up the maintainers down the food chain to keep up with changes and yes there are timing issues, not all changes/fixes can be applied synchronously. That's the idea of having libraries instead of a monolithic soup of code. Applying your statement to technology in general we would still be us

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
On Mon, Mar 16, 2015 at 1:01 PM, Fluid Dynamics wrote: > On Monday, March 16, 2015 at 11:23:14 AM UTC-4, David Nolen wrote: >> >> Need more information. But that warning is most certainly not something >> emitted by the ClojureScript compiler. >> >> Make sure you can reproduce without whatever do

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Fluid Dynamics
On Monday, March 16, 2015 at 11:23:14 AM UTC-4, David Nolen wrote: > > Need more information. But that warning is most certainly not something > emitted by the ClojureScript compiler. > > Make sure you can reproduce without whatever downstream tooling you may be > using: https://github.com/clojur

Re: [ClojureScript] Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
Need more information. But that warning is most certainly not something emitted by the ClojureScript compiler. Make sure you can reproduce without whatever downstream tooling you may be using: https://github.com/clojure/clojurescript/wiki/Reporting-Issues There's a good chance it's purely downstr

Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread Jonathon McKitrick
I just tried a build with this version, and I'm getting this error in my CLJS test suite, which does not happen with 0.0-2985. Compiling ClojureScript. Compiling "resources/public/js/unit-test.js" from ["src/cljs" "test/cljs"]... Successfully compiled "resources/public/js/unit-test.js" in 17.483

Re: ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
Just cut 0.0-3117 the only change is an important fix that will recompile files when changing :optimizations settings. In general trying to move to a world where a corrupted :output-dir is highly unlikely. The next big release will be even further improved along these lines. David On Mon, Mar 16,

ANN: ClojureScript 0.0-3115

2015-03-16 Thread David Nolen
ClojureScript, the Clojure compiler that emits JavaScript source code. README and source code: https://github.com/clojure/clojurescript New release version: 0.0-3115 Leiningen dependency information: [org.clojure/clojurescript "0.0-3115"] This release is a bugfix release addressing several