Commit Graph

9059 Commits

Author SHA1 Message Date
David Glasser
bc6239dfc1 vbump for rc9
Hopefully we won't have to do "bump for all the npm modules" again after
this
release/METEOR-CORE@0.9.0-rc9
2014-08-15 12:34:47 -07:00
David Glasser
5dc428a915 Only rebuild npm modules on major/minor Node bumps
This means that we won't have to bump the version number of every
npm-using package every time we do a patch update of Node. (Though we
will have to do it right now, once.)  (That's because the .node_version
file is part of the package's contents... which is semantically
correct.)
2014-08-15 12:11:42 -07:00
David Glasser
c708cd6813 Just fix the npm bug, on 0.10.29
Even though 0.10.29 has a security hole, 0.10.30 is worse: it often
takes 100% CPU if you pass a float to setTimeout!
2014-08-15 12:11:42 -07:00
ekatek
c3f7688663 oops, process exact constraints correctly in list 2014-08-15 15:01:25 -04:00
Avital Oliver
c2cf67179f Blaze: Don't update input elements if their value doesn't need updating
This resolves #2403. Specifically, if you implement some form of
two-way databinding, and you modify an input field in some way
other than adding characters to the end, the insertion point
jumps to the end.

Still need to write a test for this.
2014-08-15 11:50:31 -07:00
ekatek
328ecb4d98 a lot of minor fixes that manifested as weird CS behavior 2014-08-15 14:27:22 -04:00
David Glasser
98b2885e85 Revert "Upgrade Node to 0.10.30. Fix npm bug again."
This reverts commit 56ff54b085.
2014-08-15 07:21:24 -07:00
David Glasser
aa8e237194 remove redundant _recomputeEffectiveLocalPackages
(from initialize)

Also, simplify unbuilt logic and ensure that some more data structures
are cleared on refresh.
2014-08-14 16:38:25 -07:00
David Glasser
5c5c5308de missed one 2014-08-14 16:37:47 -07:00
David Glasser
44bcae916d release metadata is in official only
The point of the other catalogs is to allow local packages to override
server packages. This has nothing to do with releases. So rather than
keep release metadata in memory multiple times and force developers to
wonder "what's the different between catalog.complete.getReleaseTrack
and catalog.official.getReleaseTrack?", now it really just only exists
on catalog.official.
2014-08-14 16:24:16 -07:00
David Glasser
924195b224 app versions bump, grr 2014-08-14 16:17:00 -07:00
David Glasser
29357964dc Comment about nodeModulesDirectories structure 2014-08-14 16:15:23 -07:00
David Glasser
401cee2ef6 Lazily load constraint-solver instead of its mori
This should be a performance win (no need to load constraint-solver
unless you actually need to use it!), and it's what I wanted to do
initially instead of lazily loading mori, but it wasn't feasible with
the old super-recursive catalog.

This fixes an issue where running 'curmeteor rebuild' twice (!) died the
second time with a "Can't load npm module 'mori'" error. This is because
uniload (when run from a checkout) sets up Npm.require to read directly
from PACKAGE/.build.PACKAGE/npm/node_modules, which might get deleted
later in the process!  There are some complex and maybe slow ways to
resolve this general issue (copy the node_modules somewhere else?) but
for now, the easiest way to avoid the issue is just to load Npm modules
immediately inside packages which need to be uniloaded.
2014-08-14 16:12:05 -07:00
David Glasser
cf17ef3bf4 some further catalog/uniload cleanup
- The checkout catalog.uniload now does not uniload a resolver, and
  instead just has a trivial implementation of resolveConstraints.
  (The 'built' catalog.uniload already didn't use the resolver.)

- catalog.complete.resolveConstraints now throws an error if there's
  no resolver; this is OK, because creating the resolver now only
  uses the distinct catalog.uniload, so there's no recursion issue.

- don't record version dependencies in packages during uniload (this
  protects against using release.current before it is initialized)

- PackageLoader should never download packages during uniload (this
  protects against using catalog.uniload.isLocalPackage before it is
  initialized)
