Commit Graph

10882 Commits

Author SHA1 Message Date
Michael Drake
eed2a97eca Add bw function to get scrollbar type. 2014-10-25 12:04:11 +01:00
Michael Drake
af3cb6bf94 Use browser_window_is_frameset instead of dereffing bw. 2014-10-25 12:02:36 +01:00
Michael Drake
eea369afe7 Add function to find if a bw is a frameset. 2014-10-25 12:00:34 +01:00
Michael Drake
ff72d58f60 Move browser_window_get_root to private header. 2014-10-25 11:31:40 +01:00
Michael Drake
f7f21096b3 Move browser_window_set_status to private header. 2014-10-25 11:29:31 +01:00
Michael Drake
f1066f3a56 Doesn't look bw internals are used here. 2014-10-24 21:18:02 +01:00
Michael Drake
58c0fe8cc7 Don't take core/front-end choice away from user. 2014-10-24 21:03:21 +01:00
Michael Drake
94f32b8369 Move create_form_select_menu to window gui table. 2014-10-24 20:45:21 +01:00
Michael Drake
69e82a8966 Ensure we pass valid gw to gadget click gui call.
Only root bw has a gw, so this would have been broken when it
happened in a frameset.
2014-10-24 20:18:57 +01:00
Michael Drake
b27f3e5ac4 Open select menu via content msg, instead of breaking encapsulation.
Fixes bw deref and browser_private.h #include in render/
2014-10-24 17:57:15 +01:00
Michael Drake
197f6e34f8 Fix wrap. 2014-10-24 10:30:23 +01:00
Michael Drake
3afc4098c7 Squash redefinition of typedef Clang warning.
Clang gave warning:
    redefinition of typedef 'fbtk_widget_t' is a C11 feature
    [-Wtypedef-redefinition]

Thanks to Christian Lepper.

      ML: netsurf-dev
  Thread: New User - Hello to all - some Ideas concerning Netsurf for arm
2014-10-24 09:49:37 +01:00
Chris Young
7cfec69700 Ensure the throbber is stopped when destroying a gui_window. Fixes 2205. 2014-10-23 18:48:31 +01:00
Chris Young
d38f07cc04 Use url_nice to generate the initial filename for save requesters.
Note: We always strip the extension (AmigaOS doesn't need it anyway), which might not necessarily be what you want.
2014-10-23 18:42:07 +01:00
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
aba9fc342e Add missing simlinks. 2014-10-22 20:53:09 +01:00
Michael Drake
6b846c363d Add trivial maps facilitator at about:maps
This is a simple HTML front end for the Google Static Maps API, since
we don't yet have enough JS support for the full Google Maps.

See:
  https://developers.google.com/maps/documentation/staticmaps/
2014-10-22 20:42:21 +01:00
Vincent Sanders
dc5deb26b1 improve documentation and whitespace cleanup. 2014-10-19 21:49:46 +01:00
Vincent Sanders
5ef5ff6a07 stop dereferencing browser private data in atari gui 2014-10-19 19:21:00 +01:00
Vincent Sanders
1180d19324 improve documentation in headers 2014-10-19 19:12:55 +01:00
Vincent Sanders
686fd09ad8 fix cocoa browser private dereferences 2014-10-19 01:54:16 +01:00
Vincent Sanders
6b36990787 improve cocoa frontend to use proper API for browser_window access 2014-10-19 01:38:05 +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
85fb1fd45d Add is_selectable to browser window API surface. 2014-10-18 18:53:50 +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
03e7605bcf Add call to test whether a browser window may be searched. 2014-10-18 17:39:03 +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
376c96831d Don't try to draw NULL history. 2014-10-18 10:31:47 +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
56a5ad11f3 remove unecessary include of browser.h in amiga frontend 2014-10-17 23:18:58 +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
Vincent Sanders
56731e1dbb remove all unecessary desktop/browser.h includes 2014-10-17 10:49:24 +01:00