Commit Graph

1895 Commits

Author SHA1 Message Date
Geoff Schmidt
0b2d536e38 Clean up error reporting in HTML template scanner 2013-05-13 11:56:51 -07:00
David Glasser
1f0587886c Automated .npm changes. 2013-05-13 11:55:11 -07:00
David Glasser
78d8f61564 Remove inaccurate comment and logging line.
(This function is not documented to users, but it's what the livedata package
uses to implement audit-check-coverage.)
2013-05-13 11:54:20 -07:00
Geoff Schmidt
1049c2d7d2 add missing dependencies (following rebase on devel) 2013-05-13 11:54:20 -07:00
Geoff Schmidt
84baa67186 Fix typo that broke npm shrinkwrap 2013-05-13 11:54:20 -07:00
David Glasser
b4353f653c Add .gitignore for new packages and remove from old package. 2013-05-13 11:54:20 -07:00
Geoff Schmidt
ed18c6ffb5 Comprehensive build-time error reporting system. In particular: if an error occurs, the build will try to continue to identify any other potential problems so that they can be flagged too. Syntax errors are captured and dealt with programmatically, rather than just being echoed to stderr by node. Stack traces are parsed to pull out file and line information, and a distinction is made between the 'user' and 'internal' portions of the stack. All of this is at build time only -- it has not been extended to (run-time) server or browser yet. Also, no source maps yet, though line numbers are computed correctly for units within the linker. 2013-05-13 11:52:43 -07:00
Geoff Schmidt
dae3ddf50b Port 'stylus' package to new plugin api 2013-05-13 11:52:43 -07:00
Geoff Schmidt
4bff34a680 Port 'less' package to new plugin API 2013-05-13 11:52:43 -07:00
Geoff Schmidt
8c72a28e35 Port coffeescript package to new plugin API 2013-05-13 11:52:43 -07:00
Geoff Schmidt
d5660c3938 Make 'templating' use the new plugin API. Now handlebars can be a separate package again. 2013-05-13 11:52:43 -07:00
Geoff Schmidt
ec0f3ff595 Port 'meteor' package to use new Plugin API. When a package or an app uses a plugin, include the plugin source files among that target's dependencies. 2013-05-13 11:52:43 -07:00
Geoff Schmidt
20efd73f98 New plugin API. Reimplement old add_extension API on top of new API for backcompat. 2013-05-13 11:52:43 -07:00
Geoff Schmidt
9931898d22 Patches to make livedata load from non-server nodejs 2013-05-13 11:51:53 -07:00
Nick Martin
302d625cba make tests pass again 2013-05-13 11:51:53 -07:00
David Glasser
347efb3623 don't lose emily's change to a moved file 2013-05-13 11:51:51 -07:00
David Glasser
6b48e8bd8a stuff that doesn't have conflicts 2013-05-13 11:51:50 -07:00
David Glasser
6f05a29f0b Revert the contents of the avital-client-compatibility branch.
We will rebase linker on top of this commit, and then re-apply.
2013-05-13 11:49:45 -07:00
David Glasser
8dbee56e77 Add .gitignore to package directories to match linker branch.
This way switching between linker and devel doesn't leave you with lots of junk
in git status.
2013-05-13 10:57:37 -07:00
Naomi Seyfer
3f36763f29 Our version of underscore doesn't have 'partial' anymore since we
downgraded.

Missed one instance of this because I missed arrays in the EJSON support in
mongo testing.
2013-05-12 01:31:39 -07:00
Nick Martin
9b74af5b2a Fix Firefox 3.6. addEventListener useCapture parameter is not optional on old firefox. 2013-05-10 21:37:17 -07:00
Nick Martin
e0573b61b5 Fix IE8. It does not have window.addEventListener 2013-05-10 21:04:50 -07:00
Avital Oliver
3188861717 oops 2013-05-09 22:13:54 -07:00
Avital Oliver
cb3bcc6b61 History.md improvement 2013-05-09 19:01:43 -07:00
Avital Oliver
7f970513e5 Faster reconnects. Fixes #696
- Lower reconnect timeout to 5m
- Respond to the 'online' event to reconnect immediately
  eg. in case you switched from 3G to Wi-Fi
