Commit Graph

6512 Commits

Author SHA1 Message Date
Michael Drake
120005e04b Various gtk thumbnailing fixes. Don't make intermediate buffer bigger than it needs to be. Don't pass clip rect that's larger than render area. Don't plot blank background before setting the clip rect. Scale initial content render appropriately. Simplify and fix scale calc for thumbnail resampling.
svn path=/trunk/netsurf/; revision=11697
2011-02-16 13:52:29 +00:00
John Mark Bell
daf23b0860 Add missing include
svn path=/trunk/netsurf/; revision=11694
2011-02-15 23:26:34 +00:00
Vincent Sanders
fa98e3d76a add about: fetcher
rename fetchers to be more sensible 

svn path=/trunk/netsurf/; revision=11692
2011-02-15 23:18:10 +00:00
Michael Drake
4f47cad962 Non block level :after boxes aren't supported yet, so don't generate them.
svn path=/trunk/netsurf/; revision=11691
2011-02-15 23:08:38 +00:00
John Mark Bell
0707969f65 Neuter utterly broken search web from url bar hackery
svn path=/trunk/netsurf/; revision=11690
2011-02-15 22:58:56 +00:00
John Mark Bell
ad2279811a Fix bug #3182729: meta refresh of embedded html pages resulted in mismatched API expectations
svn path=/trunk/netsurf/; revision=11688
2011-02-15 21:49:28 +00:00
Michael Drake
f793d17acd Handle percentages from libcss without doing floating point maths.
svn path=/trunk/netsurf/; revision=11687
2011-02-15 14:31:18 +00:00
Vincent Sanders
3407760e64 improve comments and add more explanation about subtleties
svn path=/trunk/netsurf/; revision=11686
2011-02-15 11:55:09 +00:00
Michael Drake
e4035987a7 Pass clip rect through html redraw as pointer.
svn path=/trunk/netsurf/; revision=11685
2011-02-15 11:42:05 +00:00
Michael Drake
9665415428 Add "const".
svn path=/trunk/netsurf/; revision=11684
2011-02-14 22:08:21 +00:00
Michael Drake
94e7b44ebc Pass clip rect to clip plotters as struct. Simplify clip rect handling in debug window code. Pass clip rect to select menu as struct.
svn path=/trunk/netsurf/; revision=11683
2011-02-14 22:05:39 +00:00
Michael Drake
3ce0613193 Constify.
svn path=/trunk/netsurf/; revision=11682
2011-02-14 19:38:59 +00:00
Michael Drake
a089ad0e1d Pass clip rect to textarea redraw as struct rect.
svn path=/trunk/netsurf/; revision=11681
2011-02-14 19:26:45 +00:00
John Mark Bell
f42ed976e5 Constify
svn path=/trunk/netsurf/; revision=11680
2011-02-14 19:17:08 +00:00
Michael Drake
c05333fa62 Pass clip rect to scroll_redraw as struct. Simplify test to see if scrollbar is within clip rect.
svn path=/trunk/netsurf/; revision=11679
2011-02-14 17:57:08 +00:00
Michael Drake
60c74c2e3c More comments for object dimension calculation.
svn path=/trunk/netsurf/; revision=11678
2011-02-14 16:42:23 +00:00
Michael Drake
fc7efc6e4a Don't use float maths for AUTO image sizing with one given dimension.
svn path=/trunk/netsurf/; revision=11677
2011-02-14 14:48:56 +00:00
Michael Drake
5b4228f5aa Handle object sizing in one place.
svn path=/trunk/netsurf/; revision=11676
2011-02-14 14:39:42 +00:00
Michael Drake
3d69933e45 Avoid potential divide by 0.
svn path=/trunk/netsurf/; revision=11675
2011-02-14 12:56:52 +00:00
Michael Drake
9336ea3ac8 Increase computed time before scheduled redraws.
svn path=/trunk/netsurf/; revision=11674
2011-02-14 11:14:40 +00:00
Michael Drake
5cefc9584a Pass clip rect to browser_window_redraw as pointer.
svn path=/trunk/netsurf/; revision=11672
2011-02-13 23:04:26 +00:00
Michael Drake
bdfda9d146 Remove dead function.
svn path=/trunk/netsurf/; revision=11671
2011-02-13 22:32:33 +00:00
Michael Drake
fe7921a387 Pass clip rect as struct through content_redraw api. Update the front ends to use this. Note only RO build tested.
svn path=/trunk/netsurf/; revision=11670
2011-02-13 22:25:11 +00:00
Chris Young
db2f823e99 Don't clear window before redraw or blit if the redraw didn't complete
svn path=/trunk/netsurf/; revision=11669
2011-02-13 19:59:32 +00:00
Michael Drake
62bc7706d9 Update browser_window_redraw comment.
svn path=/trunk/netsurf/; revision=11668
2011-02-13 17:06:40 +00:00
Michael Drake
2d69afeec6 Fix broken plotting on RO with locked contents and buffered rendering.
svn path=/trunk/netsurf/; revision=11667
2011-02-13 16:44:32 +00:00
Michael Drake
22d4d640e8 Remove RO white background fill.
svn path=/trunk/netsurf/; revision=11666
2011-02-13 15:56:48 +00:00
Michael Drake
c753ed2236 White background fill to extents for non-HTML contents.
svn path=/trunk/netsurf/; revision=11665
2011-02-13 15:55:53 +00:00
Ole Loots
b6566eb3bf Added frambuffer port "internal" font decoder.
svn path=/trunk/netsurf/; revision=11663
2011-02-12 20:47:25 +00:00
Ole Loots
903cf68f8f Improved checkboxes
svn path=/trunk/netsurf/; revision=11662
2011-02-12 20:24:43 +00:00
Ole Loots
11d0b4b986 Added the framebuffer "internal" font decoder/plotter,
fixed ablend method,
introduced flag for monochrom bitmap drawing. 

