Skip to content

Commit aec06a2

Browse files
committed
Merge branch 'development'
2 parents e62ad50 + 8d4bf1e commit aec06a2

File tree

715 files changed

+63162
-16112
lines changed

Some content is hidden

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

715 files changed

+63162
-16112
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,5 @@ Resources/TestFiles
4545
*.autosave
4646
JASP-Engine/JASP/R/.Rhistory
4747
JASP-Tests/.Rhistory
48+
49+
flatpak-builder-folder/

.travis.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: r
2-
r: "3.3"
2+
r: "3.4.3"
33
cache: packages
44

55
matrix:
@@ -11,15 +11,11 @@ matrix:
1111
"sudo add-apt-repository \"deb http://archive.ubuntu.com/ubuntu/ xenial main\" -y",
1212
"sudo apt-get update -q",
1313
"echo 'Installing R package dependencies'",
14-
"sudo apt-get install libfreetype6=2.6.1-0.1ubuntu2",
15-
"sudo apt-get install libfreetype6-dev=2.6.1-0.1ubuntu2",
1614
"sudo apt-get install libnlopt-dev",
1715
"sudo apt-get install r-cran-rcppeigen",
1816
"sudo apt-get install r-cran-plogr"
1917
]
20-
install: Rscript -e 'install.packages(c("testthat", "vdiffr"))'
18+
install: Rscript Tools/requiredPackages.R JASP-Engine/JASP/R true true
2119
script:
22-
- Rscript Tools/requiredPackages.R JASP-Engine/JASP/R true
23-
- Rscript Tools/showVersion.R
2420
- cd JASP-Tests/R/tests/
25-
- R < testthat.R --no-save
21+
- R < testthat.R --no-save

CONTRIBUTING.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
# Contributing to jasp
1+
# Requesting new features, or reporting bugs:
22

