Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Ismael Luceno (8d1aac0cd685493f242da1b250a3f685c9941aa2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Ismael Luceno <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Ismael Luceno (8d1aac0cd685493f242da1b250a3f685c9941aa2)
  • Date: Thu, 10 Dec 2015 03:14:06 +0000

GIT changes to master grimoire by Ismael Luceno <ismael AT sourcemage.org>:

ChangeLog | 3 +++
libs/htmlcxx/BUILD | 1 +
libs/htmlcxx/DEPENDS | 2 ++
libs/htmlcxx/DETAILS | 32 ++++++++++++++++++++++++++++++++
libs/htmlcxx/HISTORY | 2 ++
5 files changed, 40 insertions(+)

New commits:
commit 8d1aac0cd685493f242da1b250a3f685c9941aa2
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>

htmlcxx: new spell, html and css APIs for C++

diff --git a/ChangeLog b/ChangeLog
index a3de09d..8db9fc9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2015-12-10 Ismael Luceno <ismael AT sourcemage.org>
+ * libs/htmlcxx: new spell, html and css APIs for C++
+
2015-12-09 Ismael Luceno <ismael AT sourcemage.org>
* libs/jsoncpp: new spell, A C++ library for interacting with JSON
* utils/rhash: new spell, Utility for computing and verifying hash
diff --git a/libs/htmlcxx/BUILD b/libs/htmlcxx/BUILD
new file mode 100755
index 0000000..3f1a94a
--- /dev/null
+++ b/libs/htmlcxx/BUILD
@@ -0,0 +1 @@
+LDFLAGS="${LDFLAGS//-Wl,--as-needed}" default_build
diff --git a/libs/htmlcxx/DEPENDS b/libs/htmlcxx/DEPENDS
new file mode 100755
index 0000000..01fd0aa
--- /dev/null
+++ b/libs/htmlcxx/DEPENDS
@@ -0,0 +1,2 @@
+depends -sub CXX gcc &&
+depends bison
diff --git a/libs/htmlcxx/DETAILS b/libs/htmlcxx/DETAILS
new file mode 100755
index 0000000..5f991b3
--- /dev/null
+++ b/libs/htmlcxx/DETAILS
@@ -0,0 +1,32 @@
+ SPELL=htmlcxx
+ VERSION=0.86
+ SOURCE="$SPELL-$VERSION.tar.gz"
+
SOURCE_URL[0]=http://downloads.sourceforge.net/sourceforge/project/$SPELL/$SPELL/$VERSION/$SOURCE
+
SOURCE_HASH=sha512:dcff9c9946e1c3429af2230997c965b89a28a8ee219d8d594800106ff578bb21154e4680c38a09fb5f96cd4051c89cbf16f2151d30be93d4e3d291ff421aafcb
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
+ WEB_SITE="http://htmlcxx.sourceforge.net/";
+ LICENSE[0]="LGPL"
+ ENTERED=20151209
+ KEYWORDS=""
+ SHORT="html and css APIs for C++"
+cat << EOF
+htmlcxx is a simple non-validating css1 and html parser for C++. Although
there
+are several other html parsers available, htmlcxx has some characteristics
+that make it unique:
+
+* STL like navigation of DOM tree, using excelent's tree.hh library from
+ Kasper Peeters
+* It is possible to reproduce exactly, character by character, the original
+ document from the parse tree
+* Bundled css parser
+* Optional parsing of attributes
+* C++ code that looks like C++ (not so true anymore)
+* Offsets of tags/elements in the original document are stored in the nodes
+ of the DOM tree
+
+The parsing politics of htmlcxx were created trying to mimic mozilla firefox
+(http://www.mozilla.org) behavior. So you should expect parse trees similar
+to those create by firefox. However, differently from firefox, htmlcxx does
+not insert non-existent stuff in your html. Therefore, serializing the DOM
+tree gives exactly the same bytes contained in the original HTML document.
+EOF
diff --git a/libs/htmlcxx/HISTORY b/libs/htmlcxx/HISTORY
new file mode 100644
index 0000000..81389dc
--- /dev/null
+++ b/libs/htmlcxx/HISTORY
@@ -0,0 +1,2 @@
+2015-12-10 Ismael Luceno <ismael AT sourcemage.org>
+ * BUILD, DEPENDS, DETAILS: spell created



  • [SM-Commit] GIT changes to master grimoire by Ismael Luceno (8d1aac0cd685493f242da1b250a3f685c9941aa2), Ismael Luceno, 12/09/2015

Archive powered by MHonArc 2.6.24.

Top of Page