Commit Graph

44 Commits

Author SHA1 Message Date
Niklas von Hertzen
9a57a08c72 Refactoring logging and gradients 2013-08-06 18:55:04 +03:00
Niklas von Hertzen
2bb926c7d0 Fix webkit-gradient() parsing 2013-01-11 20:31:34 +02:00
Andy Edinborough
3edf9fa743 Merge remote-tracking branch 'niklasvh/develop' into develop
Conflicts:
	src/Parse.js
	src/Preload.js
2013-01-03 15:07:38 -06:00
Niklas von Hertzen
053a0a4787 switched background rendering to use patterns 2013-01-03 22:25:35 +02:00
Andy Edinborough
7e38df782c don't generate gradient on invisible elements 2012-12-28 16:52:48 -06:00
Niklas von Hertzen
084bf4b039 Switched build process to use grunt 2012-11-25 20:59:31 +02:00
Benjamin Lupton
1059314258 Added a sublime-project file for Sublime Text 2 that contains the detected linting and standards set. Allows Sublime Text 2 to automatically follow the standards and have live linting enabled. Trimmed useless whitespace. 2012-05-29 11:26:26 +10:00
André Fiedler
106b5ff214 "fixed circle gradient generation - image loading bug" 2012-03-11 17:12:24 +00:00
André Fiedler
d1dec8712e "added ellipse background gradient generation" 2012-03-10 15:31:16 +00:00
André Fiedler
fe4d2c5b81 "added TODO" 2012-03-10 14:28:09 +00:00
André Fiedler
6cf3d36624 "added TODO" 2012-03-09 23:27:22 +00:00
André Fiedler
4dc4132818 "removed TODO" 2012-03-09 23:26:23 +00:00
André Fiedler
1ab9941df6 "big performance boost ;o)" 2012-03-09 23:23:17 +00:00
André Fiedler
0fc5f643ba "cleanup" 2012-03-09 23:20:46 +00:00
André Fiedler
c7995061c9 "added TODO" 2012-03-09 23:11:01 +00:00
André Fiedler
12cf519e37 "some cleanup" 2012-03-09 23:09:16 +00:00
André Fiedler
40bce5e84c "added -o-radial-gradient support" 2012-03-09 23:05:42 +00:00
André Fiedler
0556892e12 "added -moz-radial-gradient support" 2012-03-09 22:58:32 +00:00
André Fiedler
155ad45292 "added -webkit-radial-gradient support" 2012-03-09 22:20:34 +00:00
André Fiedler
6390c1c7ac "center gradient BugFix" 2012-03-07 18:20:09 +00:00
André Fiedler
a0b498fbf5 "added TODO" 2012-03-06 21:50:09 +00:00
André Fiedler
cde96bb17e "added TODO´s" 2012-03-06 21:45:38 +00:00
André Fiedler
57bff5292d "added contributors" 2012-03-06 21:41:22 +00:00
André Fiedler
82446ee3c3 "cleanup" 2012-03-06 21:36:29 +00:00
André Fiedler
ffd998b015 "-o-linear-gradient parsing" 2012-03-06 21:26:43 +00:00
André Fiedler
51b2c01b0c "-moz-linear-gradient parsing" 2012-03-06 21:11:01 +00:00
André Fiedler
f387267c0f "TODO: implement radial gradient generation" 2012-03-05 23:22:01 +00:00
André Fiedler
163219b656 "added -webkit-gradient parsing + tests" 2012-03-05 23:03:36 +00:00
André Fiedler
a4f13de455 "renamed getColorStopsFromGradient to parseGradient" 2012-03-05 22:21:28 +00:00
André Fiedler
75ba867988 "added tests for getColorStopsFromGradient" 2012-03-05 21:04:25 +00:00
André Fiedler
ae8d499942 "small bugfix" 2012-03-05 19:37:54 +00:00
André Fiedler
e479c952f7 "added another background gradient to backgrounds.html" 2012-03-05 19:33:52 +00:00
André Fiedler
6637ba1bd7 "-webkit-linear-gradient color stops and rendering" 2012-03-05 19:20:44 +00:00
Niklas von Hertzen
4579fb25c6 removed jQuery.css dependancy and few general CSS bug fixes 2012-03-03 19:18:39 +02:00
Niklas von Hertzen
0b065ad5d8 bug fixes 2012-03-02 21:53:20 +02:00
Niklas von Hertzen
c7d526c9ea simplified API and cleaned up code 2012-03-02 18:05:03 +02:00
Obexer Christoph
c24223ca85 renamed html2canvas.log to h2clog (minifies better)
renamed the html2canvas.canvasContext to h2cRenderContext,
it's used by both backends and thus not canvas specific
2012-02-26 22:57:22 +01:00
Obexer Christoph
594f735d29 faster imeplementation of 0d370d09f
also added try/catch around that addColourStop call
because trowing an exception and failing to finish
the rendering is not nice...
2011-12-21 23:06:09 +01:00
Guido Tapia
0d370d09fb This fixes an exception when trying to parse gradient like: 'rgb(254, 254, 254) 0%, rgb(236, 236, 236) 100%'
Note: This does not parse the % which would be good to delineate steps correctly, just a fix for an Exception.
2011-12-07 09:53:40 +11:00
Obexer Christoph
16c74d1f8c Improve build system: read version from version.txt, fix build without compiler
* read the version from version.txt
 * set default target to build
 * added dependencies to all targets
 * allow the build to run without a local copy of the closure compiler
 * updated license header with @VERSION@ which will be replaced during the build
 * added the license header to all files (that one will be stripped out by the closure compiler)
2011-11-16 00:36:06 +01:00
Niklas von Hertzen
a75f41c076 Merge remote branch 'upstream/master' 2011-09-13 17:09:42 +03:00
Niklas von Hertzen
6dfb5299c9 Added list support 2011-09-13 17:09:33 +03:00
The Brain
52150b09cd Fixed webkit-gradient regular expr 2011-09-13 09:59:12 +03:00
Niklas von Hertzen
6fe3218b50 Added some support for CSS gradients (by cthackers) 2011-09-12 23:50:43 +03:00