]> gitweb.michael.orlitzky.com - libsvgtiny.git/log
libsvgtiny.git
11 years agoHandle empty text nodes correctly.
John-Mark Bell [Mon, 31 Dec 2012 00:10:38 +0000 (00:10 +0000)]
Handle empty text nodes correctly.

11 years agoDrop const, as this can't work with libdom.
John-Mark Bell [Sun, 30 Dec 2012 23:38:32 +0000 (23:38 +0000)]
Drop const, as this can't work with libdom.

11 years agocorrect target name
Chris Young [Tue, 27 Nov 2012 18:29:05 +0000 (18:29 +0000)]
correct target name

11 years agoReplace dom_string_length with dom_string_byte_length -- faster and more correct
Daniel Silverstone [Sat, 3 Nov 2012 22:42:11 +0000 (22:42 +0000)]
Replace dom_string_length with dom_string_byte_length -- faster and more correct

11 years agoVoid myself unpleasantly in order to satisfy RISC OS toolchain
Daniel Silverstone [Sat, 3 Nov 2012 18:22:52 +0000 (18:22 +0000)]
Void myself unpleasantly in order to satisfy RISC OS toolchain

11 years agoClean up properly
Daniel Silverstone [Sat, 3 Nov 2012 18:03:23 +0000 (18:03 +0000)]
Clean up properly

11 years agoFix up pkgconfig
Daniel Silverstone [Sat, 3 Nov 2012 17:53:10 +0000 (17:53 +0000)]
Fix up pkgconfig

11 years agoMerge branch 'dsilvers/tolibdom'
Daniel Silverstone [Sat, 3 Nov 2012 17:51:55 +0000 (17:51 +0000)]
Merge branch 'dsilvers/tolibdom'

11 years agoConvert the last bits for libdom
Daniel Silverstone [Sat, 3 Nov 2012 17:49:30 +0000 (17:49 +0000)]
Convert the last bits for libdom

11 years agoThe library now builds
Daniel Silverstone [Sat, 3 Nov 2012 17:45:07 +0000 (17:45 +0000)]
The library now builds

11 years agoMore work towards libdom conversion
Daniel Silverstone [Sat, 3 Nov 2012 16:46:39 +0000 (16:46 +0000)]
More work towards libdom conversion

11 years agoParse text
Daniel Silverstone [Sat, 3 Nov 2012 15:00:36 +0000 (15:00 +0000)]
Parse text

11 years agoMake more svg elements parse again
Daniel Silverstone [Sat, 3 Nov 2012 14:35:11 +0000 (14:35 +0000)]
Make more svg elements parse again

11 years agoMore work to bring svgtiny into the libdom era
Daniel Silverstone [Sat, 3 Nov 2012 14:13:47 +0000 (14:13 +0000)]
More work to bring svgtiny into the libdom era

11 years agoIgnore ~ files
Daniel Silverstone [Sat, 3 Nov 2012 14:13:41 +0000 (14:13 +0000)]
Ignore ~ files

11 years agoBegin conversion to libdom
Daniel Silverstone [Sat, 3 Nov 2012 12:05:13 +0000 (12:05 +0000)]
Begin conversion to libdom

11 years agoAdd an example SVG and a gitignore
Daniel Silverstone [Sat, 3 Nov 2012 10:32:06 +0000 (10:32 +0000)]
Add an example SVG and a gitignore

11 years agoUpdate to new NSBUILD infrastructure
Daniel Silverstone [Fri, 29 Jun 2012 19:56:04 +0000 (19:56 -0000)]
Update to new NSBUILD infrastructure

svn path=/trunk/libsvgtiny/; revision=14010

12 years agoBump version number
Vincent Sanders [Mon, 27 Feb 2012 13:40:19 +0000 (13:40 -0000)]
Bump version number

svn path=/trunk/libsvgtiny/; revision=13487

12 years agoDon't treat warnings as errors on AmigaOS
Chris Young [Wed, 28 Sep 2011 17:04:54 +0000 (17:04 -0000)]
Don't treat warnings as errors on AmigaOS

