Commit Graph

14166 Commits

Author SHA1 Message Date
Sashko Stubailo
9f98256121 Merge branch 'zimme-google-prompt' into devel
PR #4370
2015-05-12 14:46:34 -07:00
Simon Fridlund
0b6b5d425e Update History.md
Add note about google prompt option.
2015-05-12 16:14:17 +02:00
Simon Fridlund
11d378abe8 Document prompt option used by Google OAuth package 2015-05-12 16:13:46 +02:00
Simon Fridlund
0377c8b76f Use prompt instead of approval_prompt in Google OAuth package
The option “prompt” takes precedence over “forceApprovalPrompt”.
Valid options for “prompt” are “consent”, “none”, “select_account” or a
combination. i.e. “select_account+consent”.
2015-05-12 16:13:13 +02:00
David Greenspan
15a0369581 Put local variables back on the stack
We fixed the stack overflow in Blaze materialization by using
a "work stack" pattern instead of recursing.

Putting local variables on the heap hurts readability and doesn't
help performance; it was just saving us 16 bytes or so (or whatever
two local variables is) per nested View.
2015-05-10 15:37:52 -07:00
David Greenspan
eff8016b5a Merge branch 'mitar-patch-11' into devel
This is @mitar's PR #4036.  It just moves the code around slightly
in lookup.js to make it easier to hook/monkey-patch if one is so inclined.
2015-05-10 14:50:27 -07:00
David Greenspan
30e8f8788e Rename a local variable 2015-05-10 14:49:12 -07:00
David Greenspan
30926aaa39 Merge branch 'patch-11' of git://github.com/mitar/meteor into mitar-patch-11 2015-05-10 14:46:27 -07:00
David Greenspan
7c05b7617e Failing test for #let re-rendering
#let currently re-renders the entire template when an argument
changes, so in this case:

```
<template name="spacebars_template_test_let_rerender">
  <input type="text" class="foo">
  {{#let y=x}}
    <span class="bar">{{y}}</span>
  {{/let}}
</template>
```

...when `x` changes, the input and span are destroyed and recreated.
2015-05-10 14:32:00 -07:00
David Greenspan
d79863910e Small Spacebars codegen fix 2015-05-08 17:23:41 -07:00
Mitar
e12bd03a16 Fixed comment. 2015-05-08 15:37:17 -07:00
Ben Newman
4f906554a2 Bump BUNDLE_VERSION to 0.4.20. 2015-05-07 17:39:08 -07:00
Ben Newman
3720e7d75f Add meteor-promise to the tool bundle, and upgrade to v0.1.0. 2015-05-07 17:38:50 -07:00
Ben Newman
395cfaf7f1 Bump BUNDLE_VERSION to 0.4.19. 2015-05-06 17:09:49 -07:00
Ben Newman
d72582fd75 Add meteor-promise to dev_bundle/server-lib/node_modules/. 2015-05-06 17:09:49 -07:00
Ben Newman
19683041f7 Upgrade http-proxy to v1.11.1 in dev bundle. 2015-05-06 17:09:49 -07:00
Ben Newman
62664c9aa7 Update $arg after shifting --prod flag away. 2015-05-06 17:09:49 -07:00
David Greenspan
0bdf05ce95 Link to NPM from logic-solver README 2015-05-06 16:45:19 -07:00
Ben Newman
28ccf5d10b Merge pull request #4312 from dferber90/push-position
Add modifier $position to $push in minimongo.
2015-05-05 15:28:51 -07:00
Ben Newman
e37828806f Merge pull request #4329 from meteor/issue-4302-upgrade-coffeescript-to-1.9.2
Upgrade coffeescript core package to v1.9.2.
2015-05-05 14:56:33 -07:00
Ben Newman
14a989aef8 Merge pull request #4328 from meteor/issue-4300
Split on path separator before comparing files alphabetically.
2015-05-05 14:56:22 -07:00
Ben Newman
5d15afe814 Upgrade coffeescript core package to v1.9.2.
Closes #4302.
2015-05-05 14:52:26 -07:00
Dominik Ferber
096019946f let package names start with digits #3670
This slightly alters the reg ex, because now there has to be at least
one character in name, whereas it could have been empty before. This
should be
irrelevant since the whole packageDot function only makes sense if name
is not empty.
2015-05-05 14:32:29 -07:00
Ben Newman
b27557eb40 Split on path separator before comparing files alphabetically.
We should be doing a lexicographical comparison of path components, rather
than including the `/` characters in the comparison, to match the order
given by the Unix `find` or `ls` commands.

