David Glasser
e9913d2055
Fix to skip/limit observe: update would never produce 'changed' calls.
...
Also remove dead upsert code.
2012-12-17 23:39:13 -08:00
David Glasser
2d2aaa8082
minimongo: Implement ordinal indexing: {'foo.1.bar': 42}
2012-12-17 21:35:12 -08:00
David Greenspan
4c1c6c1ca5
Merge branch 'dev-bundle-fstream' into devel
2012-12-17 20:44:07 -08:00
David Greenspan
7f55a7e928
bump dev-bundle version
2012-12-17 19:57:26 -08:00
David Greenspan
fcfc7dd4c1
add bug-fixed isaacs/fstream and have tar use it
2012-12-17 19:56:54 -08:00
Nick Martin
6deacbcfc1
Merge subkey sort into devel. Fixes #533 .
2012-12-17 14:53:50 -08:00
Nick Martin
48423c21d0
Feedback from review.
2012-12-17 14:53:40 -08:00
Nick Martin
4c78d3dc51
Make sub-key sort check for undefined before dereferencing.
...
This way it doesn't throw when given an object that doesn't contain all the keys being searched on.
2012-12-17 14:53:40 -08:00
Nick Martin
7b8682b3fb
Test for sub-key sort. Doesn't pass yet.
2012-12-17 14:53:40 -08:00
lvbreda
bd94569d86
Added sorting functionality for 'a.b'
2012-12-17 14:53:40 -08:00
Nick Martin
c10dd19b9f
Merge limit/skip support in observe into devel. Fixes #528 .
2012-12-17 14:49:53 -08:00
David Glasser
e32502c20c
Add a fast path to limited unsorted unskipped queries.
2012-12-17 14:44:02 -08:00
David Glasser
ac81438f74
Refinements to limit/skip observe support:
...
- Decide that queries need to be recomputed in _modifyAndNotify directly
instead of in _removeFromResults and friends; this is because the choice of
which _fooFromResults function to invoke might not actually be correct in the
presence of skip and limit. (The previous code still worked because all three
of those functions had the same code for the skip/limit case.)
- If update or remove affects more than one doc for a query, only recompute it
once at the end instead of once per doc.
2012-12-17 14:44:02 -08:00
Nick Martin
33fa24e912
Make find(1) and find({_id: 1}) return the same thing.
2012-12-17 14:44:02 -08:00
Nick Martin
2d9e8a8fd6
Move some tests around. No functional changes.
2012-12-17 14:44:02 -08:00
Nick Martin
0faaa07c77
Feedback from review.
2012-12-17 14:44:02 -08:00
Nick Martin
aee54f3ac0
Add skip and limit support to observe.
2012-12-17 14:44:02 -08:00
David Glasser
f68a8a3431
Add a XXX caveat to #346 fix.
2012-12-17 10:06:48 -08:00
David Glasser
3d870954ca
Fix queries and updates with JS RegExp objects with //i and //m flags.
...
Follow-up to 28a136d7 continuing to address issue #346 .
2012-12-14 15:14:04 -08:00
Avital Oliver
7fb8f22a64
More History.md fixes
2012-12-14 09:46:48 -08:00
Avital Oliver
02c092e140
Improvement to last commit changing History.md
2012-12-14 09:43:50 -08:00
Avital Oliver
836c80ef67
Add comment to History.md
2012-12-14 09:34:33 -08:00
David Glasser
1070a682fd
Rename soma.jpeg to soma.png, because that's what it is.
2012-12-13 17:49:09 -08:00
Nick Martin
6fee95fc34
make static bigdata app to stress page load (merge box)
2012-12-12 22:01:09 -08:00
Avital Oliver
c8c5fdbf0d
Merge pull request #544 from timhaines/fix-twitter-server-after-update-to-oauth1binding
...
Fix capturing the twitter identity information
2012-12-12 16:58:37 -08:00
Tim Haines
d85497a275
Fix capturing the twitter identity information
2012-12-12 16:16:02 -08:00
David Greenspan
5a053a039f
Merge branch 'dev-bundle-nodetar' into devel
2012-12-12 16:06:59 -08:00
David Greenspan
6c9cd218a9
bump dev_bundle version to 0.2.11
2012-12-12 16:06:31 -08:00
David Greenspan
033fd00a58
add npm "tar" package for use by engine
2012-12-12 16:06:21 -08:00
David Glasser
cd250f0945
tinytest: drop results for a run when requested by client, not onComplete.
...
Should be useful for a non-browser-based test runner.
2012-12-12 12:55:44 -08:00
Naomi Seyfer
69459b8c70
Add pre to the whitspace formatting of code
2012-12-12 12:53:39 -08:00
Naomi Seyfer
7724c7ef7f
Changed from a fake enum thing to just strings for debug opts
...
Taking Geoff's advice. Also adjusting the docstrings in the usage
for --debug and --debug-brk
2012-12-12 12:53:39 -08:00
Naomi Seyfer
06a3e23730
The rest of the docs for Meteor.settings
2012-12-12 12:53:39 -08:00
Avital Oliver
f247840536
Merge pull request #539 from timhaines/oauth1binding-to-accept-post-params
...
Update OAuth1Binding to allow post and get to receive params
2012-12-12 12:41:57 -08:00
Geoff Schmidt
da4699288d
tweaks to Email.send example
2012-12-12 12:17:53 -08:00
Evan
e2743eeab0
Update docs/client/api.html
...
Added example to Email.send
2012-12-12 12:05:52 -08:00
Tim Haines
0b1ced1aa2
Have an oauth call return the result including headers and statusCode, not just the data
2012-12-11 17:00:11 -08:00
Nick Martin
ae07218515
Convert the benchmark to use Meteor.settings to load scenarios.
2012-12-11 00:17:28 -08:00
Tim Haines
440d386ba1
Add post convenince method to OAuth1Binding, and allow post and get to receive params
2012-12-10 21:07:13 -08:00
David Greenspan
11f98e0748
include jsparse-docs app in main repo
...
Under examples/unfinished. Was in my personal repo.
This app displays a nicely-formatted full reference for the jsparse syntax tree.
2012-12-10 15:27:09 -08:00
David Greenspan
96cd1faf6b
jsparse: allow unescaped / in regex char classes
...
Regexes like /[/]/ are ES5 compliant and supported by Node and browsers.
Needed to parse prettify.js and SockJS!
2012-12-10 15:16:23 -08:00
Nick Martin
a13328b7f4
Use comment nodes for LiveRange in all IE, not just IE < 8. Fixes #458 .
2012-12-10 12:29:26 -08:00
David Glasser
28a136d7c2
Fix client-side c.update({foo: /bar/}) and remove.
...
Minimongo supported JS RegExp object in selectors, but previously we serialized
them poorly over DDP. Fix by converting to the equivalent {foo: {$regex: 'bar'}}
form.
Fixes #346 .
2012-12-10 11:42:18 -08:00
David Glasser
5e6bd79321
Followup to 7289950b: fix and add tests and comments.
...
7289950b removed the long-deprecated support for including "/sockjs" in
HTTP/HTTPS URLs passed to Meteor.connect (though it is require for the new
ddp+sockjs URLs), breaking some tests and making some comments incorrect. These
are now fixed.
2012-12-09 21:23:49 -08:00
David Greenspan
8eacb1ab9f
clarify comment
2012-12-07 18:03:52 -08:00
David Greenspan
85b502c296
jsparse: fix logic bug in lexing identifiers
2012-12-07 17:56:23 -08:00
Naomi Seyfer
f78e46607c
Make the default for Meteor.settings be the empty object
2012-12-07 13:43:05 -08:00
David Greenspan
c87b00f0c9
jsparse: fix decimal literals starting with '.'
2012-12-07 13:40:23 -08:00
Naomi Seyfer
0988203ca1
Merge branch 'mongo-error' into devel
2012-12-07 11:27:47 -08:00
Naomi Seyfer
9bc802b3f6
Added file with library of mongo exit codes
...
Make meteor clearer about why mongo exited.
test for one possible mongo badness
Only print explanation if we have it
2012-12-07 11:27:18 -08:00