Commit Graph

78 Commits

Author SHA1 Message Date
Chris Young
49e524c1d8 Fix amiga/clipboard.c for new structure 2014-11-16 14:49:42 +00:00
Chris Young
8299f923f8 Fix warnings, remove unused code. 2014-11-09 00:48:04 +00:00
Vincent Sanders
56a5ad11f3 remove unecessary include of browser.h in amiga frontend 2014-10-17 23:18:58 +01:00
Vincent Sanders
0b64df140c Update amiga frontend for split operation table header changes 2014-10-16 22:33:44 +01:00
Chris Young
5bb5e2667d Change the scope of some variables picked up by cppcheck, minor reformatting 2014-04-05 23:34:51 +01:00
Chris Young
65adc17121 Fix a bunch of cppcheck unused/unreadVariable warnings 2014-04-05 20:26:40 +01:00
Vincent Sanders
886a3106db move utf8 local conversion operations to table 2014-02-01 22:17:36 +00:00
Vincent Sanders
654da2ffb5 move utf8 conversion routines to use nserror instead of their own error enum 2014-01-28 21:40:13 +00:00
Vincent Sanders
ba4788108b fixup amiga build errors 2014-01-16 14:43:48 +00:00
Vincent Sanders
d18c8ed452 move teh final optional window operations into the table 2014-01-13 22:54:19 +00:00
Vincent Sanders
f29306cc9a improve gtk source save to use gtk overwrite protection feature coverity 1109873 2013-10-25 21:25:56 +01:00
Chris Young
ade86e496e Replace AllocVec with AllocVecTags. Remove some instances of MEMF_CLEAR where it is not necessary. 2013-10-12 13:11:13 +01:00
Vincent Sanders
a92e5930ff fixup issues with new options API merge 2013-05-28 16:44:46 +01:00
Vincent Sanders
ee6e6eec05 move options include 2013-05-28 14:16:10 +01:00
Michael Drake
631265ef6b Front ends have no reason to include desktop/selection.h now. 2013-05-10 12:16:05 +01:00
Chris Young
efc0fba8ef avoid potential crah on exit 2013-04-09 00:02:11 +01:00
Chris Young
5d34d48a4b Remove obsolete ami_selection_to_text 2013-02-22 19:06:13 +00:00
Chris Young
4d9b674997 Remove struct selection from ami_file_save and anywhere that feeds into it 2013-02-22 19:02:58 +00:00
Michael Drake
67c6046fb1 Update for new core selection handling. 2013-02-22 13:37:11 +00:00
Chris Young
3269333658 Fix reading of clipboard 2013-01-10 00:00:51 +00:00
Chris Young
6e4c82265c Get CSET using PropChunk rather than StopChunk 2013-01-09 23:42:14 +00:00
Chris Young
6b4ab8141f Remove unused variables 2013-01-09 20:20:54 +00:00
Chris Young
f15f19f788 Convert to UTF-8 before doing length calculations (untested) 2013-01-09 18:41:53 +00:00
Chris Young
7ae27476a7 Re-implement reading the clipboard using CollectionChunk; this removes the need for an initial UTF8 chunk scan and allows the chunks to be collated before sending back to the core. Untested and length calculations ignore charset conversion. 2013-01-08 23:44:13 +00:00
Chris Young
5aae2c3ed0 Fix drag selection 2013-01-08 23:01:57 +00:00
Chris Young
d1dabbb0e2 remove gui_copy_to_clipbaord call - this needs fixing 2013-01-08 20:21:16 +00:00
Chris Young
78f3f53622 re-enable ami_drag_selection 2013-01-08 20:15:27 +00:00
Chris Young
5a43a5a1a9 fix typo 2013-01-08 20:07:46 +00:00
Chris Young
e408c9ea43 Update copy to new API (untested), pasting needs work, ami_drag_selection needs thought. 2013-01-08 19:58:44 +00:00
Chris Young
41ed8e3da3 Pass UTF-8 text length for conversion 2012-11-10 16:05:48 +00:00
Michael Drake
45736594a1 Get presence of text input cleanly. 2012-08-20 22:03:59 +01:00
Michael Drake
4d6ada8c9a Use selection_get_copy instead of selection_traverse. Note: untested. 2012-08-13 17:42:23 +01:00
Michael Drake
d106091d6e Pass font plot style out to front end clipboard append function. 2012-08-13 14:43:04 +01:00
Chris Young
2694a98f81 Remove any forcing of UTF-8 in the clipboard, as internally NetSurf will use the UTF8 chunks now. 2012-08-03 21:04:38 +01:00
Chris Young
3a00eca535 Clear the StopChunks before scanning for the UTF8 chunk, otherwise we risk thinking a CHRS chunk is a UTF8 chunk. 2012-08-03 21:02:29 +01:00
Chris Young
0b0c6a4f6a Support pasting the UTF8 chunk of clipboard IFF FTXT when present, instead of CHRS 2012-08-03 19:19:04 +01:00
Chris Young
c4a4126041 Also write a (duplicate) UTF8 chunk, irregardless of the "UTF-8 clipboard" option. We don't support pasting UTF8 chunks yet. 2012-08-03 18:33:49 +01:00
Chris Young
ca6be72dff Remove extraneous functionage 2012-08-03 18:28:07 +01:00
Chris Young
cc3b9435ea Use core clipboard copy function. ami_selection_to_text() will need fixing as it still needs selection_traverse() 2012-08-03 18:19:54 +01:00
Chris Young
18db6826f1 Move Push- and PopChunk out of the selection_traversal function 2012-08-03 18:15:16 +01:00
Chris Young
307df869c3 fix build
svn path=/trunk/netsurf/; revision=13729
2012-03-26 20:25:10 +00:00
Vincent Sanders
1490b52a6b NetSurf options rework (a=vince r=daniels,jmb)
svn path=/trunk/netsurf/; revision=13548
2012-03-22 09:34:34 +00:00
Chris Young
0410b0d640 Don't break the clipboard when copying 'nothing'.
Don't touch clipboard contents when copying 'nothing'.

svn path=/trunk/netsurf/; revision=13442
2012-02-12 17:56:25 +00:00
Chris Young
f3e0dd578e 8*4=32, NOT 24. Copied UTF-8 text will now paste correctly into RA-OWB.
svn path=/trunk/netsurf/; revision=13405
2012-01-15 16:37:36 +00:00
Chris Young
676cb962ce Accept codeset 1 (undefined) as 106 (UTF-8) when pasting from the
clipboard.  This should allow us to at least paste from broken ports of
MorphOS apps.

svn path=/trunk/netsurf/; revision=13404
2012-01-15 15:58:26 +00:00
John Mark Bell
f2993e6ed0 content_get_url -> hlcache_handle_get_url, content__get_url -> content_get_url
svn path=/trunk/netsurf/; revision=13236
2011-12-04 14:55:23 +00:00
Chris Young
ce37fdb128 Support dragging from global history to hotlist
svn path=/trunk/netsurf/; revision=13219
2011-12-02 13:24:40 +00:00
Michael Drake
e52aaecd7a Fix up for nsurl changes. Untested.
svn path=/trunk/netsurf/; revision=12928
2011-10-03 16:41:55 +00:00
Michael Drake
ffeb8bc389 Delete some dead frames stuff.
svn path=/trunk/netsurf/; revision=12723
2011-09-05 09:53:54 +00:00
Chris Young
39e5c04da7 Fix warnings
svn path=/trunk/netsurf/; revision=12616
2011-07-23 14:06:13 +00:00