Commit Graph

2128 Commits

Author SHA1 Message Date
Naomi Seyfer
3367cf0840 Merged jwulf change to start inner server with debug. 2012-12-03 10:17:50 -08:00
meawoppl@gmail.com
3f0a5a3489 Fixed flaw in uuid generation where dynamic casting from hex string to integer
give the improper result for characters a-f.

See below for related snippet, spaced to make reading easy
X marks the spot!:
>  s
["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"]

>  _.map(s, function(input) { return ((input & 0x3)| 0x8)})
[ 8,   9,   10,  11,  8,   9,   10,  11,  8,   9,   8,   8,   8,   8,   8,   8]
                                                    X,   X,        X,   X,   X
_.map(s, function(input) { return ((parseInt(input,16) & 0x3)| 0x8)})
> [8,  9,   10,  11,  8,   9,   10,  11,  8,   9,   10,  11,  8,   9,   10, 11]
2012-12-02 12:43:50 -08:00
David Glasser
ad9390ff6f Merge branch 'dev-bundle-029' into devel 2012-11-30 01:04:50 -08:00
David Glasser
c09aaa7908 Bump dev bundle version to 0.2.9 2012-11-29 16:26:25 -08:00
David Glasser
3262492f8d Update clean-css to 0.8.3. Fixes #515. 2012-11-29 16:26:01 -08:00
David Glasser
a4db69aca2 Revert "Update clean-css to 0.8.3. Fixes #515."
This reverts commit 8ee9959a8e.

Need to do this on a branch and build a dev bundle.
2012-11-29 16:24:14 -08:00
David Glasser
8ee9959a8e Update clean-css to 0.8.3. Fixes #515. 2012-11-29 16:19:03 -08:00
Naomi Seyfer
1cbfe4e361 Modified cli-test.sh to be less sensitive to directory run from 2012-11-28 18:39:25 -08:00
Naomi Seyfer
6ccd7b4bb1 Changed cli-test.sh to default to using working copy meteor.
If you want the old behavior, using the installed meteor,
pass in the option --global
2012-11-28 18:30:04 -08:00
David Glasser
3a3126568a docs: clarify that the 'fields' option to find/findOne is server-only
and the 'reactive' option is client-only.

Avoid using the term Minimongo to mean "client-only".

Fixes #492.
2012-11-28 13:27:20 -08:00
David Glasser
401c0cfa21 Better error message from Spark when patching bad HTML fails.
Fixes #512.
2012-11-28 13:22:29 -08:00
David Glasser
add592a32e minimongo: Test observing a query-by-ID.
Demonstrates that the optimization in PR #504 is not safe.
2012-11-28 11:01:30 -08:00
David Glasser
4acd2551e4 Refactor $and/$or/$nor compilation. 2012-11-28 10:53:32 -08:00
Christian Schramm
eca9d705ae Fixed bug where $and/$or/$nor accepted empty arrays
mongodb doesn't accept it, so we follow its example. Also fixed test
for that.
2012-11-28 10:48:17 -08:00
Christian Schramm
1291546954 Added $where tests 2012-11-28 10:48:17 -08:00
Christian Schramm
f080fb20e4 Added $and tests 2012-11-28 10:48:16 -08:00
Christian Schramm
7f89f059e5 Added test for $or and $nor 2012-11-28 10:48:16 -08:00
David Glasser
6d1c0a7c93 Merge branch 'master' into devel 2012-11-27 10:32:57 -08:00
David Glasser
067113a37d Merge branch 'release-0.5.2' 2012-11-27 10:31:34 -08:00
David Glasser
6635ae1007 History.md update for 0.5.2. v0.5.2 2012-11-27 08:46:09 -08:00
David Glasser
0757e96e6d Fix use of cursor.observe at server-side startup.
A block that wasn't allowed to yield called _Mongo::_createSynchronousCursor,
which certainly can yield (it waits on a Future) but doesn't actually end up
needing to yield unless it is called during the initial connection to
Mongo... eg, during startup.