2013-05-09 18:24:23 -07:00
Avital Oliver
5b2240df4f Use Websockets on all browsers other than iOS <= 5 2013-05-09 11:50:56 -07:00
David Glasser
99d5be0079 Mimize shrinkwrap files so that they change less in git. 2013-05-09 11:17:36 -07:00
David Glasser
48774f7aac Simpler binary search implementation which does not special-case length=1. 2013-05-06 21:00:21 -07:00
David Glasser
2e9ad511d8 Style cleanup, vars, etc. 2013-05-06 20:46:07 -07:00
James Gill
8e0cf9cfa8 Replacing the insert method in sorting.
It has been replaced with a binary search, instead of
an insertion-sort O(n^2) search.
2013-05-06 20:31:20 -07:00
Andrew Wilcox
6c8a4b590b Rename a collection "manager" to "connection". 2013-05-06 16:14:32 -07:00
Andrew Wilcox
1f7627582b Clearer error message when calling Meteor.Collection without "new".
Fixes #457.

Add an optional "expected" predicate to Tinytest's throws.
2013-05-06 16:04:18 -07:00
David Glasser
c39e44e640 Reorder test output to have name on the right and drop fixed width.
Now long test names don't wrap.
2013-05-06 15:50:42 -07:00
David Glasser
3952be8183 Fix EJSON base64 decoding when 'A' is 3rd or 4th char in a block.
Fixes #1001.
2013-05-06 15:38:20 -07:00
Avital Oliver
028062bef4 Minor improvements to accounts-facebook 2013-05-06 12:12:46 -07:00
Naomi Seyfer
91c273fa41 Fix server synch queue drain to work like client one 2013-05-02 16:38:44 -07:00
Avital Oliver
be8dc47113 Better error rethrowing 2013-04-30 11:43:30 -07:00
Avital Oliver
5d04576b91 HTTP error messages don't have newlines 2013-04-30 11:43:30 -07:00
Avital Oliver
c69ab5d350 Include response in HTTP 4xx/5xx error messages 2013-04-30 11:43:30 -07:00
David Glasser
bd0b88caed Use underscore (to avoid prototype issues). 2013-04-25 17:06:06 -07:00
Christine Spang
0b74f9b8fa Make email tests include a custom header.
I'd like to test that adding multiple headers is working fine too, but
the current tests are already order-dependent. Fixing this properly
would probably involve the tests depending on something like mailparser.
2013-04-25 16:52:06 -07:00
Christine Spang
e6ff44477b Add support for arbitrary headers to email package.
Ordering is not preserved since we're using a dictionary, but header
ordering doesn't matter anyway.
2013-04-25 16:52:06 -07:00
Andrew Wilcox
f4808b5a68 Add Chromium to the browsers supported by appcache 2013-04-25 16:50:33 -07:00
David Glasser
209dbf2fc7 localstorage package should be internal 2013-04-25 16:48:26 -07:00
Andrew Wilcox
a15d1ecdee Unpolyfill localstorage.
Fixes #634.

The unit test now passes in Firefox when dom.storage.enabled is set to
false (if we care :)

Tested in Chrome, Firefox, and IE 6 and 7.
2013-04-25 16:43:39 -07:00
David Glasser
b9693f4e1e Update .npm for newish code (eg 1a7c2d8). 2013-04-25 14:39:45 -07:00
Andrew Wilcox
c83fcbb5ca Bump CoffeeScript version to 1.6.2. 2013-04-25 14:20:29 -07:00
David Glasser
eecc97715f Don't get confused (on the server) if transform returns something without _id.
Fixes #974.
2013-04-25 14:18:36 -07:00
Avital Oliver
4a32bb81f3 options.compatibility -> options.raw 2013-04-25 13:47:03 -07:00
Avital Oliver
fb61e884db Don't create new var scope for js files in client/compatibility/ 2013-04-24 15:53:19 -07:00