summaryrefslogtreecommitdiff
path: root/riscos/print.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
* [project @ 2006-03-05 12:24:18 by bursa]James Bursa2006-03-051-124/+253
| | | | | | Implement declaring fonts for printing (PostScript). svn path=/import/netsurf/; revision=2110
* [project @ 2006-01-02 13:19:34 by bursa]James Bursa2006-01-021-1/+1
| | | | | | Fix comment typo. svn path=/import/netsurf/; revision=1948
* [project @ 2006-01-02 00:37:10 by rjw]Richard Wilson2006-01-021-1/+21
| | | | | | Move print dialog icon definitions. svn path=/import/netsurf/; revision=1935
* [project @ 2006-01-02 00:09:11 by rjw]Richard Wilson2006-01-021-2/+5
| | | | | | Fix print dialog svn path=/import/netsurf/; revision=1933
* [project @ 2005-12-31 04:40:48 by rjw]Richard Wilson2005-12-311-84/+46
| | | | | | Use new wimp_event system. svn path=/import/netsurf/; revision=1916
* [project @ 2005-07-02 18:17:51 by bursa]James Bursa2005-07-021-4/+5
| | | | | | Rewrite calculation of box minimum and maximum widths to improve layout of many pages. Move calculation of column types and border collapsing to box tree normalising stage, since they are layout independent. Add window height parameter to layout and make <html> and <body> at least window height. svn path=/import/netsurf/; revision=1777
* [project @ 2005-04-15 05:54:44 by adrianl]Adrian Lees2005-04-151-0/+1
| | | | | | Text selection, page drag scrolling, drag-saving images and a few SaveAs improvements svn path=/import/netsurf/; revision=1640
* [project @ 2005-04-09 09:47:36 by bursa]James Bursa2005-04-091-7/+3
| | | | | | Move HTML contents almost fully over to talloc(), simplifying code. Improvements to title attributes, broken forms, cellpadding. Reorder functions in box_construct.c. svn path=/import/netsurf/; revision=1608
* [project @ 2005-04-07 20:46:22 by rjw]Richard Wilson2005-04-071-20/+5
| | | | | | Update to the way menus are handled. Various GUI bug fixes. svn path=/import/netsurf/; revision=1603
* [project @ 2005-03-08 00:04:57 by bursa]James Bursa2005-03-081-4/+9
| | | | | | Temporarily disable declaring fonts. Printing may now work on RO3-4 non-PS only. svn path=/import/netsurf/; revision=1529
* [project @ 2005-02-20 13:19:19 by bursa]James Bursa2005-02-201-2/+2
| | | | | | Font rewrite, part 3. Note that Draw export and printing are broken by these changes. svn path=/import/netsurf/; revision=1519
* [project @ 2004-11-04 21:13:36 by jmb]John Mark Bell2004-11-041-3/+6
| | | | | | Lose nasty hard-coded strings svn path=/import/netsurf/; revision=1346
* [project @ 2004-11-03 23:27:15 by bursa]James Bursa2004-11-031-209/+249
| | | | | | Fix printing and improve error handling during printing. svn path=/import/netsurf/; revision=1341
* [project @ 2004-10-17 21:16:00 by bursa]James Bursa2004-10-171-1/+1
| | | | | | Move to use plotters. Replace html.layout->children with html.layout. svn path=/import/netsurf/; revision=1318
* [project @ 2004-09-13 23:59:30 by jmb]John Mark Bell2004-09-131-5/+5
| | | | | | Add some #defines svn path=/import/netsurf/; revision=1276
* [project @ 2004-08-19 01:01:31 by jmb]John Mark Bell2004-08-191-0/+6
| | | | | | Add option to force text colour to black when printing svn path=/import/netsurf/; revision=1245
* [project @ 2004-08-15 19:06:23 by jmb]John Mark Bell2004-08-151-9/+4
| | | | | | | | | Rationalise image redraw. Supply background colour when redrawing contents Reenable printing of background images Require Tinct 0.07 svn path=/import/netsurf/; revision=1234
* [project @ 2004-08-14 12:57:00 by joty]John Tytgat2004-08-141-2/+2
| | | | | | Using more stddef.h types. svn path=/import/netsurf/; revision=1230
* [project @ 2004-08-11 21:36:30 by jmb]John Mark Bell2004-08-111-3/+26
| | | | | | Make message handling more robust svn path=/import/netsurf/; revision=1212
* [project @ 2004-08-11 19:02:32 by bursa]James Bursa2004-08-111-0/+1
| | | | | | Start work on removing instances and making content types non-shareable. Clean up some #includes. svn path=/import/netsurf/; revision=1211
* [project @ 2004-08-11 16:26:13 by jmb]John Mark Bell2004-08-111-4/+25
| | | | | | | | | | | Make content_redraw return a bool Printing of foreground images now uses OS_SpriteOp Printing of background images disabled Mega-paranoid SWI result checking in htmlredraw.c Rearranged GIF data structure slightly - updates to reflect this. Other stuff I've probably forgotten svn path=/import/netsurf/; revision=1208
* [project @ 2004-08-09 17:04:32 by jmb]John Mark Bell2004-08-091-3/+7
| | | | | | | | Fix rectangle positioning bug which resulted in garbage printouts. Break out hard-coded scale factor Protect against invalid memory access. svn path=/import/netsurf/; revision=1207
* [project @ 2004-08-09 06:28:56 by jmb]John Mark Bell2004-08-091-0/+708
Printing support. Some issues remain - see the todo list at the top of print.c for more details svn path=/import/netsurf/; revision=1199