Commit Graph
77 Commits
Author SHA1 Message Date
Ehsan Akhgari b2e94526e4 Bug 625452 - Make sure all plaintext editor commands generate trusted input events; r=roc a=blocking-final+ 2011-01-15 23:16:45 -05:00
Ehsan Akhgari 223734c999 Bug 527935 - Part 4: Make sure that the input event after paste operations; r=roc a=blocking-final+ 2010-12-17 14:47:11 -08:00
Ehsan Akhgari ebfec6da3d Bug 572618 - Make debugging the editor easier - Part 4: multiline version of part 1; r=roc 2010-06-17 16:44:35 -04:00
Ehsan Akhgari ea32707944 Bug 572618 - Make debugging the editor easier - Part 3: multiline version of part 2; r=roc 2010-06-17 16:40:48 -04:00
Ehsan Akhgari f32700d4f7 Bug 572618 - Make debugging the editor easier - Part 2: Replace all if(!foo) return NS_ERROR_bar checks with NS_ENSURE_TRUE(foo, NS_ERROR_bar); r=roc 2010-06-17 15:41:16 -04:00
Ehsan Akhgari d4ce369fca Bug 572618 - Make debugging the editor easier - Part 1: Replace all if(NS_FAILED) checks with NS_ENSURE_SUCCESS; r=roc 2010-06-17 15:27:24 -04:00
Masayuki Nakano db6dea9dfe Bug 552914 nsEditor::mFlags is never modified by SetFlags() r=smaug 2010-04-12 11:35:18 +09:00
Neil Deakin 7392f40101 Bug 501154, consolidate places where clipboard events are fired from, r=smaug,sr=neil 2010-03-19 14:32:13 -04:00
Markus Stange ddca1dd6be Bug 434210 - When dropping text in textfields, check the drag session's drag action instead of the event's modifier flags when determining whether to move or copy text. r=smaug 2010-03-08 13:32:53 +01:00
Tom Dyas 5d4dbbefac Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2010-01-10 20:45:45 -05:00
Josh Aas 450434347b Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas 87caa70f37 Support receiving data from Mac OS X services into text and HTML editors. b=525389 r=josh r/sr=smaug 2009-12-30 15:58:33 -05:00
Asaf Romano bc90b6bad2 Bug 475066 attempt #2 -dragging a tab out of the browser window doesn't detach the tab (i.e. opens a window for that tab). r=enn, sr=jonas. 2009-03-27 09:50:03 +03:00
Neil Deakin 150836aeb1 Bug 454986, multiple images being dropped, r+sr=neil 2008-09-19 11:26:49 -04:00
Neil Deakin c2a1aca520 Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky aafb52ed89 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin 81eb052ee9 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp 711e7f6fc5 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin 9f2a8820ef Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
0ccdef5621 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) (retry) r+sr=roc, a1.9b4=beltzner 2008-02-28 07:28:37 -08:00
4aa69fa997 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
3538ede317 Bug 418470 Go to line in View Source broken (NS_ERROR_UNEXPECTED at nsISelectionController.scrollSelectionIntoView) r+sr=roc, a1.9b4=beltzner 2008-02-28 03:01:56 -08:00
2bcb8d27db Bug 418457, Remove support for onbeforecopy/cut/paste until we have a better implementation, r+sr=sicking 2008-02-24 02:55:37 -08:00
7a9f14ef0e Bug 374347 nsIClipboard uses the deprecated nsISupportsArray interface. r=roc,Neil,sspitzer,sr=roc,a=mtschrep 2007-11-20 11:06:30 -08:00
e4270134fa Bug 396108 - Crash [@ PresShell::ResizeReflow] with iframes, binding, while onbeforecopy removing stuff, patch by Mathieu Fenniak, r=Olli.Pettay, sr=jst, a=jonas 2007-09-29 10:56:04 -07:00
4e29400551 Adding support for cut, copy, paste events. Patch by [email protected], [email protected], [email protected],[email protected] 2007-07-25 21:14:33 -07:00
70e37b2ff0 Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
0f958609c2 backout Bug 363089 2007-05-11 06:34:05 -07:00
833e8c64f1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
[email protected] bad78e7ff6 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc 2007-03-20 12:14:52 +00:00
[email protected] ccd44e209a bug 348669. Remove inappropriate nsCRT::free usage. r=timeless, sr=dbaron 2006-09-08 04:35:17 +00:00
[email protected] 2d0a754f91 Make nsIDocumentEncoder::init scriptable. Bug 330517, patch by jpl24
<[email protected]>, r=bzbarsky, sr=sicking
2006-05-01 05:25:52 +00:00
[email protected] 67c4dcb119 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
[email protected] d61e4745e7 nsIDocumentEncoder should be IDL-ized. Bug 305710, patch by jpl24
<[email protected]>, r=sicking, sr=bzbarsky
2006-03-14 17:12:41 +00:00
[email protected] 64dca58997 Reduce do_GetService code bloat further by adding specialized assignment to nsCOMPtr and providing a version with no error pointer. Also make CallGetService work the same way as CallGetComponent does, as far as using frozen/non-frozen interface to service manager. Bug 264456, r=darin. 2004-11-24 22:48:45 +00:00
[email protected] 41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
[email protected] f147769b79 Fixing bug 206859. Don't allow drag & drop into file inputs. [email protected], [email protected], [email protected] 2004-02-11 21:31:53 +00:00
[email protected] d2e83278c0 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
[email protected] 8a384356d5 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
[email protected] 51f0108322 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
[email protected] eb2a443945 Fix drag and drop to/from textarea and input (bug 194802), [email protected], [email protected], [email protected] 2003-05-21 00:42:32 +00:00
[email protected] 5029732204 api change to include event (similar to paste/drop hook); r=cmanske, sr=sfraser, a=asa bug=203365 2003-05-09 18:30:02 +00:00
[email protected] d35b938788 cleanup transferable hooks in editor; defer selection manipulation in plain text; ensure hooks are properly positioned (bug 203062) r=kaie, kin; sr=smfr 2003-04-25 21:05:32 +00:00
[email protected] f2dc85f743 editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:18:51 +00:00
[email protected] 08da03e04e Bug 200638: fix drag copy modifier key on Mac OS X. r=Neil, sr=peterv 2003-04-04 12:48:23 +00:00
[email protected] 3e10f1c49c Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
[email protected] d575ba72ae Create a new xpcom obsolete library (and component library).
Moved nsFileSpec and related classes into this obsolete library.
  Moved nsRegistry and related libreg functionality into the obsolete library.

