Michael Drake
ffd197b848
Any top level window border is entierly up to the front end.
2014-10-23 09:28:53 +01:00
Michael Drake
e329e3c03a
Ensure correct initial scale.
2014-10-22 21:02:29 +01:00
Michael Drake
ea851ba788
Keep throbber status in the gui_window.
2014-10-18 21:14:07 +01:00
Michael Drake
efb009988e
Fix typo.
2014-10-18 20:09:37 +01:00
Michael Drake
d1903a90d6
Need to use API for content.
2014-10-18 19:59:05 +01:00
Michael Drake
6f26fa421e
Use proper content aquisution API.
2014-10-18 19:54:36 +01:00
Michael Drake
6186d791d2
More conversion to use proper browser_window API.
2014-10-18 19:52:13 +01:00
Michael Drake
5a9660e86a
Use API instead of dereffing bw.
2014-10-18 19:47:20 +01:00
Michael Drake
0666fcc742
Use can_select, rather than using insider knowledge of contents.
2014-10-18 18:54:36 +01:00
Michael Drake
8dea0fe894
Shouldn't need to have "insider knowledge" of contents. Use the bw API.
2014-10-18 18:25:23 +01:00
Michael Drake
94e2b8cbb5
Remove redundant declaration of gui.
2014-10-18 18:17:46 +01:00
Michael Drake
38cd1e1fd7
Replace a browser_window deref with browser_window_has_content()
2014-10-18 18:11:48 +01:00
Michael Drake
6d0746987d
Use core API to acquire content, rather than poking inside the bw.
2014-10-18 18:01:39 +01:00
Michael Drake
2f67de6889
It's silly to pass private core data around the front end, then fish out the frond then data from there, so don't.
2014-10-18 17:56:45 +01:00
Michael Drake
b727c31de7
Avoid need for hlcache_handle by using browser APIs.
2014-10-18 17:52:19 +01:00
Michael Drake
62395c1186
Avoid dereffing bw for content check in page info handler.
2014-10-18 17:47:09 +01:00
Michael Drake
7cb2f1c41e
Avoid dereffing bw when bw's page is removed from bookmarks.
2014-10-18 17:45:58 +01:00
Michael Drake
fdf5fb42d1
Avoid bw derefs when adding bw's page to bookmarks.
2014-10-18 17:44:28 +01:00
Michael Drake
15883a3147
Use core searchability test function.
2014-10-18 17:40:21 +01:00
Michael Drake
10154d0e18
Don't check for bw having history; its not our business.
2014-10-18 10:32:24 +01:00
Michael Drake
38483a9aa5
Avoid bw derefs in ro_gui_window_action_new_window
2014-10-18 10:19:20 +01:00
Michael Drake
34cdbcfc25
Move up_available fn to core.
2014-10-18 10:16:00 +01:00
Vincent Sanders
1097cc40b4
remove unecessary browser.h include from core headers
2014-10-17 12:21:52 +01:00
Michael Drake
5de59fba24
Remove unused variable.
2014-10-17 11:54:58 +01:00
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
Vincent Sanders
388122d7e9
fix warnings and remove unecessary css include
2014-10-17 00:37:12 +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
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
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
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
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
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
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
Michael Drake
31526e9bc6
Remove pointless strdup/free.
2014-09-07 11:12:49 +01:00
Michael Drake
253475f304
GUI launched fetches are verifiable. Thanks to jmb.
2014-09-07 11:03:21 +01:00
Vincent Sanders
1f341ed084
Correctly declare function as static and fix documentation
2014-09-07 00:31:46 +01:00
Vincent Sanders
55558579e2
Add missing includes to get rid of warnings
2014-09-07 00:27:30 +01:00
Vincent Sanders
4f530a3f8f
Pull warning flags out into variables that can be overriden seperately for C and C++
2014-09-05 16:01:44 +01:00