Commit Graph

5243 Commits

Author SHA1 Message Date
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
Vincent Sanders
4bfd6ea6f0 remove symlinks to directories for Message translations
svn path=/trunk/netsurf/; revision=10667
2010-07-28 15:19:30 +00:00
Steve Fryatt
3cca3861ca Enable sideways print option.
svn path=/trunk/netsurf/; revision=10666
2010-07-27 22:50:51 +00:00
Chris Young
acf46e01a8 Allow text selection dragging across (NetSurf) windows. DisplayBeep if it is dropped
somewhere invalid.

svn path=/trunk/netsurf/; revision=10665
2010-07-27 21:41:21 +00:00
Chris Young
7bf81dbf35 Fix clipping for non-HTML contents
svn path=/trunk/netsurf/; revision=10664
2010-07-26 19:52:24 +00:00
Chris Young
cb29fca203 Updated translation from Samir Hawamdeh
svn path=/trunk/netsurf/; revision=10663
2010-07-25 10:24:38 +00:00
Chris Young
da25adcdfb ami_easy_clipboard just got easier, and a buffer overrun/memory leak got fixed
svn path=/trunk/netsurf/; revision=10662
2010-07-24 20:18:56 +00:00
Chris Young
f7e3254798 Fix menu disable on tab switch and Cut
svn path=/trunk/netsurf/; revision=10661
2010-07-24 19:57:27 +00:00
Chris Young
004aee8281 Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
selections within NetSurf window to text fields (does not work across windows).

todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back

svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Chris Young
d5b8cf89da Ensure RC is 0 unless we actually have a fatal error.
svn path=/trunk/netsurf/; revision=10659
2010-07-23 17:59:46 +00:00
Michael Drake
1922300610 Updated French translation. Thanks to Philippe Ducrettet.
svn path=/trunk/netsurf/; revision=10658
2010-07-23 09:15:58 +00:00
Vincent Sanders
27d5a1ff54 Make GTK frontend select apropriate messages file
svn path=/trunk/netsurf/; revision=10657
2010-07-22 23:01:13 +00:00
Chris Young
584cd950be Allow targetting any window/tab with ARexx commands. Adds new command WINDOWS to find
out the number of windows and tabs open.  ShowTitles.nsrx is an example of how to use
the new functionality.

svn path=/trunk/netsurf/; revision=10656
2010-07-20 17:20:16 +00:00