3-
Anyone is welcome to contribute to JASP. If you would like to create a new module/analysis, fix a
4-
bug you found, or implemented a feature, please submit a pull request. See
3+
To request a new feature, or report a bug, please consult the following [blog post](https://jasp-stats.org/2018/03/29/request-feature-report-bug-jasp/)
4+
5+
# Contributing to JASP
6+
7+
Anyone is welcome to contribute to JASP. If you have created a new module/analysis, fixed a
8+
bug you found, or implemented a feature on your own branch, please submit a pull request. See
59
[Dev Docs](Docs/development) for more details about the development.
610

711
## Pull request process

Docs/development/jasp-building-guide.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@ Windows
3232

3333
Building JASP under windows is the most temperamental, and the versions listed here are known to work; slight variations on these numbers probably won't work.
3434

35-
- [R 3.3.3 win64](https://static.jasp-stats.org/development/R3.3%20Win%20JASP%200.8.6.zip)
35+
- [R 3.4.4 win64](https://static.jasp-stats.org/development/R3.4%20Win%20JASP%200.9.1.zip)
3636
- [boost 1.64.0](https://static.jasp-stats.org/development/boost_1_64_0.zip)
37-
- [boost 1.64.0 binaries, libarchive binaries](https://static.jasp-stats.org/development/Build-Binaries-Windows-64-qt510.zip)
37+
- [boost 1.64.0 binaries, libarchive binaries](https://static.jasp-stats.org/development/Build-Binaries-Windows-64-qt510.zip) Update 14-08-2018 (incl. JASP-R-Interface-3.1).
3838
- [Visual Studio 2017] (https://www.visualstudio.com/downloads/) Download community version
3939

4040
Qt: JASP for windows is built as 64-bit and is built with Visual Studio 2017.
@@ -70,33 +70,33 @@ To build JASP on mac you need to clone the JASP repository and download the foll
7070
0. Clone the JASP repository
7171
1. [XCode](https://developer.apple.com/xcode/) Easiest would be via the App Store.
7272
2. [Qt 5.10.1 + QtWebEngine](https://download.qt.io/archive/qt/). Tick: MacOS and Qt WebEngine
73-
3. [R 3.3.3](https://static.jasp-stats.org/development/R3.3%20OSX%20JASP%200.8.6.zip) This contains R and the packages. Unzip this file and set it as a framework in the build folder as shown below.
73+
3. [R 3.4.4](https://static.jasp-stats.org/development/R3.4%20OSX%20JASP%200.9.1.zip) This contains R and the packages. Unzip this file and set it as a framework in the build folder as shown below.
7474
4. [boost 1.64.0](https://static.jasp-stats.org/development/boost_1_64_0.zip). Unzip this file in the JASP folder.
7575
5. [boost 1.64.0 binaries, libarchive binaries](https://static.jasp-stats.org/development/Build-Binaries-OSX-64-qt510.zip). Unzip this file in both release and debug build folders.
7676

7777
The directory structure should be as follows:
7878

79-
[+] JASP
80-
[-] jasp-desktop < from github >
81-
[-] buildDebug510 < Build debug directory for QtCreator >
82-
- libboost_system-clang-mt-1_64.a
83-
- libboost_filesystem-clang-mt-1_64.a
84-
- libarchive.a
85-
- libz.a
86-
- libJASP-R-Interface.1.0.0.dylib
87-
- libJASP-R-Interface.dylib
88-
[-] buildRelease510 < Build release directory for QtCreator >
89-
- libboost_system-clang-mt-1_64.a
90-
- libboost_filesystem-clang-mt-1_64.a
91-
- libarchive.a
92-
- libz.a
93-
- libJASP-R-Interface.1.0.0.dylib
94-
- libJASP-R-Interface.dylib
95-
[-] boost_1_64_0
96-
[-] Frameworks
97-
[-] R.framework
98-
[-] Versions
99-
[+] 3.3
79+
[+] JASP
80+
[-] jasp-desktop < from github >
81+
[-] buildDebug510 < Build debug directory for QtCreator >
82+
- libboost_system-clang-mt-1_64.a
83+
- libboost_filesystem-clang-mt-1_64.a
84+
- libarchive.a
85+
- libz.a
86+
- libJASP-R-Interface.1.0.0.dylib
87+
- libJASP-R-Interface.dylib
88+
[-] buildRelease510 < Build release directory for QtCreator >
89+
- libboost_system-clang-mt-1_64.a
90+
- libboost_filesystem-clang-mt-1_64.a
91+
- libarchive.a
92+
- libz.a
93+
- libJASP-R-Interface.1.0.0.dylib
94+
- libJASP-R-Interface.dylib
95+
[-] boost_1_64_0
96+
[-] Frameworks
97+
[-] R.framework
98+
[-] Versions
99+
[+] 3.3
100100

101101
0. **Clone** the JASP repository into a folder of your choice. Our default choice is *~/desktop/JASP/* and cloning results in the creating of *~/desktop/JASP/jasp-desktop*.
102102
1. **XCode**: Qt on OS X relies on XCode to function, you can install this through the App Store. It's easiest if you install this, run it, accept the license agreement, and then close it down before installing Qt.

Docs/user-guide/index.md

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,25 @@ From then on, you will be able to start JASP in the usual way.
3434

3535
#### Linux
3636

37+
#### 1. Flatpak
38+
JASP is now available for virtually all Linux distributions through the widely available flatpak. This is most likely already installed on your distribution and otherwise can be easily acquired through your package manager. After you have installed flatpak enter the following command into a terminal:
39+
```
40+
flatpak install http://static.jasp-stats.org/flatpak/JASP.flatpakref
41+
```
42+
It might not be automatically added to the application menu in some cases (ubuntu for instance) and there you can start JASP by running:
43+
```
44+
flatpak run org.jasp.JASP
45+
```
46+
After you have installed JASP from flatpak any new releases/updates can be installed by running:
47+
```
48+
flatpak update
49+
```
50+
51+
#### 2. PPA
3752
JASP is available for the following Linux versions:
3853

54+
- Ubuntu Artful (17.10)
3955
- Ubuntu Xenial (16.04 LTS)
40-
- Ubuntu Wily (15.10)
4156
- Arch Linux
4257

4358
For other verions, JASP can be built from the source. The debian folder is located in the github repository – https://github.com/jasp-stats/jasp-desktop/tree/development/Tools/debian

JASP-Common/JASP-Common.pro

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ TARGET = JASP-Common
77
TEMPLATE = lib
88
CONFIG += staticlib
99
CONFIG += c++11
10+
11+
include(../JASP.pri)
1012

1113
macx:INCLUDEPATH += ../../boost_1_64_0
1214
windows:INCLUDEPATH += ../../boost_1_64_0
@@ -62,7 +64,11 @@ SOURCES += \
6264
sharedmemory.cpp \
6365
tempfiles.cpp \
6466
utils.cpp \
65-
version.cpp
67+
version.cpp \
68+
computedcolumn.cpp \
69+
computedcolumns.cpp \
70+
enginedefinitions.cpp \
71+
options/optioncomputedcolumn.cpp
6672

6773
HEADERS += \
6874
analysis.h \
@@ -118,11 +124,15 @@ HEADERS += \
118124
utils.h \
119125
version.h \
120126
options/optionvariablei.h \
121-
jsonredirect.h
127+
jsonredirect.h \
128+
computedcolumn.h \
129+
computedcolumns.h \
130+
enginedefinitions.h \
131+
options/optioncomputedcolumn.h
122132

123133
#exists(/app/lib/*) should only be true when building flatpak
124-
macx | windows | exists(/app/lib/*) {
125-
DEFINES += JASP_LIBJSON_STATIC
134+
#macx | windows | exists(/app/lib/*)
135+
contains(DEFINES, JASP_LIBJSON_STATIC) {
126136

127137
SOURCES += \
128138
lib_json/json_internalarray.inl \
@@ -142,9 +152,5 @@ macx | windows | exists(/app/lib/*) {
142152
lib_json/reader.h \
143153
lib_json/value.h \
144154
lib_json/writer.h
145-
} else {
146-
linux: LIBS += -ljsoncpp
147-
CONFIG(debug, debug|release) { DEFINES+=JASP_DEBUG }
148155
}
149156

150-

0 commit comments

Comments
 (0)