Commit Graph

5274 Commits

Author SHA1 Message Date
James Bursa
76a8c043a6 Simplify a browser_window_go_post() to browser_window_go().
svn path=/trunk/netsurf/; revision=10762
2010-09-12 18:27:59 +00:00
Chris Young
4972283771 Ensure the file that is read for info is in the platform's native path format, whilst
the path used for any links is in the correct URL format.

svn path=/trunk/netsurf/; revision=10761
2010-09-12 11:42:37 +00:00
Chris Young
883c738c0a Stop launch-handler from reporting unknown protocols more than once
svn path=/trunk/netsurf/; revision=10760
2010-09-12 11:29:58 +00:00
Chris Young
c0332c4394 Use core file fetcher
svn path=/trunk/netsurf/; revision=10759
2010-09-12 10:23:12 +00:00
Chris Young
90b7aca965 Updated translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=10758
2010-09-12 08:58:29 +00:00
Vincent Sanders
8900d3a803 missing declaration
svn path=/trunk/netsurf/; revision=10757
2010-09-11 20:51:08 +00:00
Vincent Sanders
faca1687ce hell with it, heres a version which should result in fewer portability complaints
svn path=/trunk/netsurf/; revision=10756
2010-09-11 18:47:36 +00:00
Chris Young
4cbb19f218 Fix compilation on AmigaOS4
svn path=/trunk/netsurf/; revision=10755
2010-09-11 17:45:23 +00:00
Vincent Sanders
bf11d92769 cause content_redraw() to be called with the width and height of the content instead of the window.
r=tlsa

svn path=/trunk/netsurf/; revision=10754
2010-09-10 13:35:54 +00:00
Vincent Sanders
43eb5cd640 Fix GTK redraw artifacts with non html content
svn path=/trunk/netsurf/; revision=10753
2010-09-10 13:08:05 +00:00
Michael Drake
150e4d18bb Add a bit of padding to bottom of directory listings. Tidy code indentation.
svn path=/trunk/netsurf/; revision=10752
2010-09-10 12:49:41 +00:00
John Mark Bell
2077918805 Merge branches/vince/netsurf-file-fetcher to trunk
r=jmb

svn path=/trunk/netsurf/; revision=10750
2010-09-09 21:45:59 +00:00
Michael Drake
b9773d34bb Root element can't be absolute positioned. Fixes #3062055.
svn path=/trunk/netsurf/; revision=10743
2010-09-08 17:22:35 +00:00
Michael Drake
e0477fa668 Redraw object scrollbars if required.
svn path=/trunk/netsurf/; revision=10731
2010-08-30 22:43:01 +00:00
Michael Drake
0de9f41db7 Fix object descendants and make space for scrollbars if required.
svn path=/trunk/netsurf/; revision=10730
2010-08-30 22:30:43 +00:00
Michael Drake
ece31d1358 Don't special case height to content height when object's content is HTML.
svn path=/trunk/netsurf/; revision=10729
2010-08-30 22:09:49 +00:00
Michael Drake
93873344dd Fix clipping to exclude border for objects.
svn path=/trunk/netsurf/; revision=10728
2010-08-30 21:47:54 +00:00
Chris Young
73db706295 Revert accidental change which was causing corruption down the right-hand side of
images

svn path=/trunk/netsurf/; revision=10723
2010-08-30 12:25:38 +00:00
Chris Young
4479da540f Debug plotters. It appears that the odd slowness on some sites (eg. sourceforge.net)
can be eliminated by setting option_cache_bitmaps to 2, so make that the default.

svn path=/trunk/netsurf/; revision=10722
2010-08-30 11:00:24 +00:00
John Mark Bell
78f3bbaed3 Fix bug #3055480: properly compare URLs, instead of erroneously assuming that strcasecmp is the correct answer.
svn path=/trunk/netsurf/; revision=10721
2010-08-29 17:41:54 +00:00
Chris Young
af36d00066 Alias W for WINDOW and T for TAB.
Add documentation on ARexx startup/shutdown scripts

svn path=/trunk/netsurf/; revision=10720
2010-08-28 23:48:33 +00:00
Chris Young
b3a3988ff0 Add startup and shutdown ARexx scripts (default to startup.nsrx and shutdown.nsrx)
Remove PROGDIR: from arexx_dir default as AM_EXECUTE can't find files in PROGDIR:

svn path=/trunk/netsurf/; revision=10719
2010-08-28 23:46:08 +00:00
Chris Young
890e7b2b46 Add ARexx commands CLOSE (close window/tab) and ACTIVE (current window/tab number to
pass to other ARexx commands)
Add CloseTabs.nsrx script to close all tabs in the current window except the active
one

svn path=/trunk/netsurf/; revision=10718
2010-08-28 22:44:35 +00:00
John Mark Bell
fe750bd008 Fix GTK install target (note: .svn directories end up in the installed tree. This needs fixing)
svn path=/trunk/netsurf/; revision=10716
2010-08-26 19:05:24 +00:00
Michael Drake
175bb0344c Move directory listing HTML generation functions into separate module.
svn path=/trunk/netsurf/; revision=10715
2010-08-26 17:29:02 +00:00
Michael Drake
bbbbdd4d80 + Don't even consider top and bottom borders when they
fall outside the clip rect.  Should make scrolling up
  and down slightly faster.
