[fizzler] 2 new revisions pushed by azizatif on 2013-01-22 21:06 GMT

0 views
Skip to first unread message

fiz...@googlecode.com

unread,
Jan 22, 2013, 4:06:49 PM1/22/13
to fizzler...@googlegroups.com
2 new revisions:

Revision: 5d1681b0f66a
Branch: default
Author: azizatif
Date: Tue Jan 22 13:05:39 2013
Log: More Mannex for simpler code expression
http://code.google.com/p/fizzler/source/detail?r=5d1681b0f66a

Revision: 41800de20ca3
Branch: default
Author: azizatif
Date: Tue Jan 22 13:06:31 2013
Log: Fizzler.Systems.HtmlAgilityPack as a separate package
http://code.google.com/p/fizzler/source/detail?r=41800de20ca3

==============================================================================
Revision: 5d1681b0f66a
Branch: default
Author: azizatif
Date: Tue Jan 22 13:05:39 2013
Log: More Mannex for simpler code expression
http://code.google.com/p/fizzler/source/detail?r=5d1681b0f66a

Modified:
/ConsoleFizzler/Program.cs

=======================================
--- /ConsoleFizzler/Program.cs Sun Jan 20 09:51:14 2013
+++ /ConsoleFizzler/Program.cs Tue Jan 22 13:05:39 2013
@@ -28,9 +28,6 @@
using System.Diagnostics;
using System.Linq;
using Mannex.Collections.Generic;
- using CommandNames = System.Collections.Generic.KeyValuePair<
- /* key */ System.Func<ICommand>,
- /* value */ System.Collections.Generic.IEnumerable<string>>;

#endregion

@@ -57,10 +54,10 @@

var commands = new[]
{
- new CommandNames(() => new SelectCommand(),
Aliases("select", "sel")),
- new CommandNames(() => new ExplainCommand(),
Aliases("explain", "describe", "desc")),
+ new Func<ICommand>(() => new
SelectCommand()).AsKeyTo(Aliases("select", "sel")),
+ new Func<ICommand>(() => new
ExplainCommand()).AsKeyTo(Aliases("explain", "describe", "desc")),
}
- .SelectMany(e => e.Value.Select(v => new KeyValuePair<string,
Func<ICommand>>(v, e.Key)))
+ .SelectMany(e => e.Value.Select(v => v.AsKeyTo(e.Key)))
.ToDictionary(e => e.Key, e => e.Value);

var name = args[0];
@@ -69,8 +66,7 @@
if (command == null)
throw new ApplicationException("Invalid command.");

- return command().Run(args.Skip(1).ToArray());
-
+ return command().Run(args.Skip(1).ToArray());
}

static IEnumerable<string> Aliases(params string[] values)

==============================================================================
Revision: 41800de20ca3
Branch: default
Author: azizatif
Date: Tue Jan 22 13:06:31 2013
Log: Fizzler.Systems.HtmlAgilityPack as a separate package
http://code.google.com/p/fizzler/source/detail?r=41800de20ca3

Added:
/Fizzler.Systems.HtmlAgilityPack.nuspec
Modified:
/Fizzler.Tools.nuspec
/Fizzler.nuspec
/Fizzler.sln

