Vincent Sanders
c105738fa3
Change LOG() macro to be varadic
...
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.
2015-05-28 16:08:46 +01:00
Michael Drake
3020dd698d
Remove legacy #undef
2015-05-03 16:50:38 +01:00
Vincent Sanders
e32a2ad46e
Doxygen fixes
2014-11-09 15:28:03 +00:00
Michael Drake
35f7f2b9f3
Resolve relative URLs in inline CSS relative to document's base URL, rather than its content URL.
...
This means passing the base URL as the URL param to LibCSS's
css_stylesheet_create, rather than the URL of the source of
the style data.
2014-09-18 18:07:52 +01:00
Vincent Sanders
2326d3c503
remove unecessary utils/url.h includes
2014-05-09 10:15:42 +01:00
Vincent Sanders
277bcec7c6
stop system colours being anything to do with frontends
2014-01-10 14:32:29 +00:00
Michael Drake
c43c456d05
Use dom_string_isequal, not lwc_string_isequal, for dom strings.
2014-01-04 16:26:02 +00:00
Vincent Sanders
ad3f3590e4
Merge branch 'mmu_man/haiku-fixes'
2014-01-01 19:12:20 +00:00
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.
2013-12-19 14:21:15 +00:00
Michael Drake
fabc086d4a
Rename libcss_node_data key for libdom node user data.
2013-12-13 23:02:15 +00:00
Michael Drake
e4c50bd58a
Update for new libcss API.
2013-12-13 20:25:08 +00:00
François Revol
850432f990
C89
2013-12-07 01:08:52 +01:00
Michael Drake
b0fc9bfcb9
Optimise selection by generating node ancestor element/class/id name bloom filters for new libcss API.
2013-12-01 19:15:14 +00:00
Michael Drake
d4c80c2f4e
Wrap line.
2013-11-28 11:30:33 +00:00
Michael Drake
1cf0125f2d
Fix leaks of colour attribute values. (Such as LINK, VLINK, TEXT, and COLOR attribute values.)
2013-10-25 13:05:38 +01:00
Michael Drake
a921a007e6
Fix leak of cellpadding attribute value.
2013-10-25 12:18:46 +01:00
Vincent Sanders
ee6e6eec05
move options include
2013-05-28 14:16:10 +01:00
Michael Drake
943025ddb0
Remove SUPPORT_VISITED build switch.
2013-05-18 14:40:42 +01:00
Michael Drake
c240fb0c00
Enable :visited handling for experimentation.
2013-05-17 12:38:06 +01:00
Michael Drake
abebc6ae2b
Fix visited support for libdom. (Still disabled.)
2013-05-16 18:18:06 +01:00
Michael Drake
3f33f5327e
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-01-02 14:12:08 +00:00
Michael Drake
700429897a
Fix #3584934 . Case insensitive matching of align attribute value.
2013-01-02 14:06:02 +00:00
Michael Drake
d7e3ca2230
Fix form input size attribute handling to be case insensitive. Fixes form input widths.
2013-01-02 13:56:00 +00:00
Daniel Silverstone
7a3a209940
File input boxen deserve EX width hinting
2012-11-04 17:36:17 +00:00
Daniel Silverstone
b23aee2f09
type=search is a new-fangled HTML5 thing which we treat as input and thus give EX width hinting. Closes #3578446
2012-11-04 17:29:26 +00:00
Daniel Silverstone
efd6d11e47
Unspecified input types are text and so get EX widths
2012-11-04 17:26:42 +00:00
John-Mark Bell
5743009283
Fix extraction of @size attribute.
2012-09-30 10:21:46 +01:00
John-Mark Bell
07f86cfc1d
Fix bug 3570980: extract link colours from body element.
2012-09-25 00:39:03 +01:00
Vincent Sanders
411fdc6186
fix return check on lwc operation
2012-08-09 17:48:05 +01:00
Michael Drake
fb853c9354
Fix attribute includes selector callback.
2012-08-07 15:16:50 +01:00
Vincent Sanders
25cdea3351
doxygen serious warning cleanup
2012-07-24 16:19:49 +01:00
Michael Drake
4b71394462
Fix reference counting in generic sibling selection callback.
2012-07-23 13:21:57 +01:00
Michael Drake
e54e2fd0fa
Fix ref counting issue in node_id selection callback.
2012-07-22 21:50:58 +01:00
Michael Drake
209d3a5ccf
Fix ref counting issue in named sibling selection callback.
2012-07-22 21:22:05 +01:00
Michael Drake
2ad24f39da
Interned string cleanup, phase 2: Create utils/corestrings and use it in css handler.
2012-07-22 15:48:55 +01:00
Michael Drake
1e65737c8c
Interned string cleanup, phase 1: Use lwc_string where possible in CSS handler.
2012-07-22 14:06:45 +01:00
Michael Drake
25bcfa93da
Fix node name comparisons to be case insensitive.
2012-07-21 19:07:29 +01:00
Michael Drake
f266e0569e
Fix input type test to compare correct variable.
2012-07-15 14:06:37 +01:00
Vincent Sanders
d7289f6701
remove parser binding layer
2012-07-13 17:37:22 -06:00
Michael Drake
a018a75d67
Border width hint is concerned with border attribute, not width attribute. Fixes table borders.
...
svn path=/trunk/netsurf/; revision=13874
2012-04-16 13:32:42 +00:00
Vincent Sanders
15143dfda6
convert node_presentational_hint_border_trbl_color
...
svn path=/trunk/netsurf/; revision=13760
2012-03-28 16:40:06 +00:00
Vincent Sanders
9f526b7eab
converted node_presentational_hint_border_spacing
...
svn path=/trunk/netsurf/; revision=13759
2012-03-28 16:13:23 +00:00
Vincent Sanders
d5b72f2fff
convert node_presentational_hint_width
...
svn path=/trunk/netsurf/; revision=13758
2012-03-28 15:51:28 +00:00
Vincent Sanders
b8e72de7d8
convert node_presentational_hint_height
...
svn path=/trunk/netsurf/; revision=13757
2012-03-28 13:34:54 +00:00
Michael Drake
830e53327f
Use experimental libdom functions for named_ancestor_node, named_parent_node and parent_node selection callbacks.
...
svn path=/trunk/netsurf/; revision=13756
2012-03-28 12:49:39 +00:00
Vincent Sanders
e863cfebe1
fix node_presentational_hint_font_size
...
svn path=/trunk/netsurf/; revision=13715
2012-03-25 23:21:13 +00:00
Vincent Sanders
32f2b175fe
convert node_presentational_hint_float
...
svn path=/trunk/netsurf/; revision=13714
2012-03-25 23:14:18 +00:00
John Mark Bell
ad0c132f2b
Fix strict aliasing warnings
...
svn path=/trunk/netsurf/; revision=13712
2012-03-25 23:00:39 +00:00
John Mark Bell
bfc619a8dc
Fix up border-{trbl}-style hint
...
svn path=/trunk/netsurf/; revision=13710
2012-03-25 22:52:05 +00:00
John Mark Bell
56ae7b5955
Make text-align hint less braindead
...
svn path=/trunk/netsurf/; revision=13708
2012-03-25 22:21:46 +00:00