Commit Graph

8624 Commits

Author SHA1 Message Date
Michael Drake
6bab556827 Make comaptible with new nsfont_split expectation. Untested, but code is same as framebuffer front end, so should work. 2013-02-10 18:28:59 +00:00
Michael Drake
3148f8a6c3 Make compatible with new nsfont_split expectations. Only splits on spaces. 2013-02-10 18:26:59 +00:00
Michael Drake
db8ec60fc0 Update nsfont_split documentation. Implementation was already compatible. Can only split on spaces. 2013-02-10 18:25:09 +00:00
Michael Drake
4843658742 Don't need to break on space any more. This gives us unicode line breaking from pango. 2013-02-10 18:23:34 +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
Vincent Sanders
4ffa39177d fix docuemnt/window location to correctly navigate, fixes http://www.avaaz.org/ base page 2013-02-07 18:16:37 +00:00
Chris Young
7957cc59b1 Updated Italian translation from Samir Hawamdeh 2013-02-06 20:03:07 +00:00
Chris Young
a853194c1d Correct SSL certificate accept/reject messages name 2013-02-06 20:00:46 +00:00
Chris Young
02115a8958 Optimise box redraws some more by discarding simple subsets 2013-02-06 18:44:41 +00:00
Chris Young
7c671378aa Don't add the same box redraw to the queue more than once 2013-02-05 19:44:21 +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
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
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