Michael Drake
99fc8d3f0d
Move html textarea's selection colour chooser to plot_style.h, as it could be used elsewhere.
2013-02-11 00:41:22 +00:00
Michael Drake
315f5a8ca1
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
...
Conflicts:
gtk/font_pango.c
Conflict resolved.
2013-02-10 21:52:36 +00:00
Michael Drake
285a7ca6c3
Document new nsfont_split expected behaviour.
2013-02-10 18:22:51 +00:00
Michael Drake
7bc725fe1f
Update HTML layout not to demand that nsfont_split only splits on a space.
...
This allows the HTML layout code to wrap unicode text correctly.
For example on our Japanese Welcome page, the characters will be wrapped
if the platform's nsfont_split implementation implements the Unicode line
breaking algorithm.
2013-02-10 16:50:15 +00:00
Michael Drake
f98c0d848c
Make nowrap code path a bit plainer.
2013-02-10 12:19:13 +00:00
Michael Drake
2a4b9b2217
Comment current html wrap/text-splitting behaviour.
2013-02-10 11:50:04 +00:00
Michael Drake
ceb1668a8a
Choose pretty colours for selection.
2013-02-09 22:55:31 +00:00
Michael Drake
7fa8f30f44
Don't add box scrollbar padding to gadgets.
2013-02-09 13:01:56 +00:00
Michael Drake
0d831c4ab6
Scaled textarea rendering support. Ugly.
2013-02-08 23:25:40 +00:00
Michael Drake
59d24187f7
Support dropping text file on textarea widget.
2013-02-08 16:05:44 +00:00
Michael Drake
698f391289
Add scrollwheel support to textareas.
2013-02-08 15:26:24 +00:00
Michael Drake
98befbb770
Fix comment.
2013-02-08 15:10:39 +00:00
Michael Drake
9c20ff9592
Drag fixup. Add some documentation.
2013-02-08 15:05:07 +00:00
Michael Drake
4747bbbfb2
HTML drags now go via content msg.
2013-02-08 13:22:53 +00:00
Michael Drake
08035f1197
Remove unused textinput widget. (Old html form text editing.)
2013-02-07 14:36:54 +00:00
Michael Drake
cb283c516a
Don't build or include old render/textinput module.
2013-02-07 14:28:20 +00:00
Michael Drake
94be5edbfa
Native caret not now set in redraw. Prevents endless redraw when textarea has caret.
2013-02-07 13:58:43 +00:00
Michael Drake
762e1aad73
First pass at getting html forms to use textarea widget.
...
(Input element types text & password, and textarea element.)
Can edit and submit forms, but there are loads of issues.
2013-02-06 22:39:45 +00:00
Chris Young
def45f8e55
Ensure buff is NULL-initialised.
2013-01-21 20:03:03 +00:00
Michael Drake
a6e56546c9
Check the right thing for NULL.
2013-01-18 21:58:37 +00:00
Michael Drake
8af3dd9a43
Redo html textinput for new front end clipboard API. This doesn't affect the textinput code's brokenness.
2013-01-08 16:59:26 +00:00
Michael Drake
147f2bd08a
Remove content_msg for PASTE, since it doesn't need a gui_window to get the buffer from the front end now.
2013-01-08 16:53:00 +00:00
Michael Drake
70d83baa6d
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-01-03 11:57:23 +00:00
Vincent Sanders
beffd9e481
search for teh correct script type in the defer callback.
...
Should fix SF bug #3599063
2013-01-02 23:14:31 +00:00
Michael Drake
bda7bfa739
Make scale const.
2013-01-02 18:44:08 +00:00
Michael Drake
96841ae2ff
Remove forward declaration.
2013-01-02 18:02:15 +00:00
Michael Drake
8bf3346ce2
Fix min_max line width calc to include box spaces.
2013-01-02 12:46:17 +00:00
Vincent Sanders
c1c3a06748
document mouse interaction a bit
2012-12-10 08:49:54 +00:00
Vincent Sanders
912b9de928
ensure default action fetcher is set to NULL
2012-12-06 19:33:25 +00:00
Vincent Sanders
646aed64ff
change to parameterised parser binding creation
2012-12-06 18:04:43 +00:00
Vincent Sanders
3052864773
issue click events at dom
2012-12-03 17:09:44 +00:00
Vincent Sanders
31c9ffb4b5
make boxes keep reference to the DOM node that causes them
2012-11-30 12:29:54 +00:00
Vincent Sanders
d80bb6210d
add missing include
2012-11-28 22:41:20 +00:00
Vincent Sanders
68f359d1ec
initial event fireing implementation
2012-11-28 18:07:36 +00:00
Vincent Sanders
fefc9ed6be
html renderer error path fixups for meta refresh
2012-11-26 20:34:59 +00:00
Vincent Sanders
fb13fcf166
Improve html renderer error reporting
2012-11-26 18:59:13 +00:00
Michael Drake
8bccf16158
Check if box with imagemap at point has area at point.
2012-11-22 17:40:20 +00:00
Michael Drake
bd3f65b7da
Use can_reformat instead of HTML special case. Allow reflow of parent for any object that gets a reformat.
2012-11-11 19:13:36 +00:00
Michael Drake
ddf45cd672
Reformat objects that reach the READY state.
2012-11-11 18:40:55 +00:00
Vincent Sanders
a79e098817
remove redundant domutils and put functionality in existing utils/libdom
2012-11-10 11:44:38 +00:00
Vincent Sanders
43fb761f45
add document.body, head and documentElement getters
...
add a dom utility file and use it
2012-11-07 18:53:05 +00:00
Michael Drake
bf7d8d46ee
More useful error type for libdom hubbub binding errors.
2012-11-07 15:34:53 +00:00
Michael Drake
e05da2bbc0
Add clip property awareness to box_at_point.
2012-11-06 19:26:00 +00:00
Michael Drake
733fd39417
Add support for CSS clip property.
2012-11-06 18:19:37 +00:00
Michael Drake
af1572be92
Height is already scaled. Make OBJ char bigger.
2012-11-05 19:08:44 +00:00
Michael Drake
5621bca772
Center broken object indicator.
2012-11-05 18:54:11 +00:00
Michael Drake
d0cb1d4e66
Don't abort redraw on bad image.
2012-11-05 18:19:14 +00:00
Michael Drake
2dcfcd6724
Fix placement of first inline on line below a float, when float has been shifted up by >= its own height with a negative margin.
2012-11-04 19:55:24 +00:00
Vincent Sanders
f18bbd48c7
Improve error handling in html content
2012-10-17 21:52:43 +01:00
Michael Drake
88dd7c3709
Fix url encoded query generation, when there's no name/value pairs.
2012-10-16 18:32:14 +01:00