Commit Graph

13353 Commits

Author SHA1 Message Date
Slava Kim
4de0ef6f61 Allow to override the previously compiled installer binary 2015-03-02 17:54:33 -08:00
Slava Kim
d8a3f9145b Updated installer that has a skip button 2015-03-02 17:42:01 -08:00
Slava Kim
89e0373259 Fix progressbars on Windows 2015-03-02 16:34:04 -08:00
Slava Kim
eeeb3d9f3a Always get the width of the terminal through the width method 2015-03-02 16:27:15 -08:00
Slava Kim
cbff527131 Add a spinner option to the admin progressbar-test command 2015-03-02 16:01:31 -08:00
Slava Kim
4af325b222 Add a dummy progress-bar test command for testing 2015-03-02 15:12:21 -08:00
Avital Oliver
4265cf8c44 Simplify Windows Meteor install path detection 2015-02-27 16:29:24 -08:00
Avital Oliver
1d828b5a16 Windows installer: Change a color
The version number on the bottom left corner is now black instead of
white.
2015-02-27 14:33:15 -08:00
Slava Kim
312b6afbc6 Merge branch 'windows-custom-location' into devel 2015-02-27 12:23:38 -08:00
David Glasser
0c0cbe12be Update to Mongo driver 1.4.32
This contains a PR we just submitted to help with error handling
for #2534.
2015-02-27 12:00:25 -08:00
Slava Kim
385a16ab16 Fix spacebars output tests to accommodate recent compiler output changes 2015-02-27 11:44:04 -08:00
Matt DeBergalis
13e98f5a4a switch to forums 2015-02-26 20:13:46 -08:00
Slava Kim
f6dfcc4032 Remove an extra colon 2015-02-26 19:01:30 -08:00
Slava Kim
de052f11f8 Merge branch 'tracker-profiler' into devel
Actually contains annotations to Blaze useful for tracker-profiler but not the
package itself. These changes are also useful to the future tools.
2015-02-26 18:58:49 -08:00
Slava Kim
996369e6a5 Expose the active computations held within Tracker 2015-02-26 18:45:13 -08:00
Slava Kim
be93ffc1d7 Annotate Blaze autoruns for debugging and better errors 2015-02-26 18:44:52 -08:00
Avital Oliver
b587efdab5 Add README for building Windows installer 2015-02-26 14:10:39 -08:00
Avital Oliver
83c65e718f Rename wix-installer/ -> installer/ 2015-02-26 12:09:30 -08:00
Sashko Stubailo
a4d85bb42c Remove extra option to absoluteUrl
force-ssl already sets this option by default
2015-02-26 11:53:32 -08:00
David Glasser
c6cc72e6e8 Merge branch 'issue-2534' into devel
Fixes #2534.
2015-02-26 11:51:31 -08:00
David Glasser
3e59a1bf8c Better errors on observeChanges and sub errors 2015-02-26 11:48:47 -08:00
David Glasser
9129bd5421 Send errors thrown by _publishCursor over DDP
This is now possible because observeChanges now can throw on bad
queries.

Previously this would crash the server if it occurred.
2015-02-26 11:48:47 -08:00
David Glasser
874b3ff74d Fix #2534 for oplog too
In order to test this, we applied the following diff to
minimongo/selector.js:

