Skip to content

Commit fa3961e

Browse files
authored
Merge branch 'dev' into patch-localeOption
2 parents cee7fc0 + 0c1ea59 commit fa3961e

File tree

72 files changed

+2952
-1109
lines changed

Some content is hidden

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

72 files changed

+2952
-1109
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
name: Build
22

33
on:
4+
# Do it on every push or PR on these branches
45
push:
56
branches: [ dev, main, workflow_dispatch, features/sp-api ]
67
pull_request:
78
branches: [ dev, main, workflow_dispatch, features/sp-api ]
89

910
jobs:
11+
# Build Sonic Pi
1012
build:
1113
name: "${{matrix.title}} (${{matrix.cc}}, ${{matrix.arch}}, ${{matrix.build_type}})"
1214
runs-on: ${{matrix.os}}
@@ -83,6 +85,7 @@ jobs:
8385
otp-version: 23.2.1
8486
if: matrix.os == 'ubuntu-latest'
8587

88+
# Install Erlang on MacOS
8689
- name: Mac Erlang
8790
continue-on-error: true
8891
run: |
@@ -91,6 +94,7 @@ jobs:
9194
brew install erlang
9295
if: matrix.os == 'macos-latest'
9396

97+
# Prebuild on Ubuntu
9498
- name: Prebuild Linux
9599
working-directory: ${{github.workspace}}/app
96100
env:
@@ -100,7 +104,8 @@ jobs:
100104
sudo apt install -y pulseaudio dbus-x11 libssl-dev ruby-dev supercollider-server sc3-plugins-server alsa-utils jackd2 libjack-jackd2-dev libjack-jackd2-0 libasound2-dev librtmidi-dev pulseaudio-module-jack
101105
./linux-prebuild.sh --build-aubio
102106
if: matrix.os == 'ubuntu-latest'
103-
107+
108+
# Prebuild on Mac
104109
- name: Prebuild Mac
105110
working-directory: ${{github.workspace}}/app
106111
env:
@@ -110,6 +115,7 @@ jobs:
110115
./mac-prebuild.sh
111116
if: matrix.os == 'macos-latest'
112117

118+
# Prebuild on Windows
113119
# Note that we 'hide' the msys folders on windows to stop conflicts when building
114120
# Flac
115121
- name: Prebuild Windows
@@ -125,7 +131,8 @@ jobs:
125131

126132
#- name: Setup tmate session
127133
# uses: mxschmitt/action-tmate@v3
128-
134+
135+
# Run Configuration Config on Ubuntu
129136
- name: Config Linux
130137
working-directory: ${{github.workspace}}/app
131138
env:
@@ -134,7 +141,8 @@ jobs:
134141
run: |
135142
./linux-config.sh
136143
if: matrix.os == 'ubuntu-latest'
137-
144+
145+
# Run Configuration Config on Mac
138146
- name: Config Mac
139147
working-directory: ${{github.workspace}}/app
140148
env:
@@ -143,7 +151,8 @@ jobs:
143151
run: |
144152
./mac-config.sh
145153
if: matrix.os == 'macos-latest'
146-
154+
155+
# Run Configuration Config on Windows
147156
- name: Config Windows
148157
working-directory: ${{github.workspace}}/app
149158
shell: cmd
@@ -154,6 +163,7 @@ jobs:
154163
win-config.bat
155164
if: matrix.os == 'windows-latest'
156165

166+
# Finally: Build
157167
- name: Do build
158168
working-directory: ${{github.workspace}}/app/build
159169
run: cmake --build . --config ${{ matrix.build_type }}

BUILD-LINUX.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,8 @@ cmake --build . --config Release
127127
## 4. Start Sonic Pi
128128

129129
Finally, you can run your newly compiled `Sonic Pi` app within the `build`
130-
directly either by double clicking it in the Finder or via the terminal
131-
(from within the `build` directory):
130+
directly either by double clicking it in your file manager or via the terminal
131+
(from within the `build/gui/qt/sonic-pi` directory):
132132

