Michael Drake
1970fb7bda
Make nscss_get_style return completed computed styles. Now matches nscss_get_blank_style, and no need for anything outside css/select.c to see partial computed styles.
11 years ago
Michael Drake
cde62790f6
Update for new lpu API.
11 years ago
Michael Drake
e4c50bd58a
Update for new libcss API.
11 years ago
Vincent Sanders
aa4d2eb608
ensure no division by zero can occour (coverity 1109862 1109863)
11 years ago
Vincent Sanders
c26dd43669
ensure no division by zero in scaled object dimensioning (coverity 1109864 )
11 years ago
Michael Drake
3fc666a9be
Squash Coverity #1109879 - Resource leak.
11 years ago
Vincent Sanders
4776f05430
fix potential division by zero by only computing width and height when content is valid and hence will return content width and height not zero. coverity 110986[23]
11 years ago
Michael Drake
1d326a8a1c
Fix leak of frame element name.
11 years ago
Michael Drake
88ca82dea2
Fix leak of box scrollbars.
11 years ago
Michael Drake
182b97ed33
Fix leak of html encoding.
11 years ago
Michael Drake
0bbaf1d24d
Layout doesn't need to handle the old insane textarea box splitting now. Fixes Coverity:1109882.
11 years ago
Michael Drake
3e08819db9
Fix leaks in form_successful_controls. 'charset' was always leaked, value was leaked in particular OOM case.
11 years ago
Michael Drake
479fcefd9a
s/!charset/charset == NULL/
11 years ago
Michael Drake
8641d5cbda
Fix a potential leak.
12 years ago
Michael Drake
b646592928
Allocate correct amount of mem for pointers to imagemaps.
12 years ago
Michael Drake
8d3a89b62d
Don't attempt to vertical-align objects for now, as our current bodged vertical-align implementation can do more harm than good.
12 years ago
Michael Drake
90231bd4b1
Force root element box type to BOX_BLOCK.
12 years ago
Michael Drake
67066ce47c
Shave a few more px off animated background redraw, in the non-tiled cases. (Restrict area to part of image that changed.)
12 years ago
Michael Drake
ec50fdaefa
Fix rendering of animated background images. Give them sensible redraw area.
12 years ago
Michael Drake
431f9fde5f
Apply vertical alignment to objects on line.
12 years ago
Vincent Sanders
e2056974ca
fixup script message handling
12 years ago
Vincent Sanders
2d70714a64
use correct acessors for unsigned type
12 years ago
Vincent Sanders
63d7247a9c
fix mismatched option name and variable names
...
block_ads should be block_advertisments to match option name
toolbar_status_width should be toolbar_status_size to match option name
12 years ago
Vincent Sanders
ee6e6eec05
move options include
12 years ago
Michael Drake
977452b2ba
Fix handling of clip property to avoid clip rectangles that are entierly outside the redraw region.
12 years ago
Michael Drake
ba9769bc8c
Pass fetch redirect info up to content layer as content_msg. Mark redirect origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
12 years ago
Michael Drake
9751a10705
Handle title on dom event. Remove head walker from begin_conversion.
12 years ago
Michael Drake
e8df19f3d2
Move base and link element handling to event callback.
12 years ago
Michael Drake
5a312946c5
Move meta refresh handling to dom event handler.
12 years ago
Michael Drake
bec089e7aa
Tiny simplification.
12 years ago
Michael Drake
3afd9c9731
Remove search context from browser window, simplify search interface for front ends.
...
Added content interface for search.
Removed bw->cur_search search context. Desktop layer now does nothing
except pass search requests from front end onto the bw's current_content
via the content interface.
Search API reduced to a pair of functions at each level:
{desktop|content|html|textplain}_search
and
{desktop|content|html|textplain}_search_clear
Updated front ends to use simplified search API. Only tested GTK and RO builds.
These confine the search stuff to render/. However search still uses struct
selection. The handling for which is still spread over desktop/ and render/.
Also the render/search code itself still fiddles inside html and textplain
privates.
12 years ago
Michael Drake
1f6744f26b
Styleguide formatting.
12 years ago
Michael Drake
a3394aa77f
Put comments for exported functions in header.
12 years ago
Michael Drake
6b178fb3fe
HTML selections are always read-only now.
12 years ago
Vincent Sanders
25e6563e61
remove dead store
12 years ago
Michael Drake
d399f565ed
Fix abort of page render on failed content_redraw of background image.
12 years ago
Michael Drake
bcf07a9665
Hacky fix for clipping of top of text.
12 years ago
John-Mark Bell
09086758e7
Fix 3608298: only apply link hack if JS is disabled.
12 years ago
Michael Drake
f4ce62ebfe
In box textarea binding only redraw the area that was requested, not the whole textarea.
12 years ago
Michael Drake
773cc5b562
Stop looking on first modified sheet found.
12 years ago
Michael Drake
07bdb324c1
Remove extra logging.
12 years ago
Michael Drake
5930e4bcc4
Fix bug where html conversion began before STYLE element fetch had been launched.
12 years ago
Michael Drake
bf69cfa74b
Add some extra logging. Some pedantic wrap changes.
12 years ago
John-Mark Bell
3801886aec
Debounce style updates
12 years ago
John-Mark Bell
4136a4d64e
Move public API to end
12 years ago
John-Mark Bell
6e5e5761fc
Ensure a reference is taken on style nodes.
12 years ago
Vincent Sanders
95e726c7cc
split sources lists out to their subdirectories as first step towards using core buildsystem
12 years ago
Michael Drake
41e4928e25
Fix pointer shape and status bar messages for textareas and their scrollbars.
12 years ago
François Revol
e31007f6a7
C89
12 years ago
Michael Drake
c1628435f2
Fix min line width calc when an inline isn't to be wrapped in a block that allows wrap.
12 years ago