[Pkg-mozext-commits] [itsalltext] 32/459: updated todo lists

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:03 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository itsalltext.

commit 6826bb8860fe76d067a955cec9d24606687c422d
Author: docwhat at gerf.org <docwhat at gerf.org>
Date:   Mon Dec 18 09:11:57 2006 -0500

    updated todo lists
---
 Makefile                     |  3 ++-
 chrome/content/itsalltext.js | 17 ++++++++++-------
 2 files changed, 12 insertions(+), 8 deletions(-)

diff --git a/Makefile b/Makefile
index c888280..8a42f85 100644
--- a/Makefile
+++ b/Makefile
@@ -76,7 +76,8 @@ jslint.log: $(SOURCES_JS)
 
 .PHONY: todo
 todo:
-	$(Q)grep -nr 'TODO' [a-z0-9]*
+	$(Q)echo "ToDo List:"
+	$(Q)grep -hr 'TODO' [a-z0-9]* | perl -p -e 's!^[ /*\t]+todo:?\s*! * !i;'
 
 .PHONY: narf
 narf:
diff --git a/chrome/content/itsalltext.js b/chrome/content/itsalltext.js
index e9ea0f5..37d9c4e 100644
--- a/chrome/content/itsalltext.js
+++ b/chrome/content/itsalltext.js
@@ -243,8 +243,8 @@ function ItsAllTextOverlay() {
     var editor = that.preferences.data.editor;
 
     // TODO: The prefereces dialog should have a filepicker.
-    // TODO: !! If the editor fails, we should open preferences.
-    // TODO: !! MacOSX, we should allow for "open -a <app> <file>".
+    // TODO: If the editor fails, we should open preferences. (!)
+    // TODO: MacOSX: add support for "open -a <app> <file>". (!)
 
     // create an nsILocalFile for the executable
     var file = Components.
@@ -279,7 +279,7 @@ function ItsAllTextOverlay() {
                             Math.random(),
                             node.getAttribute("name") ].join(':'));
 
-    // TODO: !! We should have a menu that lets the user pick the extension.
+    // TODO: We should have a menu that lets the user pick the extension. (!)
     self.filename = hashString([ node.ownerDocument.URL,
                                  node.getAttribute("name") ].join(':')) +
       '.txt';
@@ -290,7 +290,7 @@ function ItsAllTextOverlay() {
     /* Since the hash is supposed to be equally distributed, it shouldn't
      * matter how we slice it.  However, this does make it less unique.
      */
-    // TODO: add hash collision detection using the raw key.
+    // TODO: Detect collisions using the raw key.
     self.filename = self.filename.slice(0,15) + '.txt';
 
     var editdir = that.getEditDir();
@@ -440,8 +440,7 @@ function ItsAllTextOverlay() {
  
   }
 
-  // TODO: tempdir should be a preference.
-  // TODO: tempdir should be a method that makes sure it exists.
+  // TODO: Profiling and optimization.
 
   /**
    * Returns a cache object
@@ -483,7 +482,11 @@ function ItsAllTextOverlay() {
     that.addGumDrop(cobj);
   };
 
-  // TODO: Refresh when text area is clicked on or something like that.
+  // TODO: If the textarea is focused, we should refresh it.
+  // TODO: When the editor quits, we should refresh the textarea.
+  // TODO: IDEA - support for input elements as well?
+  // TODO: Remove debugging/narf code.
+
   /**
    * Refresh Document.
    * @param {Object} doc The document to refresh.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/itsalltext.git



More information about the Pkg-mozext-commits mailing list