summaryrefslogtreecommitdiff
path: root/desktop/selection.h
Commit message (Collapse)AuthorAgeFilesLines
* remove unused text selection interfaceVincent Sanders2020-05-231-10/+0
|
* make text selection context an opaque interfaceVincent Sanders2020-05-231-20/+2
|
* remove all direct access to selection structureVincent Sanders2020-05-231-20/+15
|
* remove unused is_html parameter to text selection routinesVincent Sanders2020-05-231-4/+2
|
* move content specific selection end to content handlersVincent Sanders2020-05-231-4/+2
|
* remove unused css length usage in selectionVincent Sanders2020-05-231-3/+1
|
* move content handler specific selection copying into handlersVincent Sanders2020-05-231-0/+9
|
* pass the browser window to selection click handlerVincent Sanders2020-05-201-1/+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-26/+141
| | | | | | removes forward declarations cleans up documentation comments in header removes unecessarily exported functions
* CSS utils: Handle new units in length conversion routines.Michael Drake2018-01-051-1/+6
| | | | | This causes a ripple effect of all the callsites needing information they didn't have.
* move mouse and pointer state header into public APIVincent Sanders2016-05-301-1/+1
|
* Remove redundant read-only test function.Michael Drake2013-05-021-5/+0
|
* Remove dead stuff from the selection_ api surface.Michael Drake2013-05-021-5/+1
|
* Remove unused selection_get_{start|end} APIs and their helper function.Michael Drake2013-04-291-3/+0
|
* Move browser_window struct to private header. Places that shouldn't include ↵Michael Drake2012-08-221-1/+2
| | | | | | | | | | | | | | | | | 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-8/+0
|
* Function to get copy of selection as string.Michael Drake2012-08-131-0/+1
|
* Add core function for copy to clipboard, so we don't need to expose ↵Michael Drake2012-08-021-0/+2
| | | | render/box.h internals to front ends.
* Remove bogus dependencies on box.hJohn Mark Bell2012-03-241-1/+1
| | | | svn path=/trunk/netsurf/; revision=13607
* Selection is now subordinate to html and text content types, and ↵Michael Drake2011-07-261-6/+4
| | | | | | disassociated from browser windows. Note: search currently uses hlcache_handle_get_content() to go from bw to h to get at c for search highlighting via selection. svn path=/trunk/netsurf/; revision=12626
* Fix selection for non-gui browser windows (iframes).Michael Drake2011-07-131-1/+3
| | | | | | | 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
* First pass at core iframes. Currently lacking scrollbars.Michael Drake2011-06-141-1/+4
| | | | svn path=/trunk/netsurf/; revision=12474
* Selection menu and save/download tweaksAdrian Lees2009-02-021-0/+1
| | | | svn path=/trunk/netsurf/; revision=6349
* Merged revisions 4282-4285,4288-4293,4297-4298,4307,4309-4313,4322,4324-4680 ↵Rob Kendrick2008-07-161-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | via svnmerge from svn://svn.netsurf-browser.org/branches/mikeL/netsurf ........ r4432 | mikeL | 2008-06-24 04:00:36 +0100 (Tue, 24 Jun 2008) | 1 line Drag events are now emited from where the press originated, instead of from where they became a drag ........ r4433 | mikeL | 2008-06-24 04:25:33 +0100 (Tue, 24 Jun 2008) | 1 line Added accelerator to 'Select All' ........ r4495 | mikeL | 2008-07-02 21:36:32 +0100 (Wed, 02 Jul 2008) | 1 line Selections are now deleted and replaced when a key is typed in a text area or text box. All input box behavior while a selection is active is now implemented (ex: pressing the right arrow key moves the caret to the end of the selection). Cut now works properly in both versions. Fixed discrepancy between where the caret was placed and selection began when starting a drag-select. Fixed bug with calculation of a selections end box. ........ r4496 | mikeL | 2008-07-02 22:11:24 +0100 (Wed, 02 Jul 2008) | 1 line Added support for cut in input boxes ........ r4497 | mikeL | 2008-07-02 22:21:35 +0100 (Wed, 02 Jul 2008) | 1 line Removed unused variables (Thanks tlsa) ........ r4498 | mikeL | 2008-07-02 23:30:30 +0100 (Wed, 02 Jul 2008) | 1 line Modified selection clearing behavior to allow for drag-saves ........ r4499 | mikeL | 2008-07-03 00:51:50 +0100 (Thu, 03 Jul 2008) | 1 line Fixed regression where it would take two clicks to place caret in an input (Thanks tlsa) ........ r4509 | mikeL | 2008-07-06 07:55:09 +0100 (Sun, 06 Jul 2008) | 1 line Basic download support implemented. Only downloading of text files works ........ r4510 | mikeL | 2008-07-06 18:55:31 +0100 (Sun, 06 Jul 2008) | 1 line Downloading of non-text files is now possible. Progress bar and size downloaded are now updated ........ r4511 | mikeL | 2008-07-06 20:46:00 +0100 (Sun, 06 Jul 2008) | 1 line Added downloads glade file ........ r4512 | mikeL | 2008-07-06 20:47:39 +0100 (Sun, 06 Jul 2008) | 1 line Downloads window now spawns in the center of the parent browser window ........ r4513 | mikeL | 2008-07-06 20:56:12 +0100 (Sun, 06 Jul 2008) | 1 line Fixed bug where backspace would be ignored if the selection began at the beginning on an input ........ r4514 | mikeL | 2008-07-06 21:26:45 +0100 (Sun, 06 Jul 2008) | 1 line Fixed compiler warnings by adding casts ........ r4516 | mikeL | 2008-07-06 21:32:41 +0100 (Sun, 06 Jul 2008) | 1 line Fixed initialization of size string, added initialization of progress ........ r4518 | mikeL | 2008-07-06 21:51:08 +0100 (Sun, 06 Jul 2008) | 1 line Added an option for short units (with space) to human_friendly_bytesize ........ r4519 | mikeL | 2008-07-06 21:52:05 +0100 (Sun, 06 Jul 2008) | 1 line Removed function size_to_string ........ r4520 | mikeL | 2008-07-06 22:03:11 +0100 (Sun, 06 Jul 2008) | 1 line Fixed pedantic error (kB instead of KB). Added missing necessary parameters to human_friendly_bytesize. Fixed incorrect bool types ........ r4521 | mikeL | 2008-07-06 22:08:15 +0100 (Sun, 06 Jul 2008) | 1 line Removed unnecessary parameter and units list from human_friendly_bytesize ........ r4522 | mikeL | 2008-07-06 22:57:03 +0100 (Sun, 06 Jul 2008) | 1 line Removed unnused variable ........ r4523 | mikeL | 2008-07-06 23:03:46 +0100 (Sun, 06 Jul 2008) | 1 line Fixed url parsing by replacing url_parse_filename with url_nice. Total size and size downloaded are now in human readable form. Speed is now calculated (roughly) ........ r4524 | mikeL | 2008-07-07 01:19:01 +0100 (Mon, 07 Jul 2008) | 1 line Added file overwrite confirmation. Changed speed to a double ........ r4546 | mikeL | 2008-07-09 17:21:43 +0100 (Wed, 09 Jul 2008) | 1 line Changed parameter of selection_get_end/start to a size_t instead of int and changed all offset variables to size_t as well ........ r4547 | mikeL | 2008-07-09 17:30:47 +0100 (Wed, 09 Jul 2008) | 1 line Added action buttons to the bottom toolbar. Added ability to clear selected (and completed) downloads with a framework for other actions. ........ r4556 | jmb | 2008-07-10 00:17:24 +0100 (Thu, 10 Jul 2008) | 3 lines A large bunch of tidying and general fixes to text input handling. Make selection code treat password fields as inputs, too. ........ r4557 | mikeL | 2008-07-10 00:24:46 +0100 (Thu, 10 Jul 2008) | 1 line Added functionality to gui_empty_clipboard and gui_start_selection (Thanks jmb) ........ r4573 | mikeL | 2008-07-10 16:33:27 +0100 (Thu, 10 Jul 2008) | 1 line Removed example download. Made the list store row aware of its download and vise versa. Added new way of handling actions from the dialog (e.g. buttons) which handles all rows in the selection. Added a few memory management function calls to clean up better ........ r4577 | mikeL | 2008-07-10 21:11:51 +0100 (Thu, 10 Jul 2008) | 1 line Download write channels now close properly. Added status column to the tree store which will change the progress bar text if a download is canceled or completed. Implemented cancel button functionality. ........ r4578 | mikeL | 2008-07-10 21:17:51 +0100 (Thu, 10 Jul 2008) | 1 line Speed is now displayed as '-' when 0 or download has stopped ........ r4580 | mikeL | 2008-07-11 02:10:57 +0100 (Fri, 11 Jul 2008) | 1 line Added two download related options (Download directory & Clear completed downloads) and a Downloads tab to the preferences dialog. Also moved the option to ask when overwriting files to Downloads tab. Added another option to the pre-download dialog, Save, which downloads the file immediately to your 'Download directory' ........ r4581 | mikeL | 2008-07-11 02:26:00 +0100 (Fri, 11 Jul 2008) | 1 line Rearranged pre-download dialog buttons to conform to the HIG ........ r4616 | mikeL | 2008-07-11 19:54:12 +0100 (Fri, 11 Jul 2008) | 1 line Limited download window updates to a user-defined variable that can be set in options (default is .5). Updates are now only done if the download window is visible. This greatly reduces the cpu usage. ........ r4617 | mikeL | 2008-07-11 20:07:48 +0100 (Fri, 11 Jul 2008) | 1 line Removed unnecessary update limit option (it is now fixed at .5) ........ r4629 | mikeL | 2008-07-13 04:21:07 +0100 (Sun, 13 Jul 2008) | 1 line Reorganized button sensitivity functions. Sensitivities are now updated when the selection changes as well as when a selected download's state changes. ........ r4635 | mikeL | 2008-07-13 17:00:05 +0100 (Sun, 13 Jul 2008) | 1 line Added error handling. Added word-wrap to the "info" cell renderer so that to keep everything under control. Fixed bug where downloads would always go to you default folder (missing breaks). ........ r4642 | mikeL | 2008-07-13 21:46:09 +0100 (Sun, 13 Jul 2008) | 1 line Added time remaining column. Fixed regression where the download info would be erased upon completion/cancelation. ........ r4655 | mikeL | 2008-07-14 23:20:33 +0100 (Mon, 14 Jul 2008) | 1 line Downloads dialog is now initialized in gtk_gui.c with no parent window. The parent windows are now set when a download is created (through an extra parameter in gui_download_window_create) and when nsgtk_download_show is called. When it is closed (when NS shuts down) all incomplete downloads are canceled (and the files deleted). Added a warning dialog when netsurf tries to close with incomplete downloads. Fixed bug where default save directory would initialize to NULL. ........ r4676 | mikeL | 2008-07-15 21:01:17 +0100 (Tue, 15 Jul 2008) | 1 line Downloads dialog is now initialized in gtk_gui.c with no parent window. The parent windows are now set when a download is created (through an extra parameter in gui_download_window_create) and when nsgtk_download_show is called. (This is the second half of the patch, last commit was only partial for some reason) ........ r4678 | mikeL | 2008-07-16 01:18:52 +0100 (Wed, 16 Jul 2008) | 1 line Addresses almost all of rjek and jmb's concerns, fixes most of the sloppiness that was present earlier. Downloads without a total_size are now handled correctly (thanks tlsa). Changes to the default download directly are now saved correctly. Billions of other small bugs fixed ........ svn path=/trunk/netsurf/; revision=4681
* Rewrite text export to use box tree. Improves output formatting. Simplify ↵Michael Drake2008-04-131-1/+1
| | | | | | selection saving. svn path=/trunk/netsurf/; revision=4094
* Tidy up.Michael Drake2008-03-311-1/+2
| | | | svn path=/trunk/netsurf/; revision=4064
* Fix formatting of copied or saved text selections.Michael Drake2008-03-311-3/+5
| | | | svn path=/trunk/netsurf/; revision=4063
* Selection adjustments always change the selection end when click is inside ↵Michael Drake2008-03-291-1/+0
| | | | | | the existing selection. svn path=/trunk/netsurf/; revision=4059
* Update all source code file headers to reflect GPL version 2 only and ↵Vincent Sanders2007-08-081-3/+14
| | | | | | contain appropriate licence text svn path=/trunk/netsurf/; revision=3486
* Remove the netsurf/ from the include paths and rationalise use of <> vs "" ↵Daniel Silverstone2007-05-301-2/+2
| | | | | | | | | | | | | | in includes NetSurf includes are now done with ""s and other system includes with <>s as C intended. The scandeps tool has been updated to only look for ""ed includes, and to verify that the files exist in the tree before adding them to the dependency lines. The depend rule has therefore been augmented to make sure the autogenerated files are built before it is run. This is untested under self-hosted RISC OS builds. All else tested and works. svn path=/trunk/netsurf/; revision=3307
* Update project URL.Michael Drake2006-11-271-1/+1
| | | | svn path=/trunk/netsurf/; revision=3073
* [project @ 2006-02-15 23:09:53 by adrianl]Adrian Lees2006-02-151-11/+10
| | | | | | Extend text selection, copying, saving and searching code to handle textplain contents; modified textplain code to accept other line terminators svn path=/import/netsurf/; revision=2081
* [project @ 2006-02-11 18:33:05 by adrianl]Adrian Lees2006-02-111-0/+3
| | | | | | Textarea/selection improvements and fixes svn path=/import/netsurf/; revision=2072
* [project @ 2006-02-06 00:07:18 by adrianl]Adrian Lees2006-02-061-4/+11
| | | | | | Drag-saving of text without pressing Ctrl svn path=/import/netsurf/; revision=2058
* [project @ 2005-07-24 18:35:57 by adrianl]Adrian Lees2005-07-241-0/+3
| | | | | | Find nearest text when selecting svn path=/import/netsurf/; revision=1823
* [project @ 2005-07-20 23:27:27 by adrianl]Adrian Lees2005-07-201-0/+4
| | | | | | 2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end) svn path=/import/netsurf/; revision=1812
* [project @ 2005-04-17 11:10:05 by adrianl]Adrian Lees2005-04-171-1/+4
| | | | | | explanatory comment svn path=/import/netsurf/; revision=1660
* [project @ 2005-04-17 03:30:35 by adrianl]Adrian Lees2005-04-171-0/+2
| | | | | | Search text highlighting in browser windows svn path=/import/netsurf/; revision=1657
* [project @ 2005-04-15 20:46:25 by adrianl]Adrian Lees2005-04-151-1/+1
| | | | | | Fix incorrect position at end of selection drag svn path=/import/netsurf/; revision=1645
* [project @ 2005-04-15 05:51:11 by adrianl]Adrian Lees2005-04-151-0/+76
Text selection svn path=/import/netsurf/; revision=1634