133133
```
134134
./sonic-pi

app/CMakeLists.txt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ set_property(GLOBAL PROPERTY USE_FOLDERS ON)
1111
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
1212
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
1313

14-
#set (QT_OLD_API 1)
15-
1614
if(APPLE)
1715
set(CMAKE_OSX_DEPLOYMENT_TARGET '10.13')
1816
endif()
@@ -38,4 +36,3 @@ configure_file(${APP_ROOT}/cmake/config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
3836
add_subdirectory(api)
3937
add_subdirectory(api-tests)
4038
add_subdirectory(gui)
41-

app/gui/qt/CMakeLists.txt

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -46,39 +46,12 @@ add_subdirectory(QScintilla-2.11.6)
4646
set(APP_NAME sonic-pi)
4747
set(MACOS_APP_NAME "Sonic Pi")
4848

49-
if (QT_OLD_API)
50-
set(OLD_API_SOURCES
51-
${QTAPP_ROOT}/osc/oschandler.cpp
52-
${QTAPP_ROOT}/osc/oscsender.cpp
53-
${QTAPP_ROOT}/osc/sonic_pi_osc_server.cpp
54-
${QTAPP_ROOT}/osc/sonic_pi_udp_osc_server.cpp
55-
${QTAPP_ROOT}/osc/sonic_pi_tcp_osc_server.cpp
56-
${QTAPP_ROOT}/osc/oscpkt.hh
57-
${QTAPP_ROOT}/osc/udp.hh
58-
${QTAPP_ROOT}/osc/oschandler.h
59-
${QTAPP_ROOT}/osc/oscsender.h
60-
${QTAPP_ROOT}/osc/sonic_pi_osc_server.h
61-
${QTAPP_ROOT}/osc/sonic_pi_udp_osc_server.h
62-
${QTAPP_ROOT}/osc/sonic_pi_tcp_osc_server.h
63-
64-
${QTAPP_ROOT}/visualizer/scope.cpp
65-
${QTAPP_ROOT}/visualizer/scope.h
66-
${QTAPP_ROOT}/visualizer/scope_buffer.hpp
67-
${QTAPP_ROOT}/visualizer/server_shm.hpp
68-
69-
${APP_ROOT}/external/kiss_fft/kiss_fft.c
70-
${APP_ROOT}/external/kiss_fft/kiss_fft.h
71-
)
72-
endif()
73-
74-
if (NOT QT_OLD_API)
75-
set(NEW_API_SOURCES
49+
set(NEW_API_SOURCES
7650
${QTAPP_ROOT}/qt_api_client.cpp
7751
${QTAPP_ROOT}/qt_api_client.h
7852
${QTAPP_ROOT}/visualizer/scope_window.cpp
7953
${QTAPP_ROOT}/visualizer/scope_window.h
8054
)
81-
endif()
8255

8356
set(EDITOR_SOURCES
8457
${QTAPP_ROOT}/widgets/sonicpiscintilla.cpp

app/gui/qt/html/doc.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
code_as <span class="highlight">:art</span></pre>
1616
</p>
1717

18-
<p class="version">v3.3.1</p>
18+
<p class="version">v3.4-dev</p>
1919

2020
</center>
2121

app/gui/qt/html/info.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@
2929

3030
<br/>
3131

32-
<p class="version">v3.3.1</p>
32+
<p class="version">v3.4-dev</p>
3333
</center>
3434
</body>

app/gui/qt/images/splash.png

800 Bytes
Loading

app/gui/qt/images/splash2x.png

3.07 KB
Loading

app/gui/qt/images/splash@2x.png

3.07 KB
Loading

app/gui/qt/lang/sonic-pi_de.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ Entschuldigung, beim Start trat ein kritischer Fehler auf</translation>
808808
<message>
809809
<location filename="../mainwindow.cpp" line="2957"/>
810810
<source>Show Cue Log</source>
811-
<translation type="unfinished"></translation>
811+
<translation>Cue Log zeigen</translation>
812812
</message>
813813
<message>
814814
<location filename="../mainwindow.cpp" line="2962"/>
@@ -871,7 +871,7 @@ Get Sonic Pi %1</source>
871871
<message>
872872
<location filename="../mainwindow.cpp" line="3864"/>
873873
<source>Line: %1, Position: %2</source>
874-
<translation type="unfinished"></translation>
874+
<translation>Zeile: %1, Position: %2</translation>
875875
</message>
876876
<message>
877877
<location filename="../mainwindow.cpp" line="2515"/>
@@ -1132,7 +1132,7 @@ Get Sonic Pi %1</source>
11321132
<message>
11331133
<location filename="../widgets/settingswidget.cpp" line="41"/>
11341134
<source>Visuals</source>
1135-
<translation type="unfinished">Anzeigen</translation>
1135+
<translation>Visualisierung</translation>
11361136
</message>
11371137
<message>
11381138
<location filename="../widgets/settingswidget.cpp" line="44"/>
@@ -1279,7 +1279,7 @@ to and from other programs or computers
12791279
<message>
12801280
<location filename="../widgets/settingswidget.cpp" line="171"/>
12811281
<source>Allow OSC from other computers</source>
1282-
<translation type="unfinished"></translation>
1282+
<translation>OSC von anderen Computern erlauben</translation>
12831283
</message>
12841284
<message>
12851285
<location filename="../widgets/settingswidget.cpp" line="172"/>
@@ -1296,7 +1296,7 @@ to and from other programs or computers
12961296
<message>
12971297
<location filename="../widgets/settingswidget.cpp" line="285"/>
12981298
<source>Show code completion</source>
1299-
<translation type="unfinished"></translation>
1299+
<translation>Zeige Codevervollständigung</translation>
13001300
</message>
13011301
<message>
13021302
<location filename="../widgets/settingswidget.cpp" line="397"/>
@@ -1466,7 +1466,7 @@ Sonic Pi, die über die midi_* fns gesendet werden können</translation>
14661466
<message>
14671467
<location filename="../widgets/settingswidget.cpp" line="288"/>
14681468
<source>Show code context</source>
1469-
<translation type="unfinished"></translation>
1469+
<translation>Code-Kontext anzeigen</translation>
14701470
</message>
14711471
<message>
14721472
<location filename="../widgets/settingswidget.cpp" line="289"/>

0 commit comments

Comments
 (0)