Avital Oliver
4b690eb271
unbreak skel
2013-09-18 13:55:23 -07:00
David Greenspan
d5da9341c1
Merge branch 'observe-sequence' into shark-domrange
2013-09-13 12:06:43 -07:00
Maxime Quandalle
259fb036c8
Fix syntax
2013-09-12 14:29:50 -07:00
Maxime Quandalle
c66b8e3db5
Style tweaks
2013-09-12 14:29:50 -07:00
Maxime Quandalle
d4186524b8
Support multiple extensions in _getSourceHandler
2013-09-12 14:29:50 -07:00
David Glasser
3665b31a82
Remove backwards-compatibility implementation of pre-0.6.5
...
Package.register_extension API.
It didn't even actually work for producing JavaScript files (eg a
coffeescript-like package): see #1410 . Package maintainers should have upgraded
to the more powerful 0.6.5 API by now anyway.
2013-09-12 13:55:15 -07:00
David Greenspan
83c0ae7873
Merge branch 'shark-tests' into shark-domrange
...
Conflicts:
packages/jquery/jquery.js
packages/ui/package.js
2013-09-09 18:45:13 -07:00
Emily Stark
bfc7f22dc0
Don't number lines that end in backslash.
...
Fixes #1326
2013-08-20 11:14:44 -07:00
Emily Stark
bc815ac5e7
Remove unused mongo-livedata package for deploy-galaxy.
...
mongo-livedata uses galaxy package, which has a connection to galaxy that
doesn't get closed, which leads to commands hanging. We should probably have a
way to close galaxy's connection, but for now removing mongo-livedata at least
stops commands from hanging.
2013-08-14 17:46:23 -07:00
Naomi Seyfer
3df06fc1b9
Re-allow the BIND_IP env var to affect things. Put settings in the right place.
2013-08-14 17:46:23 -07:00
Naomi Seyfer
a3e5196109
Todos now runs correctly outside galaxy again. Still have to try the NWO inside galaxy
2013-08-14 17:46:22 -07:00
Naomi Seyfer
11fccbe013
incorporating MONGO_URL into default app config
2013-08-14 17:46:22 -07:00
Nick Martin
a1a9847099
Merge branch 'master' into devel
...
Conflicts:
docs/.meteor/release
2013-08-14 13:34:05 -07:00
David Greenspan
8eefdbfc41
Merge branch 'devel' into shark
2013-08-13 16:21:28 -07:00
David Glasser
dba5933651
Change package/slice separator in various places to colon from dot.
...
Allow dots in package names.
Change the internal representation of "package specs" inside Slice to be a
{package,slice} object instead of a "spec" string.
library.getSlices now can take EITHER a "spec" string or a {package,slice}
object.
Linker-created slice files also separate the slice name with a colon (so eg, you
get URLs like "/packages/livedata:tests.js" when running package tests). (Maybe
this should use a subdirectory instead?)
2013-08-12 18:05:34 -07:00
Emily Stark
cd8248cb33
Comment about why we don't connect to galaxy before bundling
2013-08-12 14:35:29 -07:00
Emily Stark
ca067ad816
Connect to galaxy for deploys only after bundling is done.
...
The connection was timing out during the bundle process (the setTimeout callback
was being enqueued before the connect event fired).
2013-08-07 18:38:57 -07:00
Nick Martin
83a34947ee
Fix regression: display stdout/stderr in the meteor-is-crashed page in development mode.
2013-08-07 12:11:39 -07:00
Nick Martin
a9a99ceafd
followon to previous commit: actually use whitelist instead of blacklist for package name contents.
2013-08-06 15:55:06 -07:00
Nick Martin
e7bb166a02
Check for invalid package names early in the codepath.
...
We already don't work with packages that contain '.' in the name, this just moves the error up and makes it clearer.
2013-08-06 15:24:06 -07:00
David Glasser
3a267f1fdc
Fix error on upgrading from pre-engine app. Fixes #1280 .
2013-08-03 23:04:16 -04:00
David Glasser
c1f8c7f0e5
Don't crash if we lack permission to write out .build.
2013-08-02 17:09:43 -07:00
David Glasser
5bd85ccc37
Make support for unipackages in local package dirs explicit, but scary.
2013-08-02 16:53:55 -07:00
David Glasser
c3d1f7bbd2
Don't fail if stylus or less files are in a non-client-specific place.
...
Make the plugin's arch check less sketchy.
Improve less and stylus error handling.
2013-08-02 15:16:53 -07:00
David Glasser
558bcb8877
Don't print a doubled slash if it's included in ROOT_URL.
...
This should not affect how Meteor.absoluteUrl actually works since it adds a
slash to the end of the root URL if it doesn't have one already.
2013-08-02 11:40:55 -07:00
David Glasser
af5efd2996
Better error (with watching!) for missing source files.
2013-08-02 11:18:31 -07:00
David Glasser
392daa0a99
Detect symlink cycles in app dirs.
2013-08-02 10:59:41 -07:00
David Glasser
75a4cf3199
Merge branch 'devel' into shark
...
Conflicts:
packages/templating/deftemplate.js
packages/templating/package.js
packages/templating/plugin/html_scanner.js
packages/test-in-browser/driver.js
tools/packages.js
2013-08-01 17:17:18 -07:00
David Glasser
e823b1e54a
Don't watch files for reload until after starting the server.
...
Specifically, don't watch until after serverHandle points to the NEW
process. This way, if the watcher files, we are sure to kill the new process,
not fail to kill it because serverHandle is still pointing at the old process or
no process. The old behavior led to sometimes failing to kill the server; while
it would eventually die due to failed keepalive, the new servers would also fail
due to EADDRINUSE.
This change is possible because unlike the only dependencyInfo, WatchSets are
completely self-contained (there's no "... and it should look like it did the
first time" involved).
While we're at it, make restartServer always stops the watcher, and clear some
variables after they're used.
Fixes #1247 .
2013-08-01 16:11:06 -07:00
David Glasser
e483721602
Remember the library resolution of packages used by the plugin program itself.
2013-08-01 12:41:49 -07:00
David Glasser
8de4b48d61
document and rename pluginProviderPackageDirs
2013-08-01 12:17:58 -07:00
David Glasser
2c33d54e5e
BUILT_BY bump
2013-08-01 12:17:58 -07:00
David Glasser
17699eb399
Rebuild a package when its dependencies resolve to a different path.
...
Also simplify a bunch of library code that thought it might have to rebuild
warehouse packages, now that the warehouse contains unipackages.
2013-08-01 12:17:58 -07:00
David Glasser
ecd94142c8
Save to buildinfo the library resolution of all "use"d package.
...
We call these the pluginProviderPackages because these are the packages that, if
they change, could affect the set of plugins available to this package (and thus
require it to be rebuilt).
2013-08-01 12:17:58 -07:00
David Glasser
360e654f63
Don't crash when updating unpinned apps.
2013-08-01 12:17:45 -07:00
David Glasser
8aa63bcb3a
Cleanups for PR 1263:
...
- Display proper caller location (requires extending useMyCaller to take a
number)
- Recover by only returning valid 'where's so we don't crash later.
2013-08-01 00:29:14 -07:00
Andrew Mao
940a8f3250
added some checks for the where argument
2013-08-01 00:15:41 -07:00
David Glasser
f276b34148
comment about updating BUILT_BY when js-analyze changes
2013-07-31 23:50:31 -07:00
David Glasser
1d45b0bfa8
update comments
2013-07-31 23:26:51 -07:00
David Glasser
625d98768f
fix comment
2013-07-31 23:17:52 -07:00
David Glasser
974de6bac3
Update BUILT_BY so everything gets rebuilt.
2013-07-31 22:59:46 -07:00
David Glasser
fac5e219fd
Don't put the old pluginWatchSet onto a Package until we know we're using the
...
unipackage.
2013-07-31 22:56:58 -07:00
David Glasser
52948bed50
fix HTML sort hack. run-tools-tests passes!
2013-07-31 22:56:57 -07:00
David Glasser
a2803fd111
watch nonexistent dirs better
2013-07-31 22:56:57 -07:00
David Glasser
1a5d695ee4
fix minor bugs. bundler-test passes!
2013-07-31 22:56:57 -07:00
David Glasser
1b82376b4b
in theory, this might work
2013-07-31 22:56:57 -07:00
David Glasser
f84fc21e8f
checkpoint for initFromAppDir rewrite
2013-07-31 22:56:38 -07:00
David Glasser
ea22b3ab02
Checkpoint for actually using WatchSets.
...
Have not yet touched initFromAppDir.
2013-07-31 22:56:38 -07:00
David Glasser
3f5edbfae9
remove dead builder.copyDirectory({depend:true}) code
2013-07-31 22:56:38 -07:00
David Glasser
ad5b20990e
get watch-test to pass
2013-07-31 22:56:38 -07:00