From 1e343ae5f3d94dfa2d17860e01074fa8ece7eb92 Mon Sep 17 00:00:00 2001 From: benfry Date: Thu, 30 Nov 2006 22:32:07 +0000 Subject: [PATCH] finalizing rev 0123 --- app/syntax/PdeTextAreaDefaults.java | 22 +++++++++++++++++----- build/shared/revisions.txt | 21 +++++++++++++++++++++ todo.txt | 14 +++++++++++++- 3 files changed, 51 insertions(+), 6 deletions(-) diff --git a/app/syntax/PdeTextAreaDefaults.java b/app/syntax/PdeTextAreaDefaults.java index 7bc1e2a04..9a3bd2c66 100644 --- a/app/syntax/PdeTextAreaDefaults.java +++ b/app/syntax/PdeTextAreaDefaults.java @@ -2,7 +2,7 @@ /* PdeTextAreaDefaults - grabs font/color settings for the editor - Part of the Processing project - http://Proce55ing.net + Part of the Processing project - http://processing.org Copyright (c) 2004-06 Ben Fry and Casey Reas Copyright (c) 2001-03 Massachusetts Institute of Technology @@ -62,10 +62,22 @@ public class PdeTextAreaDefaults extends TextAreaDefaults { // for 0122, these have been changed for better compatability // HOME and END now mean the beginning/end of the document - inputHandler.addKeyBinding("HOME", InputHandler.DOCUMENT_HOME); - inputHandler.addKeyBinding("END", InputHandler.DOCUMENT_END); - inputHandler.addKeyBinding("S+HOME", InputHandler.SELECT_DOC_HOME); - inputHandler.addKeyBinding("S+END", InputHandler.SELECT_DOC_END); + if (Base.isMacOS()) { + inputHandler.addKeyBinding("HOME", InputHandler.DOCUMENT_HOME); + inputHandler.addKeyBinding("END", InputHandler.DOCUMENT_END); + inputHandler.addKeyBinding("S+HOME", InputHandler.SELECT_DOC_HOME); + inputHandler.addKeyBinding("S+END", InputHandler.SELECT_DOC_END); + } else { + // for 0123 added the proper windows defaults + inputHandler.addKeyBinding("HOME", InputHandler.HOME); + inputHandler.addKeyBinding("END", InputHandler.END); + inputHandler.addKeyBinding("S+HOME", InputHandler.SELECT_HOME); + inputHandler.addKeyBinding("S+END", InputHandler.SELECT_END); + inputHandler.addKeyBinding("C+HOME", InputHandler.DOCUMENT_HOME); + inputHandler.addKeyBinding("C+END", InputHandler.DOCUMENT_END); + inputHandler.addKeyBinding("CS+HOME", InputHandler.SELECT_DOC_HOME); + inputHandler.addKeyBinding("CS+END", InputHandler.SELECT_DOC_END); + } if (Base.isMacOS()) { inputHandler.addKeyBinding("M+LEFT", InputHandler.HOME); diff --git a/build/shared/revisions.txt b/build/shared/revisions.txt index 1fcccc2d4..28ef4c4f7 100644 --- a/build/shared/revisions.txt +++ b/build/shared/revisions.txt @@ -7,6 +7,27 @@ releases will be super crusty. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . +ABOUT REV 0123 - 30 November 2006 + +Bug fixes for regressions found in 0122. + ++ Fixed an issue where drawing inside setup() didn't work, and any + "basic" mode applications didn't draw anything. + http://dev.processing.org/bugs/show_bug.cgi?id=463 + ++ Remapped the home/end keys on Windows/Linux to be their proper + assignments as per the Windows UI guidelines (lacking any sort of + Linux UI guidelines...) Mac OS X is still stuck with begin/end + of document, because Apple says so. Don't like it? Complain to the + guy in the jeans and turtleneck. + ++ (Should be a) minor change to QTSession.open() and QTSession.close() + for the video library. + + +. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . + + ABOUT REV 0122 - 28 November 2006 Lots of bug fixes and two new libraries. diff --git a/todo.txt b/todo.txt index b2bea1098..cea300eab 100644 --- a/todo.txt +++ b/todo.txt @@ -1,4 +1,15 @@ 0123 pde +X pair up QTSession.open() and QTSession.close() +X http://processing.org/discourse/yabb_beta/YaBB.cgi?board=SoftwareBugs;action=display;num=1163736864 +X fix home/end for windows + +from rev 0122 +X honor the svg designation for layers that are marked 'hidden' + + +_ make more fixes to the key bindings +_ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnacc/html/atg_keyboardshortcuts.asp +_ http://developer.apple.com/documentation/UserExperience/Conceptual/OSXHIGuidelines/XHIGUserInput/chapter_11_section_3.html#//apple_ref/doc/uid/TP30000361-TPXREF61 _ temporarily added log4j and jalopy (for the autoformatter) _ need to decide where these go, or if they're included at all @@ -21,10 +32,11 @@ For 2.0 LIBRARIES / svg +_ when using get(), reset the bounds for the objects +_ otherwise it's always relative to the original document _ save/restore more of the p5 graphics drawing state _ not setting colorMode(), strokeCap, etc. _ support for text (shouldn't be too bad, use createFont) -_ honor the designation for layers that are marked 'hidden' _ get entity tags working in xml library _ try enabling blending modes _ add better support for attributes buried in styles (support ai9/10/11)