Commit Graph

97 Commits

Author SHA1 Message Date
Chris Young
520e81f98d Alloc specifying local charset on OS3 as we can't get this from Locale 2016-01-26 19:37:18 +00:00
Chris Young
e38a1f17f2 friend_bitmap should default to false as it causes problems 2016-01-23 15:15:35 +00:00
Chris Young
06b50d9bbd missing files 2016-01-16 11:44:03 +00:00
Chris Young
46f181b348 More font-related tidy-up 2016-01-16 00:00:57 +00:00
Chris Young
54feabe845 Set some memory and speed options by default for OS3 2016-01-10 12:07:46 +00: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
45171214ed Add an option to toggle usage of a friend BitMap for our off-screen rendering buffer (OS3 only).
Defaults to OFF, which works everywhere, but can be switched on for performance benefits when using RTG.
2015-08-15 16:42:52 +01:00
Chris Young
c38670ade8 Allow a fallback font for characters above 0xFFFF to be specified. There is no scanning of this range as most fonts don't have any characters here. Symbola is selected if it is installed. 2015-07-06 19:29:16 +01:00
Chris Young
f123ed101f Lazy bitmap font rendered text for slow hardware (non-working) 2015-02-03 19:48:28 +00:00
Chris Young
846b534854 Recreate the entire menu when the hotlist window is closed.
This ensures the hotlist entries in the menu are in sync with reality, and mirrors the existing hotlist toolbar update.
2014-06-30 22:37:05 +01:00
Chris Young
b1f67dab31 Remove Cairo from AmigaOS frontend. 2014-05-03 16:38:58 +01:00
Chris Young
5adb1fb1dd Workaround for AM_EXECUTE not supporting PROGDIR: 2013-11-10 12:49:46 +00:00
Chris Young
c781ca27b7 Add an implied PROGDIR: to the ARexx dir name for scanning, as executing the script with PROGDIR: in it doesn't work. 2013-11-09 16:38:24 +00:00
Chris Young
ea64098699 Set ARexx default dir to PROGDIR:Rexx so it works no matter what the current dir is. 2013-11-04 19:29:54 +00: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
Chris Young
8e8b4fbe57 default download notification to true 2013-05-28 21:10:44 +01:00
Vincent Sanders
a5355ec557 change all core and frontend options headers to new format 2013-05-28 14:16:10 +01:00
Chris Young
3b53d22260 Remove no-longer-needed code 2013-04-15 23:02:32 +01:00
Chris Young
6ee4fa3f81 Default DPI to 85 as that is more correct than 72 2013-04-11 21:14:59 +01:00
Chris Young
a938b1a337 Make "resize with contents" a user option 2013-04-10 19:36:38 +01:00
Chris Young
388ddc6dbd non-working "always show tabbar" option 2012-12-09 20:00:11 +00:00
Chris Young
ff333828b7 Warn when closing multiple tabs 2012-12-08 17:47:57 +00:00
Chris Young
40076ea422 Allow the size of the web search gadget to be user-set 2012-12-06 23:40:13 +00:00
Chris Young
e25cb44814 Remove font_unicode_list - font_unicode is a list now. 2012-11-08 23:56:42 +00:00
Chris Young
4aaa325398 Now the graphics.library plotters are feature-complete, use them by default. 2012-10-24 18:57:48 +01:00
Chris Young
6efada5a85 set the redraw to non-tiled by default. people can play with these settings if they are low on memory. 2012-09-22 22:33:52 +01:00
Chris Young
5ac9c7128a allow font anti-aliasing to be switched off in true-colour modes 2012-08-12 11:30:44 +01:00
Chris Young
c7766fddff Change default mask threshold to something more sensible 2012-08-12 11:03:05 +01:00
Chris Young
eaa6183567 allow tweaking threshold where alpha turns to mask 2012-08-10 18:21:57 +01:00
Chris Young
a423eb712d allow setting dithering quality 0-2 2012-08-05 16:22:41 +01:00
Chris Young
76b0243a0a Run NetSurf at priority 0 by default, dropping to priority -1 when
downloading.

svn path=/trunk/netsurf/; revision=13955
2012-06-04 16:15:12 +00:00
Chris Young
560d5d2035 Allow a comma-separated list of fonts to be specified in font_unicode_list
to provide more preferred fonts.  eg. if a user has dedicated Japanese
and Korean fonts available they might want a config like:
font_unicode:Japanese
font_unicode_list:Korean,Code2000
This will scan Japanese and Korean fonts first, then fill in any blanks
with Code2000 (followed by alphabetically all other fonts installed)