=======================================
--- /dev/null
+++ /Fizzler.Systems.HtmlAgilityPack.nuspec Tue Jan 22 13:06:31 2013
@@ -0,0 +1,35 @@
+<?xml version="1.0" encoding="utf-8"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
+ <metadata>
+ <id>Fizzler.Systems.HtmlAgilityPack</id>
+ <version>1.0.0-beta2</version>
+ <title>Fizzler</title>
+ <authors>Atif Aziz, Colin Ramsay</authors>
+ <owners>Atif Aziz</owners>
+ <licenseUrl>http://www.gnu.org/licenses/lgpl.html</licenseUrl>
+ <projectUrl>https://fizzler.googlecode.com/</projectUrl>
+ <copyright>Copyright (c) 2009 Atif Aziz, Colin Ramsay. All rights
reserved.</copyright>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <summary>W3C Selectors API for HTML Agility Pack</summary>
+ <description>Fizzler is a W3C Selectors parser and generic
selector framework for document hierarchies. This package enables Fizzler
over HTMLAgilityPack, adding QuerySelector and QuerySelectorAll (from
Selectors API Level 1) for HtmlNode objects.</description>
+ <tags>selectors w3c htmlagility css html</tags>
+ <dependencies>
+ <group targetFramework=".NETFramework2.0">
+ <dependency id="HtmlAgilityPack" version="1.4.6" />
+ <dependency id="Fizzler" version="1.0.0" />
+ </group>
+ <group targetFramework=".NETFramework3.5">
+ <dependency id="HtmlAgilityPack" version="1.4.6" />
+ <dependency id="Fizzler" version="1.0.0" />
+ </group>
+ </dependencies>
+ </metadata>
+ <files>
+ <file src="COPYING.txt" target="COPYING.txt" />
+ <file src="COPYING.LESSER.txt" target="COPYING.LESSER.txt" />
+ <file
src="bin\NET-2.0\Release\Fizzler.Systems.HtmlAgilityPack.dll"
target="lib\net20\Fizzler.Systems.HtmlAgilityPack.dll" />
+ <file
src="bin\NET-2.0\Release\Fizzler.Systems.HtmlAgilityPack.xml"
target="lib\net20\Fizzler.Systems.HtmlAgilityPack.xml" />
+ <file src="bin\Release\Fizzler.Systems.HtmlAgilityPack.dll"
target="lib\net35\Fizzler.Systems.HtmlAgilityPack.dll" />
+ <file src="bin\Release\Fizzler.Systems.HtmlAgilityPack.xml"
target="lib\net35\Fizzler.Systems.HtmlAgilityPack.xml" />
+ </files>
+</package>
=======================================
--- /Fizzler.Tools.nuspec Sun Jan 20 11:54:43 2013
+++ /Fizzler.Tools.nuspec Tue Jan 22 13:06:31 2013
@@ -4,7 +4,7 @@
<id>Fizzler.Tools</id>
<version>1.0.0-beta1</version>
<title>Fizzler Tools</title>
- <authors>Atif Aziz, Colin Ramsay</authors>
+ <authors>Atif Aziz</authors>
<owners>Atif Aziz</owners>
<licenseUrl>http://www.gnu.org/licenses/lgpl.html</licenseUrl>
<projectUrl>https://fizzler.googlecode.com/</projectUrl>
=======================================
--- /Fizzler.nuspec Sun Jan 20 10:00:56 2013
+++ /Fizzler.nuspec Tue Jan 22 13:06:31 2013
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Fizzler</id>
- <version>1.0.0-beta1</version>
+ <version>1.0.0-beta2</version>
<title>Fizzler</title>
<authors>Atif Aziz, Colin Ramsay</authors>
<owners>Atif Aziz</owners>
@@ -10,17 +10,13 @@
<projectUrl>https://fizzler.googlecode.com/</projectUrl>
<copyright>Copyright (c) 2009 Atif Aziz, Colin Ramsay. All rights
reserved.</copyright>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
- <description>Fizzler is a CSS Selector parser and generic selector
framework for document hierarchies. Fizzler also comes with a default
implementation over HTMLAgilityPack that enables QuerySelector and
QuerySelectorAll (from Selectors API Level 1) for HtmlNode
objects.</description>
- <summary>CSS Selector Engine for Microsoft .NET Framework</summary>
- <tags>htmlagility fizzler css html</tags>
+ <description>Fizzler is a W3C Selectors parser and generic
selector framework for document hierarchies.</description>
+ <summary>W3C Selectors Engine for Microsoft .NET
Framework</summary>
+ <tags>selectors w3c</tags>
<dependencies>
<group targetFramework=".NETFramework2.0">
- <dependency id="HtmlAgilityPack" version="1.4.6" />
<dependency id="LinqBridge" version="1.3.0" />
</group>
- <group targetFramework=".NETFramework3.5">
- <dependency id="HtmlAgilityPack" version="1.4.6" />
- </group>
</dependencies>
</metadata>
<files>
@@ -28,11 +24,7 @@
<file src="COPYING.LESSER.txt" target="COPYING.LESSER.txt" />
<file src="bin\NET-2.0\Release\Fizzler.dll"
target="lib\net20\Fizzler.dll" />
<file src="bin\NET-2.0\Release\Fizzler.xml"
target="lib\net20\Fizzler.xml" />
- <file
src="bin\NET-2.0\Release\Fizzler.Systems.HtmlAgilityPack.dll"
target="lib\net20\Fizzler.Systems.HtmlAgilityPack.dll" />
- <file
src="bin\NET-2.0\Release\Fizzler.Systems.HtmlAgilityPack.xml"
target="lib\net20\Fizzler.Systems.HtmlAgilityPack.xml" />
<file src="bin\Release\Fizzler.dll" target="lib\net35\Fizzler.dll"
/>
<file src="bin\Release\Fizzler.xml" target="lib\net35\Fizzler.xml"
/>
- <file src="bin\Release\Fizzler.Systems.HtmlAgilityPack.dll"
target="lib\net35\Fizzler.Systems.HtmlAgilityPack.dll" />
- <file src="bin\Release\Fizzler.Systems.HtmlAgilityPack.xml"
target="lib\net35\Fizzler.Systems.HtmlAgilityPack.xml" />
</files>
</package>
=======================================
--- /Fizzler.sln Sun Jan 20 09:59:06 2013
+++ /Fizzler.sln Tue Jan 22 13:06:31 2013
@@ -9,6 +9,7 @@
COPYING.txt = COPYING.txt
default.build = default.build
Fizzler.nuspec = Fizzler.nuspec
+ Fizzler.Systems.HtmlAgilityPack.nuspec =
Fizzler.Systems.HtmlAgilityPack.nuspec
Fizzler.Tools.nuspec = Fizzler.Tools.nuspec
pack.cmd = pack.cmd
packw.cmd = packw.cmd
Reply all
Reply to author
Forward
0 new messages