Commit Graph

7092 Commits

Author SHA1 Message Date
Sashko Stubailo
9654a7c436 Bump packages for 1.2.0.2 2015-09-28 14:58:52 -07:00
DAB0mB
787b8b56c3 (minimongo) Fix pull modifier not excepting null values 2015-09-28 16:04:07 -04:00
David Greenspan
fc0839d2e2 Avoid invalidation setting absent key to undefined
Fixes a test-breaking aspect of 60aa9f7, which is that while it made
setting an absent value to "undefined" work, doing so would cause an
invalidation that didn't happen before.

While we're at it, clean up the code and make sure that setting an
absent key to 'undefined' does invalidate "all()".

Unit tests in "session" and "reactive-dict" now pass.
2015-09-25 10:29:48 -04:00
Martijn Walraven
9e4f404f60 Update Crosswalk plugin to 1.3.1 2015-09-24 21:34:20 +02:00
Sashko Stubailo
d326a8bf90 Make static html depend on jQuery so that adding attrs works 2015-09-24 13:55:38 -04:00
Sashko Stubailo
539342471b Revert "Don't use jQuery to add attributes to body"
This reverts commit e6bc9413f3.
2015-09-24 13:55:04 -04:00
Ben Newman
2554c7cfde Upgrade meteor-promise to v0.5.0.
Most notably, this upgrade allows the global (native) Promise constructor
to be used, if available.
2015-09-24 16:06:22 +02:00
Martijn Walraven
04df52a72e Update Crosswalk to 1.3.0 2015-09-24 15:58:48 +02:00
Sashko Stubailo
dcbd65215a Merge branch 'master' into devel 2015-09-22 04:02:37 -04:00
Sashko Stubailo
5949f2a8dc Bump release version and package versions 2015-09-22 03:05:44 -04:00
Sashko Stubailo
a23cc02492 Merge branch 'master' into devel
Conflicts:
	History.md
	packages/babel-compiler/.npm/package/npm-shrinkwrap.json
	packages/babel-compiler/package.js
	packages/ecmascript/package.js
	packages/sha/package.js
	tools/upgraders.js
2015-09-21 20:12:55 -04:00
Sashko Stubailo
cf6d7f109b Remove RC qualifier from all version numbers 2015-09-21 15:43:03 -04:00
Sashko Stubailo
5d95e0a733 Bump package versions for RC 19 2015-09-21 14:59:18 -04:00
Sashko Stubailo
e6bc9413f3 Don't use jQuery to add attributes to body 2015-09-21 14:40:06 -04:00
Sashko Stubailo
f4d2a3b20a Bump versions for RC 18 2015-09-21 12:49:26 -04:00
Sashko Stubailo
9cefc33b4f Bump meteor to get new es5-shim dependency 2015-09-21 12:40:27 -04:00
Sashko Stubailo
2cfd9b3fb5 Update tests to sort output
Apparently, the order of Object.keys is different in mobile safari
2015-09-21 00:11:36 -04:00
Sashko Stubailo
58cc6fa30f Commit new shrinkwrap 2015-09-21 00:10:35 -04:00
Sashko Stubailo
b65da1f7b5 Bump package versions 2015-09-18 13:41:04 -07:00
Ben Newman
461ee8285e Upgrade meteor-babel other and dev bundle NPM dependencies.
Fixes #4933.
2015-09-18 16:13:05 -04:00
Ben Newman
80e23067d1 Upgrade meteor-babel other and dev bundle NPM dependencies.
Fixes #4933.
2015-09-18 16:10:51 -04:00
Ben Newman
61ee62d8a4 Exclude .es5.js files from ecmascript compilation.
This provides an easy workaround for issues like #5198.
2015-09-18 14:40:55 -04:00
Sashko Stubailo
527cc13a8b Move BabelCompiler class into babel-compiler package
It used to be in the ecmascript package.
I want to use it in the jsx package, so it needs to be exported from somewhere.
2015-09-18 14:31:20 -04:00
Ben Newman
260384f7b0 Exclude .es5.js files from ecmascript compilation.
This provides an easy workaround for issues like #5198.
2015-09-18 14:14:51 -04:00
Ben Newman
4a6aaf79d5 Upgrade ecmascript-collections to support ES2015 Array methods.
Closes #5199.
2015-09-18 13:08:09 -04:00
Ben Newman
f3a8328bf1 Upgrade ecmascript-collections to support ES2015 Array methods.
Closes #5199.
2015-09-18 13:06:19 -04:00
Evan You
4b4a12c63b autoupdate: update QA.md on removing hot-code-push 2015-09-17 16:45:33 -04:00
Evan You
f10f6bfff5 add test and fix for PR #5138 2015-09-17 16:00:20 -04:00
w
77cc0c2959 spacebars-compiler: allow more than PATH in each-in 2015-09-17 15:17:24 -04:00
Evan You
8cb20faa34 accounts-ui: only set input values if the value is not null when going back
to login from other states.

