Commit Graph

7320 Commits

Author SHA1 Message Date
Chris Young f0dbe1d689 Return a colour (ABGR) from gui_system_colour_char() rather than a
css_color (ARGB)

svn path=/trunk/netsurf/; revision=13744
2012-03-27 19:25:02 +00:00
Chris Young 4ecf9f9bca Tag some 'safe' strings
svn path=/trunk/netsurf/; revision=13743
2012-03-27 18:32:42 +00:00
Michael Drake fc8cf634d5 Fix lighten_colour and double_lighten_colour to prevent alpha bleeding into red channel. Make macros clearer.
svn path=/trunk/netsurf/; revision=13742
2012-03-27 11:55:57 +00:00
Michael Drake fba2ebeee6 Use gui_system_colours.
svn path=/trunk/netsurf/; revision=13741
2012-03-27 11:53:53 +00:00
Michael Drake 57793aae89 Remove gui_colour_* options.
svn path=/trunk/netsurf/; revision=13740
2012-03-27 11:51:18 +00:00
Michael Drake ce20021df7 Fix colour string matching. Lose unneeded case insensitivity in matching.
svn path=/trunk/netsurf/; revision=13739
2012-03-27 11:02:35 +00:00
Michael Drake eb189092c7 Constify param to gui_system_colour_char function.
svn path=/trunk/netsurf/; revision=13737
2012-03-27 10:47:29 +00:00
Michael Drake 8fabc6119c Use gui_ interface to get system colours, rather than nosoption_.
svn path=/trunk/netsurf/; revision=13736
2012-03-27 10:34:38 +00:00
Chris Young 103c8703ec Expose tree_setup_colours so it can be called from frontends if the system
colour scheme changes.


svn path=/trunk/netsurf/; revision=13730
2012-03-26 21:13:00 +00:00
Chris Young 307df869c3 fix build
svn path=/trunk/netsurf/; revision=13729
2012-03-26 20:25:10 +00:00
Michael Drake cb715fe217 Squash implicit declaration of function 'html_get_box_tree' function by including render/html.h.
svn path=/trunk/netsurf/; revision=13721
2012-03-26 11:17:40 +00:00
Michael Drake b213502c9e Include render/html.h to fix build.
svn path=/trunk/netsurf/; revision=13720
2012-03-26 11:02:12 +00:00
Michael Drake 9a6b4b1b07 Include render/box.h and render/html.h to fix build.
svn path=/trunk/netsurf/; revision=13719
2012-03-26 11:01:48 +00:00
Michael Drake 71325ca6d0 Bring comment into line with use of libdom instead of libxml.
svn path=/trunk/netsurf/; revision=13718
2012-03-26 10:47:54 +00:00
Michael Drake d5a2701b38 Don't need libxml.h in render/box.h now.
svn path=/trunk/netsurf/; revision=13717
2012-03-26 10:45:44 +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
François Revel b9a2def970 Fix BeOS build:
- comment out unneeded includes for now,
- fix static lib linking order.

