Skip to content

Commit a67a03e

Browse files
author
Yuta Imaya
committed
Merge branch 'release/0.1.6'
2 parents d3e4e27 + 212f488 commit a67a03e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+6927
-1870
lines changed

‎.travis.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
before_install:
2+
- sudo apt-get install gconf2
3+
- export DISPLAY=:99.0
4+
- sh -e /etc/init.d/xvfb start
5+
- ./.travis/scripts/install_chrome.sh
6+
7+
before_script:
8+
- node_modules/.bin/buster-server &
9+
- sleep 5
10+
- .travis/firefox-start.sh http://localhost:1111/capture &
11+
- sleep 5
12+
- .travis/chrome-start.sh http://localhost:1111/capture &
13+
- sleep 5
14+
# - phantomjs node_modules/buster/script/phantom.js http://localhost:1111/capture &
15+
# - sleep 5
16+
17+
script:
18+
- "npm test"
19+
20+
language: node_js
21+
22+
node_js:
23+
- 0.8

‎.travis/chrome-start.sh

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
#!/bin/bash
2+
3+
#Variables
4+
USER_DIR=/tmp/buster
5+
MAC_CMD="/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
6+
UBUNTU_CMD="google-chrome"
7+
8+
# Test OS
9+
if [ -f "$MAC_CMD" ]
10+
then
11+
CMD="$MAC_CMD"
12+
else
13+
CMD="$UBUNTU_CMD"
14+
fi
15+
16+
# Execute the command
17+
which $CMD > /dev/null 2>&1
18+
if [ $? -eq 0 ] ; then
19+
$CMD --no-default-browser-check --no-first-run --disable-default-apps --no-sandbox "$@" &
20+
fi

‎.travis/firefox-start.sh

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
# Variables
4+
USER_DIR=/tmp/firefox
5+
MAC_CMD="/Applications/Firefox.app/Contents/MacOS/firefox"
6+
UBUNTU_CMD="firefox"
7+
8+
# Test OS
9+
if [ -f "$MAC_CMD" ]
10+
then
11+
CMD="$MAC_CMD"
12+
else
13+
CMD="$UBUNTU_CMD"
14+
fi
15+
16+
$CMD -CreateProfile "TravisUser $USER_DIR"
17+
echo "user_pref(\"dom.max_script_run_time\", 10*60);" >> $USER_DIR/prefs.js
18+
exec "$CMD" -P "TravisUser" "$@"

‎.travis/scripts/install_chrome.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/sh
2+
3+
# https://github.com/travis-ci/travis-ci/issues/938#issuecomment-16336150
4+
# fix permission
5+
sudo chmod 1777 /dev/shm
6+
7+
echo "Getting $VERSION of Chrome-stable"
8+
export CHROME=google-chrome-stable_current_amd64.deb
9+
wget https://dl.google.com/linux/direct/$CHROME
10+
sudo dpkg --install $CHROME || sudo apt-get -f install
11+
ls -l /usr/bin/google-chrome

‎ChangeLog.md

+133
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,133 @@
1+
2+
# Change Log
3+
4+
5+
## 0.1.6: 2013/05/10
6+
7+
https://github.com/imaya/zlib.js/compare/0.1.5...0.1.6
8+
9+
10+
### compression
11+
12+
- export raw deflate
13+
14+
15+
### decompression
16+
17+
- export raw inflate
18+
- fix inflate stream exporting
19+
20+
21+
### etc
22+
23+
- export crc-32
24+
- add pretty print build
25+
- optimize compile settings
26+
- add english document
27+
- support source maps
28+
- support Travis CI
29+
- refactor unit test
30+
- update closure compiler (custom version)
31+
32+
33+
-------------------------------------------------------------------------------
34+
35+
36+
## 0.1.5: 2013/02/10
37+
38+
https://github.com/imaya/zlib.js/compare/0.1.4...0.1.5
39+
40+
41+
### compression
42+
43+
- fix PKZIP CRC-32 bug
44+
45+
46+
### etc
47+
48+
- update PKZIP unit test
49+
50+
51+
-------------------------------------------------------------------------------
52+
53+
54+
## 0.1.4: 2013/02/10
55+
56+
https://github.com/imaya/zlib.js/compare/0.1.3...0.1.4
57+
58+
59+
### compression
60+
61+
- add PKZIP compression (basic support)
62+
63+
64+
### decompression
65+
66+
- add PKZIP decompression (basic support)
67+
68+
69+
### etc
70+
71+
- refactor build environment (use export js file)
72+
- remove license comment in source code
73+
74+
75+
-------------------------------------------------------------------------------
76+
77+
78+
## 0.1.3: 2012/12/21
79+
80+
https://github.com/imaya/zlib.js/compare/0.1.2...0.1.3
81+
82+
83+
### compression
84+
85+
- fix rare case bug
86+
87+
88+
-------------------------------------------------------------------------------
89+
90+
91+
## 0.1.2: 2012/12/17
92+
93+
https://github.com/imaya/zlib.js/compare/0.1.1...0.1.2
94+
95+
96+
### compression
97+
98+
- fix adler-32 bug (byte order)
99+
- refactor raw deflate code
100+
101+
### decompression
102+
103+
- refactor inflate stream code
104+
105+
### etc
106+
107+
- update closure compiler (custom version)
108+
- update inflate unit test (enable adler-32 verification)
109+
110+
111+
-------------------------------------------------------------------------------
112+
113+
114+
## 0.1.1: 2012/11/15
115+
116+
https://github.com/imaya/zlib.js/compare/0.1.0...0.1.1
117+
118+
119+
### compression
120+
121+
- fix huffman coding (add reverse package merge algorithm)
122+
123+
### etc
124+
125+
- fix gunzip unit test
126+
127+
128+
-------------------------------------------------------------------------------
129+
130+
131+
## 0.1.0: 2012/09/24
132+
133+
- first release

‎LICENSE_min

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */
1+
/** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */

0 commit comments

Comments
 (0)