Commit Graph

9 Commits

Author SHA1 Message Date
Vincent Sanders
612100bd1a make local history navigation return errors
The local history interface now reports errors to its callers isntead
of inconsistantly waning the user occasionally on error.

The documentation comemhts were also updated to match reality
2014-10-30 22:21:36 +00:00
Vincent Sanders
8947af72ce make history update return error code.
This now returns errors instead of failing and inconsistantly calling
user warnings for some error paths.
2014-10-29 23:15:51 +00:00
Vincent Sanders
b1ee46cfb3 make adding a history entry return an error code.
This returns the error code to the caller instead of (sometimes)
warning the user directly.
2014-10-29 22:47:25 +00:00
Vincent Sanders
a221fa7213 Ensure browser window creation returns errors from common initialisation.
The browser window common initialisation code returns error codes which
were being ignored. The errors were additionally being reported via
warn_user in inappropriate places within browser history construction.
2014-10-29 22:29:06 +00:00
Michael Drake
376c96831d Don't try to draw NULL history. 2014-10-18 10:31:47 +01:00
Vincent Sanders
17be8cf216 Put the font operations table alongside all the other core API
The netsurf core is driven from numerous operation tables most of
which are now set through a common netsurf_register() interface. The
font and plotting interfaces are currently separate and unlike all the
other operation tables are modified for differing contexts.

This change moves the font operations alongside all the other
operations table and remove unnecessary interaction with the renderers
font internals. Further this also removes the need for css internals
to be visible in frontends.
2014-10-13 11:56:31 +01:00
Michael Drake
32a522241f Rename function arguments to avoid using 'new'. 2014-02-19 14:08:52 +00:00
Michael Drake
b99357616c Fix unchecked return. Coverity #1175740. 2014-02-17 12:31:02 +00:00
Michael Drake
a38a63a37e Make history internal to browser_window module. 2014-02-15 18:44:50 +00:00