svn path=/trunk/libsvgtiny/; revision=12908

13 years agosed in BeOS still doesn't handle -i, so use a temporary file since RiscOS doesn't...
François Revel [Mon, 21 Mar 2011 22:07:10 +0000 (22:07 -0000)]
sed in BeOS still doesn't handle -i, so use a temporary file since RiscOS doesn't know pipes.

svn path=/trunk/libsvgtiny/; revision=12121

13 years agos/strndup/svgtiny_strndup
John Mark Bell [Sun, 2 Jan 2011 22:09:46 +0000 (22:09 -0000)]
s/strndup/svgtiny_strndup

svn path=/trunk/libsvgtiny/; revision=11186

13 years agoUse built-in strndup if the platform we're targetting doesn't have one
John Mark Bell [Wed, 29 Dec 2010 18:06:04 +0000 (18:06 -0000)]
Use built-in strndup if the platform we're targetting doesn't have one

svn path=/trunk/libsvgtiny/; revision=11140

13 years agoSplit the string for stroke-width like it's done for the other attributes so svgtiny_...
James Bursa [Fri, 24 Sep 2010 23:41:14 +0000 (23:41 -0000)]
Split the string for stroke-width like it's done for the other attributes so svgtiny_parse_length doesn't get confused about the remainder of the string. Contributed by Peter Korsgaard.

svn path=/trunk/libsvgtiny/; revision=10837

14 years agoAdd an example of using libsvgtiny. Displays an SVG using X11 and cairo.
James Bursa [Sun, 10 Jan 2010 21:08:17 +0000 (21:08 -0000)]
Add an example of using libsvgtiny. Displays an SVG using X11 and cairo.

svn path=/trunk/libsvgtiny/; revision=9800

14 years agoFor BeOS libxml2 is not part of the default devkit, try to find headers elsewhere.
François Revel [Sun, 3 Jan 2010 23:37:39 +0000 (23:37 -0000)]
For BeOS libxml2 is not part of the default devkit, try to find headers elsewhere.

svn path=/trunk/libsvgtiny/; revision=9785

14 years agoMore of the C89... really do test it please!
François Revel [Sat, 2 Jan 2010 02:08:45 +0000 (02:08 -0000)]
More of the C89... really do test it please!

svn path=/trunk/libsvgtiny/; revision=9772

14 years agoLots of C89, please test...
François Revel [Sat, 2 Jan 2010 01:54:45 +0000 (01:54 -0000)]
Lots of C89, please test...

svn path=/trunk/libsvgtiny/; revision=9771

14 years agoC89: Fix for gcc2 "warning: comma at end of enumerator list".
François Revel [Sat, 2 Jan 2010 01:32:54 +0000 (01:32 -0000)]
C89: Fix for gcc2 "warning: comma at end of enumerator list".

svn path=/trunk/libsvgtiny/; revision=9770

14 years agoRound stroke widths to nearest integer instead of down, and force to 1 if it would...
James Bursa [Sat, 28 Nov 2009 04:08:19 +0000 (04:08 -0000)]
Round stroke widths to nearest integer instead of down, and force to 1 if it would be rounded to 0.

svn path=/trunk/libsvgtiny/; revision=9707

14 years agoImplement <ellipse> element. Improve error handling for <circle>.
James Bursa [Sat, 28 Nov 2009 04:05:30 +0000 (04:05 -0000)]
Implement <ellipse> element. Improve error handling for <circle>.

svn path=/trunk/libsvgtiny/; revision=9706

14 years agoDespite M_PI being #defined in math.h, and math.h being #included, in certain
Chris Young [Sun, 22 Nov 2009 15:57:10 +0000 (15:57 -0000)]
Despite M_PI being #defined in math.h, and math.h being #included, in certain
circumstances it doesn't get #defined.  Catch this.

svn path=/trunk/libsvgtiny/; revision=9701

14 years agoAmigaOS4 standard library headers also create warnings
Chris Young [Sun, 22 Nov 2009 15:55:17 +0000 (15:55 -0000)]
AmigaOS4 standard library headers also create warnings

