summaryrefslogtreecommitdiff
path: root/desktop/textarea.h
Commit message (Collapse)AuthorAgeFilesLines
* move desktop window header into public APIVincent Sanders2016-05-301-0/+4
|
* Desktop doxygen fixesVincent Sanders2014-11-091-2/+4
|
* remove unecessary utils/types.hVincent Sanders2014-11-021-1/+1
| | | | | | This cleans up this header and moves the functionality into more useful places while reducing the include complexity but only pulling in whats required.
* Change contextual content retrieval to browser features.Vincent Sanders2014-11-021-0/+2
| | | | | | | | | | | | | Update the API which allows frontends to acquire the page features (images, link urls or form elements) present at the given coordinates within a browser window. By making this an explicit browser_window API and using the browser.h header for the associated data structure with a more appropriate API naming the usage is much more obvious and contained. Additionally the link url is now passed around as a nsurl stopping it being converted from nsurl to text and back again several times.
* remove unecessary browser.h include from core headersVincent Sanders2014-10-171-3/+0
|
* Return message to client when textarea is modified.Michael Drake2014-01-041-1/+6
|
* Make textarea_get_caret private.Michael Drake2013-03-131-8/+0
|
* Fix pointer shape and status bar messages for textareas and their scrollbars.Michael Drake2013-03-111-3/+23
|
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-12/+31
| | | | | | | | | | | | | 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.
* Move selection clearing into a function, and expose it in the header file.Michael Drake2013-02-131-0/+8
|
* Scaled textarea rendering support. Ugly.Michael Drake2013-02-081-1/+2
|
* Support dropping text file on textarea widget.Michael Drake2013-02-081-0/+10
|
* Add scrollwheel support to textareas.Michael Drake2013-02-081-0/+11
|
* Add ta to documentation.Michael Drake2013-02-081-0/+3
|
* Tweak selection rendering. Adjusting layout doesn't emit redraw request. ↵Michael Drake2013-02-081-3/+3
| | | | Client must redraw when it wants it.
* Fix empty textarea reflow. Fix empty line (just \n) redraw. Add set layout ↵Michael Drake2013-02-061-1/+15
| | | | function to set size and padding.
* Pull flags out of textarea_setup.Michael Drake2013-02-021-3/+2
|
* Add support for password text inputs.Michael Drake2013-02-011-1/+2
| | | | | + Text display obscured. + Cut/Copy put the obscured version on the clipboard.
* Add move caret msg. Add flag to choose internal caret or caret move msgs.Michael Drake2013-01-301-4/+12
|
* Update textarea to inform client what it's doing with drags.Michael Drake2013-01-291-19/+33
| | | | | | | Now single callback for both redraw requests and drag reports. Update treeview to use new textarea API. Update Atari URL bar to use new textarea API. (Ignores drag reports, currently.) Minor textarea fixes.
* Implement most of the styling needed for HTML. Allow caret to be hidden.Michael Drake2013-01-131-1/+1
|
* Add background colour to textarea_redraw API. Add source comments.Michael Drake2013-01-121-25/+21
|
* Add textarea_setup struct to textarea_create API.Michael Drake2013-01-121-2/+21
|
* Remove wrong comments.Michael Drake2013-01-071-2/+0
|
* Put exported function comments in header.Michael Drake2013-01-051-0/+108
|
* Start rationalising textarea widget.Michael Drake2013-01-051-16/+20
|
* Committing textarea_set_dimensions patch from Ole Loots.John Mark Bell2011-11-211-1/+1
| | | | svn path=/trunk/netsurf/; revision=13160
* Remove plotter table global. Pass a redraw context around redraw functions. ↵Michael Drake2011-06-301-1/+1
| | | | | | Knockout could be handled better. Note: untested on most front ends. svn path=/trunk/netsurf/; revision=12543
* Constify.Michael Drake2011-02-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=11682
* Pass clip rect to textarea redraw as struct rect.Michael Drake2011-02-141-1/+1
| | | | svn path=/trunk/netsurf/; revision=11681
* Make textarea widget unaware of its global position. Credit: paulblokus.Michael Drake2009-08-131-3/+3
| | | | svn path=/trunk/netsurf/; revision=9274
* Merged revisions 8808,8862-8863 via svnmerge from Michael Drake2009-07-291-4/+3
| | | | | | | | | | | | | | | | | | | | | svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r8808 | paulblokus | 2009-07-26 22:52:53 +0100 (Sun, 26 Jul 2009) | 2 lines don't recalculate height already aviable ........ r8862 | paulblokus | 2009-07-28 21:39:06 +0100 (Tue, 28 Jul 2009) | 2 lines added css.c and css.h files which caused svn errors after using svnmerge ........ r8863 | paulblokus | 2009-07-28 21:43:53 +0100 (Tue, 28 Jul 2009) | 3 lines changed textarea redraw logic little fix of KEY_DELETE_LINE_START jandling ........ svn path=/trunk/netsurf/; revision=8886
* Merge LibCSS port to trunk.John Mark Bell2009-07-231-2/+2
| | | | svn path=/trunk/netsurf/; revision=8752
* Merged revisions 8663 via svnmerge from Michael Drake2009-07-221-0/+1
| | | | | | | | | | | | svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r8663 | paulblokus | 2009-07-22 00:46:29 +0100 (Wed, 22 Jul 2009) | 2 lines added getter for textarea dimensions ........ svn path=/trunk/netsurf/; revision=8695
* Merged revisions 8059-8359 via svnmerge from John Mark Bell2009-07-061-0/+1
| | | | | | | | | | | | svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r8337 | paulblokus | 2009-07-06 00:38:21 +0100 (Mon, 06 Jul 2009) | 2 lines added textarea_set_position ........ svn path=/trunk/netsurf/; revision=8360
* Merged revisions 7764-7977,7979-8058 via svnmerge from John Mark Bell2009-06-271-0/+58
svn://svn.netsurf-browser.org/branches/paulblokus/textinput ........ r7769 | paulblokus | 2009-06-11 22:26:16 +0100 (Thu, 11 Jun 2009) | 4 lines replace global history window with an empty window for future tests add the necessary files first lines ported ........ r7771 | paulblokus | 2009-06-11 23:51:46 +0100 (Thu, 11 Jun 2009) | 1 line more functions ........ r7772 | paulblokus | 2009-06-12 02:07:36 +0100 (Fri, 12 Jun 2009) | 1 line redraw working ........ r7777 | paulblokus | 2009-06-12 11:35:45 +0100 (Fri, 12 Jun 2009) | 3 lines plotter fix make use of the provided clipping rectangle ........ r7781 | paulblokus | 2009-06-12 16:26:51 +0100 (Fri, 12 Jun 2009) | 3 lines callbacks for taxtarea to request a [caret]redraw basic caret handling drawing ........ r7782 | paulblokus | 2009-06-12 22:36:50 +0100 (Fri, 12 Jun 2009) | 1 line single character insertion ........ r7783 | paulblokus | 2009-06-12 22:41:37 +0100 (Fri, 12 Jun 2009) | 1 line single character insertion ........ r7784 | paulblokus | 2009-06-12 23:55:40 +0100 (Fri, 12 Jun 2009) | 3 lines fixed caret clipping arrows, delete and backspace ........ r7812 | paulblokus | 2009-06-16 14:55:41 +0100 (Tue, 16 Jun 2009) | 1 line remove bug causing NS hang on \n in textarea ........ r7816 | paulblokus | 2009-06-16 16:29:48 +0100 (Tue, 16 Jun 2009) | 1 line Enter, Home, End keys ........ r7817 | paulblokus | 2009-06-16 16:56:16 +0100 (Tue, 16 Jun 2009) | 1 line Ctrl + Home/End ........ r7818 | paulblokus | 2009-06-16 17:16:51 +0100 (Tue, 16 Jun 2009) | 1 line redraw caret only on caret moves ........ r7821 | paulblokus | 2009-06-16 20:18:30 +0100 (Tue, 16 Jun 2009) | 1 line line end/start delete ........ r7822 | paulblokus | 2009-06-16 23:43:42 +0100 (Tue, 16 Jun 2009) | 1 line selection drawing + select all ........ r7823 | paulblokus | 2009-06-17 02:31:07 +0100 (Wed, 17 Jun 2009) | 3 lines auto scrolling on caret moves clear selection ........ r7845 | paulblokus | 2009-06-18 17:35:03 +0100 (Thu, 18 Jun 2009) | 1 line page up/down ........ r7846 | paulblokus | 2009-06-18 17:38:45 +0100 (Thu, 18 Jun 2009) | 1 line remove unnecessary fix ........ r7847 | paulblokus | 2009-06-18 18:00:16 +0100 (Thu, 18 Jun 2009) | 1 line clipping fixes ........ r7849 | paulblokus | 2009-06-18 18:21:02 +0100 (Thu, 18 Jun 2009) | 1 line scroll fix ........ r7850 | paulblokus | 2009-06-18 18:45:13 +0100 (Thu, 18 Jun 2009) | 1 line simplified redraw request logic ........ r7855 | paulblokus | 2009-06-18 19:56:24 +0100 (Thu, 18 Jun 2009) | 1 line front end passing mouse events ........ r7858 | paulblokus | 2009-06-18 22:18:39 +0100 (Thu, 18 Jun 2009) | 3 lines drag selection bug fixes ........ r7860 | paulblokus | 2009-06-18 23:32:39 +0100 (Thu, 18 Jun 2009) | 3 lines take selection into account on keypress of different types a few bugs fixed ........ r7876 | paulblokus | 2009-06-19 13:43:07 +0100 (Fri, 19 Jun 2009) | 3 lines pango nsfont_split fix a few textarea fixes ........ r7879 | paulblokus | 2009-06-19 17:33:10 +0100 (Fri, 19 Jun 2009) | 4 lines newline handling seems to work this way clear selection on mouse click more bug fixes ........ r7880 | paulblokus | 2009-06-19 18:16:27 +0100 (Fri, 19 Jun 2009) | 3 lines no caret option selection follows drag ........ r7883 | paulblokus | 2009-06-19 19:08:44 +0100 (Fri, 19 Jun 2009) | 3 lines o width selection bug fix caret at correct side of drag selection ........ r7918 | paulblokus | 2009-06-22 21:01:28 +0100 (Mon, 22 Jun 2009) | 3 lines fix caret positioning at line end CR removal in input methods ........ r7919 | paulblokus | 2009-06-22 21:34:39 +0100 (Mon, 22 Jun 2009) | 1 line fix crash on 0 length text ........ r7926 | paulblokus | 2009-06-23 09:53:56 +0100 (Tue, 23 Jun 2009) | 3 lines change LF into spaces for single line widget text normalisation at one place ........ r7931 | paulblokus | 2009-06-23 10:51:25 +0100 (Tue, 23 Jun 2009) | 1 line cleanup ........ r7933 | paulblokus | 2009-06-23 11:17:22 +0100 (Tue, 23 Jun 2009) | 1 line fix selection draw ........ r7935 | paulblokus | 2009-06-23 11:41:30 +0100 (Tue, 23 Jun 2009) | 1 line guard readonly ........ r7942 | paulblokus | 2009-06-24 08:19:39 +0100 (Wed, 24 Jun 2009) | 1 line applied changes suggested by jmb ........ r7943 | paulblokus | 2009-06-24 09:04:49 +0100 (Wed, 24 Jun 2009) | 1 line little fixes ........ r7945 | paulblokus | 2009-06-24 12:50:14 +0100 (Wed, 24 Jun 2009) | 1 line correct line length and wrapping ........ r7947 | paulblokus | 2009-06-24 14:32:36 +0100 (Wed, 24 Jun 2009) | 3 lines fixed page up/down broken in last commit changed logic for caret positioning on soft breaks ........ r7949 | paulblokus | 2009-06-24 16:31:42 +0100 (Wed, 24 Jun 2009) | 1 line remove temporary/test code ........ r7975 | paulblokus | 2009-06-25 16:00:46 +0100 (Thu, 25 Jun 2009) | 1 line changes suggested by jmb ........ r7976 | paulblokus | 2009-06-25 16:33:23 +0100 (Thu, 25 Jun 2009) | 1 line added ro_ prefix to RISC OS textarea code ........ svn path=/trunk/netsurf/; revision=8060