30 Commits

Author SHA1 Message Date
pinkerton%netscape.com
89decb1f37 pulling content-area drag&drop out of JS and into C++ so it is available to embedding. Now built-in to <browser> tag. r=brade/sr=ben. bug#45605
git-svn-id: svn://10.0.0.236/trunk@114745 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-17 19:32:08 +00:00
blakeross%telocity.com
2bb3142e83 78023 - js error in nsTransferable.js r/sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@114108 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-09 01:37:27 +00:00
blakeross%telocity.com
6a2f5ed18a 39070 - can't dnd images or <areas>. r=ben sr=hewitt
git-svn-id: svn://10.0.0.236/trunk@113544 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-03 00:06:12 +00:00
alecf%netscape.com
fd8e16ea93 some leftover files that I forgot to checkin to bug 100212, converting nsIFile.URL over to nsIIOService
r=dougt, sr=darin


git-svn-id: svn://10.0.0.236/trunk@111853 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 21:36:17 +00:00
jst%netscape.com
22a7f4c158 Fixing bug 106421. Now that we support null strings in the DOM node.localName can be null so we must check for that before calling methods on localName. r=jaggernaut@netscape.com, peterv@netscape.com, sr=me (trivial changes).
git-svn-id: svn://10.0.0.236/trunk@106153 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-24 08:57:17 +00:00
blakeross%telocity.com
3235ba01fc Fixing js strict warning about function not always returning a value. sr=ben
git-svn-id: svn://10.0.0.236/trunk@104282 18797224-902f-48f8-a5cc-f745e15eee43
2001-10-01 02:35:17 +00:00
gerv%gerv.net
13afb6d0f9 Relicensing Round 1, Take 2. Most C-like NPL files -> NPL/GPL/LGPL. Bug 98089.
git-svn-id: svn://10.0.0.236/trunk@104119 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-28 20:14:13 +00:00
blakeross%telocity.com
d4bcf9582e Fixing all (I think) drag and drop issues between the content area, the personal toolbar, and the bookmarks panel/manager. Includes the inability to drag a bookmark with no name, many links dragged to the bookmarks panel not having a title (79600), and bookmarks dragged to personal toolbar having names like "NC:BookmarksRoot" (85328). r=kerz sr=ben
git-svn-id: svn://10.0.0.236/trunk@98227 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-29 01:33:28 +00:00
dougt%netscape.com
5c5c39e4be Landing url parsing branch. 73845. r=alecf@netscape.com, sr=darin@netscape.com, a=blizzard@rednat.com.
This fixes many crashes caused by illegal uses of the nsStdURL.
This also allows a plugable protocol to provide their own url parser.


git-svn-id: svn://10.0.0.236/trunk@97696 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-21 22:02:47 +00:00
blakeross%telocity.com
7955062193 Wrong URL dragged from browser window on second drag when links are close together (72801) and link titles (and more) lost when dragging URLs to composition window (44371). r=kerz sr=alecf a=asa
git-svn-id: svn://10.0.0.236/trunk@97185 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-15 00:10:33 +00:00
blakeross%telocity.com
df0a4b54fb Links dragged from content area to personal toolbar have no title (84976). r=kerz sr=ben a=asa
git-svn-id: svn://10.0.0.236/trunk@96826 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-10 17:58:38 +00:00
pinkerton%netscape.com
517abad734 in flavor list, don't have file before url, since this stops ability to drag shortcuts from desktop (they're both). r=blake/sr=sfraser/a=asa. bugs 76728 and 70302.
git-svn-id: svn://10.0.0.236/trunk@96352 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-04 23:41:37 +00:00
blakeross%telocity.com
e03558fc3d Dropping dragged webpage text yields null (68058). r=doron sr=ben
git-svn-id: svn://10.0.0.236/trunk@94786 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-12 20:07:12 +00:00
alecf%netscape.com
1455335c63 fix for bug 53904 sr=ben, r=timeless
git-svn-id: svn://10.0.0.236/trunk@93683 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-02 22:29:05 +00:00
alecf%netscape.com
04d62928b5 fix for bug 53904 and bug 75023, sr=ben@netscape.com
fix up content area drag handler so that selection that is anchored on a text node works fine, by using nsIDOMSelection APIs to find what we're dragging


