Commit Graph

4799 Commits

Author SHA1 Message Date
Chris Young
c5dbbe89a9 Fix compilation
svn path=/trunk/netsurf/; revision=9734
2009-12-18 16:42:41 +00:00
John Mark Bell
1f4bb41301 I've decided that the user probably doesn't care if setting the filetype of saved HTML documents to HTML fails or not.
More importantly, this also squashes a memory leak, and stops returning false from a function which is defined as returning -1 on error.

svn path=/trunk/netsurf/; revision=9731
2009-12-18 00:11:37 +00:00
John Mark Bell
d7ddeebe76 Fix framebuffer build
svn path=/trunk/netsurf/; revision=9730
2009-12-18 00:06:57 +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
4346b2b62b Allow hiding of Docky icon by setting hide_docky_icon:1
(bit of a workaround involved as REGAPP_NoIcon doesn't
appear to check the tag value)

svn path=/trunk/netsurf/; revision=9725
2009-12-13 12:14:43 +00:00
Chris Young
4bcd8ee1ba Added keyboard navigation of tabs, using Alt+Left/Right
svn path=/trunk/netsurf/; revision=9724
2009-12-13 11:52:58 +00:00
Vincent Sanders
ac50b0b3e4 ensure source rectangle on copy operations has its upper co-ordinates set
svn path=/trunk/netsurf/; revision=9721
2009-12-07 17:35:11 +00:00
Vincent Sanders
647f6e17e6 optimise 1x1 bitmap plotting
svn path=/trunk/netsurf/; revision=9717
2009-12-05 13:08:16 +00:00
Vincent Sanders
6c271f148b Make pan routines use new screen copy API
svn path=/trunk/netsurf/; revision=9715
2009-12-04 11:13:33 +00:00
John Mark Bell
c3f2972d03 Another blatent use-after-free
svn path=/trunk/netsurf/; revision=9713
2009-12-03 22:12:43 +00:00
John Mark Bell
f6fbe6ef96 Fix blatent use-after-free bug.
svn path=/trunk/netsurf/; revision=9712
2009-12-03 22:10:56 +00:00
John Mark Bell
d88945bc0b Squash leak.
svn path=/trunk/netsurf/; revision=9711
2009-12-02 16:54:17 +00:00
John Mark Bell
dea67b984a Modern OSLib (as of 3 months ago) no longer has colourtrans_CURRENT_MODE.
Use os_CURRENT_MODE, instead.

svn path=/trunk/netsurf/; revision=9710
2009-12-02 16:30:44 +00:00
Michael Drake
e30c2b1e20 Remove extraneous comma.
svn path=/trunk/netsurf/; revision=9709
2009-11-30 10:01:36 +00:00
Michael Drake
a5476c02ac Purge unnecessary libs from requirements.
svn path=/trunk/netsurf/; revision=9708
2009-11-30 09:17:06 +00:00
John Mark Bell
0b4d623205 Make the gui click handlers responsible for deciding whether to act on DOWN or UP (or both), rather than having the fbtk forcibly prevent UP events being generated.
This fixes the inability to have clicks in the viewport acted upon, and also allows for useful future extensions such as drag scrolling and text selection.