+ Clip borders plotted as rectangles to the current clip
  rectangle.  Fixes redraw issue with very tall borders.

svn path=/trunk/netsurf/; revision=10713
2010-08-26 12:30:22 +00:00
Michael Drake
8c767656e2 + Pass clip rectangle around html_redraw_* as a struct rect.
+ Reduce fp maths at 1:1 scale for boxes with overflow:visisble.
+ Simplfy border plots.

svn path=/trunk/netsurf/; revision=10712
2010-08-26 10:01:26 +00:00
Chris Young
78401298b1 Avoid libjpeg version conflicts
svn path=/trunk/netsurf/; revision=10711
2010-08-24 19:44:12 +00:00
Chris Young
9c5c03848b Absolute path for theme location
svn path=/trunk/netsurf/; revision=10710
2010-08-19 17:01:50 +00:00
Michael Drake
607dca3e63 Simplication due to known border geometry characteristics. Fix double border style.
svn path=/trunk/netsurf/; revision=10709
2010-08-14 21:35:16 +00:00
Michael Drake
aa877fe856 Remove todo comment for something already done.
svn path=/trunk/netsurf/; revision=10708
2010-08-14 17:09:13 +00:00
Michael Drake
26cc213d23 Initialise opaque setting correctly at bitmap creation in framebuffer front end. (Now JPEGs will knockout stuff behind them.)
svn path=/trunk/netsurf/; revision=10707
2010-08-14 16:55:21 +00:00
Michael Drake
9aa397ba68 Start bitmap opacity support in GTK front end. Still needs bitmap_test_opaque() implemented to be complete.
svn path=/trunk/netsurf/; revision=10706
2010-08-14 16:47:18 +00:00
Michael Drake
30880797c7 Remove todo comment for something already done.
svn path=/trunk/netsurf/; revision=10705
2010-08-14 16:29:26 +00:00
François Revel
8e84978562 Fix colors on copying to clipboard.
svn path=/trunk/netsurf/; revision=10704
2010-08-14 16:08:56 +00:00
Michael Drake
561cb543ca Fix colour comparison to compare the right things. Plot left and right borders before top and bottom.
svn path=/trunk/netsurf/; revision=10703
2010-08-14 15:27:45 +00:00
Michael Drake
db0640e32c Slightly quicker border part length finding.
svn path=/trunk/netsurf/; revision=10702
2010-08-14 13:38:53 +00:00
Michael Drake
dbe7069171 Render 1px wide border parts with rectangle plotter, rather than polygon.
svn path=/trunk/netsurf/; revision=10701
2010-08-14 13:03:57 +00:00
Michael Drake
b65fa05375 + Optimise border handling at 1:1 scale.
+ Reduce computation for elements with no borders.
+ Simplfy border vertex calculation.
+ Add comments.

svn path=/trunk/netsurf/; revision=10700
2010-08-14 10:52:25 +00:00
Michael Drake
a84a8618f1 Remove printfs from bitmap plotter.
svn path=/trunk/netsurf/; revision=10699
2010-08-14 09:33:36 +00:00
Michael Drake
a2276dc6ba Fix BeOS build.
svn path=/trunk/netsurf/; revision=10698
2010-08-13 22:51:29 +00:00
Michael Drake
410a50496c Plot rectangular border parts with the rectangle plotter, rather than the polygon plotter.
svn path=/trunk/netsurf/; revision=10697
2010-08-13 22:29:49 +00:00
Michael Drake
1a08c89788 Make top and bottom borders flush with left and right of border box, when possible. Make left and right borders only render above/below padding box when they need to.
svn path=/trunk/netsurf/; revision=10696
2010-08-13 21:07:46 +00:00
Michael Drake
3d8a39e225 Skip transparent borders early and change border side plot order.
svn path=/trunk/netsurf/; revision=10695
2010-08-13 19:02:39 +00:00
Michael Drake
ab24d46f76 Fix inline border ends where inline text wraps.
svn path=/trunk/netsurf/; revision=10694
2010-08-13 16:53:30 +00:00
Michael Drake
c4da991b8d Simplify border vertex arrangement code slightly.
svn path=/trunk/netsurf/; revision=10693
2010-08-13 14:05:07 +00:00
Michael Drake
0612abef63 Delete dead code and tweak polygon plotter. Still wrong, but better.
svn path=/trunk/netsurf/; revision=10692
2010-08-13 10:59:40 +00:00
Michael Drake
01dc1ff435 Turn on knockout rendering.
svn path=/trunk/netsurf/; revision=10691
2010-08-13 08:41:44 +00:00
Michael Drake
2bd5c7a04a While bitmap_test_opaque() is unimplemented, it is unsafe to assume it is opaque, so return false instead.
svn path=/trunk/netsurf/; revision=10690
2010-08-13 08:38:26 +00:00
Michael Drake
312b1e9b4c Remove dead code. Fix bitmap_set_opaque() to apply the opacity value it's passed, rather than just setting it to true.
svn path=/trunk/netsurf/; revision=10689
2010-08-13 08:36:00 +00:00