Commit Graph

4812 Commits

Author SHA1 Message Date
Chris Young
f4dd2e38d4 Exclude about: as that will never be handled externally and some sites use
about:blank extensively.

svn path=/trunk/netsurf/; revision=10129
2010-03-14 23:00:39 +00:00
Chris Young
3921fcf173 Fix character offset, which was one character left of where the user clicked even
though the caret itself was placed in the correct location.

svn path=/trunk/netsurf/; revision=10128
2010-03-14 22:48:25 +00:00
Chris Young
66730eb138 Only draw search favicon on normal browser windows
svn path=/trunk/netsurf/; revision=10127
2010-03-14 15:33:59 +00:00
John Mark Bell
4a950fcbf7 Only run the scheduler on null poll events.
Ensure the status bar widget treats its text as const.

Fix erroneous free of status bar text in status bar widget destructor. 
The status bar text is now owned by the core.

Schedule a callback to request a redraw from the Wimp when setting status bar 
text. The previous approach could lead to the Wimp having a long queue of 
redraw events to issue to us, thus preventing any other application being 
scheduled.

The above changes are based on a patch from Rik Griffin.

svn path=/trunk/netsurf/; revision=10126
2010-03-10 22:47:37 +00:00
Chris Young
ee958f5983 Pass all unknown URLs to launch-handler/OpenURL.
launch-handler in particular can be coerced into opening things like news: just by
creating a new config file as ENVARC:launch-handler/URL/NEWS.LH

svn path=/trunk/netsurf/; revision=10106
2010-03-07 00:46:08 +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
33be95d328 Fix compilation
svn path=/trunk/netsurf/; revision=10074
2010-02-22 19:18:27 +00:00
Chris Young
f7c654885c Attempt fix for OS4.0
svn path=/trunk/netsurf/; revision=10073
2010-02-21 21:24:58 +00:00
François Revel
093d9567f1 Accomodate for antique versions of libpng (as found with the BeOS R5 devkit), which either:
- don't define the png_jmpbuf macro,
- have a different name for png_set_expand_gray_1_2_4_to_8().

svn path=/trunk/netsurf/; revision=10069
2010-02-17 22:25:03 +00:00
Chris Young
da54611fb6 Try to avoid the tab switching if closing a tab other than the current one (doesn't
seem to work, the act of clicking close must implicity switch to that tab)
Remove extraneous Add Tab button layout group

svn path=/trunk/netsurf/; revision=10058
2010-02-14 15:32:54 +00:00
Chris Young
869d333a51 Sync button images with Windows version
svn path=/trunk/netsurf/; revision=10057
2010-02-14 14:50:06 +00:00
Chris Young
a380b15070 Add an Add Tab button.
Could probably do with an image for this for the default theme (currently falls back
to a textual "+")

svn path=/trunk/netsurf/; revision=10053
2010-02-14 14:00:33 +00:00
Chris Young
e1c41ba712 New window/tab now opens a blank window/tab rather than one showing the current URL
svn path=/trunk/netsurf/; revision=10051
2010-02-14 12:51:30 +00:00
Chris Young
63226802bf Tidy up includes
Add a separator bar between the toolbar and the main browser area/tabs

svn path=/trunk/netsurf/; revision=10050
2010-02-14 12:26:12 +00:00
Chris Young
2d6bd48770 and again.
svn path=/trunk/netsurf/; revision=10049
2010-02-14 11:52:23 +00:00
Chris Young
84b95ed4d5 Didn't catch that the last commit was slightly out of sync with trunk
svn path=/trunk/netsurf/; revision=10048
2010-02-14 11:13:41 +00:00
Chris Young
9c027ddeb5 Missing string (thanks to Samir Hawamdeh)
svn path=/trunk/netsurf/; revision=10047
2010-02-14 11:04:22 +00:00
Chris Young
099ed24184 Improved tabs for OS4.1u1:
* Tabs now have a close gadget embedded
* The tab bar only displays if there is more than one tab open
* Changed the AISS theme "tab loading" image to something more appropriate

Under OS4.0 the old tab close button and permanent tab bar still applies (needs
testing as these changes may well have broken it)

Users of OS4.1 prior to Update 1 will probably need to update!

svn path=/trunk/netsurf/; revision=10045
2010-02-14 00:46:53 +00:00
Vincent Sanders
4990d8172a Fix initial sizing
Fix scrollbars

svn path=/trunk/netsurf/; revision=10044
2010-02-13 23:02:51 +00:00
Michael Drake
79a37090a2 More GTK install resources.
svn path=/trunk/netsurf/; revision=10043
2010-02-13 20:46:37 +00:00
Michael Drake
b263a70bb4 Remove html favicon of unknown origin and use a NetSurf logo when there's no other favicon.
svn path=/trunk/netsurf/; revision=10042
2010-02-13 20:39:07 +00:00
Michael Drake
08e21a95e3 Set filetype type names for ICO and BMP.
svn path=/trunk/netsurf/; revision=10041
2010-02-13 20:04:30 +00:00
Rob Kendrick
b23ca72421 Don't gzip SearchEngines on installation
svn path=/trunk/netsurf/; revision=10040
2010-02-13 19:06:32 +00:00
Chris Young
73827546ef Fix new warnings. Not sure if I should be declaring all the gadgets as Object *, but
that is less casting than declaring them all as struct Gadget * - and allows the
merging of object and gadget arrays, which were causing a few problems previously.