svn path=/trunk/netsurf/; revision=13713
2012-03-25 23:03:11 +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 9b08752807 Ensure error is initialised
svn path=/trunk/netsurf/; revision=13711
2012-03-25 22:59: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
John Mark Bell fb21c6b3fb Make vertical align hint less braindead
svn path=/trunk/netsurf/; revision=13707
2012-03-25 19:17:51 +00:00
Michael Drake 3434883de7 Use system colours for scrollbar widget. Front ends must be updated to set them.
svn path=/trunk/netsurf/; revision=13706
2012-03-25 18:53:34 +00:00
Michael Drake 7831fda94d Use system colours for treeview. Front ends must be updated to set them.
svn path=/trunk/netsurf/; revision=13705
2012-03-25 18:52:58 +00:00
Vincent Sanders 5cff5d3f41 fix hint color
svn path=/trunk/netsurf/; revision=13704
2012-03-25 17:23:26 +00:00
Daniel Silverstone 7661783399 node_presentational_hint_border_trbl_width
svn path=/trunk/netsurf/; revision=13703
2012-03-25 17:04:00 +00:00
Daniel Silverstone e26ed5327d node_presentational_hint_margin_tb
svn path=/trunk/netsurf/; revision=13702
2012-03-25 16:48:50 +00:00
Daniel Silverstone d47dd95940 node_presentational_hint_margin_rl done and diddled
svn path=/trunk/netsurf/; revision=13701
2012-03-25 16:45:08 +00:00
Rob Kendrick e6155dd37f about:imagecache gives URL links, and table is styled. This has revealed a buffer overflow or similar here; reducing the buffer size to 1024 makes it very fragile with long URLs.
svn path=/trunk/netsurf/; revision=13700
2012-03-25 16:42:45 +00:00
Vincent Sanders 903f456547 two more presentational hints
svn path=/trunk/netsurf/; revision=13699
2012-03-25 16:38:17 +00:00
Daniel Silverstone 61716fc4f9 cellpadding presentational hint works
svn path=/trunk/netsurf/; revision=13698
2012-03-25 16:24:46 +00:00
Daniel Silverstone b8517a2a18 Cellpadding needs interning too
svn path=/trunk/netsurf/; revision=13697
2012-03-25 16:23:02 +00:00
Daniel Silverstone 9d1baa5ba9 All the intern strings we might need for CSS
svn path=/trunk/netsurf/; revision=13696
2012-03-25 15:51:32 +00:00
John Mark Bell 0344970df4 Squash warnings
svn path=/trunk/netsurf/; revision=13695
2012-03-25 15:19:12 +00:00
Vincent Sanders 268f3514bf fix compile
svn path=/trunk/netsurf/; revision=13694
2012-03-25 15:14:25 +00:00
Vincent Sanders e12566e1a1 add presentational hint routine for background image
svn path=/trunk/netsurf/; revision=13693
2012-03-25 15:12:15 +00:00
Daniel Silverstone e1df0d095a Initial attempt at imagemap libdomification
svn path=/trunk/netsurf/; revision=13692
2012-03-25 15:07:08 +00:00
John Mark Bell 7491f60696 Fix up node_presentational_hint_text_align
svn path=/trunk/netsurf/; revision=13691
2012-03-25 15:02:08 +00:00
John Mark Bell 729b34fa3b Fix up node_presentational_hint_vertical_align
svn path=/trunk/netsurf/; revision=13690
2012-03-25 14:51:37 +00:00
Vincent Sanders 7aa4147940 split presentational hints function up
svn path=/trunk/netsurf/; revision=13689
2012-03-25 14:38:37 +00:00
John Mark Bell 52b1762ea4 Use correct identity of ok
svn path=/trunk/netsurf/; revision=13684
2012-03-25 11:41:39 +00:00
John Mark Bell 0cea4b192d Add libdom to native RISC OS LDFLAGS
svn path=/trunk/netsurf/; revision=13683
2012-03-25 11:36:37 +00:00
John Mark Bell bee128e2a1 Handle encoding change requests
svn path=/trunk/netsurf/; revision=13682
2012-03-25 11:33:32 +00:00
John Mark Bell 2a0e519497 Egregious hack so missing form controls don't cause box construction to abort
svn path=/trunk/netsurf/; revision=13680
2012-03-25 11:24:12 +00:00
John Mark Bell 29708a2bf3 Fix logic inversion
svn path=/trunk/netsurf/; revision=13679
2012-03-25 11:23:09 +00:00
Vincent Sanders 6ff2da6e31 fix node_is_link
add dom string globals to css handler

svn path=/trunk/netsurf/; revision=13678
2012-03-25 11:14:19 +00:00
Rob Kendrick dbfdaa3144 FatMessages.
svn path=/trunk/netsurf/; revision=13670
2012-03-25 10:35:53 +00:00
Rob Kendrick 0adac87454 Add a perl script for splitting out messages files again
svn path=/trunk/netsurf/; revision=13669
2012-03-25 10:26:02 +00:00
Rob Kendrick 104e19994e Fix message merging script's manipulation patterns to mean we don't need any code changes on the C side.
svn path=/trunk/netsurf/; revision=13668
2012-03-25 10:25:15 +00:00