summaryrefslogtreecommitdiff
path: root/riscos/print.c
Commit message (Collapse)AuthorAgeFilesLines
* Change LOG() macro to be varadicVincent Sanders2015-05-281-43/+22
| | | | | | | | | | | | This changes the LOG macro to be varadic removing the need for all callsites to have double bracketing and allows for future improvement on how we use the logging macros. The callsites were changed with coccinelle and the changes checked by hand. Compile tested for several frontends but not all. A formatting annotation has also been added which allows the compiler to check the parameters and types passed to the logging.
* Doxygen cleanups and documentation additionsVincent Sanders2014-11-101-2/+2
|
* Don't use browser_private.hMichael Drake2014-08-221-3/+4
|
* additional risc os header cleanupsVincent Sanders2014-06-051-0/+1
|
* cleanup RISC OS frontend header usageVincent Sanders2014-06-051-12/+15
|
* remove forward declarations from risc os gui.cVincent Sanders2014-06-041-0/+1
| | | | cleanup filetype magic numbers.
* Provide a dedicated interface for destroying open menus.Steve Fryatt2014-01-291-1/+1
| | | | | Add ro_gui_menu_destroy(), so that this specific task does not share the same code as the more general task of tidying up after menus have been closed by other means. The original ro_gui_menu_closed() now simply cleans up from a known (or assumed) closure, without forcing a closure itself.
* move mandantory window update and redraw operations into tableVincent Sanders2014-01-121-0/+1
|
* move options includeVincent Sanders2013-05-281-1/+1
|
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-0/+1
| | | | | | | | | | | | | | | | | it do, such as front end code. Frontends that have been updated to build: framebuffer gtk monkey riscos TODO: amiga atari beos cocoa windows
* Make RISC OS print background images option work.Michael Drake2011-12-231-5/+2
| | | | svn path=/trunk/netsurf/; revision=13337
* Pass whether background images are wanted in redraw_context.Michael Drake2011-12-231-0/+2
| | | | svn path=/trunk/netsurf/; revision=13335
* Make the RISC OS front end foreground/background menu options work.Michael Drake2011-12-231-7/+5
| | | | svn path=/trunk/netsurf/; revision=13333
* Don't need to set current_redraw_browser any more.Michael Drake2011-08-241-2/+0
| | | | svn path=/trunk/netsurf/; revision=12656
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-5/+11
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Unify content_redraw params in content_redraw_data struct. Core and RISC OS ↵Michael Drake2011-06-281-9/+24
| | | | | | content handlers updated. svn path=/trunk/netsurf/; revision=12529
* If iframes are reformatted due to containing document reflow, don't need to ↵Michael Drake2011-06-241-3/+3
| | | | | | redraw them since they will be redrawn when the containing document is redrawn. Make iframe handling more robust. svn path=/trunk/netsurf/; revision=12497
* Fix for new content redraw API.Michael Drake2011-05-091-2/+2
| | | | svn path=/trunk/netsurf/; revision=12331
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-12/+3
| | | | svn path=/trunk/netsurf/; revision=12283
* Purge ro_plot_set_scale() and ro_plot_scale global, as front ends nolonger ↵Michael Drake2011-03-091-1/+0
| | | | | | need to maintain scale for plotting. svn path=/trunk/netsurf/; revision=11942
* Merge branches/stevef/toolbars to trunk.Steve Fryatt2011-02-201-1/+1
| | | | svn path=/trunk/netsurf/; revision=11741
* Pass clip rect to clip plotters as struct. Simplify clip rect handling in ↵Michael Drake2011-02-141-4/+2
| | | | | | debug window code. Pass clip rect to select menu as struct. svn path=/trunk/netsurf/; revision=11683
* Pass clip rect as struct through content_redraw api. Update the front ends ↵Michael Drake2011-02-131-7/+11
| | | | | | to use this. Note only RO build tested. svn path=/trunk/netsurf/; revision=11670
* Enable sideways print option.Steve Fryatt2010-07-271-9/+41
| | | | svn path=/trunk/netsurf/; revision=10666
* Force browser window redraw after printing to restore screen layout.Steve Fryatt2010-07-151-1/+3
| | | | svn path=/trunk/netsurf/; revision=10643
* Work around apparent register corruption after printing.Steve Fryatt2010-07-141-2/+9
| | | | svn path=/trunk/netsurf/; revision=10640
* Lay out to correct paper width for printing.Steve Fryatt2010-05-021-3/+2
| | | | svn path=/trunk/netsurf/; revision=10542
* Fix for new cache.Michael Drake2010-04-071-23/+33
| | | | svn path=/trunk/netsurf/; revision=10275
* Refactor text plotter and other font functions to remove dependency on CSS.John Mark Bell2009-07-211-5/+5
| | | | svn path=/trunk/netsurf/; revision=8641
* next round of plotter refactorVincent Sanders2009-07-141-9/+6
| | | | svn path=/trunk/netsurf/; revision=8512
* plotters line refactorVincent Sanders2009-07-101-4/+2
| | | | svn path=/trunk/netsurf/; revision=8446
* ploter refactor of rectangle handling Vincent Sanders2009-07-081-10/+3
| | | | svn path=/trunk/netsurf/; revision=8399
* Refactor fill plotter to take a styleVincent Sanders2009-07-051-2/+2
| | | | svn path=/trunk/netsurf/; revision=8332
* remove redundant clg callVincent Sanders2009-07-011-6/+3
| | | | svn path=/trunk/netsurf/; revision=8240
* Improve bitmap plotter APIVincent Sanders2009-06-301-27/+19
| | | | svn path=/trunk/netsurf/; revision=8195
* Purge WITH_PRINTJohn Mark Bell2009-02-221-3/+0
| | | | svn path=/trunk/netsurf/; revision=6601
* - Constify parameters of struct plotter_table::polygon and struct ↵John Tytgat2009-02-031-6/+6
| | | | | | | | | | | plotter_table::path - riscos/save_draw.c(ro_save_draw_plotters): Make it static. - desktop/save_pdf/pdf_plotters.c(pdf_plot_path): fix broken implementation (coordinates path were wrong, no clip/text mode update, transformation matrix was overwritten); only update fill and/or stroke color when fill and/or stroke is done. (pdf_begin): disable compression when PDF_DEBUG is set svn path=/trunk/netsurf/; revision=6361
* Prefix all RISC OS print global variables and functions with "ro_" in order ↵John Tytgat2008-08-021-27/+27
| | | | | | | | to avoid the print_cleanup function name clash in desktop/print.c and riscos/print.c. svn path=/trunk/netsurf/; revision=4867
* Make the knockout plotter calling behaviour optional by added a new entryJohn Tytgat2008-07-301-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | '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
* - Include utils/config.h before each WITH_* test entiry enabling/disabling ↵John Tytgat2008-07-261-3/+4
| | | | | | | | | | the object file. - Add same test in corresponding header file (if there is one) - riscos/uri.c: include riscos/uri.h and have function definitions matching the declarations. - Disable PDF debug logging. svn path=/trunk/netsurf/; revision=4769
* - Compiler warning squashJohn Tytgat2008-07-261-15/+48
| | | | | | | - Changed a lineending \n\r -> \n for a couple of files. - More code style conformance. svn path=/trunk/netsurf/; revision=4762
* const fixes in plotters and history coreRob Kendrick2008-04-071-2/+2
| | | | svn path=/trunk/netsurf/; revision=4083
* Added missing initialiserAdrian Lees2008-03-231-0/+1
| | | | svn path=/trunk/netsurf/; revision=4041
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-15/+15
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Fix invalid window initialisationRichard Wilson2006-12-011-1/+1
| | | | svn path=/trunk/netsurf/; revision=3083
* Update project URL.Michael Drake2006-11-271-2/+2
| | | | svn path=/trunk/netsurf/; revision=3073
* Fix for knockout rendering of native formatsAdrian Lees2006-08-191-1/+2
| | | | svn path=/trunk/netsurf/; revision=2869
* [project @ 2006-03-24 03:44:33 by adrianl]Adrian Lees2006-03-241-0/+6
| | | | | | Use thumbnails for iconised windows svn path=/import/netsurf/; revision=2157
* [project @ 2006-03-19 19:03:07 by rjek]Rob Kendrick2006-03-191-2/+3
| | | | | | Implemented unfilled disc plotting and GTK disc plotting svn path=/import/netsurf/; revision=2136