Commit Graph

4508 Commits

Author SHA1 Message Date
Avital Oliver
f896cda673 support elements with some but not all $uihooks 2013-08-06 15:21:57 -07:00
Avital Oliver
41e2b8ec76 whitespace 2013-08-06 15:21:25 -07:00
David Greenspan
cc2123f5a9 make isotope work 2013-08-05 17:33:27 -07:00
Avital Oliver
c0014dfda9 cleanup sortable code 2013-08-02 15:40:39 -07:00
David Greenspan
cb0b888bc5 fix indentation 2013-08-02 14:05:09 -07:00
David Greenspan
235ff2e285 new DomRange impl 2013-08-02 10:40:04 -07:00
David Glasser
44aa79120f Merge remote-tracking branch 'origin/shark' into shark 2013-08-01 17:17:56 -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 Greenspan
a588f82a01 add rank 2013-08-01 17:00:47 -07:00
David Greenspan
e85f20be8e style in example 2013-08-01 16:46:20 -07:00
Avital Oliver
11feb8800a first attempt at a working sortable list 2013-08-01 16:37:06 -07:00
David Greenspan
a1404b7a70 put .$ui.data() on elements in #each 2013-08-01 16:27:49 -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.
release/0.6.5-rc11
2013-08-01 16:11:06 -07:00
David Glasser
1ace155432 Merge branch 'rebuild-when-plugin-updated' into devel 2013-08-01 16:05:59 -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
2c356d2b15 Merge branch 'pr/1263' into devel
Fixes #1262.
2013-08-01 00:29:46 -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
7d4cf4ae79 Merge branch 'dep-rewrite-v2' into devel 2013-07-31 23:56:51 -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 release/0.6.5-rc9 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
David Glasser
5ac411652a twiddle exports 2013-07-31 22:56:38 -07:00
David Glasser
4dc5aaf683 rewrite Watcher 2013-07-31 22:56:38 -07:00
David Glasser
5b76eb7a85 watcher rewrite: Add WatchSet and readDirectory. 2013-07-31 22:56:38 -07:00
Emily Stark
8202e86a6a Use blank client targets for all "traditional" programs that need it, not just
the first.
2013-07-31 19:25:44 -07:00
David Greenspan
64b95a47d4 each uses DomRange 2013-07-31 17:10:08 -07:00
Avital Oliver
a2436c62e5 add jquery ui sortable 2013-07-31 16:50:55 -07:00
Avital Oliver
9c1d3cd1d1 wip: a test case that breaks jquery ui sortable 2013-07-31 16:27:55 -07:00
David Greenspan
6434c40c39 comments 2013-07-31 13:12:53 -07:00
David Greenspan
316925d3ac remove old code 2013-07-31 12:48:49 -07:00
David Greenspan
b0e10cf3d5 DomRange 2013-07-31 12:48:17 -07:00
David Glasser
097b261518 Don't need to merge pluginDependencies into sliceDependencies for checkUpToDate.
In fact, each slice's dependencies already contains pluginDependencies (see
after the linker.prelink call in Slice.build, and recall that a package's
plugins are always active in itself).
2013-07-30 22:49:57 -07:00
David Greenspan
28a3a536bf Revert "wip: start of empty textnode technique (BREAKS)"
This reverts commit a130725a55.
2013-07-30 20:04:02 -07:00
Nick Martin
ae965f1aa1 Make an environment variable to control where we bind.
This only affects the bundled app (eg, what you'd run in production). The dev mode runner has a bunch of '127.0.0.1' addresses hardcoded, and will need more work.
2013-07-30 20:00:15 -07:00