summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | A load of refactoring of how content selection and input work.Michael Drake2013-02-2225-498/+1006
|/ | | | | | | | | | | | | Keypresses now go via content interface. Contents don't shove the selection object into browser windows any more. Contents report selection existence by sending message. HTML content keeps track of where selections in it exist. Contents report whether they have input focus via caret setting msg. Caret can be hidden (can still input/paste) or removed. Consolidate textarea selection handling. Make textarea report its selection status changes to client. Various textarea fixes. Changed how we decide when to clear selections, and give focus.
* Fix handling of treeview launch actions.John-Mark Bell2013-02-191-1/+4
|
* Remove spurious error message after closing AboutChris Young2013-02-181-12/+14
|
* Add missing flagChris Young2013-02-181-1/+2
|
* clean out useless outdated #if 0 blocks they serve no purpose and keep ↵Vincent Sanders2013-02-1811-1558/+4
| | | | causing confusion in core refactors. Better examples are available in other frontends or in teh revision control system if strictly necessary
* fix remaining errors introduced in refactorVincent Sanders2013-02-182-2/+2
|
* Fix build.Michael Drake2013-02-183-1/+3
|
* More fixup.Michael Drake2013-02-182-6/+10
|
* Make it build again.Michael Drake2013-02-181-11/+13
|
* fix errors introduced in refactorVincent Sanders2013-02-188-39/+54
|
* rename flags for browser_window routines to be shorterVincent Sanders2013-02-1844-283/+283
|
* change browser_window_create and refactor all callsitesVincent Sanders2013-02-1832-346/+1277
|
* browser_window_navigate refactorVincent Sanders2013-02-1831-417/+1281
|
* Identify JavaScript by extension as a fallbackChris Young2013-02-151-0/+4
|
* Set default JavaScript icon to report correct MIME typeChris Young2013-02-151-0/+1
|
* More logical splitting codeChris Young2013-02-151-14/+9
|
* Change selection colours so selection background takes text colour, and ↵Michael Drake2013-02-151-9/+6
| | | | selected text becomes black or white -- whichever gives greatest contrast.
* Type &F81 --> "JSScript".Michael Drake2013-02-151-0/+1
|
* Add JS filetype to mimetype mapping.Michael Drake2013-02-151-0/+1
|
* Fix potential double free when we've had something in our clipboard, another ↵Michael Drake2013-02-131-9/+12
| | | | app has claimed the clipboard, and the clipboard is now empty/disowned by all apps, and we try to paste the empty clipboard twice in NetSurf.
* Merge branch 'master' of git://git.netsurf-browser.org/netsurfMichael Drake2013-02-132-15/+9
|\
| * rationalise the removal of the box redraw queueChris Young2013-02-132-15/+9
| |
* | Changing browser window to get wimp double clicks meant enum value for ↵Michael Drake2013-02-131-3/+2
| | | | | | | | single clicks was different. This broke the window taking focus on a single click. Fixed.
* | Move selection clearing into a function, and expose it in the header file.Michael Drake2013-02-132-14/+34
|/
* Calculate and store text offsets only when they change, rather than ↵Michael Drake2013-02-131-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 Drake2013-02-121-21/+15
|
* Add button to quit by default. Not having it confuses people who run it as ↵Michael Drake2013-02-122-2/+2
| | | | intended on the framebuffer, and it can still be turned off should somone wish to.
* Implement triple-clickChris Young2013-02-122-6/+19
|
* Implement selection modification. Clicks and drags with button 2 alter the ↵Michael Drake2013-02-121-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 Drake2013-02-121-7/+64
|
* Add support for double and triple clicks.Michael Drake2013-02-121-4/+37
|
* Pass double and triple clicks to the browser window.Michael Drake2013-02-121-1/+7
|
* Triple click selects paragraph in textarea widget.Michael Drake2013-02-122-13/+77
|
* Pass double clicks to browser windows.Michael Drake2013-02-121-3/+3
|
* Tidy textarea-handled mouse action.Michael Drake2013-02-121-9/+10
|
* Init clipboard to NULL, just in case front end implementation of ↵Michael Drake2013-02-121-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 Drake2013-02-121-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 Young2013-02-121-15/+15
| | | | allocated space
* Don't reduce width of textarea box for CSS overflow scrollbar; it won't get one.Michael Drake2013-02-111-2/+0
|
* Don't include '\0' in single-line nsfont_width call.Michael Drake2013-02-111-1/+1
|
* Selection autoscroll of scrollbarless textareas (single line).Michael Drake2013-02-111-13/+38
|
* Early detection of regions outside the visible.Michael Drake2013-02-111-0/+9
|
* Clip native caret render so it can't overwrite border. Slight simplification.Michael Drake2013-02-111-11/+12
|
* Single line textareas don't have scrollbars, so they don't get the scroll ↵Michael Drake2013-02-111-3/+16
| | | | redraw request from the scrollbar callback.
* Don't need to redraw for caret removal if using a native caret.Michael Drake2013-02-111-1/+2
|
* Fix internal caret redraw bounds.Michael Drake2013-02-111-1/+1
|
* Fix delete-to-line-end.Michael Drake2013-02-111-1/+1
|
* Pass scale to textarea redraw.Michael Drake2013-02-111-1/+1
|
* Make delete line key enum value name less missleading. (Doesn't cut to ↵Michael Drake2013-02-114-5/+4
| | | | clipboard.)
* Move html textarea's selection colour chooser to plot_style.h, as it could ↵Michael Drake2013-02-112-7/+10
| | | | be used elsewhere.