svn path=/trunk/netsurf/; revision=10039
2010-02-13 18:03:05 +00:00
Michael Drake
44f93cb288 Fix GTK install to install other glade files.
svn path=/trunk/netsurf/; revision=10038
2010-02-13 17:51:19 +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
Rob Kendrick
30e97149ef Fix GTK installation target
svn path=/trunk/netsurf/; revision=10036
2010-02-13 16:25:05 +00:00
Michael Drake
90a738c82a Update LibROSprite details in NetSurf build docs.
svn path=/trunk/netsurf/; revision=10031
2010-02-13 09:55:28 +00:00
Rob Kendrick
ec402980b9 Change previous commit to more sensible values
svn path=/trunk/netsurf/; revision=9971
2010-02-12 13:14:12 +00:00
Michael Drake
14a1574e20 More normal default window size for nsgtk.
svn path=/trunk/netsurf/; revision=9970
2010-02-12 13:01:48 +00:00
Chris Young
0b29da0700 Remove status bar checks which are now in the core.
svn path=/trunk/netsurf/; revision=9969
2010-02-11 18:49:03 +00:00
Vincent Sanders
cf322aeda3 Review fixups from Daniel Silverstone
Ensure status text statistics are initialised
Fix documentation and indentation of status text variables.

svn path=/trunk/netsurf/; revision=9968
2010-02-11 10:58:26 +00:00
John Mark Bell
160c5de283 Valgrind suppressions file
svn path=/trunk/netsurf/; revision=9967
2010-02-11 00:23:59 +00:00
Vincent Sanders
c1e7429d58 remove RISC OS status bar text caching
svn path=/trunk/netsurf/; revision=9966
2010-02-11 00:10:58 +00:00
Vincent Sanders
1537981da5 cache the status text to reduce teh number of window status update calls to teh frontend
svn path=/trunk/netsurf/; revision=9965
2010-02-10 23:37:06 +00:00
John Mark Bell
babf642970 Process command line after loading options file.
svn path=/trunk/netsurf/; revision=9964
2010-02-10 07:22:50 +00:00
John Mark Bell
fcf264d4cd Remove apparently spurious status update.
svn path=/trunk/netsurf/; revision=9963
2010-02-10 00:57:23 +00:00
John Mark Bell
ee833877c5 Rate limit fetch progress notifications.
svn path=/trunk/netsurf/; revision=9962
2010-02-10 00:32:12 +00:00
Michael Drake
f814ef97ce Remove duplicate. Thanks to Sebastian Barthel.
svn path=/trunk/netsurf/; revision=9961
2010-02-09 22:58:36 +00:00
Michael Drake
b7f812d5a2 Replace old internal font with new one. New font
has bold, italic and italic&bold variants.  Change
internal font's encoding from CP437 to CP1252,
since it has more useful glyphs for web browsing.

svn path=/trunk/netsurf/; revision=9957
2010-02-06 22:32:39 +00:00
Vincent Sanders
a85f391906 Fix high colour bitmap loading on toolbar
svn path=/trunk/netsurf/; revision=9955
2010-02-04 23:15:50 +00:00
Vincent Sanders
c41bcf0b28 Cleanup toolbar usage
Fix font sizing

svn path=/trunk/netsurf/; revision=9954
2010-02-04 21:05:44 +00:00
Vincent Sanders
36a21bdae4 make new window work
svn path=/trunk/netsurf/; revision=9953
2010-02-04 08:25:06 +00:00
Vincent Sanders
0eb9663b1c Make window resizeing not delete all child windows and recreate them a resize is sufficient
svn path=/trunk/netsurf/; revision=9952
2010-02-02 23:43:09 +00:00
Vincent Sanders
6b99aa5388 remove all references to defunct vertical offset from plotters
svn path=/trunk/netsurf/; revision=9950
2010-02-01 23:59:40 +00:00
Vincent Sanders
f382e2821a Substantial cleanup
perform drawing in child window
eliminate random vertical offsets

svn path=/trunk/netsurf/; revision=9949
2010-02-01 23:48:00 +00:00
Michael Drake
522a39d068 Formatting changes.
svn path=/trunk/netsurf/; revision=9944
2010-01-31 12:45:03 +00:00
Michael Drake
b65c517a78 Add toolbar icons.
svn path=/trunk/netsurf/; revision=9942
2010-01-31 12:16:06 +00:00
Vincent Sanders
aea79668e0 fix include path mis-merge
svn path=/trunk/netsurf/; revision=9941
2010-01-31 00:39:32 +00:00
Vincent Sanders
55162445db Add Windows frontend
svn path=/trunk/netsurf/; revision=9940
2010-01-31 00:36:02 +00:00