Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release: com.io7m.jwheatsheaf 3.0.0 A big thanks to @DaveJarvis for suggestions, bug reports, and some code contributions! Change: Add the ability to specify custom strings (Ticket: #7) Change: Add the ability to confirm file selections (Ticket: #17) Change: Allow for including ".." in directory listings (Ticket: #23) Change: Improve "select directly" dialog behaviour (Ticket: #29) Change: Fix the size formatter (Ticket: #30) Change: Use the default filesystem by default (Ticket: #21) Change: Add support for glob-based filters (Ticket: #19) Change: Improve filename field behaviour (Ticket: #28) Change: Add an optional home directory button (Ticket: #12) Change: Enable sorting of directory items (Ticket: #22) Change: Allow for setting a default file filter (Ticket: #9) Change: Allow the escape key to close file choosers (Ticket: #14) Change: Allow for specifying an initial filename in choosers (Ticket: #15) Change: Allow for specifying custom dialog titles (Ticket: #8) Change: Make the default filters part of the public API (Ticket: #10)
- Loading branch information
Showing
99 changed files
with
5,340 additions
and
525 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: main-openjdk_current-linux | ||
|
||
on: | ||
push: | ||
branches: [ develop, feature/*, release/* ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 16 | ||
- name: Build | ||
run: ./.github/workflows/run-with-xvfb.sh mvn --errors clean verify site | ||
- name: Upload video | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: test-video | ||
path: test-suite.mkv | ||
- name: Upload test logs | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: test-logs | ||
path: ./com.io7m.jwheatsheaf.tests/target/surefire-reports |
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,19 @@ | ||
name: main-openjdk_current-windows | ||
|
||
on: | ||
push: | ||
branches: [ develop, feature/*, release/* ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 16 | ||
- name: Build | ||
run: mvn -DskipTests=true --errors clean verify site |
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,35 @@ | ||
name: main-openjdk_lts-linux | ||
|
||
on: | ||
push: | ||
branches: [ develop, feature/*, release/* ] | ||
pull_request: | ||
branches: [ develop ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: JDK | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 11 | ||
- name: Build | ||
run: ./.github/workflows/run-with-xvfb.sh mvn --errors clean verify site | ||
- name: Upload video | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: test-video | ||
path: test-suite.mkv | ||
- name: Upload test logs | ||
uses: actions/upload-artifact@v2 | ||
if: ${{ always() }} | ||
with: | ||
name: test-logs | ||
path: ./com.io7m.jwheatsheaf.tests/target/surefire-reports | ||
- name: Coverage | ||
uses: codecov/codecov-action@v1 | ||
with: | ||
file: com.io7m.jwheatsheaf.tests/target/site/jacoco/jacoco.xml |
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,67 @@ | ||
#!/bin/bash -ex | ||
|
||
exec > >(tee build.txt) 2>&1 | ||
|
||
#--------------------------------------------------------------------- | ||
# Install all of the various required packages. | ||
# | ||
# We use: | ||
# xvfb to provide a virtual X server | ||
# fluxbox to provide a bare-minimum window manager with click-to-focus | ||
# ffmpeg to record the session | ||
# feh to set a background | ||
# xterm to display the build log in the video | ||
# | ||
|
||
sudo apt-get -y install xvfb fluxbox feh ffmpeg xterm | ||
|
||
#--------------------------------------------------------------------- | ||
# Start Xvfb on a new display. | ||
# | ||
|
||
Xvfb :99 & | ||
export DISPLAY=:99 | ||
sleep 1 | ||
|
||
#--------------------------------------------------------------------- | ||
# Start fluxbox on the X server. | ||
# | ||
|
||
fluxbox & | ||
sleep 1 | ||
|
||
#--------------------------------------------------------------------- | ||
# Start an xterm that displays the build log. | ||
# | ||
|
||
xterm -geometry 200x40 -e tail -F build.txt & | ||
sleep 1 | ||
|
||
#--------------------------------------------------------------------- | ||
# Set a desktop image. | ||
# | ||
|
||
feh --bg-tile .github/workflows/wallpaper.jpg | ||
sleep 1 | ||
|
||
#--------------------------------------------------------------------- | ||
# Start recording the session. | ||
# | ||
|
||
ffmpeg -f x11grab -y -r 15 -video_size 1280x1024 -i :99 -vcodec libx264 test-suite.mkv & | ||
FFMPEG_PID="$!" | ||
|
||
#--------------------------------------------------------------------- | ||
# Execute the passed-in build command. | ||
# | ||
|
||
"$@" | ||
|
||
#--------------------------------------------------------------------- | ||
# Wait a while, and then instruct ffmpeg to stop recording. This step | ||
# is necessary because video files need to be processed when recording | ||
# stops. | ||
# | ||
|
||
sleep 5 | ||
kill -INT "${FFMPEG_PID}" |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
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
Oops, something went wrong.