Setting it to null will actually show "null" in the input feidl in IE9.
2015-09-17 14:38:55 -04:00
Sashko Stubailo
3469b78793 Bump package versions for RC 16 2015-09-17 11:25:24 -07:00
David Greenspan
72c6622b42 Fix ReactiveDict#delete when no deps listeners
Checking that `self.keyValueDeps[key]` exists is important here.

Also remove alignment, remove comment.  (Deleting the key isn't
"clean-up", it's what actually does the work!  Clean-up would be
removing Deps, but that is tricky and for another day.)

A variable named `oldKeys` doesn't make sense if it's just an alias for
`self.keys`.
2015-09-17 10:16:51 -07:00
Robert Lowe
36ee2155d4 Switch _.each to _.has as per @stubailo review/comments 2015-09-17 10:06:34 -07:00
Robert Lowe
a21c0f564e ReactiveDict delete should return true/false (ES6-ish)
ReactiveDict delete should only trigger reactivity when necessary
2015-09-17 10:06:34 -07:00
Robert Lowe
2ed8ff2a0a Add delete to ReactiveDict 2015-09-17 10:06:34 -07:00
David Greenspan
2ab2ddedcc Clean up ReactiveDict#setDefault and add test
This is pure behavior-preserving clean-up, removing a cryptic comment
and adding a test.  Note that `self.keys[key]` is either absent or
a string, which has been true since this code was written, so there
was never any reason for this code or comment to be written this way.
2015-09-17 10:03:08 -07:00
David Greenspan
60aa9f7c9d ReactiveDict: can set absent value to undefined
Setting a ReactiveDict value to `undefined` does not remove it, and
undefined values are migrated.  Therefore, it is odd that setting
'foo' to `undefined` on the empty dict does not produce the dict
`{foo: undefined}`, but setting 'foo' first to another value and *then*
`undefined` does.  So, we fix that.

This means that setting a value to `undefined` blocks `setDefault` on
that key, which makes sense given that setting the value to 123 and then
`undefined` blocks `setDefault` on that key.
2015-09-17 09:57:18 -07:00
w
70fa119b2d blaze: don't snapshot data context in each..in 2015-09-16 21:18:51 -04:00
Ben Newman
a65dd2fdf2 Un-shim String.prototype.replace to fix markdown tests in IE8. 2015-09-16 18:57:33 -04:00
Ben Newman
ca514f29d7 Turn callable console method objects into actual functions. 2015-09-16 17:48:16 -04:00
Martijn Walraven
b4ef6b8017 Fix setting mobile status bar defaults
We attempted to set default values for cordova-plugin-statusbar at
runtime. Because the plugin may not have been loaded at that point,
this gave inconsistent results. Instead, we now set the default options
while building, so they will get added to config.xml.

Fixes #5098
2015-09-16 22:57:32 +02:00
Ben Newman
031c73693b Use es5-shim when testing ecmascript and ecmascript-collections. 2015-09-16 16:39:27 -04:00
Ben Newman
578d5ade09 Include es5-sham.js with the es5-shim package.
This ensures adequate implemenations of APIs like Object.create are
available in IE8, so that packages like ecmascript-collections can depend
on those APIs without completely breaking the simplest of apps in IE8.
2015-09-16 16:13:59 -04:00
Nathan Muir
dd7227a319 Meteor.loginWithX - Add check to see if options is undefined. (Fixes issue introduced in #4754) 2015-09-15 14:03:32 -07:00
Mitar
7e97b22444 Use Meteor.setTimeout to be able to use tests on the server. 2015-09-15 13:56:12 -07:00
Mitar
0cded75630 Fix variable name spelling 2015-09-15 13:55:01 -07:00
Ben Newman
ac03e9988c Add missing babelHelpers.slice method. 2015-09-14 21:02:00 -04:00
Ben Newman
fe69807f18 Add missing babelHelpers.slice method. 2015-09-14 20:56:51 -04:00
Ben Newman
cf1cf7ac1f Provide explanations for polyfills (Promise, Map, and Set). 2015-09-14 15:58:24 -07:00
Ben Newman
3cbbf7242f Add explanations of ECMAScript features. 2015-09-14 15:58:15 -07:00