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
Michael Drake
3651831963
Fix up Amiga front end.
...
svn path=/trunk/netsurf/; revision=12601
2011-07-13 13:38:38 +00:00
Chris Young
dd99b8a461
avoid crash
...
svn path=/trunk/netsurf/; revision=12481
2011-06-15 17:40:12 +00:00
John Mark Bell
e71691bae8
Merge branches/jmb/content-factory to trunk
...
svn path=/trunk/netsurf/; revision=12283
2011-05-06 20:40:09 +00:00
Chris Young
003f3537c6
Ensure selection drags to NetSurf text boxes are always UTF-8
...
svn path=/trunk/netsurf/; revision=12263
2011-04-30 11:21:14 +00:00
Chris Young
9f9436bf40
Ensure drags to string gadgets are in local charset
...
svn path=/trunk/netsurf/; revision=12262
2011-04-30 11:11:34 +00:00
Chris Young
ebd0145eaf
Convert _from_ UTF-8 and translate the converted string, not the original
...
svn path=/trunk/netsurf/; revision=12261
2011-04-30 11:05:47 +00:00
Chris Young
7fd6597468
Avoid crash if conversion to local charset fails.
...
Attempt to convert nbsp to normal spaces when converting to local charset for
clipboard
svn path=/trunk/netsurf/; revision=12260
2011-04-30 10:54:02 +00:00
Chris Young
1518543c22
Fix DSI when drag saving
...
Allow selection drags to URL and search gadgets
svn path=/trunk/netsurf/; revision=12259
2011-04-29 18:15:20 +00:00
John Mark Bell
de688b59e1
Fix text selection
...
svn path=/trunk/netsurf/; revision=11927
2011-03-06 18:04:13 +00:00
John Mark Bell
86c2948eb4
Fix copying text/plain to clipboard
...
svn path=/trunk/netsurf/; revision=11636
2011-02-09 20:31:34 +00:00
Chris Young
2d54d7f798
Pass space down to ami_add_to_clipboard
...
svn path=/trunk/netsurf/; revision=11116
2010-12-20 19:06:57 +00:00
Chris Young
078ff2fd51
Move drag icon stuff to own file; fix warnings
...
svn path=/trunk/netsurf/; revision=10922
2010-10-30 11:20:53 +00:00
Chris Young
00434615ed
Selection drags now use clipboard unit 1 instead of 0. This stops the user's
...
clipboard being unexpectedly changed.
svn path=/trunk/netsurf/; revision=10905
2010-10-24 18:07:11 +00:00
Chris Young
c46e0e6015
Ensure kiosk_mode and frame windows are (a) handled the same wrt menus and (b) not
...
trying to manipulate non-existant menus
svn path=/trunk/netsurf/; revision=10855
2010-09-28 18:03:03 +00:00
Chris Young
acf46e01a8
Allow text selection dragging across (NetSurf) windows. DisplayBeep if it is dropped
...
somewhere invalid.
svn path=/trunk/netsurf/; revision=10665
2010-07-27 21:41:21 +00:00
Chris Young
da25adcdfb
ami_easy_clipboard just got easier, and a buffer overrun/memory leak got fixed
...
svn path=/trunk/netsurf/; revision=10662
2010-07-24 20:18:56 +00:00
Chris Young
f7e3254798
Fix menu disable on tab switch and Cut
...
svn path=/trunk/netsurf/; revision=10661
2010-07-24 19:57:27 +00:00
Chris Young
004aee8281
Amiga: Add "cut" option; make cut/copy/paste menus context sensitive; allow dragging
...
selections within NetSurf window to text fields (does not work across windows).
todo: switching tabs will reset cut/copy/paste menus to initial state; cut option is
putting something on the clipboard which causes a crash when pasting it back
svn path=/trunk/netsurf/; revision=10660
2010-07-24 16:39:37 +00:00
Chris Young
77aa68dde5
Purge parserutils
...
svn path=/trunk/netsurf/; revision=10547
2010-05-03 20:49:15 +00:00
Chris Young
5bb5cedec5
Changes required for new-cache
...
svn path=/trunk/netsurf/; revision=10186
2010-03-28 15:51:05 +00:00
Chris Young
1f90347f9b
Missing WITH_NS_SVG #ifdef
...
svn path=/trunk/netsurf/; revision=7524
2009-05-19 07:30:00 +00:00
Chris Young
6f120338ed
Add ability to copy SVGs to the clipboard and save in IFF DR2D format.
...
svn path=/trunk/netsurf/; revision=7523
2009-05-19 07:23:56 +00:00
Chris Young
7a2fb9222a
IFF save now works - needed an unexpected NULL as the first parameter to DTM_WRITE
...
DTA_ObjName is now the URL, as this is the only field that is being written by
picture.datatype (bug in picture.datatype?). ObjAuthor and ObjAnnotation left in as
the DTM_COPY method might be able to use them.
svn path=/trunk/netsurf/; revision=7518
2009-05-16 17:30:25 +00:00
Chris Young
08d0c16822
Copy and save images as IFF ILBM attempt 2.
...
Copy now works, saving just creates an empty file - probably something wrong with my
DTM_WRITE call.
svn path=/trunk/netsurf/; revision=7517
2009-05-16 17:04:28 +00:00
Chris Young
478d953ea5
Copy and save images in IFF ILBM format. Currently, the data in the BODY chunk is
...
wrong.
svn path=/trunk/netsurf/; revision=7516
2009-05-16 14:50:30 +00:00
Chris Young
5b2d816d86
Move gui_drag_save_selection() into the same file as gui_drag_save_object() as they
...
will have common code when implemented.
svn path=/trunk/netsurf/; revision=6859
2009-03-24 18:53:22 +00:00
Chris Young
cae0d4a43b
Change memory allocations to MEMF_PRIVATE to enable paging on OS4.1.
...
svn path=/trunk/netsurf/; revision=5649
2008-11-02 00:21:49 +00:00
Chris Young
30b09368e7
Track the current/last used browser window (at the moment, just for ARexx).
...
Extended ARexx port. First two are primarily for openurl.library:
* OPEN now takes a parameter NEW=NEWWINDOW/S to open the URL in a new window (default
is
to open in the current browser window)
* TOFRONT will bring NetSurf's screen to the front (this may be extended in the future
to bring the current browser window to the front - which might be better for when it
is running on the WB screen)
Next is to make it easy to support getvideo.rexx:
* GETURL returns the URL of the current browser window in RESULT
GetVideo.nsrx script will get the current URL and pass it to rexx:getvideo.rexx
Currently there is no way to call ARexx scripts directly from NetSurf, or any way to
specify whether to save, play or saveplay the video without editing the script.
[clipboard.c/clipboard.h were missing from previous commit]
svn path=/trunk/netsurf/; revision=5631
2008-10-25 23:22:34 +00:00