<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,5 @@
+meioMask - a jQuery plugin for masking text inputs.
+
 Created by Fabio M. Costa on 2008-09-16. Please report any bug at http://www.meiocodigo.com
 Copyright (c) 2008 Fabio M. Costa http://www.meiocodigo.com
 
@@ -23,3 +25,35 @@ HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 OTHER DEALINGS IN THE SOFTWARE.
+
+# Changelog:
+## v1.1.1
+* Fixed caret bug on 'repeat' masks;
+* Fixed keyup event on fixed masks, it is now firing propertly;
+* Added selectCharsOnFocus option;
+* Added textAlign option.
+## v1.1
+* Mask type 'infinite' is now called 'repeat' (using 'infinite' still works but it is deprecated). It now allows a maxLenght value to be set. MaxLength can be setted by the maxLength attribute or the maxLength option;
+* You can easily set an auto-tab option that will focus the next form element when the masked input is totaly filled. It is true by default but you can put a jQuery selector string to match the next element you want to be focused.
+* Deprecated 'unmaskVal' function. This function is too buggy... works for most cases but not all. The best way to unmask a value is by doing it yourself;
+* 'phone-us' mask is now '(999) 999-9999';
+* Correctly fires the onChange event on reverse masked inputs.
+## v1.0.4
+* New mask type 'infinite', it allows infinite values at masks. See demos for a better understanding;
+* Added new function 'unmaskVal' that returns the input value without the mask. See demos for a better understanding;
+* Removed a serious bug at IE that was fixing the caret at the end of the input;
+## v1.0.3
+* Callback functions now receive the char number as it second parameter, so it is possible to detect exactly which key has been pressed;
+* Added the signed masks. It only works with the reverse mask. See demos for more details;
+* iPhone support improved. iPhone now works 100% better than the 1.0.2 version. I'ts logic have been changed, and now it's working with full features. :P
+## v1.0.2
+* Added input callbacks: onInvalid, onValid and onOverflow;
+* Added support for default values;
+* Can now be used like $().setMask({});
+* Added the function $.mask.string(string,mask) that will mask a string (see demos);
+* Now the value of the input is masked at the time the mask is applyed to it.
+## v1.0.1
+* Added support for iphone;
+* Removed a bug where a fixed char would be replaced by an inputed one.
+## v1.0
+* initial release.</diff>
      <filename>README</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,13 @@
 TODO FEATURES:
+
+1.1.1 Bugs:
+* A bug that has never been fixed (because i forgot) came to me right now... The last character from a mask can't be a fixed one or it will not be displayed.... Sux to be me... i'll have to fix it.
+* defaultValue is not set and should be, on initialization, so the reset button works properly;
+* Next form element should be visible. (offsetWidth ad height &gt; 0);
+* &#226;&#234;&#244; are not in the @ rule; OK!
+* set the size of the input, as an option.
+
+
 * allow a default value to be at the input if you try to delete everything; OK!
 * a callback should be called when you input something that is incorrect, something is correct and the mask is full; OK!
 * make a function that will mask a string just like it does with the inputs; OK!</diff>
      <filename>docs/todo.txt</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,7 @@
 				'Z': /[A-Z]/,
 				'a': /[a-zA-Z]/,
 				'*': /[0-9a-zA-Z]/,
-				'@': /[0-9a-zA-Z&#231;&#199;&#225;&#224;&#227;&#233;&#232;&#237;&#236;&#243;&#242;&#245;&#250;&#249;&#252;]/
+				'@': /[0-9a-zA-Z&#231;&#199;&#225;&#224;&#227;&#233;&#232;&#237;&#236;&#243;&#242;&#245;&#250;&#249;&#252;&#234;]/
 			},
 			
 			// these keys will be ignored by the mask.
@@ -263,8 +263,8 @@
 					case 'object':
 						o = options;
 				}
+				
 				if(!o.fixedChars) o.fixedChars = this.options.fixedChars;
-
 				var fixedCharsReg = new RegExp(o.fixedChars),
 					fixedCharsRegG = new RegExp(o.fixedChars, 'g');
 					
@@ -670,4 +670,5 @@
 		}
 	});
 })(jQuery);
