Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Hide caret after reflow (textarea may have moved), but let textarea keep focus. | Michael Drake | 2013-03-27 | 1 | -1/+2 |
| | |||||
* | Don't show caret when scrolling a textarea that hasn't been given focus. | Michael Drake | 2013-03-27 | 1 | -1/+2 |
| | |||||
* | Tidy up pointer beyond scrollbars. | Michael Drake | 2013-03-27 | 1 | -0/+7 |
| | |||||
* | Reduce multi-line textarea a bit more. When redrawing only one line, don't ↵ | Michael Drake | 2013-03-26 | 1 | -1/+23 |
| | | | | redraw unchanged text at the start of the line. | ||||
* | Further reduce redraw region for multi-line textareas when editing. | Michael Drake | 2013-03-26 | 1 | -9/+26 |
| | |||||
* | Trivial redraw optimisation for multiline textareas. Only redraw the line ↵ | Michael Drake | 2013-03-25 | 1 | -10/+19 |
| | | | | that was changed and below. | ||||
* | Remove some spaces. | Michael Drake | 2013-03-25 | 1 | -8/+8 |
| | |||||
* | ensure the closest character is picked | Chris Young | 2013-03-24 | 1 | -5/+8 |
| | |||||
* | update posn_in_string loop to be similar to nsfont_split | Chris Young | 2013-03-24 | 1 | -38/+18 |
| | |||||
* | Handle UTF-16 multi-length characters properly | Chris Young | 2013-03-24 | 1 | -97/+98 |
| | |||||
* | Reduce redraw area for selection set/change/clear. | Michael Drake | 2013-03-22 | 1 | -11/+39 |
| | |||||
* | Move line start calc into reflow handler. | Michael Drake | 2013-03-22 | 1 | -17/+14 |
| | |||||
* | Merge remote-tracking branch 'origin/mmu_man/beos-fixes' | Daniel Silverstone (parasomnia chroot) | 2013-03-22 | 3 | -9/+16 |
|\ | |||||
| * | beos: Fix replicants | François Revol | 2013-03-22 | 1 | -6/+12 |
| | | | | | | | | | | | | | | | | Waiting on the semaphore was not enough, it was causing a crash on replicant removal. Now we wait for the replicant main thread to exit. It fixes replicants, at least when a single one is used per application. Using more than one still causes issues due to some libs not liking being used twice (hlcache it seems). | ||||
| * | beos: update copyright years in the version info | François Revol | 2013-03-21 | 1 | -1/+1 |
| | | |||||
| * | beos: Fix nsfont_position_in_string off-by-1 | François Revol | 2013-03-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | The current width was tested after the index was already updated to the next character, leading to an off-by-one error, and the impossibility to select the first character of a string in textarea. | ||||
* | | Fixed handling of filepath passed via commandline. | Ole Loots | 2013-03-22 | 1 | -3/+2 |
|/ | |||||
* | Optimise redraw of single line textarea. When single line textarea is ↵ | Michael Drake | 2013-03-21 | 1 | -17/+42 |
| | | | | unscrolled, only the changed area is redrawn after edits. | ||||
* | Split reflow into two functions for single or multi line textareas. | Michael Drake | 2013-03-21 | 1 | -95/+175 |
| | |||||
* | Fix leaked utf16 string. | Michael Drake | 2013-03-20 | 1 | -0/+2 |
| | |||||
* | Ensure that actual_x is set when string fits inside available_width. | Michael Drake | 2013-03-20 | 1 | -34/+27 |
| | |||||
* | Fix error. | Michael Drake | 2013-03-20 | 1 | -2/+1 |
| | |||||
* | More meddling. | Michael Drake | 2013-03-20 | 1 | -10/+6 |
| | |||||
* | Another attempt. | Michael Drake | 2013-03-20 | 1 | -4/+10 |
| | |||||
* | Robust detection of scroll changes. | Michael Drake | 2013-03-20 | 1 | -6/+17 |
| | |||||
* | Avoid double redraw when edit causes scroll. | Michael Drake | 2013-03-20 | 1 | -16/+15 |
| | |||||
* | Use cached line length to avoid some nsfont_width calls for selection ↵ | Michael Drake | 2013-03-20 | 1 | -6/+4 |
| | | | | rendering in redraw. | ||||
* | Avoid redraw of scrollbars when they've not changed. | Michael Drake | 2013-03-20 | 1 | -16/+22 |
| | |||||
* | Cache line widths. Fixes scrollbar issue introduced with partial reflow ↵ | Michael Drake | 2013-03-20 | 1 | -4/+18 |
| | | | | enablement. Will also be used for future redraw optimisations. | ||||
* | Try fixing Amiga nsfont_split. (Untested!) | Michael Drake | 2013-03-20 | 1 | -6/+5 |
| | |||||
* | Start reflow on line before change in text, rather than always reflowing the ↵ | Michael Drake | 2013-03-20 | 1 | -11/+28 |
| | | | | entire textarea. | ||||
* | This needs to be set as CustomScreen to ensure it isn't classed as a ↵ | Chris Young | 2013-03-20 | 1 | -1/+1 |
| | | | | "visitor" window, for reasons not fully understood. | ||||
* | We are opening on a public screen, not a custom screen (even our own screen ↵ | Chris Young | 2013-03-20 | 10 | -19/+19 |
| | | | | is a public screen) | ||||
* | Fix 3608298: only apply link hack if JS is disabled. | John-Mark Bell | 2013-03-19 | 1 | -14/+17 |
| | |||||
* | Comment fixes. | Michael Drake | 2013-03-19 | 1 | -3/+2 |
| | |||||
* | Fix warnings. | Michael Drake | 2013-03-19 | 1 | -3/+3 |
| | |||||
* | Start reducing unnecessary redraws: when only start OR end of selection has ↵ | Michael Drake | 2013-03-19 | 1 | -7/+54 |
| | | | | changed, only redraw the lines affected. (Reduces redraw of vertical regions only. Still redraw full width for changed lines.) | ||||
* | In box textarea binding only redraw the area that was requested, not the ↵ | Michael Drake | 2013-03-19 | 1 | -3/+11 |
| | | | | whole textarea. | ||||
* | Fix can paste/copy tests. | Michael Drake | 2013-03-18 | 1 | -2/+2 |
| | |||||
* | Fix menu shading of copy/cut/paste options when more than one of them should ↵ | Michael Drake | 2013-03-18 | 1 | -5/+5 |
| | | | | be made available. | ||||
* | Stop looking on first modified sheet found. | Michael Drake | 2013-03-18 | 1 | -1/+3 |
| | |||||
* | Remove extra logging. | Michael Drake | 2013-03-18 | 1 | -3/+0 |
| | |||||
* | Fix bug where html conversion began before STYLE element fetch had been ↵ | Michael Drake | 2013-03-18 | 4 | -5/+30 |
| | | | | launched. | ||||
* | Add some extra logging. Some pedantic wrap changes. | Michael Drake | 2013-03-18 | 1 | -15/+19 |
| | |||||
* | Loads of changes including fixes, new functionality, and optimisation. | Michael Drake | 2013-03-17 | 1 | -633/+699 |
| | | | | | | | | | | | | | | | | | | | | | | | + Refactor internals to be byte, rather than character based. + Don't need to hammer utf8_* functions everywhere + Optimises: + Redraw (lots) + Editing (insertion, replacement, removal) + Caret placement + Selection + Early avoid of zero length autoscroll during selection drag. + Optimised redraw to avoid nsfont_width when: + There's no selection at all. + We're on last part of line, and it's unselected. + Implemented WORD_LEFT and WORD_RIGHT keys (shift + cursor left/right) + Fixed UP and DOWN (cursor up/down) keys to handle non-monospace fonts. (Now based on 'x' offset on line, rather than character offset on line.) + Fixed PAGE_UP and PAGE_DOWN to scroll without moving the caret. + Fixed redraw bug in text selection edge case. + Changed textarea_replace_text and textarea_insert_text to return a byte delta for caret position changes. + Coordinate to text offset function handles global and viewport coords. + Many small improvements and tidying. | ||||
* | Add function to get the byte length of n characters in a utf8 string. | Michael Drake | 2013-03-17 | 2 | -0/+19 |
| | |||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf | Michael Drake | 2013-03-16 | 2 | -148/+187 |
|\ | |||||
| * | Debounce style updates | John-Mark Bell | 2013-03-16 | 2 | -22/+57 |
| | | |||||
| * | Move public API to end | John-Mark Bell | 2013-03-16 | 1 | -128/+128 |
| | | |||||
| * | Ensure a reference is taken on style nodes. | John-Mark Bell | 2013-03-16 | 1 | -1/+5 |
| | |