Commit Graph

13967 Commits

Author SHA1 Message Date
Slava Kim
4df9b115a5 Generate Spacebars.call instead of calling the function manually 2015-04-01 16:39:08 -07:00
Slava Kim
d7ca9fc000 Add {{#each item in items}} syntax to spacebars 2015-04-01 16:39:08 -07:00
Slava Kim
2244478b39 Add _variable and _sequence options to Blaze.Each runtime 2015-04-01 16:39:08 -07:00
David Greenspan
53d8f53cac Fix #4097: error when View invalidated immediately
Bug introduced in 28c760e
2015-04-01 15:36:18 -07:00
David Glasser
44d387c3ab Detect 'drop database' in oplog observe driver
Fixes #3847.
2015-04-01 15:55:48 -04:00
David Glasser
a1e002a250 meteor run sees changes to .meteor/versions
`meteor run` doesn't always write changes to `.meteor/versions`: it only
does so if its release (or checkout-ness) matches `.meteor/release`.  So
it preferred to just remember the value of `.meteor/versions` from
rebuild to rebuild rather than forgetting what it knew and re-reading
the possibly-not-updated file.

However, if some other process changes `.meteor/versions`, it would
ignore that change.  With this fix, if `.meteor/versions` changes then
that is considered to be the previous versions list, not the last
version list from the same process.  For example, this would commonly
happen due to using `meteor update` to update packages (without changing
the tool, which would cause the runner to stop).

Fixes #3582.
2015-04-01 14:39:46 -04:00
Robert Lowe
90c02d742c Fixes an issue where Spiderable does not log all pertinent information.
Fixes #4051.
2015-04-01 12:53:18 -04:00
David Glasser
0371c4ff26 Allow bare files on the server
This restriction was originally in place because we did not know of a
use case for bare files on the server.  The main use case for bare files
is putting pre-existing files in your app which expect top-level `var`s
to be "exported", which is common in browsers but not in Node.

However, there is a use case for this on the server: putting
pre-existing files that were originally written with clients in mind but
which function fine on the server into your server code. So we'll relax
the restriction.

Fixes #3681.
2015-04-01 12:36:42 -04:00
David Greenspan
8557d054dc Merge branch 'master' into devel 2015-03-31 16:36:15 -07:00
Sashko Stubailo
b5f1ed8d17 Merge branch 'release-1.1' 2015-03-31 14:36:13 -07:00
David Greenspan
90b356061f Merge pull request #4039 from mitar/patch-12
Correct order of helper lookup in comment
2015-03-31 14:26:46 -07:00
Matt DeBergalis
5856c6d04a copyedit 2015-03-31 14:22:40 -07:00
Matt DeBergalis
c4e38723ba link to official windows installer 2015-03-31 14:21:10 -07:00
Sashko Stubailo
3f8a512043 Update examples to 1.1 2015-03-31 14:17:13 -07:00
Sashko Stubailo
355521a4eb Update Docs 2015-03-31 14:15:04 -07:00
Sashko Stubailo
ba9c9012c1 Update banner 2015-03-31 14:15:04 -07:00
Sashko Stubailo
9d667d1fee Update release number 2015-03-31 14:15:04 -07:00
Slava Kim
698b208a02 Quit the installer process if running in cli 2015-03-31 14:11:10 -07:00
David Greenspan
bff8331263 Replace ValueHandler with DOMPropertyHandler
We're going to need to set other properties than `value` at some
point, and since `this.name` already holds the name of the property,
there's no reason for this class to be specific to "value"
attributes.
2015-03-31 14:05:22 -07:00
Slava Kim
d978bc7c82 Don't broadcast a dead message that blocks the process from exiting 2015-03-31 12:35:53 -07:00
David Glasser
fcebaf2c9f findMongoPids: use pgrep where available
ps corrupts some non-ASCII characters on OS X.  pgrep doesn't, but isn't
available everywhere.

Fixes #3999.
2015-03-31 12:35:53 -07:00
Slava Kim
1612a7509a Don't show a confirmation popup when running w/o UI 2015-03-31 12:34:45 -07:00
Sashko Stubailo
75a00fc279 Un-prerelease version numbers 2015-03-31 12:03:53 -07:00
Sashko Stubailo
82948d5054 Bump package versions for hopefully final RC release/METEOR@1.1-rc.5 2015-03-31 11:45:57 -07:00
Sashko Stubailo
5182736c61 Bump RC version 2015-03-31 11:42:58 -07:00
Sashko Stubailo
9c8cce8ce7 Write banner 2015-03-31 11:40:03 -07:00
Sashko Stubailo
497a26de49 Fix typo 2015-03-31 11:29:04 -07:00
Sashko Stubailo
d899f9a672 Improve History.md for 1.1 2015-03-31 11:27:54 -07:00
sashko
5fbdfce664 Throw a nice error when you are trying to run an old release 2015-03-31 11:16:10 -07:00
Sashko Stubailo
3b225904c3 Throw error on Windows if you try to springboard to a super old release 2015-03-31 10:51:50 -07:00
Sashko Stubailo
eea9e21895 Rename test to more accurately reflect what it does now 2015-03-31 10:51:50 -07:00
David Glasser
911a92a41d Update contributors list 2015-03-31 13:37:54 -04:00
David Glasser
9401572041 Remove broken do-not-update-to-rcs test
It was broken because fake-warehouse and test-package-server were
incompatible.  In order to actually use the published packages, we had
to sync test-package-server into the local warehouse.  But as soon as we
did that, the latest release became some other random release.

In any case, the semantics tested here have changed twice since 0.9.0!
In 0.9.0.1 we changed it from "ask for any RC means get any RC" to
"don't get any RCs that aren't explicitly anticipated".  And in 1.1
we're changing it to "minimize unanticipated RCs".

Manually running through the equivalent of this test, most of it works
except for the last line; `meteor update` will not take you from one RC
to the next, due to minimizing unanticipated RCs.  That's probably fine
though.

While we're at it, make it much more clear that warehouse and
test-package-server don't work together.
2015-03-31 13:08:53 -04:00
Devian
6bab8c9caa Add momentum scrolling to documentation
enable momentum scrolling on the documentation page for iOS devices
2015-03-31 17:31:25 +02:00
sashko
168a39adae Fix fake mongo test on Windows 2015-03-31 08:12:03 -07:00
David Glasser
89c22bf634 Fix crash on duplicate files in a package
Adding the same file twice in the same package is now an
error. Previously, this could either lead to the file being included
multiple times (eg, JS), or to a build time crash (eg, client-side
assets).
2015-03-31 10:52:43 -04:00
David Glasser
d017b3d439 Remove duplicate addFiles in test-in-browser
This actually resulted in two copies of diff_match_patch in the package!
2015-03-31 10:52:42 -04:00
David Glasser
a17fcf253c Fix useMyCaller
Before:

   While reading package from
   `/private/tmp/meteor-duplicate-path-error/packages/dupe`:

   /Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/package-api.js:22:5:
   Invalid 'where' argument: '[object Object]'
   at Array.forEach (native)
   at Function._.each._.forEach
   (/Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11)
   at toArchArray
   (/Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/package-api.js:22:5)
   at PackageAPI._.extend.addFiles
   (/Users/glasser/.meteor/packages/meteor-tool/.1.0.45.1y6cwq8++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/package-api.js:287:12)
   at package.js:2:7

After:

   While reading package from
   `/private/tmp/meteor-duplicate-path-error/packages/dupe`:
   package.js:2:7: Invalid 'where' argument: '[object Object]'

The major problem here was that numeric useMyCaller never quite worked,
since useMyCaller was only used to calculate the file/line/etc for the
error, and not to convince formatMessages to not print the rest of the
stack.

The other issue is that `_.each` adds two levels of stack over just
using a `for` loop, whereas 8bcbd6534 only added 1 to the useMyCaller
argument.
2015-03-31 10:52:42 -04:00
David Glasser
31b7744000 History note for #3999 2015-03-31 10:52:42 -04:00
David Glasser
f14464b59a findMongoPids: use pgrep where available
ps corrupts some non-ASCII characters on OS X.  pgrep doesn't, but isn't
available everywhere.

Fixes #3999.
2015-03-31 00:53:22 -04:00
Slava Kim
6d7279373e Fix trailing whitespace for empty lines, in unwrapped mode 2015-03-30 21:53:18 -07:00
Slava Kim
ae398ede87 Don't expect a wrapped path in self-tests for meteor show 2015-03-30 21:51:54 -07:00
Slava Kim
7e7005cc9d Reimplement indent for non-wrapped text 2015-03-30 21:35:33 -07:00
Slava Kim
9bd5b22a85 Indent in unwrapped mode 2015-03-30 21:31:05 -07:00
Slava Kim
bfadacbe8c Revert the broken pattern reporting 2015-03-30 21:11:59 -07:00
Slava Kim
479a14af1d Don't expect the directory line to be wrapped 2015-03-30 21:10:22 -07:00
Slava Kim
742fdca951 Don't wrap the tests and patterns 2015-03-30 21:06:47 -07:00
Sashko Stubailo
3977f8cce3 Bump oauth-encryption dep 2015-03-30 20:57:54 -07:00
Slava Kim
56a8ec7556 Use a more specific METEOR_NO_WRAP 2015-03-30 20:55:05 -07:00
Sashko Stubailo
93fe5eb9f1 Also don't crash when cleaning up temp dirs at the end of app run 2015-03-30 20:49:07 -07:00