Commit Graph

10882 Commits

Author SHA1 Message Date
Michael Drake
057e435b28 s/error/err/ 2014-10-17 10:06:08 +01:00
Michael Drake
8e880ccda5 Use core's navigate_up function. 2014-10-17 10:02:03 +01:00
Michael Drake
7519993fd7 Add core function to navigate to URL parent. 2014-10-17 09:51:10 +01:00
Vincent Sanders
7a6faf4199 reduce uncesessary inclusion of browser.h and browser_private.h 2014-10-17 09:27:58 +01:00
Vincent Sanders
388122d7e9 fix warnings and remove unecessary css include 2014-10-17 00:37:12 +01:00
Vincent Sanders
73eb9f49b5 update cocoa frontend to cope with split operation tables 2014-10-16 23:25:28 +01:00
Vincent Sanders
f502ca3e69 update beos frontend to cope with updated operation table 2014-10-16 23:25:22 +01:00
Vincent Sanders
19c26ca182 update atari includes to accomodate gui operation table refactor 2014-10-16 22:33:44 +01:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
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