summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix sprite loading on RISC OS 3.50.John-Mark Bell2013-03-301-0/+0
|
* Removed duplicate hotlist_init call.Ole Loots2013-03-301-2/+2
|
* Added some commentsOle Loots2013-03-301-1/+6
|
* Avoid double/triple click stuff for scrollwheeling.Michael Drake2013-03-281-1/+3
|
* Hide caret after reflow (textarea may have moved), but let textarea keep focus.Michael Drake2013-03-271-1/+2
|
* Don't show caret when scrolling a textarea that hasn't been given focus.Michael Drake2013-03-271-1/+2
|
* Tidy up pointer beyond scrollbars.Michael Drake2013-03-271-0/+7
|
* Reduce multi-line textarea a bit more. When redrawing only one line, don't ↵Michael Drake2013-03-261-1/+23
| | | | redraw unchanged text at the start of the line.
* Further reduce redraw region for multi-line textareas when editing.Michael Drake2013-03-261-9/+26
|
* Trivial redraw optimisation for multiline textareas. Only redraw the line ↵Michael Drake2013-03-251-10/+19
| | | | that was changed and below.
* Remove some spaces.Michael Drake2013-03-251-8/+8
|
* ensure the closest character is pickedChris Young2013-03-241-5/+8
|
* update posn_in_string loop to be similar to nsfont_splitChris Young2013-03-241-38/+18
|
* Handle UTF-16 multi-length characters properlyChris Young2013-03-241-97/+98
|
* Reduce redraw area for selection set/change/clear.Michael Drake2013-03-221-11/+39
|
* Move line start calc into reflow handler.Michael Drake2013-03-221-17/+14
|
* Merge remote-tracking branch 'origin/mmu_man/beos-fixes'Daniel Silverstone (parasomnia chroot)2013-03-223-9/+16
|\
| * beos: Fix replicantsFrançois Revol2013-03-221-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 infoFrançois Revol2013-03-211-1/+1
| |
| * beos: Fix nsfont_position_in_string off-by-1François Revol2013-03-211-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 Loots2013-03-221-3/+2
|/
* Optimise redraw of single line textarea. When single line textarea is ↵Michael Drake2013-03-211-17/+42
| | | | unscrolled, only the changed area is redrawn after edits.
* Split reflow into two functions for single or multi line textareas.Michael Drake2013-03-211-95/+175
|
* Fix leaked utf16 string.Michael Drake2013-03-201-0/+2
|
* Ensure that actual_x is set when string fits inside available_width.Michael Drake2013-03-201-34/+27
|
* Fix error.Michael Drake2013-03-201-2/+1
|
* More meddling.Michael Drake2013-03-201-10/+6
|
* Another attempt.Michael Drake2013-03-201-4/+10
|
* Robust detection of scroll changes.Michael Drake2013-03-201-6/+17
|
* Avoid double redraw when edit causes scroll.Michael Drake2013-03-201-16/+15
|
* Use cached line length to avoid some nsfont_width calls for selection ↵Michael Drake2013-03-201-6/+4
| | | | rendering in redraw.
* Avoid redraw of scrollbars when they've not changed.Michael Drake2013-03-201-16/+22
|
* Cache line widths. Fixes scrollbar issue introduced with partial reflow ↵Michael Drake2013-03-201-4/+18
| | | | enablement. Will also be used for future redraw optimisations.
* Try fixing Amiga nsfont_split. (Untested!)Michael Drake2013-03-201-6/+5
|
* Start reflow on line before change in text, rather than always reflowing the ↵Michael Drake2013-03-201-11/+28
| | | | entire textarea.
* This needs to be set as CustomScreen to ensure it isn't classed as a ↵Chris Young2013-03-201-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 Young2013-03-2010-19/+19
| | | | is a public screen)
* Fix 3608298: only apply link hack if JS is disabled.John-Mark Bell2013-03-191-14/+17
|
* Comment fixes.Michael Drake2013-03-191-3/+2
|
* Fix warnings.Michael Drake2013-03-191-3/+3
|
* Start reducing unnecessary redraws: when only start OR end of selection has ↵Michael Drake2013-03-191-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 Drake2013-03-191-3/+11
| | | | whole textarea.
* Fix can paste/copy tests.Michael Drake2013-03-181-2/+2
|
* Fix menu shading of copy/cut/paste options when more than one of them should ↵Michael Drake2013-03-181-5/+5
| | | | be made available.
* Stop looking on first modified sheet found.Michael Drake2013-03-181-1/+3
|
* Remove extra logging.Michael Drake2013-03-181-3/+0
|
* Fix bug where html conversion began before STYLE element fetch had been ↵Michael Drake2013-03-184-5/+30
| | | | launched.
* Add some extra logging. Some pedantic wrap changes.Michael Drake2013-03-181-15/+19
|
* Loads of changes including fixes, new functionality, and optimisation.Michael Drake2013-03-171-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 Drake2013-03-172-0/+19
|