Michael Drake
65a94d5b02
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-08-13 14:11:34 +01:00
Michael Drake
40e4530433
Use new SSL certificate viewer.
2013-08-12 11:44:36 +01:00
Chris Young
344bcc87ae
Show iconified windows when quitting (horrible flickery workaround for a recoverable alert)
2013-07-27 14:46:20 +01:00
Chris Young
7d9af63c16
Localise the description, mark it Amiga-only
2013-07-27 14:25:07 +01:00
Chris Young
2d33665b69
Remove any AppIcons on quit
2013-07-27 14:19:51 +01:00
Chris Young
17c4201fb8
When receiving a "To Front" message, don't open a window if none are active.
2013-07-27 14:14:26 +01:00
Michael Drake
3f45e53539
s/history_core/local_history/
2013-07-10 11:55:42 +01:00
Chris Young
f2a6d645ae
If a new browser window opens, bring the screen NetSurf is running on to the front
2013-06-02 16:26:25 +01:00
Chris Young
f31ab148cb
Better logging for resource searching
2013-06-02 16:07:59 +01:00
Chris Young
94dc0795c1
Ensure treeview gets a palette rather than the built-in defaults
2013-06-01 18:56:53 +01:00
Vincent Sanders
9bd2969876
amiga is the only user of the very odd usage of the options API
2013-06-01 16:09:26 +01:00
Chris Young
31e3b27fad
Set redraw tile size to default on screen change
2013-06-01 15:37:26 +01:00
Chris Young
40682a899e
Remove unneeded parameter
2013-06-01 15:27:29 +01:00
Chris Young
173bfe3d3d
Fix the new prefs hook
2013-06-01 15:18:09 +01:00
Chris Young
8179e51a75
Set default colours when screen changes
2013-06-01 15:11:26 +01:00
Chris Young
fe78657b08
Use default macros for updating window size
2013-06-01 14:58:51 +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
Chris Young
ac1865f361
Set more sensible default window size
2013-05-31 19:34:22 +01:00
Chris Young
2d483113ef
Fix Guru on exit
2013-05-28 20:38:16 +01:00
Chris Young
2dec72b4d5
Re-order Messages loading to avoid a crash on launch
2013-05-28 20:13:34 +01:00
Vincent Sanders
a88fb2e0e8
add missing includes
2013-05-28 17:34:29 +01:00
Vincent Sanders
f3065a5cfd
replace accidentallly removed function
2013-05-28 17:22:07 +01:00
Vincent Sanders
83ab7accf4
fix stupid mistake introduced in options API change
2013-05-28 17:09:42 +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
91966b562e
move amiga to new options code
2013-05-28 14:16:11 +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
Vincent Sanders
35dacc3671
move the logging initialisation out to be call by frontends
...
This allows each frontend to pass a distinct callback to configure the
output file stream appropriately for their use.
2013-05-23 11:50:57 +01:00
Chris Young
ba0cf5c949
put it back in a state where it stays enabled
2013-05-12 20:36:49 +01:00
Chris Young
6d7adac89e
Update the edit menu after every click, to be safe.
2013-05-12 20:36:47 +01:00
Chris Young
c2783ac1d4
change zoom button window dimensions test suff
2013-05-12 20:36:39 +01:00
Michael Drake
631265ef6b
Front ends have no reason to include desktop/selection.h now.
2013-05-10 12:16:05 +01:00
Chris Young
4da186e28e
Remove unneeded include
2013-04-16 00:29:26 +01:00
Chris Young
bbb0f4c2b9
The scheduled callback function doesn't need to do anything, because NetSurf is going to call hlcache_poll anyway after it returns.
2013-04-15 23:53:54 +01:00
Chris Young
6557bae1a2
missing include
2013-04-15 23:46:28 +01:00
Chris Young
dbebd4c1ce
Schedule an immediate fetch poll if fetch is active
2013-04-15 23:42:46 +01:00
Chris Young
3b53d22260
Remove no-longer-needed code
2013-04-15 23:02:32 +01:00
Chris Young
6dcccd5051
test using amiga frontend
2013-04-15 19:51:40 +01:00
Chris Young
53e361b622
Fix build
2013-04-11 21:32:05 +01:00
Chris Young
a6179250d5
Remove scheduled redraws for destroyed windows
2013-04-11 21:26:42 +01:00
Chris Young
26dbb7a602
Avoid multiple schedules of redraws
2013-04-11 21:20:25 +01:00
Chris Young
a938b1a337
Make "resize with contents" a user option
2013-04-10 19:36:38 +01:00
Chris Young
b086d04d8a
If we are reformatting, delay the redraw slightly to avoid excessive consectutive redraws
2013-04-09 20:49:28 +01:00
Chris Young
78e7019479
Test enable "resize with contents" now we have queued/delayed redraws.
2013-04-09 20:32:58 +01:00
Chris Young
2db0024651
document and add missing include
2013-04-04 19:59:35 +01:00
Chris Young
90266d117c
Schedule browser-initiated reformats too, with the caveat that a message of some description needs to arrive at the message port before the reformat will be queued (think this only affects scale changes).
2013-04-04 19:47:46 +01:00
Chris Young
6686d9dad8
Schedule redraws from local history too, hide ami_do_redraw and friends as only gui.c needs to call those directly now
2013-04-04 19:46:33 +01:00
Chris Young
c297f45bb9
Schedule redraws to prevent expected redraws from not happening when no events are occuring
2013-04-04 19:31:42 +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
Michael Drake
037beb44fb
Pass caret clip rect out to front ends. (Nothing actually using them yet.)
2013-03-05 22:54:51 +00:00
Chris Young
4d9b674997
Remove struct selection from ami_file_save and anywhere that feeds into it
2013-02-22 19:02:58 +00:00
Chris Young
a86ff2ac2c
Add missing flag
2013-02-18 16:24:58 +00:00
Vincent Sanders
15d39c6ebf
fix remaining errors introduced in refactor
2013-02-18 13:05:23 +00:00
Vincent Sanders
0eb0798873
fix errors introduced in refactor
2013-02-18 12:24:49 +00:00
Vincent Sanders
529ca251fc
rename flags for browser_window routines to be shorter
2013-02-18 11:51:42 +00:00
Vincent Sanders
b112dec78d
change browser_window_create and refactor all callsites
2013-02-18 11:23:48 +00:00
Vincent Sanders
3bfb5b96a7
browser_window_navigate refactor
2013-02-18 11:23:27 +00:00
Chris Young
9fe2873f04
rationalise the removal of the box redraw queue
2013-02-13 20:23:17 +00:00
Chris Young
1809143ff3
Implement triple-click
2013-02-12 19:12:14 +00:00
Chris Young
af3ef0fb41
Queue fast scroll redraws same as any other box redraw
2013-02-10 12:13:39 +00:00
Chris Young
02115a8958
Optimise box redraws some more by discarding simple subsets
2013-02-06 18:44:41 +00:00
Chris Young
7c671378aa
Don't add the same box redraw to the queue more than once
2013-02-05 19:44:21 +00:00
Chris Young
9c7031143f
Use last known scroll pos, not current
2013-02-03 22:19:31 +00:00
Chris Young
b704ad3e88
Correct fast scroll co-ordinates
2013-02-03 19:30:11 +00:00
Chris Young
4c27d6dd8e
Ensure scale can be accssed from the keyboard
2013-02-03 19:14:25 +00:00
Chris Young
34f1e427f9
Un-fix scaled box redraw, as it cause more problems than it solves
2013-02-03 19:10:30 +00:00
Chris Young
ccaeced4bf
Make fast scroll code easier to read
2013-02-03 18:50:16 +00:00
Chris Young
871a8e7cba
Fix scaled redraw of boxes
2013-02-03 18:21:28 +00:00
Chris Young
43fe4490d3
Defer the redraw of boxes. This fixes a redraw problem with form select menus.
2013-02-03 14:01:48 +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
a30d51cb50
Ensure we free the same size raster that we allocated
2013-01-27 11:09:54 +00:00
Chris Young
30dfa09008
Disable help for now, as it causes the popupmenu.class deadlock again
2013-01-24 20:16:35 +00:00
Chris Young
12890d3c60
Attempt fix screen close problem
2013-01-24 20:08:59 +00:00
Chris Young
18091ec1a9
Add basic context-sensitive help.
2013-01-24 20:00:09 +00:00
Chris Young
78e956607f
Don't busy the pointer when removing the caret - it's pointless and flickery
2013-01-15 19:23:20 +00:00
Chris Young
8625933812
Expand the damaged area rectangle by one pixel each side to stop missing lines
2013-01-13 19:11:48 +00:00
Chris Young
e7ef916b53
Prevent deadlock during simple refresh damaged area redraw
2013-01-13 19:06:51 +00:00
Chris Young
453301f961
Fix fast scroll up
2013-01-12 14:06:48 +00:00
Chris Young
4011cc8671
Only set the busy pointer after we've decided not to bail out early
2013-01-06 11:40:37 +00:00
Chris Young
cc321d5f63
Track the mouse pointer on a per-window basis
2013-01-06 00:21:15 +00:00
Chris Young
07024b05c4
Change the mouse pointer back to what it was (and what NetSurf thinks it is) instead of to the default pointer. Additionally don't use ami_update_pointer for treeview windows as AmigaOS has a pointer setting per window, but NetSurf is only storing the current one as a single global variable.
2013-01-03 19:53:20 +00:00
Chris Young
dfc2fe6f97
gui_window_2 var should be gwin for consistency
2013-01-03 19:32:21 +00:00
Chris Young
625012a869
Set the busy pointer during redraws
2013-01-03 19:26:51 +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
ea5096fb8d
These values shouldn't be declared static
2012-12-15 13:43:05 +00:00
Chris Young
08cb5a09b2
Work around a speedbar.gadget layout bug
2012-12-15 13:39:40 +00:00
Chris Young
ec7389a18f
Update the current pressed qualifier keys at every RAWKEY event, as the update doesn't work during IDCMP_IDCMPUPDATE
2012-12-10 20:26:40 +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
083b7c0233
Enable persistent tab bar through tab_always_show option
2012-12-09 20:05:22 +00:00
Chris Young
0c54f2a902
Prevent multiple tabbars
2012-12-09 20:02:13 +00:00
Chris Young
24e1aff974
Reverse the logic as well as the req text
2012-12-09 20:00:59 +00:00
Chris Young
388ddc6dbd
non-working "always show tabbar" option
2012-12-09 20:00:11 +00:00
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
John Mark Bell
d5bb9d98e7
Build resource: map at start time
...
Remove stylesheet url globals -- the core will always use resource:{default,quirks,adblock}.css as appropriate
svn path=/trunk/netsurf/; revision=12949
2011-10-05 08:32:52 +00:00
Chris Young
b9a40d8e47
Fix crash when switching tabs
...
svn path=/trunk/netsurf/; revision=12932
2011-10-03 18:08:52 +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
87ba84abfe
Disable RAmiga-U temporarily as ActivateGadget() is causing a bizarre but fatal
...
interaction with context menus.
svn path=/trunk/netsurf/; revision=12913
2011-09-29 22:13:13 +00:00
Chris Young
5d7c1caffe
Also read mimetype mappings from mimetypes.user
...
svn path=/trunk/netsurf/; revision=12876
2011-09-25 17:03:37 +00:00
Chris Young
4573560c61
increase keyboard scroll speed to 10px
...
svn path=/trunk/netsurf/; revision=12875
2011-09-25 10:08:23 +00:00
Chris Young
215c31ac0d
When pressing mouse button don't try to go forwards in history first... instead make
...
releasing mouse button 5 go forwards in history.
svn path=/trunk/netsurf/; revision=12873
2011-09-24 15:20:05 +00:00
John Mark Bell
f27d5a3e15
Remove gui_multitask
...
svn path=/trunk/netsurf/; revision=12828
2011-09-21 00:25:09 +00:00
Chris Young
9bb586769a
Remove AMINS_FRAME
...
svn path=/trunk/netsurf/; revision=12801
2011-09-16 18:00:39 +00:00
John Mark Bell
339bed7272
Virtualise content handler finalisation calls. Remove pointless implementations.
...
svn path=/trunk/netsurf/; revision=12797
2011-09-15 22:47:50 +00:00
Chris Young
049a3eb80a
Fix search icon disappearing when layout size bar dragged
...
svn path=/trunk/netsurf/; revision=12790
2011-09-12 22:38:51 +00:00
Chris Young
6a5b10c685
Convert keypresses to UCS4. Fixes issue with typing Euro symbol (¤). Probably fixes
...
other characters in more exotic character sets.
svn path=/trunk/netsurf/; revision=12789
2011-09-12 21:56:15 +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
9d952f2ae2
Setting screen signals this late doesn't work, so revert r12486 completely and return
...
to busy-looping (but a bit friendlier this time, waiting 1 second between attempts)
svn path=/trunk/netsurf/; revision=12785
2011-09-10 23:25:49 +00:00
Chris Young
8e67ad8051
Select fonts, sizes and colours for splash screen text rather than relying on system
...
default
svn path=/trunk/netsurf/; revision=12776
2011-09-07 23:01:53 +00:00
Chris Young
98a0c25344
Use Michael Drake's proper splash screen
...
svn path=/trunk/netsurf/; revision=12773
2011-09-07 18:38:08 +00:00
Chris Young
0f79ab2c19
Avoid button flicker
...
svn path=/trunk/netsurf/; revision=12761
2011-09-06 20:58:26 +00:00
Michael Drake
0401d52f51
Remove gui_window_frame_resize_start() functions.
...
svn path=/trunk/netsurf/; revision=12738
2011-09-05 15:35:34 +00:00
Chris Young
330227d87a
Remove more checks for browser_window_type
...
svn path=/trunk/netsurf/; revision=12719
2011-09-04 22:35:11 +00:00
Chris Young
985bf9e191
Remove browser_window type from ami_create_menu()
...
Remove DrawInfo too, as only there for image menus which never worked.
svn path=/trunk/netsurf/; revision=12718
2011-09-04 22:26:24 +00:00
Michael Drake
235bc41941
Fix indentation.
...
svn path=/trunk/netsurf/; revision=12714
2011-09-04 18:53:54 +00:00
Michael Drake
202f972199
Delete a whole bunch of redundant tests for browser_window_type. Front ends now only ever have any connection to browser windows of type BROWSER_WINDOW_NORMAL. Still a couple of uses in there; ami_menu_create() shouldn't need take a browser_window_type param now.
...
svn path=/trunk/netsurf/; revision=12713
2011-09-04 18:50:46 +00:00
Michael Drake
5be6bd452d
Remove gui_window_position_frame() definition from core and remove all implementations from front ends.
...
svn path=/trunk/netsurf/; revision=12711
2011-09-04 18:20:24 +00:00
John Mark Bell
4b189ab0bc
Squash warnings resulting from mismatched type expectations
...
svn path=/trunk/netsurf/; revision=12701
2011-09-02 22:09:23 +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
1cb60828ea
Don't refresh buttons when enabling/disabling. Fixes bitmap alpha/overprinting
...
problem (thanks to Simon Archer)
svn path=/trunk/netsurf/; revision=12694
2011-08-31 19:53:34 +00:00
Michael Drake
42467f16dd
Don't need to set current_redraw_browser any more.
...
svn path=/trunk/netsurf/; revision=12654
2011-08-24 13:33:58 +00:00
Chris Young
39e5c04da7
Fix warnings
...
svn path=/trunk/netsurf/; revision=12616
2011-07-23 14:06:13 +00:00
Chris Young
31d1313944
Ensure buttons update (stop button activates) when new URL starts to load
...
svn path=/trunk/netsurf/; revision=12606
2011-07-16 13:53:22 +00:00
Michael Drake
ed8778ddb3
Fix up Amiga for r12574 API change.
...
svn path=/trunk/netsurf/; revision=12575
2011-07-06 12:42:17 +00:00
Chris Young
b1e425a967
Correctly select FILLPEN or FOREGROUNDPEN for scroller knob colour
...
svn path=/trunk/netsurf/; revision=12569
2011-07-03 18:20:18 +00:00
Chris Young
d253daa020
Pick scroller gadget colours from the screen's DrawInfo pens
...
svn path=/trunk/netsurf/; revision=12568
2011-07-03 17:22:23 +00:00
Chris Young
9d30f67d54
Fix AppIcons for non-HTML contents
...
svn path=/trunk/netsurf/; revision=12564
2011-07-03 11:47:54 +00:00
Chris Young
aa8e6de67d
Make AmiDock icon behave a little more sensibly when all windows are iconified.
...
svn path=/trunk/netsurf/; revision=12563
2011-07-03 11:20:00 +00:00
Chris Young
e3447be7a3
Iconfication; only enabled when running on WB screen at present
...
svn path=/trunk/netsurf/; revision=12562
2011-07-03 11:05:18 +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
Chris Young
910c6d314f
Put a search icon where the old search favicon was
...
svn path=/trunk/netsurf/; revision=12558
2011-07-02 19:38:54 +00:00
Chris Young
6fd47035c1
Fix compilation
...
svn path=/trunk/netsurf/; revision=12547
2011-06-30 18:58:52 +00:00
Michael Drake
eddae6af06
Remove plotter table global. Pass a redraw context around redraw functions. Knockout could be handled better. Note: untested on most front ends.
...
svn path=/trunk/netsurf/; revision=12543
2011-06-30 15:48:07 +00:00
Michael Drake
2bedf4d88f
Frond ends signal end of drag with call to browser_window_mouse_track.
...
svn path=/trunk/netsurf/; revision=12515
2011-06-27 17:45:17 +00:00
Chris Young
f747bbb79e
Shortcut backspace = go back one page in history
...
svn path=/trunk/netsurf/; revision=12506
2011-06-25 16:00:02 +00:00
Michael Drake
dea7683985
Remove gui_window_set_scale().
...
svn path=/trunk/netsurf/; revision=12502
2011-06-24 12:01:24 +00:00
Michael Drake
5a4c8916ef
If iframes are reformatted due to containing document reflow, don't need to redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust.
...
svn path=/trunk/netsurf/; revision=12497
2011-06-24 09:30:33 +00:00
Chris Young
548e1f2f77
Ensure the WB screen gets unlocked, avoid passing a NULL to CloseScreen
...
svn path=/trunk/netsurf/; revision=12491
2011-06-19 11:16:48 +00:00
Chris Young
e61ad6326a
screen type should be PUBLICSCREEN not CUSTOMSCREEN
...
svn path=/trunk/netsurf/; revision=12490
2011-06-18 17:58:36 +00:00
Chris Young
2dd8fcd6d0
initialise context menus regardless of user's preferences on startup
...
svn path=/trunk/netsurf/; revision=12489
2011-06-18 17:40:27 +00:00
Chris Young
66b52c0af0
Reinstate waiting for visitor windows to close if the public screen could not be
...
closed. Do it properly this time, with signals.
svn path=/trunk/netsurf/; revision=12486
2011-06-16 18:46:43 +00:00
Chris Young
a7c9fbfa04
remove no_iframes
...
svn path=/trunk/netsurf/; revision=12482
2011-06-15 17:40:36 +00:00
Chris Young
f2ef7ba6ba
up = down and down = up
...
svn path=/trunk/netsurf/; revision=12454
2011-06-03 18:11:19 +00:00
Chris Young
4270e80d7a
Make 4th mouse button go back in history, and 5th go forward. Untested.
...
svn path=/trunk/netsurf/; revision=12453
2011-06-03 18:08:17 +00:00
Chris Young
f214d3ecc8
Allow mixing of AmigaOS and NetSurf command line options
...
svn path=/trunk/netsurf/; revision=12449
2011-05-30 18:17:09 +00:00
Chris Young
ca8d2c9feb
update variable names
...
svn path=/trunk/netsurf/; revision=12382
2011-05-11 18:34:43 +00:00
Chris Young
1f1fe78c17
New style MIME typing; maps MIME types to DataTypes and DefIcon format names.
...
Currently only able to resolve DataTypes to MIME Types.
TODO:
- DT MIME type guessing needs mostly removing (only use if no matches in mimetypes
file)
- Migrate the rest of filetype.c to the new format (can filetype using icon.library
and reverse lookup MIME type, for example)
- Use to distinguish between CONTENT_IMAGE types
- Simplify so DefIcon type defaults to lowercase DataType name
svn path=/trunk/netsurf/; revision=12360
2011-05-09 22:11:18 +00:00
Chris Young
489c35c5f7
Simple initialisation splash screen
...
svn path=/trunk/netsurf/; revision=12303
2011-05-07 22:21:41 +00:00
Chris Young
208363fe2a
Rename DataTypes related code/files/defines to avoid confusion and aid adding support
...
for other DataType classes.
Disable MNG/WebP by default as they aren't common and the required libs are quite
large; DataTypes can handle these formats for now.
svn path=/trunk/netsurf/; revision=12284
2011-05-06 22:42:37 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00