svn path=/trunk/libsvgtiny/; revision=9700

14 years agoChange svgtiny_display to build debug version.
James Bursa [Sun, 22 Nov 2009 13:33:11 +0000 (13:33 -0000)]
Change svgtiny_display to build debug version.

svn path=/trunk/libsvgtiny/; revision=9683

14 years agoStart implementing arcs in paths. Fix crash when an empty path has a gradient fill.
James Bursa [Sun, 22 Nov 2009 13:32:37 +0000 (13:32 -0000)]
Start implementing arcs in paths. Fix crash when an empty path has a gradient fill.

svn path=/trunk/libsvgtiny/; revision=9682

14 years agoFix svgtiny_display script to work with new makefiles.
James Bursa [Sun, 15 Nov 2009 23:02:06 +0000 (23:02 -0000)]
Fix svgtiny_display script to work with new makefiles.

svn path=/trunk/libsvgtiny/; revision=9676

14 years ago-Wextra is only understood by GCC 3.4.6 or later.
John Mark Bell [Fri, 6 Nov 2009 07:05:12 +0000 (07:05 -0000)]
-Wextra is only understood by GCC 3.4.6 or later.
It is a more descriptive synonym for -W.

Use -W instead which is understood by all common versions of GCC
(i.e. GCC 2.95 supports it, which is the oldest GCC version we have to support)

Additionally, conditionalise our -Werror usage on whether we're building for
BeOS/Haiku. On these platforms, the standard library headers result in warnings.
GCC 2 is quite happy to build this code on other platforms, so shouldn't be
the trigger for dropping -Werror (even if BeOS is the only target where GCC2 is
likely to be used).

svn path=/trunk/libsvgtiny/; revision=9670

14 years agoFix colour component macros on RISC OS.
John Mark Bell [Tue, 8 Sep 2009 10:06:33 +0000 (10:06 -0000)]
Fix colour component macros on RISC OS.

svn path=/trunk/libsvgtiny/; revision=9558

14 years agoSomething approximating a makefile for the test binary.
John Mark Bell [Mon, 24 Aug 2009 09:25:11 +0000 (09:25 -0000)]
Something approximating a makefile for the test binary.
pkg-config control file.

svn path=/trunk/libsvgtiny/; revision=9426

14 years agogperf -> .c rule. This isn't in the core buildsystem as nothing else requires this...
John Mark Bell [Mon, 24 Aug 2009 09:14:08 +0000 (09:14 -0000)]
gperf -> .c rule. This isn't in the core buildsystem as nothing else requires this. We can migrate it when needed.

svn path=/trunk/libsvgtiny/; revision=9425

14 years agoSquash warnings
John Mark Bell [Mon, 24 Aug 2009 08:21:22 +0000 (08:21 -0000)]
Squash warnings

svn path=/trunk/libsvgtiny/; revision=9423

14 years agoMissed makefile
John Mark Bell [Mon, 24 Aug 2009 08:10:34 +0000 (08:10 -0000)]
Missed makefile

svn path=/trunk/libsvgtiny/; revision=9422

14 years agoAdd libxml2 dep
John Mark Bell [Mon, 24 Aug 2009 08:10:18 +0000 (08:10 -0000)]
Add libxml2 dep

svn path=/trunk/libsvgtiny/; revision=9421

14 years agoBeginnings of port to core buildsystem
John Mark Bell [Mon, 24 Aug 2009 08:06:29 +0000 (08:06 -0000)]
Beginnings of port to core buildsystem

svn path=/trunk/libsvgtiny/; revision=9419

15 years agoPrefix build dirs with build- and svn ignore them. Simplify clean rule.
John Tytgat [Sun, 1 Feb 2009 17:57:22 +0000 (17:57 -0000)]
Prefix build dirs with build- and svn ignore them. Simplify clean rule.

svn path=/trunk/libsvgtiny/; revision=6336

