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

5034 Коммитов

Автор SHA1 Сообщение Дата
Jonas Sicking c24e5442a9 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
Markus Stange bd77ea9088 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
Masayuki Nakano 1c0b55c010 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 6ce13b76a5 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
Henri Sivonen 25206cf68d Bug 546256 - Replace bogus </head> tag with </title> in test_bug471722.html. r=peterv.
--HG--
extra : rebase_source : 374ecbaed964aae46426cf3b65eb6ead7bcc1d24
2010-02-22 14:17:37 +02:00
Henri Sivonen 16e717b3e7 Bug 545405 - Replace bogus </head> tag with </title> in test_bug502673.html. r=timeless.
--HG--
extra : rebase_source : bae05f3671d99bcac21f52a5452aa6867e6dd0f0
2010-02-22 14:17:31 +02:00
Ehsan Akhgari 0d9aa6d876 Backed out changeset 70b1ccb14325 2010-02-18 18:52:12 -05:00
Ehsan Akhgari 4a51e776e5 Bug 221820 - Part 1: Call EnsureEditorInitialized from all places where editor needs to exist; r=bzbarsky
--HG--
extra : rebase_source : 117d5f34a90941543a994107351eb0e34ae7308f
2010-02-01 23:00:12 -05:00
Ehsan Akhgari e0d4fbd3b8 Bug 537046 - crash in [@ nsWSRunObject::GetWSBoundingParent() ]; r=peterv
--HG--
extra : rebase_source : 69b6a49317b33794a904f7b1e8e63a5dea43792b
2010-01-15 12:17:48 -05:00
Ehsan Akhgari c5b97c5208 Bug 499844; r=peterv
--HG--
extra : rebase_source : 867ce45fa9da2063a36d88966d0fa1b207311e6e
2010-01-15 12:17:44 -05:00
Jae-Seong Lee-Russo 28f86eafba 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 f15453492d Bug 544168 - nsIEditorIMESupport::endComposition shouldn't be scriptable. r+sr=smaug 2010-02-06 19:16:31 +01:00
Ehsan Akhgari 1e119e5cfc Bug 542912 - Refactor the newline handling behavior in nsTextEditRules; r=bzbarsky sr=roc
--HG--
extra : rebase_source : 92fb4649c72293253317cc5eb6fc0f10d8aa6dfb
2010-02-01 13:12:31 -05:00
Masayuki Nakano 019fb76261 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
Daniel Holbert 9b4a120675 Bug 539585: Fix "warning: format '%p' expects type 'void*'" in editor directory. r=neil 2010-01-17 15:11:04 -08:00
Masayuki Nakano 57f0951668 Bug 537828 crash [@ nsAString_internal::Assign(nsAString_internal const&)] r=Olli 2010-01-13 11:35:50 +09:00
Jesse Ruderman 56ac1fe1ee Add crashtests 2010-01-10 19:50:41 -08:00
Tom Dyas 0f154b629d 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 b3e5cdbc41 Backed out changeset bee6729280d8 2009-12-30 17:29:26 -05:00
Tom Dyas 8917c60dff 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 c29d6d178f Bug 535632 Crash [@ nsEditor::GetIndexOf] r=Olli 2009-12-30 17:17:44 +09:00
Oleg Romashin e402049922 b=536560; Freeze and OOM kill happens in gfxPangoFontGroup::CreateGlyphRunsItemizing, on password input field, r=neil 2009-12-26 10:36:11 +02:00
Boris Zbarsky a864e44fa8 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 404076172d Bug 535041 Crash [@ nsContentUtils::IsInSameAnonymousTree] r=Olli 2009-12-17 13:46:30 +09:00
Brad Lassey e66219b553 bug 527674 - number of askterisks doesn't match the number of password charecters when user hits delete r=neil 2009-11-25 12:50:35 -05:00
Brad Lassey 0595320f20 bug 530367 - passwords from password manager flash in clear text r=neil 2009-11-25 12:41:23 -05:00
Brad Lassey 8a9047a307 bug 527182 - crash entering login info on twitter, missing QI impl r=timeless 2009-11-18 13:45:26 -05:00
Masayuki Nakano fbd9249755 Bug 528435 Drop NS_COMPOSITION_QUERY event r=roc, sr=neil 2009-11-16 22:13:02 +09:00
Doug Turner 57d7d53ab8 Bug 527182 - Crash when entering info on twitter. r=blassey 2009-11-07 19:01:29 -08:00
Brad Lassey 53dbbd3e6b bug 514212 - Typed letters in password fields become asterisks immediately r=neil 2009-11-02 10:37:25 -05:00
Simon Montagu 18fba09d22 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
Ehsan Akhgari ccf6247cb3 Bug 569504 - Fix the spell checker leaking windows and documents; r=roc 2010-06-02 14:33:47 -04:00
Neil Rashbrook b786126784 Bug 510662 Use do_QueryReferent, not do_QueryInterface, on weak references r+sr=jst 2009-09-22 00:05:26 +01:00
Phil Ringnalda 79c0a4ced9 Bug 499071 - nsIEditorStyleSheets.idl's comments have a tenuous grasp on the concept of truth, r=neil, sr=bz 2009-08-30 09:29:18 -07:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Benjamin Smedberg ba372f3a4c 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 b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Jesse Ruderman 843986f2c8 Add crashtest for bug 461049 2009-08-08 16:00:35 -07:00
Jesse Ruderman 37e1451eb7 Add crashtest for bug 407062 2009-08-08 15:32:56 -07:00
Serge Gautherie b97a0e78a3 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 b8bff67c98 Bug 502259. Make delete at end of paragraph work. r=cpearce 2009-08-04 09:46:48 +12:00
Michael Kohler b7a3a2a751 Bug 106386 - Correct misspellings in source code (old); Patch 1; r=timeless 2009-07-27 10:46:59 +02:00
arno renevier d1471c2e10 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 00698270ca 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 6283252227 Bug 504496 case eCSSEditableProperty_NONE is unreachable in nsHTMLCSSUtils::GetCSSPropertyAtom
r=neil
2009-07-22 17:31:01 -05:00
Joe Drew 2aa59235f2 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 f4d993019a Backed out changeset 4c139bbb4895
--HG--
extra : rebase_source : c4bdf008d2ee70a9d0f74de567ae58de02123b20
2009-07-10 18:17:46 +12:00
Robert O'Callahan 0ee480bf67 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 be5572a1a7 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 dab9df8abf 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 1965a4e0b1 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 43ec1ef72c 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 9326647230 Add crashtest for bug 500847 (just filed) 2009-06-26 17:26:31 -07:00
Ginn Chen e8cea9dc9b Bug 499660 Firefox should use English dictionary by default with CJK locale r=neil 2009-06-24 14:06:58 +08:00
Olli Pettay 3c487cc506 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 8fc5865bba Bug 499667 - Remove nsIDOMDragListener, r+sr=sicking 2009-06-23 12:13:01 +03:00
Ginn Chen b95c4ee869 Bug 442241 First time using spellchecker will use the first dictionary not locale dictionar r=neil 2009-06-18 19:16:20 +08:00
Arpad Borsos 9c8455122d 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 21896afffc Bug 474369 - get rid of nsVoidArray, remaining parts; r=bz, sr=dbaron 2009-05-07 17:15:26 +02:00
Jesse Ruderman f2f2e6df63 Add test for bug 431086, using cpearce's crashtest patch 2009-06-12 18:56:23 -07:00
Arpad Borsos 118ee75268 Back out bug 474369, suspected of causing dhtml and tp3 regression 2009-06-12 23:20:55 +02:00
Arpad Borsos 990fceee6e 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 5780910990 Bug 497274. nsWrapUtils is unused, remove it. r+sr=peterv
--HG--
extra : rebase_source : 2229184a5fe9adfba4bdd21b2cc731fb1d649acf
2009-06-12 14:02:36 +12:00
Serge Gautherie b00427cbdf Bug 234844 - NS_HTMLEDITOR_COMMANDTABLE_CID and NS_HTMLEDITOR_DOCSTATE_COMMANDTABLE_CID have malformed CIDs; (Av1) nsEditingSession.cpp: (unrelated) s/as/has/; r+sr=bzbarsky 2009-06-11 19:47:32 +02:00
Neil Rashbrook 908b89f3e8 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 15df29db77 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 82e13c145b 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
Serge Gautherie 10418307c4 Bug 369034 - TestTXMgr has error and leaks object; (Cv1) Functional cleanup and documentation; r=peterv 2009-06-08 21:38:35 +02:00
Masayuki Nakano 5064fd3c08 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 5df0878bed 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 ab2848ec65 Fix gcc bracing warning while I'm here. (Bug 423233) 2009-05-08 21:59:26 -07:00
L. David Baron 763aff88aa Make transaction manager unit test's output give the correct function name. 2009-05-08 21:59:26 -07:00
L. David Baron a312877e17 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) bc68124053 Add the editor to cycle collection. (Bug 423233) r+sr=peterv 2009-05-08 21:59:25 -07:00
L. David Baron 2dc4c3c055 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 dff270d1be 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
Boris Zbarsky ce1a541b65 Bug 490957. Eliminate nsWebShell. r+sr=bsmedberg 2009-05-07 15:21:53 -04:00
Olli Pettay 7619c2c285 Bug 424300, r+sr=peterv
--HG--
extra : rebase_source : 56e3b2e745fa0d648c7c5022ad8c2b6d4d98284a
2009-05-07 09:31:56 +03:00
Olli Pettay aff655d2ff Bug 489270 - Crash [@ GetPreviousWSNode], r+sr=peterv
--HG--
extra : rebase_source : d219264be4d548ce6063c9fbd95897188219731f
2009-05-07 09:27:31 +03:00
L. David Baron f0c43ecb3d Switch HTML mochitests from using MochiKit.js to packed.js. (Bug 490955) r=sayrer 2009-05-06 13:46:04 -07:00
Serge Gautherie 1993f0671f Bug 369034 - TestTXMgr has error and leaks object; (Av1a) Add mgr->Clear(), use ScopedXPCOM() and run this test; r=benjamin 2009-05-06 01:11:14 +02:00
Arpad Borsos 650695050a Bug 474369 - get rid of nsVoidArray, editor part; r=neil 2009-04-22 10:43:15 +02:00
Ehsan Akhgari 9ddd742d8e Backout revision 12536e9936b2 (bug 490879) because of unknown potential problems for Thunderbird 3.next 2009-05-03 22:03:40 +04:30
Ehsan Akhgari ad1e330d67 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 1cd9fcb69d Remove nsTransactionFactory and most transaction CIDs. (Bug 489851) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron 05a6da8d2a Convert children of EditAggregateTxn from nsISupportsArray to nsTArray< nsRefPtr<EditTxn> >. (Bug 488799) r+sr=peterv 2009-04-24 15:45:34 -07:00
L. David Baron d3680386b5 Convert nsTransactionManager's mListeners from nsVoidArray* to nsCOMArray<nsITransactionListener>. (Bug 488799) r+sr=peterv 2009-04-24 15:45:34 -07:00
Bob Clary a877d7ef14 bug 403965 - crash test by Martijn Wargers. 2009-04-24 10:08:22 -07:00
Bob Clary 8c874618fc bug 351236 - crash test by Martijn Wargers. 2009-04-24 10:08:15 -07:00
Masayuki Nakano cfff67f8c9 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 c324daf686 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 862acdd94c Bug 431086 - nsHTMLObjectResizer refactor. 2009-04-14 15:05:34 +12:00
Boris Zbarsky 973f44492a 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 e02880ae1f Bug 481139, r+sr=peterv 2009-04-10 17:14:11 +03:00
Fred Jendrzejewski f60688af65 Fix for bug 457104 (nsTextServicesDocument::FirstSelectedBlock dead?). r/sr=peterv.
--HG--
extra : rebase_source : 73e620aade6618aa90cebe0784754a68d5479a6d
2009-04-08 14:59:06 +02:00
Boris Zbarsky 081b4b02e7 Bug 486547 part 1. Switch nsTypedSelection to storing nsIRange, not nsIDOMRange, objects. r+sr=smaug 2009-04-06 13:17:37 -04:00
Jeremy D. Lea 0e51628bd3 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Mats Palmgren 860d8f6828 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 7d2374489b Bug 372284, r+sr=peterv 2009-03-30 12:59:28 +03:00
Olli Pettay 9103394649 Bug 372284, r+sr=peterv 2009-03-30 12:58:42 +03:00
Asaf Romano bf496618fe 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 62abaca4e8 Bug 483589 - PRBool problem in nsHTMLEditor::EnableExistingStyleSheet; r+sr=peterv 2009-03-18 17:02:19 +01:00
Boris Zbarsky 9d28a2337d Bug 416942. Give user and ua sheets the system principal. r+sr=sicking 2009-03-16 21:38:36 -04:00
SkyLined 7ba1125041 Crash tests for bug 456727. 2009-02-26 11:55:15 +01:00
Mats Palmgren c67994d479 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 4be9d6af76 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
Serge Gautherie a33146ce68 Bug 471185 - [Windows] Intermittent "428844-1.html | timed out waiting for onload to fire"; Reenable test, except on Windows. 2009-02-21 03:09:15 +01:00
Mats Palmgren d5f81b9477 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 0c917424d9 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 5b97511c94 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
Jesse Ruderman 831734223b Fix crashtests.list syntax, add bug reference 2009-02-17 10:40:50 -08:00
Ted Mielczarek 62e681f38c disable crashtest 428844-1.html for random failures, see bug 471185. disable media test_play.html for random failures, see bug 478868 2009-02-17 11:43:17 -05:00
Graeme McCutcheon 69a7b46878 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 f8f9766310 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
Jesse Ruderman 4d5ffd6842 Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744 2009-02-07 21:33:31 -08:00
Graeme McCutcheon a162e6419e 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 550bc8beb7 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 2c235fd71f Backed out accidentally committed 192d50641f83
--HG--
extra : rebase_source : 0a574802c654de30fc3c0dd68b3492a8d6cc4209
2009-01-26 20:46:56 +13:00
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