diff --git a/.ci/init.sh b/.ci/init.sh
index 030d1f1..a8a3bbc 100755
--- a/.ci/init.sh
+++ b/.ci/init.sh
@@ -18,6 +18,7 @@ processing="$HOME/processing"
core="$HOME/processing/core/library"
pde="$HOME/processing/lib/pde.jar"
version="travis-ci"
+pretty="pretty-travis-ci"
# Call functions in utils/generator-util.sh
-generate-build-config ${modes} ${executable} ${core} ${pde} ${version}
+generate-build-config ${modes} ${executable} ${core} ${pde} ${version} ${pretty}
diff --git a/AUTHORS.md b/AUTHORS.md
index 12cf961..990befe 100644
--- a/AUTHORS.md
+++ b/AUTHORS.md
@@ -6,4 +6,4 @@ This list is sorted by the number of commits per contributor in descending order
* [@jeremydouglass](https://github.com/jeremydouglass)
* [@hawkingrei](https://github.com/hawkingrei)
-###### Auto generated by [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2017-07-18
+###### Auto generated by [gaocegege/maintainer](https://github.com/gaocegege/maintainer) on 2017-08-20
diff --git a/CHANGELOG.md b/CHANGELOG.md
index a2f7d80..515035b 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,62 @@
# Change Log
+## [Unreleased](https://github.com/gaocegege/Processing.R/tree/HEAD)
+
+[Full Changelog](https://github.com/gaocegege/Processing.R/compare/v1.0.5...HEAD)
+
+**Closed issues:**
+
+- Cast more functions from double to int [\#184](https://github.com/gaocegege/Processing.R/issues/184)
+
+## [v1.0.5](https://github.com/gaocegege/Processing.R/tree/v1.0.5) (2017-08-20)
+[Full Changelog](https://github.com/gaocegege/Processing.R/compare/v1.0.4...v1.0.5)
+
+**Closed issues:**
+
+- frameRate variable named to match others [\#214](https://github.com/gaocegege/Processing.R/issues/214)
+- docs--broken reference link [\#213](https://github.com/gaocegege/Processing.R/issues/213)
+- Redirect all errors to PDE console [\#211](https://github.com/gaocegege/Processing.R/issues/211)
+- Credits in Processing.R reference docs [\#206](https://github.com/gaocegege/Processing.R/issues/206)
+- Conflict between mousePressed and mousPressed\(\) [\#194](https://github.com/gaocegege/Processing.R/issues/194)
+- Implement complete print logic [\#174](https://github.com/gaocegege/Processing.R/issues/174)
+- libraryImport video example: can't define movieEvent hook [\#166](https://github.com/gaocegege/Processing.R/issues/166)
+- Support the event function [\#163](https://github.com/gaocegege/Processing.R/issues/163)
+- example: Add example for focus. [\#160](https://github.com/gaocegege/Processing.R/issues/160)
+- Support built-in variables [\#98](https://github.com/gaocegege/Processing.R/issues/98)
+- Support Reading and Creating built-in functions [\#86](https://github.com/gaocegege/Processing.R/issues/86)
+- Support Processing libraries [\#58](https://github.com/gaocegege/Processing.R/issues/58)
+
+**Merged pull requests:**
+
+- BuiltinApplet: Add pixelDensity [\#217](https://github.com/gaocegege/Processing.R/pull/217) ([gaocegege](https://github.com/gaocegege))
+- Update frameRate [\#216](https://github.com/gaocegege/Processing.R/pull/216) ([gaocegege](https://github.com/gaocegege))
+- SketchRunner: Redirect all errors to PDE console [\#212](https://github.com/gaocegege/Processing.R/pull/212) ([gaocegege](https://github.com/gaocegege))
+- src: Refactor the logic about key [\#210](https://github.com/gaocegege/Processing.R/pull/210) ([gaocegege](https://github.com/gaocegege))
+- Fix mousePressed and add examples [\#208](https://github.com/gaocegege/Processing.R/pull/208) ([gaocegege](https://github.com/gaocegege))
+- lib: Update [\#207](https://github.com/gaocegege/Processing.R/pull/207) ([gaocegege](https://github.com/gaocegege))
+- reference: Add the missing images [\#205](https://github.com/gaocegege/Processing.R/pull/205) ([gaocegege](https://github.com/gaocegege))
+- reference: Add missing test.yml [\#204](https://github.com/gaocegege/Processing.R/pull/204) ([gaocegege](https://github.com/gaocegege))
+- reference: Add Color [\#203](https://github.com/gaocegege/Processing.R/pull/203) ([gaocegege](https://github.com/gaocegege))
+- reference: Add time [\#202](https://github.com/gaocegege/Processing.R/pull/202) ([gaocegege](https://github.com/gaocegege))
+- reference: Update control [\#201](https://github.com/gaocegege/Processing.R/pull/201) ([gaocegege](https://github.com/gaocegege))
+- core.R: Add all constants in Processing [\#200](https://github.com/gaocegege/Processing.R/pull/200) ([gaocegege](https://github.com/gaocegege))
+- \*: Fix the name of the mode [\#198](https://github.com/gaocegege/Processing.R/pull/198) ([gaocegege](https://github.com/gaocegege))
+- \*: Update the version [\#197](https://github.com/gaocegege/Processing.R/pull/197) ([gaocegege](https://github.com/gaocegege))
+- \*: Add deploy script [\#196](https://github.com/gaocegege/Processing.R/pull/196) ([gaocegege](https://github.com/gaocegege))
+- reference: Refactor docs about structure [\#195](https://github.com/gaocegege/Processing.R/pull/195) ([gaocegege](https://github.com/gaocegege))
+- reference: Add all items in mouse [\#193](https://github.com/gaocegege/Processing.R/pull/193) ([gaocegege](https://github.com/gaocegege))
+- Example: Add data [\#192](https://github.com/gaocegege/Processing.R/pull/192) ([gaocegege](https://github.com/gaocegege))
+- core.R: Add colorMode specific constants [\#191](https://github.com/gaocegege/Processing.R/pull/191) ([gaocegege](https://github.com/gaocegege))
+- demo: Fix the demo [\#190](https://github.com/gaocegege/Processing.R/pull/190) ([gaocegege](https://github.com/gaocegege))
+- ignore: Ignore build.properties [\#189](https://github.com/gaocegege/Processing.R/pull/189) ([gaocegege](https://github.com/gaocegege))
+- \*: Add version in PDE [\#188](https://github.com/gaocegege/Processing.R/pull/188) ([gaocegege](https://github.com/gaocegege))
+- \*: Fix the callback function [\#187](https://github.com/gaocegege/Processing.R/pull/187) ([gaocegege](https://github.com/gaocegege))
+- Examples/importLibrary: sound and DXF [\#183](https://github.com/gaocegege/Processing.R/pull/183) ([jeremydouglass](https://github.com/jeremydouglass))
+- example: Add more cases [\#182](https://github.com/gaocegege/Processing.R/pull/182) ([gaocegege](https://github.com/gaocegege))
+- build.xml: Remove useless dep [\#180](https://github.com/gaocegege/Processing.R/pull/180) ([gaocegege](https://github.com/gaocegege))
+- \*: Support libraries in cli runner [\#179](https://github.com/gaocegege/Processing.R/pull/179) ([gaocegege](https://github.com/gaocegege))
+- Refactor the documentation about docker [\#177](https://github.com/gaocegege/Processing.R/pull/177) ([gaocegege](https://github.com/gaocegege))
+
## [v1.0.4](https://github.com/gaocegege/Processing.R/tree/v1.0.4) (2017-07-18)
[Full Changelog](https://github.com/gaocegege/Processing.R/compare/v1.0.4-alpha...v1.0.4)
@@ -180,17 +237,14 @@
## [v0.0.2](https://github.com/gaocegege/Processing.R/tree/v0.0.2) (2016-09-08)
[Full Changelog](https://github.com/gaocegege/Processing.R/compare/v0.0.1...v0.0.2)
-**Closed issues:**
-
-- Mode: Active, Mix and Static [\#5](https://github.com/gaocegege/Processing.R/issues/5)
-
## [v0.0.1](https://github.com/gaocegege/Processing.R/tree/v0.0.1) (2016-09-06)
**Closed issues:**
+- Demo [\#1](https://github.com/gaocegege/Processing.R/issues/1)
+- Mode: Active, Mix and Static [\#5](https://github.com/gaocegege/Processing.R/issues/5)
- settings function [\#4](https://github.com/gaocegege/Processing.R/issues/4)
- setup function [\#3](https://github.com/gaocegege/Processing.R/issues/3)
- draw function [\#2](https://github.com/gaocegege/Processing.R/issues/2)
-- Demo [\#1](https://github.com/gaocegege/Processing.R/issues/1)
diff --git a/build.xml.template b/build.xml.template
index e4eb225..ca5ca64 100644
--- a/build.xml.template
+++ b/build.xml.template
@@ -14,6 +14,7 @@
+
@@ -148,7 +149,7 @@
-
+
diff --git a/docs/RLangMode.txt b/docs/RLangMode.txt
index 2f3d223..34f68c4 100644
--- a/docs/RLangMode.txt
+++ b/docs/RLangMode.txt
@@ -3,7 +3,7 @@ authorList = [Processing.R Authors](https://github.com/gaocegege/Processing.R/bl
url = https://github.com/gaocegege/Processing.R
sentence = Processing in R Language
paragraph =
-version = 104
-prettyVersion = v1.0.4
+version = 105
+prettyVersion = v1.0.5
maxVersion = 0
minVersion = 260
diff --git a/docs/RLangMode.zip b/docs/RLangMode.zip
index 1534f9c..1b65828 100644
Binary files a/docs/RLangMode.zip and b/docs/RLangMode.zip differ
diff --git a/scripts/deploy.sh b/scripts/deploy.sh
index 48e4459..3b1d43f 100755
--- a/scripts/deploy.sh
+++ b/scripts/deploy.sh
@@ -39,7 +39,17 @@ function deploy {
perl -i -pe "s|\@\@mode-version\@\@|${version}|g" docs/RLangMode.txt
perl -i -pe "s|\@\@pretty-version\@\@|${full_version}|g" docs/RLangMode.txt
- scripts/generate-ant-file.sh
+ source "$(dirname "${BASH_SOURCE}")/utils/generator-util.sh"
+
+ # Path to be changed
+ modes="${HOME}/Documents/Processing/modes"
+ executable="/Applications/Processing.app/Contents/MacOS/Processing"
+ core="/Applications/Processing.app/Contents/Java/core/library"
+ pde="/Applications/Processing.app/Contents/Java/pde.jar"
+
+ # Call functions in utils/generator-util.sh
+ generate-build-config ${modes} ${executable} ${core} ${pde} ${version} ${full_version}
+
ant package
cd dist/
zip -r RLangMode.zip RLangMode/
diff --git a/scripts/generate-ant-file.sh b/scripts/generate-ant-file.sh
index ecac93d..bbf8c75 100755
--- a/scripts/generate-ant-file.sh
+++ b/scripts/generate-ant-file.sh
@@ -7,7 +7,8 @@ modes="${HOME}/Documents/Processing/modes"
executable="/Applications/Processing.app/Contents/MacOS/Processing"
core="/Applications/Processing.app/Contents/Java/core/library"
pde="/Applications/Processing.app/Contents/Java/pde.jar"
-version="v1.0.4"
+version="local"
+pretty_version="pretty-local"
# Call functions in utils/generator-util.sh
-generate-build-config ${modes} ${executable} ${core} ${pde} ${version}
+generate-build-config ${modes} ${executable} ${core} ${pde} ${version} ${pretty_version}
diff --git a/scripts/utils/generator-util.sh b/scripts/utils/generator-util.sh
index d989525..42ef689 100644
--- a/scripts/utils/generator-util.sh
+++ b/scripts/utils/generator-util.sh
@@ -13,7 +13,7 @@ function help {
}
function generate-build-config {
- local numberOfParams=5
+ local numberOfParams=6
local root=$(dirname "${BASH_SOURCE}")/../..
if [[ $# -ne ${numberOfParams} ]]; then
@@ -34,6 +34,7 @@ function generate-build-config {
perl -i -pe "s|\@\@core\@\@|${3}|g" build.xml
perl -i -pe "s|\@\@pde\@\@|${4}|g" build.xml
perl -i -pe "s|\@\@version\@\@|${5}|g" build.xml
+ perl -i -pe "s|\@\@pretty\@\@|${6}|g" build.xml
perl -i -pe "s|\@\@commitid\@\@|${commitid}|g" build.xml
cd - > /dev/null
}