summaryrefslogtreecommitdiff
path: root/desktop
Commit message (Collapse)AuthorAgeFilesLines
* Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵Michael Drake2013-05-272-0/+8
| | | | origin URLs as visited in browser window content callback. Note this doesn't mean we track redirects, it just lets us get the :visited link style on links that redirect.
* move the logging initialisation out to be call by frontendsVincent Sanders2013-05-232-13/+0
| | | | | This allows each frontend to pass a distinct callback to configure the output file stream appropriately for their use.
* removed unsuded memdebug utilitiesVincent Sanders2013-05-231-5/+2
|
* add script_timeout option and use itVincent Sanders2013-05-222-6/+15
|
* create javascript heartbeat and hook a script timeout to itVincent Sanders2013-05-221-1/+11
|
* Add logging to hotlist_cleanup() so we can narrow the field a littleDaniel Silverstone2013-05-151-0/+4
|
* Update the edit menu after every click, to be safe.Chris Young2013-05-121-1/+0
|
* more fix of edit menu updatesChris Young2013-05-121-0/+1
|
* Remove struct selection from gui_drag_save_selection, so gui.h doesn't need ↵Michael Drake2013-05-102-4/+4
| | | | it now.
* Merge branch 'master' of git://git.netsurf-browser.org/netsurf into ↵Michael Drake2013-05-078-161/+147
|\ | | | | | | tlsa/selection-search-refactor
| * add assert to ensure API contract is metVincent Sanders2013-05-041-0/+2
| |
| * cleanup tree_create_leaf_node text ownershipVincent Sanders2013-05-045-73/+83
| |
| * cleanup title string ownership madness in the tree_create_folder_node() APIVincent Sanders2013-05-036-88/+62
| |
* | Remove search context from browser window, simplify search interface for ↵Michael Drake2013-05-074-94/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | front ends. Added content interface for search. Removed bw->cur_search search context. Desktop layer now does nothing except pass search requests from front end onto the bw's current_content via the content interface. Search API reduced to a pair of functions at each level: {desktop|content|html|textplain}_search and {desktop|content|html|textplain}_search_clear Updated front ends to use simplified search API. Only tested GTK and RO builds. These confine the search stuff to render/. However search still uses struct selection. The handling for which is still spread over desktop/ and render/. Also the render/search code itself still fiddles inside html and textplain privates.
* | Remove redundant read-only test function.Michael Drake2013-05-022-18/+0
| |
* | Remove dead stuff from the selection_ api surface.Michael Drake2013-05-022-32/+2
|/
* fix use after free on error pathVincent Sanders2013-05-011-3/+5
|
* Remove unused #includes.Michael Drake2013-04-291-2/+0
|
* Remove unused selection_get_{start|end} APIs and their helper function.Michael Drake2013-04-292-71/+0
|
* Update comments.Michael Drake2013-04-291-2/+2
|
* Remove block of code that have been commented out for years.Michael Drake2013-04-291-22/+0
|
* Bump version.c to 3.1Daniel Silverstone2013-04-201-1/+1
|
* 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
|
* 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
|
* 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
|
* 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.
* Start reflow on line before change in text, rather than always reflowing the ↵Michael Drake2013-03-201-11/+28
| | | | entire textarea.
* 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.)
* 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.
* Make textarea_get_caret private.Michael Drake2013-03-132-33/+30
|
* split sources lists out to their subdirectories as first step towards using ↵Vincent Sanders2013-03-112-0/+25
| | | | core buildsystem
* Fix pointer shape and status bar messages for textareas and their scrollbars.Michael Drake2013-03-115-45/+159
|
* Make autoscroll start at inside edge of border or scrollbar.Michael Drake2013-03-061-9/+15
|
* Pull scrollbar mouse handling out into helper function.Michael Drake2013-03-061-12/+36
|
* Textarea sends caret hide msg if caret completely outside visible area.Michael Drake2013-03-061-11/+35
|
* Don't show caret if there's a selection.Michael Drake2013-03-061-1/+2
|