Commit Graph

3534 Commits

Author SHA1 Message Date
Geoff Schmidt
24682fd7f4 New Watcher implementation (for watching for changed files and determining when to rebundle the app.) Unlike the old DependencyWatcher, it uses absolute paths and contains no Meteor-specific knowledge. Also unlike the old DependencyWatcher, it has comprehensive unit tests (scripts/watch-test.sh). 2013-05-13 11:51:52 -07:00
Geoff Schmidt
45217c41f3 Unbreak cli-test.sh 2013-05-13 11:51:52 -07:00
Geoff Schmidt
7477cd48fd Unbreak bundler tests 2013-05-13 11:51:52 -07:00
Geoff Schmidt
aaa0e9be5d change inchworm_style to camelCase in a few files 2013-05-13 11:51:52 -07:00
Geoff Schmidt
1266e5278e Don't write bundle dependencies (files to monitor) to disk. Just plumb them through in memory from the bundler to the runner. 2013-05-13 11:51:52 -07:00
Geoff Schmidt
57db17dde0 Only create one Library. Flush it when the runner detects changes, not at bundle time, because that makes more sense. 2013-05-13 11:51:52 -07:00
Geoff Schmidt
54e43f511e Library refactorings. preload becomes override. flush() reloads preloaded/overridden packages along with everything else. 2013-05-13 11:51:51 -07:00
Geoff Schmidt
43c29fbd0b move Library into its own file 2013-05-13 11:51:51 -07:00
Geoff Schmidt
0823323cbe Packages have a Library. This simplifies things considerably 2013-05-13 11:51:51 -07:00
Geoff Schmidt
64a01102da factor more logic into Library 2013-05-13 11:51:51 -07:00
Geoff Schmidt
67356c0988 continue factoring out Library 2013-05-13 11:51:51 -07:00
Geoff Schmidt
562490b776 bundler takes a library 2013-05-13 11:51:51 -07:00
Geoff Schmidt
a7eae9eb71 further refactor toward Library 2013-05-13 11:51:51 -07:00
Geoff Schmidt
bb07daa25e continue refactor toward Library 2013-05-13 11:51:51 -07:00
Geoff Schmidt
5b2523aa18 refactoring toward Library 2013-05-13 11:51:51 -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
ede68cd027 bundle NPM modules correctly.
tests mostly pass.
2013-05-13 11:51:51 -07:00
David Glasser
c628854bc8 hashes 2013-05-13 11:51:51 -07:00
David Glasser
3fcde01908 don't update NPM in warehouse 2013-05-13 11:51:51 -07:00
David Glasser
bff6101ad5 fix a bug 2013-05-13 11:51:50 -07:00
David Glasser
5b6bc3f29c update bundler.bundle API to use packageSearchOptions and releaseStamp 2013-05-13 11:51:50 -07:00
David Glasser
1ed8392a31 we don't think we need .call 2013-05-13 11:51:50 -07:00
David Glasser
28cf05e2d7 noMinify -> minify 2013-05-13 11:51:50 -07:00
David Glasser
c9b988cc62 export sha1 2013-05-13 11:51:50 -07:00
David Glasser
471ffd430b check in geoff's version of bundler.js 2013-05-13 11:51:50 -07:00
David Glasser
4838e5a365 resolved conflicts in packages.js.
we merged dependencies and metadataFileHashes as dependencyFileShas
2013-05-13 11:51:50 -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. release/0.6.3-rc1 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
Nick Martin
8c99176477 History updates. Add missing changes and missing users, reorder, and wordsmith. 2013-05-10 19:17:43 -07:00
Avital Oliver
4284a5ed1d fix npm tests 2013-05-10 15:00:29 -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
d985ca6919 History.md 2013-05-09 18:42:24 -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
Vyacheslav Kim
0893b8258c Include environment info in every web request.
Pass available environment info (Meteor version, OS, etc) in every web
request in User-Agent http header. OS platfrom, release, arch, type
available from node api and Meteor release number.
2013-05-09 11:59:02 -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
28fbbc8c3d Merge branch 'pr/969' into devel 2013-05-06 21:02:16 -07:00
David Glasser
69644fdf01 History.md update. 2013-05-06 21:01:23 -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
David Glasser
aa83b9d800 Merge branch 'pr/987' into devel 2013-05-06 16:16:26 -07:00
David Glasser
74a3c77a9f Add History note. 2013-05-06 16:16:15 -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