Commit Graph

95 Commits

Author SHA1 Message Date
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
Chris Young
5b53364994 Move tabbed browsing options to new tab 2012-12-09 20:18:47 +00:00
Chris Young
967d22afe5 These were allocated with c lib functions, not AllocVec 2012-11-11 23:05:25 +00:00
Chris Young
adcbfb9789 Fix options GUI cleanup (credit: Gazelle) 2012-11-11 22:49:18 +00:00
Chris Young
83e2c640cf Remove the fallback font options from the prefs GUI; it isn't really needed now we have the font scanner and any advanced tweaking needs to be actioned through the Choices file anyway (the GUI would need a lot of work to add all the new options) 2012-11-08 23:41:14 +00:00
Chris Young
96ed2e65d9 Fix crash when fallback font is not set and NetSurf was unable to find anything suitable on startup. 2012-11-08 20:48:38 +00:00
Michael Drake
29356734eb Include desktop/browser_private.h. 2012-08-22 13:16:20 +01:00
Chris Young
1547aebdbb remove depth gadget, as doesn't let us select <256 colours anyway 2012-08-07 23:13:42 +01:00
Chris Young
61c268269a display depth gadget on screenmode requester 2012-08-07 23:09:40 +01:00
Chris Young
5f8d9e25ab Allow <16-bit depth in options GUI too 2012-08-04 15:53:19 +01:00
Chris Young
c48d7fa2da missing 'defined' 2012-07-28 22:32:32 +01:00
Chris Young
8ac36b64b1 Add a GUI option to enable/disable Javascript, if NetSurf is built with Javascript support. 2012-07-28 22:27:53 +01:00
Chris Young
319c463894 Add DoNotTrack to Amiga options GUI
svn path=/trunk/netsurf/; revision=13929
2012-05-20 17:53:07 +00:00
Chris Young
0161b2a33e Rescan fonts if preferred fallback font is changed in the GUI
svn path=/trunk/netsurf/; revision=13908
2012-05-06 17:55:35 +00:00
Chris Young
2f7061b894 Reject non-scalable BulletAPI fonts
svn path=/trunk/netsurf/; revision=13906
2012-05-05 16:00:14 +00:00
Chris Young
a44ead03cf fix crash
svn path=/trunk/netsurf/; revision=13900
2012-05-01 18:51:05 +00:00
Chris Young
38b310ad5f Move user-specifics out of Resources
svn path=/trunk/netsurf/; revision=13768
2012-03-28 22:17:27 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Michael Drake
e52aaecd7a Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12928
2011-10-03 16:41:55 +00:00
Chris Young
64f0938e8b If the prefs window is already open ad Edit Prefs is called from the menu, bring the
already-opened prefs window to the front and make it active.

svn path=/trunk/netsurf/; revision=12792
2011-09-13 16:56:59 +00:00
Chris Young
f5d91344b7 Change option to get accepted languages from Locale into a checkbox so it updates at
startup

svn path=/trunk/netsurf/; revision=12787
2011-09-11 14:53:33 +00:00
Chris Young
d225054ecf Swap position of context menu and behaviour options
svn path=/trunk/netsurf/; revision=12760
2011-09-06 20:49:48 +00:00
Chris Young
25fea2721d Avoid calling AllocSignal() until the last minute, as it causes PM_OPEN to initiate
an Intuition or Input deadlock.
Re-enable context menus as they are now safe.
Remove sticky context menus option as this can be set in GUI prefs as a global option.

svn path=/trunk/netsurf/; revision=12698
2011-09-02 17:31:47 +00:00