--- a/packages/minimongo/selector.js
+++ b/packages/minimongo/selector.js
@@ -591,6 +591,8 @@ ELEMENT_OPERATORS = {
   },
   $in: {
     compileElementSelector: function (operand) {
+      if (operand === null)
+        operand = [];
       if (!isArray(operand))
         throw Error("$in needs an array");

This means that minimongo now allows `$in: null`, and thus
OplogObserveDriver can be used for the query in the new 'bad query'
test, but mongod still returns an error that is processed by the passing
test.  (The client side of the test fails with this temporary change,
because minimongo no longer throws!)

It's hard to see how to test this better, because minimongo should throw
on any queries that mongod throws on.
2015-02-26 11:48:47 -08:00
David Glasser
2f2ba3979c Make observeChanges throw on bad query
Fixes #2534.

In the past, a bad query would be retried forever, causing the
observeChanges to hang.

(In the common case of a DDP subscription, this would also cause the
current DDP connection to completely stop reading messages, and would
make methods that do writes to the same collection (on ANY DDP
connection) never get their 'updated' messages.  See
https://github.com/meteor/meteor/issues/2534#issuecomment-73355050
These two secondary problems may still need to be fixed but at least
the root cause should be addressed.)

This only fixes PollingObserveDriver, not OplogObserveDriver, but this
issue typically only affects PollingObserveDriver because we don't
choose to use OplogObserveDriver when minimongo can't understand a
query.
2015-02-26 11:48:47 -08:00
David Glasser
cfc4015f61 Failing test for #2534.
Test fails on server (passes on client).
2015-02-26 11:48:47 -08:00
Sashko Stubailo
023fe49a1b Merge pull request #3818 from hwillson/issue-3441
Adjusted Meteor.absoluteUrl() to use the secure setting.
2015-02-26 11:44:08 -08:00
hwillson
c8ebdd2473 Reverting back to using secure = true with Meteor.absoluteUrl() and added the
force-ssl package to make sure docs are always served via SSL.
2015-02-26 14:17:01 -05:00
hwillson
d1a783d6cf Updated to only set secure flag to true if original URL is https based. 2015-02-26 06:52:04 -05:00
hwillson
7a4dd5295c Adjusted Meteor.absoluteUrl() to use the secure setting so SSL is enforced.
Helps address the issue of accessing https://docs.meteor.com and being
redirected to http://docs.meteor.com.
2015-02-25 22:32:13 -05:00
Slava Kim
ec9afe2c64 Don't set quotes in METEOR_INSTALLATION variable 2015-02-25 16:35:19 -08:00
Slava Kim
bf63b6dbf8 Allow meteor.bat script to set its own installation location 2015-02-25 16:15:29 -08:00
David Glasser
396bfac14c Fix . 2015-02-25 15:06:52 -08:00
David Glasser
34c366faea Fix backwards logic of #3780. 2015-02-25 14:55:36 -08:00
David Glasser
c69e990152 $TINYTEST_FILTER to only run some tests
I have typed `if (! test.name.match(/foo/)) return` an average of 4
times a week for the past several years.  No more.
2015-02-25 14:55:36 -08:00
Avital Oliver
b3c49b5fa1 Improve Blaze performance on initial array rendering
This is one of a longer sequence of changes we can make to make
the diffing algorithm in Blaze be linear as opposed to quadratic
which it is at the momeny, in general.

This change specifically makes it so that the very common case of
an {{#each}} over an array that switches from empty to a long array
much faster, since the adds in those case are always at the end
of the array. This means there's no bookkeeping necessary to
update indexes.

This changes reduces the rendering time from the example posted
on #3596 from 5000ms to 1729ms.
2015-02-25 14:40:43 -08:00
David Glasser
acae4a576e Merge branch 'master' into devel
Made sure not to revert the run-velocity change that was reverted on
master.
2015-02-25 09:35:31 -08:00
David Glasser
c5c9e2e9b2 Merge branch 'release-1.0.3.2'
Fixes #3809.
2015-02-25 09:32:49 -08:00
David Glasser
749ecb81ad update docs and examples for 1.0.3.2 2015-02-25 09:32:21 -08:00
David Glasser
0b8a33282e METEOR@1.0.3.2 release/METEOR@1.0.3.2 2015-02-25 08:55:26 -08:00
Slava Kim
00d3896e20 Merge branch 'installer-wix' into devel
Adapt the wix installer for real. Use it as the main build target in all jenkins
jobs, etc.
2015-02-24 22:17:11 -08:00
Christian Bundy
650695f878 Change cursor to pointer on checkbox hover 2015-02-24 22:04:55 -08:00
Mitar
1100dec36c Added message argument to "include" and "notInclude". 2015-02-24 21:52:31 -08:00
Mitar
5a0a0bc061 Provide notInclude in Tinytest. 2015-02-24 21:52:31 -08:00
Josh Owens
cc93674277 Set testing to automatically be run once. 2015-02-24 21:50:05 -08:00
Slava Kim
1448770bb0 Edit windows installer script to take the last item from the array, not just the second one 2015-02-24 21:18:47 -08:00
Slava Kim
62ac82c835 Bump release/WINDOWS-PREVIEW@0.1.8 2015-02-24 21:16:41 -08:00
Slava Kim
bf68f0f50e Delete the source of old installer 2015-02-24 21:10:28 -08:00
Slava Kim
798e6c2e8b Move installer to InstallMeteor.exe 2015-02-24 21:09:25 -08:00
Slava Kim
1aba870162 Always create an empty Release folder
otherwise the build fails
2015-02-24 21:06:38 -08:00
Slava Kim
bafde7f94c Remove pauses 2015-02-24 21:02:35 -08:00