Skip to content

Commit

Permalink
Merge commit '3f57fd519a09da3e08b889635acc08c8a66192b1'
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhendricks committed Dec 2, 2024
2 parents 3aea970 + 3f57fd5 commit 9ad7c15
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 210 deletions.
1 change: 1 addition & 0 deletions gumbo_subtree/ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ List of Changes since the Fork
==============================
In reverse chronological order:

- remove long outdated vcxproj files, support building with cmake and nmake only on Windows
- change update foreign attributes to remove xml:base and add xlink:arcrole to follow whatwg spec
- fixed minor memory leaks
- correctly handle text in form elements
Expand Down
17 changes: 16 additions & 1 deletion gumbo_subtree/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Original Goals & features:
Installation
============

To build and install the library, use CMake version 3.0 or later
To build and install the library on macOS and Linux/Unix, use CMake version 3.0 or later

git clone https://github.com/Sigil-Ebook/sigil-gumbo.git
mkdir build
Expand All @@ -48,6 +48,21 @@ To build and install the library, use CMake version 3.0 or later
make -j4


To build the library on Windows, use CMake version 3.0 or later

1. clone the sigil gumbo repo
git clone https://github.com/Sigil-Ebook/sigil-gumbo.git

2. create a seprate build directory (do not build in the source directory itself)
mkdir build
cd build

3. Start the Visual Studio Command prompt for x64

4. cmake -G "NMake Makefiles" ..\sigil-gumbo
nmake


To run the html5lib tree-construction test suite from the build directory
after building

Expand Down
3 changes: 3 additions & 0 deletions gumbo_subtree/examples/get_title.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@
// Author: [email protected] (Jonathan Tang)
//
// Retrieves the title of a page.
#ifdef __GNUC__
#define _POSIX_C_SOURCE 1
#endif

#include <assert.h>
#include <stdio.h>
Expand Down
106 changes: 0 additions & 106 deletions gumbo_subtree/visualc/gumbo.vcxproj

This file was deleted.

99 changes: 0 additions & 99 deletions gumbo_subtree/visualc/gumbo.vcxproj.filters

This file was deleted.

4 changes: 0 additions & 4 deletions gumbo_subtree/visualc/gumbo.vcxproj.user

This file was deleted.

0 comments on commit 9ad7c15

Please sign in to comment.