netsurf/gtk
John Tytgat 5685170036 Make the knockout plotter calling behaviour optional by added a new entry
'option_knockout' to 'struct plotter_table' which basically is a request
from that plotter backend for the content redraw routine to get called in
such a way that overlapping render areas are avoided as much as possible.

It is up to the content redraw code to actually implement this
option if it is reasonably profitable.  This was and is currently done
explicitly by the html content redraw code.  On top of that the riscos
plotter code was installing the knockout plotter itself for all content
types except plaintext and SVG and this is no longer being done in this
patch.

In more detail:

- desktop/plotters.h: added struct plotter_table::option_knockout
- render/html_redraw.c(html_redraw): if the plotter backend wants the
knockout calling behaviour, install the knockout plotter which will then
call the real backend.  Also check on the return values of clg and clip
plotter calls.
- Plotter backend changes:
  -> no longer plotting in knockout mode:
     - gtk/gtk_print.c: Also removed a 2nd instance of
       "struct plotter_table plot".
     - riscos/save_draw.c
     - riscos/print.c: Also the path plotter function pointer wasn't
       filled in and this is now fixed.
     - pdf/pdf_plotters.c: Removed the flush function as this is
       optional and we only had a dummy implementation there.
  -> remaining to request knockout mode if it makes sense based on the
     content type:
     - gtk/gtk_plotters.c
     - riscos/plotters.c
     - desktop/knockout.c
- riscos/window.c: Removed what's believed an obsolete test on the
  content type which determined to additionally install the
  knockout plotter in front of the real plotter code.

svn path=/trunk/netsurf/; revision=4823
2008-07-30 19:17:27 +00:00
..
dialogs Refactor Makefile a little to be slightly more organised. Made more features configurable from Makefile.config 2008-07-28 20:56:24 +00:00
res Add 16x16 NetSurf icon for use in desktop menus, as required my many environments and distributions. 2008-07-26 23:02:45 +00:00
font_pango.c First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
font_pango.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
gtk_bitmap.c First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
gtk_bitmap.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_completion.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_completion.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_download.c Include headers we need, rather than depending on (optional) features doing so. 2008-07-28 20:32:51 +00:00
gtk_download.h Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4431,4434-4494,4500-4508,4515,4517,4525-4545,4548-4555,4558-4572,4574-4576,4579,4582-4615,4618-4628,4630-4634,4636-4641,4643-4654,4656-4675,4677,4679-4685,4687-4750 via svnmerge from 2008-07-26 17:30:26 +00:00
gtk_filetype.c Add html extensions to minimal MIME type hash 2008-04-28 11:08:35 +00:00
gtk_filetype.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_gui.c Make user agent string and default homepage configurable from Makefile.config 2008-07-29 15:10:31 +00:00
gtk_gui.h Merged revisions 4114-4265,4267-4272,4275-4285,4287-4325 via svnmerge from 2008-06-11 10:57:44 +00:00
gtk_history.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_history.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_login.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_plotters.c Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
gtk_plotters.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
gtk_print.c Make the knockout plotter calling behaviour optional by added a new entry 2008-07-30 19:17:27 +00:00
gtk_print.h First merge of Adam Blokus' GSoC work from his branch 'branches/adamblokus/netsurf'. 2008-07-26 16:01:59 +00:00
gtk_scaffolding.c Make user agent string and default homepage configurable from Makefile.config 2008-07-29 15:10:31 +00:00
gtk_scaffolding.h Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 via svnmerge from 2008-07-16 10:19:30 +00:00
gtk_schedule.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_schedule.h Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_selection.c Include headers we need, rather than depending on (optional) features doing so. 2008-07-28 20:32:51 +00:00
gtk_selection.h Merged revisions 4114-4265,4267-4272,4275-4285,4287-4325 via svnmerge from 2008-06-11 10:57:44 +00:00
gtk_throbber.c Fix overflow spotted by jmb/valgrind. 2008-07-29 14:46:06 +00:00
gtk_throbber.h nsgtk now loads the throbber from a set of PNG files. This change will make your eyes bleed. Please avoid looking at it until I make this cleaner. 2008-06-02 16:47:15 +00:00
gtk_thumbnail.c Make GTK thumbnail creation more robust, return false when unable to create pixmap for thumbnail. 2008-03-25 11:42:59 +00:00
gtk_treeview.c Update all source code file headers to reflect GPL version 2 only and contain appropriate licence text 2007-08-08 16:16:03 +00:00
gtk_window.c Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 via svnmerge from 2008-07-16 10:19:30 +00:00
gtk_window.h Merged revisions 4114-4265,4267-4272,4275-4285,4287-4325 via svnmerge from 2008-06-11 10:57:44 +00:00
notes Initial basic notes on the refactor necessary to get nsgtk supporting the new frames code 2006-09-29 22:10:12 +00:00
options.h Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 via svnmerge from 2008-07-16 10:19:30 +00:00