Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Calculate and store text offsets only when they change, rather than ↵ | Michael Drake | 2013-02-13 | 1 | -23/+37 | |
| | | | | recalculating on every redraw and caret placement. Also ensures that caret placement and redraw get the same text offset values. | |||||
* | Fun micro-optimisations. | Michael Drake | 2013-02-12 | 1 | -21/+15 | |
| | ||||||
* | Add button to quit by default. Not having it confuses people who run it as ↵ | Michael Drake | 2013-02-12 | 2 | -2/+2 | |
| | | | | intended on the framebuffer, and it can still be turned off should somone wish to. | |||||
* | Implement triple-click | Chris Young | 2013-02-12 | 2 | -6/+19 | |
| | ||||||
* | Implement selection modification. Clicks and drags with button 2 alter the ↵ | Michael Drake | 2013-02-12 | 1 | -2/+21 | |
| | | | | nearest end of the selection. Button 2 when there is no selection selects from caret pos to click pos. | |||||
* | Pass triple clicks to core. | Michael Drake | 2013-02-12 | 1 | -7/+64 | |
| | ||||||
* | Add support for double and triple clicks. | Michael Drake | 2013-02-12 | 1 | -4/+37 | |
| | ||||||
* | Pass double and triple clicks to the browser window. | Michael Drake | 2013-02-12 | 1 | -1/+7 | |
| | ||||||
* | Triple click selects paragraph in textarea widget. | Michael Drake | 2013-02-12 | 2 | -13/+77 | |
| | ||||||
* | Pass double clicks to browser windows. | Michael Drake | 2013-02-12 | 1 | -3/+3 | |
| | ||||||
* | Tidy textarea-handled mouse action. | Michael Drake | 2013-02-12 | 1 | -9/+10 | |
| | ||||||
* | Init clipboard to NULL, just in case front end implementation of ↵ | Michael Drake | 2013-02-12 | 1 | -1/+1 | |
| | | | | gui_get_clipboard fails to set it on empty clipboard. | |||||
* | When reqesting redraaw to remove internal caret, make sure caret is already ↵ | Michael Drake | 2013-02-12 | 1 | -0/+3 | |
| | | | | removed as the redraw may be serviced immediatley. | |||||
* | Set the split point to the end of the line if the entire string fits in the ↵ | Chris Young | 2013-02-12 | 1 | -15/+15 | |
| | | | | allocated space | |||||
* | Don't reduce width of textarea box for CSS overflow scrollbar; it won't get one. | Michael Drake | 2013-02-11 | 1 | -2/+0 | |
| | ||||||
* | Don't include '\0' in single-line nsfont_width call. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Selection autoscroll of scrollbarless textareas (single line). | Michael Drake | 2013-02-11 | 1 | -13/+38 | |
| | ||||||
* | Early detection of regions outside the visible. | Michael Drake | 2013-02-11 | 1 | -0/+9 | |
| | ||||||
* | Clip native caret render so it can't overwrite border. Slight simplification. | Michael Drake | 2013-02-11 | 1 | -11/+12 | |
| | ||||||
* | Single line textareas don't have scrollbars, so they don't get the scroll ↵ | Michael Drake | 2013-02-11 | 1 | -3/+16 | |
| | | | | redraw request from the scrollbar callback. | |||||
* | Don't need to redraw for caret removal if using a native caret. | Michael Drake | 2013-02-11 | 1 | -1/+2 | |
| | ||||||
* | Fix internal caret redraw bounds. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Fix delete-to-line-end. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Pass scale to textarea redraw. | Michael Drake | 2013-02-11 | 1 | -1/+1 | |
| | ||||||
* | Make delete line key enum value name less missleading. (Doesn't cut to ↵ | Michael Drake | 2013-02-11 | 4 | -5/+4 | |
| | | | | clipboard.) | |||||
* | Move html textarea's selection colour chooser to plot_style.h, as it could ↵ | Michael Drake | 2013-02-11 | 2 | -7/+10 | |
| | | | | be used elsewhere. | |||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2013-02-10 | 1 | -19/+29 | |
|\ | ||||||
| * | Bring nsfont_split up to core expectations. Slightly bodged. | Chris Young | 2013-02-10 | 1 | -19/+29 | |
| | | ||||||
* | | Implement delete line. (Ctrl+U on RISC OS.) | Michael Drake | 2013-02-10 | 1 | -8/+36 | |
| | | ||||||
* | | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2013-02-10 | 14 | -140/+193 | |
|\| | | | | | | | | | | | | | Conflicts: gtk/font_pango.c Conflict resolved. | |||||
| * | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2013-02-10 | 2 | -14/+16 | |
| |\ | ||||||
| | * | Queue fast scroll redraws same as any other box redraw | Chris Young | 2013-02-10 | 1 | -13/+15 | |
| | | | ||||||
| | * | minor correction from samir | Chris Young | 2013-02-10 | 1 | -1/+1 | |
| | | | ||||||
| * | | Update for new nsfont_split expectations. Untested, but code similar to ↵ | Michael Drake | 2013-02-10 | 1 | -11/+18 | |
| | | | | | | | | | | | | framebuffer. Looks /really/ slow. It only needs to measure the text when it finds a space, not for every character. | |||||
| * | | Update for new nsfont_split expectations. Untested, but code similar to ↵ | Michael Drake | 2013-02-10 | 1 | -7/+19 | |
| | | | | | | | | | | | | framebuffer. | |||||
| * | | Update for new nsfont_split expectations. Untested, but code same as ↵ | Michael Drake | 2013-02-10 | 1 | -0/+8 | |
| | | | | | | | | | | | | framebuffer. | |||||
| * | | Make comaptible with new nsfont_split expectation. Untested, but code is ↵ | Michael Drake | 2013-02-10 | 3 | -4/+12 | |
| | | | | | | | | | | | | same as framebuffer front end, so should work. | |||||
| * | | Make compatible with new nsfont_split expectations. Only splits on spaces. | Michael Drake | 2013-02-10 | 2 | -15/+36 | |
| | | | ||||||
| * | | Update nsfont_split documentation. Implementation was already compatible. ↵ | Michael Drake | 2013-02-10 | 1 | -5/+12 | |
| | | | | | | | | | | | | Can only split on spaces. | |||||
| * | | Don't need to break on space any more. This gives us unicode line breaking ↵ | Michael Drake | 2013-02-10 | 1 | -18/+16 | |
| | | | | | | | | | | | | from pango. | |||||
| * | | Document new nsfont_split expected behaviour. | Michael Drake | 2013-02-10 | 1 | -4/+11 | |
| | | | ||||||
| * | | Update HTML layout not to demand that nsfont_split only splits on a space. | Michael Drake | 2013-02-10 | 1 | -56/+43 | |
| | | | | | | | | | | | | | | | | | | | | | 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. | |||||
| * | | Make nowrap code path a bit plainer. | Michael Drake | 2013-02-10 | 1 | -4/+4 | |
| | | | ||||||
| * | | Comment current html wrap/text-splitting behaviour. | Michael Drake | 2013-02-10 | 1 | -3/+5 | |
| |/ | ||||||
* | | Choose pretty colours for selection. | Michael Drake | 2013-02-09 | 1 | -3/+11 | |
| | | ||||||
* | | If a character is replaced by a character of different width, the caret ↵ | Michael Drake | 2013-02-09 | 1 | -1/+2 | |
| | | | | | | | | needs to move. Checking change in character index isn't enough, so move caret if redraw was required too. | |||||
* | | When updating textarea layout settings, remember scrollbar status. | Michael Drake | 2013-02-09 | 1 | -2/+2 | |
| | | ||||||
* | | If restarting reflow for scrollbar change, need to start at line 0. | Michael Drake | 2013-02-09 | 1 | -1/+4 | |
| | | ||||||
* | | Empty textarea has one line. | Michael Drake | 2013-02-09 | 1 | -0/+1 | |
| | | ||||||
* | | Stop it from using past the end of lines data allocation. (It could add up ↵ | Michael Drake | 2013-02-09 | 1 | -3/+17 | |
| | | | | | | | | to 2 lines per pass, but assumed 1 for allocation.) |