Commit Graph

4882 Commits

Author SHA1 Message Date
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
Chris Young
87695acd33 Fix download progress title corruption
svn path=/trunk/netsurf/; revision=9647
2009-10-15 16:49:52 +00:00
Michael Drake
4d1cd2ad64 Trim dead wood.
svn path=/trunk/netsurf/; revision=9646
2009-10-15 16:02:59 +00:00
John Mark Bell
9e742f13da Log failures
svn path=/trunk/netsurf/; revision=9629
2009-10-12 17:38:22 +00:00
John Mark Bell
1c403cb2f8 svgtiny requires separate contents
svn path=/trunk/netsurf/; revision=9615
2009-10-08 12:03:44 +00:00
John Mark Bell
1cf99058a3 Use DejaVu instead of Vera, seeing as Debian have removed Vera from sid.
svn path=/trunk/netsurf/; revision=9606
2009-10-05 11:22:09 +00:00
Chris Young
8753b5a35d Implement the ability to stay in memory if all windows are closed. This and no window
on startup can be used together to make NetSurf "quick launch" and always available.

svn path=/trunk/netsurf/; revision=9603
2009-10-03 11:00:10 +00:00
Chris Young
33b3aa20bd Updated translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=9602
2009-10-01 21:40:46 +00:00
Chris Young
12ac8eb215 Add options for "no quit on last window close" (disabled - not implemented) and
"no window on startup"

svn path=/trunk/netsurf/; revision=9601
2009-09-29 18:24:19 +00:00
Chris Young
cf1d796491 Added application.library messages New Doc and Open Doc.
Added option_startup_no_window to allow NetSurf to be opened without an initial
browser window (unless a URL is specified on the command line or by extended
selection)

Provision for option_close_no_quit for NetSurf to stay in memory when all browser
windows are closed (not implemented yet)

svn path=/trunk/netsurf/; revision=9600
2009-09-28 22:17:09 +00:00
Chris Young
abf51104fe Register with application.library.
Icon appears on AmiDock - ToFront, Open Prefs and (Force) Quit commands work.
Open (and maybe Print) Document could potentially be added.
Not sure if AppIcon-style drag'n'drop works with application.library-registered apps
by default (once Open supported).

svn path=/trunk/netsurf/; revision=9599
2009-09-28 18:00:40 +00:00
Chris Young
a80a4968bd fix text cursor positioning some more
svn path=/trunk/netsurf/; revision=9597
2009-09-23 21:52:36 +00:00
Michael Drake
41a2a71c2a List SVGTiny too, because it uses the core build system now.
svn path=/trunk/netsurf/; revision=9595
2009-09-19 11:10:59 +00:00
Chris Young
2b6b97e6c1 Fix obviously wrong logic and tweak the status display area frame slightly so it looks
better (or at least fits in with the OS look better)

svn path=/trunk/netsurf/; revision=9592
2009-09-17 21:44:07 +00:00
Chris Young
a35b96ace7 Modify bottom border status gadget so that it has a frame. When the gadget is
refreshed now it will erase the gadget area before redrawing, allowing to use
RefreshGList instead of RefreshWindowFrame.  This is significantly faster as
RefreshWindowFrame redraws more than the function name suggests.

svn path=/trunk/netsurf/; revision=9577
2009-09-15 22:49:33 +00:00
Chris Young
a6fb92eb8a Update from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=9569
2009-09-13 22:09:27 +00:00
Chris Young
8bc7cfbe04 Doc updates
svn path=/trunk/netsurf/; revision=9564
2009-09-13 12:23:30 +00:00
John Mark Bell
4e5488ccfa Introduce the concept of content reusability.
svn path=/trunk/netsurf/; revision=9563
2009-09-09 10:40:53 +00:00