summaryrefslogtreecommitdiff
path: root/desktop/selection.c
Commit message (Collapse)AuthorAgeFilesLines
* improve desktop text search header usageVincent Sanders2020-06-241-0/+1
| | | | | | | | | remove unecessary inclusion of desktop search header in content header which has knock on effect of not having ctype or string system headers dragged in unecessarily. Futher this highlighted use of ctype API where internal ascii processing ought to be used.
* remove unused text selection interfaceVincent Sanders2020-05-231-14/+5
|
* make text selection context an opaque interfaceVincent Sanders2020-05-231-1/+20
|
* remove all direct access to selection structureVincent Sanders2020-05-231-26/+36
|
* remove unused is_html parameter to text selection routinesVincent Sanders2020-05-231-17/+8
|
* move content specific selection end to content handlersVincent Sanders2020-05-231-47/+6
|
* remove unused css length usage in selectionVincent Sanders2020-05-231-10/+1
|
* move content handler specific selection copying into handlersVincent Sanders2020-05-231-301/+13
|
* split selection redraw into content handler specific implementationsVincent Sanders2020-05-231-88/+8
|
* remove unesessary construction of font plot stype in selection redrawVincent Sanders2020-05-211-3/+0
|
* simple reformat no code changesVincent Sanders2020-05-211-175/+268
|
* pass the browser window to selection click handlerVincent Sanders2020-05-201-16/+2
| | | | | | this means the content handlers do not have to provide a separate method to extract their browser window and it can simply be passed in.
* cleanup selection code formatting and documentationVincent Sanders2020-05-201-437/+368
| | | | | | removes forward declarations cleans up documentation comments in header removes unecessarily exported functions
* improve html content handler private headersVincent Sanders2020-05-021-1/+1
|
* split html box processing codeVincent Sanders2020-04-291-0/+1
| | | | | | | reduce the module size of the html box handling code by splitting into smaller sections. No functional code change.
* add miscellaneous event to browser window callback tableVincent Sanders2019-08-201-2/+2
| | | | | | | | | | | | extend the browser window callback table with a miscallaneous event entry. This is used to replace all browser window callbacks which take no parameters. This reduces the API surface from seven separate calls to a single call with an enumeration which may be readily extended. The initial implementation in the frontends simply calls the original implementations to reduce scope for errors.
* split browser and browser_window operationsVincent Sanders2019-08-011-0/+1
|
* move html and text content handlers where they belongVincent Sanders2018-05-101-4/+4
|
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-051-24/+43
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* move the public form APIVincent Sanders2016-06-141-1/+1
|
* move plotters header into public APIVincent Sanders2016-05-301-1/+1
|
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* move clipboard header into public APIVincent Sanders2016-05-301-1/+1
|
* move window header into public APIVincent Sanders2016-05-301-1/+1
|
* Doxygen cleanups and documentation additionsVincent Sanders2014-11-101-9/+11
|
* remove unecessary browser.h include from core headersVincent Sanders2014-10-171-1/+1
|
* Update the core to use the split operations table headersVincent Sanders2014-10-161-1/+3
| | | | 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-9/+9
| | | | | | | | | | | | 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
|
* split browser gui operations upVincent Sanders2014-01-151-1/+1
|
* complete move of remaining core gui functionsVincent Sanders2014-01-151-1/+1
|
* confine the gui table acessor to the gui factory headerVincent Sanders2014-01-141-0/+1
|
* move teh final optional window operations into the tableVincent Sanders2014-01-131-3/+3
|
* 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-101-2/+3
| | | | it now.
* Remove redundant read-only test function.Michael Drake2013-05-021-13/+0
|
* Remove dead stuff from the selection_ api surface.Michael Drake2013-05-021-27/+1
|
* Remove unused selection_get_{start|end} APIs and their helper function.Michael Drake2013-04-291-68/+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
|
* Remove redundant code.John-Mark Bell2013-02-221-8/+0
|
* A load of refactoring of how content selection and input work.Michael Drake2013-02-221-126/+2
| | | | | | | | | | | | | 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.
* Remove input subtree special numberspacing.Michael Drake2013-02-071-51/+13
|
* Update to use new front end clipboard functions. Now we build the buffer ↵Michael Drake2013-01-081-71/+88
| | | | from each individual text box in the core, instead of in each front end. Styles for text runs are generated in the HTML case.
* Prevent NULL pointer access with plain text contentsChris Young2012-11-101-1/+1
|
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-0/+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
* Make selection_traverse internal to desktop/selection.c.Michael Drake2012-08-131-2/+8
|
* Tolerate NULL selection context in selection_get_copy.Michael Drake2012-08-131-1/+1
|
* Fix selection string struct init.Michael Drake2012-08-131-1/+5
|