summaryrefslogtreecommitdiff
path: root/desktop/textinput.c
Commit message (Collapse)AuthorAgeFilesLines
* move key press enums and operations to their own headerVincent Sanders2016-07-011-3/+4
|
* move the public form APIVincent Sanders2016-06-141-1/+1
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* move window header into public APIVincent Sanders2016-05-301-1/+1
|
* improve documentation in headersVincent Sanders2014-10-191-24/+4
|
* remove unecessary browser.h include from core headersVincent Sanders2014-10-171-0/+1
|
* Update the core to use the split operations table headersVincent Sanders2014-10-161-4/+2
| | | | Second in the series to decouple the core API usage from the frontends.
* Put the font operations table alongside all the other core APIVincent Sanders2014-10-131-10/+10
| | | | | | | | | | | | The netsurf core is driven from numerous operation tables most of which are now set through a common netsurf_register() interface. The font and plotting interfaces are currently separate and unlike all the other operation tables are modified for differing contexts. This change moves the font operations alongside all the other operations table and remove unnecessary interaction with the renderers font internals. Further this also removes the need for css internals to be visible in frontends.
* clean up desktop/gui.h include usageVincent Sanders2014-01-291-1/+0
|
* confine the gui table acessor to the gui factory headerVincent Sanders2014-01-141-0/+1
|
* move four more optional window operations to tableVincent Sanders2014-01-131-3/+4
|
* Fix NULL check after deref.Michael Drake2013-10-231-1/+2
|
* Pass caret clip rect out to front ends. (Nothing actually using them yet.)Michael Drake2013-03-051-3/+4
|
* Propagate native caret clip rect through core.Michael Drake2013-03-051-11/+19
|
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-68/+12
| | | | | | | | | | | | | 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.
* First pass at getting html forms to use textarea widget.Michael Drake2013-02-061-14/+11
| | | | | (Input element types text & password, and textarea element.) Can edit and submit forms, but there are loads of issues.
* Redo html textinput for new front end clipboard API. This doesn't affect ↵Michael Drake2013-01-081-1/+3
| | | | the textinput code's brokenness.
* For now selection clear and selection copy are handled by the bw. Select ↵Michael Drake2013-01-031-11/+14
| | | | | | all is only handled by the bw if nothing has claimed input. This stops the crash when select all is used in textarea. TODO: The special keys should not be handled by the bw, they should be handled by the content with focus.
* Ensure selection related keypresses go to whatever has claimed input.Michael Drake2013-01-031-6/+7
|
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-1/+1
| | | | | | | | | | | | | | | | | it do, such as front end code. Frontends that have been updated to build: framebuffer gtk monkey riscos TODO: amiga atari beos cocoa windows
* Include dom/dom.h where it might be neededDaniel Silverstone2012-03-241-0/+1
| | | | svn path=/trunk/netsurf/; revision=13625
* Big wodge of internal browser window scroll fixes, or "rationalisation of ↵Michael Drake2011-12-021-9/+2
| | | | | | browser window scrollbar handling". svn path=/trunk/netsurf/; revision=13221
* Better caret positioning in scrolled frames.Michael Drake2011-09-211-2/+9
| | | | svn path=/trunk/netsurf/; revision=12851
* Ensure root bw and gui window before asking front end to remove caret.Michael Drake2011-09-151-1/+2
| | | | svn path=/trunk/netsurf/; revision=12795
* Stop Esc/Ctrl-[ crashing when browser_window selection is NULLChris Young2011-09-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=12786
* Fix selection for non-gui browser windows (iframes).Michael Drake2011-07-131-12/+8
| | | | | | | Selection no longer uses current_redraw_browser. Fix long-standing selection bugs on platforms that use action on release behaviour. svn path=/trunk/netsurf/; revision=12598
* Scale caret height in coreMichael Drake2011-07-111-1/+1
| | | | svn path=/trunk/netsurf/; revision=12596
* Clean up text input code. Now desktop/textinput.{c|h} is concerend with ↵Michael Drake2011-07-071-2114/+11
| | | | | | browser windows only. HTML content specific stuff moved to render/textinput.{c|h} and disassociated from browser windows. svn path=/trunk/netsurf/; revision=12587
* Reduce forward declaration of functions.Michael Drake2011-07-071-1183/+1158
| | | | svn path=/trunk/netsurf/; revision=12586
* Use prescribed method for discovering browser window position.Michael Drake2011-07-061-15/+4
| | | | svn path=/trunk/netsurf/; revision=12572
* Set focus browser_window in place_caret.Michael Drake2011-07-041-0/+3
| | | | svn path=/trunk/netsurf/; revision=12570
* HTML contents manage box scrollbars, rather than browser_windows.Michael Drake2011-06-271-5/+8
| | | | svn path=/trunk/netsurf/; revision=12519
* Fix paste in form inputs in iframes.Michael Drake2011-06-151-2/+3
| | | | svn path=/trunk/netsurf/; revision=12479
* First pass at core iframes. Currently lacking scrollbars.Michael Drake2011-06-141-10/+43
| | | | svn path=/trunk/netsurf/; revision=12474
* s/scroll/scrollbar/ and improve scrollbar widget comments.Michael Drake2011-05-091-33/+34
| | | | svn path=/trunk/netsurf/; revision=12363
* Merge branches/jmb/content-factory to trunkJohn Mark Bell2011-05-061-1/+1
| | | | svn path=/trunk/netsurf/; revision=12283
* Fix build with NDEBUG definedJohn Mark Bell2011-04-031-2/+9
| | | | svn path=/trunk/netsurf/; revision=12154
* Move clone to box flags.Michael Drake2011-03-021-1/+1
| | | | svn path=/trunk/netsurf/; revision=11890
* Cache space widths.Michael Drake2011-03-011-22/+25
| | | | svn path=/trunk/netsurf/; revision=11877
* Avoid unsafe cast of int* to size_t*John Mark Bell2011-02-011-3/+6
| | | | svn path=/trunk/netsurf/; revision=11597
* Update to new libcss API for simultanious selection for base element and its ↵Michael Drake2011-01-051-2/+2
| | | | | | pseudo elements. svn path=/trunk/netsurf/; revision=11215
* + Refactor input handling from browser window code into contentMichael Drake2010-06-041-6/+7
| | | | | | | | | | | | | handlers. + Disentangle all box tree manipulation from browser window code and put it where it belongs. + Move other content specific and other irrelevant code from browser window handling to appropriate places. + Put mouse state enum in new mouse header, since it's not just used by browser window code, and it is used by treeview windows on the treeview branch. svn path=/trunk/netsurf/; revision=10561
* First step to fixing memory leaks -- Box model no longer leaks computed stylesDaniel Silverstone2010-04-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=10500
* Fix textarea crash.John Mark Bell2010-04-071-5/+21
| | | | | | I cannot express just how much I hate the necessity of this change: browser windows (and other code in desktop/) should stop poking around inside content objects svn path=/trunk/netsurf/; revision=10258
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-2/+5
| | | | svn path=/trunk/netsurf/; revision=10180
* Only try to reset scroll position on textarea wrap if there is a scrollbar.Michael Drake2009-08-171-83/+85
| | | | svn path=/trunk/netsurf/; revision=9335
* Merge from Paul Blokus' selectscroll branch. Fixes text input scrollbar ↵Michael Drake2009-08-141-0/+3
| | | | | | behaviour. svn path=/trunk/netsurf/; revision=9306
* Merge Paul Blokus' selectscroll branch. Adds core select menu widget for ↵Michael Drake2009-08-141-34/+49
| | | | | | forms and core scrollbar widget. svn path=/trunk/netsurf/; revision=9289
* Refactor text plotter and other font functions to remove dependency on CSS.John Mark Bell2009-07-211-11/+32
| | | | svn path=/trunk/netsurf/; revision=8641
* Lose more redundancyJohn Mark Bell2009-05-281-1/+0
| | | | svn path=/trunk/netsurf/; revision=7613