Commit Graph
108 Commits
Author SHA1 Message Date
scott@scott-macgregor.org f159bcebc8 Bug #278312 --> editor changes to support inline spell checking. Includes the interface for the inline spell checker
and editor hooks to call out to an inline spell checker component.


moa/r=glazman
sr=bienvenu
2005-02-01 21:12:53 +00:00
mrbkap@gmail.com b2b4f33db0 bug 204615: Editor hangs when pasting a list fragment. r=brade sr=dveditz 2005-01-14 21:49:16 +00:00
darin@meer.net 41edd4cd6e eliminating uses of deprecated nsComponentManager:: methods (bug 267040), r=bsmedberg 2004-11-01 18:50:36 +00:00
bzbarsky@mit.edu 7ce34c9f73 Make createContextualFragment work for XML. Bug 133827, patch by
steve.swanson@mackichan.com, r=bzbarsky, sr=jst
2004-09-30 22:27:45 +00:00
bryner@brianryner.com 6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
roc+@cs.cmu.edu d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
gerv@gerv.net c0cd46fc51 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:21:17 +00:00
brade@comcast.net fb8c081d46 fix for bug 32768; relativize urls (if possible) on insertion; r=Neil, glazman, smfr; sr=dmose 2004-03-04 18:47:49 +00:00
scott@scott-macgregor.org 086442c1ca supplimental fix for bug #228879 2004-03-02 17:34:22 +00:00
scott@scott-macgregor.org 9fd81b8b59 landing fix for bug #228879
Bogus Text when pasting from open office spread sheet or word processor to Mail Compose

working around bug http://www.openoffice.org/issues/show_bug.cgi?id=25864 in open office

r=jfrancis, sr=mscott
2004-03-02 16:03:56 +00:00
jst@mozilla.jstenback.com 601ac76297 Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org 2004-01-29 22:04:45 +00:00
peterv@propagandism.org a6f87f6061 Fix for bug 230439 (Remove anonymous nodeinfomanager and other cleanup). r=caillon, sr=jst. 2004-01-18 14:52:21 +00:00
bzbarsky@mit.edu a64d636f14 Remove nsIHTMLContentContainer, merge those three functions into nsIDocument,
and make XUL style attribute dynamic changes get a proper CSSLoader off the
document. Bug 211376, r+sr=jst
2004-01-13 23:14:49 +00:00
bryner@brianryner.com a90ec6ff21 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
brade@netscape.com 18e3f67414 fix tinderbox bustage 2003-07-28 14:27:49 +00:00
brade@netscape.com d2e83278c0 cleanup of editor code, bug=209548, r=jfrancis, sr=blizzard 2003-07-28 13:13:50 +00:00
brade@netscape.com aea5df6796 editor cleanup of NodeIsType; r=kin, sr=darin, bug=209548 2003-07-15 13:47:15 +00:00
brade@netscape.com 8a384356d5 editor code cleanup (use contract IDs); r=timeless; sr=kin; bug=209548 2003-07-08 20:22:56 +00:00
brade@netscape.com e25f49576d remove unused params; r=akkana, sr=kin, bienvenu, bug=208967 2003-06-12 14:51:37 +00:00
brade@netscape.com 3d2727d76f remove some useless local variables, fix whitespace, add param to insertion hook (sourceDoc), r=rogermw, sr=kin, bug=208539 2003-06-10 18:53:11 +00:00
timeless@mozdev.org 51f0108322 Bug 199989 Remove gNoisy code from libeditor.
r=brade sr=alecf
2003-05-23 21:43:10 +00:00
dwitte@stanford.edu 0be0aa3679 bug 100649: Length() being used where IsEmpty() is meant
treewide changes to convert incorrect usages of string.Length() to string.IsEmpty().

thanks to afatecha@idea.com.py (Ariel Fatecha) for the patch. r=dwitte, sr=jst.

got the ok from Asa to land into a closed tree.
2003-05-23 21:34:47 +00:00
brade@netscape.com 9e6d5c69ef api change to insertion filter to add flag for delete selection; r=timeless; sr= kin; a=asa; bug=204066 2003-05-09 18:32:50 +00:00
brade@netscape.com 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
brade@netscape.com 361bf228bd missing hook from bug 192171 (r=brian johnson, sr=sfraser) 2003-04-22 20:32:59 +00:00
brade@netscape.com f2dc85f743 editor changes for drag/drop/copy/paste hooks (bug 197121) r=jfrancis, sr=smfr 2003-04-17 13:18:51 +00:00
kaie@netscape.com 636f3177c8 b=68767 extra blank space added when block level element (hr, table) is inserted at the end of a line, between two lines
r=jfrancis sr=kin
2003-04-15 20:53:15 +00:00
brade@netscape.com 810e0859d2 add insertion listener; bug 192567 (r=jfrancis, sr=kin) 2003-04-15 14:07:30 +00:00
bzbarsky@mit.edu a83ca0a570 Make CreateContextualFragment know what document the fragment is destined for.
Fixes some issues with images and innerHTML.  Bugs 198486, 198989, 201865.
r=jfrancis, sr=jst
2003-04-15 01:09:09 +00:00
kin@netscape.com de08c0b441 Fix for bug 42046: One click select and drag for images, hrs, and -moz-user-select:all
subtrees


