Commit Graph

632 Commits

Author SHA1 Message Date
Brad Lassey
3a3e6e7566 bug 527182 - crash entering login info on twitter, missing QI impl r=timeless 2009-11-18 13:45:26 -05:00
Masayuki Nakano
ab0f2e9ba1 Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil 2009-11-16 22:13:02 +09:00
Doug Turner
98d855d1a7 Bug 527182 - Crash when entering info on twitter. r=blassey 2009-11-07 19:01:29 -08:00
Brad Lassey
8eae6471c5 bug 514212 - Typed letters in password fields become asterisks immediately r=neil 2009-11-02 10:37:25 -05:00
Simon Montagu
cf11344722 Include bidi continuations when testing whether a frame has any width. Bug 514156, r=peterv
* * *
Tests for bug 514156
2009-10-19 01:01:15 -07: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
Serge Gautherie
19afaa3c11 Bug 444021 - Remove useless |#include "nsILocale[Service|].h"|; (Av1) Just remove them; r=smontagu 2009-08-06 20:00:41 +02:00
liucougar@gmail.com
cc07460944 Bug 502259. Make delete at end of paragraph work. r=cpearce 2009-08-04 09:46:48 +12: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
9458b76a5d Bug 504087 NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION(IMETextTxn) incorrectly used NS_INTERFACE_MAP_END_INHERITING(EditTxn)
r=neil
2009-07-22 17:31:02 -05: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
Graeme McCutcheon
0e3e141b65 Bug 502673 - Crash @ nsEditor::NotifyDocumentListeners with multiple state listeners, if listener removes itself during notification. r=timeless 2009-07-08 19:38:13 +01: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
timeless@mozdev.org
fe2e37e90f Bug 494691 nsSelectionState::DoTraverse warning: unused variable ‘item’ (shadowed by another of the same name)
r+sr=neil
2009-06-27 18:42:51 -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
Olli Pettay
1a534bf2c2 Bug 497178 - Make nsPIDOMEventTarget::GetListenerManager to return nsIEventListenerManager*, r+sr=peterv
--HG--
extra : rebase_source : e92146a2236fe857aff7b2a9b1516b30174b8d83
2009-06-23 14:23:52 +03:00
Olli Pettay
df6649fbc1 Bug 499667 - Remove nsIDOMDragListener, r+sr=sicking 2009-06-23 12:13:01 +03:00
Arpad Borsos
497b2e227d Back out b8e531a6c961 (Bug 474369), it really did cause the windows dhtml regression
--HG--
extra : rebase_source : 568114bcfc5a7710d9e2c2fe5e234fa190bebba1
2009-06-16 14:38:51 +02:00
Arpad Borsos
ef105af6ce Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Jesse Ruderman
d874abb747 Add test for bug 431086, using cpearce's crashtest patch 2009-06-12 18:56:23 -07:00
Arpad Borsos
cd1887abfd Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos
3773b464cf Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron
--HG--
extra : rebase_source : 2f40cba97555521222512c7cd793c2a2adcca333
2009-05-07 17:15:26 +02:00
Robert O'Callahan
679ac11f8b Bug 497274. nsWrapUtils is unused, remove it. r+sr=peterv
--HG--
extra : rebase_source : 2229184a5fe9adfba4bdd21b2cc731fb1d649acf
2009-06-12 14:02:36 +12: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
Neil Deakin
79321ef1f8 Bug 178324, refactor focus by moving all focus handling into one place and simplifying it, add many tests, fixes many other bugs too numerous to mention in this small checkin comment, r=josh,smichaud,ere,dbaron,marco,neil,gavin,smaug,sr=smaug (CLOSED TREE) 2009-06-10 14:00:39 -04:00
Henri Sivonen
2b33dab370 Bug 468708 - namespaceURI for HTML elements should be http://www.w3.org/1999/xhtml (also make localName return in lower case) r=sicking, sr=peterv, a=beltzner 2009-06-09 10:41:19 +03:00
Masayuki Nakano
a5daf397fd Bug 489951 [TSF] Korean TIP's composition string looks like normal text r=VYV03354, sr=roc 2009-05-15 09:45:15 +09: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
L. David Baron
375aab6e36 Fix gcc bracing warning while I'm here. (Bug 423233) 2009-05-08 21:59:26 -07:00
L. David Baron
a3f6efd2f2 Implement cycle collection for transaction manager and editor transactions. (Bug 488799) r+sr=peterv 2009-05-08 21:59:25 -07: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
Ryo Onodera
5e72993bff Bug 489485. nsRect::ToNearest/Inner/OuterPixels should be nonstatic. r+sr=roc
--HG--
extra : rebase_source : 13778709270ab926e951a7782fce3632370ef7c7
2009-05-08 14:31:04 +12: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
L. David Baron
54fe514e17 Convert children of EditAggregateTxn from nsISupportsArray to nsTArray< nsRefPtr<EditTxn> >. (Bug 488799) r+sr=peterv 2009-04-24 15:45:34 -07:00
Bob Clary
1a44d27af4 bug 403965 - crash test by Martijn Wargers. 2009-04-24 10:08:22 -07:00
Masayuki Nakano
3ad00a6eb6 Bug 482138 [TSF] nsTextFrame has to draw composition string by TIP specified style r+sr=roc 2009-04-23 12:27:12 +09: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
Graeme McCutcheon
4462f25220 Bug 483589 - PRBool problem in nsHTMLEditor::EnableExistingStyleSheet; r+sr=peterv 2009-03-18 17:02:19 +01:00
Boris Zbarsky
c6ba3c228b Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
SkyLined
01f1d70804 Crash tests for bug 456727. 2009-02-26 11:55:15 +01:00
Mats Palmgren
71de6922cb The white-space bounding parent is the closest block within the editable subtree, or if there is none, the (inline) editable subtree root. b=455992 r+sr=peterv 2009-02-21 05:28:09 +01:00
Mats Palmgren
9e4ecf09b8 Stop doing special child insertions if InsertNodeAtPoint() fails, continue with the generic insertion instead. b=478725 r+sr=peterv 2009-02-21 03:51:52 +01:00
Mats Palmgren
575d767fbd Bug 448329. Make selection code more robust when the selection boundary is not in a block ... Tests.
--HG--
extra : rebase_source : 4a8c3bbd202e6aa0973117b4de81e7885150f50e
2009-02-19 21:01:36 +13:00
Mats Palmgren
a2bc6f0ca1 Bug 448329. Make selection code more robust when the selection boundary is not in a block. r+sr=peterv
--HG--
extra : rebase_source : dc75af58f6a093298d58197c31552fac1c4b5b1d
2009-02-19 20:55:40 +13:00
Chris Pearce
e122c46837 Bug 432114. Change style sheet owner to the document being edited. r+sr=peterv
--HG--
extra : rebase_source : 1477b54a36bdb3c8d1f4f44801890707043b49ee
2009-02-19 20:52:54 +13:00
Graeme McCutcheon
57f7cebb30 Bug 471722 - Plaintext editor redo handling code looks for incorrect type of bogus node; test; r=peterv
CLOSED TREE (test only)
2009-02-14 20:32:22 +01:00
Daniel Holbert
59d61972ae Bug 461047 follow-up patch - Fix a number of small issues from the nsStringArray to nsTArray<nsString> switchover, mostly related to signed vs unsigned array sizes. r+sr=roc 2009-02-10 12:39:43 -08:00
Graeme McCutcheon
fd55a4bbd4 Bug 471722 - Plaintext editor redo handling code looks for incorrect type of bogus node. r+sr=peterv 2009-02-06 22:15:57 +00:00
Theppitak Karoonboonyanan
39fd2c6edd Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv. 2009-01-27 13:50:32 +01:00
Robert O'Callahan
5e04905dff Backed out accidentally committed 192d50641f83
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
Robert O'Callahan
57feb73e0d Bug 451958 ... reverting the content-policy part to see if it alone is responsible for weird random seek failures on Windows. 2009-01-26 20:44:15 +13:00
Axel Hecht
8a52a20306 Backed out bug 462188, changeset 10dfe13222aa, due to mochitest hang.
--HG--
extra : rebase_source : 04df751be990ce4652f5a7d17579744ea6c64aa3
2009-01-24 13:41:12 +01:00
Theppitak Karoonboonyanan
569850469d Bug 462188. Make nsHTMLEditRules::WillDeleteSelection extend the selection before checking whether there's anything to delete. r+sr=peterv
--HG--
extra : rebase_source : 3c393351939ad7c475604ed0bc5591e87e36b2ae
2009-01-24 22:01:05 +13:00
Fred Jendrzejewski
7d5761cdfa Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
L. David Baron
e11583f7ec Backed out changeset 9b832d90d637 (bug 462188) due to 7 test failures on Linux and 1 on Windows (0 on Mac). 2009-01-16 15:00:40 -08:00
Theppitak Karoonboonyanan
4169a80855 Bug 462188: Fix deletion of words (Ctrl-Backspace/Option-Delete) in HTML editing. r+sr=peterv 2009-01-16 13:32:09 -08:00
Robert O'Callahan
1a9b00de4e Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Ginn Chen
f1d41ea3cb Bug 471642 Rename nsSelectionBatcher to nsSelectionBatcherForTable in nsTableEditor.cpp r+sr=roc 2009-01-14 15:13:17 +08:00
Benjamin Smedberg
24e7cb1f78 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
50621e4f9f Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
d0b948876f Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
Benjamin Smedberg
720c4f5577 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Boris Zbarsky
c07452f1f9 Bug 467647. Fix editor leak in error conditions. r+sr=peterv 2008-12-28 11:10:49 -08:00
Olli Pettay
4bb69ed3fb Bug 432025 - Crash [@ CallQueryInterface<nsIDOMElement, nsIContent>], r+sr=peterv 2008-12-27 21:13:49 +02:00
Robert O'Callahan
a3a3951684 Bug 459613. When we tear down a textcontrol frame, tell its editor that we're blowing away the frame tree so it doesn't try to clear the spellcheck selection, which not only wastes time but does GetPrimaryFrame for during frame destruction which is a no-no. r+sr=mats 2008-12-12 21:34:43 +13:00
Sylvain Spinelli
a5672f5802 Bug 366682 - spellCheckRange : scan only the first word of a text node and stop; r+sr=roc 2008-12-06 19:39:47 +01:00
Markus Stange
76daa5a7da Bug 463042 - Smooth scrolling isn't working with the scrollbar or the keyboard arrows, r+sr=roc 2008-12-02 14:18:08 +01:00
Theppitak KaroonboonyananTheppitak Karoonboonyanan
847fd40c16 Bug 461816 - pressing Ctrl-U in password dialog asserts and then crashes; r+sr=peterv 2008-12-04 14:17:48 +01:00
Ted Mielczarek
a82f5ca414 bug 432415 - strip trailing newlines when editor.singleline.pasteNewlines == 2 (Copy pasting a cell from an xls/ods file adds an extra space at the end). r+sr=neil, a=beltzner 2008-11-19 12:12:30 -05:00
Chris Pearce
c4eb79e541 Bug 432225 - Spell Checker does not always identify misspelled words; r+sr=peterv 2008-11-01 01:30:45 +01:00
Asaf Romano
3ef8941de2 Comment fix 2008-10-20 18:32:50 +02:00
Asaf Romano
52487616c6 Bug 460595 - Cannot drag text selection in input control. r=smaug, sr=neil. 2008-10-20 18:29:55 +02:00
Asaf Romano
c380bb39b5 Typos fix for bug 459323 2008-10-18 19:45:47 +02:00
Asaf Romano
ea32ac412c Bug 459323 - Drag and Drop in input controls is broken. r=smaug, sr=sicking. 2008-10-17 22:04:55 +02:00
Theppitak Karoonboonyanan
018ec4b25f Bug 157546. The 'delete' key should delete an entire cluster. r=peterv,r+sr=roc 2008-10-16 20:44:32 +13:00
Olli Pettay
9d96a5cb3f bug 302775 - extractContents doesn't work if start and end node of a Range object is an attribute node, r=peterv, sr=sicking 2008-10-15 12:40:28 +03:00
Mats Palmgren
17b4fed484 Improve the editor selection/movement tests. b=455818 r=roc 2008-10-11 05:24:12 +02:00
Mats Palmgren
16c50aefb9 Don't insert a <br> when deleting all content in an inline contenteditable element. b=456244 r+sr=peterv 2008-10-11 04:38:47 +02:00
Taras Glek
c51f841035 Bug 455806: outparamdel nsIPrivateTextEvent r+sr=jst 2008-10-09 16:31:19 -07:00
Taras Glek
a282d4a876 Bug 455943: outparamdel nsIPrivateTextRangeList r+sr=jst 2008-10-09 16:30:48 -07:00
Neil Deakin
e48764cbae Bug 454986, multiple images being dropped, r+sr=neil 2008-09-19 11:26:49 -04:00
Robert O'Callahan
3710c8dff3 Comment out tests instead of using todo. 2008-09-18 15:18:27 +12:00
Robert O'Callahan
c9cae47fa0 Bug 454004. Disable tests that fail on Windows. 2008-09-18 13:43:10 +12:00
Robert O'Callahan
34d5a63301 Bug 454004 - Ctrl+Home / Ctrl+End don't work in Mail Compose window; r+sr=mats.palmgren 2008-09-18 01:28:17 +02:00
Neil Deakin
b62c16559f Bug 454595, improve editor drag and drop code, r+sr=neil 2008-09-13 18:09:20 -04:00
Arpad Borsos
4b171f9d59 Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Robert O'Callahan
1499813be0 Bug 118704. Get the document title from the DOM instead of storing it in the document object. Relanding with hopeful leak fix. r+sr=jst 2008-08-18 14:10:28 +12:00
Robert O'Callahan
65a0e17d1b Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan
21fbc52690 Bug 118704. Get the document title from the DOM instead of storing it as a string in the document. r+sr=jst 2008-08-16 21:01:52 +12:00
Masayuki Nakano
41bdf942b6 Bug 449955 – Remove #ifdef of nsCaret.cpp for IME r+sr=roc 2008-08-13 10:55:39 +09:00
Benjamin Smedberg
e8fa485944 From bug 449561, bug 445949, and others: let's just ditch nsDerivedSafe since the class of errors it's trying to protect against are uncommon in today's world. r=dbaron 2008-08-11 11:05:58 -04:00
Masayuki Nakano
446176f140 Bug 449012 – Remove legacy Reconversion/QueryCaretRect Events r=ere+roc, sr=roc 2008-08-09 11:46:30 +09:00
Masayuki Nakano
fdb1760a4d Bug 447945 IME candidate list is positioned to wrong place when the caret is in <panel> r=roc+katakai, sr=roc 2008-07-31 01:12:49 +09:00
L. David Baron
2c2f6ed495 Change the binding parent for native anonymous content to work like the binding parent for XBL anonymous content, and be the parent of the anonymous content subtree rather than the root of the anonymous content subtree. (Bug 436453) r=bzbarsky,smaug,surkov sr=bzbarsky 2008-07-22 21:50:20 -07:00
John Daniels
ef0fee1d70 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Jim Chen
e043b3bba2 Bug 444772. Merge nsIKBStateControl into nsIWidget. r+sr=roc 2008-07-14 14:56:18 +12:00
rsx11m.pub@gmail.com
c5239b911c Bug 384116 - "Pasting an image from clipboard uses bad quality JPEG-compression (non-user selectable)" (Allow HTML editor paste images in selectable formats) [r=glazou sr=bienvenu] 2008-07-12 05:16:18 -05:00
Chris Double
02ccf2851f Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Benjamin Smedberg
46f017f4d3 Bug 442756 - Add stack annotations to editor classes, r=glazou sr=jst 2008-07-01 14:23:21 -04:00
gavin@gavinsharp.com
d26113712d Bug 433406: Once spell checker is disabled, it can't be enabled again, patch by Martijn Wargers <martijn.martijn@gmail.com>, r=mats, sr=roc, a=schrep 2008-05-27 10:55:13 -07:00
peterv@propagandism.org
bd715db358 Fix for bug 430624 (Crash [@ nsDocShellEditorData::DetachFromWindow] with spellcheck attribute). Patch by cpearce, r=peterv, sr=jst. 2008-05-02 04:36:29 -07:00
peterv@propagandism.org
89c81498b3 Fix for bug 430392 (Pressing enter in div w/ contenteditable = true causes text nodes to move unexpectedly) . r/sr=jst, a=damon. 2008-04-30 11:13:11 -07:00
peterv@propagandism.org
cf61283359 Fix for bug 417533 (Resizing linked images fails in contentEditable elements). r/sr=jst, a=damon. 2008-04-23 04:53:29 -07:00
peterv@propagandism.org
1314f8593b Fix for bug 390934 (When document contains contenteditable element, drag-dropping seems possible anywhere in the document). r/sr=jst, a=beltzner. 2008-04-18 06:29:57 -07:00
gavin@gavinsharp.com
4eac0ce4e9 Bug 428489: Crash [@ nsHTMLEditor::GetPositionAndDimensions] when window gets removed during click on contenteditable absolute positioned element, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=roc, a=beltzner 2008-04-17 19:09:17 -07:00
peterv@propagandism.org
6484cf40bb Fix for bug 406596 (Link/anchor elements are focused within an contentEditable element). r/sr=jst, a=beltzner. 2008-04-15 11:40:38 -07:00
dbaron@dbaron.org
72f25cf7a0 Backout bug 157546 (making the delete key delete by clusters) to fix blockers bug 419217 and bug 419406. Instead of removing the added test, mark now-failing tests as todo. a=damons 2008-04-14 18:04:18 -07:00
mats.palmgren@bredband.net
22ddf676ae Remove the anonymous content for resizers properly. b=420439 r+sr=peterv a1.9+=damons 2008-04-13 13:22:31 -07:00
jruderman@hmc.edu
063cf28ac9 Make tagStack be an array of nsString instead of nsAutoString. Fixes bug 427941. r+sr=sicking, a=beltzner 2008-04-10 21:38:25 -07:00
jonas@sicking.cc
5e5ddf5b3f Bug 425551: Improve script blocker code and use it to prevent async DOM events from keeping link elements alive past CC. Patch by bent. r/sr=sicking 2008-04-08 19:06:27 -07:00
Olli.Pettay@helsinki.fi
cc20adf696 Bug 424027, r=peterv, sr=sicking 2008-04-06 05:40:33 -07:00
jruderman@hmc.edu
92b08e1982 Add a crashtest 2008-03-26 15:13:20 -07:00
dbaron@dbaron.org
acbec26224 Fix bad reference counting of atoms so we don't manipulate garbage atom pointers. b=422546 r=timeless sr=roc a=damon 2008-03-13 11:54:01 -07:00
bent.mozilla@gmail.com
2c7a6508ba Bug 420700 - Bustage fix. 2008-03-06 12:35:42 -08:00
masayuki@d-toybox.com
3dcfbbf7fc 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
masayuki@d-toybox.com
f6e10b8d70 backing out the previous patch, becaused qm-centos5-01 dep unit test is orange 2008-02-28 05:59:25 -08:00
masayuki@d-toybox.com
22b844e897 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
Olli.Pettay@helsinki.fi
5ad351df5f 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
roc+@cs.cmu.edu
f19a84e63b Bug 157546. 'Delete' key should delete entire cluster. patch by Theppitak Karoonboonyanan, r+sr=roc,a=schrep 2008-02-21 18:24:04 -08:00
reed@reedloden.com
8980f8d4ec Back out patch from Theppitak Karoonboonyanan in bug 157546 due to test failures. 2008-02-20 03:10:16 -08:00
reed@reedloden.com
a82ed7e493 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=schrep] 2008-02-20 02:19:31 -08:00
masayuki@d-toybox.com
5f50f3f99e Bug 348341 "Reverse conversion" doesn't work by Kotoeri(Japanese input). r=josh+peterv+roc, sr=roc, b1.9=pavlov 2008-02-19 23:40:04 -08:00
masayuki@d-toybox.com
690449c277 Bug 417315 Cannot use IME menus during IME transaction #2 r=peterv+enndeakin, sr=peterv, a1.9=beltzner 2008-02-19 23:18:53 -08:00
roc+@cs.cmu.edu
407f4669ea Bug 261081. Support official 'pre-wrap' value for CSS 'white-space' since we already support it well as '-moz-pre-wrap'. r+sr=dbaron,a=schrep 2008-02-19 18:07:48 -08:00
jag@tty.nl
2fbcb59ed7 Bug 416998: Fix the order of member variable initializers for a few constructors. sr=bz, a=schrep 2008-02-18 23:36:50 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
reed@reedloden.com
017aad07f5 Back out Theppitak Karoonboonyanan's patch from bug 157546 due to a regression (bug 417745). 2008-02-15 12:20:55 -08:00
reed@reedloden.com
0aa97a6838 Bug 157546 - "[CTL-Thai] IM: <delete> key should delete WHOLE Thai "display cell"" [p=thep@linux.thai.net (Theppitak Karoonboonyanan) r+sr=roc a1.9=beltzner] 2008-02-14 21:30:34 -08:00
jruderman@hmc.edu
571039b47c Add crashtest. 2008-02-03 21:54:51 -08:00
reed@reedloden.com
b61f40d915 Bug 322202 - "[MIDAS] hitting ENTER when focus inside an empty paragraph (containing the "I dont need it" BR tag) results in strange output." [p=littlecritter@nasquan.com (Loune) r+sr=Neil a=blocking1.9+] 2008-01-26 20:17:29 -08:00
roc+@cs.cmu.edu
04ea5b16d9 Bug 413292. Make Begin/EndUpdateViewBatch be sure to remove the batch-count from the same viewmanager we added one to. r+sr=bzbarsky 2008-01-26 15:59:50 -08:00
reed@reedloden.com
0a63d0913d Bug 364719 - "Resizers of images are positioned wrongly when page is scrolled" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) / chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv r+sr=roc a=blocking1.9+] 2008-01-21 23:39:06 -08:00
peterv@propagandism.org
b39d07f875 Fix for bug 390278 (Shift+tab no longer navigates out of MIDAS area). r/sr=jst. 2008-01-20 08:53:08 -08:00
jruderman@hmc.edu
646be2beee Add null checks in nsAutoSelectionReset to fix bug 407256. Patch by Chris Pearce, r+sr=peterv, a=blocking1.9+. 2008-01-07 20:11:24 -08:00
neil@parkwaycc.co.uk
2b370d65c9 Don't pointlessly clone nsCOMArray b=265745 r=brade sr=rbs a=schrep 2008-01-07 02:14:28 -08:00
neil@parkwaycc.co.uk
dafb9ad144 Make XUL elements really native anonymous b=410119 r=smaug sr+a=sicking 2008-01-04 03:24:41 -08:00
reed@reedloden.com
96dad203ba Bug 389933 - "ASSERTION: JoinNode called with node not listed in offset table while editing HTML email in GMail" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r=peterv sr=roc a1.9=schrep] 2007-12-19 03:32:20 -08:00
jruderman@hmc.edu
8f8ff0968a Add crashtests for two leak bugs. 2007-12-14 21:29:32 -08:00
jruderman@hmc.edu
66c92dfd02 Add crashtest 2007-12-14 21:15:50 -08:00
jruderman@hmc.edu
d9d9137c49 Add crashtest (even though it asserts) 2007-12-14 20:47:48 -08:00
jruderman@hmc.edu
a71db7b656 Fix PropItem leak by using nsAutoPtr (bug 407074). r+sr=peterv, a=damon 2007-12-11 19:23:34 -08:00
jruderman@hmc.edu
307a6a2b6c Fix AtomImpl leak (bug 407277). r+sr=peterv, a=schrep. 2007-12-11 18:07:35 -08:00
peterv@propagandism.org
cf4884e56f Trying to fix orange. 2007-12-04 21:35:10 -08:00
peterv@propagandism.org
1d73b91846 Fix for bug 390278 (Shift+tab no longer navigates out of MIDAS area). r/sr=jst. 2007-12-04 21:03:56 -08:00
reed@reedloden.com
f94fbaa411 Bug 388655 - "Editor br gets added to empty table cells if contenteditable node is in document" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a=blocking1.9+] 2007-12-04 17:04:11 -08:00
bugzilla@standard8.plus.com
205be65497 Bug 374347 nsIClipboard uses the deprecated nsISupportsArray interface. r=roc,Neil,sspitzer,sr=roc,a=mtschrep 2007-11-20 11:06:30 -08:00
Olli.Pettay@helsinki.fi
8c95184cf2 Bug 403965, r+sr=peterv, a=schrep 2007-11-19 23:17:43 -08:00
ted.mielczarek@gmail.com
e870de51a4 bug 403664 - crash when pasting into textfield with rich text mode (a.o. Gmail) [@ nsParser::ParseFragment()]. r+sr=stuart 2007-11-15 16:23:54 -08:00
reed@reedloden.com
510616ab44 Bug 388980 - "Gmail compose mail (midas), background color doesn't work" [p=cpearce r=peterv sr=roc a1.9=schrep] 2007-11-13 00:10:03 -08:00
reed@reedloden.com
42fe9864cd Bug 394473 - "caret/cursor in View Source is invisible since 20070628 {not rendered, seen, can't, cannot, shown, displayed}" [p=cpearce r=peterv sr=roc a1.9=schrep] 2007-11-12 21:42:52 -08:00
jonas@sicking.cc
2e16c55024 Bug 403549: Avoid memory churn from nsContentUtils::CreateContextualFragment by giving nsIParser::ParseFragment a better signature. r/sr=stuart 2007-11-12 17:41:40 -08:00
jruderman@hmc.edu
0ff470fdc1 Tix fypo. 2007-11-10 18:43:32 -08:00
jruderman@hmc.edu
d8295434b9 Fix typo. 2007-11-09 20:24:42 -08:00
reed@reedloden.com
b360da4efd Bug 391429 - "Editor caret is hidden in XULRunner applications, but visible in Firefox" [p=matt@songbirdnest.com (Matt Crocker) r+sr=peterv aM9=beltzner] 2007-10-31 11:51:49 -07:00
peterv@propagandism.org
dfb5112e8c Fix for bug 335856 (Can't easily put caret in this designmode iframe testcase (caret doesn't show up)), also fixes bug 393568 (blocking1.9+) and bug 386872. r/sr=jst. 2007-10-03 05:16:50 -07:00
roc+@cs.cmu.edu
ecf2fe510d Bug 388980. Backing out because it broke tests. 2007-10-02 15:12:20 -07:00
roc+@cs.cmu.edu
4b78468e78 Bug 388980. Keep mCSSAware in sync. patch by Chris Pearce, r+sr=peterv 2007-10-02 14:44:21 -07:00
reed@reedloden.com
2295a2d4af Bug 384147 - "tabbing out list item doesn't merge with next list item at same depth" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) r=glazou sr+a1.9=roc] 2007-10-02 00:32:17 -07:00
mrbkap@gmail.com
8f155bfea9 Restore the caret on drag exit. bug 397283, r+sr+a=roc 2007-09-30 17:37:12 -07:00
martijn.martijn@gmail.com
738a2a8725 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
mrbkap@gmail.com
51598ca325 Restore the right caret in all cases. bug 395888, r+sr+a=roc 2007-09-22 14:06:58 -07:00
reed@reedloden.com
d8eb6e9eed Backout patch from bug 384147 from Mathieu Fenniak due to new test failing on Windows and Linux (but not Mac). 2007-09-20 00:04:41 -07:00
reed@reedloden.com
beb595f1e3 Bug 384147 - "tabbing out list item doesn't merge with next list item at same depth" [p=mfenniak-moz@mathieu.fenniak.net (Mathieu Fenniak) r=glazou sr=roc a1.9=roc] 2007-09-19 23:14:32 -07:00
cbarrett@mozilla.com
8cb1dc3fd2 Bug 393646 - Support reading image data off the clipboard on Mac r=josh,bienvenu sr=roc a=mconnor/drivers 2007-09-17 11:02:50 -07:00
bzbarsky@mit.edu
c12a29a9f6 Flush out layout when doing sync updates. Bug 393723, r+sr=roc, a=dbaron 2007-08-29 11:57:29 -07:00
philringnalda@gmail.com
53c2650e67 Bug 377575 - Table resize information tooltip location is misplaced, patch by Mathieu Fenniak <mfenniak-moz@mathieu.fenniak.net>, r=glazou, sr=jst, a1.9=dbaron 2007-08-25 22:53:38 -07:00
Olli.Pettay@helsinki.fi
bd20f5325a Bug 382527, r=neil, sr=peterv, a=1.9+ 2007-08-25 05:37:38 -07:00
masayuki@d-toybox.com
a17a03f2ea Bug 392252 need new APIs for converting AppUnits to gfx usable pixels r=sharparrow1, sr+a=roc 2007-08-22 04:13:46 -07:00
mrbkap@gmail.com
3aef7dc520 Redragging over empty text field doesn't show drag caret, except for the last text field. bug 390228, r+sr=roc a=dbaron 2007-08-13 14:33:25 -07:00
bzbarsky@mit.edu
73073f4f3b Use the principal doing the load to decide on the URI to pass to content policies. This will help do the right thing for data:/javascript:/about:blank, as well as allow us to skip content policies altogether if the caller is system. Bug 388597, r+sr=sicking 2007-08-07 18:16:09 -07:00
jst@mozilla.org
dadc7c619b Adding support for cut, copy, paste events. Patch by mfenniak-moz@mathieu.fenniak.net, r=Olli.Pettay@gmail.com, sr=jst@mozilla.org,jonas@sicking.cc 2007-07-25 21:14:33 -07:00
bzbarsky@mit.edu
38a4896ea0 Avoid doing some work when initializing textfields. Bug 221150, patch by
peterv and a little bit me, r=me, sr=roc
2007-07-24 17:11:22 -07:00
Olli.Pettay@helsinki.fi
3c231c3c33 Bug 388646, Resizers shown for non-editable elements when document contains contenteditable element, r+sr=peterv 2007-07-20 16:21:49 -07:00
bzbarsky@mit.edu
a7014a42ea Pass through loader principal and URI to LoadSheet(). Bug 387317, r+sr=peterv 2007-07-11 12:44:27 -07:00
neil@parkwaycc.co.uk
11ed13d71f Followup to bug 348748 to fix the alignment of trailing backslashes in macros
[xxx_cast<foo*>(bar) is three characters shorter than NS_XXX_CAST(foo*, bar)]
2007-07-11 01:46:44 -07:00
peterv@propagandism.org
30f3dac8f5 Fix for bug 386838 (Cannot select text twice in readonly textboxes). r/sr=jst. 2007-07-10 08:38:30 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
Olli.Pettay@helsinki.fi
8c3c65783f Bug 386820, Gmail, compose mail, cursor missing in (rich formatting) textfield, r+sr=peterv 2007-07-04 11:20:00 -07:00
Olli.Pettay@helsinki.fi
216af4ec70 bug 386561, Page not painting properly (ensure that EndUpdateViewBatch gets called), r+sr=peterv 2007-07-04 10:53:43 -07:00
Olli.Pettay@helsinki.fi
c4f362e8c7 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 06:37:32 -07:00
peterv@propagandism.org
bcb10cd57d Part 2 of the fix for bug 382778. r=smaug, sr=sicking. 2007-07-03 06:00:12 -07:00
Olli.Pettay@helsinki.fi
da6f6b0061 back out bug 238987 2007-07-03 05:37:00 -07:00
Olli.Pettay@helsinki.fi
5c3a599079 Bug 238987, Focus and blur events bubble from some form input controls, r+sr=bz 2007-07-03 04:49:40 -07:00
peterv@propagandism.org
2db1820fed Fix for bug 382778. r=smaug, sr=sicking. 2007-07-02 07:01:27 -07:00
sayrer@gmail.com
4ce92cc54c Bug 386009. Fix a leak in nsEditor and delete some code we don't need anymore. r+sr=dbaron 2007-06-29 20:09:53 -07:00
sayrer@gmail.com
44e39c1e00 backout fix for bug 386009 to see if it causes orange. 2007-06-28 00:33:23 -07:00
peterv@propagandism.org
76a2c4d37f Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 19:48:16 -07:00
sayrer@gmail.com
c6bdacfd93 Bug 386009. Fix a leak in nsEditor and delete some code we don't need anymore. r+sr=dbaron 2007-06-27 18:37:03 -07:00
peterv@propagandism.org
0f0097ffc5 Backing out to fix orange. 2007-06-27 16:21:05 -07:00
peterv@propagandism.org
51dda63979 Fix for bug 237964 (Allow editable areas in browser (contentEditable)). r/sr=sicking. 2007-06-27 15:29:45 -07:00
Olli.Pettay@helsinki.fi
bfc2ae9619 Bug 336081, Crash [@ nsHTMLEditRules::WillOutdent], r=neil, sr=peterv 2007-06-26 01:52:03 -07:00
Olli.Pettay@helsinki.fi
ed8942f481 Bug 336160 - Crash when releasing mouse while dragging absolute positioned element in designMode [@ nsHTMLEditor::MouseUp], r=glazman, sr=peterv 2007-06-14 01:22:47 -07:00
peterv@propagandism.org
d036d5658f Fix for bug 372544 ([Midas] Tab spacing is inconsistent). Patch by Mathieu Fenniak (mfenniak-moz@mathieu.fenniak.net), r/sr=me. 2007-05-24 06:00:53 -07:00
masayuki@d-toybox.com
cae88bda36 Bug 279246 Implement 'ime-mode' property (WinIE CSS) r+sr=dbaron 2007-05-16 08:51:37 -07:00
Olli.Pettay@helsinki.fi
e46f507021 Remove rest of nsIDOMEventReceivers, Bug 363089, r+sr=jst 2007-05-15 01:50:33 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
32d3d359f4 Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers ofGetShellAt(0) to using this API. Bug 378780. API introduction part by me,r+sr=jst. Mass-changes done by taras using squash, r+sr=me 2007-05-01 15:24:20 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
masayuki@d-toybox.com
9737b98f68 Bug 358899 [Cocoa] Improve nsIKBStateControl implementation r=josh+ere+masaki.katakai+roc, sr=roc 2007-04-15 06:43:55 -07:00
enndeakin@sympatico.ca
8b6667e253 Bug 375681, use drag event names from what-wg spec, also implement new drag and dragend events, r=smaug,sr=roc 2007-04-11 21:37:39 -07:00
cbiesinger@web.de
161b7e27b8 Bug 375878 remove users of Recycle()patch by taras glek r+sr=biesi 2007-03-30 15:44:22 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00