-
\ No newline at end of file
+
+</diff>
      <filename>jquery.meio.mask.js</filename>
    </modified>
    <modified>
      <diff>@@ -45,7 +45,7 @@
 				'Z': /[A-Z]/,
 				'a': /[a-zA-Z]/,
 				'*': /[0-9a-zA-Z]/,
-				'@': /[0-9a-zA-Z&#231;&#199;&#225;&#224;&#227;&#233;&#232;&#237;&#236;&#243;&#242;&#245;&#250;&#249;&#252;]/
+				'@': /[0-9a-zA-Z&#231;&#199;&#225;&#224;&#227;&#226;&#233;&#232;&#234;&#237;&#236;&#243;&#242;&#244;&#245;&#250;&#249;&#252;]/
 			},
 			
 			// these keys will be ignored by the mask.
@@ -214,12 +214,12 @@
 						$this.removeAttr(mlStr);
 						
 						// setting the input events
-						$this.bind('keydown', {func:maskObj._keyDown, thisObj:maskObj}, maskObj._onMask)
-							.bind('keypress', {func:maskObj._keyPress, thisObj:maskObj}, maskObj._onMask)
-							.bind('keyup', {func:maskObj._keyUp, thisObj:maskObj}, maskObj._onMask)
-							.bind('focus', maskObj._onFocus)
-							.bind('blur', maskObj._onBlur)
-							.bind('change', maskObj._onChange)
+						$this.bind('keydown.mask', {func:maskObj._keyDown, thisObj:maskObj}, maskObj._onMask)
+							.bind('keypress.mask', {func:maskObj._keyPress, thisObj:maskObj}, maskObj._onMask)
+							.bind('keyup.mask', {func:maskObj._keyUp, thisObj:maskObj}, maskObj._onMask)
+							.bind('focus.mask', maskObj._onFocus)
+							.bind('blur.mask', maskObj._onBlur)
+							.bind('change.mask', maskObj._onChange)
 							.bind(pasteEvent, {func:maskObj._paste, thisObj:maskObj}, maskObj._delayedOnMask);
 					}
 				});
@@ -237,13 +237,7 @@
 							
 						if(maxLength != -1) $this.attr('maxLength', maxLength);
 						
-						$this.unbind('keydown', _this._onMask)
-							.unbind('keypress', _this._onMask)
-							.unbind('keyup', _this._onMask)
-							.unbind('focus', _this._onFocus)
-							.unbind('blur', _this._onBlur)
-							.unbind('change', _this._onChange)
-							.unbind(pasteEvent, _this._delayedOnMask)
+						$this.unbind('.mask')
 							.removeData('mask');
 					}
 				});
