Commit Graph

10673 Commits

Author SHA1 Message Date
Vincent Sanders
3b4dea6241 Update framebuffer frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders
f97c0109a6 Update gtk frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders
781d22892b Update monkey frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders
f0a4422701 Update windows frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders
ac70da346c Update the RISC OS frontend to cope with split operations table headers 2014-10-16 22:33:44 +01:00
Vincent Sanders
d06df231bc Update the core to use the split operations table headers
Second in the series to decouple the core API usage from the frontends.
2014-10-16 22:33:43 +01:00
Vincent Sanders
ab7f3e3180 Split up graphical user interface operations table headers
This is the initial part of a series which splits up the API interface
definitions for the frontends removing a great deal of unnecessary file
inclusion and further isolates the fronted API usage from the core
2014-10-16 22:33:43 +01:00
Michael Drake
9d3c2b18c4 Remove some bw derefs. 2014-10-16 22:23:46 +01:00
Michael Drake
e546e03895 Avoid a bw deref. 2014-10-16 22:06:32 +01:00
Michael Drake
588b374e18 Browser window isn't available directly here. 2014-10-16 21:35:59 +01:00
Michael Drake
d9e5f5f0a6 Avoid dealing with hlcache_handle in key handling. 2014-10-16 21:30:27 +01:00
Michael Drake
ecd7cb8ca3 Simplify window closing buy user proper browser_window API. 2014-10-16 21:21:53 +01:00
Michael Drake
8ac1a88589 Cocoa front end calls bw browser. 2014-10-16 14:51:24 +01:00
Michael Drake
a4554d93bc Attempt Objective-C fix. 2014-10-16 14:45:26 +01:00
Michael Drake
4ba7ae1d82 Fix with ugly -- but commented -- hack. 2014-10-16 14:35:57 +01:00
Michael Drake
63645c4c32 Fix core create_form_select_menu API to pass gw, rather than bw out to front ends. 2014-10-16 12:39:31 +01:00
Michael Drake
f4bac1e7df Remove unused global. 2014-10-16 12:23:04 +01:00
Michael Drake
1b7ce53aad Remove seemingly unused global. 2014-10-16 12:21:37 +01:00
Michael Drake
f87d1a79b4 Remove seemingly unused global. 2014-10-16 12:07:39 +01:00
Michael Drake
cb54fc6ed2 Don't pass browser_window around for select menu handling.
It was only needed to access gui_window, so just padd gui_window.
2014-10-16 12:05:18 +01:00
Michael Drake
925082cbe1 Update the correct favicon setter to take gui_window. 2014-10-16 09:34:27 +01:00
Michael Drake
b4b97d9003 Chage favicon set APIs to take gui_window rather than hlcache_handle.
Let the front end pass its own types around, rather than core ones.
This removes one "bw->current_content" from window.c.

Now the current content is only accessed where its needed, in the
favicon handler, and it is accessed via the appropriate API.
2014-10-16 09:22:05 +01:00
Michael Drake
cb976f24c7 Really fix error. 2014-10-15 22:13:48 +01:00
Michael Drake
03e32089fb Fix error. 2014-10-15 22:09:49 +01:00
Michael Drake
b7deca9296 Don't dereference bw to get window scale. 2014-10-15 22:04:31 +01:00
Michael Drake
c2f2076efe Don't include browser_private. 2014-10-15 21:36:25 +01:00
Michael Drake
2f4d120421 Use API to get window extents. 2014-10-15 21:35:14 +01:00
Michael Drake
6548f753a5 Don't need content to window conversion. 2014-10-15 21:28:40 +01:00
Michael Drake
24a2c54ec8 There's no reason to connect thumbnails with windows. 2014-10-15 21:26:38 +01:00
John-Mark Bell
b2242c57e1 HTTPS: disable all SSL versions; emit fallback SCSV on downgrade.
This removes all support for SSL and (with help from servers that
support the fallback SCSV) protects against inappropriate protocol
downgrade.
2014-10-15 12:02:25 +01:00
Michael Drake
11faa1cef8 Remove trailing whitespace. 2014-10-15 09:35:43 +01:00
Michael Drake
ac98c6f815 Remove trailing whitespace. 2014-10-15 09:33:54 +01:00
Vincent Sanders
30f118a86d remove unecessary css includes from fronetends 2014-10-13 15:45:51 +01:00
Vincent Sanders
02bbaa3e88 split version info into its own header and remove unnecessary nesurf.h includes
The netsurf.h header should *only* contain the registration, core
initialisation and finalisation methods. Version information is best
placed in its own header.

Also remove any unneeded inclusion of this header limiting it to
solely the places the relevant API is required.
2014-10-13 15:08:16 +01:00
Vincent Sanders
fa8d690005 remove unused include 2014-10-13 13:38:08 +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
Vincent Sanders
33c6073dbe remove unecessary css include 2014-10-13 08:09:25 +01:00
Vincent Sanders
1bbc9a485e remove unecessary includes 2014-10-13 08:07:58 +01:00
Vincent Sanders
3fa0ed01c0 add API to set DPI 2014-10-13 02:34:10 +01:00
Vincent Sanders
bfc7552d8d remove netsurf_poll callback and netsurf main loop 2014-10-13 01:18:19 +01:00
Vincent Sanders
d0655bafc2 remove use of deprecated netsurf_quit variable in riscos
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-13 00:56:09 +01:00
François Revol
34fdedba78 remove use of deprecated netsurf_quit variable in beos
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-13 01:15:44 +02:00
Vincent Sanders
a726860d4e remove use of deprecated netsurf_quit variable in cocoa
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-12 23:35:09 +01:00
Vincent Sanders
21f8f8170a remove use of deprecated netsurf_quit variable in monkey
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-12 21:18:17 +01:00
Vincent Sanders
4dd5a9c114 set defaults for cookie and url database 2014-10-12 20:40:40 +01:00
Vincent Sanders
aca826ef69 fix typo in netsurf_quit rework 2014-10-12 13:03:16 +01:00
Vincent Sanders
0c7c4173c2 remove use of deprecated netsurf_quit variable in win32
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.
2014-10-12 11:08:01 +01:00
Vincent Sanders
685e4a7fc5 remove use of deprecated netsurf_quit variable
The core no longer needs to run the event polling loop as fetches are now
scheduler driven. This is part of a series which will ultimately remove
netsurf_poll callback altogether.

The Atari maintainer probably wants to look at moving the ami_quit
handling inside atari_poll() to further reduce overhead.
2014-10-12 10:44:05 +01:00
Vincent Sanders
521d1824cf whitespace and documentation cleanups 2014-10-12 10:35:56 +01:00
Vincent Sanders
09509a9095 Some minor documentation cleanups to reduce doxygen warnings 2014-10-12 10:35:23 +01:00