Michael Drake
4747bbbfb2
HTML drags now go via content msg.
2013-02-08 13:22:53 +00:00
Michael Drake
9ec663f3a9
Tweak selection rendering. Adjusting layout doesn't emit redraw request. Client must redraw when it wants it.
2013-02-08 13:16:24 +00:00
Michael Drake
76b0e59b18
Don't lose fractional part of text pt size to rounding.
2013-02-07 15:03:35 +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
2979a19786
Remove input subtree special numberspacing.
2013-02-07 14:21:48 +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
Michael Drake
008cdb42d7
Fix empty textarea reflow. Fix empty line (just \n) redraw. Add set layout function to set size and padding.
2013-02-06 22:30:32 +00:00
Michael Drake
2260152ebf
Fix split implementation.
2013-02-06 22:27:51 +00:00
Michael Drake
79301e423c
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-02-03 23:20:20 +00:00
Chris Young
9c7031143f
Use last known scroll pos, not current
2013-02-03 22:19:31 +00:00
Chris Young
b704ad3e88
Correct fast scroll co-ordinates
2013-02-03 19:30:11 +00:00
Chris Young
4c27d6dd8e
Ensure scale can be accssed from the keyboard
2013-02-03 19:14:25 +00:00
Chris Young
34f1e427f9
Un-fix scaled box redraw, as it cause more problems than it solves
2013-02-03 19:10:30 +00:00
Chris Young
ccaeced4bf
Make fast scroll code easier to read
2013-02-03 18:50:16 +00:00
Chris Young
871a8e7cba
Fix scaled redraw of boxes
2013-02-03 18:21:28 +00:00
Michael Drake
601ab918e8
Merge branch 'master' of git://git.netsurf-browser.org/netsurf
2013-02-03 16:50:38 +00:00
Chris Young
43fe4490d3
Defer the redraw of boxes. This fixes a redraw problem with form select menus.
2013-02-03 14:01:48 +00:00
Michael Drake
442218cb80
Pull flags out of textarea_setup.
2013-02-02 22:58:35 +00:00
Michael Drake
97bc1d0189
Add support for password text inputs.
...
+ Text display obscured.
+ Cut/Copy put the obscured version on the clipboard.
2013-02-01 18:29:27 +00:00
Vincent Sanders
5ee7c6fd5c
fix cast warning in location::href setter
2013-01-31 22:53:20 +00:00
Vincent Sanders
3d075bec32
add href location setter
2013-01-31 20:29:12 +00:00
Ole Loots
16603cea27
Merged toolbar changes from master
2013-01-31 20:33:41 +01:00
Ole Loots
e9932f75ad
Added missing copyright headers.
2013-01-31 19:59:33 +01:00
Ole Loots
42054fabf0
Merged toolbar conflict.
2013-01-31 19:53:11 +01:00
Ole Loots
0703404654
Merge branch 'master' into mono/removing-windom-dependency
...
Conflicts:
atari/toolbar.c
2013-01-31 19:28:26 +01:00
Ole Loots
54f719aa96
Some more finetuning...
2013-01-31 19:22:35 +01:00
Chris Young
89856f5592
ifdef some code that will never work under AmigaOS <4.0
2013-01-30 18:23:48 +00:00
Michael Drake
663191791e
Add move caret msg. Add flag to choose internal caret or caret move msgs.
2013-01-30 18:01:01 +00:00
John-Mark Bell
e30e6ec8e9
Require and bundle Iconv 0.12
2013-01-29 23:58:37 +00:00
Michael Drake
5eb417fff4
Create textarea_msg struct on stack, rather than using global.
2013-01-29 22:52:21 +00:00
Michael Drake
af7a5d2d67
Don't redraw if selection is unchanged.
2013-01-29 20:28:10 +00:00
Michael Drake
385d9170d9
Replace textarea_drag_end call with textarea_mouse_action. s/redraw_request/request_redraw/
2013-01-29 17:46:05 +00:00
Michael Drake
93cc123200
Update textarea to inform client what it's doing with drags.
...
Now single callback for both redraw requests and drag reports.
Update treeview to use new textarea API.
Update Atari URL bar to use new textarea API. (Ignores drag reports, currently.)
Minor textarea fixes.
2013-01-29 17:34:08 +00:00
Michael Drake
75a24f7838
Add enum value for when no button is pressed (hover).
2013-01-29 14:07:24 +00:00
Chris Young
7710214ec2
Remove p96EncodeColour and ensure the alpha byte is set to 0xff.
2013-01-27 23:09:26 +00:00
Chris Young
a30d51cb50
Ensure we free the same size raster that we allocated
2013-01-27 11:09:54 +00:00
John-Mark Bell
23e16e020e
Initialise return values in error cases, too: core code is horrifically lax at checking errors from these APIs.
2013-01-26 22:05:16 +00:00
Chris Young
30dfa09008
Disable help for now, as it causes the popupmenu.class deadlock again
2013-01-24 20:16:35 +00:00
Chris Young
12890d3c60
Attempt fix screen close problem
2013-01-24 20:08:59 +00:00
Chris Young
f058e98817
Added more pages to AmigaGuide doc
2013-01-24 20:01:27 +00:00
Chris Young
18091ec1a9
Add basic context-sensitive help.
2013-01-24 20:00:09 +00:00
Chris Young
db71ffc8ea
AmigaGuide class provided by Daniel Jedlicka
2013-01-24 19:22:01 +00:00
Vincent Sanders
67ffb8e6e9
implement Element::hasAttribute
2013-01-23 17:46:40 +00:00
Vincent Sanders
09dc0649df
implement Element::removeAttribute
2013-01-23 17:12:57 +00:00
Vincent Sanders
7ab835df8f
implement Element::className
2013-01-23 17:00:13 +00:00
Vincent Sanders
16d938dd63
implement Element::id
2013-01-23 16:28:35 +00:00
Vincent Sanders
db7d3acdc3
add and use debug logging macro
2013-01-23 15:51:55 +00:00
Vincent Sanders
1d08350981
implement Element::tagName
2013-01-23 15:51:55 +00:00