Commit Graph

150 Commits

Author SHA1 Message Date
Mats Palmgren
b4870c9c1d Bug 541013. r=peterv 2010-03-15 19:30:01 +01:00
Justin Wood
3659e4a8ef Backout Bug 507936, Due to test failures. roc claimed to have done it already but I don't see it 2010-03-15 01:15:27 -04:00
liucougar
a571e0a828 Bug 507936. Join nodes when deleting at end of paragraph. r=peterv
--HG--
extra : rebase_source : cf90db83f439a33643daf98662f36b98a18649c7
2010-03-15 14:37:23 +13:00
Ehsan Akhgari
6ed1775117 Bug 550569 - Integrate BrowserScope's HTML editor test suite with Mozilla's mochitest framework; r=bzbarsky
--HG--
extra : rebase_source : fd9a9c69ff732dc8c1af97d120a044f34c6a70d7
2010-03-08 17:36:42 -05:00
Jonas Sicking
1a6c0165bf Bug 534136 Part 1: Make atoms keep a pointer to an nsStringBuffer rather than storing the data inline. r=bsmedberg 2010-03-08 07:44:59 -08:00
Masayuki Nakano
8a42231835 Bug 545602 Unify the event listeners for editor r=smaug
--HG--
rename : editor/libeditor/text/nsEditorEventListeners.cpp => editor/libeditor/base/nsEditorEventListener.cpp
rename : editor/libeditor/text/nsEditorEventListeners.h => editor/libeditor/base/nsEditorEventListener.h
rename : editor/libeditor/html/nsHTMLEditorMouseListener.cpp => editor/libeditor/html/nsHTMLEditorEventListener.cpp
rename : editor/libeditor/html/nsHTMLEditorMouseListener.h => editor/libeditor/html/nsHTMLEditorEventListener.h
2010-03-06 13:01:28 +09:00
Zack Weinberg
2c3e543d1d Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
2010-03-02 13:00:53 -08:00
Ehsan Akhgari
c47d8c7d26 Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari
4c3dd43ac1 Bug 499844; r=peterv
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo
aef352eae8 Bug 530296 - Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX in /editor. r=peterv 2010-02-11 09:34:37 +01:00
Masayuki Nakano
798021118b Bug 539531 - Crash when I click-and-drag on a "Gordon" flash emulation [@ nsFrameSelection::ConstrainFrameAndPointToAnchorSubtree(nsIFrame*, nsPoint&, nsIFrame**, nsPoint&) ]. r=bz 2010-01-20 11:22:09 +01:00
Jesse Ruderman
243c9242a9 Add crashtests 2010-01-10 19:50:41 -08:00
Tom Dyas
8209cf7fbc 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
f9051ae7e3 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas
13780ad38c 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
Masayuki Nakano
838c68560a Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli 2009-12-30 17:17:44 +09:00
Boris Zbarsky
3e7aa47200 Bug 500882 part 6. Switch remaining modules to using the new GetPrimaryFrame API. r=smaug,roc 2009-12-24 16:20:06 -05:00
Masayuki Nakano
6066caf76e Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli 2009-12-17 13:46:30 +09:00
Neil Rashbrook
f9d476fbd9 Bug 510662 Use do_QueryReferent, not do_QueryInterface, on weak references r+sr=jst 2009-09-22 00:05:26 +01:00
Jesse Ruderman
15e3a448a6 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
arno renevier
ff877139b1 Bug 482481 - Commands doesn't work on contained contentEditable elements; PromoteInlineRange checks that selection is editable; r+sr=peterv 2009-07-26 07:21:04 +02:00
timeless@mozdev.org
711722cebc Bug 504496 case eCSSEditableProperty_NONE is unreachable in nsHTMLCSSUtils::GetCSSPropertyAtom
r=neil
2009-07-22 17:31:01 -05:00
Joe Drew
6c441f55f7 Bug 753 - Remove nsIImage, gfxIImageFrame, and their implementations, and expose an equivalent api on imgIContainer. r=roc,josh,bz,longsonr,vlad,karlt,jimm,bsmedberg,mfinkle,peterw,peterv sr=vlad,roc
--HG--
rename : gfx/src/shared/gfxImageFrame.cpp => modules/libpr0n/src/imgFrame.cpp
rename : gfx/src/shared/gfxImageFrame.h => modules/libpr0n/src/imgFrame.h
2009-07-20 18:50:15 -07:00
Robert O'Callahan
60ca055fc6 Backed out changeset 4c139bbb4895
--HG--
extra : rebase_source : c4bdf008d2ee70a9d0f74de567ae58de02123b20
2009-07-10 18:17:46 +12:00
Robert O'Callahan
f3245eefd5 Bug 502156. Make editor use nsContentUtils::CreateContextualFragment instead of instantiating a parser directly, when HTML content is pasted/dropped. This removes some code and lets the editor use the HTML5 parser if enabled. r+sr=peterv 2009-07-10 14:07:04 +12:00
Blake Kaplan
7c6f6cb50c Bug 434766 - Don't try to use the selection if we don't need one. r+sr=peterv 2009-07-01 12:12:04 -07:00
Phil Ringnalda
18c0271253 Bug 499437 - nsHTMLEditor::ReplaceStyleSheet fails to replace if both sheets are loaded, r+sr=neil 2009-06-26 22:31:36 -07:00
Jesse Ruderman
d874abb747 Add test for bug 431086, using cpearce's crashtest patch 2009-06-12 18:56:23 -07:00
Neil Rashbrook
9579ae09b2 Bug 488094 Fix fallout from bug 237964 by not deleting nodes twice r+sr=peterv 2009-06-11 15:29:15 +01:00
Mats Palmgren
ffc3033195 Bug 487524. Joining a list to its parent should be a no-op. r+sr=peterv
--HG--
extra : rebase_source : bc62f18f6ef25dcabd5a48caad547be2a209662d
2009-05-13 21:45:38 +12:00
Robert Sayre ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
0864915da4 Add the editor to cycle collection. (Bug 423233) r+sr=peterv 2009-05-08 21:59:25 -07:00
L. David Baron
a55b8a1b0a Clear the weak back pointers in nsTextEditRules and nsHTMLEditRules when they are no longer valid, to prepare for editor cycle collection. (Bug 423233) r+sr=peterv 2009-05-08 21:59:24 -07:00
Olli Pettay
f01fca6fe2 Bug 424300, r+sr=peterv
--HG--
extra : rebase_source : 56e3b2e745fa0d648c7c5022ad8c2b6d4d98284a
2009-05-07 09:31:56 +03:00
Olli Pettay
6fa0681aee Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv
--HG--
extra : rebase_source : d219264be4d548ce6063c9fbd95897188219731f
2009-05-07 09:27:31 +03:00
L. David Baron
8c38aba811 Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Arpad Borsos
35b892b3aa Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Ehsan Akhgari
4cd7be8b4c Backout revision 12536e9936b2 (bug 490879) because of unknown potential problems for Thunderbird 3.next 2009-05-03 22:03:40 +04:30
Ehsan Akhgari
9c75ee0759 Bug 490879 - Pasting images into rich text editors creates temporary moz-screenshot.jpg; r+sr=roc 2009-05-03 13:31:32 +04:30
L. David Baron
1db85e07d6 Remove nsTransactionFactory and most transaction CIDs. (Bug 489851) r+sr=peterv 2009-04-24 15:45:34 -07:00
Siddharth Agarwal
50384d30a3 Bug 484143 -- Remove AOLCiter, based on a patch by Phil Ringnalda <philringnalda@gmail.com>, r+sr=roc 2009-04-05 22:10:43 +05:30
Chris Pearce
b758ddf2ee Bug 431086 - nsHTMLObjectResizer refactor. 2009-04-14 15:05:34 +12:00
Boris Zbarsky
35edb04b3a Bug 485012. Allow passing a charset hint (e.g. the element's 'charset' attribute for preloads) to nsICSSLoader::LoadSheet. r+sr=peterv 2009-04-10 10:29:08 -04:00
Olli Pettay
93abe669f8 Bug 481139, r+sr=peterv 2009-04-10 17:14:11 +03:00
Fred Jendrzejewski
63abee270a Fix for bug 457104 (nsTextServicesDocument::FirstSelectedBlock dead?). r/sr=peterv.
--HG--
extra : rebase_source : 73e620aade6618aa90cebe0784754a68d5479a6d
2009-04-08 14:59:06 +02:00
Jeremy D. Lea
39f62f1364 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Mats Palmgren
e4524f89a0 Move 'bDidInsert' inside the loop so it correctly reflects if the current node was inserted. b=480972 r+sr=peterv 2009-04-01 03:05:44 +02:00
Olli Pettay
d2b90e9a8e Bug 372284, r+sr=peterv 2009-03-30 12:58:42 +03:00
Asaf Romano
3dd3f44306 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