File tree Expand file tree Collapse file tree 4 files changed +14
-6
lines changed
Expand file tree Collapse file tree 4 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -141,11 +141,13 @@ static private void createAndShowGUI(String[] args) {
141141 Platform .init ();
142142
143143 // Set the debug flag based on a file being present in the settings folder
144- File debugFile = getSettingsFile ("debug" );
144+ File debugFile = getSettingsFile ("debug.txt" );
145+ /*
145146 if (debugFile.isDirectory()) {
146147 // if it's a directory, it's a leftover from older releases, clear it
147148 Util.removeDir(debugFile);
148- } else if (debugFile .exists ()) {
149+ } else*/
150+ if (debugFile .exists ()) {
149151 DEBUG = true ;
150152 }
151153
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ static public void init() {
6868 load (Base .getLibStream (DEFAULTS_FILE ));
6969 } catch (Exception e ) {
7070 Messages .showError (null , "Could not read default settings.\n " +
71- "You'll need to reinstall Processing." , e );
71+ "You'll need to reinstall Processing." , e );
7272 }
7373
7474 // Clone the defaults, then override any them with the user's preferences.
@@ -109,9 +109,12 @@ static public void init() {
109109 PApplet .useNativeSelect =
110110 Preferences .getBoolean ("chooser.files.native" ); //$NON-NLS-1$
111111
112- // Use the system proxy settings by default
113- // https://github.com/processing/processing/issues/2643
114- System .setProperty ("java.net.useSystemProxies" , "true" );
112+ // Adding option to disable this in case it's getting in the way
113+ if (get ("proxy.system" ).equals ("true" )) {
114+ // Use the system proxy settings by default
115+ // https://github.com/processing/processing/issues/2643
116+ System .setProperty ("java.net.useSystemProxies" , "true" );
117+ }
115118
116119 // Set HTTP, HTTPS, and SOCKS proxies for individuals
117120 // who want/need to override the system setting
Original file line number Diff line number Diff line change @@ -347,6 +347,8 @@ proxy.socks.port=
347347# Example of usage (replace 'http' with 'https' or 'socks' as needed)
348348#proxy.http.host=proxy.example.com
349349#proxy.http.port=8080
350+ # Whether to use the system proxy by default
351+ proxy.system=true
350352
351353# PDE X
352354pdex.autoSave.autoSaveByDefault=true
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ X https://github.com/processing/processing/issues/3123
99X https://github.com/processing/processing/issues/4735
1010X move the DEBUG flag into an external file or preferences.txt
1111X will help us with debugging w/ others as well
12+ X change to debug.txt; too confusing with the folder thing
1213X replace java.util.logging code with built-in logging
1314_ blank window on startup where the "welcome" screen should be
1415_ https://github.com/processing/processing/issues/3933
You can’t perform that action at this time.
0 commit comments