Skip to content

Commit 4fe8609

Browse files
committed
Python 3 required, now that Python 2 has been removed from macOS
1 parent e1f42cc commit 4fe8609

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

build/build.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -369,7 +369,7 @@
369369
</condition>
370370

371371
<!--<echo message="ref ignoreable? ${reference.ignorable}" />-->
372-
<get src="http://download.processing.org/reference.zip"
372+
<get src="https://download.processing.org/reference.zip"
373373
dest="../java/reference.zip"
374374
ignoreerrors="${reference.ignorable}"
375375
usetimestamp="true" />
@@ -679,7 +679,8 @@
679679
<fileset refid="jdk-optional-macos" />
680680
</delete>
681681

682-
<exec executable="macos/language_gen.py" />
682+
<!-- Python 3 required, now that Python 2 has been removed from macOS -->
683+
<exec executable="macos/language_gen.py" failonerror="true" />
683684

684685
<property name="launch4j.dir" value="${contents.dir}/Java/modes/java/application/launch4j" />
685686

build/macos/language_gen.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22

33
import os, re
44

todo.txt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@ X menu.library.add_library = Add Library... ->
2020
X menu.library.manage_libraries = Manage Libraries…
2121
X menu.tools.add_tool = Add Tool... ->
2222
X menu.tools.manage_tools = Manage Tools…
23-
23+
X update download.processing.org/reference.zip to be a static file
24+
X switch language_gen.py to python3, other versions removed from macOS
2425

2526
_ open dialog extensions only work for the current Mode
2627
_ i.e. in Java Mode, won't list .js files as candidates
27-
28-
_ on release: submit to Microsoft
29-
_ https://www.microsoft.com/en-us/wdsi/filesubmission
30-
_ https://aka.ms/wdsi
31-
_ https://www.microsoft.com/security/blog/2018/08/16/partnering-with-the-industry-to-minimize-false-positives/
28+
_ on build of dist, immediately submit to Microsoft: https://aka.ms/wdsi
3229

3330
design
3431
X set minimum size for scroll bar thumb
@@ -129,6 +126,11 @@ _ which is another case for a separate 'contrib manager' thing
129126
_ maybe that's the update button? when no updates, it's still a button?
130127

131128

129+
_ on release: submit to Microsoft
130+
_ https://www.microsoft.com/en-us/wdsi/filesubmission
131+
_ https://aka.ms/wdsi
132+
_ https://www.microsoft.com/security/blog/2018/08/16/partnering-with-the-industry-to-minimize-false-positives/
133+
132134
_ if a sketch is in the docs folder, try triggering macos access dialog
133135
_ do it once for the root, then see if it allows the folders inside as well
134136
_ (opening p5jsMode sketch on Desktop causes a zillion dialog boxes)

0 commit comments

Comments
 (0)