svn path=/trunk/netsurf/; revision=13917
2012-05-09 22:23:10 +00:00
Chris Young
7003f6932e Use font_unicode option as preferred (first scanned) font. Ideally need to
expand this so multiple fonts can be specified.  Allow disabling of
scanning other fonts. Add stubs for a scanning progress GUI.

svn path=/trunk/netsurf/; revision=13907
2012-05-05 19:09:42 +00:00
Chris Young
d5608581b9 Integrate Unicode font scanner into NetSurf.
NetSurf will now use any available font when trying to print
characters that are missing from the current font.
TODO: Preferred font list.

svn path=/trunk/netsurf/; revision=13905
2012-05-05 15:58:17 +00:00
Chris Young
2d854c549c Make simple refresh a configurable option
svn path=/trunk/netsurf/; revision=13896
2012-04-28 23:23:29 +00:00
Chris Young
f6b15c1061 Re-jig URL launch as would never have fallen back to using openurl.library.
Add it as an option instead.

svn path=/trunk/netsurf/; revision=13882
2012-04-18 19:44:09 +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
Chris Young
a11aa89b64 More reasonable tile size defaults
svn path=/trunk/netsurf/; revision=13506
2012-03-03 15:59:52 +00:00
Chris Young
3e77ceeb81 allow both x and y dimensions of redraw tiles to be configured
svn path=/trunk/netsurf/; revision=13502
2012-02-29 19:09:55 +00:00
Chris Young
79c5485e27 Add tiled refresh, with tiles of max size option_redraw_tile_size. This
reduces the size of our off-screen bitmap and associated memory.
Only works with browser windows at present. History and treeviews still
have full window refresh/bitmap.
Setting the option to 0 brings back the old behaviour.

svn path=/trunk/netsurf/; revision=13468
2012-02-25 18:42:33 +00:00
Chris Young
b517cf331a option_screen_compositing to enable switching compositing for NetSurf's own
screen on/off.

Some experimentation with compositing and simple/smart refresh reveals that
simple refresh windows with compositing on for the screen behave the same
as smart refresh windows. Smart refresh windows with compositing off use
more gfx memory than when compositing is on. Simple refresh windows with
compositing off will probably be more memory efficient, as we are using
an off-screen bitmap to render the browsing area anyway. However due to
this bitmap being re-used over multiple tabs/windows, it does not always
reflect what should be on the window, so performing a redraw of damaged
areas may be the only option. Need to read damaged regions from layer
(probably through struct Region *DamageList) and check on performance vs
memory or make the window refresh type configurable.  Simple refresh code
#ifdefed out for now for further investigation later.

svn path=/trunk/netsurf/; revision=13464
2012-02-24 20:00:51 +00:00
Chris Young
7314d12cba Default X and Y aspect ratio to 0. This will make NetSurf assume that the screen has
square pixels, which is true in 99% of cases on OS4.

svn path=/trunk/netsurf/; revision=13377
2012-01-06 18:55:30 +00:00
Chris Young
a98fb7c4dd Reimplement the previous hotlist menu refresh code, as the bug causing the previous
problems was fixed ages ago.  Make the timing configurable for now but default to off.

svn path=/trunk/netsurf/; revision=13135
2011-11-07 18:51:08 +00:00
Chris Young
69f83ed262 Be more flexible with the aspect ratios we correct to.
svn path=/trunk/netsurf/; revision=13036
2011-10-11 17:58:14 +00:00
Chris Young
70aad31df6 Default search ico should only come from theme
svn path=/trunk/netsurf/; revision=13011
2011-10-08 13:49:31 +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
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
Chris Young
11b3bb228a Correct aspect ratio correctly and support widescreen displays
svn path=/trunk/netsurf/; revision=12607
2011-07-17 14:48:19 +00:00
Chris Young
bb7408a56e When opening new tabs next to the active one, open them sequentially until the tab is
switched away from.  This is more akin to how Firefox etc do it.  Make this the
default.

svn path=/trunk/netsurf/; revision=12561
2011-07-02 22:40:45 +00:00
Chris Young
bdc0d994c1 Add an option to open new tabs next to the current tab. Needs some additional logic
as opening multiple tabs results in the new tabs being in reverse order to that
expected.

svn path=/trunk/netsurf/; revision=12559
2011-07-02 22:04:51 +00:00