Gitweb links:

...log 
http://git.netsurf-browser.org/libsvgtiny.git/shortlog/9c76afd8afc61e8f2fe3a634d3110b786b43b58e
...commit 
http://git.netsurf-browser.org/libsvgtiny.git/commit/9c76afd8afc61e8f2fe3a634d3110b786b43b58e
...tree 
http://git.netsurf-browser.org/libsvgtiny.git/tree/9c76afd8afc61e8f2fe3a634d3110b786b43b58e

The branch, master has been updated
       via  9c76afd8afc61e8f2fe3a634d3110b786b43b58e (commit)
       via  088329388d215b3476bc3178e3cdc0ffbb0e951a (commit)
       via  0630606336898622a4a2d7f6a9739cef0d7f6028 (commit)
       via  ced1bcad78ea063413b302a413e2747f81321e12 (commit)
      from  f66051cab457438eefd23e1e2c6e2197894b2d52 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/libsvgtiny.git/commit/?id=9c76afd8afc61e8f2fe3a634d3110b786b43b58e
commit 9c76afd8afc61e8f2fe3a634d3110b786b43b58e
Author: Michael Orlitzky <[email protected]>
Commit: Michael Drake <[email protected]>

    examples/svgtiny_display_x11.c: include the system copy of svgtiny.h
    
    The header of this file includes instructions for how to build it:
    
      Compile using:
        gcc -g -W -Wall -o svgtiny_display_x11 svgtiny_display_x11.c \
                `pkg-config --cflags --libs libsvgtiny cairo` -lX11
    
    That pkg-config command will generate the flags to link against the
    installed copy of libsvgtiny. The line,
    
      #include "svgtiny.h"
    
    on the other hand, attempts to use a local header. This commit changes
    that line to,
    
      #include <svgtiny.h>
    
    which will use the corresponding system header from whatever include
    directory pkg-config hands us for libsvgtiny.

diff --git a/examples/svgtiny_display_x11.c b/examples/svgtiny_display_x11.c
index 6758bef..463beb8 100644
--- a/examples/svgtiny_display_x11.c
+++ b/examples/svgtiny_display_x11.c
@@ -32,7 +32,7 @@
 #include <X11/keysym.h>
 #include <cairo.h>
 #include <cairo-xlib.h>
-#include "svgtiny.h"
+#include <svgtiny.h>
 
 
 struct svgtiny_diagram *diagram;


commitdiff 
http://git.netsurf-browser.org/libsvgtiny.git/commit/?id=088329388d215b3476bc3178e3cdc0ffbb0e951a
commit 088329388d215b3476bc3178e3cdc0ffbb0e951a
Author: Michael Orlitzky <[email protected]>
Commit: Michael Drake <[email protected]>

    examples/svgtiny_display_x11.c: add missing stdlib.h include
    
    This file uses malloc(), free(), and exit() -- all of which are
    defined in stdlib.h. GCC seems unhappy about the situation, so we now
    include it. This allows the file to be compiled once again.

diff --git a/examples/svgtiny_display_x11.c b/examples/svgtiny_display_x11.c
index c8bafd5..6758bef 100644
--- a/examples/svgtiny_display_x11.c
+++ b/examples/svgtiny_display_x11.c
@@ -23,6 +23,7 @@
 #include <math.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>


commitdiff 
http://git.netsurf-browser.org/libsvgtiny.git/commit/?id=0630606336898622a4a2d7f6a9739cef0d7f6028
commit 0630606336898622a4a2d7f6a9739cef0d7f6028
Author: Michael Orlitzky <[email protected]>
Commit: Michael Drake <[email protected]>

    examples/svgtiny_display_x11.c: update LIBXML -> LIBDOM
    
    The svgtiny_LIBXML_ERROR constant was changed to throughout the
    codebase to svgtiny_LIBDOM_ERROR a long time ago, in 9275ab308, but
    this example was missed, probably because it isn't built by default.

