Commit Graph

5255 Commits

Author SHA1 Message Date
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
François Revel 4cb2657d19 Copy over the gtk implementation of url_to_path/path_to_url(). This fixes getting the mime type of local files.
svn path=/trunk/netsurf/; revision=10688
2010-08-12 13:33:53 +00:00
John Mark Bell 00aeb20334 Less spam
svn path=/trunk/netsurf/; revision=10687
2010-08-10 21:46:45 +00:00
John Mark Bell 48b17a5aea Rate-limit cache clean attempts
svn path=/trunk/netsurf/; revision=10686
2010-08-10 19:58:39 +00:00
John Mark Bell 696a71c80d Load/save cookies file in framebuffer frontend
svn path=/trunk/netsurf/; revision=10685
2010-08-10 19:56:08 +00:00
Chris Young 791bc50789 Fix some edit menu probs
svn path=/trunk/netsurf/; revision=10684
2010-08-08 09:23:34 +00:00
Chris Young 0a70f6ede1 Correct font name
svn path=/trunk/netsurf/; revision=10683
2010-08-06 17:29:57 +00:00
François Revel f1252a6ff1 Include the resource id enumeration header. Not used yet.
svn path=/trunk/netsurf/; revision=10682
2010-08-03 21:42:43 +00:00
François Revel 4c17317388 Move the resource id enum to its own header. Add a ersizing handle pic for the replicant.
svn path=/trunk/netsurf/; revision=10681
2010-08-03 21:24:55 +00:00
Vincent Sanders 60fc5bab4f add explicit inlude for varargs
svn path=/trunk/netsurf/; revision=10678
2010-08-03 10:16:41 +00:00
François Revel 982dc9e128 Fix BeOS build:
- struct content -> hlcache_handle
- login window (though it won't work yet as the message isn't handled, and since we don't have the window pointer anymore we can't add the alert as subset of the window...),
- rsrc fetcher,
- netsurf_init() args (but the replicant is still broken due to this),
- export the realpath() hack as it's needed elsewhere too.

svn path=/trunk/netsurf/; revision=10677
2010-08-02 23:35:35 +00:00
François Revel 59f13bbf24 Use nssvg by default on BeOS.
svn path=/trunk/netsurf/; revision=10676
2010-08-02 22:21:14 +00:00
François Revel f2cb00870b C89.
svn path=/trunk/netsurf/; revision=10675
2010-08-02 21:49:20 +00:00
François Revel d4ea23abab Add a fallback for PRId64 as it's not defined on BeOS. It's only valid for 32bit, but any 64bit platform should be recent enough to have them.
svn path=/trunk/netsurf/; revision=10674
2010-08-02 21:44:35 +00:00
Chris Young 294a55ad4d off by one
svn path=/trunk/netsurf/; revision=10673
2010-07-31 11:43:25 +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 95a6de5f7e Show an icon under the pointer for drag saves (missed from previous commit)
svn path=/trunk/netsurf/; revision=10671
2010-07-28 21:33:51 +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
Vincent Sanders 229393e22e Add GTK language resources
svn path=/trunk/netsurf/; revision=10669
2010-07-28 15:26:02 +00:00
Vincent Sanders bda534e12a Clean up how GTK frontend finds resources
svn path=/trunk/netsurf/; revision=10668
2010-07-28 15:22:44 +00:00