Fixes #4300.
2015-05-05 14:23:07 -07:00
Dominik Ferber
fc112fbee6 add tests for combinations of $push modifiers. 2015-05-02 13:24:53 +02:00
Dominik Ferber
d383e479b3 add modifier $position to $push in minimongo #4158 2015-05-02 12:58:30 +02:00
maersu
c13bd1ec0a Added default deployment-target for ios to 7.0. This fixes problems with #3153 2015-05-01 13:46:53 -07:00
Slava Kim
8946bd3963 Point examples' mobile-config.js files to the right files 2015-04-30 15:18:39 -07:00
David Greenspan
1bb406da72 Comment explaining call to ignoreUnknownVariables 2015-04-30 13:00:08 -07:00
David Greenspan
f6934329a9 Improve an error message in "meteor update" 2015-04-30 12:51:06 -07:00
David Glasser
525cc5d863 History updates 2015-04-29 00:46:15 -07:00
David Glasser
583d77e943 Fix Blaze memory leak
This leak occured whenever a DOM element with attributes got removed
from the DOM without destroying its containing view.  For example, an
element in an `{{#if}}` whose condition is toggled back and forth; a
single Blaze.View is used for the `{{#if}}` as its condition changes.

The retention chain was as follows:

The element was saved in the `elem` variable of `materializeTag` in
materializer.js.

Among other places, `elem` was saved in the `attrUpdater` in that
function, which is used by the `updateAttributes` function.

This function is passed to `view.autorun`, which registered this
`onViewDestroyed` handler:

   self.onViewDestroyed(function () { locals.c.stop(); });

That callback retains a references to the computation, and thus to the
DOM element.

Before this commit, that onViewDestroyed callback is not removed from
the Blaze.View when the computation is stopped (eg, because the DOM
element is removed from the DOM, triggering
`updaterComputation.stop()`), so in this case the DOM element is leaked.

(This still has a tiny leak in that you end up with lots of nulls
inside `_callbacks.destroyed`; using a better data structure for
callbacks is a game for another day.)

Fixes #4289.
2015-04-29 00:35:29 -07:00
David Glasser
91ce1561c3 tracker: implement Computation.onStop
Fixes #3915.
2015-04-29 00:18:13 -07:00
David Glasser
342a234e85 jsdoc update; fix api boxes broken by #4191 2015-04-29 00:17:01 -07:00
David Glasser
b80de49ed9 fix banners typo 2015-04-28 17:38:34 -07:00
Denis Gorbachev
2f93bf002a blaze: Default to error if it's actually a string
Fixes #4281
2015-04-28 16:26:26 -07:00
Mitar
ec09194332 Use new Blaze._getTemplate in the Template.dynamic. 2015-04-24 20:39:54 -07:00
Mitar
b046b8b8e3 Merge branch 'devel' into patch-11 2015-04-24 04:34:06 -07:00
Mitar
11b7397857 Moved binding of template helpers to the function. 2015-04-24 04:16:18 -07:00
Slava Kim
22acddadb1 Add XXX History.md records for merged Blaze PRs
https://github.com/meteor/meteor/pull/3560
https://github.com/meteor/meteor/pull/4101
2015-04-23 16:34:58 -07:00
Slava Kim
83611e9116 Merge branch 'spacebars-nested-exprs' into devel 2015-04-23 14:27:07 -07:00
Slava Kim
69671f756b Merge branch 'each-in' into devel 2015-04-23 14:24:33 -07:00
Ben Newman
b4f2203c45 Rename reserved identifiers to work with Acorn parser. 2015-04-23 14:42:44 -04:00
ekatek
656a120ada fix spacing on spiderable README 2015-04-23 11:10:07 -07:00
David Glasser
cc21d891ca Merge branch 'pr/4163' into devel
Fixes #4163.
2015-04-21 17:01:54 -07:00
David Glasser
cd2c96cca2 don't need to print which build 2015-04-21 16:52:24 -07:00
David Glasser
067d1c864b History update 2015-04-21 16:52:04 -07:00
Oleksandr Chekhovskyi
a2f8efa00e Enter nested job scope per package architecture when downloading
This fixes a crash when two architectures need to be downloaded
for the same package. It happens when building for non-host architecture
if packages have not been cached yet.

Crash happened because progress object got reused for another download request,
and progress objects are not supposed to be reused.
2015-04-21 16:35:44 -07:00
sungwook yeom
212dee0cd5 Add dollar sign in bash command 2015-04-21 15:16:18 -07:00
Sacha Greif
727e9c561b clarify deploy instructions
Fixes #4219. Fixes #4248.
2015-04-21 15:12:05 -07:00