Commit Graph

39 Commits

Author SHA1 Message Date
scc%mozilla.org
7b06841b03 landing string branch; see bug #73786
git-svn-id: svn://10.0.0.236/trunk@91049 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-02 19:40:52 +00:00
sean%beatnik.com
af30194bfc fix for bug 73349: internet shortcuts created improperly. r=pinkerton sr=blizzard
git-svn-id: svn://10.0.0.236/trunk@90950 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-31 05:04:57 +00:00
pinkerton%netscape.com
9c95bb0dca fix ownership model when copying images. caller needs to own bits, not the helper class. r=jag/sr=hyatt. bug# 73517
git-svn-id: svn://10.0.0.236/trunk@90481 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-27 06:02:54 +00:00
disttsc%bart.nl
da14e5d6d5 Change implicit conversion from
|NS_ConvertUTF8toUCS2|
|NS_ConvertASCIItoUCS2|
|NS_ConvertUCS2toUTF8|
|ns[C]LiteralString|
|ns[C]PromiseFlatString|

to explicit |get()|.

Add |get()| to |nsString|, remove implicit conversion operators where
possible, add NS_WARNING where not (yet!).

Bug=53057, r=alecf, sr=scc


git-svn-id: svn://10.0.0.236/trunk@88951 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 08:53:58 +00:00
pinkerton%netscape.com
f09007a9e1 Support for CF_HTML flavor when copying data to other win32 apps.
r=saari/sr=hyatt. bug#69363


git-svn-id: svn://10.0.0.236/trunk@87507 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-20 23:27:57 +00:00
pinkerton%netscape.com
37385c44d0 Support for image copying, using nsImageClipboard helper object. r=saari, sr=sfraser.
git-svn-id: svn://10.0.0.236/trunk@85334 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-23 01:09:58 +00:00
rods%netscape.com
5ed9424e7c Removing unneeded code
Bug 52279 r=kmcclusk sr=hyatt


git-svn-id: svn://10.0.0.236/trunk@84724 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 14:34:00 +00:00
warren%netscape.com
a8b9664a8c Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc.
git-svn-id: svn://10.0.0.236/trunk@81967 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 22:17:53 +00:00
warren%netscape.com
4966ad1519 Removing more extra 0 params from NS_IMPL_LOG macro
git-svn-id: svn://10.0.0.236/trunk@81922 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-28 02:24:24 +00:00
warren%netscape.com
c6b67eceeb Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson
git-svn-id: svn://10.0.0.236/trunk@81885 18797224-902f-48f8-a5cc-f745e15eee43
2000-10-27 22:43:51 +00:00
pinkerton%netscape.com
65a9162688 Fix for 48291, r=saari. For internal formats that are not CF_TEXT, eg text/html,
treat them like they are unicode and do the fiddling required for win98.


git-svn-id: svn://10.0.0.236/trunk@76536 18797224-902f-48f8-a5cc-f745e15eee43
2000-08-17 04:19:14 +00:00
pinkerton%netscape.com
e4dc33ad8c nsAllocator->nsMemory. doh!
git-svn-id: svn://10.0.0.236/trunk@71865 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 04:03:58 +00:00
pinkerton%netscape.com
7a238f0a6b Use title stashed in x-moz-url data flavor as the title of the internet
shortcut created. r=scc, bug# 37410.


git-svn-id: svn://10.0.0.236/trunk@71862 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-09 03:21:01 +00:00
pinkerton%netscape.com
f4fc2d6490 OOps, left the debug code turned on. Flipping the ifdef.
git-svn-id: svn://10.0.0.236/trunk@71691 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-07 02:11:40 +00:00
pinkerton%netscape.com
8c304d98a5 Dragging links to desktop creates internet shortcut files. bug#37410, r=pavlov
git-svn-id: svn://10.0.0.236/trunk@71493 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-05 00:34:11 +00:00
warren%netscape.com
cc5d426fbe Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433
git-svn-id: svn://10.0.0.236/trunk@71450 18797224-902f-48f8-a5cc-f745e15eee43
2000-06-03 09:46:12 +00:00
pinkerton%netscape.com
ed98b59942 First stab at creating an internet shortcut when dragging a link to desktop.
git-svn-id: svn://10.0.0.236/trunk@67933 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-02 22:39:08 +00:00
mjudge%netscape.com
3cd9a051da making string conversions explicit. scc
git-svn-id: svn://10.0.0.236/trunk@67161 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-26 01:13:55 +00:00
pinkerton%netscape.com
c3f43e5f26 native clipboard/d&d impls now handle text/plain internally, always providing text/unicode to a client. fixes bugs 8427 and 24010. r=scc.
git-svn-id: svn://10.0.0.236/trunk@59409 18797224-902f-48f8-a5cc-f745e15eee43
2000-02-01 22:26:21 +00:00
pinkerton%netscape.com
a1c08d261d Make it such that clients of the clipboard/d&d only need to work with the text/unicode flavor and not text/plain. The conversion to text/plain for the native OS (in the correct charset encoding for the platform) is now done w/in the native clipboard/d&d implementations.
git-svn-id: svn://10.0.0.236/trunk@59199 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-29 20:24:50 +00:00
pinkerton%netscape.com
2f60faf19d Removed a bunch of duplicated code. r=saari
git-svn-id: svn://10.0.0.236/trunk@55105 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-02 23:17:31 +00:00
dmose%mozilla.org
92d791b7b0 updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org
git-svn-id: svn://10.0.0.236/trunk@52908 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-06 03:40:37 +00:00
pinkerton%netscape.com
3490b579c3 Cleaned up the code and fixed a bug where data was not being null terminated on winNT.
partial fix for bug #16267 (r=hyatt/pav).


