Commit Graph

61 Commits

Author SHA1 Message Date
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
Chris Young
3daffe3d6b Events for these windows are handled by the main loop in gui.c, but the structures
didn't match up, thereby causing a crash.  Needs tidying up; the global part of these
window structures should be defined separately, and the events handled in dedicated
routines.

svn path=/trunk/netsurf/; revision=10235
2010-04-04 11:15:05 +00:00
Chris Young
7e551cf94f Missing include
svn path=/trunk/netsurf/; revision=10222
2010-03-31 16:41:56 +00:00
Chris Young
c2f9c06de3 Avoid failing completely if gui_window is NULL
svn path=/trunk/netsurf/; revision=10194
2010-03-28 21:40:22 +00:00
Chris Young
5bb5cedec5 Changes required for new-cache
svn path=/trunk/netsurf/; revision=10186
2010-03-28 15:51:05 +00:00
Daniel Silverstone
270ef59a98 Merge jmb/new-cache; r=dsilvers,rs=vince
svn path=/trunk/netsurf/; revision=10180
2010-03-28 12:56:39 +00:00
Chris Young
861b5b4953 Factor Amiga theme-related code out to a new file. This includes all throbber and
mouse pointer code (which are "theme modifiable") as well as normal theme reading
code.

svn path=/trunk/netsurf/; revision=10145
2010-03-23 22:27:33 +00:00
Chris Young
81e9d33a22 Set file comment to URL *after* closing the file. This resolves the problem with the
comment not being set on some filesystems.

svn path=/trunk/netsurf/; revision=10105
2010-03-06 17:06:52 +00:00
Chris Young
b2376c1656 Proper download notification code, should also open the file if the notification is
double-clicked, although it doesn't seem to work.

svn path=/trunk/netsurf/; revision=10037
2010-02-13 17:31:10 +00:00
Chris Young
40c768cec6 Notify on download completion using system-wide Ringhio notifications.
- Uses ARexx currently due to includes for application.library v53 not having been
released.
 - Shows a download complete message even if failed (but the user would already have
seen a warning requester about that)

svn path=/trunk/netsurf/; revision=9913
2010-01-25 12:41:05 +00:00
Chris Young
8a77de8377 Save favicon as part of icon for save_complete drawers and PDFs
svn path=/trunk/netsurf/; revision=9744
2009-12-19 15:57:53 +00:00