| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -141,11 +141,13 @@ static private void createAndShowGUI(String[] args) { | |||
| 141 | 141 | Platform.init(); | |
| 142 | 142 | ||
| 143 | 143 | // 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 | + /* | ||
| 145 | 146 | if (debugFile.isDirectory()) { | |
| 146 | 147 | // if it's a directory, it's a leftover from older releases, clear it | |
| 147 | 148 | Util.removeDir(debugFile); | |
| 148 | - } else if (debugFile.exists()) { | ||
| 149 | + } else*/ | ||
| 150 | + if (debugFile.exists()) { | ||
| 149 | 151 | DEBUG = true; | |
| 150 | 152 | } | |
| 151 | 153 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -68,7 +68,7 @@ static public void init() { | |||
| 68 | 68 | load(Base.getLibStream(DEFAULTS_FILE)); | |
| 69 | 69 | } catch (Exception e) { | |
| 70 | 70 | 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); | ||
| 72 | 72 | } | |
| 73 | 73 | ||
| 74 | 74 | // Clone the defaults, then override any them with the user's preferences. | |
@@ -109,9 +109,12 @@ static public void init() { | |||
| 109 | 109 | PApplet.useNativeSelect = | |
| 110 | 110 | Preferences.getBoolean("chooser.files.native"); //$NON-NLS-1$ | |
| 111 | 111 | ||
| 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 | + } | ||
| 115 | 118 | ||
| 116 | 119 | // Set HTTP, HTTPS, and SOCKS proxies for individuals | |
| 117 | 120 | // 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= | |||
| 347 | 347 | # Example of usage (replace 'http' with 'https' or 'socks' as needed) | |
| 348 | 348 | #proxy.http.host=proxy.example.com | |
| 349 | 349 | #proxy.http.port=8080 | |
| 350 | + # Whether to use the system proxy by default | ||
| 351 | + proxy.system=true | ||
| 350 | 352 | ||
| 351 | 353 | # PDE X | |
| 352 | 354 | pdex.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 | |||
| 9 | 9 | X https://github.com/processing/processing/issues/4735 | |
| 10 | 10 | X move the DEBUG flag into an external file or preferences.txt | |
| 11 | 11 | X will help us with debugging w/ others as well | |
| 12 | + X change to debug.txt; too confusing with the folder thing | ||
| 12 | 13 | X replace java.util.logging code with built-in logging | |
| 13 | 14 | _ blank window on startup where the "welcome" screen should be | |
| 14 | 15 | _ https://github.com/processing/processing/issues/3933 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments