Commit Graph

10762 Commits

Author SHA1 Message Date
Vincent Sanders
7cf5cf7cb7 fix doc comments 2014-10-25 17:12:16 +01:00
Michael Drake
503da8f3f6 Try doxygen todo format. 2014-10-25 16:32:13 +01:00
Chris Young
fa7d44702a Fix warnings 2014-10-25 16:22:28 +01:00
Chris Young
4541d15437 Fix warnings 2014-10-25 16:22:28 +01:00
Michael Drake
cf199105c5 Shouldn't need bw internals now. 2014-10-25 16:12:16 +01:00
Michael Drake
6e3a6b37e0 Attempt to avoid using bw internals.
There are so many levels of windows here, that this could well be
broken, as its rather confusing.
2014-10-25 16:10:49 +01:00
Michael Drake
65b4c2f86a Shouldn't need bw internals now. 2014-10-25 16:05:13 +01:00
Michael Drake
720579e110 Don't access bw internals. 2014-10-25 16:04:43 +01:00
Michael Drake
6823d229ea Reduce usage of bw internals. Add some TODOs for m0n0 to look at. 2014-10-25 15:58:39 +01:00
Michael Drake
434d6a49a9 Doesn't look like browser window internals are used here. 2014-10-25 15:47:14 +01:00
Michael Drake
93e3d84b98 Use API to test for bw content. 2014-10-25 15:44:50 +01:00
Michael Drake
c4829ca636 Initial bw scale comes from core. 2014-10-25 15:43:41 +01:00
Michael Drake
a96ba0369c Shouldn't need browser window internals now. 2014-10-25 15:37:03 +01:00
Michael Drake
dd59552f6e Attempt to remove dependancy of search implementation on bw internals. 2014-10-25 15:34:22 +01:00
Michael Drake
030c18d0df Doesn't look like browser window internals are used here. 2014-10-25 15:25:36 +01:00
Michael Drake
3d52312d96 BeOS front end doesn't need browser_private any more. 2014-10-25 15:09:41 +01:00
Michael Drake
b6d708865d Use API to get window extents. 2014-10-25 15:08:36 +01:00
Michael Drake
feb5cd04e4 Use API to test for browser window having a content. 2014-10-25 15:03:12 +01:00
Michael Drake
981e80c2ad Don't need access to content here. 2014-10-25 15:01:42 +01:00
Michael Drake
7f6024ed9a No need to log window target name. 2014-10-25 14:59:58 +01:00
Michael Drake
423ead2f77 Don't get content when its not needed. 2014-10-25 14:58:37 +01:00
Michael Drake
76a6f4d39f Cache scale in gui_window. 2014-10-25 14:56:49 +01:00
Michael Drake
967e5785f6 Doesn't look like this file uses browser window internals. 2014-10-25 13:11:10 +01:00
Michael Drake
5a8a97b324 Shouldn't need bw internals now. 2014-10-25 13:09:55 +01:00
Michael Drake
b40830bd3e Use API to access content for view source. 2014-10-25 13:08:28 +01:00
Michael Drake
b0509c6545 Fix and improve comment for browser_window_get_scrollbar_type(). 2014-10-25 13:01:43 +01:00
Vincent Sanders
94ab63319f Improve the message loading API to return error codes.
Returning an error instead of simply calling die allows more robust
error handling. Secondly initialisation may continue even if the
messages have not been loaded which is more friendly than simply
dropping dead with no communication to the user.
2014-10-25 12:45:32 +01:00
Michael Drake
808783c2eb Throbber code was doing mad things with browser windows. 2014-10-25 12:14:36 +01:00
Michael Drake
591cc91db8 Don't need browser_private in the RISC OS front end any more. 2014-10-25 12:06:52 +01:00
Michael Drake
2bf36893bc Use core browser window scrollbar type function instead of dereffing bw. 2014-10-25 12:04:51 +01:00
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