| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2207,7 +2207,7 @@ static public File getContentFile(String name) { | |||
| 2207 | 2207 | // This works for Windows, Linux, and Apple's Java 6 on OS X. | |
| 2208 | 2208 | processingRoot = jarFolder.getParentFile(); | |
| 2209 | 2209 | } else if (Base.isMacOS()) { | |
| 2210 | - // This works for Java 8 on OS X. We don't have things inside a 'lib' | ||
| 2210 | + // This works for Java 8 on OS X. We don't have things inside a 'lib' | ||
| 2211 | 2211 | // folder on OS X. Adding it caused more problems than it was worth. | |
| 2212 | 2212 | processingRoot = jarFolder; | |
| 2213 | 2213 | } | |
@@ -2266,9 +2266,9 @@ static public File getLibFile(String filename) throws IOException { | |||
| 2266 | 2266 | static public InputStream getLibStream(String filename) throws IOException { | |
| 2267 | 2267 | return new FileInputStream(getLibFile(filename)); | |
| 2268 | 2268 | } | |
| 2269 | - | ||
| 2270 | - | ||
| 2271 | - // Note: getLibImage() has moved to Toolkit | ||
| 2269 | + | ||
| 2270 | + | ||
| 2271 | + // Note: getLibImage() has moved to Toolkit | ||
| 2272 | 2272 | ||
| 2273 | 2273 | ||
| 2274 | 2274 | // . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | |
@@ -2314,7 +2314,7 @@ static public byte[] loadBytesRaw(File file) throws IOException { | |||
| 2314 | 2314 | */ | |
| 2315 | 2315 | static public Map<String, String> readSettings(File inputFile) { | |
| 2316 | 2316 | if (!inputFile.exists()) { | |
| 2317 | - System.err.println(inputFile + " does not exist."); | ||
| 2317 | + if (DEBUG) System.err.println(inputFile + " does not exist."); | ||
| 2318 | 2318 | return null; | |
| 2319 | 2319 | } | |
| 2320 | 2320 | String lines[] = PApplet.loadStrings(inputFile); | |
@@ -2333,7 +2333,7 @@ static public Map<String, String> readSettings(File inputFile) { | |||
| 2333 | 2333 | * In 3.0a6, no longer taking a blank HahMap as param; no cases in the main | |
| 2334 | 2334 | * PDE code of adding to a (Hash)Map. Also returning the Map instead of void. | |
| 2335 | 2335 | * Both changes modify the method signature, but this was only used by the | |
| 2336 | - * contrib classes. | ||
| 2336 | + * contrib classes. | ||
| 2337 | 2337 | */ | |
| 2338 | 2338 | static public Map<String, String> readSettings(String filename, String[] lines) { | |
| 2339 | 2339 | Map<String, String> settings = new HashMap<>(); | |
@@ -2405,7 +2405,7 @@ static public void saveFile(String str, File file) throws IOException { | |||
| 2405 | 2405 | try { | |
| 2406 | 2406 | // fix from cjwant to prevent symlinks from being destroyed. | |
| 2407 | 2407 | File canon = file.getCanonicalFile(); | |
| 2408 | - // assign the var as second step since previous line may throw exception | ||
| 2408 | + // assign the var as second step since previous line may throw exception | ||
| 2409 | 2409 | file = canon; | |
| 2410 | 2410 | } catch (IOException e) { | |
| 2411 | 2411 | throw new IOException("Could not resolve canonical representation of " + | |
@@ -2419,7 +2419,7 @@ static public void saveFile(String str, File file) throws IOException { | |||
| 2419 | 2419 | if (error) { | |
| 2420 | 2420 | throw new IOException("Error while trying to save " + file); | |
| 2421 | 2421 | } | |
| 2422 | - | ||
| 2422 | + | ||
| 2423 | 2423 | // remove the old file before renaming the temp file | |
| 2424 | 2424 | if (file.exists()) { | |
| 2425 | 2425 | boolean result = file.delete(); | |
@@ -2430,7 +2430,7 @@ static public void saveFile(String str, File file) throws IOException { | |||
| 2430 | 2430 | } | |
| 2431 | 2431 | boolean result = temp.renameTo(file); | |
| 2432 | 2432 | if (!result) { | |
| 2433 | - throw new IOException("Could not replace " + file.getAbsolutePath() + | ||
| 2433 | + throw new IOException("Could not replace " + file.getAbsolutePath() + | ||
| 2434 | 2434 | " with " + temp.getAbsolutePath()); | |
| 2435 | 2435 | } | |
| 2436 | 2436 | } | |
@@ -2879,8 +2879,8 @@ static public void loge(String message, Throwable e) { | |||
| 2879 | 2879 | e.printStackTrace(); | |
| 2880 | 2880 | } | |
| 2881 | 2881 | } | |
| 2882 | - | ||
| 2883 | - | ||
| 2882 | + | ||
| 2883 | + | ||
| 2884 | 2884 | static public void loge(String message) { | |
| 2885 | 2885 | if (DEBUG) { | |
| 2886 | 2886 | System.out.println(message); | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -113,10 +113,8 @@ private Library(File folder, String groupName) { | |||
| 113 | 113 | referenceFile = new File(folder, "reference/index.html"); | |
| 114 | 114 | ||
| 115 | 115 | File exportSettings = new File(libraryFolder, "export.txt"); | |
| 116 | - Map<String,String> exportTable = Base.readSettings(exportSettings); | ||
| 117 | - if (exportTable == null) { | ||
| 118 | - exportTable = new HashMap<>(); // need an empty table below | ||
| 119 | - } | ||
| 116 | + Map<String, String> exportTable = exportSettings.exists() ? | ||
| 117 | + Base.readSettings(exportSettings) : new HashMap<String, String>(); | ||
| 120 | 118 | ||
| 121 | 119 | exportList = new HashMap<String, String[]>(); | |
| 122 | 120 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -312,6 +312,7 @@ public File getReferenceFolder() { | |||
| 312 | 312 | ||
| 313 | 313 | ||
| 314 | 314 | public void rebuildLibraryList() { | |
| 315 | + //new Exception("Rebuilding library list").printStackTrace(System.out); | ||
| 315 | 316 | // reset the table mapping imports to libraries | |
| 316 | 317 | importToLibraryTable = new HashMap<String, ArrayList<Library>>(); | |
| 317 | 318 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,3 +1,259 @@ | |||
| 1 | + PROCESSING 3.0a6 (REV 0233) - XX April 2015 | ||
| 2 | + | ||
| 3 | + This is the big one! We've jettisoned PApplet as the base class so that | ||
| 4 | + we can improve performance, reduce flicker, and have a better base from | ||
| 5 | + which to build better, more modern graphics rendering. More of the | ||
| 6 | + gory details for the PApplet/PGraphics changes can be found here: | ||
| 7 | + https://github.com/processing/processing/tree/master/core | ||
| 8 | + | ||
| 9 | + Speaking of breaking things, we're on the road to a new GUI as well: | ||
| 10 | + https://github.com/processing/processing/issues/3072 | ||
| 11 | + and that means all Modes and some Tools will need to be updated: | ||
| 12 | + https://github.com/processing/processing/issues/3080 | ||
| 13 | + | ||
| 14 | + We've also made major changes to better integrate PDE X, Tweak Mode, | ||
| 15 | + and other nice features for the default "Java" Mode. These will be the | ||
| 16 | + center of the changes for 3.x, which is focused on improving the editing | ||
| 17 | + and debugging experience in general. | ||
| 18 | + | ||
| 19 | + Suffice to say, this is truly an ALPHA quality release. We're pushing it | ||
| 20 | + out so that we can get more people testing it. If you want something more | ||
| 21 | + stable, we recommend 3.0a5 (not 2.2.1, that thing is old!) | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + [ known issues ] | ||
| 25 | + | ||
| 26 | + The full list is here: https://github.com/processing/processing/issues/ | ||
| 27 | + but a few that you might be likely to run across: | ||
| 28 | + | ||
| 29 | + + install/remove buttons not working in the managers | ||
| 30 | + https://github.com/processing/processing/issues/3172 | ||
| 31 | + | ||
| 32 | + + static mode - no setup() / draw() - broken in OpenGL | ||
| 33 | + https://github.com/processing/processing/issues/3163 | ||
| 34 | + | ||
| 35 | + + sketch window is not placed at correct location when running a second time | ||
| 36 | + https://github.com/processing/processing/issues/3125 | ||
| 37 | + | ||
| 38 | + | ||
| 39 | + [ general fixes and changes ] | ||
| 40 | + | ||
| 41 | + + Merge experimental into the main Java mode, move Java Mode to its own area | ||
| 42 | + | ||
| 43 | + + Deal with ctrl-alt-n regression | ||
| 44 | + https://github.com/processing/processing/issues/2979 | ||
| 45 | + | ||
| 46 | + + Don't add a ^M to files when writing | ||
| 47 | + https://github.com/processing/processing/issues/3014 | ||
| 48 | + | ||
| 49 | + + Add more bulletproofing to the save process | ||
| 50 | + https://github.com/processing/processing/issues/2923 | ||
| 51 | + | ||
| 52 | + + Text improvements for retina displays on OS X | ||
| 53 | + | ||
| 54 | + + Menu mnemonics (alt-f, etc) getting typed into the editor | ||
| 55 | + https://github.com/processing/processing/issues/3057 | ||
| 56 | + | ||
| 57 | + + Opening and closing preferences window prompts user to save unmodified sketch | ||
| 58 | + https://github.com/processing/processing/issues/3074 | ||
| 59 | + | ||
| 60 | + + Internal fixes and cleanups to TweakMode | ||
| 61 | + https://github.com/processing/processing/issues/2799 | ||
| 62 | + | ||
| 63 | + + Implement line numbers in the editor | ||
| 64 | + https://github.com/processing/processing/issues/3128 | ||
| 65 | + | ||
| 66 | + + Run button w/ debugger shouldn't require "continue" before actually starting | ||
| 67 | + https://github.com/processing/processing/issues/3096 | ||
| 68 | + | ||
| 69 | + + Change how platform-specific preferences are handled | ||
| 70 | + | ||
| 71 | + + Auto-insert after ANTLR @SuppressWarnings({ "unused", "unchecked", "cast" }) | ||
| 72 | + | ||
| 73 | + + "Your sketch has been modified externally" appearing on OS X | ||
| 74 | + https://github.com/processing/processing/issues/2852 | ||
| 75 | + | ||
| 76 | + + Make sure the JRE downloads correctly before renaming | ||
| 77 | + https://github.com/processing/processing/issues/2960 | ||
| 78 | + | ||
| 79 | + + Update build scripts for Windows and Linux to use JRE downloader Ant Task | ||
| 80 | + https://github.com/processing/processing/issues/3059 | ||
| 81 | + | ||
| 82 | + + Moved to Java 8 because Java 7 will be discontinued | ||
| 83 | + http://www.oracle.com/technetwork/java/javase/eol-135779.html | ||
| 84 | + Requires Vista SP2 (let's just say 7), OS X 10.8.3, and Ubuntu 12.04 | ||
| 85 | + | ||
| 86 | + + Update ECJ for Java 8 change | ||
| 87 | + http://download.eclipse.org/eclipse/downloads/drops4/R-4.4.1-201409250400/ | ||
| 88 | + | ||
| 89 | + + Update to launch4j 3.6 | ||
| 90 | + http://sourceforge.net/projects/launch4j/files/launch4j-3/3.6/ | ||
| 91 | + | ||
| 92 | + | ||
| 93 | + [ fixed earlier, not mentioned in revisions.txt ] | ||
| 94 | + | ||
| 95 | + + Move import suggestion to errors console | ||
| 96 | + https://github.com/processing/processing/issues/2947 | ||
| 97 | + | ||
| 98 | + + Server.stop() produces an error: java.net.SocketException: socket closed | ||
| 99 | + https://github.com/processing/processing/issues/74 | ||
| 100 | + https://github.com/processing/processing/pull/2474 | ||
| 101 | + | ||
| 102 | + + NPE when calling Client.ip() after the connection has been closed | ||
| 103 | + https://github.com/processing/processing/issues/2576 | ||
| 104 | + https://github.com/processing/processing/pull/2922 | ||
| 105 | + | ||
| 106 | + | ||
| 107 | + [ who loves pull requests? I do. ] | ||
| 108 | + | ||
| 109 | + + Splash screen for Linux | ||
| 110 | + https://github.com/processing/processing/pull/3005 | ||
| 111 | + | ||
| 112 | + + Pressing PgDn in a code without scrollbar gives Exception | ||
| 113 | + https://github.com/processing/processing/issues/2990 | ||
| 114 | + | ||
| 115 | + + Add mnemonics for menus (alt-f to open 'file') | ||
| 116 | + https://github.com/processing/processing/issues/51 | ||
| 117 | + https://github.com/processing/processing/pull/2382 | ||
| 118 | + | ||
| 119 | + + getCaretLocation() bug in syntax.im package | ||
| 120 | + https://github.com/processing/processing/issues/2934 | ||
| 121 | + | ||
| 122 | + + Finish up debian package support | ||
| 123 | + https://github.com/processing/processing/issues/114 | ||
| 124 | + https://github.com/processing/processing/pull/2972 | ||
| 125 | + https://github.com/processing/processing/issues/2973 | ||
| 126 | + https://github.com/processing/processing/pull/2974 | ||
| 127 | + | ||
| 128 | + + Replace ColorChooser PApplets with custom Swing components | ||
| 129 | + https://github.com/processing/processing/pull/2975 | ||
| 130 | + | ||
| 131 | + + Fix encodings, line endings, and mime types in the repo | ||
| 132 | + https://github.com/processing/processing/issues/2955 | ||
| 133 | + https://github.com/processing/processing/pull/2978 | ||
| 134 | + https://github.com/processing/processing/pull/2977 | ||
| 135 | + | ||
| 136 | + + Add control for dependencies (i.e. svg needs xml), needed for export | ||
| 137 | + https://github.com/processing/processing/issues/109 | ||
| 138 | + https://github.com/processing/processing/pull/3010 | ||
| 139 | + | ||
| 140 | + + Lots of Auto Format fixes | ||
| 141 | + https://github.com/processing/processing/pull/3002 | ||
| 142 | + https://github.com/processing/processing/issues/2540 | ||
| 143 | + https://github.com/processing/processing/issues/1041 | ||
| 144 | + | ||
| 145 | + + Update name of sketch in the "Recent" menu | ||
| 146 | + https://github.com/processing/processing/issues/2984 | ||
| 147 | + https://github.com/processing/processing/pull/3046 | ||
| 148 | + | ||
| 149 | + + File change detection rewrite | ||
| 150 | + https://github.com/processing/processing/pull/3048 | ||
| 151 | + https://github.com/processing/processing/pull/3070 | ||
| 152 | + | ||
| 153 | + + Broken Windows build due to launch4j .jar not updated | ||
| 154 | + https://github.com/processing/processing/issues/3062 | ||
| 155 | + https://github.com/processing/processing/pull/3066 | ||
| 156 | + | ||
| 157 | + + Exported Linux sketches must be run from the sketch folder | ||
| 158 | + https://github.com/processing/processing/issues/1046 | ||
| 159 | + https://github.com/processing/processing/pull/3083 | ||
| 160 | + | ||
| 161 | + + processing.net.Server only cleans up internal Clients when trying to write | ||
| 162 | + https://github.com/processing/processing/issues/3089 | ||
| 163 | + https://github.com/processing/processing/pull/3097 | ||
| 164 | + | ||
| 165 | + + Display download percentage when fetching contribution info | ||
| 166 | + https://github.com/processing/processing/pull/3161 | ||
| 167 | + | ||
| 168 | + + Recreating Client instance will cause an out-of-memory error | ||
| 169 | + https://github.com/processing/processing/issues/1400 | ||
| 170 | + https://github.com/processing/processing/pull/3088 | ||
| 171 | + | ||
| 172 | + + Greek translation and new fonts | ||
| 173 | + https://github.com/processing/processing/pull/3025 | ||
| 174 | + | ||
| 175 | + + Show tooltip when hovering over errors | ||
| 176 | + https://github.com/processing/processing/pull/3119 | ||
| 177 | + | ||
| 178 | + + Fix multi-touch horizontal scrolling on OS X | ||
| 179 | + https://github.com/processing/processing/pull/3170 | ||
| 180 | + https://github.com/processing/processing/issues/180 | ||
| 181 | + | ||
| 182 | + + Refactor examples manager window | ||
| 183 | + https://github.com/processing/processing/issues/3133 | ||
| 184 | + https://github.com/processing/processing/pull/3177 | ||
| 185 | + | ||
| 186 | + + Fix ColorChooser cursor | ||
| 187 | + https://github.com/processing/processing/pull/3186 | ||
| 188 | + | ||
| 189 | + + Improve Spanish localization | ||
| 190 | + https://github.com/processing/processing/pull/3185 | ||
| 191 | + | ||
| 192 | + + Internationalization of editor error messages and Greek translations | ||
| 193 | + https://github.com/processing/processing/pull/3189 | ||
| 194 | + | ||
| 195 | + + Improve internationalization and localization in Greek | ||
| 196 | + https://github.com/processing/processing/pull/3197 | ||
| 197 | + | ||
| 198 | + | ||
| 199 | + [ pulls from Joel ] | ||
| 200 | + | ||
| 201 | + X Add reference for installed tools and libraries to the Help menu | ||
| 202 | + X https://github.com/processing/processing/issues/943 | ||
| 203 | + X https://github.com/processing/processing/pull/2804 | ||
| 204 | + X examples.properties file missing prevents startup | ||
| 205 | + X https://github.com/processing/processing/issues/3037 | ||
| 206 | + X https://github.com/processing/processing/pull/3047 | ||
| 207 | + X several new French translations | ||
| 208 | + X https://github.com/processing/processing/pull/3061 | ||
| 209 | + X contributions.txt now gets deleted and recreated instead of overwritten | ||
| 210 | + X https://github.com/processing/processing/pull/3073 | ||
| 211 | + X https://github.com/processing/processing/issues/2994 | ||
| 212 | + X Contrib Manager does not stop parsing contribs.txt if an error exists | ||
| 213 | + X https://github.com/processing/processing/pull/3132 | ||
| 214 | + X offer to install libraries imported libraries that are not available | ||
| 215 | + X https://github.com/processing/processing/pull/3155 | ||
| 216 | + X https://github.com/processing/processing/issues/2566 | ||
| 217 | + X make fatal errors terminate the pde | ||
| 218 | + X https://github.com/processing/processing/issues/3068 | ||
| 219 | + X https://github.com/processing/processing/pull/3069 | ||
| 220 | + X Java 8 method replace() used, removed | ||
| 221 | + X https://github.com/processing/processing/issues/3168 | ||
| 222 | + X https://github.com/processing/processing/pull/3169 | ||
| 223 | + X Closing a few unclosed BufferedReaders and InputStreams | ||
| 224 | + X https://github.com/processing/processing/pull/2961 | ||
| 225 | + | ||
| 226 | + manindra | ||
| 227 | + X Fix for "Probably a ++ should go here" messages | ||
| 228 | + X https://github.com/processing/processing/issues/2956 | ||
| 229 | + X Missing opening curly bracket error | ||
| 230 | + X https://github.com/processing/processing/issues/3104 | ||
| 231 | + X missing parenthesis error message | ||
| 232 | + X https://github.com/processing/processing/issues/3103 | ||
| 233 | + | ||
| 234 | + akarshit | ||
| 235 | + X rewrite preferences window to use proper layout | ||
| 236 | + X https://github.com/processing/processing/issues/67 | ||
| 237 | + X https://github.com/processing/processing/issues/2708 | ||
| 238 | + X https://github.com/processing/processing/issues/2986 | ||
| 239 | + X Find/Replace dialog uses GroupLayout | ||
| 240 | + X https://github.com/processing/processing/pull/3190 | ||
| 241 | + X https://github.com/processing/processing/pull/3131 | ||
| 242 | + X issues with cut/copy shortcuts not working | ||
| 243 | + X https://github.com/processing/processing/pull/3138 | ||
| 244 | + X https://github.com/processing/processing/issues/3136 | ||
| 245 | + X https://github.com/processing/processing/issues/3107 | ||
| 246 | + X IllegalArgumentException when clicking between editor windows | ||
| 247 | + X https://github.com/processing/processing/issues/2530 | ||
| 248 | + X https://github.com/processing/processing/pull/3101 | ||
| 249 | + X Newline after a very long line moves the visible area right | ||
| 250 | + X https://github.com/processing/processing/issues/3148 | ||
| 251 | + X https://github.com/processing/processing/pull/3196 | ||
| 252 | + | ||
| 253 | + | ||
| 254 | + . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . | ||
| 255 | + | ||
| 256 | + | ||
| 1 | 257 | PROCESSING 3.0a5 (REV 0232) - 16 November 2014 | |
| 2 | 258 | ||
| 3 | 259 | Hello from the University of Denver! I'm here with Casey, Dan, Andres, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments