Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | move option init out of netsurf_init | Vincent Sanders | 2013-05-28 | 2 | -13/+4 |
| | |||||
* | add common system colour implementation | Vincent Sanders | 2013-05-28 | 2 | -1/+103 |
| | |||||
* | build new options code and remove old | Vincent Sanders | 2013-05-28 | 3 | -881/+1 |
| | |||||
* | move options include | Vincent Sanders | 2013-05-28 | 13 | -13/+13 |
| | |||||
* | change all core and frontend options headers to new format | Vincent Sanders | 2013-05-28 | 1 | -143/+229 |
| | |||||
* | Pass fetch redirect info up to content layer as content_msg. Mark redirect ↵ | Michael Drake | 2013-05-27 | 2 | -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 frontends | Vincent Sanders | 2013-05-23 | 2 | -13/+0 |
| | | | | | This allows each frontend to pass a distinct callback to configure the output file stream appropriately for their use. | ||||
* | removed unsuded memdebug utilities | Vincent Sanders | 2013-05-23 | 1 | -5/+2 |
| | |||||
* | add script_timeout option and use it | Vincent Sanders | 2013-05-22 | 2 | -6/+15 |
| | |||||
* | create javascript heartbeat and hook a script timeout to it | Vincent Sanders | 2013-05-22 | 1 | -1/+11 |
| | |||||
* | Add logging to hotlist_cleanup() so we can narrow the field a little | Daniel Silverstone | 2013-05-15 | 1 | -0/+4 |
| | |||||
* | Update the edit menu after every click, to be safe. | Chris Young | 2013-05-12 | 1 | -1/+0 |
| | |||||
* | more fix of edit menu updates | Chris Young | 2013-05-12 | 1 | -0/+1 |
| | |||||
* | Remove struct selection from gui_drag_save_selection, so gui.h doesn't need ↵ | Michael Drake | 2013-05-10 | 2 | -4/+4 |
| | | | | it now. | ||||
* | Merge branch 'master' of git://git.netsurf-browser.org/netsurf into ↵ | Michael Drake | 2013-05-07 | 8 | -161/+147 |
|\ | | | | | | | tlsa/selection-search-refactor | ||||
| * | add assert to ensure API contract is met | Vincent Sanders | 2013-05-04 | 1 | -0/+2 |
| | | |||||
| * | cleanup tree_create_leaf_node text ownership | Vincent Sanders | 2013-05-04 | 5 | -73/+83 |
| | | |||||
| * | cleanup title string ownership madness in the tree_create_folder_node() API | Vincent Sanders | 2013-05-03 | 6 | -88/+62 |
| | | |||||
* | | Remove search context from browser window, simplify search interface for ↵ | Michael Drake | 2013-05-07 | 4 | -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 Drake | 2013-05-02 | 2 | -18/+0 |
| | | |||||
* | | Remove dead stuff from the selection_ api surface. | Michael Drake | 2013-05-02 | 2 | -32/+2 |
|/ | |||||
* | fix use after free on error path | Vincent Sanders | 2013-05-01 | 1 | -3/+5 |
| | |||||
* | Remove unused #includes. | Michael Drake | 2013-04-29 | 1 | -2/+0 |
| | |||||
* | Remove unused selection_get_{start|end} APIs and their helper function. | Michael Drake | 2013-04-29 | 2 | -71/+0 |
| | |||||
* | Update comments. | Michael Drake | 2013-04-29 | 1 | -2/+2 |
| | |||||
* | Remove block of code that have been commented out for years. | Michael Drake | 2013-04-29 | 1 | -22/+0 |
| | |||||
* | Bump version.c to 3.1 | Daniel Silverstone | 2013-04-20 | 1 | -1/+1 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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. | ||||
* | Start reflow on line before change in text, rather than always reflowing the ↵ | Michael Drake | 2013-03-20 | 1 | -11/+28 |
| | | | | entire textarea. | ||||
* | 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.) | ||||
* | 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. | ||||
* | Make textarea_get_caret private. | Michael Drake | 2013-03-13 | 2 | -33/+30 |
| | |||||
* | split sources lists out to their subdirectories as first step towards using ↵ | Vincent Sanders | 2013-03-11 | 2 | -0/+25 |
| | | | | core buildsystem |