Fixes #507 (reported by paulreimer).
2012-11-27 08:45:01 -08:00
David Glasser
68db80f500 Update version number to 0.5.2. 2012-11-27 08:43:29 -08:00
David Glasser
aa35967021 Show failed test names at the top of the window.
Not styled at all. Feel free to improve.
2012-11-26 20:45:15 -08:00
David Greenspan
99b659a810 jsparse: line numbers in error messages 2012-11-26 18:28:07 -08:00
David Greenspan
e8826efb1e jsparse: allow trailing comma in obj lit per ES5
(we should probably catch this in future linter)
2012-11-26 12:14:51 -08:00
David Glasser
87ef7b692a accounts-ui: use correct 'where' in package.js.
It doesn't really matter though: 'where' only affects on_use and 'less' doesn't
have an on_use.
2012-11-25 20:25:31 -05:00
David Glasser
965d96615a When updating the dev bundle in a checkout, don't delete it until after we've
successfully downloaded the new one.

Previously, if you're working offline, checkout an old version of meteor with a
different dev bundle, and run 'meteor', you would be left with no dev bundle at
all and it would be difficult to do any further work even after checking out a
different branch.
2012-11-24 16:42:23 -05:00
David Glasser
d073e5ddfc Fix use of cursor.observe at server-side startup.
A block that wasn't allowed to yield called _Mongo::_createSynchronousCursor,
which certainly can yield (it waits on a Future) but doesn't actually end up
needing to yield unless it is called during the initial connection to
Mongo... eg, during startup.

Fixes #507 (reported by paulreimer).
2012-11-23 19:49:23 -05:00
David Glasser
2d04e07b7a wordplay: update idle status correctly.
Fixes #505, reported by pbkracker.
2012-11-23 11:03:31 -05:00
David Greenspan
ae492fc793 jsparse: support ES5 line continuations 2012-11-22 16:54:07 -08:00
David Greenspan
44b4c9ed61 jsparse: allow keywords as property names per ES5 2012-11-22 16:54:07 -08:00
David Greenspan
48ef995206 .return to ['return'] for JS parsability 2012-11-21 20:51:13 -08:00
David Greenspan
ad7098307d Fix jsparse hex literals
(so 0xabc doesn't parse 0 and then error)
2012-11-21 20:50:48 -08:00
David Greenspan
95f0278cb9 semicolons 2012-11-21 19:42:10 -08:00
Nick Martin
9b8eb41f04 Add comment about how remembering passwords doesn't work. 2012-11-20 19:31:29 -08:00
Avital Oliver
8d9420d255 Rename local variables (to camel case) 2012-11-20 15:16:47 -08:00
Avital Oliver
35df034a7d Add IntelliJ IDEA and SublimeEdit extensions to .gitignore 2012-11-20 15:14:58 -08:00
Nick Martin
9e540d8479 Merge branch 'master' into devel
Conflicts:
	admin/generate-dev-bundle.sh
2012-11-20 08:05:11 -08:00
Nick Martin
16cf8a2621 Merge branch 'release-0.5.1' 2012-11-20 08:03:06 -08:00
David Glasser
ba76b0fd6d Follow-up to 426a72fe: make sure loggingIn goes away in the case of a half-complete login method. v0.5.1 2012-11-19 21:08:41 -08:00
David Glasser
f4573dbb1b Add a sleep function (useful for introducing latency in manual debugging). 2012-11-19 20:34:48 -08:00
David Glasser
426a72fe24 Don't display logging-in animation in onReconnect. 2012-11-19 20:33:39 -08:00
Avital Oliver
7cc88dc75e accounts-ui: show messages in all dropdowns 2012-11-19 20:29:02 -08:00
Avital Oliver
dcdd6da47f accounts-ui: show messages in all dropdowns 2012-11-19 20:28:41 -08:00
David Glasser
974f0be4a4 Expand failed tests by default. 2012-11-19 20:01:48 -08:00
Avital Oliver
59bab69fcc accounts-ui: don't display message twice 2012-11-19 19:34:42 -08:00
Avital Oliver
1da3ef978a accounts-ui: don't display message twice 2012-11-19 19:34:26 -08:00
David Glasser
738e8f43fa Meteor.loggingIn now true during the beginPasswordExchange part of
Meteor.loginWithPassword.
2012-11-19 16:42:17 -08:00
Nick Martin
3b97c9199f Use absoluteUrl in tests so that tests pass when you visit them via something other than 'localhost' (e.g., when testing IE using an VM) 2012-11-19 14:49:45 -08:00
Nick Martin
49758b50d7 Fix typo in changelog. 2012-11-19 14:18:26 -08:00