Commit Graph

1814 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Chris Young
088c03a9b7 Reformat page after scrollbar add/remove 2014-10-25 15:47:05 +01:00
Chris Young
e22273c0ff Remove scrollbar for framesets too 2014-10-25 15:38:57 +01:00
Chris Young
8590780ff5 Avoid forward decl, add comments 2014-10-25 15:29:12 +01:00
Chris Young
90e6cf85b6 Toggle vscroll on/off as needed 2014-10-25 15:23:31 +01:00
Chris Young
f5d866ab70 Rename OID_VSCROLL to GID_VSCROLL and ensure it exists before referencing 2014-10-25 15:08:04 +01:00
Chris Young
6034e69ad1 Creat ehte kiosk window similar to the normal one 2014-10-25 14:41:10 +01:00
Chris Young
78a8f1d967 Remove TODO: LM_REMOVECHILD disposes the objects already. 2014-10-25 14:30:17 +01:00
Chris Young
f787b22594 Add a TODO, don't break kiosk window 2014-10-25 13:29:10 +01:00
Chris Young
f9ed0af8d8 Remove built-in window scrollbar and replace with a scroller.gadget.
The style does not match the window border so looks a bit odd.
2014-10-25 13:17:49 +01:00
Michael Drake
94f32b8369 Move create_form_select_menu to window gui table. 2014-10-24 20:45:21 +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
Vincent Sanders
56a5ad11f3 remove unecessary include of browser.h in amiga frontend 2014-10-17 23:18:58 +01:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +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
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
3fa0ed01c0 add API to set DPI 2014-10-13 02:34:10 +01:00
Vincent Sanders
265f63e679 remove use of deprecated netsurf_quit variable
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.

The Amiga maintainer probably wants to look at moving the ami_quit
signalling inside ami_handle_msg() to further reduce overhead.
2014-10-12 10:05:01 +01:00
Chris Young
ad22d5446c Add three languages which now have OS4 language drivers. 2014-10-03 17:55:43 +01:00
Chris Young
49fd5ea238 Correct Lock() parameter 2014-09-29 19:01:25 +01:00
Chris Young
e994704d5c void function 2014-09-20 13:44:28 +01:00
Chris Young
1b2225ea07 Move log init so it starts earlier 2014-09-20 13:38:38 +01:00
Chris Young
9e6b0fb8b0 Adjust min stack to 96K following evaluation. 2014-09-07 14:09:11 +01:00