mozilla/layout/html/base/src/nsFrame.cpp

  - Added utility method ContentContainsPoint()
  - Modified HandlePress() to allow selection of images, hrs and
    -moz-user-select:all subtrees, and then disable selection
    processing of drag events.


mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp

    - Modified InsertFromDrop() so that it prevents a drop from
      happening in a -moz-user-select:all subtree. (Temporary
      workaround to avoid bug 195957 and bug 195959)

r=mjudge@netscape.com  sr=sfraser@netscape.com
2003-04-07 14:28:51 +00:00
jaggernaut@netscape.com 08da03e04e Bug 200638: fix drag copy modifier key on Mac OS X. r=Neil, sr=peterv 2003-04-04 12:48:23 +00:00
sfraser@netscape.com 3e10f1c49c Remove nsIIndpendentSelection, moving its one method onto nsISelectionPrivate. Bug 192827. r/sr=kin. 2003-04-04 01:45:06 +00:00
jfrancis@netscape.com 288154acf7 fix for 187955: improvements to html fragment sink and paste code. Fixes problems seen with "Create table From Selection" and also with CF_HTML paste.
r=brade; sr=kin
2003-03-23 20:45:47 +00:00
dougt@netscape.com 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
kin@netscape.com 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.

r=jfrancis@netscape.com  sr=sfraser@netscape.com
2003-02-27 14:53:03 +00:00
jkeiser@netscape.com 325649aaba Make text drag work again (bug 193568), r=bryner@netscape.com, sr=jst@netscape.com, a=asa@mozilla.org 2003-02-22 08:10:46 +00:00
bryner@netscape.com c98c382545 Phase 1 of style context deCOMtamination (bug 114713). Remove all dependencies on nsIStyleContext from outside of content and layout. Make nsIFrame::GetStyleData be a non-inline virtual function when called from outside of layout, since the nsStyleContext implementation won't be available to those callers. r=dbaron, sr=bzbarsky. 2003-01-09 06:49:07 +00:00
jfrancis@netscape.com 40d0a8e481 editor fixes for:
180034 editor should respect the select_all style
183836 New list item should not reset inline styles
179384 Merging blocks via forward delete sends selection to front of document
98434 IME does not work correctly at the last characters in the text field  (patch courtesy of Shotaro Kamio)

r=jfrancis,brade,cmanske   sr=kin
2002-12-22 01:51:14 +00:00
jfrancis@netscape.com d88cc749b1 fix for 184308: cf_html bustage. fencepost error. r=brade; sr=bz; a=asa 2002-12-12 01:05:53 +00:00
sdagley@netscape.com 1f816da064 Backing out jfrancis - back to v1.67 2002-12-10 20:24:49 +00:00
jfrancis@netscape.com e3961590db fix for 184308: cf_html bustage. fencepost error. r=brade; sr=bz; a=asa 2002-12-10 18:32:58 +00:00
caillon@returnzero.com 1808fd8363 Bug 181442 - Convert editor's pref usage to the new pref APIs.
r=brade sr=kin
2002-11-23 01:26:58 +00:00
jfrancis@netscape.com 85095077b0 fix for 142855: cf_html paste functionality. r=brade,cmanske; sr=kin 2002-11-22 03:30:59 +00:00
bzbarsky@mit.edu 8949215966 Clean up some array stuff in editor; switch to nsCOMArray in a bunch of
places.  Bug 175564, r=jfrancis, sr=kin
2002-11-12 19:40:11 +00:00
jfrancis@netscape.com 5a17ce04f5 64647: implement "Paste without Formatting"; r=akkana; sr=sfraser 2002-11-07 13:04:37 +00:00
jfrancis@netscape.com 3e31272a52 fix for 169586: Plaintext is always pasted in default font not the one in context. r=brade; sr=kin 2002-11-07 11:29:37 +00:00
akkana@netscape.com fbd2098432 174987: Don't skip the last pass through the loop (was deleting signatures). r=brade sr=kin a=asa 2002-10-18 19:25:32 +00:00
akkana@netscape.com e6b71d6975 173953: Fix plaintext quoting. r=ducarroz sr=bzbarsky 2002-10-17 00:07:28 +00:00
akkana@netscape.com 4b07d0ddc9 More 161143: fix an uninitialized variable warning noticed by aleksey@nogin.org 2002-10-09 01:33:31 +00:00
darin@netscape.com 75d75ecbb7 revising my bustage fix 2002-10-08 21:18:41 +00:00