Updated many callers using the obsolete nsFile spec to use nsIFile and Necko to do file IO.

Combined the following DLLs (source -> dest)
  uriloader -> docshell
  shistory -> docshell
  jsurl -> jsdom
  gkview -> gklayout

Moved nsAdapterEnumerator out of xpcom/ds and into mailnews, since they're the only consumer

Modifed the xpt_link tool so that you can specify a �only include� cid list that can mask CID�s that you are not interested in.

Added build options:
Prevent the building of xpinstall (--disable-xpinstall)
Prevent the building js component loader (--disable-jsloader)
A build option to only build a single profile (--enable-single-profile)
A build flag to only built the required xpfe components (--disable-xpfe-components).

Removal or hiding of unused functions and classes including nsEscape*, nsDequeIterator, nsRecyclingAllocatorImpl, nsDiscriminatedUnion, nsOpaqueKey, nsCRT::strlen, NS_NewCommandLineService

Bug 194240, r/sr = darin, alec.
2003-03-15 01:04:32 +00:00
[email protected] 63b55df60d Fix for bug 191762 (dragged image doesn't land where it's dropped)
editor/libeditor/base/nsSelectionState.cpp

  - Reworked the logic in SelAdjJoinNodes() to avoid adding aOldLeftNodeLength twice to the calculated offset when the start/end node is the parent.

editor/libeditor/html/nsHTMLDataTransfer.cpp
editor/libeditor/text/nsPlaintextDataTransfer.cpp

  - Modified the InsertFromDrop() to use an nsAutoTrackDOMPoint, instead of relying on range gravity, to calculate the correct insert position after deleting the current selection.

[email protected]  [email protected]
2003-02-27 14:53:03 +00:00