-
Notifications
You must be signed in to change notification settings - Fork 199
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into autocomplete
Conflicts: genome.css js/Browser.js jslib/dijit/themes/tundra/Calendar.css jslib/dijit/themes/tundra/Calendar_rtl.css jslib/dijit/themes/tundra/ColorPalette.css jslib/dijit/themes/tundra/Common.css jslib/dijit/themes/tundra/Dialog.css jslib/dijit/themes/tundra/Dialog_rtl.css jslib/dijit/themes/tundra/Editor.css jslib/dijit/themes/tundra/Editor_rtl.css jslib/dijit/themes/tundra/Menu.css jslib/dijit/themes/tundra/Menu_rtl.css jslib/dijit/themes/tundra/ProgressBar.css jslib/dijit/themes/tundra/TimePicker.css jslib/dijit/themes/tundra/TitlePane.css jslib/dijit/themes/tundra/TitlePane_rtl.css jslib/dijit/themes/tundra/Toolbar.css jslib/dijit/themes/tundra/Tree.css jslib/dijit/themes/tundra/Tree_rtl.css jslib/dijit/themes/tundra/form/Button.css jslib/dijit/themes/tundra/form/Checkbox.css jslib/dijit/themes/tundra/form/Common.css jslib/dijit/themes/tundra/form/Common_rtl.css jslib/dijit/themes/tundra/form/RadioButton.css jslib/dijit/themes/tundra/form/Slider.css jslib/dijit/themes/tundra/form/Slider_rtl.css jslib/dijit/themes/tundra/layout/AccordionContainer.css jslib/dijit/themes/tundra/layout/BorderContainer.css jslib/dijit/themes/tundra/layout/ContentPane.css jslib/dijit/themes/tundra/layout/SplitContainer.css jslib/dijit/themes/tundra/layout/TabContainer.css jslib/dijit/themes/tundra/layout/TabContainer_rtl.css jslib/dijit/themes/tundra/tundra.css jslib/dojo/_firebug/firebug.css jslib/dojo/_firebug/firebug.js jslib/dojo/dojo.js jslib/dojo/dojo.js.uncompressed.js jslib/dojo/jbrowse_dojo.js jslib/dojo/jbrowse_dojo.js.uncompressed.js jslib/dojo/nls/jbrowse_dojo_ar.js jslib/dojo/nls/jbrowse_dojo_he-il.js jslib/dojo/nls/jbrowse_dojo_he.js jslib/dojo/nls/jbrowse_dojo_pl.js jslib/dojo/nls/jbrowse_dojo_pt-br.js jslib/dojo/nls/jbrowse_dojo_pt.js jslib/dojo/nls/jbrowse_dojo_zh-cn.js jslib/dojo/nls/jbrowse_dojo_zh.js jslib/dojo/resources/dnd.css jslib/dojo/resources/dojo.css
- Loading branch information
Showing
562 changed files
with
80,213 additions
and
13,279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +0,0 @@ | ||
[submodule "tests/jasmine"] | ||
path = tests/jasmine | ||
url = git://github.com/pivotal/jasmine.git | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
For installation instructions, see the tutorial in docs/tutorial/index.html. | ||
For installation instructions, point your browser at | ||
docs/tutorial/index.html in this directory. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
JSDIR = $(PWD)/js | ||
JSMIN_TARGET = jbrowse-min.js | ||
JS_SRCFILES = $(shell find $(JSDIR)/ -type f -and -name '*.js') | ||
TWIKI_PLUGIN_MAKEFILE = twiki/JBrowsePlugin/Makefile.jbrowse | ||
|
||
all: minify-js docs wig2png | ||
|
||
release: release-normal release-min | ||
|
||
release-normal: superclean docs minify-js | ||
dzil build; | ||
cp Makefile.PL JBrowse-*/; | ||
cp JBrowse-*/release-notes.txt .; | ||
rm JBrowse-*.tar.gz; | ||
mv JBrowse-*/ `basename JBrowse-*`-full/; | ||
zip -r `basename JBrowse-*`.zip JBrowse-*/; | ||
|
||
release-min: release-normal | ||
( \ | ||
export RELEASE=$(shell basename JBrowse-*/ -full); \ | ||
export MIN=$$RELEASE-min; \ | ||
cp -r JBrowse-*/ $$MIN/; \ | ||
rm -rf $$MIN/index-debug.html $$MIN/js $$MIN/dist.ini $$MIN/docs/jsdoc $$MIN/t $$MIN/tests $$MIN/xt $$MIN/sample_data $$MIN/*META.*; \ | ||
zip -r $$MIN.zip $$MIN/; \ | ||
) | ||
|
||
wig2png: wig2png/Makefile | ||
$(MAKE) -C wig2png; | ||
wig2png/Makefile: wig2png/configure | ||
cd wig2png && ./configure | ||
wig2png/configure: wig2png/configure.in | ||
cd wig2png && autoconf | ||
|
||
docs: doc | ||
|
||
doc: docs/jsdoc/index.html | ||
|
||
docs/jsdoc/index.html: $(JS_SRCFILES) | ||
cd jslib/jsdoc_toolkit-*/ && java -jar jsrun.jar app/run.js -a -t=templates/jsdoc -d=../../docs/jsdoc $(JS_SRCFILES) | ||
|
||
jbrowse: | ||
$(MAKE) -f $(TWIKI_PLUGIN_MAKEFILE) all | ||
|
||
minify-js: $(JSMIN_TARGET) | ||
|
||
$(JSMIN_TARGET): $(JS_SRCFILES) | ||
for HTMLFILE in index compat_121; do \ | ||
if grep -q '<!-- js_source_files -->' $$HTMLFILE.html; then \ | ||
mv $$HTMLFILE.html $$HTMLFILE-debug.html; \ | ||
if ! which yui-compressor >/dev/null; then \ | ||
sudo apt-get install yui-compressor; \ | ||
fi; \ | ||
cat `perl -nE 'say $$1 if /src="(js\/[^"]+)/' $$HTMLFILE-debug.html` | yui-compressor --type js > $@; \ | ||
perl -pe 'BEGIN { undef $$/; }; s#<!-- js_source_files -->.*<!-- js_source_files --># <script type="text/javascript" src="$(JSMIN_TARGET)"></script>\n#ms' $$HTMLFILE-debug.html > $$HTMLFILE.html; \ | ||
fi \ | ||
done | ||
|
||
superclean: clean | ||
-git clean -fdx; | ||
|
||
clean: | ||
-mv index-debug.html index.html; | ||
rm -rf docs/jsdoc $(JSMIN_TARGET); | ||
|
||
.PHONY: all clean superclean jbrowse minify-js docs doc wig2png release release-min release-normal |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Installing JBrowse | ||
|
||
To install JBrowse, see the main JBrowse wiki at http://gmod.org/wiki/JBrowse. | ||
|
||
The rest of this file is aimed primarily at developers. | ||
|
||
# Running the developer test suites | ||
|
||
## Server-side Perl | ||
|
||
Tests for the server-side Perl code. You must have the JBrowse Perl | ||
module prerequisites installed for them to work. Run with: | ||
|
||
prove -lr t | ||
|
||
## Client-side Integration Tests | ||
|
||
Integration tests for the client-side app. You need to have Python | ||
eggs for `selenium` and `nose` installed. Run the tests with: | ||
|
||
nosetests | ||
|
||
# Using the embedded JavaScript documentation | ||
|
||
The embedded documentation is written in JSDoc. See | ||
http://code.google.com/p/jsdoc-toolkit. | ||
|
||
Running `bin/jbdoc ArrayRepr` will open your browser with | ||
documentation about ArrayRepr.js. | ||
|
||
The [here](http://code.google.com/p/jsdoc-toolkit/w/list) for a | ||
comprehensive list of JSDoc tags. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.