Commit Graph

118 Commits

Author SHA1 Message Date
Chris Young
eb366fa0d8 Correct checkbox logic 2015-09-05 15:53:21 +01:00
Chris Young
6a00255855 Enable control of core/popupmenu select menus in the prefs GUI.
This at least gives the option for people who prefer the popupmenu-based selection menus to easily switch back to the core ones when the options don't all fit on the screen (as popupmenu can't scroll).
2015-09-05 15:37:34 +01:00
Chris Young
63227a214b Rename context_menu.c and strip out all the context menu code, so this file and popupmenu.class is only used (optionally) for HTML form selection. 2015-09-05 15:09:00 +01:00
Chris Young
beb5b9a542 Remove a double free and re-arrange to stop referencing a freed pointer. 2015-08-15 14:25:50 +01:00
Chris Young
ff1de89976 Fix options clicktab creation on OS3
None of the rest of this GUI creates properly yet.
2015-08-15 14:11:30 +01:00
Chris Young
3b9a913125 Permanently enable display of the "enable javascript" UI options 2015-08-09 14:22:29 +01:00
Chris Young
3a5907c1c4 Move everything else over to using the class pointers.
Exception: popupmenu.class is still using old _GetClass functions.
2015-01-26 00:05:01 +00:00
Chris Young
4f98fd5925 Add missing headers 2015-01-20 20:51:52 +00:00
Chris Young
69075f1c57 Fixup gui_options.c for OS3 2015-01-18 18:53:41 +00:00
Michael Drake
c3ae0c0699 Should be able to switch to public bw header now. 2014-11-21 09:28:37 +00:00
Michael Drake
8fc7da72c6 Use browser_window_get_url, instead of fishing content out of bw and getting URL from that. 2014-11-21 09:28:37 +00:00
Chris Young
0966b8097c Allocate screen title when first needed and keep it private to amiga/gui.c 2014-11-16 16:40:41 +00:00
Chris Young
6ce6b9ae97 Replace curbw (current browser_window, used mostly for ARexx support) with cur_gw (current gui_window) 2014-11-16 16:01:59 +00:00
Chris Young
c62f967935 Fix warnings 2014-11-09 19:37:35 +00:00
Chris Young
c637cd04b1 Don't crash if download dir not set 2014-11-04 18:33:44 +00:00
Chris Young
4b941297aa If the initial download dir is changed, update requesters immediately to use that as the next location. 2014-10-28 20:27:14 +00:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Chris Young
3de529d815 Change the search ico to be a chooser gadget with the icon as the display 2014-06-15 15:39:49 +01:00
Chris Young
d552865da1 Use search provider iterator.
Use a List instead of an array as it is more flexible
2014-06-15 14:56:09 +01:00
Vincent Sanders
8e29e517d5 fix disc cache size option to be unsigned 2014-06-09 13:13:59 +01:00
Vincent Sanders
a6d3ceae0e Completely re-write web search provider handling 2014-05-25 01:01:59 +01:00
Chris Young
1cada179b3 Set a more sensible upper cache size limit. 2014-05-16 17:32:15 +01:00
Chris Young
8aa8791f5c Add disc cache size to settings UI 2014-05-16 17:26:32 +01:00
Chris Young
b301a11140 Fix cppcheck arrayIndexOutOfBounds 2014-04-05 20:26:39 +01:00
Chris Young
c44bbcdc08 Ensure any user-input URLs are passed to the core in UTF-8.
Everything else, including any content of the URL bar which hasn't just been entered by the user, is assumed to be in ASCII.
NB: The exception is the ARexx OPEN command.  This is because NetSurf uses the ARexx port and this command internally when multiple instances are opened.
file: addresses typed into the address bar containing non-ASCII characters will probably no loger work, but it is expected that under normal circumstances, users will either drag'n'drop files or use Project=>Open.  If it becomes an issue I will work around it at a later date.
2014-03-13 19:37:01 +00:00
Chris Young
fb9b171e32 Disable the dither option if we're running on a screen which doesn't use it. 2014-03-01 14:48:41 +00:00
Chris Young
41d7084356 Initialise AmigaGuide help system only at the point of first use. 2014-02-07 17:51:12 +00:00
Chris Young
9fd344172a Enforce the use of popupmenu.library >=53.11
Older versions have a dangerous bug which manifests itself as a deadlock or a crash.
2014-01-10 20:32:20 +00:00
Chris Young
56723e5898 Use LIB_IS_AT_LEAST macro 2013-10-13 11:52:11 +01:00
Chris Young
ade86e496e Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. 2013-10-12 13:11:13 +01:00
Chris Young
6ea52d0d9f Don't change the setting, just in case NetSurf is being used from two different OS installs on the same computer. 2013-10-12 11:55:07 +01:00
Chris Young
67f957df39 Force usage of OS pointers for OS4.1, there's no reason to use custom ones now. 2013-10-12 11:52:08 +01:00
Chris Young
6c17aa78a7 Add proxy bypass option 2013-06-08 17:22:22 +01:00
Chris Young
9ad5b98fcd Don't read the state of gadgets which don't exist 2013-06-01 15:31:39 +01:00
Chris Young
8b586b2d67 Fix a crash when edit settings if NetSurf is running on the WB screen
Rename use_pubscreen to make it clearer what the option is for
2013-05-31 23:25:05 +01:00
Vincent Sanders
b918f63f3e fixup atari option names 2013-05-28 17:00:55 +01:00
Vincent Sanders
a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders
63d7247a9c fix mismatched option name and variable names
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
2013-05-28 14:16:11 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Chris Young
22c7c1259b We are opening on a public screen, not a custom screen (even our own screen is a public screen) 2013-03-20 08:22:03 +00:00
Chris Young
89856f5592 ifdef some code that will never work under AmigaOS <4.0 2013-01-30 18:23:48 +00:00
Chris Young
18091ec1a9 Add basic context-sensitive help. 2013-01-24 20:00:09 +00:00
Chris Young
6975360e1c Disable compositing if simple refresh is enabled; set it back to "like WB" if simple refresh is disabled. 2013-01-13 19:19:59 +00:00
Chris Young
cc321d5f63 Track the mouse pointer on a per-window basis 2013-01-06 00:21:15 +00:00
Chris Young
8e416ec226 Ensure the menu checked state remain in sync with reality 2012-12-15 15:39:09 +00:00
Chris Young
47579b468c Add dither quality options to GUI 2012-12-09 21:57:58 +00:00
Chris Young
589c8a28a4 Add simple refresh option to GUI 2012-12-09 21:45:12 +00:00
Chris Young
a6005c9a5b Add font anti-aliasing option to GUI 2012-12-09 21:28:32 +00:00
Chris Young
02a4bfd375 Toggle the tab bar to the correct state if the option to always show it is changed and only one tab is currently open 2012-12-09 20:39:10 +00:00
Chris Young
af8c3ef0c3 Add options for always showing tabbar and warning on closing multiple tabs 2012-12-09 20:29:01 +00:00