David Glasser
be4da5fba4
Revert "Support unlimited tabs by working around browser per-hostname connection limits."
...
This reverts commit 2495cb2f58 .
This change made it easy to construct URLs with more than 63 characters in a
label, which is not legal. We will redo this later with generating a smaller
random token (and taking other precautions to limit the total size of the
label).
2012-10-01 13:45:54 -07:00
David Greenspan
afff7677b5
fix jsparse comments in AST
2012-10-01 12:28:09 -07:00
David Greenspan
998ad47b21
newline at end of file
2012-10-01 10:13:44 -07:00
David Greenspan
be6b876d53
remove trailing comma
2012-09-30 15:30:59 -07:00
David Greenspan
9dce7c7cfa
rename tabs to JS Lex and JS Parse
2012-09-30 15:05:32 -07:00
David Greenspan
8f23d52618
rename example jsparse-demo -> parse-inspector
2012-09-30 15:04:55 -07:00
David Greenspan
6686d40526
include comments in jsparse AST
2012-09-30 00:42:04 -07:00
David Greenspan
3201fe5180
jsparse demo improvements (lexer tab)
2012-09-29 21:33:19 -07:00
David Greenspan
f3f64922c4
Merge branch 'preserve-inputs' into devel
2012-09-29 13:26:23 -07:00
David Greenspan
1e82308054
Tweaks from Geoff code review
2012-09-29 13:24:46 -07:00
David Glasser
caecb40f1a
Small improvements to LiveRange constructor docs.
2012-09-28 16:14:10 -07:00
David Greenspan
c9f51e3b84
add note to docs about preserve-inputs
2012-09-28 14:09:00 -07:00
David Greenspan
b995d4751a
add preserve-inputs package to skel and more examples
2012-09-28 13:23:30 -07:00
David Greenspan
0adc89e736
spark tests no longer clear _globalPreserves
2012-09-28 13:16:00 -07:00
David Glasser
4dcdeb4435
Fix jsparse tests on IE7.
2012-09-28 12:39:03 -07:00
David Glasser
2495cb2f58
Support unlimited tabs by working around browser per-hostname connection limits.
...
The URL provided to Meteor.connect may now be a function returning a new URL on
each socket connection, or contain the substring "MeteorWildcard" which is
replaced by a random string (a UUID) on each socket connection.
2012-09-28 11:57:48 -07:00
David Glasser
8ff16d3b04
IE7 throws an error if you use unquoted false or true as a key in object literals.
...
Quoting it works (and x[false] and x[true] work).
2012-09-28 11:42:57 -07:00
David Glasser
80dbb2e7a6
Follow-up to ac9f553: only save migrationData if name provided.
2012-09-28 07:37:13 -07:00
David Glasser
ac9f553d07
Refactor "reload" package: camelCase the API, and make the onMigrate name
...
optional.
Motivation: now that we don't use "url" as a key in _LivedataConnection, it's
easier to turn it into a function (for MeteorWildcard support).
2012-09-28 00:19:54 -07:00
David Glasser
bee8bcf482
Don't allow migrations if there are any outstanding methods.
...
This is essentially ported from the auth branch.
Motivation: would like to avoid using url as a reload key, in preparation for
making url a function.
2012-09-28 00:14:41 -07:00
David Greenspan
1920122ddd
move idNameLabeler into Spark
2012-09-27 19:34:59 -07:00
David Greenspan
07c72f28c9
minor from code review
2012-09-27 19:26:22 -07:00
David Greenspan
4e15995e4f
Fix for Handlebars helper functions returning null
...
Now you can do {{foo.bar}} if foo() returns null,
and get nothing (silent failure) just like you do
if foo is a non-existent property or function.
2012-09-27 14:31:21 -07:00
David Glasser
ef874ae15d
node.sh: no readline if in Emacs shell.
2012-09-27 13:38:29 -07:00
David Glasser
09eda1e30a
Increment bundle to 0.2.5 (because 0.2.4 has a bad node version).
2012-09-27 13:03:45 -07:00
David Glasser
20f8da21c5
Update node to v0.8.11, a quick bugfix release on top of v0.8.10.
2012-09-27 13:02:43 -07:00
David Glasser
1426432da8
Update dev bundle version number to 0.2.4.
2012-09-27 12:39:01 -07:00
David Glasser
c4f977588a
Replace our custom non-blocking stdin hack.
...
Instead:
- Upgrade to node v0.8.10, which includes the fix to
https://github.com/joyent/node/issues/3994 , to fix "meteor mongo".
- To fix "meteor deploy" in emacs shell, use a hack to revert the O_NONBLOCK
setting after process.stdin is evaluated: since the 3994 fix only applies
when something is spawn'd, make sure to spawn 'true' after evaluating
process.stdin.
- In our node.sh script, if in emacs shell, use Perl to make stdin
non-blocking after node exits. This makes the Node REPL work.
2012-09-27 12:39:01 -07:00
David Glasser
bc3778c17f
Update SockJS to 0.3.3 for iOS 6 xhr-polling support.
...
See https://github.com/sockjs/sockjs-node/pull/88
2012-09-27 12:34:48 -07:00
David Glasser
094546d53b
Check that the value to Session.set is scalar (like we already do in Session.equals).
...
Document this restriction for both functions.
We may later relax this (with deep-copy in and out of the Session); see issue
2012-09-27 11:10:28 -07:00
David Glasser
a016e83754
Let exceptions from stream message callbacks percolate upwards.
...
We used to be unable to do this because of a SockJS bug, but the SockJS folks
read our XXX comment and fixed the bug!
https://github.com/sockjs/sockjs-client/issues/61
2012-09-25 18:26:06 -07:00
David Glasser
a9dfc0322b
Build RPMs in the build-specific tempdir.
2012-09-25 17:52:42 -07:00
David Greenspan
fe096edf23
spark_tests uses preserve-input labeler
2012-09-24 20:36:19 -07:00
David Greenspan
d22e1e6dcd
todos uses preserve-inputs
2012-09-24 20:25:03 -07:00
David Greenspan
eaf146cc2e
preserve-inputs package, Spark._globalPreserves
2012-09-24 20:17:19 -07:00
David Greenspan
0565593da5
block browser events triggered by Spark DOM manip
2012-09-24 20:01:24 -07:00
David Greenspan
deafbf4a3d
implement proper legacy-style id/name preservation
...
just in spark_tests, but to go in package
2012-09-24 20:01:24 -07:00
Nick Martin
65aaa2e991
Specify UTF-8 for app HTML. Fixes #264
2012-09-24 18:11:24 -07:00
Nick Martin
12e4c1b157
Respect existing ROOT_URL environment variable in dev mode runner.
2012-09-24 17:54:25 -07:00
David Greenspan
4b25e2d82d
fix tinytest error message bug
2012-09-24 12:12:42 -07:00
David Greenspan
1168a70e3e
fix reactive <select> tag in IE 7-8
...
Work around IE bug where HTML comments don't materialize inside
<select> and <option> tags.
2012-09-24 12:06:19 -07:00
David Glasser
a0252d6fbe
Fix #352 : meteor should work if a parent directory is named 'public'.
...
Also make sure that every use of app_dir that eventually gets passed to
_scan_for_sources is a resolved path. (Maybe should just resolve in
require_project instead?)
2012-09-24 11:41:22 -07:00
David Glasser
6c6fa5a6b1
Fix race condition in spiderable.
...
If the "check to see if page is ready" interval ran when "Meteor" is defined but
"Meteor.status" is not yet defined, an error message about trying to call an
undefined function would be dumped into the output source before the page
itself.
This can be easily reproduced by changing the timer interval from 100 to 1.
2012-09-24 10:41:14 -07:00
Avital Oliver
879bee2f50
Merge pull request #350 from yanivoliver/master
...
Use new event handler syntax in skeleton app
2012-09-21 17:38:21 -07:00
Yaniv Oliver
58c03ad5da
Use new event handler syntax in skeleton app
2012-09-21 16:59:03 -07:00
David Greenspan
b112cf8f92
small jsparse improvements
2012-09-20 21:22:34 -07:00
David Glasser
d715a5ff74
Merge branch 'release-0.4.1' into devel (some changes discovered during the
...
not-yet-finished 0.4.1 release process).
2012-09-20 18:09:59 -07:00
David Glasser
2768abd5c3
Fix IE7 minimongo test failure: don't use LocalCollection._f._equal on Dates.
...
(We should eventually make all the selector code support Dates, but until then,
don't use it.)
2012-09-20 17:04:50 -07:00
Avital Oliver
b0d181dbcc
Add the replaceLocalhost option to Meteor.absoluteUrl
2012-09-20 15:07:52 -07:00
David Glasser
4b8a688000
Change some test names to make it easier to search output for failures.
...
We should eventually improve test output in more sophisticated ways (eg,
failures could show up sorted at the top, or be duplicated in a second column),
but this is a simple start.
2012-09-20 12:05:51 -07:00