diff --git a/examples/svgtiny_display_x11.c b/examples/svgtiny_display_x11.c
index d10bfbc..c8bafd5 100644
--- a/examples/svgtiny_display_x11.c
+++ b/examples/svgtiny_display_x11.c
@@ -114,8 +114,8 @@ int main(int argc, char *argv[])
                case svgtiny_OUT_OF_MEMORY:
                        fprintf(stderr, "svgtiny_OUT_OF_MEMORY");
                        break;
-               case svgtiny_LIBXML_ERROR:
-                       fprintf(stderr, "svgtiny_LIBXML_ERROR");
+               case svgtiny_LIBDOM_ERROR:
+                       fprintf(stderr, "svgtiny_LIBDOM_ERROR");
                        break;
                case svgtiny_NOT_SVG:
                        fprintf(stderr, "svgtiny_NOT_SVG");


commitdiff 
http://git.netsurf-browser.org/libsvgtiny.git/commit/?id=ced1bcad78ea063413b302a413e2747f81321e12
commit ced1bcad78ea063413b302a413e2747f81321e12
Author: Michael Orlitzky <[email protected]>
Commit: Michael Drake <[email protected]>

    README: update LIBXML -> LIBDOM
    
    This constant svgtiny_LIBXML_ERROR was changed throughout the codebase
    to svgtiny_LIBDOM_ERROR a long time ago, in 9275ab308, but the README
    was missed because nobody reads the documentation :)

diff --git a/README b/README
index 3c5095a..82a5df8 100644
--- a/README
+++ b/README
@@ -160,7 +160,7 @@ returned, but the diagram is still valid up to the point of 
the
 error. The error is recorded in diagram->error_message and the line
 that caused it in diagram->error_line.
 
-svgtiny_LIBXML_ERROR indicates that parsing the XML failed. The
+svgtiny_LIBDOM_ERROR indicates that parsing the XML failed. The
 returned diagram will contain no shapes. svgtiny_NOT_SVG means that
 the XML did not contain a top-level <svg> element.
 


-----------------------------------------------------------------------

Summary of changes:
 README                         |    2 +-
 examples/svgtiny_display_x11.c |    7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 3c5095a..82a5df8 100644
--- a/README
+++ b/README
@@ -160,7 +160,7 @@ returned, but the diagram is still valid up to the point of 
the
 error. The error is recorded in diagram->error_message and the line
 that caused it in diagram->error_line.
 
-svgtiny_LIBXML_ERROR indicates that parsing the XML failed. The
+svgtiny_LIBDOM_ERROR indicates that parsing the XML failed. The
 returned diagram will contain no shapes. svgtiny_NOT_SVG means that
 the XML did not contain a top-level <svg> element.
 
diff --git a/examples/svgtiny_display_x11.c b/examples/svgtiny_display_x11.c
index d10bfbc..463beb8 100644
--- a/examples/svgtiny_display_x11.c
+++ b/examples/svgtiny_display_x11.c
@@ -23,6 +23,7 @@
 #include <math.h>
 #include <stdbool.h>
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -31,7 +32,7 @@
 #include <X11/keysym.h>
 #include <cairo.h>
 #include <cairo-xlib.h>
-#include "svgtiny.h"
+#include <svgtiny.h>
 
 
 struct svgtiny_diagram *diagram;
@@ -114,8 +115,8 @@ int main(int argc, char *argv[])
                case svgtiny_OUT_OF_MEMORY:
                        fprintf(stderr, "svgtiny_OUT_OF_MEMORY");
                        break;
-               case svgtiny_LIBXML_ERROR:
-                       fprintf(stderr, "svgtiny_LIBXML_ERROR");
+               case svgtiny_LIBDOM_ERROR:
+                       fprintf(stderr, "svgtiny_LIBDOM_ERROR");
                        break;
                case svgtiny_NOT_SVG:
                        fprintf(stderr, "svgtiny_NOT_SVG");


-- 
NetSurf SVG decoder
_______________________________________________
netsurf-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to