Commit Graph

12 Commits

Author SHA1 Message Date
Vincent Sanders
d15ab96a51 Fix size_t printf formatting
The printf formatting for size_t is set in c99 as %zu but in windows
it is %Iu this is solved by adding and inttypes style PRI macro for size_t

This also uses this macro everywhere size_t is formatted.
2016-03-17 22:00:54 +00:00
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
2df03e2d85 Convert windows to use the bitmap render interface 2015-04-24 15:29:10 +01:00
Vincent Sanders
5c7e8618d5 Convert windows frontend to using bitmap operation table 2015-04-15 22:40:36 +01:00
Vincent Sanders
7a28131e49 Fix win32 frontend bitmap creation with flags
The windows win32 frontend bitmap creation was ignoring the creation
flags, specifically those related to bitmap opacity so was plotting
images as transparent even if they had no alpha channel values set.
2015-04-12 22:45:32 +01:00
Vincent Sanders
9fde3502b6 doxygen cleanups in utils 2014-11-12 23:27:13 +00:00
Michael Drake
d88a839937 Remove suspension of bmp/gif images. It's completely redundant with the convert on demand core image cache. 2012-10-14 20:03:18 +01:00
Vincent Sanders
d6b293001d fix build warnings 2012-08-10 22:23:22 +01:00
Vincent Sanders
b925439a14 rationalise windows resource script
make window options dialog into a property sheet

svn path=/trunk/netsurf/; revision=11929
2011-03-06 23:27:09 +00:00
Vincent Sanders
83e6c1ba57 fix bitmap plotting
svn path=/trunk/netsurf/; revision=10882
2010-10-13 20:29:30 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Vincent Sanders
55162445db Add Windows frontend
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00