Commit Graph

12308 Commits

Author SHA1 Message Date
David Glasser
0ed8a9b32d bump package versions for a test release release/METEOR@1.0.2-test-spring 2014-12-10 14:50:11 -08:00
David Glasser
d7d51f9dac All downloads use downloadPackagesMissingFromMap
We now can make PackageMaps without a localCatalog, for cases like this
where we really want everything in the map to be downloaded.
2014-12-10 14:42:18 -08:00
David Glasser
44563f13b4 Allow prerelease parts with digits and nondigits
Previously the constraint solver crashed on such things.

Fixes #3147.
2014-12-09 20:33:06 -08:00
David Glasser
6ea8443f30 Update calls to addFiles, onUse, and onTest 2014-12-09 20:18:31 -08:00
David Glasser
e7bfa5202e Update packages to use Package.registerBuildPlugin 2014-12-09 20:09:34 -08:00
David Glasser
21a34a98b3 Show mongod exit message if it started up OK
Fixes "run with mongo crash" test
2014-12-09 19:52:03 -08:00
David Glasser
118e330cba fix deadlock in mongod startup failure
AppRunner.stop needs to be able to cause any Future which the AppRunner
is waiting on to return, so that it can get back to the top level of its
loop and return. (This is because for some reason it is important that
AppRunner.stop does not return until the app is guaranteed to be
stopped.)  This had not been the place for the injected "wait for mongo
to start up before running the AppProcess" future.

This also means we can't use f.future() any more, because that code
assumes that it is the only code allowed to resolve its future (it
unconditionally resolves the future when the wrapped function returns,
which is an error if it is already resolved).

This is tested by 'run errors' which was failing.  Also, the test should
only expect 2 unexpected exit code messages, not 3, since we don't print
the message the first time which didn't have a kill before it.
2014-12-09 19:38:09 -08:00
David Glasser
d3ff3954bf PackageMap only has a local (not layered) catalog
No need to introduce the LayeredCatalog anywhere it's not needed.

Simplify some more things about LayeredCatalog:

- remove unused containingCatalog link from localCatalog to
  layeredCatalog

- because of that, simplify LayeredCatalog initialization to occur after
  localCatalog (no more circular references required)

- drop some other dead LayeredCatalog methods
2014-12-09 18:43:25 -08:00
David Glasser
31a43fc019 prune dead code 2014-12-09 18:30:22 -08:00
David Glasser
c9345ed4ea Delete straggling submodule objects 2014-12-09 14:04:42 -08:00
David Greenspan
f9339a8f26 Merge branch 'blaze-render-with-data-gc' into devel 2014-12-09 13:18:26 -08:00
David Greenspan
ab92f117ae Expand fix for #3130
If you Blaze.remove a View that is a template rendered by Blaze.renderWithData, or included with an implicit “with” as in `{{> myTemplate someData}}`, Blaze will now remove the DOM of the template, and also remove the implicit “with” (in both cases).

As background, Blaze.remove only works on Views that were attached directly under a DOM element, not inside another View.  Blaze.render always attaches the resulting View directly under a DOM element, but Blaze.renderWithData creates a “with” View around the template View.  Previously, you could Blaze.remove the “with” View (which is returned by renderWithData), but if you got access to the template’s View some other way and tried to remove it directly, nothing would happen.  Now, the correct thing happens (the View is destroyed and the DOM is removed).

In the future, we should consider whether Blaze.remove should work on arbitrary Views, not just Views attached under a DOM element.
2014-12-09 13:17:12 -08:00
Emily Stark
0d33cbbfca remove history entry for nonexistent 0.6.4.2 2014-12-09 13:16:28 -08:00
Emily Stark
71652f9b9f Merge branch 'master' into devel
Conflicts:
	History.md
	docs/client/data.js
	docs/client/full-api/concepts.html
	docs/client/full-api/tableOfContents.js
	examples/localmarket/.meteor/packages
	packages/ddp/package.js
	packages/meteor-tool/package.js
	packages/mongo/package.js
	scripts/admin/manifest.json
