Граф коммитов

4816 Коммитов

Автор SHA1 Сообщение Дата
Robert O'Callahan 5a3b1d43cb 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 ee6f457122 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 119f1b9717 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 d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Peter Van der Beken 122dcedc98 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
L. David Baron 79f94ff4db 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 79bdda85ad 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 804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski 065bde22f3 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 ce80f69254 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
Peter Van der Beken c31332c26a Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange. 2009-01-14 15:12:37 +01:00
Peter Van der Beken 2353ea8945 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
Ginn Chen 0d9f12fd8d Bug 471642 Rename nsSelectionBatcher to nsSelectionBatcherForTable in nsTableEditor.cpp r+sr=roc 2009-01-14 15:13:17 +08:00
Benjamin Smedberg 3498a5f86e 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 73a6fab34b 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 802d1a10c7 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 1bb2a73b85 Bug 472348 - Some unused variables found by combing the warning database, rs=bz 2009-01-06 14:25:58 -05:00
Tyler [Triage] df8029735f Bug 471154 - remove editor readme from mozilla-central; r=daniel 2008-12-30 06:29:45 +01:00
Boris Zbarsky 9463c9fa94 Bug 467647. Fix editor leak in error conditions. r+sr=peterv 2008-12-28 11:10:49 -08:00
Olli Pettay a4de4c1089 Bug 432025 - Crash [@ CallQueryInterface<nsIDOMElement, nsIContent>], r+sr=peterv 2008-12-27 21:13:49 +02:00
Robert O'Callahan 1f1a970697 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
Olli Pettay 42dd80712f Bug 449006, r+sr=peterv 2008-12-10 18:46:36 +02:00
Sylvain Spinelli 8abd186fde 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 030716b190 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 aeafc6d1a7 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 d9375b27d7 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
Phil Ringnalda 538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Chris Pearce 6198c11a76 Bug 432225 - Spell Checker does not always identify misspelled words; r+sr=peterv 2008-11-01 01:30:45 +01:00
Asaf Romano de25a97822 Comment fix 2008-10-20 18:32:50 +02:00
Asaf Romano 8a8818d97d Bug 460595 - Cannot drag text selection in input control. r=smaug, sr=neil. 2008-10-20 18:29:55 +02:00
Asaf Romano 317f949d70 Typos fix for bug 459323 2008-10-18 19:45:47 +02:00
Asaf Romano 9ed4ba3e20 Bug 459323 - Drag and Drop in input controls is broken. r=smaug, sr=sicking. 2008-10-17 22:04:55 +02:00
Theppitak Karoonboonyanan 88e1b95b7b 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 3cba110fca 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 a1dffd395d Improve the editor selection/movement tests. b=455818 r=roc 2008-10-11 05:24:12 +02:00
Mats Palmgren 32a840925b 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 fb3d14cbd4 Bug 455806: outparamdel nsIPrivateTextEvent r+sr=jst 2008-10-09 16:31:19 -07:00
Taras Glek 263fb859d0 Bug 455943: outparamdel nsIPrivateTextRangeList r+sr=jst 2008-10-09 16:30:48 -07:00
Neil Deakin 374c1a63d0 Bug 454986, multiple images being dropped, r+sr=neil 2008-09-19 11:26:49 -04:00
Robert O'Callahan 48ae670572 Comment out tests instead of using todo. 2008-09-18 15:18:27 +12:00
Robert O'Callahan 9053aa6c73 Bug 454004. Disable tests that fail on Windows. 2008-09-18 13:43:10 +12:00
Robert O'Callahan ca86812721 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 e1cce0bfbd Bug 454595, improve editor drag and drop code, r+sr=neil 2008-09-13 18:09:20 -04:00
Ted Mielczarek ff7706a544 bug 447642 - get rid of --disable-mochitest, replace MOZ_MOCHITEST with ENABLE_TESTS. r=bsmedberg 2008-09-09 13:59:11 -04:00
Arpad Borsos 06188d3762 Bug 414046 - Remove nsPresShell::GetLayoutObjectFor(), r/sr=roc 2008-09-04 22:32:39 +02:00
Mark Banner 9202651c70 Bug 445146 Move editor/ui from mozilla-central to comm-central, build changes r=ted, move r/sr=Neil 2008-09-03 14:35:28 +01:00
Neil Deakin a6d6c664e4 Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky 350d6fc473 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin acd274d130 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp 2092b61045 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin ca9461ce4b Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
Robert O'Callahan fb7a994159 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
Karsten Düsterloh 0b8a090332 Bug 446281: double id cleanup, part 3: editor window; r=stefanh, sr=Neil 2008-08-17 23:57:37 +02:00
Karsten Düsterloh d708a2440b Bug 450647: EditorCommandsOverlay.xul is unused and should be removed; r/sr=Neil 2008-08-17 16:14:55 +02:00
Robert O'Callahan 842b3fea92 Backing out bug 118704 to try to fix Windows leak orange 2008-08-16 23:27:40 +12:00
Robert O'Callahan 34de2392a2 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 d504a8c50f Bug 449955 – Remove #ifdef of nsCaret.cpp for IME r+sr=roc 2008-08-13 10:55:39 +09:00
Benjamin Smedberg 088d1de487 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 dbe443ee82 Bug 449012 – Remove legacy Reconversion/QueryCaretRect Events r=ere+roc, sr=roc 2008-08-09 11:46:30 +09:00
Masayuki Nakano 4e814c49e6 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
stefanh@inbox.com 117e2dc4a0 Bug 435079 (Composer pref pane migration), landing missing bits from prev. m-c landing. Original patch: r+sr=Neil. 2008-07-29 16:22:45 +02:00
L. David Baron 1347910ac9 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
Stefan ab44ddd517 Bug 435079 - Migrate Composer's New Page Settings prefs to the new prefpane
r=NeilAway, sr=NeilAway
2008-07-17 12:04:44 -04:00
John Daniels b006229ae6 Bug 419532 – deCOMtaminate nsICaret. r+sr=roc 2008-07-16 12:52:01 +02:00
Jim Chen 264921a050 Bug 444772. Merge nsIKBStateControl into nsIWidget. r+sr=roc 2008-07-14 14:56:18 +12:00
rsx11m.pub@gmail.com feb4b149d4 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 91826e2fd0 Bug 382267. Core implementation of the <video> and <audio> elements. r=jst,r+sr=roc 2008-07-09 20:22:20 +12:00
Justin Wood aca7545330 Bug 279144 Make Editor reuse utilityOverlay status bar toggle code r=IanN,philor [p=Neil]
(from) Bug 443837 - Get SeaMonkey/Thunderbird patches from cvs trunk into mozilla-central
2008-07-08 01:00:09 -04:00
Justin Wood afd2789dc8 Bug 436670 - default color constants should be vars in EdColorProps.js. r+sr=Neil, a1.1.0=ajschult. [p=stefanh]
(from) Bug 443837 - Get SeaMonkey/Thunderbird patches from cvs trunk into mozilla-central
2008-07-08 00:59:09 -04:00
Benjamin Smedberg 8503b6428b Bug 442756 - Add stack annotations to editor classes, r=glazou sr=jst 2008-07-01 14:23:21 -04:00
stefanh@inbox.com c082881a78 Bug 436286 - Remove unneeded js dependency in pref-composer.xul. NPOTDB. r=Neil. 2008-05-30 04:43:04 -07:00
gavin@gavinsharp.com cd1040df7e 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
stefanh@inbox.com 25476e7c51 Bug 432132 - fixing review comments that I forgot to address in original check-in. Sigh. 2008-05-25 12:30:50 -07:00
stefanh@inbox.com 17bc4722ad Bug 432132 - Use <textbox type=number> in Composer where applicable (preference part). Also removed one obsolete function. NPOTDB. r+sr=Neil. 2008-05-25 12:16:57 -07:00
reed@reedloden.com 0fc98e2379 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-08 03:51:41 -07:00
reed@reedloden.com 4d6ffbf188 Back out Chris Pearce's patch from bug 430921 as a possible cause of the crashes on Linux. 2008-05-08 03:39:06 -07:00
reed@reedloden.com 8335c2e236 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-08 02:06:05 -07:00
reed@reedloden.com 28fcf57b2e Back out Chris Pearce's patch from bug 430921 in case it is the cause of the crashes. 2008-05-07 05:01:40 -07:00
reed@reedloden.com 1e6caf1995 Bug 430921 - "chrome mochitest for bug 304188 leaks the world" [p=chris@pearce.org.nz (Chris Pearce [cpearce]) r+sr=peterv a1.9=damons] 2008-05-07 03:18:31 -07:00
reed@reedloden.com cedbdc3fc6 Bug 431184 - "Composer badly handles XHTML documents" ((Av1) <ComposerCommands.js> Adds |Components.results.|) [p=sgautherie.bz@free.fr (Serge Gautherie) r+sr=Neil] 2008-05-07 03:17:22 -07:00
reed@reedloden.com 334fee6424 Bug 384625 - "Absolute Positioning grabber (mGrabber) hidden and inaccesible" (Max out grabber z-index) [p=amidude99@yahoo.com (Art Skiles) r=glazou sr=Neil] 2008-05-07 03:12:53 -07:00
Olli.Pettay@helsinki.fi ff5704e32b Bug 430858, Composer is unusable (can't type anything in the window etc), r+sr=peterv, a=beltzner 2008-05-06 10:46:55 -07:00
stefanh@inbox.com 7520682876 Bug 431061 - Migrate main Composer prefs and toolbars prefs to new pref pane (SeaMonkey-only). r+sr=Neil. 2008-05-04 11:37:51 -07:00
peterv@propagandism.org 6f9bbd6446 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
roc+@cs.cmu.edu a8cda1608f Bug 430723. Don't prematurely detach and reattach the editor object. patch by Chris Pearce, r+sr=jst,a=schrep 2008-05-01 02:00:11 -07:00
peterv@propagandism.org 20171b841e 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
gavin@gavinsharp.com 069829b4fd Bug 428852: Remove some unused editor files, patch by Serge Gautherie <sgautherie.bz@free.fr>, r+sr=neil 2008-04-25 09:54:28 -07:00
roc+@cs.cmu.edu e39f69c653 Bug 386782. save and restore editor state so that it isn't lost when a page goes into the bfcache and then comes back. patch by Chris Pearce, r+sr=peterv,a=beltzner 2008-04-23 14:36:17 -07:00
peterv@propagandism.org 742a4ab00e 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 c66dd19cd2 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 8adea03b0f 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
gavin@gavinsharp.com 37c7b2e34f Bug 428844: Crash [@ nsEditingSession::TearDownEditorOnWindow] on reload with contenteditable and xslt, patch by Chris Pearce <chris@pearce.org.nz>, r+sr=peterv, a=beltzner 2008-04-17 19:07:05 -07:00
peterv@propagandism.org c37d1b0f6f 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 4589e85ab3 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 d107f287bc 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 2a1f88964b 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 aedea05d90 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
philringnalda@gmail.com 678beddc15 Bug 427340 - tooltiptext hasn't required a specified tooltip popup for... a few years now, r+sr=neil 2008-04-06 16:52:47 -07:00
Olli.Pettay@helsinki.fi 323c9fb10a Bug 424027, r=peterv, sr=sicking 2008-04-06 05:40:33 -07:00
reed@reedloden.com 961ee94f8e Bug 294987 - "In <EdColorPicker.xul>, "Warning: Error in parsing value for property 'background-color'. Declaration dropped.", with empty |Last*Color|" ((Av1b) <EdColorPicker.js>) [p=sgautherie.bz@free.fr (Serge Gautherie) r+sr=Neil] 2008-04-04 02:09:46 -07:00