Commit Graph

15 Commits

Author SHA1 Message Date
Vincent Sanders
c105738fa3 Change LOG() macro to be varadic
This changes the LOG macro to be varadic removing the need for all
callsites to have double bracketing and allows for future improvement
on how we use the logging macros.

The callsites were changed with coccinelle and the changes checked by
hand. Compile tested for several frontends but not all.

A formatting annotation has also been added which allows the compiler
to check the parameters and types passed to the logging.
2015-05-28 16:08:46 +01:00
Vincent Sanders
03abea12a7 fix errors introuced with previous header cleanup. 2014-11-02 20:39:15 +00:00
Vincent Sanders
3fa0ed01c0 add API to set DPI 2014-10-13 02:34:10 +01:00
Michael Drake
eddae6af06 Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Sven Weidauer
c9bc37f8bd Fix pixel alignment for rendering paths with stroke_width == 0.
svn path=/trunk/netsurf/; revision=11843
2011-02-27 14:15:56 +00:00
Sven Weidauer
8b1a36e2db Correctly centering lines on pixel grid if their width is even.
svn path=/trunk/netsurf/; revision=11823
2011-02-26 11:14:11 +00:00
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Sven Weidauer
28da79c796 Reorganized includes.
svn path=/trunk/netsurf/; revision=11567
2011-01-31 19:12:00 +00:00
Sven Weidauer
fd23621211 Changing Xcode project file to build using the Makefiles and fixed some warnings.
svn path=/trunk/netsurf/; revision=11558
2011-01-31 07:57:52 +00:00
Sven Weidauer
aa3fc46df5 Implemented resolution independence fot the TreeView and HistoryView and moved the coordinate transform function to their own header.
svn path=/trunk/netsurf/; revision=11513
2011-01-28 08:54:55 +00:00
Sven Weidauer
43d02a75ca Rendering end pixels of horizontal and vertical lines correctly.
svn path=/trunk/netsurf/; revision=11508
2011-01-27 12:23:55 +00:00
Sven Weidauer
3376f7f50f Implemented resolution-independent rendering for the browser view. Still needs to be implemented for the other views.
svn path=/trunk/netsurf/; revision=11507
2011-01-27 11:43:48 +00:00
Sven Weidauer
dd1e7b893b Activating (and fixing) more warnings in Xcode
svn path=/trunk/netsurf/; revision=11469
2011-01-23 19:32:56 +00:00
Sven Weidauer
5a259dadeb Implemented path plotter
svn path=/trunk/netsurf/; revision=11382
2011-01-19 10:20:44 +00:00
John Mark Bell
b58dcc351f Cocoa front end (credit: Sven Weidauer)
svn path=/trunk/netsurf/; revision=11292
2011-01-12 20:21:17 +00:00