Chris Young
3ef843fcb4
Switch Yes/No Replace/Don'tReplace so Esc operates the "don't do anything" operation as expected.
2012-12-09 19:41:06 +00:00
Chris Young
6b7e678476
Only bother with the delayed requester on OS4
2012-12-09 19:39:48 +00:00
Chris Young
083cf492f5
Allow ctrl-click on hotlist toolbar to open in a new tab
2012-12-09 18:52:07 +00:00
Chris Young
dfa287767f
Warn the user and give them an option to stop NetSurf shutting down, if the TCP/IP stack has signalled that it is about to exit.
2012-12-08 18:08:00 +00:00
Chris Young
ff333828b7
Warn when closing multiple tabs
2012-12-08 17:47:57 +00:00
Chris Young
69647cc6a4
Respond to Ctrl-C by immediately quitting. TCP/IP stack exit expects this.
2012-12-07 23:35: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
61723e01c1
Avoid NULL pointer access
2012-12-05 18:14:45 +00:00
Chris Young
c88c4fa214
Don't need to attempt to free on remove, as the only entry point has already done this.
2012-12-01 15:23:11 +00:00
Chris Young
ee79de5244
Attempt to do some re-layout if the toolbar is added after the window opens.
2012-12-01 15:15:12 +00:00
Chris Young
ffcb07b8b2
Make hotlist toolbar actually work
2012-12-01 00:27:46 +00:00
Chris Young
61872ab3a4
Debug
2012-11-29 22:44:30 +00:00
Chris Young
23dc635e1a
Make hotlist toolbar work and update (only updates on hotlist window close currently)
2012-11-29 22:13:42 +00:00
Chris Young
168d09c878
Improve the look of the hotlist toolbar
2012-11-28 22:42:23 +00:00
Chris Young
2437ca84a8
Hotlist toolbar needs to be ABOVE the tab bar
2012-11-28 19:44:40 +00:00
Chris Young
4e4bc9c135
Don't force a redraw after adding the toolbar, because we (currently) only add it immediately at window creation.
2012-11-28 19:43:24 +00:00
Chris Young
56d5e6963a
Actually show the toolbar. It looks awful.
2012-11-28 19:41:18 +00:00
Chris Young
09bc58f7c2
Create a toolbar from the "Toolbar" folder within the hotlist. Note: makes no attempt to either free the toolbar or make the toolbar work.
2012-11-28 19:29:43 +00:00
Chris Young
6641b082f8
Fix the display of the drag save icon
2012-11-11 23:17:00 +00:00
Chris Young
efbfbbc967
Fix a serious crash that occurs if the underlying window is closed during a hook function invoked from it.
2012-10-31 20:50:22 +00:00
Chris Young
df70c7daa3
Ensure stack size is at least 128KB
2012-10-19 20:27:10 +01:00
Michael Drake
35eb251244
Fix "error setting certificate verify locations" problem when the Choices file doesn't exist. Now there's a single place for front ends to set options overrides. Fix nsoption_setnull_charp leak.
2012-10-17 14:20:18 +01:00
Chris Young
a5bd3d112c
fix warnings
2012-10-11 20:13:38 +01:00
Michael Drake
29356734eb
Include desktop/browser_private.h.
2012-08-22 13:16:20 +01:00
Michael Drake
45736594a1
Get presence of text input cleanly.
2012-08-20 22:03:59 +01:00
Chris Young
59784ba852
fix mask
2012-08-11 17:19:54 +01:00
Chris Young
69ad5db2d1
convert throbber to use standard bitmap functions; remove p96 dependency
2012-08-10 22:59:38 +01:00
Chris Young
2364d68367
avoid scaled images getting incorrect mask
2012-08-10 18:30:01 +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
6748845042
fix display of favicon in palette-mapped modes
2012-08-07 23:07:16 +01:00
Chris Young
0d8aca4f12
use abstracted function
2012-08-07 21:22:51 +01:00
Chris Young
dd7935bb1f
abstract the native bitmap fetcher functions, and make the favicon collection use the new one.
2012-08-07 21:09:49 +01:00
Chris Young
1ef7336f22
revert begin/endrefresh image avoidance - this isn't the cause of the simplerefresh damage region deadlock
2012-08-05 23:06:01 +01:00
Chris Young
b777549cc2
avoid crash if pen list is not set
2012-08-05 22:59:09 +01:00
Chris Young
ff8d7d974c
Avoid redrawing palette-mapped images during BeginRefresh/EndRefresh (ie. SimpleRefresh damage redraw) as one of the DataTypes functions are causing an Intuition deadlock.
2012-08-05 22:29:35 +01:00
Chris Young
a46c5ae09f
Merge branch 'master' into chris/palette-mapped-plotters
2012-08-05 14:29:12 +01:00
Chris Young
1e02eba193
Ask GID_ICON to redraw itself before we draw over the top of it. Unfortunately it redraws itself as a grey box, rather than the underlying window's backfill hook.
2012-08-05 14:26:41 +01:00
Chris Young
55c08431ee
Fix build
2012-08-05 11:37:27 +01:00
Chris Young
d577a48bb7
Abstract pen obtain/release and structure so we can add these to a physical browser window's list
2012-08-05 11:28:48 +01:00
Chris Young
da4968b8e0
Allow selecting <16-bit wcreenmodes so we can easily see what needs doing.
2012-08-04 15:44:57 +01:00
Chris Young
20e99e4f20
Remove visible and invalid uses of git revision hashes. Anybody who needs to know hich revision it is can check about:testament, to everybody else the string is meaningless.
2012-07-01 16:40:24 +01: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
36e9d114ea
Stop abusing certain Messages; add some dedicated non-crazy HelpHints
...
svn path=/trunk/netsurf/; revision=13912
2012-05-07 15:06:48 +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
9b984e8b3f
Only struct gui_window_2 should use variable name 'gwin'. gui_window is
...
always 'g'.
svn path=/trunk/netsurf/; revision=13899
2012-04-29 16:13:53 +00:00
Chris Young
286a128e1b
Change menus so menu functions are called internally by window.class
...
(RA_HandleInput). This makes menu selection more reliable and stops us
missing menu events which appeared to be getting lost within the
HANDLEINPUT method.
svn path=/trunk/netsurf/; revision=13898
2012-04-29 15:59:37 +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
682b2f2420
Fix simplerefresh. When dragging windows back on-screen, damaged areas are
...
still not repaired fully. Overlapping windows have no such problem.
Menu events seem to be getting lost in simple refresh mode (this may be
related to event triggered for redrawing the area under the menu when it is
closed)
svn path=/trunk/netsurf/; revision=13895
2012-04-28 22:53:50 +00:00
Chris Young
8d4678b04b
Add AppWindow ourself rather than letting window.class create it. Initial
...
tests indicate we are no longer losing icon drop events although there is
still an "event leak" somewhere.
Fix warnings.
svn path=/trunk/netsurf/; revision=13894
2012-04-28 19:43:46 +00:00
Chris Young
b4977fbdcc
Replace strncpy with strlcpy, as strncpy is not guaranteed to be
...
NULL-terminated. (thx Colin Wenzel)
svn path=/trunk/netsurf/; revision=13881
2012-04-18 18:54:15 +00:00
Chris Young
5b79dbe36f
Update NetSurf's system colours when OS prefs change
...
svn path=/trunk/netsurf/; revision=13822
2012-04-07 17:16:32 +00:00
Chris Young
183174b25a
Move status basr left one pixel
...
svn path=/trunk/netsurf/; revision=13786
2012-04-02 18:05:09 +00:00
Chris Young
d434749953
Remove old commented out tags
...
svn path=/trunk/netsurf/; revision=13784
2012-03-31 21:51:44 +00:00
Chris Young
7a12cad439
Change the status bar frameiclass to a gaugeiclass, as it is more
...
aesthetically pleasing, and also allows us to show progress bar if it is
possible to get this data from the core in the future.
svn path=/trunk/netsurf/; revision=13783
2012-03-31 21:49:50 +00:00
Chris Young
e8d90a532a
Search user data dir first for resources
...
svn path=/trunk/netsurf/; revision=13779
2012-03-30 19:28:37 +00:00
Chris Young
e30905be75
Use 'user' env-var to determine username
...
svn path=/trunk/netsurf/; revision=13778
2012-03-30 18:18:15 +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
Chris Young
307df869c3
fix build
...
svn path=/trunk/netsurf/; revision=13729
2012-03-26 20:25:10 +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
3db30dfd84
Fix scaled fast scrolling. Curiously this has solved the form select menu
...
problem :S
svn path=/trunk/netsurf/; revision=13505
2012-03-03 15:50:05 +00:00
Chris Young
2cd44ec454
Fix offsets when page scaled and scrolled
...
svn path=/trunk/netsurf/; revision=13504
2012-03-03 15:41:14 +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
b7f7293802
random changes
...
svn path=/trunk/netsurf/; revision=13474
2012-02-26 15:44:14 +00:00
Chris Young
bb17cc2529
Don't do schedule message handling on a while loop.. it sometimes causes
...
long pauses in user input.
svn path=/trunk/netsurf/; revision=13472
2012-02-26 11:03:09 +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
20e825c8f4
More simple refresh. This would work (provided the user hasn't scrolled),
...
however we appear to be losing events (refresh and menu events are not
always being received)
svn path=/trunk/netsurf/; revision=13466
2012-02-24 23:18:24 +00:00
Chris Young
ce0d219328
typo
...
svn path=/trunk/netsurf/; revision=13465
2012-02-24 20:03:38 +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
b0b08b4eaf
Remove "NetSurf" from release version string, that's on the splash anyway.
...
svn path=/trunk/netsurf/; revision=13443
2012-02-12 18:02:49 +00:00
Chris Young
9c7ced69d2
Shift status bar text over by a pixel and reposition the frame slightly.
...
Don't use WBorBottom as that is not particulary relevant to what we're
trying to do.
svn path=/trunk/netsurf/; revision=13441
2012-02-11 23:17:47 +00:00
Chris Young
efa55dd3f1
Fix build
...
svn path=/trunk/netsurf/; revision=13403
2012-01-15 15:57:02 +00:00
Chris Young
9f08a052d0
Allow confining the pointer to part of the window during drags. Actually
...
we aren't acting on this for any current drag types, but if we need to do
so in the future (eg. frame resizing), this is the code to do it. The trap
lasts 10 IntuiTicks so is re-asserted on every mouse move when an active
drag is in effect. Drag type must be set to GDRAGGING_NONE to clear.
svn path=/trunk/netsurf/; revision=13401
2012-01-11 21:41:55 +00:00
Michael Drake
6794af012e
Constify rect param to gui_window_drag_start.
...
svn path=/trunk/netsurf/; revision=13397
2012-01-11 16:45:17 +00:00
Michael Drake
04ece30fa9
Pass pointer constraints for drag out to front ends. Ensure content scrollbar drag termination always informs the browser window layer that the drag is over.
...
svn path=/trunk/netsurf/; revision=13395
2012-01-11 14:20:26 +00:00
Chris Young
13a2ceb766
Remove unnecessary cache of scroll position
...
svn path=/trunk/netsurf/; revision=13344
2011-12-24 13:24:09 +00:00
Chris Young
56b6970c92
Search for DejaVu Serif Italic before DejaVu Serif Oblique, this fixes the fonts used
...
on the splash screen if newer DejaVu fonts have been installed and the old ones
removed.
svn path=/trunk/netsurf/; revision=13342
2011-12-24 12:57:42 +00:00
Chris Young
135a11db35
Fix scrollbar scroll
...
svn path=/trunk/netsurf/; revision=13341
2011-12-24 12:49:55 +00:00
Michael Drake
67f2470d5a
Pass whether background images are wanted in redraw_context.
...
svn path=/trunk/netsurf/; revision=13335
2011-12-23 22:39:25 +00:00
Chris Young
879383e21e
Pass keyboard scroll events to the core
...
svn path=/trunk/netsurf/; revision=13334
2011-12-23 22:14:00 +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
Chris Young
8d685d7ac0
Use core file drop.
...
Loop through entire list of dropped files.
If multiple files are dropped and not handled by core, open in tabs;
Activate the window on first file drop to workaround a bug where the window needed to
be clicked before the file would appear.
As using core functionality, DataTypes no longer used to parse dropped files (likely
to be rarely needed anyway).
svn path=/trunk/netsurf/; revision=13218
2011-12-02 12:47:11 +00:00
Chris Young
a7af4ba0c1
Pass mouse scrollwheel events to the core first
...
svn path=/trunk/netsurf/; revision=13201
2011-11-29 20:58:57 +00:00
Chris Young
b14c4f0a0b
Revert r13138
...
svn path=/trunk/netsurf/; revision=13144
2011-11-10 14:22:02 +00:00
Chris Young
87c5f14c08
Update the title of the initial tab, even when the tab bar is hidden (ensures the
...
correct title will be present if it is made visible)
svn path=/trunk/netsurf/; revision=13138
2011-11-09 19:22:49 +00:00
Chris Young
4cbe7d9d94
Remove any need for LangNames to be imported as a Messages file
...
svn path=/trunk/netsurf/; revision=13099
2011-10-29 14:14:13 +00:00
Chris Young
b84ebeed36
Stop abusing Messages with continual load of LangNames
...
svn path=/trunk/netsurf/; revision=13098
2011-10-29 13:51:19 +00:00
Chris Young
d0ad76a77a
Simplify
...
svn path=/trunk/netsurf/; revision=13097
2011-10-29 13:35:55 +00:00
Chris Young
4a0de7cd5c
Allow usage of a resource.map file to map resource: requests to other files.
...
svn path=/trunk/netsurf/; revision=13096
2011-10-29 13:32:53 +00:00
Chris Young
62900af515
Search the current theme dir for resources.
...
svn path=/trunk/netsurf/; revision=13091
2011-10-29 11:24:29 +00:00
Chris Young
c1afe81e06
Complete extended context menus
...
svn path=/trunk/netsurf/; revision=13076
2011-10-23 13:15:44 +00:00
Chris Young
a4f14eb0e9
Avoid horizontal pixel-height lines of the background appearing when "fast scrolling"
...
down the page. There is a similar problem with scrolling up pages which may be a bug
in ami_do_redraw_limits or plotters (probably bitmap tile plotter), as drawing
additional pixel lines after scrolling is not redrawing the affected area.
Example sites where this problem is apparent:
http://www.nintendolife.com (border pattern does not redraw)
http://www.amigaos.net/content/72/supported-hardware (clouds show through the main
text area)
svn path=/trunk/netsurf/; revision=13072
2011-10-22 13:52:13 +00:00
Chris Young
6959a30b26
Move non-requester user file operations to file.c
...
svn path=/trunk/netsurf/; revision=13065
2011-10-15 15:27:56 +00:00
Chris Young
c3fafd63f8
Move all main file req save ops to file.c
...
svn path=/trunk/netsurf/; revision=13064
2011-10-15 14:55:03 +00:00
Chris Young
ad8a965548
Start to consolidate user file operation into one file
...
svn path=/trunk/netsurf/; revision=13062
2011-10-15 14:09:35 +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
3bb98823f7
correct filename
...
svn path=/trunk/netsurf/; revision=12996
2011-10-07 23:26:39 +00:00
Chris Young
39b490d1f0
Add favicon to iconification icon
...
svn path=/trunk/netsurf/; revision=12995
2011-10-07 23:12:12 +00:00
Chris Young
f9ca9f3595
comment removal
...
svn path=/trunk/netsurf/; revision=12988
2011-10-07 21:53:35 +00:00
Chris Young
c8d9e012e5
favicon fixes
...
svn path=/trunk/netsurf/; revision=12985
2011-10-07 21:41:31 +00:00