From 083bdbfe0b83d15cb5d235ac276d352cac84ab08 Mon Sep 17 00:00:00 2001 From: Ben Fry Date: Thu, 31 Jul 2014 14:30:16 -0400 Subject: [PATCH] cleaning up after i18n patch --- app/src/processing/app/tools/SerialFixer.java | 90 ------------------- core/todo.txt | 8 ++ todo.txt | 15 +--- 3 files changed, 12 insertions(+), 101 deletions(-) delete mode 100644 app/src/processing/app/tools/SerialFixer.java diff --git a/app/src/processing/app/tools/SerialFixer.java b/app/src/processing/app/tools/SerialFixer.java deleted file mode 100644 index 6e5e1612d..000000000 --- a/app/src/processing/app/tools/SerialFixer.java +++ /dev/null @@ -1,90 +0,0 @@ -/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */ - -/* - Part of the Processing project - http://processing.org - - Copyright (c) 2012 The Processing Foundation - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, version 2. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software Foundation, - Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ - -package processing.app.tools; - -import java.io.File; - -import javax.swing.JOptionPane; - -import processing.app.Base; -import processing.app.Editor; -import processing.app.Language; -import processing.core.PApplet; - - -public class SerialFixer implements Tool { - Editor editor; - - - public String getMenuTitle() { - return Language.text("menu.tools.fix_the_serial_lbrary"); - } - - - public void init(Editor editor) { - this.editor = editor; - } - - - public void run() { - final String primary = - "Attempt to fix common serial port problems?"; - final String secondary = - "Click “OK” to perform additional installation steps to enable " + - "the Serial library. An administrator password will be required."; - - int result = - JOptionPane.showConfirmDialog(editor, - " " + - " " + - "" + primary + "" + - "

" + secondary + "

", - "Commander", - JOptionPane.OK_CANCEL_OPTION, - JOptionPane.QUESTION_MESSAGE); - - if (result == JOptionPane.OK_OPTION) { - String shellScript = "mkdir -p /var/lock && chmod 777 /var/lock"; - String appleScript = - "do shell script \"" + shellScript + "\" with administrator privileges"; - PApplet.exec(new String[] { "osascript", "-e", appleScript }); - } - editor.statusNotice("Finished."); - } - - - static public boolean isNeeded() { - if (Base.isMacOS()) { - File lockFolder = new File("/var/lock"); - if (!lockFolder.exists() || - !lockFolder.canRead() || - !lockFolder.canWrite() || - !lockFolder.canExecute()) { - return true; - } - } - return false; - } -} \ No newline at end of file diff --git a/core/todo.txt b/core/todo.txt index a2cfc1f18..290d32746 100644 --- a/core/todo.txt +++ b/core/todo.txt @@ -1,7 +1,15 @@ 0230 core (3.0a3) +earlier +X PShape disableStyle() does not work with createShape() +X https://github.com/processing/processing/issues/1523 X multisampled offscreen PGraphics don't clear the screen properly X https://github.com/processing/processing/issues/2679 +X this was done midway through the 3.0a2 release process + +pull requests +X call applet.exit() instead of System.exit() from Present Mode's 'stop' +X https://github.com/processing/processing/pull/2680 applet/component diff --git a/todo.txt b/todo.txt index b0075b6dc..f968399b8 100644 --- a/todo.txt +++ b/todo.txt @@ -4,11 +4,13 @@ pulls X Add polling to detect file system changes X https://github.com/processing/processing/issues/1939 X https://github.com/processing/processing/pull/2628 +X huge i18n patch +X https://github.com/processing/processing/issues/632 +X https://github.com/processing/processing/pull/2084 +X http://code.google.com/p/processing/issues/detail?id=593 pending -_ huge i18n patch -_ https://github.com/processing/processing/pull/2084 _ look at the sound library https://github.com/wirsing/ProcessingSound _ sound is not yet supported on Windows _ glw? lwjgl? retina jogl? @@ -915,15 +917,6 @@ _ add proper copyright and license information for all included projects _ http://code.google.com/p/processing/issues/detail?id=185 _ list of license issues _ http://code.google.com/p/processing/issues/detail?id=575 -_ Internationalization -_ http://code.google.com/p/processing/issues/detail?id=593 -_ l10n, i18n of environment/core -_ http://docs.oracle.com/javase/tutorial/i18n/format/messageintro.html -_ http://docs.oracle.com/javase/tutorial/i18n/format/numberFormat.html -_ http://docs.oracle.com/javase/tutorial/i18n/format/choiceFormat.html -_ http://docs.oracle.com/javase/tutorial/i18n/format/messageFormat.html -_ http://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html -_ http://docs.oracle.com/javase/tutorial/i18n/intro/checklist.html _ write up code guidelines for project _ make proper Eclipse style prefs to reinforce _ write up guidelines for modes