Commit Graph

9 Commits

Author SHA1 Message Date
Vincent Sanders 78fd5ccbf6 fix new creating new window assert 2016-03-20 20:28:20 +00:00
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 0d811963c1 fixup all the remaining logging macro callsites
The semantic patch tool appears to have missed some difficult to
reason about callsites which have now been manually cleaned up
2015-05-28 17:06:18 +01: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 10f621441f Fix bounding on windows frontend window scrolling 2015-04-18 23:59:01 +01:00
Witold Filipczyk befa5e6ed3 To avoid namespace conflicts with ncurses add NetSurf key prefix.
Adds a NetSurf key code prefix of NS_ to all key codes.
2015-03-27 09:36:19 +00:00
Vincent Sanders 8525c857da Clean up more windows frontend issues and split out more functionality 2015-03-13 14:32:06 +00:00
Vincent Sanders a487f7e611 Move win32 window operations into their own module
This splits up a great deal of the win32 window code out from other
gui code. It also remove large quantities of unused and junk
variables and functions.
2015-03-12 23:48:53 +00:00
Vincent Sanders 2ca6e9a3e6 split out drawable window handling
extensive cleanups
fix localhistory

svn path=/trunk/netsurf/; revision=12153
2011-04-03 22:01:37 +00:00