2014-08-14 14:29:18 -07:00
David Glasser
a9db15a9e6 vbump for 0.9.0-rc8 release/METEOR-CORE@0.9.0-rc8 2014-08-14 12:02:08 -07:00
David Glasser
987b5dd42d Merge branch 'upgrade-node-fix-npm' into devel 2014-08-14 11:41:01 -07:00
David Glasser
9c1afcf0b9 Unbreak springboarding, oops. 2014-08-14 11:34:27 -07:00
David Glasser
56ff54b085 Upgrade Node to 0.10.30. Fix npm bug again. 2014-08-14 10:15:47 -07:00
David Glasser
e3771dd098 add an XXX about a minor inefficiency 2014-08-13 18:33:32 -07:00
David Glasser
2a598ef56c vbump rc7 release/METEOR-CORE@0.9.0-rc7 2014-08-13 18:15:47 -07:00
David Glasser
c9488c74d0 versions update 2014-08-13 18:11:46 -07:00
David Glasser
925758603e avoid reentrant complete refreshes 2014-08-13 18:11:46 -07:00
David Glasser
7743a55bba Use official catalog for springboarding
Read it into memory at initialize time
2014-08-13 18:11:46 -07:00
David Glasser
f946ff9054 uniload from checkout uses separate catalog 2014-08-13 18:11:46 -07:00
David Glasser
2755f95bb6 Move uniload package list to uniload.js
Actually verify that uniloaded packages are in the list. Add missing
'ejson'. Remove (ah well) test that relies on ability to uniload an app
package (which shouldn't work anyway, but it would be nice to test
uniload Assets...)
2014-08-13 18:11:46 -07:00
David Glasser
ebab3ec902 don't run git if there's a colon 2014-08-13 18:11:46 -07:00
David Glasser
9e55a23541 replace uniloadDir hack with BuiltUniloadCatalog
this only affects built meteor for now
2014-08-13 18:11:46 -07:00
David Glasser
b6955a3899 Move towards non-singleton catalog.complete
We're going to make uniload use a different flavor of "complete" catalog
soon.  So we need to reduce the number of singleton-ish references to
it.

Also, we need one PackageCache per catalog, so stop it from being a
singleton too.
2014-08-13 18:11:46 -07:00
ekatek
9a1cb5d296 maybe filter out old versions in show too 2014-08-13 20:48:28 -04:00
Matthew Arbesfeld
c9476a350f Fix typo in autoupdate and bump autoupdate package version. 2014-08-13 17:36:12 -07:00
Slava Kim
4e37f90a35 Bump the notification about latest used dev_bundle 2014-08-13 16:12:03 -07:00
ekatek
25328f1298 init options if blank 2014-08-13 19:00:16 -04:00
David Glasser
4ac78a3646 Move DEFAULT_TRACK to catalog module
It's a constant, so no need to have to think "hmm, I wonder if I should
be writing catalog.official.DEFAULT_TRACK or
catalog.complete.DEFAULT_TRACK?"
2014-08-13 15:39:03 -07:00
ekatek
dfd1fbcb22 be more tolerant of unknown keys and some cosmetics 2014-08-13 17:45:27 -04:00
ekatek
f9131da440 some safety cosmetics around meteor create --package 2014-08-13 17:45:27 -04:00
Avital Oliver
aff7dfdb50 Record package usage on meteor bundle
Also eliminated arguments that weren't used anywhere,
and removed an XXX comment that was false (recordPackages
doesn't use buildmessage to report connection failures)
2014-08-13 13:57:08 -07:00
ekatek
889cc75a1d when updating an app that runs from checkout, default to default release track 2014-08-13 16:56:42 -04:00
David Glasser
6839b6c6b9 todos version bump
(is this part of the release process? should it be? should we even store
these files?)
2014-08-13 13:27:51 -07:00
David Glasser
390f449fe6 20 lines of history rarely shows whole stacktrace 2014-08-13 13:27:51 -07:00
ekatek
c671555cfe show-broken flag 2014-08-13 15:56:04 -04:00
ekatek
a152d97bec help and tests for show 2014-08-13 13:18:20 -04:00
ekatek
f7179bec65 implement the --show command 2014-08-13 13:13:40 -04:00
David Glasser
9a92c6d0d4 bootstrapped releases should be recommended 2014-08-12 16:59:15 -07:00
David Glasser
8d204f5510 add missing capture for make-bootstrap-tarballs 2014-08-12 16:37:19 -07:00
David Glasser
adb3a65b96 version bumps for 0.9.0-rc6 release/METEOR-CORE@0.9.0-rc6 2014-08-12 16:27:51 -07:00
David Glasser
4378d9f5d0 include a backtrace for "got open from inactive" 2014-08-12 16:24:57 -07:00
David Glasser
0822033ca5 Tell resolver about ECVs of overridden versions
Otherwise trying to use a package with constraint "livedata@1.0.0" when
you are loading livedata 1.0.1 from a local package will fail.
2014-08-12 15:56:24 -07:00
David Glasser
66f21a64a2 add newline to identifier file 2014-08-12 14:57:36 -07:00
David Glasser
436f29ec9f move identifier .gitignore to a higher level
don't copy identifier file, instead of deleting it later. also, make
sure to skip an identifier file in the skel directory if one gets there somehow.
2014-08-12 14:54:56 -07:00
ekatek
01b0b0ebd4 adding versions files to example apps; making sure we don't create example apps with example identifiers by accident 2014-08-12 14:46:57 -04:00