git-svn-id: svn://10.0.0.236/trunk@51873 18797224-902f-48f8-a5cc-f745e15eee43
1999-10-26 20:31:54 +00:00
pinkerton%netscape.com
4a10fa6d67 another attempt to stop copying data so much.
git-svn-id: svn://10.0.0.236/trunk@46026 18797224-902f-48f8-a5cc-f745e15eee43
1999-09-04 20:04:26 +00:00
pinkerton%netscape.com
7e06140435 dumb compiler things.
git-svn-id: svn://10.0.0.236/trunk@44479 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 09:47:32 +00:00
pinkerton%netscape.com
6eb3a21da9 IDL-ifying nsITransferable, nsIDragService, nsIDragSession, nsIFormatConverter.
git-svn-id: svn://10.0.0.236/trunk@44476 18797224-902f-48f8-a5cc-f745e15eee43
1999-08-25 08:35:06 +00:00
rods%netscape.com
0a22289b62 Now deletes memory returned from the transferable
git-svn-id: svn://10.0.0.236/trunk@40323 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-20 21:02:02 +00:00
rods%netscape.com
6bea76facf Turned off debuggin
git-svn-id: svn://10.0.0.236/trunk@38918 18797224-902f-48f8-a5cc-f745e15eee43
1999-07-09 19:38:28 +00:00
rods%netscape.com
fa7049446f Removed ddcomm.h, and put the macro SET_FORMATETC into nsClipboard.h, and then removed ddcomm.h from the src
git-svn-id: svn://10.0.0.236/trunk@34031 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 19:26:45 +00:00
rods%netscape.com
de7c94af93 Added delete of array in destructor
git-svn-id: svn://10.0.0.236/trunk@32088 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-18 21:40:33 +00:00
rods%netscape.com
089a8e7024 removed reference to nsIDataFlavor and merged nsITransferable and nsIGenericTransferable
git-svn-id: svn://10.0.0.236/trunk@31462 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-13 21:53:57 +00:00
rods%netscape.com
1d863eb186 Removed the factory class that was unecessary, added some error checking
made fixes for changes to ienumfe


git-svn-id: svn://10.0.0.236/trunk@30257 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 22:44:16 +00:00
rods%netscape.com
249dca5d01 Fixes for bug #4698
Win98 allocates global in DWORD chunks, WinNT does not. CF_TEXT on the
clipboard must be null terminated. The copy to the clipboard makes sure the proper
amount of memory is allocated and zeroed. he get from the clipboard makes no asummptions
about CF_Text's length other than they are null terminated, so it now removed the extra
terminating zeros, there can be more than one.


git-svn-id: svn://10.0.0.236/trunk@29870 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-30 19:41:14 +00:00
rods%netscape.com
58752dee8d Commented out some debug statements
Unknown formats are now get their data via GetText


git-svn-id: svn://10.0.0.236/trunk@29322 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 01:03:54 +00:00
rods%netscape.com
50c1d70717 Changed over to nsIGenericTransferable for setting transferables
Added Drag & Drag Support ifdef'ed out with NEW_DRAG_AND_DROP


git-svn-id: svn://10.0.0.236/trunk@27983 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-17 13:49:39 +00:00
rods%netscape.com
cbe99577f3 Minor change for debugging
git-svn-id: svn://10.0.0.236/trunk@25853 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 14:39:55 +00:00
mcafee%netscape.com
2c0ae957a7 Adding Mozilla license
git-svn-id: svn://10.0.0.236/trunk@25066 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-25 04:38:25 +00:00
rods%netscape.com
b47f7d7dbe fixed up , and added more functionality
git-svn-id: svn://10.0.0.236/trunk@24885 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 21:26:41 +00:00
rods%netscape.com
e9f3c1bd47 initial add
git-svn-id: svn://10.0.0.236/trunk@24841 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-23 15:37:34 +00:00