svn path=/trunk/netsurf/; revision=11661
2011-02-12 19:56:18 +00:00
Ole Loots
445b337ef3 Added the internal font decoder from frambuffer port.
svn path=/trunk/netsurf/; revision=11660
2011-02-12 19:53:23 +00:00
Ole Loots
699ca79e2d Removed unused code
svn path=/trunk/netsurf/; revision=11659
2011-02-12 19:51:24 +00:00
Ole Loots
033c68e8fa Adjusted default config for url and cookie files.
svn path=/trunk/netsurf/; revision=11658
2011-02-12 19:50:36 +00:00
Ole Loots
143243bbbb Added support for cookie and URL file, fixed box redraw.
svn path=/trunk/netsurf/; revision=11657
2011-02-12 19:48:58 +00:00
Ole Loots
c130018116 Improved mouse tracking
svn path=/trunk/netsurf/; revision=11656
2011-02-12 19:44:18 +00:00
Ole Loots
0fb16c18cb Added better checkboxes
svn path=/trunk/netsurf/; revision=11655
2011-02-12 19:43:32 +00:00
Ole Loots
23a594dd9a Improved scrolling and box redraw code.
svn path=/trunk/netsurf/; revision=11654
2011-02-12 19:41:50 +00:00
Ole Loots
867b31b46d Added better checkboxes,
Added search_destroy method. 

svn path=/trunk/netsurf/; revision=11653
2011-02-12 19:41:07 +00:00
Ole Loots
a7de62fcdc Added flag for monochrom glyph drawing
svn path=/trunk/netsurf/; revision=11652
2011-02-12 19:40:09 +00:00
Ole Loots
51daecb26c Optimized drawing of repeating 1px sized bitmaps.
svn path=/trunk/netsurf/; revision=11651
2011-02-12 19:26:49 +00:00
Chris Young
5487b42cb7 Fix clip parameters, plain text scrolling now works
svn path=/trunk/netsurf/; revision=11650
2011-02-12 10:54:41 +00:00
Chris Young
da130ad67d port to new api
svn path=/trunk/netsurf/; revision=11649
2011-02-12 10:39:21 +00:00
Michael Drake
fedcbf6656 Pass clip rect to browser_window_redraw as struct.
svn path=/trunk/netsurf/; revision=11648
2011-02-11 19:36:33 +00:00
Michael Drake
27b6096dcd Move stuct rect out of box.h and tree.c.
svn path=/trunk/netsurf/; revision=11647
2011-02-11 19:35:16 +00:00
Chris Young
c247d54fb5 Port to browser_window_redraw()
- Scrolling text contents only shows the initial screenful
- Fast-scrolling HTML while scaled does not work properly (this is an old issue)

svn path=/trunk/netsurf/; revision=11646
2011-02-11 19:03:01 +00:00
Michael Drake
81f6f2552c Better documentation of content_redraw
svn path=/trunk/netsurf/; revision=11645
2011-02-11 10:55:46 +00:00
John Mark Bell
18a4d2deec Unilaterally clear background to white before redraw
svn path=/trunk/netsurf/; revision=11644
2011-02-11 08:48:40 +00:00
Vincent Sanders
98095f8f7a change risc os frontend to use browser_window_redraw (r=jmb)
svn path=/trunk/netsurf/; revision=11643
2011-02-11 08:28:15 +00:00
Vincent Sanders
9a183018ea improve browser_window_redraw width and height handling
svn path=/trunk/netsurf/; revision=11642
2011-02-11 00:14:22 +00:00