2014-12-09 13:15:29 -08:00
Emily Stark
a9b013d22e Merge branch 'release-1.0.1' 2014-12-09 13:01:53 -08:00
Emily Stark
b4fbf0af44 update docs and examples to 1.0.1 2014-12-09 13:01:22 -08:00
Emily Stark
6211e17150 update manifest 2014-12-09 12:43:54 -08:00
Emily Stark
38cde607f5 tweak banner 2014-12-09 12:41:51 -08:00
ekatek
a79e69130f Merge pull request #3232 from meteor/word-wrap-final
Automatically line-wrap output
2014-12-09 12:23:30 -08:00
David Glasser
e73ae0e41c oops, some previous backports were missing 2014-12-09 11:42:41 -08:00
Ben Newman
ba89b7db60 Automatically attach to and continue debugger when server restarts. 2014-12-09 13:38:28 -05:00
Emily Stark
2cbad1fe9e bump ddp version number release/METEOR@1.0.1 2014-12-09 10:36:51 -08:00
Emily Stark
7545e05eb4 Bump package version numbers 2014-12-09 10:35:23 -08:00
David Glasser
70f257c0e4 Memoize calls to js-analyze 2014-12-08 23:18:15 -08:00
David Glasser
4920ad1724 Use current previousSolution on runner rebuild 2014-12-08 22:02:50 -08:00
Emily Stark
77a1257e51 Clone options before mutating 2014-12-08 19:05:41 -08:00
Mitar
847e64b02f doneCallback is not necessary defined. 2014-12-08 18:54:44 -08:00
ekatek
c8e2c9f9d9 change to the right slash 2014-12-08 18:44:28 -08:00
ekatek
07ff83f2c9 rename Console.directory to Console.path, do not escape spaces
Rename Console.directory to Console.path.

Do not attempt to automatically escape spaces in file paths -- it is
hard to define a function that does this only sometimes, rather than all
the time. This is something that we could change later, once we have a better
idea of when we use it.
2014-12-08 18:37:49 -08:00
ekatek
8d213d0cb0 fix some newline breaks 2014-12-08 18:34:38 -08:00
Emily Stark
871e3d88f2 Explicitly forbid replaces from validated updates. 2014-12-08 18:33:22 -08:00
ekatek
42b0d9247d remove the extra Warning sign 2014-12-08 18:30:52 -08:00
Slava Kim
ebce6c46aa Add a blaze test for #3130 2014-12-08 17:05:05 -08:00
Slava Kim
918a9e0a6b Use a special flag to mark when Blaze views have..
autogenerated parents those need to be gc'd with their children.
Should help with #3130
2014-12-08 16:38:01 -08:00
ekatek
9085975913 automatically escape spaces when printing directories
Directories should not wrap, but, also, we should make sure to automatically
escape spaces ("/ab/a\ b.js" vs "/ab/a b.js"). Because we might need to deal with
user input, we don't know if the user has already escaped the spaces before getting
the string. As such, we should only escape spaces that haven't already been escaped.
2014-12-08 14:54:36 -08:00
ekatek
f3e3dc7bca rename doNotWrap to noWrap in console.js' 2014-12-08 14:44:36 -08:00
Emily Stark
4064b6562c Check that 'mutator' is an object 2014-12-08 14:33:30 -08:00
ekatek
bcf6b200e1 introducing and using Console.directory
I think that this makes the API too complicated, but we might want to treat
directories the same way that we do commands (use some chalk when needed,
do not wrap, etc). This introduces the Console.directory function.

Of course, it is not really clear to me what happens if a directory is inside a command.
(ex: 'cd <directory>'). Right now, there is no difference. It makes sense to me that
we might want to keep the entire command the same style, so I am not wrapping those
in additional Console.directory units for now.
2014-12-08 14:15:54 -08:00
Sashko Stubailo
5a70c72dd6 Merge pull request #3094 from anstarovoyt/devel
Clock example uses old API
2014-12-08 14:10:07 -08:00
David Greenspan
3970dcc871 Merge branch 'mitar-parentdata' into devel 2014-12-08 14:02:12 -08:00
David Greenspan
3aadefa71d History.md and docs tweaks 2014-12-08 14:01:03 -08:00
ekatek
f4d9e5bff1 adding extra line breaks to some cordova output
Glasser thinks it looks better with more newlines. I am not sure that's true --
but it looks kind of stern either way, so might as well add them in.
2014-12-08 13:57:24 -08:00
Sashko Stubailo
c9fdcaa673 Fix waypoint situation by not using jquery-waypoints anymore 2014-12-08 13:22:35 -08:00
Sashko Stubailo
ad05c3a520 Fix waypoint situation by not using jquery-waypoints anymore 2014-12-08 13:22:07 -08:00
David Greenspan
27af08c78b Merge branch 'devel' into mitar-parentdata 2014-12-08 13:20:39 -08:00
ekatek
714ed749e7 for URLs replace spaces with %20 instead of just taking care to not wrap them 2014-12-08 11:57:36 -08:00
Sashko Stubailo
fd727ad200 Fix regression where declared IDs were ignored 2014-12-08 11:34:34 -08:00
Slava Kim
23ee0966a5 Clarify the message behind Meteor.user().profile
The `profile` field is public and writable by the user.
2014-12-08 11:29:00 -08:00
Sashko Stubailo
c458407440 Avoid calling ensureVisible if there is no selected result 2014-12-08 10:55:41 -08:00
Sashko Stubailo
398f6e0a12 Only open search for alphanumeric characters 2014-12-08 10:55:41 -08:00