Commit Graph

71 Commits

Author SHA1 Message Date
Chris Young 65adc17121 Fix a bunch of cppcheck unused/unreadVariable warnings 2014-04-05 20:26:40 +01:00
Chris Young 975a1d3c5d Fix cppcheck variableScope warnings 2014-04-05 20:26:40 +01:00
Chris Young f0f05d691b Fix cppcheck nullPointer 2014-04-03 19:12:47 +01:00
Michael Drake 49bed056dd Make browser_window_navigate (un)verifiable flag match browser_window_create. 2014-02-10 22:40:04 +00:00
Chris Young cbf423d4c6 Try quitting after downloading if there are no windows open 2014-02-10 20:40:08 +00:00
Michael Drake af014bce99 Allow tab creation without history clone. Changes browser_window_create and browser_window_navigate flags. 2014-02-10 14:08:45 +00:00
Vincent Sanders ba4788108b fixup amiga build errors 2014-01-16 14:43:48 +00:00
Vincent Sanders bd065d4a43 split browser gui operations up 2014-01-15 19:37:05 +00:00
Vincent Sanders 8dfe225153 move download operations to download table 2014-01-14 16:04:02 +00:00
Chris Young 9bd355e30c Convert download filename to local charset 2014-01-02 18:50:59 +00: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 2381ee1f7e Remove rogue inc 2013-07-27 14:58:21 +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
Vincent Sanders ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Chris Young b66775dc53 Prevent ASL from causing delayed menus 2013-05-25 13:59:42 +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 3b53d22260 Remove no-longer-needed code 2013-04-15 23:02:32 +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
Vincent Sanders 529ca251fc rename flags for browser_window routines to be shorter 2013-02-18 11:51:42 +00:00
Vincent Sanders 3bfb5b96a7 browser_window_navigate refactor 2013-02-18 11:23:27 +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 24e1aff974 Reverse the logic as well as the req text 2012-12-09 20:00:59 +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 ff333828b7 Warn when closing multiple tabs 2012-12-08 17:47:57 +00:00
Chris Young ffac64fcea Move download overwrite warning requester to misc.c 2012-12-08 17:25:25 +00: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 cb9cee3ab7 Don't show a "download complete" message if there was an error or the user
aborted.

svn path=/trunk/netsurf/; revision=13944
2012-06-04 15:10:13 +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 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 79268e6d83 use human_friendly_bytesize
svn path=/trunk/netsurf/; revision=12619
2011-07-23 15:34:52 +00:00
Chris Young 7f6b694732 Show existing file size when file already exists on download
svn path=/trunk/netsurf/; revision=12618
2011-07-23 15:19:27 +00:00
Chris Young 9cd5974868 Fill in conspiciusly-empty else; fix warnings
svn path=/trunk/netsurf/; revision=12617
2011-07-23 14:10:01 +00:00
Chris Young 14d6826685 Implement ask overwrite
svn path=/trunk/netsurf/; revision=12135
2011-03-26 10:33:58 +00:00
Chris Young 84dbdbee76 Don't override download dir as it stops the last used dir being remembered
svn path=/trunk/netsurf/; revision=11908
2011-03-04 21:01:43 +00:00
Chris Young b49669d17e Get filename from core
svn path=/trunk/netsurf/; revision=11771
2011-02-23 18:45:08 +00:00
John Mark Bell d83f683e96 Sprinkle some #ifdef __amigaos4__ around
svn path=/trunk/netsurf/; revision=11230
2011-01-06 23:17:17 +00:00
Chris Young 001b401890 Support ColourIcons
svn path=/trunk/netsurf/; revision=10928
2010-10-31 11:14:26 +00:00
Chris Young 078ff2fd51 Move drag icon stuff to own file; fix warnings
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young d185dc310a Allow drags of URLs from treeview windows to browser windows.
svn path=/trunk/netsurf/; revision=10921
2010-10-30 10:44:44 +00:00
Chris Young 25e9b79f5c Allow getting the tree's drag property. This ensures we can see whether the current
drag is something we might need to display an icon for.

svn path=/trunk/netsurf/; revision=10917
2010-10-29 17:40:36 +00:00
Chris Young bdf3c32f44 Only allow auto-scroll on selection and selection drags
svn path=/trunk/netsurf/; revision=10904
2010-10-24 17:51:00 +00:00
Chris Young 5d40458ad5 Auto-scroll on drags beyond window boundaries
svn path=/trunk/netsurf/; revision=10894
2010-10-19 22:22:03 +00:00
Chris Young 40a530e99e Fix OS4 static (non-Cairo) build
svn path=/trunk/netsurf/; revision=10808
2010-09-21 17:58:30 +00:00
Chris Young 0522be76ab Add option to control whether drags have icons or just a pointer change.
svn path=/trunk/netsurf/; revision=10672
2010-07-29 21:41:25 +00:00
Chris Young b6b86e8acc Show an icon under the pointer for drag save operations. Might need disabling under
4.0.

svn path=/trunk/netsurf/; revision=10670
2010-07-28 21:33:16 +00:00
Chris Young acf46e01a8 Allow text selection dragging across (NetSurf) windows. DisplayBeep if it is dropped
somewhere invalid.

svn path=/trunk/netsurf/; revision=10665
2010-07-27 21:41:21 +00:00
Chris Young 004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Chris Young b6937419e1 Fix broken event handling.
Any structures attached to the window_list *must* have a struct nsObject * as their
first entry, and handle events outside of gui.c.

svn path=/trunk/netsurf/; revision=10332
2010-04-09 22:38:51 +00:00
John Mark Bell 2748fe4f64 Make downloads work again.
svn path=/trunk/netsurf/; revision=10243
2010-04-05 21:35:38 +00:00