Changeset 036c4d


Ignore:
Timestamp:
Nov 26, 2011, 11:44:47 PM (8 years ago)
Author:
rene <rene@…>
Branches:
ng_0.9
Children:
02ceef
Parents:
fe0698
Message:

further debug cleanup

Files:
8 edited

Legend:

Unmodified
Added
Removed
  • content/bindings/vI_htmlTextBox.xml

    rfe0698 r036c4d  
    166166    <constructor>
    167167        <![CDATA[       
    168         dump('******* vI_htmlTextBox.xml constructor\n');
     168        virtualIdentityExtension.MyLog.debug('******* vI_htmlTextBox.xml constructor\n');
    169169        ]]>
    170170    </constructor>
     
    173173        <setter><![CDATA[
    174174        if (!val) return;
    175         dump("cssSource set to " + val + "\n");
     175        virtualIdentityExtension.MyLog.debug("cssSource set to " + val + "\n");
    176176        var head = this.contentDocument.getElementsByTagName("HEAD").item(0);
    177177        var range = document.createRange();
    178178        range.selectNode(head);
    179179        var css_text = this._getContents("chrome://v_identity/skin/" + val);
    180         dump("cssSource set to " + val + " cont.\n");
     180        virtualIdentityExtension.MyLog.debug("cssSource set to " + val + " cont.\n");
    181181        var documentFragment = range.createContextualFragment("<style type='text/css'>" + css_text + "</style>");
    182182        head.appendChild(documentFragment);
    183         dump("cssSource set to " + val + " done\n");
     183        virtualIdentityExtension.MyLog.debug("cssSource set to " + val + " done\n");
    184184        this._cssRead = true;
    185185        ]]></setter>
  • content/bindings/v_identity.xml

    rfe0698 r036c4d  
    130130        this.label = this._identityDataStorage.combinedName;
    131131        this.value = this._identityDataStorage.id.key;
    132         virtualIdentityExtension.MyLog.debug("v_identity.xml fromPopupItem_clone constructor id='" + this.value)
     132        // virtualIdentityExtension.MyLog.debug("v_identity.xml fromPopupItem_clone constructor id='" + this.value + "'")
    133133
    134134        this.description = this._identityDataStorage.sideDescription;
    135135        this.smtp = this._identityDataStorage.smtp.value;
    136         virtualIdentityExtension.MyLog.debug("v_identity.xml fromPopupItem_clone constructor smtp='" + this.smtp)
     136        // virtualIdentityExtension.MyLog.debug("v_identity.xml fromPopupItem_clone constructor smtp='" + this.smtp + "'")
    137137        this.smtpStyle = "width:" + document.getElementById("virtualIdentityExtension_SmtpServerList").clientWidth + "px;";
    138138        this._identityDataStorage.smtp.value;
     
    353353    <method name="command">
    354354        <body><![CDATA[
    355         virtualIdentityExtension.MyLog.debug("\nv_identity.xml msgIdentityCloneElem.doCommand()")
     355        virtualIdentityExtension.MyLog.debug("v_identity.xml msgIdentityCloneElem.doCommand()")
    356356        // copy selected Menu-Value from clone to orig.
    357357        virtualIdentityExtension.MyLog.debug("v_identity.xml copy selected Menu-Value from clone to orig. Searching for id=" + this.selectedMenuItem.identityData.id.key)
     
    368368        }
    369369        this.identityData = this.selectedMenuItem.identityData.getDuplicate();
    370         virtualIdentityExtension.MyLog.debug("\nv_identity.xml msgIdentityCloneElem.doCommand() this.value=" + this.value);
     370        virtualIdentityExtension.MyLog.debug("v_identity.xml msgIdentityCloneElem.doCommand() this.value=" + this.value);
    371371        // if current SMTP is empty, take the one from current Identity
    372372        if (this.identityData.smtp.hasNoDefinedSMTP()) {
  • content/vI_Dialog.js

    rfe0698 r036c4d  
    3232
    3333    init : function(warning) {
    34         dump("warning.class=" + warning.class + "warning.class=" + warning.title + "warning.warning=" + warning.warning + "\n")
    3534        document.getElementById("virtualIdentityExtension_Dialog").setAttribute("class", warning.class);
    3635        Dialog.setDescription(document.getElementById("virtualIdentityExtension_Dialog_title"), warning.title);
  • content/vI_context.xul

    rfe0698 r036c4d  
    6666                        <menuitem label="&vident.vI_Menu.DataEditor.label;"
    6767                            oncommand="window.open('chrome://v_identity/content/vI_rdfDataTree.xul', '', 'chrome, dialog, resizable=yes');" />
    68                         <menuitem label="&importCmd.label;" accesskey="&importCmd.accesskey;" oncommand="dump('command: ' + virtualIdentityExtension.initTime + '\n');var vI_localRdfDatasource = new virtualIdentityExtension.rdfDatasourceImporter('virtualIdentity.rdf');"/>
    69                         <menuitem label="&exportCmd.label;" accesskey="&exportCmd.accesskey;" oncommand="dump('command: ' + virtualIdentityExtension.initTime + '\n');var vI_localRdfDatasource = new virtualIdentityExtension.rdfDatasource(); vI_localRdfDatasource.export('virtualIdentity.rdf')"/>
     68                        <menuitem label="&importCmd.label;" accesskey="&importCmd.accesskey;" oncommand="var vI_localRdfDatasource = new virtualIdentityExtension.rdfDatasourceImporter('virtualIdentity.rdf');"/>
     69                        <menuitem label="&exportCmd.label;" accesskey="&exportCmd.accesskey;" oncommand="var vI_localRdfDatasource = new virtualIdentityExtension.rdfDatasource(); vI_localRdfDatasource.export('virtualIdentity.rdf')"/>
    7070                    </menupopup>
    7171                </menu>
  • content/vI_rdfDataTree.js

    rfe0698 r036c4d  
    481481    }
    482482};
    483 dump("registering global rdfDataTreeCollection\n");
    484483vI.rdfDataTreeCollection = rdfDataTreeCollection;
    485484vI.rdfDataTree = rdfDataTree;
    486 dump("registering global rdfDataTreeCollection done " + vI.initTime + " " + vI.rdfDataTreeCollection + "\n");
    487485}});
  • content/vI_smartIdentity.js

    rfe0698 r036c4d  
    119119       
    120120        document.getElementById("virtualIdentityExtension_msgIdentityClone").addIdentitiesToCloneMenu(smartIdentity._smartIdentityCollection._allIdentities);
    121         Log.debug("__smartIdentitySelection smartIdentity._smartIdentityCollection._allIdentities.number=" +
     121        Log.debug("__smartIdentitySelection _allIdentities.number=" +
    122122                smartIdentity._smartIdentityCollection._allIdentities.number +
    123                 " vI.vIprefs.get('idSelection_ask_always')=" +
    124                 vI.vIprefs.get("idSelection_ask_always") +
    125                 " vI.vIprefs.get('idSelection_ask')=" +
    126                 vI.vIprefs.get("idSelection_ask"));
     123                " _ask_always=" + vI.vIprefs.get("idSelection_ask_always") +
     124                " _ask=" + vI.vIprefs.get("idSelection_ask"));
    127125        if (!autocreate && vI.vIprefs.get("idSelection_ask") &&
    128126            ((smartIdentity._smartIdentityCollection._allIdentities.number == 1 && vI.vIprefs.get("idSelection_ask_always"))
  • modules/vI_log.js

    rfe0698 r036c4d  
    185185  let frame = (e && e.stack) ? e.stack : Components.stack;
    186186  while (frame) {
    187     MyLog.debug("\n"+frame+"\n");
     187    MyLog.debug(frame);
    188188    frame = frame.caller;
    189189  }
  • modules/vI_smartIdentityCollection.js

    rfe0698 r036c4d  
    3333
    3434function smartIdentityCollection(msgHdr, preseletedID, currentIDisVID, newsgroup, recipients) {
    35     dump("constructor\n");
    3635    this._IDisVID = currentIDisVID;
    3736    this._preselectedID = preseletedID;
     
    4241    this._rdfDatasourceAccess = new rdfDatasourceAccess();
    4342    this._allIdentities = new identityCollection();
    44     dump("constructor done \n");
    4543};
    4644
Note: See TracChangeset for help on using the changeset viewer.