Commit Graph

10801 Commits

Author SHA1 Message Date
Chris Young
36a3e58c06 Expand status bar to entire window width 2014-10-26 17:00:18 +00:00
Chris Young
340d74ae4f Make the new hscroller work properly 2014-10-26 16:42:00 +00:00
Chris Young
80b195cdd5 Move the hscrollbar inside the window 2014-10-26 16:35:05 +00:00
Chris Young
17b87a60cf Offset new windows as per style guide 2014-10-26 16:12:34 +00:00
Chris Young
0c77d85f89 Make window counting a generic function 2014-10-26 15:41:44 +00:00
Chris Young
b751513d6f Schedule redraws for 1cs to ensure they take place after reformats (which are scheduled by the core for 0cs) 2014-10-26 13:22:02 +00:00
Chris Young
a01cb0f635 Don't need redraw_scheduld as the scheduler stops it being scheduled twice anyway 2014-10-26 13:18:19 +00:00
Chris Young
69c7b6b1f5 Fix button update, avoid forward decl 2014-10-26 13:11:05 +00:00
Vincent Sanders
14e2829489 remove the die API from the core.
The die() API for abnormal termination does not belong within the core
of netsurf and instead errors are propogated back to the callers.

This is the final part of this change and the API is now only used within
some parts of the frontends
2014-10-26 12:42:53 +00:00
Michael Drake
a913af5cf5 Fix url variable name. 2014-10-26 10:30:22 +00:00
Michael Drake
2da8ef3e83 Add missed semicolon, and ensure nsurl is unreffed. 2014-10-26 10:25:31 +00:00
Michael Drake
64d591676b Remove unused url_components stuff. 2014-10-26 10:23:28 +00:00
Michael Drake
1ccfcfe953 Remove unused url_path function. 2014-10-26 10:21:27 +00:00
Michael Drake
b16038cb1e We have all the schemes as interned strings, so compare them instead of strncasecmp. 2014-10-26 10:18:40 +00:00
Michael Drake
d732b0c769 Remove unused url_scheme function. 2014-10-26 10:18:39 +00:00
Michael Drake
f7781a8778 Don't need url.h 2014-10-26 10:18:39 +00:00
Michael Drake
87b1da5921 Use nsurl to extract scheme. 2014-10-26 10:18:31 +00:00
Vincent Sanders
e39606c411 make regex wrapper return errors instead of just aborting 2014-10-25 23:07:00 +01:00
Vincent Sanders
df89f689f7 make the pseudo css fetcher report initialisation errors 2014-10-25 23:07:00 +01:00
Chris Young
49873c8bf3 Cache size gadget width 2014-10-25 20:17:33 +01:00
Chris Young
d89f654fbe Correct comment 2014-10-25 20:08:56 +01:00
Chris Young
a2e999584c Use the correct size gadget width (thx tboeckel) 2014-10-25 20:07:58 +01:00
Chris Young
41b08da31a Check scroller requirement after a resize 2014-10-25 20:03:14 +01:00
Chris Young
b2ff4877e4 Remove the vertical scroll bar if there's nothing to scroll 2014-10-25 19:59:11 +01:00
Chris Young
7e95b7ffb1 Remove some old VertProp tags 2014-10-25 19:29:51 +01:00
Chris Young
b7b4db8520 Merge branch 'chris/shorter-vscrollbar'
Move the vertical scroller into the window area and allow it to be removed when eg. framesets are being displayed.
2014-10-25 19:27:40 +01:00
Chris Young
d31aa9a959 Use more sensible default value for size gadget width 2014-10-25 19:24:58 +01:00
Vincent Sanders
53f0f432dd update fetcher registration API to return an error code.
By using an error code return we can gracefully handle fetcher
registration faliures instead of just immediately aborting.

The curl handler was also cleaned up and documentation improved
as a side effect.
2014-10-25 17:15:23 +01:00
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
Chris Young
2ad41a78c4 Returns bool, not void 2014-10-25 15:52:10 +01:00
Chris Young
8d930afb3d Reduce code duplication 2014-10-25 15:49:42 +01:00
Michael Drake
434d6a49a9 Doesn't look like browser window internals are used here. 2014-10-25 15:47:14 +01:00
Chris Young
088c03a9b7 Reformat page after scrollbar add/remove 2014-10-25 15:47:05 +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
Chris Young
e22273c0ff Remove scrollbar for framesets too 2014-10-25 15:38:57 +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
Chris Young
8590780ff5 Avoid forward decl, add comments 2014-10-25 15:29:12 +01:00
Michael Drake
030c18d0df Doesn't look like browser window internals are used here. 2014-10-25 15:25:36 +01:00
Chris Young
90e6cf85b6 Toggle vscroll on/off as needed 2014-10-25 15:23:31 +01:00
Michael Drake
3d52312d96 BeOS front end doesn't need browser_private any more. 2014-10-25 15:09:41 +01:00