Skip to content

Commit

Permalink
Updated Version Stamp to v1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Geoffrey McGill committed Mar 6, 2012
1 parent 839e5ee commit a8bd9af
Show file tree
Hide file tree
Showing 17 changed files with 71 additions and 87 deletions.
6 changes: 3 additions & 3 deletions DateTime/DateTimeUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Enumerable/EnumerableUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
7 changes: 3 additions & 4 deletions Html/HtmlUtils.cs
@@ -1,12 +1,11 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System.Text;
using System.Text.RegularExpressions;

namespace Ext.Net.Utilities
Expand Down
8 changes: 3 additions & 5 deletions IO/FileUtils.cs
@@ -1,14 +1,12 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System;
using System.IO;
using System.Collections;

namespace Ext.Net.Utilities
{
Expand Down
19 changes: 9 additions & 10 deletions Inflatr/Base.cs
@@ -1,13 +1,12 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System;
using System.Collections.Generic;
using System.Text;
using System.Text.RegularExpressions;

Expand Down Expand Up @@ -154,12 +153,12 @@ protected bool WhiteSpace()
private Regex newLineRe2 = new Regex("\\S", RegexOptions.Compiled);
protected string NewLine()
{
int x = this.LastIndexOf(this.newLineRe1, this.r.ToString());
int y = this.LastIndexOf(this.newLineRe2, this.r.ToString());

if ( x < 0 || y < 0 || x < y ) {
this.c = 0;
return "\n" + this.Indent().ToString();
int x = this.LastIndexOf(this.newLineRe1, this.r.ToString());
int y = this.LastIndexOf(this.newLineRe2, this.r.ToString());

if ( x < 0 || y < 0 || x < y ) {
this.c = 0;
return "\n" + this.Indent().ToString();
}
else
{
Expand Down
36 changes: 16 additions & 20 deletions Inflatr/Javascript.cs
@@ -1,15 +1,11 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;

namespace Ext.Net.Utilities.Inflatr
Expand All @@ -21,13 +17,13 @@ public class Javascript : Base

public override string Inflate(string input)
{
this.input = input;
while ( this.index < this.input.Length )
{
bool r = this.Comment() || this.String() || this.Regex() || this.Operator() ||
this.Keyword() ||this.OpenBlock() || this.CloseBlock() || this.Comma() ||
this.Parens() || this.Eos() || this.Eol() || this.NextChar();
}
this.input = input;
while ( this.index < this.input.Length )
{
bool r = this.Comment() || this.String() || this.Regex() || this.Operator() ||
this.Keyword() ||this.OpenBlock() || this.CloseBlock() || this.Comma() ||
this.Parens() || this.Eos() || this.Eol() || this.NextChar();
}
return new Regex("\\s*$").Replace(this.r.ToString(), "");
}

Expand Down Expand Up @@ -111,8 +107,8 @@ protected virtual bool OpenBlock()
{
if (this.Scan("\\{").IsNotEmpty())
{
this.Options.Level += 1;
this.Append(" {", this.NewLine() );
this.Options.Level += 1;
this.Append(" {", this.NewLine() );
return true;
}

Expand Down Expand Up @@ -142,10 +138,10 @@ protected virtual bool Comma()
{
if (this.Peek("(?!\\{\\})*;").IsNotEmpty() || (this.c < this.Options.Wrap))
{
this.Append(", ");
} else {
this.Append(",", this.NewLine() );
}
this.Append(", ");
} else {
this.Append(",", this.NewLine() );
}
return true;
}

Expand Down
10 changes: 3 additions & 7 deletions Inflatr/Options.cs
@@ -1,15 +1,11 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System;
using System.Collections.Generic;
using System.Text;

namespace Ext.Net.Utilities.Inflatr
{
public class Options
Expand Down
9 changes: 3 additions & 6 deletions JavaScript/JSMin.cs
@@ -1,15 +1,12 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System;
using System.Collections.Generic;
using System.Text;
using System.Globalization;
using System.IO;

/* Originally written in 'C', this code has been converted to the C# language.
Expand Down
6 changes: 3 additions & 3 deletions JavaScript/JsonUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
9 changes: 4 additions & 5 deletions Object/ObjectUtils.cs
@@ -1,14 +1,13 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

using System.Reflection;
using System;
using System.ComponentModel;
using System.Reflection;

namespace Ext.Net.Utilities
{
Expand Down
6 changes: 3 additions & 3 deletions Reflection/ReflectionUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Text/StringUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Validation/Verify.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Web/CompressionUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Web/ControlUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Web/EscapeUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down
6 changes: 3 additions & 3 deletions Web/UrlUtils.cs
@@ -1,8 +1,8 @@
/********
* @version : 1.0.0
* @version : 1.3.0
* @author : Ext.NET, Inc. http://www.ext.net/
* @date : 2011-06-15
* @copyright : Copyright (c) 2011, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @date : 2012-02-29
* @copyright : Copyright (c) 2007-2012, Ext.NET, Inc. (http://www.ext.net/). All rights reserved.
* @license : See license.txt and http://www.ext.net/license/.
********/

Expand Down

0 comments on commit a8bd9af

Please sign in to comment.