git-svn-id: svn://10.0.0.236/trunk@92530 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-17 07:21:59 +00:00
blakeross%telocity.com
25b490efd6 when the heck did I add these stupid alerts?
git-svn-id: svn://10.0.0.236/trunk@91489 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 22:15:32 +00:00
blakeross%telocity.com
694fbc6383 Use more efficient command structure, refactor commands, broadcasters and keys, remove unused attributes, do some other optimization (72923). Landing navigator part only; this should help new window opening and some other areas. r=ben sr=hyatt
git-svn-id: svn://10.0.0.236/trunk@91473 18797224-902f-48f8-a5cc-f745e15eee43
2001-04-05 19:53:13 +00:00
blakeross%telocity.com
82ce0a2007 Can't drag text from page into textfields in same page. Patch by brade. r=blake sr=ben
git-svn-id: svn://10.0.0.236/trunk@89045 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-09 02:00:21 +00:00
alecf%netscape.com
e5075b3d5f fix for bug 58122 - find the anchor in the selection if there already is one
sr=ben, r=jag


git-svn-id: svn://10.0.0.236/trunk@88946 18797224-902f-48f8-a5cc-f745e15eee43
2001-03-08 07:59:17 +00:00
blakeross%telocity.com
ca0ebededd Forced reload, stop button, ability to use bookmark keywords in Open Web Location dialog, persist window choice, .8 -> .9, moving things to more appropriate places (60498, 62078, 49773, others). r=timeless/jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@87772 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 03:31:46 +00:00
blakeross%telocity.com
236e541761 Fixing broken url and text d&d (68058). r=timeless sr=ben
git-svn-id: svn://10.0.0.236/trunk@86840 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-12 21:44:29 +00:00
ben%netscape.com
339caff959 Bookmarks Window Updates, includes fixes for
27495, 38004, 42080, 43146, 43753, 47494, 50835, 53403, 55447, 55448, 55787
r=blake, a=hyatt


git-svn-id: svn://10.0.0.236/trunk@86204 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-05 07:48:03 +00:00
ben%netscape.com
7b7d81ce12 Added comment announcing Drag and Drop API changes for Mozilla 0.8
git-svn-id: svn://10.0.0.236/trunk@85568 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-26 09:38:40 +00:00
blakeross%telocity.com
1ac252d7ca removing dump()s.
git-svn-id: svn://10.0.0.236/trunk@84721 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-10 08:07:23 +00:00
disttsc%bart.nl
6805e63b38 Fix callers of old BrowserLoadURL() to directly use loadShortcutOrURI(aURL). bug=61808, r=blake, a=ben
git-svn-id: svn://10.0.0.236/trunk@84547 18797224-902f-48f8-a5cc-f745e15eee43
2001-01-08 02:19:35 +00:00
hyatt%netscape.com
f7655658a5 prevent XBL forms from being dragged, quiet dragging operations. a=ben@netscape.com
git-svn-id: svn://10.0.0.236/trunk@83460 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-10 09:14:03 +00:00
alecf%netscape.com
724e93a903 fix for #61137 r=blake a=ben
explicity use toString() to garantee we have a String object


git-svn-id: svn://10.0.0.236/trunk@83335 18797224-902f-48f8-a5cc-f745e15eee43
2000-12-06 22:41:58 +00:00
alecf%netscape.com
5652c4e097 fix for 59799, among other things..
Within content areas:
- don't drag form widgets
- don't drag anonymous XBL content
- correctly remove the title from the URL on a drop
r=jag, a=me


git-svn-id: svn://10.0.0.236/trunk@82577 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-13 21:33:05 +00:00
alecf%netscape.com
a845efde6a big rewrite of drag & drop code to fix #52519
- fix warnings
- change title/url separator to "\n"
- clean up image dragging
- consolidate code
r=jag, a=ben


git-svn-id: svn://10.0.0.236/trunk@82521 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-10 02:54:17 +00:00
blakeross%telocity.com
18ad3326cc Fix 48876: make d&d and modifier-/middle-click possible throughout the app and implement selection within link (50673). Also fixes 59520, 48780, 48632, 57588, 59132. r=jag sr=alecf
git-svn-id: svn://10.0.0.236/trunk@82444 18797224-902f-48f8-a5cc-f745e15eee43
2000-11-09 00:06:54 +00:00