[Pkg-mozext-commits] [itsalltext] 316/459: working again.

David Prévot taffit at moszumanska.debian.org
Tue Feb 24 23:26:33 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 aa89a900a0353f28e68e9d1983878d1e3b0ad756
Author: Christian Höltje <docwhat at gmail.com>
Date:   Thu Apr 10 18:03:22 2008 -0400

    working again.
---
 Makefile                         |  2 +-
 src/chrome/content/cacheobj.js   | 14 +++++++-------
 src/chrome/content/itsalltext.js | 10 +++++-----
 src/chrome/content/monitor.js    |  4 ++--
 src/install.rdf                  |  2 +-
 5 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/Makefile b/Makefile
index 75ea0ca..5529c76 100644
--- a/Makefile
+++ b/Makefile
@@ -25,7 +25,7 @@ ZIP        := zip
 PROJNICK   := itsalltext
 PROJNAME   := "It's All Text!"
 ICONFILE   := src/chrome/content/icon.png
-VERSION    := 0.8.2.4
+VERSION    := 0.9.0.0
 
 
 # NOTE: do not create files or directories in here that have
diff --git a/src/chrome/content/cacheobj.js b/src/chrome/content/cacheobj.js
index 29d25ec..34cf515 100644
--- a/src/chrome/content/cacheobj.js
+++ b/src/chrome/content/cacheobj.js
@@ -521,7 +521,7 @@ CacheObj.prototype.update = function () {
 CacheObj.prototype.keypress = function (event) {
     var km = ItsAllText.marshalKeyEvent(event), cobj;
     if (km === ItsAllText.preferences.hotkey) {
-        cobj = ItsAllText.getCacheObj(event.target);
+        cobj = CacheObj.get(event.target);
         cobj.edit();
         event.stopPropagation();
     }
@@ -533,7 +533,7 @@ CacheObj.prototype.keypress = function (event) {
  * @param {Object} event The event that triggered this.
  */
 CacheObj.prototype.onClick = function (event) {
-    var cobj = ItsAllText.getCacheObj(event.target);
+    var cobj = CacheObj.get(event.target);
     cobj.edit();
     event.stopPropagation();
     return false;
@@ -557,7 +557,7 @@ CacheObj.prototype.onContext = function (event) {
      * This is actually fixed in FF3 by replacing it with something
      * sane....openPopup()
      */
-    var cobj = ItsAllText.getCacheObj(event.target),
+    var cobj = CacheObj.get(event.target),
         popup = ItsAllText.rebuildMenu(cobj.uid);
 
     if (popup.openPopup) {
@@ -791,7 +791,7 @@ CacheObj.prototype.hashString = function (some_string) {
  * @param {Object} node A dom object node or ID to one.
  * @returns {String} the UID or null.
  */
-ItsAllText.getCacheObj = function (node) {
+CacheObj.get = function (node) {
     var str = ItsAllText.MYSTRING + "_UID",
         id = null;
     if (typeof(node) === 'string') {
@@ -813,10 +813,10 @@ ItsAllText.getCacheObj = function (node) {
  * @param {Boolean} create_gumdrop Should a gumdrop be created (html).
  * @returns {String} the UID or null.
  */
-ItsAllText.makeCacheObj = function (node, create_gumdrop) {
-    var cobj = ItsAllText.getCacheObj(node);
+CacheObj.make = function (node, create_gumdrop) {
+    var cobj = CacheObj.get(node);
     if (!cobj) {
-        cobj = new ItsAllText.CacheObj(node);
+        cobj = new CacheObj(node);
         if (create_gumdrop) {
             cobj.addGumDrop();
         }
diff --git a/src/chrome/content/itsalltext.js b/src/chrome/content/itsalltext.js
index f6e17d3..204470e 100644
--- a/src/chrome/content/itsalltext.js
+++ b/src/chrome/content/itsalltext.js
@@ -485,7 +485,7 @@ var ItsAllText = function () {
      * @param {Object} node A specific textarea dom object to update.
      */
     that.refreshTextarea = function (node, is_chrome) {
-        var cobj = ItsAllText.getCacheObj(node);
+        var cobj = ItsAllText.CacheObj.get(node);
         if (!cobj) {
             return;
         }
@@ -749,7 +749,7 @@ Line 0
      * @param {Object} node The textarea to get.
      */
     that.onEditNode = function (node) {
-        var cobj = that.getCacheObj(node);
+        var cobj = that.CacheObj.get(node);
         if (cobj) {
             cobj.edit();
         }
@@ -779,7 +779,7 @@ Line 0
                                node.getAttribute('disabled')
                                );
                 if (tid == "itsalltext-context-popup") {
-                    cobj = that.getCacheObj(node);
+                    cobj = that.CacheObj.get(node);
                     that.rebuildMenu(cobj.uid,
                                      'itsalltext-context-popup',
                                      is_disabled);
@@ -970,7 +970,7 @@ ItsAllText.prototype.cleanEditDir = function (force) {
 ItsAllText.prototype.menuNewExtEdit = function (event) {
     var that = this,
         uid = this.private_current_uid,
-        cobj = that.getCacheObj(uid),
+        cobj = that.CacheObj.get(uid),
         params = {out: null},
         ext;
     window.openDialog("chrome://itsalltext/content/newextension.xul", "",
@@ -1019,7 +1019,7 @@ ItsAllText.prototype.rebuildMenu = function (uid, menu_id, is_disabled) {
         magic_stop_node = null,
         magic_start = null,
         magic_stop = null,
-        cobj = that.getCacheObj(uid);
+        cobj = that.CacheObj.get(uid);
     that.private_current_uid = uid;
 
     // Find the beginning and end of the magic replacement parts.
diff --git a/src/chrome/content/monitor.js b/src/chrome/content/monitor.js
index 5a012ac..897e91f 100644
--- a/src/chrome/content/monitor.js
+++ b/src/chrome/content/monitor.js
@@ -117,9 +117,9 @@ new_monitor.prototype.hitched_watcher = function (offset, init) {
     for (i = 0; i < nodes.length; i++) {
         node = nodes[i];
         if (init) {
-            cobj = ItsAllText.makeCacheObj(node, is_html);
+            cobj = ItsAllText.CacheObj.make(node, is_html);
         } else {
-            cobj = ItsAllText.getCacheObj(node);
+            cobj = ItsAllText.CacheObj.get(node);
         }
         if (cobj) {
             cobj.update();
diff --git a/src/install.rdf b/src/install.rdf
index fb826ae..7966d94 100644
--- a/src/install.rdf
+++ b/src/install.rdf
@@ -5,7 +5,7 @@
   <RDF:Description RDF:about="rdf:#$firefox"
                    em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
                    em:minVersion="2.0"
-                   em:maxVersion="3.0b4" />
+                   em:maxVersion="3.0pre" />
   <RDF:Description RDF:about="urn:mozilla:install-manifest"
                    em:id="itsalltext at docwhat.gerf.org"
                    em:version="999.@@VERSION@@"

-- 
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