svn path=/trunk/netsurf/; revision=9704
2009-11-23 22:56:29 +00:00
John Mark Bell
d591d8df94 Treat decomposed URLs with no path component as being for the path "/".
svn path=/trunk/netsurf/; revision=9703
2009-11-22 23:25:18 +00:00
John Mark Bell
ea288ade79 Insert missing breaks. If these cases really should fall through, they need commenting, instead.
svn path=/trunk/netsurf/; revision=9699
2009-11-22 14:44:58 +00:00
John Mark Bell
e88a276d91 Actually check for realloc failing
svn path=/trunk/netsurf/; revision=9698
2009-11-22 14:32:36 +00:00
John Mark Bell
2427ebea77 Fix array bounds check
svn path=/trunk/netsurf/; revision=9697
2009-11-22 14:27:56 +00:00
John Mark Bell
3f4d79e576 This optimisation was so simple that it was broken.
svn path=/trunk/netsurf/; revision=9696
2009-11-22 14:24:53 +00:00
John Mark Bell
8685cfb3b7 Fix the other half of this NULL dereference issue
svn path=/trunk/netsurf/; revision=9695
2009-11-22 14:21:47 +00:00
John Mark Bell
aaa14e7672 Fix erroneous switch fallthrough
svn path=/trunk/netsurf/; revision=9694
2009-11-22 14:12:49 +00:00
John Mark Bell
63848419e2 Ensure urldb file handle is closed on error.
svn path=/trunk/netsurf/; revision=9693
2009-11-22 14:12:03 +00:00
John Mark Bell
a042e38548 Squash leaks
svn path=/trunk/netsurf/; revision=9692
2009-11-22 14:10:39 +00:00
John Mark Bell
fb0198094b Squash memory leak
svn path=/trunk/netsurf/; revision=9691
2009-11-22 13:58:05 +00:00
John Mark Bell
0846b2ac95 Squash memory leak
svn path=/trunk/netsurf/; revision=9690
2009-11-22 13:55:32 +00:00
John Mark Bell
485e95c82e Squash memory leak
svn path=/trunk/netsurf/; revision=9689
2009-11-22 13:53:44 +00:00
John Mark Bell
eba224e09e Avoid potential NULL deference
svn path=/trunk/netsurf/; revision=9688
2009-11-22 13:52:16 +00:00
John Mark Bell
81c1b0e0df Don't call memcpy when p->segment is NULL
svn path=/trunk/netsurf/; revision=9687
2009-11-22 13:49:43 +00:00
John Mark Bell
51d545772c Squash warning
svn path=/trunk/netsurf/; revision=9686
2009-11-22 13:46:23 +00:00
John Mark Bell
498cd522da Avoid potential NULL pointer dereference
svn path=/trunk/netsurf/; revision=9685
2009-11-22 13:37:28 +00:00
John Mark Bell
2562f7e8c2 Avoid NULL pointer dereferences
svn path=/trunk/netsurf/; revision=9684
2009-11-22 13:35:41 +00:00
John Mark Bell
c2fd55cbab Protect against NULL pointers
svn path=/trunk/netsurf/; revision=9681
2009-11-22 13:31:47 +00:00
John Mark Bell
d010712a9c Avoid potential NULL pointer dereferences
svn path=/trunk/netsurf/; revision=9680
2009-11-22 13:28:30 +00:00
John Mark Bell
9ca1622183 Ensure selection context is zero-initialised. This may well be the root cause of the random selection crashes people have been seeing.
svn path=/trunk/netsurf/; revision=9679
2009-11-22 13:20:39 +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
John Mark Bell
9e86512c4f Fix quirks mode propagation for @style.
svn path=/trunk/netsurf/; revision=9675
2009-11-15 10:10:00 +00:00
Chris Young
976e5db268 Missing break
svn path=/trunk/netsurf/; revision=9662
2009-11-04 08:14:17 +00:00
Chris Young
fcaa11f548 Added F5 for reload, purely because I'm getting fed up of people asking for it.
svn path=/trunk/netsurf/; revision=9661
2009-11-04 08:06:52 +00:00
Chris Young
dcbe08d458 PageUp/Down, Home/End etc page scrolling now working.
Most menu shortcuts now available even when the pointer is hovering over the browser
window (menu disabled mode)
RAmiga-R (reload page) and RAmiga-U (activate URL bar) available from keyboard
shortcuts but not from the menu.
This fixes unsat bug #81

svn path=/trunk/netsurf/; revision=9660
2009-11-03 23:17:57 +00:00
John Mark Bell
54cd21ae0d Realm may be NULL iff there's no WWW-Authenticate header served up with a 401.
Default the realm to the fetch URL in this case. Fixes #2890933

Note for new cache implementation (which is actually capable of utilising response bodies in this situation): if there is no WWW-Authenticate header, serve up the response body immediately -- don't present an authentication dialogue.

svn path=/trunk/netsurf/; revision=9659
2009-11-03 07:03:07 +00:00
Chris Young
1b89eb8397 Basic keyboard scrolling
svn path=/trunk/netsurf/; revision=9658
2009-11-02 23:12:28 +00:00
Chris Young
e5b8264dd8 New key handling code borrowed from the treeview branch.
svn path=/trunk/netsurf/; revision=9657
2009-11-02 23:02:53 +00:00
Chris Young
0efc756a7a Support file://(/)localhost/ as well as file://(/)
As NetSurf insists on adding a third slash after file://, it is not possible to open
any local files which are in subdirectory "localhost" of the current directory.
Workaround is to type the "localhost" part in something other than fully lowercase.
In practice it is incredibly unlikely that even the workaround will need to be used.

svn path=/trunk/netsurf/; revision=9656
2009-11-01 16:01:07 +00:00
Chris Young
019eff10c1 Amiga print UI
svn path=/trunk/netsurf/; revision=9655
2009-11-01 14:53:04 +00:00
Chris Young
90012b487a Fix odd missing chars
svn path=/trunk/netsurf/; revision=9654
2009-10-24 09:18:22 +00:00
Chris Young
5ce6402321 Add a note on how to obtain the sources.
svn path=/trunk/netsurf/; revision=9651
2009-10-21 19:59:15 +00:00
Chris Young
9f6a4d9745 Revert previous change, causing instability.
svn path=/trunk/netsurf/; revision=9649
2009-10-16 19:49:56 +00:00
Chris Young
4059d2b096 Fix-up the timer.device scheduler and reinstate it as default. Unfortunately this
doesn't remove the need for INTUITICKS messages as we still need to break out for page
reflow (which doesn't use the scheduler), but it should make animations more accurate.

svn path=/trunk/netsurf/; revision=9648
2009-10-15 21:35:29 +00:00