Commit Graph

51 Commits

Author SHA1 Message Date
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
John Mark Bell
355799ce0b Merge branches/MarkieB/gtkmain to trunk.
svn path=/trunk/netsurf/; revision=9729
2009-12-17 23:55:02 +00:00
Chris Young
bc4abe9087 Fix some potential issues with lists not being freed properly
svn path=/trunk/netsurf/; revision=9677
2009-11-15 23:11:41 +00:00
Chris Young
87695acd33 Fix download progress title corruption
svn path=/trunk/netsurf/; revision=9647
2009-10-15 16:49:52 +00:00
Chris Young
69ee94bb47 Fix crash on www.bebo.com
svn path=/trunk/netsurf/; revision=9409
2009-08-23 10:20:51 +00:00
Chris Young
6f120338ed Add ability to copy SVGs to the clipboard and save in IFF DR2D format.
svn path=/trunk/netsurf/; revision=7523
2009-05-19 07:23:56 +00:00
Chris Young
478d953ea5 Copy and save images in IFF ILBM format. Currently, the data in the BODY chunk is
wrong.

svn path=/trunk/netsurf/; revision=7516
2009-05-16 14:50:30 +00:00
Chris Young
84873deeff Add Abort button to download window
svn path=/trunk/netsurf/; revision=7384
2009-04-30 18:40:26 +00:00
Chris Young
9f4851d288 Fix ARexx download queue - GummiSurf now works, and manual ARexx-initiated downloads
will be processed in turn rather than simultaneously.

svn path=/trunk/netsurf/; revision=7075
2009-04-14 18:51:10 +00:00
Chris Young
b180dd1a11 Stop cursor drawing off the page
Implement gui_window_save_as_link
Fix warnings


svn path=/trunk/netsurf/; revision=6970
2009-03-28 15:43:12 +00:00
Chris Young
2cfe83a921 Minor fixes
svn path=/trunk/netsurf/; revision=6967
2009-03-28 12:56:59 +00:00