@@ -509,7 +503,7 @@
 			
 			// browsers like firefox2 and before and opera doenst have the onPaste event, but the paste feature can be done with the onInput event.
 			__getPasteEvent : function(){
-				return ($.browser.opera || ($.browser.mozilla &amp;&amp; parseFloat($.browser.version.substr(0,3)) &lt; 1.9 ))?'input':'paste';
+				return (($.browser.opera || ($.browser.mozilla &amp;&amp; parseFloat($.browser.version.substr(0,3)) &lt; 1.9 ))?'input':'paste') + '.mask';
 			},
 			
 			__getKeyNumber : function(e){</diff>
      <filename>source/jquery.meio.mask.js</filename>
    </modified>
    <modified>
      <diff>@@ -31,11 +31,15 @@
 		
 		&lt;script type=&quot;text/javascript&quot; &gt;
 			(function($){
-				$(
-					function(){
-						$('input:text').setMask();
-					}
-				);
+				/*$.mask.rules = $.extend($.mask.rules, {
+					&quot;~&quot;: /[+-]/,
+				    &quot;&amp;&quot;: /[de]/,
+				    &quot;9&quot;: /[0-9]/
+				});*/
+				//$.mask.masks.ar = {mask: &quot;aaa ~9,9&amp; = ~9,9aaa 999&#186;&quot;, fixedChars: '[,.= &#186;]'};
+				$(function(){
+					$('input:text').setMask('ar');
+				});
 			})(jQuery);
 		&lt;/script&gt;
 	&lt;/head&gt;
@@ -58,9 +62,9 @@
 		&lt;/ul&gt;
 
 		&lt;script type=&quot;text/javascript&quot;&gt;
-			(function($) {
-				$.mask.masks.msk = {mask: '999'};
-			})(jQuery);
+			//(function($) {
+			//	$.mask.masks.msk = {mask: '999'};
+			//})(jQuery);
 		&lt;/script&gt;
 	
 		&lt;form action=&quot;index_submit&quot; method=&quot;get&quot;&gt;
@@ -92,11 +96,11 @@
 				&lt;input type=&quot;text&quot; id=&quot;decimal_data-mask&quot; name=&quot;some_name&quot; value=&quot;12345&quot; data-mask=&quot;decimal&quot; /&gt;
 			
 				&lt;script type=&quot;text/javascript&quot;&gt;
-					(function($) {
+					/*(function($) {
 						$(function(){
 							$('#decimal_data-mask').setMask({'attr': 'data-mask'});
 						});
-					})(jQuery);
+					})(jQuery);*/
 				&lt;/script&gt;
 			
 			&lt;/fieldset&gt;
@@ -160,7 +164,7 @@
 					&lt;li&gt;&lt;a id=&quot;lmask_string4&quot; href=&quot;#&quot;&gt;Mask input value to 'signed-decimal'&lt;/a&gt;&lt;/li&gt;
 				&lt;/ul&gt;
 				&lt;script type=&quot;text/javascript&quot;&gt;
-					(function($) {
+					/*(function($) {
 						$('#lmask_string1').click(function(){
 							$('#masked_string').text( 'Masked value: &quot;'+$.mask.string( $('#dumb_input').val(), '99/99/99' )+'&quot;' );
 							return false;
@@ -177,7 +181,7 @@
 							$('#masked_string').text( 'Masked value: &quot;'+$.mask.string( $('#dumb_input').val(), 'signed-decimal' )+'&quot;' );
 							return false;
 						});
-					})(jQuery);
+					})(jQuery);*/
 				&lt;/script&gt;
 			&lt;/fieldset&gt;
 		&lt;/form&gt;
@@ -221,7 +225,7 @@
 	&lt;/div&gt;
 	
 	&lt;script type=&quot;text/javascript&quot;&gt;
-		$('#cb_test_input').setMask({mask:'99.99-99/99', defaultValue: '000',
+		/*$('#cb_test_input').setMask({mask:'99.99-99/99', defaultValue: '000',
 			onInvalid:function(c,nKey){
 				$('#cb_alerts').text('You can\'t input &quot;'+c+'&quot; in here. It\'s keynumber is &quot;'+nKey+'&quot;.');
 				$(this).css('background','red');
@@ -234,7 +238,7 @@
 				$('#cb_alerts').text(&quot;You can't enter more characters but your input might be ok!&quot;);
 				$(this).css('background','green');
 			}
-		});
+		});*/
 	&lt;/script&gt;
 
 	&lt;/body&gt;</diff>
      <filename>tests/visual-tests.php</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c3dc273ef7431a8d7e773b535b45bd0957ee2e53</id>
    </parent>
  </parents>
  <author>
    <name>F&#225;bio M. Costa</name>
    <email>fabio@meiocodigo.com</email>
  </author>
  <url>http://github.com/fabiomcosta/jquery-meiomask/commit/e68fddf35606563077b3b5af124f8232d0d2c476</url>
  <id>e68fddf35606563077b3b5af124f8232d0d2c476</id>
  <committed-date>2009-06-25T17:03:36-07:00</committed-date>
  <authored-date>2009-06-25T17:03:36-07:00</authored-date>
  <message>Little change on docs, added &#226;&#234;&#244; to the @ rule.
I'll release 1.1.2 for sure, dont know when.</message>
  <tree>a3c0a5dcabfd0fe2d58e8a2afb5490c0cb0774f1</tree>
  <committer>
    <name>F&#225;bio M. Costa</name>
    <email>fabio@meiocodigo.com</email>
  </committer>
</commit>
