Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add scrollwheel support to textareas. | Michael Drake | 2013-02-08 | 2 | -0/+27 |
| | |||||
* | Add ta to documentation. | Michael Drake | 2013-02-08 | 1 | -0/+3 |
| | |||||
* | Drag fixup. Add some documentation. | Michael Drake | 2013-02-08 | 1 | -2/+4 |
| | |||||
* | HTML drags now go via content msg. | Michael Drake | 2013-02-08 | 2 | -2/+19 |
| | |||||
* | Tweak selection rendering. Adjusting layout doesn't emit redraw request. ↵ | Michael Drake | 2013-02-08 | 2 | -34/+10 |
| | | | | Client must redraw when it wants it. | ||||
* | Don't lose fractional part of text pt size to rounding. | Michael Drake | 2013-02-07 | 1 | -3/+2 |
| | |||||
* | Remove input subtree special numberspacing. | Michael Drake | 2013-02-07 | 1 | -51/+13 |
| | |||||
* | Native caret not now set in redraw. Prevents endless redraw when textarea ↵ | Michael Drake | 2013-02-07 | 1 | -24/+40 |
| | | | | has caret. | ||||
* | First pass at getting html forms to use textarea widget. | Michael Drake | 2013-02-06 | 2 | -14/+13 |
| | | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues. | ||||
* | Fix empty textarea reflow. Fix empty line (just \n) redraw. Add set layout ↵ | Michael Drake | 2013-02-06 | 2 | -4/+51 |
| | | | | function to set size and padding. | ||||
* | Pull flags out of textarea_setup. | Michael Drake | 2013-02-02 | 3 | -10/+12 |
| | |||||
* | Add support for password text inputs. | Michael Drake | 2013-02-01 | 2 | -136/+230 |
| | | | | | + Text display obscured. + Cut/Copy put the obscured version on the clipboard. | ||||
* | Add move caret msg. Add flag to choose internal caret or caret move msgs. | Michael Drake | 2013-01-30 | 3 | -10/+39 |
| | |||||
* | Create textarea_msg struct on stack, rather than using global. | Michael Drake | 2013-01-29 | 1 | -2/+8 |
| | |||||
* | Don't redraw if selection is unchanged. | Michael Drake | 2013-01-29 | 1 | -0/+3 |
| | |||||
* | Update textarea to inform client what it's doing with drags. | Michael Drake | 2013-01-29 | 3 | -138/+261 |
| | | | | | | | 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. | ||||
* | Add enum value for when no button is pressed (hover). | Michael Drake | 2013-01-29 | 1 | -17/+23 |
| | |||||
* | textarea: C89 | François Revol | 2013-01-20 | 1 | -2/+3 |
| | |||||
* | Early scrollbar mouse handling. | Michael Drake | 2013-01-18 | 1 | -7/+95 |
| | |||||
* | Ensure we know for sure if scrollbar widget will want to scroll us. Avoid ↵ | Michael Drake | 2013-01-15 | 1 | -6/+12 |
| | | | | double xy to offset conversion. | ||||
* | Add parentheses. | Michael Drake | 2013-01-15 | 1 | -2/+2 |
| | |||||
* | Add scrollbars to textarea, and improve scrolling to try to keep caret in ↵ | Michael Drake | 2013-01-15 | 1 | -118/+310 |
| | | | | centre. Currently the scrollbars are mostly decoration, although they show accuratly where you are scrolled to in the area. TODO: Pass mouse input to scrollbars. | ||||
* | Use right padding. Thanks jmb. | Michael Drake | 2013-01-14 | 1 | -1/+1 |
| | |||||
* | Fix caret removal redraw to take account of border width. Fix ↵ | Michael Drake | 2013-01-14 | 1 | -3/+4 |
| | | | | scroll_visible to take account of border width in vertical scroll. | ||||
* | Implement most of the styling needed for HTML. Allow caret to be hidden. | Michael Drake | 2013-01-13 | 2 | -47/+62 |
| | |||||
* | Rewrite redraw to handle selection properly. (Now text can change colour ↵ | Michael Drake | 2013-01-13 | 1 | -93/+104 |
| | | | | inside selection, rather than just rendering a rectangle under the normal line of text. This removes colour restrictions, allowing e.g. inversion for selected text.) | ||||
* | Add background colour to textarea_redraw API. Add source comments. | Michael Drake | 2013-01-12 | 3 | -27/+26 |
| | |||||
* | Add textarea_setup struct to textarea_create API. | Michael Drake | 2013-01-12 | 3 | -14/+72 |
| | |||||
* | Fix redraw of caret when scroll offsets are non-zero, only caret has moved, ↵ | Michael Drake | 2013-01-10 | 1 | -0/+4 |
| | | | | and we're not getting a full textarea redraw. | ||||
* | Simplify routine to scroll ta so that caret is visible. | Michael Drake | 2013-01-10 | 1 | -16/+2 |
| | |||||
* | More wrap behaviour improvement. | Michael Drake | 2013-01-10 | 1 | -15/+17 |
| | |||||
* | Fix silly. | Michael Drake | 2013-01-10 | 1 | -1/+1 |
| | |||||
* | Fix previous caret position redraw. | Michael Drake | 2013-01-10 | 1 | -32/+4 |
| | |||||
* | Improve reflow in multiline textareas. | Michael Drake | 2013-01-10 | 1 | -4/+10 |
| | |||||
* | Simplfy caret placement and redraw. | Michael Drake | 2013-01-10 | 1 | -16/+13 |
| | |||||
* | Fix caret placement in multi-line textareas. | Michael Drake | 2013-01-10 | 1 | -5/+4 |
| | |||||
* | Add support for clipboard. Improve text selection behaviour. Various fixes. | Michael Drake | 2013-01-09 | 1 | -53/+133 |
| | |||||
* | Make get_xy_offset return both char and byte offset. (Byte being needed for ↵ | Michael Drake | 2013-01-09 | 1 | -19/+35 |
| | | | | selection replacement.) | ||||
* | Rename selection index markers. | Michael Drake | 2013-01-08 | 1 | -55/+55 |
| | |||||
* | Redo html textinput for new front end clipboard API. This doesn't affect ↵ | Michael Drake | 2013-01-08 | 1 | -1/+3 |
| | | | | the textinput code's brokenness. | ||||
* | Update to use new front end clipboard functions. Now we build the buffer ↵ | Michael Drake | 2013-01-08 | 1 | -71/+88 |
| | | | | from each individual text box in the core, instead of in each front end. Styles for text runs are generated in the HTML case. | ||||
* | Remove content_msg for PASTE, since it doesn't need a gui_window to get the ↵ | Michael Drake | 2013-01-08 | 1 | -6/+0 |
| | | | | buffer from the front end now. | ||||
* | Change clipboard api, so it does not assume either ↵ | Michael Drake | 2013-01-08 | 1 | -6/+27 |
| | | | | browser_window/gui_window, or html/text-plain content selection objects. This allows desktop/textarea to use clipboard. | ||||
* | Fix redraw of selection hightlight during selection drags. | Michael Drake | 2013-01-07 | 1 | -21/+10 |
| | |||||
* | Remove wrong comments. | Michael Drake | 2013-01-07 | 1 | -2/+0 |
| | |||||
* | Make comment concise. | Michael Drake | 2013-01-07 | 1 | -3/+1 |
| | |||||
* | Remove forward declaration. | Michael Drake | 2013-01-05 | 1 | -448/+441 |
| | |||||
* | Put exported function comments in header. | Michael Drake | 2013-01-05 | 2 | -97/+124 |
| | |||||
* | Start rationalising textarea widget. | Michael Drake | 2013-01-05 | 3 | -52/+56 |
| | |||||
* | For now selection clear and selection copy are handled by the bw. Select ↵ | Michael Drake | 2013-01-03 | 1 | -11/+14 |
| | | | | | | all is only handled by the bw if nothing has claimed input. This stops the crash when select all is used in textarea. TODO: The special keys should not be handled by the bw, they should be handled by the content with focus. |