[Pkg-mozext-commits] [autofill-forms] 07/13: Adding support to type tel

David Prévot taffit at moszumanska.debian.org
Thu Oct 29 20:57:37 UTC 2015


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

taffit pushed a commit to branch master
in repository autofill-forms.

commit 9da7b537adcfd1bdf8a392852a4bb3575ff04a78
Author: Sarah Avilov <sarah.avilov at gmail.com>
Date:   Tue Aug 25 14:55:09 2015 +0430

    Adding support to type tel
---
 aff.xpi                                 | Bin 152708 -> 153668 bytes
 chrome/content/autofillForms.js         |   2 +-
 chrome/content/autofillFormsOptions.xul |  14 ++++++++------
 defaults/preferences/autofillForms.js   |   3 ++-
 install.rdf                             |   2 +-
 5 files changed, 12 insertions(+), 9 deletions(-)

diff --git a/aff.xpi b/aff.xpi
index 1fbd8f4..7be2776 100644
Binary files a/aff.xpi and b/aff.xpi differ
diff --git a/chrome/content/autofillForms.js b/chrome/content/autofillForms.js
index bdd29b4..2e2dbe8 100644
--- a/chrome/content/autofillForms.js
+++ b/chrome/content/autofillForms.js
@@ -125,7 +125,7 @@ var autofillForms = {
     document.addEventListener("SSTabRestored", function (event) {
       function welcome (version) {
         var pre = self.autofillFormsPrefs.getCharPref("version");
-        if (pre === version) {
+        if (pre === version || !self.autofillFormsPrefs.getBoolPref("welcome")) {
           return;
         }
         //Showing welcome screen
diff --git a/chrome/content/autofillFormsOptions.xul b/chrome/content/autofillFormsOptions.xul
index 89ea3df..7834d20 100644
--- a/chrome/content/autofillFormsOptions.xul
+++ b/chrome/content/autofillFormsOptions.xul
@@ -85,14 +85,14 @@
 							</column>
 							<column>
 								<vbox>
-									<button align="left" id="buttonMoveUpProfile" class="move up" disabled="true" label="&moveup.label;" accesskey="&moveup.accesskey;" oncommand="autofillForms.moveUpProfile(event);"/>			
+									<button align="left" id="buttonMoveUpProfile" class="move up" disabled="true" label="&moveup.label;" accesskey="&moveup.accesskey;" oncommand="autofillForms.moveUpProfile(event);"/>
 									<button align="left" id="buttonMoveDownProfile" class="move down" disabled="true" label="&movedown.label;" accesskey="&movedown.accesskey;" oncommand="autofillForms.moveDownProfile(event);"/>
 									<button label="&add.label;" accesskey="&add.accesskey;" oncommand="autofillForms.addProfile(document.getElementById('profileLabelTextBox').value);"/>
 									<button label="&remove.label;" accesskey="&remove.accesskey;" oncommand="autofillForms.removeProfile(event);"/>
 								</vbox>
 								<vbox>
-									<button id="buttonApplyProfile" label="&apply.label;" oncommand="autofillForms.changeProfileLabel(document.getElementById('profileLabelTextBox').value);"/>							
-									<button label="&ruleeditorbutton.label;" oncommand="autofillForms.showDialog('chrome://autofillForms/content/autofillFormsRuleEditor.xul', document.getElementById('profileSiteRuleTextBox2'));"/>							
+									<button id="buttonApplyProfile" label="&apply.label;" oncommand="autofillForms.changeProfileLabel(document.getElementById('profileLabelTextBox').value);"/>
+									<button label="&ruleeditorbutton.label;" oncommand="autofillForms.showDialog('chrome://autofillForms/content/autofillFormsRuleEditor.xul', document.getElementById('profileSiteRuleTextBox2'));"/>
 								</vbox>
 							</column>
 						</columns>
@@ -192,9 +192,9 @@
 				</columns>
 				<rows>
 					<row align="center">
-						<label control="fieldRuleNameTextBox" value="&fieldrulename.label;:"/>	
+						<label control="fieldRuleNameTextBox" value="&fieldrulename.label;:"/>
 						<textbox id="fieldRuleNameTextBox" onchange="autofillForms.applyFieldRule(event);"/>
-						<button align="left" id="buttonMoveUpFieldRule" class="move up" disabled="true" label="&moveup.label;" accesskey="&moveup.accesskey;" oncommand="autofillForms.moveUpFieldRule(event);"/>					
+						<button align="left" id="buttonMoveUpFieldRule" class="move up" disabled="true" label="&moveup.label;" accesskey="&moveup.accesskey;" oncommand="autofillForms.moveUpFieldRule(event);"/>
 					</row>
 					<row align="center">
 						<label control="fieldRuleValueTextBox" value="&fieldrulevalue.label;:"/>
@@ -241,6 +241,7 @@
 			<preference id="matchAgainstPositions" 			name="extensions.autofillForms at blueimp.net.matchAgainstPositions" 			type="bool"/>
 			<preference id="callOnChangeAfterFillingFields"	name="extensions.autofillForms at blueimp.net.callOnChangeAfterFillingFields" 	type="bool"/>
 			<preference id="positionsIdentifier" 			name="extensions.autofillForms at blueimp.net.positionsIdentifier" 			type="unichar"/>
+			<preference id="welcome" 			name="extensions.autofillForms at blueimp.net.welcome" 			type="bool"/>
 			<preference id="placeholderLineBreak" 			name="extensions.autofillForms at blueimp.net.placeholderLineBreak" 			type="unichar"/>
 			<preference id="placeholderTab" 				name="extensions.autofillForms at blueimp.net.placeholderTab" 					type="unichar"/>
 			<preference id="useConfigDirectory" 			name="extensions.autofillForms at blueimp.net.useConfigDirectory" 				type="bool"/>
@@ -288,6 +289,7 @@
 							<spacer flex="1"/>
 							<textbox id="placeholderTabTextbox" preference="placeholderTab" class="placeholderTextbox"/>
 						</hbox>
+						<checkbox label="Show welcome page on upgrade" preference="welcome"/>
 				</vbox>
 					</groupbox>
 					<separator class="thin"/>
@@ -600,7 +602,7 @@
 					<separator class="thin"/>
 					<description class="shortcutInfo">&mouseshortcutinfo.label;</description>
 				</vbox>
-			</tabpanels>	
+			</tabpanels>
 		</tabbox>
 	</prefpane>
 	<script
diff --git a/defaults/preferences/autofillForms.js b/defaults/preferences/autofillForms.js
index 1cca000..c6f84fa 100644
--- a/defaults/preferences/autofillForms.js
+++ b/defaults/preferences/autofillForms.js
@@ -18,7 +18,7 @@ pref('extensions.autofillForms at blueimp.net.profileLabels', 'chrome://autofillFor
 pref('extensions.autofillForms at blueimp.net.dynamicTags', 'chrome://autofillForms/locale/autofillForms.properties');
 pref('extensions.autofillForms at blueimp.net.dynamicTagCodes', 'chrome://autofillForms/locale/autofillForms.properties');
 pref('extensions.autofillForms at blueimp.net.regExpPasswordLabel', 'chrome://autofillForms/locale/autofillForms.properties');
-pref('extensions.autofillForms at blueimp.net.regExpFormFieldTypes', '^(?:(?:text(?:area)?)|(?:select-(?:(?:one)|(?:multiple)))|(?:checkbox)|(?:radio)|(?:email)|(?:url)|(?:number)|(?:password)|(?:file))$');
+pref('extensions.autofillForms at blueimp.net.regExpFormFieldTypes', '^(?:(?:text(?:area)?)|(?:select-(?:(?:one)|(?:multiple)))|(?:checkbox)|(?:radio)|(?:email)|(?:url)|(?:number)|(?:month)|(?:week)|(?:tel)|(?:password)|(?:file))$');
 pref('extensions.autofillForms at blueimp.net.enableDynamicTags', false);
 pref('extensions.autofillForms at blueimp.net.profileIndex', 0);
 pref('extensions.autofillForms at blueimp.net.storeEncrypted', false);
@@ -51,5 +51,6 @@ pref('extensions.autofillForms at blueimp.net.useConfigDirectory', false);
 pref('extensions.autofillForms at blueimp.net.profileSiteRules', '(?:)');
 pref('extensions.autofillForms at blueimp.net.autoSelectBestProfile', true);
 pref('extensions.autofillForms at blueimp.net.helpURL', 'http://firefox.add0n.com/autofill-forms.html');
+pref("extensions.autofillForms at blueimp.net.welcome", true);
 pref("extensions.autofillForms at blueimp.net.version", "");
 pref("extensions.autofillForms at blueimp.net.post_install_url", "http://firefox.add0n.com/autofill-forms.html");
diff --git a/install.rdf b/install.rdf
index 184797d..ad3e01a 100644
--- a/install.rdf
+++ b/install.rdf
@@ -9,7 +9,7 @@
     <em:iconURL>chrome://autofillForms/skin/icon.png</em:iconURL>
     <em:optionsURL>chrome://autofillForms/content/autofillFormsOptions.xul</em:optionsURL>
     <em:homepageURL>http://firefox.add0n.com/autofill-forms.html</em:homepageURL>
-    <em:version>1.0.4</em:version>
+    <em:version>1.0.5</em:version>
     <em:type>2</em:type>
     <em:targetApplication>
       <Description>

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



More information about the Pkg-mozext-commits mailing list