15 years agoGCCSDK 4 build compatibility (not finished yet)
John Tytgat [Sun, 28 Sep 2008 20:35:57 +0000 (20:35 -0000)]
GCCSDK 4 build compatibility (not finished yet)

svn path=/trunk/libsvgtiny/; revision=5458

16 years agoAdd an overview of the library.
James Bursa [Sun, 4 May 2008 01:59:15 +0000 (01:59 -0000)]
Add an overview of the library.

svn path=/trunk/libsvgtiny/; revision=4122

16 years agoFix stroke widths.
James Bursa [Sun, 4 May 2008 00:24:50 +0000 (00:24 -0000)]
Fix stroke widths.

svn path=/trunk/libsvgtiny/; revision=4121

16 years agoAdd svgtiny_list and convert gradient plotting to use it.
James Bursa [Sun, 30 Mar 2008 01:14:46 +0000 (01:14 -0000)]
Add svgtiny_list and convert gradient plotting to use it.

svn path=/trunk/libsvgtiny/; revision=4062

16 years agoAdd scale argument to svgtiny_test and svgtiny_display.
James Bursa [Mon, 10 Mar 2008 04:45:21 +0000 (04:45 -0000)]
Add scale argument to svgtiny_test and svgtiny_display.

svn path=/trunk/libsvgtiny/; revision=3915

16 years agoWork on linearGradient attributes gradientUnits and gradientTransform. Adapt number...
James Bursa [Mon, 10 Mar 2008 04:43:44 +0000 (04:43 -0000)]
Work on linearGradient attributes gradientUnits and gradientTransform. Adapt number of segment steps depending on difference in gradient.

svn path=/trunk/libsvgtiny/; revision=3914

16 years agoMake it easier compilable in GCCSDK4's Autobuilder
John Tytgat [Sun, 9 Mar 2008 15:21:53 +0000 (15:21 -0000)]
Make it easier compilable in GCCSDK4's Autobuilder

svn path=/trunk/libsvgtiny/; revision=3906

16 years agoAdd support for x1, y1, x2, y2 attributes of linearGradient.
James Bursa [Tue, 19 Feb 2008 01:13:11 +0000 (01:13 -0000)]
Add support for x1, y1, x2, y2 attributes of linearGradient.

svn path=/trunk/libsvgtiny/; revision=3862

16 years agoLinear gradients, part 1.
James Bursa [Mon, 18 Feb 2008 20:47:03 +0000 (20:47 -0000)]
Linear gradients, part 1.

svn path=/trunk/libsvgtiny/; revision=3861

16 years agoScale stroke-width correctly.
James Bursa [Sun, 3 Feb 2008 21:50:32 +0000 (21:50 -0000)]
Scale stroke-width correctly.

svn path=/trunk/libsvgtiny/; revision=3841

16 years agoAdd install target.
James Bursa [Sun, 3 Feb 2008 19:10:05 +0000 (19:10 -0000)]
Add install target.

svn path=/trunk/libsvgtiny/; revision=3836

16 years agoUse BBGGRR instead of RRGGBB on RISC OS.
James Bursa [Sun, 3 Feb 2008 19:09:48 +0000 (19:09 -0000)]
Use BBGGRR instead of RRGGBB on RISC OS.

svn path=/trunk/libsvgtiny/; revision=3835

16 years agoAdd support for cross-compiling to RISC OS.
James Bursa [Sun, 3 Feb 2008 18:27:57 +0000 (18:27 -0000)]
Add support for cross-compiling to RISC OS.

svn path=/trunk/libsvgtiny/; revision=3831

16 years agoImplement svgtiny_free() and fix memory usage.
James Bursa [Sat, 2 Feb 2008 18:10:19 +0000 (18:10 -0000)]
Implement svgtiny_free() and fix memory usage.

svn path=/trunk/libsvgtiny/; revision=3825

16 years agoSVG code extracted from NetSurf into a standalone library.
James Bursa [Sat, 2 Feb 2008 17:47:18 +0000 (17:47 -0000)]
SVG code extracted from NetSurf into a standalone library.

svn path=/trunk/libsvgtiny/; revision=3824