diff --git a/CHANGELOG.md b/CHANGELOG.md index 72a53a95cc..95144de793 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ # History +* [v4.2.0 'Batch'](#v4.2.0), 14th Sept, 2022 * [v4.1.0 'Phase'](#v4.1.0), 30th August 2022 * [v4.0.3 'Dovetail'](#v4.0.3), 18th July 2022 * [v4.0.2 'Relink'](#v4.0.2), 15th July 2022 @@ -28,6 +29,32 @@ * [v2.0.1](#v2.0.1), 9th Sept, 2014 * [v2.0 'Phoenix'](#v2.0), 2nd Sept, 2014 + + +## Version 4.2.0 'Batch' +14th September 2022 + + +The main purpose of this release is to address a booting issue discovered on a school Windows cluster with common security restrictions. This issue was reported by Adam Cooper from Moor Park High School & Sixth Form in the UK. Adam was wonderfully helpful in finding the specific issue and testing potential solutions. Thanks Adam! + +If you happen to have had any trouble running v4 of Sonic Pi on your school clusters, please give this release a go! (Note, this issue didn't affect v3 of Sonic Pi). + +In addition, there have been some translation improvements, Global Time Warp now has a greater range and a couple of `time_warp` related bugs were found and dealt with. Have fun! + +### GUI +* Change Global Time Warp range from +-250 to -250 -> 999. This lets users access the full phase down to a BPM of 48. + +### Improvements +* Booting process on Windows has been modified to enable it to run when executing in an environment which restricts access to CMD (which prevents terminal usage and running .bat files). This is typical in schools. +* Sonic Pi stores all its history, configuration and logs in a folder called `.sonic-pi` which is typically placed in the user's home directory. If the user happens to not have permission to write to their home directory, Sonic Pi now raises a descriptive error on boot and explains that the fix is to set an environment variable called `SONIC_PI_HOME` to point to a directory the user does have permission to write to. + +### Translations +* Improvements to the Dutch, Hungarian and Indonesian translations. + +### Bugfixes +* Teach timing safety system that `time_warp` doesn't sleep (even if it contains calls to `sleep` internally). This now means that wrapping all code within a `live_loop` with `time_warp` no longer causes the thread to spin out of control. It instead reports that the live loop did not sleep as expected. +* Throw error when attempting to call `sync` within a `time_warp`. This is because time warps are effectively timeless and `sync` asks the running thread to wait for an unknown period (until a matching event appears). Attempting to wait within a timeless context is clearly nonsensical! + ## Version 4.1.0 'Phase' diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4875a4624e..b940d1a68e 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -247,8 +247,7 @@ In addition to the Sonic Pi Core Team, we would like to extend our thanks to the following developers who have donated their time and effort to help grow and improve the Sonic Pi code base: - -* [Sam Aaron](https://github.com/sonic-pi-net/sonic-pi/commits?author=samaaron) (5304) +* [Sam Aaron](https://github.com/sonic-pi-net/sonic-pi/commits?author=samaaron) (5337) * [Ethan Crawford](https://github.com/sonic-pi-net/sonic-pi/commits?author=ethancrawford) (304) * [Hanno Zulla](https://github.com/sonic-pi-net/sonic-pi/commits?author=hzulla) (198) * [Joseph Wilk](https://github.com/sonic-pi-net/sonic-pi/commits?author=josephwilk) (160) @@ -313,7 +312,6 @@ effort to help grow and improve the Sonic Pi code base: * [Domingo Gómez](https://github.com/sonic-pi-net/sonic-pi/commits?author=domgomcom) (2) * [Eugene Kovalev](https://github.com/sonic-pi-net/sonic-pi/commits?author=wl8dr3) (2) * [Friends A.](https://github.com/sonic-pi-net/sonic-pi/commits?author=shaonianche) (2) -* [Haowen You](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (2) * [Hubert Figuière](https://github.com/sonic-pi-net/sonic-pi/commits?author=hfiguiere) (2) * [Jose Añasco](https://github.com/sonic-pi-net/sonic-pi/commits?author=merongivian) (2) * [Katie Ots](https://github.com/sonic-pi-net/sonic-pi/commits?author=katiejots) (2) @@ -324,29 +322,19 @@ effort to help grow and improve the Sonic Pi code base: * [Mintesno Zewdu](https://github.com/sonic-pi-net/sonic-pi/commits?author=MinteZ) (2) * [Mistral Contrastin](https://github.com/sonic-pi-net/sonic-pi/commits?author=madgen) (2) * [Mukul Kolpe](https://github.com/sonic-pi-net/sonic-pi/commits?author=MukulKolpe) (2) -* [Nur Sodik](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (2) -* [Pau Monfort](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (2) * [Peter Shultz](https://github.com/sonic-pi-net/sonic-pi/commits?author=pashultz) (2) * [Phil Hagelberg](https://github.com/sonic-pi-net/sonic-pi/commits?author=technomancy) (2) * [Přemek Vyhnal](https://github.com/sonic-pi-net/sonic-pi/commits?author=premek) (2) -* [Rekc@h](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (2) -* [Roger Narayan](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (2) * [Scott Kitterman](https://github.com/sonic-pi-net/sonic-pi/commits?author=kitterma) (2) * [Shane Malone](https://github.com/sonic-pi-net/sonic-pi/commits?author=shanemalo) (2) -* [Theodore Tsirpanis](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (2) +* [Theodore Tsirpanis](https://github.com/sonic-pi-net/sonic-pi/commits?author=teo-tsirpanis) (2) * [Will Stephenson](https://github.com/sonic-pi-net/sonic-pi/commits?author=wstephenson) (2) * [William W. Wu](https://github.com/sonic-pi-net/sonic-pi/commits?author=willy-vvu) (2) * [Adam Weiler](https://github.com/sonic-pi-net/sonic-pi/commits?author=dam-weiler) (1) * [Adlai](https://github.com/sonic-pi-net/sonic-pi/commits?author=adlai) (1) -* [Alejandro Sánchez Medina](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Alex McLean](https://github.com/sonic-pi-net/sonic-pi/commits?author=yaxu) (1) -* [Alex Popov](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Anders Berggren](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Andras Nemeth](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Anhquan Phanle](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Apokli](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) +* [Apokli](https://github.com/sonic-pi-net/sonic-pi/commits?author=Apokli) (1) * [Aspasia Beneti](https://github.com/sonic-pi-net/sonic-pi/commits?author=aspasia) (1) -* [Basel Akasha](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Bernhard M. Wiedemann](https://github.com/sonic-pi-net/sonic-pi/commits?author=bmwiedemann) (1) * [Björn Ekström](https://github.com/sonic-pi-net/sonic-pi/commits?author=bjornekstrom) (1) * [Björn Þór Jónsson](https://github.com/sonic-pi-net/sonic-pi/commits?author=bthj) (1) @@ -354,7 +342,6 @@ effort to help grow and improve the Sonic Pi code base: * [Centre multimédia des Pieux](https://github.com/sonic-pi-net/sonic-pi/commits?author=epnlespieux) (1) * [Christian Perfect](https://github.com/sonic-pi-net/sonic-pi/commits?author=christianp) (1) * [Cosmin Stroe](https://github.com/sonic-pi-net/sonic-pi/commits?author=cstroe) (1) -* [Dan Hanley](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Daria Trainor](https://github.com/sonic-pi-net/sonic-pi/commits?author=dariatrainor) (1) * [Darío Hereñú](https://github.com/sonic-pi-net/sonic-pi/commits?author=kant) (1) * [Dionysis Zindros](https://github.com/sonic-pi-net/sonic-pi/commits?author=dionyziz) (1) @@ -363,19 +350,12 @@ effort to help grow and improve the Sonic Pi code base: * [Eduardo Fonseca](https://github.com/sonic-pi-net/sonic-pi/commits?author=edrd-f) (1) * [Eric M](https://github.com/sonic-pi-net/sonic-pi/commits?author=em13914) (1) * [Ezequiel Ramos](https://github.com/sonic-pi-net/sonic-pi/commits?author=ezequielramos) (1) -* [Fabian Aussems](https://github.com/sonic-pi-net/sonic-pi/commits?author=mozinator) (1) * [Falko Spiller](https://github.com/sonic-pi-net/sonic-pi/commits?author=zenon) (1) -* [Federico Pepe](https://github.com/sonic-pi-net/sonic-pi/commits?author=federico-pepe) (1) * [Garen Hartunian](https://github.com/sonic-pi-net/sonic-pi/commits?author=garenhart) (1) -* [Giovanni Domeneghini](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Graham Taylor](https://github.com/sonic-pi-net/sonic-pi/commits?author=vinnievg) (1) -* [Guntitat Sawadwuthikul](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Gábor Hermann](https://github.com/sonic-pi-net/sonic-pi/commits?author=gaborhermann) (1) -* [Hamidreza Montaseri](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Himanshu](https://github.com/sonic-pi-net/sonic-pi/commits?author=himanshu007-creator) (1) * [Hrafnkell Eiríksson](https://github.com/sonic-pi-net/sonic-pi/commits?author=hrafnkelle) (1) -* [Huiting Milewski](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Hur Ezeiza Zaldua](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Ian Stevenson](https://github.com/sonic-pi-net/sonic-pi/commits?author=irstevenson) (1) * [Ikko Ashimine](https://github.com/sonic-pi-net/sonic-pi/commits?author=eltociear) (1) * [Ioan Bizău](https://github.com/sonic-pi-net/sonic-pi/commits?author=ibz) (1) @@ -391,7 +371,6 @@ effort to help grow and improve the Sonic Pi code base: * [John Lawrence Aspden](https://github.com/sonic-pi-net/sonic-pi/commits?author=johnlawrenceaspden) (1) * [Joseph Haig](https://github.com/sonic-pi-net/sonic-pi/commits?author=jrmhaig) (1) * [Josh Hatcher](https://github.com/sonic-pi-net/sonic-pi/commits?author=jbjbhatcher) (1) -* [Juhyun Lee](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Julian Cheal](https://github.com/sonic-pi-net/sonic-pi/commits?author=juliancheal) (1) * [Karl Hiner](https://github.com/sonic-pi-net/sonic-pi/commits?author=khiner) (1) * [Ken Perry](https://github.com/sonic-pi-net/sonic-pi/commits?author=krperry) (1) @@ -401,14 +380,10 @@ effort to help grow and improve the Sonic Pi code base: * [Lin Hsu](https://github.com/sonic-pi-net/sonic-pi/commits?author=chaosink) (1) * [Linda van der Pal](https://github.com/sonic-pi-net/sonic-pi/commits?author=lvdpal) (1) * [Lorenzo Moriondo](https://github.com/sonic-pi-net/sonic-pi/commits?author=Mec-iS) (1) -* [Lucas Cruz dos Reis](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Madis Liias](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Mahmutcan İlhandağ](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) +* [Lucas Cruz dos Reis](https://github.com/sonic-pi-net/sonic-pi/commits?author=LCRERGO) (1) * [Manula Thejan](https://github.com/sonic-pi-net/sonic-pi/commits?author=manula2004) (1) -* [Manula Thejan](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Marko Peltola](https://github.com/sonic-pi-net/sonic-pi/commits?author=markopeltola) (1) -* [Martin Gondermann](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Mateo Carreras](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) +* [Martin Gondermann](https://github.com/sonic-pi-net/sonic-pi/commits?author=magicmonty) (1) * [Mateusz Bielec](https://github.com/sonic-pi-net/sonic-pi/commits?author=mbie) (1) * [Matt Meyer](https://github.com/sonic-pi-net/sonic-pi/commits?author=mmeyer0505) (1) * [Matthew Gilliard](https://github.com/sonic-pi-net/sonic-pi/commits?author=mjg123) (1) @@ -418,11 +393,7 @@ effort to help grow and improve the Sonic Pi code base: * [Michael Fulton](https://github.com/sonic-pi-net/sonic-pi/commits?author=fultonms) (1) * [Michał Lewandowski](https://github.com/sonic-pi-net/sonic-pi/commits?author=mlevvy) (1) * [Michel Kraaijeveld](https://github.com/sonic-pi-net/sonic-pi/commits?author=LandDragoon) (1) -* [Mircea Patrascu](https://github.com/sonic-pi-net/sonic-pi/commits?author=mpatrascu) (1) -* [Miroslav Hrabal](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Morgan Owens](https://github.com/sonic-pi-net/sonic-pi/commits?author=equiamos) (1) -* [Muamer Ribica](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Narek Torosyan](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Neal McBurnett](https://github.com/sonic-pi-net/sonic-pi/commits?author=nealmcb) (1) * [Nigel Michki](https://github.com/sonic-pi-net/sonic-pi/commits?author=nigeil) (1) * [No Name Pro](https://github.com/sonic-pi-net/sonic-pi/commits?author=NoNamePro0) (1) @@ -431,12 +402,9 @@ effort to help grow and improve the Sonic Pi code base: * [Piotr Jagielski](https://github.com/sonic-pi-net/sonic-pi/commits?author=pjagielski) (1) * [Přemek Vyhnal](https://github.com/sonic-pi-net/sonic-pi/commits?author=premek) (1) * [Radu Raicea](https://github.com/sonic-pi-net/sonic-pi/commits?author=Radu-Raicea) (1) -* [Ran Tsoref](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Reuben Brown](https://github.com/sonic-pi-net/sonic-pi/commits?author=reubenbrown) (1) * [Ricardo Ramírez](https://github.com/sonic-pi-net/sonic-pi/commits?author=ricardoerl) (1) * [Rodrigo Iglesias](https://github.com/sonic-pi-net/sonic-pi/commits?author=Areidz) (1) -* [Rogério Pimentel](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Rokibujjaman Rajon](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Roland Schmid](https://github.com/sonic-pi-net/sonic-pi/commits?author=Pr0gm4n) (1) * [Roman Milovskiy](https://github.com/sonic-pi-net/sonic-pi/commits?author=dcromster) (1) * [Russell Jones](https://github.com/sonic-pi-net/sonic-pi/commits?author=Russell-Jones) (1) @@ -450,14 +418,9 @@ effort to help grow and improve the Sonic Pi code base: * [Saravanan Selvamohan](https://github.com/sonic-pi-net/sonic-pi/commits?author=saravananselvamohan) (1) * [Serge Stinckwich](https://github.com/sonic-pi-net/sonic-pi/commits?author=SergeStinckwich) (1) * [Siim Põder](https://github.com/sonic-pi-net/sonic-pi/commits?author=windo) (1) -* [Stanislav Senveter](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Suleyman Poyraz](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Suleyman Poyraz](https://github.com/sonic-pi-net/sonic-pi/commits?author=Zaryob) (1) -* [Surajnath Sidh](https://github.com/sonic-pi-net/sonic-pi/commits?author=electron0zero) (1) * [Takashi Udagawa](https://github.com/sonic-pi-net/sonic-pi/commits?author=udayan28) (1) -* [Tasos Protopapas](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Thibaut Barrère](https://github.com/sonic-pi-net/sonic-pi/commits?author=thbar) (1) -* [Thomas G. Kristensen](https://github.com/sonic-pi-net/sonic-pi/commits?author=tgk) (1) * [Thomas Starzynski](https://github.com/sonic-pi-net/sonic-pi/commits?author=dcts) (1) * [TimMo](https://github.com/sonic-pi-net/sonic-pi/commits?author=TimMo-prog) (1) * [Tom Holford](https://github.com/sonic-pi-net/sonic-pi/commits?author=tomholford) (1) @@ -465,26 +428,18 @@ effort to help grow and improve the Sonic Pi code base: * [Tomasz Nurkiewicz](https://github.com/sonic-pi-net/sonic-pi/commits?author=nurkiewicz) (1) * [Tomek Rabczak](https://github.com/sonic-pi-net/sonic-pi/commits?author=tomekr) (1) * [Tommi Toivonen](https://github.com/sonic-pi-net/sonic-pi/commits?author=hullum) (1) -* [Tomás Vilariño](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Tristram Oaten](https://github.com/sonic-pi-net/sonic-pi/commits?author=0atman) (1) -* [Tuomas Pyylampi](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [Tyler Korthal](https://github.com/sonic-pi-net/sonic-pi/commits?author=tjkorthal) (1) * [Uriel Corfa](https://github.com/sonic-pi-net/sonic-pi/commits?author=korfuri) (1) * [Valentin Vidić](https://github.com/sonic-pi-net/sonic-pi/commits?author=vvidic) (1) * [Veith Roethlingshoefer](https://github.com/sonic-pi-net/sonic-pi/commits?author=RunOrVeith) (1) -* [ViperMiniQ](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Warren Alex](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [Yang Wanjun](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) * [miannoni](https://github.com/sonic-pi-net/sonic-pi/commits?author=miannoni) (1) -* [Олексій Овдієнко](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) -* [ۋولقان](https://github.com/sonic-pi-net/sonic-pi/commits?author=) (1) ## Translation The following volunteers have generously helped to translate Sonic Pi into additional languages: - * Łukasz Siwiński (109) * Kenichi Kanai (101) * Nico Staelens (83) @@ -492,12 +447,12 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Olivier Humbert (54) * Cindy Dallaire (48) * Hanno Zulla (47) -* Pau Monfort (41) +* Pau Monfort (43) * Olympia Brikis (38) * Emlyn Corrin (37) -* Federico Pepe (34) +* Federico Pepe (35) +* Mircea Patrascu (32) * Sam Aaron (32) -* Mircea Patrascu (31) * Petter Reinholdtsen (29) * Daria Szatan (26) * Mauro João Salgado Figueira (23) @@ -525,22 +480,26 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Kenryu Shibata (8) * Ole Erik Yrvin (8) * Rachid Ben Moussa (8) +* Rekc@h (8) +* Yang Wanjun (8) * Berkin Kadiroğlu (7) * Eason Chang (7) * Jan Lund (7) * Paulo Chiliguano (7) +* Surajnath Sidh (7) * Timo Dankert (7) -* Yang Wanjun (7) * Alaa alden Aldroubi (6) * Davide Anzaldi (6) * G. Martin Butz (6) +* Mahmutcan İlhandağ (6) * Mark Lei (6) * Matthieu Ottaviani (6) * Miika Alonen (6) * RD WebDesign (6) -* Rekc@h (6) +* Stanislav Senveter (6) * Stefan (6) -* Surajnath Sidh (6) +* Suleyman Poyraz (6) +* Олексій Овдієнко (6) * Björn Ekström (5) * CaoYi (5) * Carlos Arturo Guerra Parra (5) @@ -551,17 +510,19 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Hayato Osanai (5) * Ivan Decard (5) * Johan Ekblad (5) -* Mahmutcan İlhandağ (5) +* Manula Thejan (5) * Marcin "Tupteq" Bardź (5) * Michiel Leegwater (5) -* Stanislav Senveter (5) -* Suleyman Poyraz (5) +* Miroslav Hrabal (5) +* Muamer Ribica (5) +* Nur Sodik (5) * Theodore Tsirpanis (5) * Timo Dankert (5) -* Олексій Овдієнко (5) * Adeilson Silva (4) +* Aiko (4) * André Klöpfel (4) * ArtyomIsFlash (4) +* Basel Akasha (4) * Dahlia Sager (4) * Diego Gurnari (4) * Edson Cunha (4) @@ -570,11 +531,10 @@ The following volunteers have generously helped to translate Sonic Pi into addit * João Medeiros (4) * Kamyar (4) * Kaz Yamazaki (4) -* Manula Thejan (4) -* Miroslav Hrabal (4) -* Muamer Ribica (4) * Salih Vatansever (4) * Servaas Tilkin (4) +* Stefan Boeykens (4) +* Thomas G. Kristensen (4) * Abdeselam El-Haman (3) * Adrian Nöthlich (3) * Alban Vidal (3) @@ -582,38 +542,42 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Alexandre Karpinski Manikowski (3) * Andreas Linz (3) * Andres Senn (3) +* Anhquan Phanle (3) * Anton Shestakov (3) * Aron Birkir Gudmundsson (3) -* Basel Akasha (3) * Black SheepX (3) * Chenebel Dorian (3) * Dago Sondervan (3) +* Dan Hanley (3) * Davide Facoetti (3) * Dustin Hendriks (3) * Esteban Betancur (3) * Fabricio S Benevides (3) * Hou Chen Zhong (3) +* Hur Ezeiza Zaldua (3) * Jiaxi Gu (3) * Juan Pablo Riaño (3) +* Juhyun Lee (3) * Jun Lin (3) * Lucas Cruz dos Reis (3) * Luis Lloret (3) * Lupa Lupin (3) * László van den Hoek (3) +* Maarten Brouwers (3) +* Madis Liias (3) * Moisés Cachay Tello (3) * Moon Sungjoon (3) * Nader Jafari (3) * Nami KJ (3) * Nathan Van der Auwera (3) -* Nur Sodik (3) * Raúl Jiménez Martín (3) * Rosdyana Kusuma (3) * Sander Kesting (3) * Sebastian Stahn (3) * Sebastien van der Kwast (3) -* Stefan Boeykens (3) * Sune Sylvest Nilausen (3) -* Thomas G. Kristensen (3) +* Tasos Protopapas (3) +* Tuomas Pyylampi (3) * Volkan Bakir (3) * _eternal_flame (3) * fossdd (3) @@ -623,8 +587,9 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Airat (2) * Ajakko (2) * Alex Buznik (2) +* Alex Popov (2) +* Anders Berggren (2) * André Sá (2) -* Anhquan Phanle (2) * Arnold Ewald (2) * Arnold Marko (2) * Artem (2) @@ -633,7 +598,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Cattice (2) * ChiakiQ (2) * CurlingTongs (2) -* Dan Hanley (2) * Diego Ramos (2) * Dimitris Panokostas (2) * Duarte Botelho (2) @@ -644,16 +608,21 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Erick Bernalcrr (2) * Ertu (Er2, Err) (2) * Evgeni Latuhin (2) +* Fabian Aussems (2) * Gabriel Barba Gonzalez (2) * Gao Yuyang (2) * Genek Tomashko (2) +* Gergő Fazekas (2) +* Giovanni Domeneghini (2) * Goncalo Vieira (2) +* Guntitat Sawadwuthikul (2) +* Hamidreza Montaseri (2) +* Haowen You (2) * Haruki Niwa (2) * HelaBasa (2) * Hilla Shahrabani (2) * Huang Tianyu (2) * Hugo Vila (2) -* Hur Ezeiza Zaldua (2) * Italo Adler (2) * Ivan Zarea (2) * Jacek Andrzejewski (2) @@ -663,7 +632,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Jon Georgsson (2) * Joschka Heinrich (2) * Joyinglee (2) -* Juhyun Lee (2) * Kaijing Zheng (2) * Kiki Hzz (2) * Lin Yu-Chien (2) @@ -673,15 +641,16 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Luis Jimenez (2) * Lukas Spee (2) * Lázaro Henrique (2) -* Maarten Brouwers (2) -* Madis Liias (2) * Martin Lange (2) * Martin Solheim (2) * Martin-Zack Mekkaoui (2) +* Mateo Carreras (2) * Mathieu H (2) * Michael Peters (2) * Michal Slaski (2) * Moru (2) +* Narek Torosyan (2) +* Neko Nekowazarashi (2) * Nicholas Pellizer (2) * Nicolas Cosson (2) * Nimplex (2) @@ -689,8 +658,10 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Philip Lafeber (2) * Pierre Pintado (2) * Přemek Vyhnal (2) +* Ran Tsoref (2) * Raphaël Forment (2) * Rodrigo Muniz (2) +* Roger Narayan (2) * Roland Illig (2) * Samuel El-Borai (2) * Sebastian Rasmussen (2) @@ -700,13 +671,14 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Stefan Höhn (2) * Sugahara Masayuki (2) * Szymon Jakubiak (2) -* Tasos Protopapas (2) * Tiago Naufragado (2) -* Tuomas Pyylampi (2) +* Tomás Vilariño (2) * Umair Raihan (2) * Vera Rojman (2) * Vincent Renard (2) +* ViperMiniQ (2) * Vladimir Támara Patiño (2) +* Warren Alex (2) * Weizheng Liu (2) * Yakov Till (2) * Yandex (2) @@ -719,15 +691,16 @@ The following volunteers have generously helped to translate Sonic Pi into addit * sharmer156 (2) * tter (2) * zmni (2) +* ۋولقان (2) * キツネさん (2) * Aaro Asikainen (1) * Adam Süki (1) * AgentWu (1) * Ai Doan (1) +* Alejandro Sánchez Medina (1) * Alessandro Kiefer (1) -* Alex Popov (1) -* Anders Berggren (1) * Anderson Freitas B. da Silva (1) +* Andras Nemeth (1) * Andrey Raspopov (1) * Anna Knudsen (1) * Antonio Leal (1) @@ -767,7 +740,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Elizabeth Sherrock (1) * Enrike Hurtado (1) * Evandro Afonso Rodrigues (1) -* Fabian Aussems (1) * Federico Saccà (1) * Felipe Kinoshita (1) * Feodor Aleksandrov (1) @@ -779,14 +751,12 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Gabriele Boddi (1) * Garen Hart (1) * Gerardo Soares (1) -* Giovanni Domeneghini (1) * Glauco Luiz Corrêa Basilio Dos (1) * Guillaume Gautier (1) -* Guntitat Sawadwuthikul (1) * Gustavo Castro (1) * HSGamer (1) -* Hamidreza Montaseri (1) * Haotong Chen (1) +* Huiting Milewski (1) * Hyemin Shim (1) * Ian Molina (1) * Ingrid Yrvin (1) @@ -822,7 +792,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Marek freezy Víger (1) * Martin Gondermann (1) * Martín Aguilar (1) -* Mateo Carreras (1) * Mathias Svendsen (1) * Matteo Giaccone (1) * Mattias Münster (1) @@ -834,7 +803,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Mikkel Gravgaard (1) * Mui Kai En (1) * Nadezhda Ratckevich (1) -* Narek Torosyan (1) * Nathan (1) * Netanel-M (1) * Paola Ducolin (1) @@ -846,8 +814,9 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Per-Erik Westerberg (1) * Peter Bolch (1) * Rafael Capaci Pereira (1) -* Ran Tsoref (1) * Rodrigo Iglesias (1) +* Rogério Pimentel (1) +* Rokibujjaman Rajon (1) * Sander Boer (1) * Satjawat Paanakaan (1) * Serge Stinckwich (1) @@ -868,7 +837,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Tino Ejlerskov (1) * Tom Julux (1) * Tommi Toivonen (1) -* Tomás Vilariño (1) * Tuomas Hietala (1) * Vadim R (1) * Valdeci Gomes (1) @@ -877,10 +845,8 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Veres Károly (1) * Vibo Lavida (1) * Victor Martin Garcia (1) -* ViperMiniQ (1) * Vitezslav Homolka (1) * Vladimir Knyazev (1) -* Warren Alex (1) * Wilson Dashing (1) * Wim Jaap (1) * Xubin Cao (1) @@ -899,7 +865,6 @@ The following volunteers have generously helped to translate Sonic Pi into addit * Иван Лавриков (1) * Максим Якимчук (1) * Рамиль Иксанов (1) -* ۋولقان (1) * 丁科 (1) * 张达 (1) * 郑小则 (1) diff --git a/app/api/include/api/sonicpi_api.h b/app/api/include/api/sonicpi_api.h index e1f36ee97e..668fd5bf0e 100644 --- a/app/api/include/api/sonicpi_api.h +++ b/app/api/include/api/sonicpi_api.h @@ -42,7 +42,8 @@ enum class APIInitResult { Successful, TerminalError, - ScsynthBootError + ScsynthBootError, + HomePathNotWritableError }; enum class BootDaemonInitResult @@ -55,6 +56,7 @@ enum class BootDaemonInitResult enum class SonicPiPath { RootPath, // Sonic Pi Application root + HomePath, // User-writable home directory root (parent of UserPath). UserPath, // User-writable folder for config/saves etc. RubyPath, // Path to ruby executable BootDaemonPath, // Path to the Boot Daemon script diff --git a/app/api/src/sonicpi_api.cpp b/app/api/src/sonicpi_api.cpp index f0cec96363..c90dabc3bd 100644 --- a/app/api/src/sonicpi_api.cpp +++ b/app/api/src/sonicpi_api.cpp @@ -646,6 +646,12 @@ APIInitResult SonicPiAPI::Init(const fs::path& root, bool noScsynthInputs) } } + if (m_homeDirWriteable) { + LOG(INFO, "Home dir writable: "); + } else { + return APIInitResult::HomePathNotWritableError; + } + EnsurePathsAreCanonical(); StartClearLogsScript(); @@ -671,11 +677,7 @@ APIInitResult SonicPiAPI::Init(const fs::path& root, bool noScsynthInputs) } }); - if (m_homeDirWriteable) { - LOG(INFO, "Home dir writable: "); - } else { - LOG(INFO, "Home dir NOT writable: "); - } + LOG(INFO, "Log Path: " + GetPath(SonicPiPath::LogPath).string()); m_state = State::Initializing; @@ -722,6 +724,7 @@ bool SonicPiAPI::InitializePaths(const fs::path& root) m_paths[SonicPiPath::RootPath] = fs::canonical(fs::absolute(root)); // Sonic pi home directory + m_paths[SonicPiPath::HomePath] = FindHomePath(); m_paths[SonicPiPath::UserPath] = FindHomePath() / ".sonic-pi"; // Set path to Ruby executable (system dependent) diff --git a/app/gui/qt/CMakeLists.txt b/app/gui/qt/CMakeLists.txt index e3c3bf0524..3ca534ef3a 100644 --- a/app/gui/qt/CMakeLists.txt +++ b/app/gui/qt/CMakeLists.txt @@ -2,16 +2,17 @@ cmake_minimum_required(VERSION 3.2) message(STATUS "CMakeLists: Sonic Pi Qt GUI") +if(APPLE) + set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") +endif() + project("Sonic Pi" LANGUAGES CXX C DESCRIPTION "A code-based music creation and performance tool" - VERSION 4.1.0 + VERSION 4.2.0 HOMEPAGE_URL "https://sonic-pi.net" ) -if(APPLE) - set(CMAKE_OSX_DEPLOYMENT_TARGET "10.15") -endif() set_property(GLOBAL PROPERTY USE_FOLDERS ON) diff --git a/app/gui/qt/html/doc.html b/app/gui/qt/html/doc.html index 72c2e4f0e9..f944f72d5b 100644 --- a/app/gui/qt/html/doc.html +++ b/app/gui/qt/html/doc.html @@ -15,7 +15,7 @@ code_as :art
-v4.1.0
+v4.2.0
diff --git a/app/gui/qt/html/info.html b/app/gui/qt/html/info.html index c8ee7bbef9..dfc61e679d 100644 --- a/app/gui/qt/html/info.html +++ b/app/gui/qt/html/info.html @@ -29,6 +29,6 @@v4.1.0
+v4.2.0