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

1724 Коммитов

Автор SHA1 Сообщение Дата
Ms2ger 6f0823bf85 Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger 5a121505c1 Backing out bf0a78471e5e:dc7022e2d807 for inexplicable windows crashes. 2012-04-14 17:52:34 +02:00
Ms2ger 2e04964e1d Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger b5f8e2ce51 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger 49a4e967e0 Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Graeme McCutcheon d118b3c261 Bug 578771 testcase. r=ehsan a=test 2012-04-19 15:50:53 +01:00
Ehsan Akhgari 1cb9c37463 Bug 743632 - Fix nsHTMLEditor::GetNextHTMLSibling to return the correct node; r=roc
--HG--
extra : rebase_source : 360c3800e8546aeb9e2ec0946127a85ae1155d56
2012-04-09 12:46:28 -04:00
Aryeh Gregor f6a7620fd2 Bug 317093 part 2 - execCommand() should remove <strong>, <em>, and <s> as well as <b>, <i>, <strike>; r=ehsan 2012-04-04 14:47:13 +03:00
Aryeh Gregor cf30078fd0 Bug 317093 part 1 - Avoid spurious UNEXPECTED-FAILs in test_richtext2 when fixing expected fails; r=ehsan 2012-04-04 14:46:04 +03:00
Aryeh Gregor 04a16beaaa Bug 316447 - execCommand("insertHorizontalRule") should not set height/width; r=ehsan 2012-04-04 13:47:36 +03:00
Ehsan Akhgari 9a0c18d3d3 Bug 741734 - Fire the paste event when pasting without formatting; r=roc 2012-04-03 13:41:04 -04:00
Ehsan Akhgari e0965d3247 Backed out changeset afff429aaf9a because of bad commit message 2012-04-03 17:47:34 -04:00
Ehsan Akhgari 23d3dee7b5 commit cf0f05533cc23ba918e81ac3669449813799fe9f
Author: Ehsan Akhgari <ehsan.akhgari@gmail.com>
    Bug 741734 - Fire the paste event when pasting without formatting; r=roc
2012-04-03 13:41:04 -04:00
Aryeh Gregor 120d208770 Bug 738366 - Default styleWithCSS to false; r=ehsan 2012-04-03 17:16:05 +03:00
Masayuki Nakano 13dae45748 Bug 739557 Set focus to editing host and use document.getSelection().collapse() for setting caret to edit target; r=ehsan 2012-03-29 09:10:22 -07:00
Mike Conley 4488d2a79a Bug 746993 - Fix editor caret behaviour when pressing RETURN after a BR node. r=ehsan, a=tracking-firefox 2012-04-20 12:57:17 -04:00
Masayuki Nakano 533d343879 Bug 668606 input event should be fired on all editors r=ehsan+smaug, sr=smaug 2012-03-27 10:36:44 +09:00
aceman b15d42f7a5 Bug 732691 - Further cleanups in /mozilla/editor/libeditor/html/nsHTMLDataTransfer.cpp found in bug 368758. r=ehsan 2012-03-26 14:58:43 -07:00
Ehsan Akhgari 2e5851a1c6 Bug 732585 - Drag and drop images into message window is broken; r=roc 2012-03-26 09:04:06 -07:00
Ms2ger 631d559863 Bug 738771 - Outparamdel nsEditor::GetDocument(); r=ehsan 2012-03-24 09:19:14 +01:00
Henri Sivonen 2783a8258e Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Aryeh Gregor f15f44edad Bug 735805 - Part 2: Fix editor mochitest that runs no tests. r=ehsan 2012-03-16 16:07:16 -04:00
Neil Deakin 2830a254d9 Bug 605991, prevent drops on a parent content page from a child frame from a different domain, r=smaug 2012-03-20 11:21:41 -04:00
Henri Sivonen 04564326c2 Bug 650776 part 1 - Introduce a new HTML source to HTML source sanitizer XPCOM API. r=smaug. 2012-03-19 10:16:20 +02:00
Aryeh Gregor d7ad6ad468 Bug 735059 - Second and third execCommand() parameters should be optional; r=ehsan 2012-03-12 18:12:19 -04:00
Jacob Holzinger f326001732 Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
--HG--
extra : rebase_source : 882b5b4d500b1fa242c0a3cfa3084e4171cbaa9d
2012-03-08 18:22:57 -08:00
Serge Gautherie 50aeaa74cc Bug 732792. (Av1) test_bug674770-2.html: Set "middlemouse.contentLoadURL" preference too. r=ehsan. 2012-03-06 18:14:44 +01:00
aceman e830ba0e18 Bug 368758 - Remove obsolete workaround pref editor.quotesPreformatted. r=ehsan 2012-03-02 17:23:01 -05:00
Neil Deakin 933e5130ec Bug 499008, part 7, merge html drag type constants into one place, r=ehsan 2012-02-17 09:17:00 -05:00
Neil Deakin e91ed72e36 Bug 499008, part 5, merge the text and html implementations of InsertFromDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin 970192bb66 Bug 499008, part 4, convert editor drop handling to use datatransfers instead of the drag service, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin d2b7f62da0 Bug 499008, part 2, move editor dragstart handling to ContentAreaDragDrop, r=ehsan 2012-02-17 09:16:59 -05:00
Neil Deakin 5eab700c3d Bug 499008, part 1, remove spurious event checks drop editor drag handling, r=ehsan 2012-02-17 09:16:59 -05:00
Rafael Ávila de Espíndola 8528566e9d Bug 727221 - mark LastDictionary and nsElementDeletionObserver final. r=ehsan. 2012-02-16 09:39:57 -05:00
Daniel Holbert b5e26d1834 Bug 458167 patch 6: s/it's/its/ in comments within editor. r=ehsan 2012-02-15 01:18:24 -08:00
Ms2ger caccff631a Bug 724270 - Part b: Use nsINode in GenerateCSSDeclarationsFromHTMLStyle / GetCSSEquivalentToHTMLInlineStyleSet and callers; r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger 0a5b02db0c Bug 724270 - Part a: Add an nsINode overload of GetCSSInlinePropertyBase; r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger af253c7658 Bug 724269 - Add nsHTMLCSSUtils::IsCSSEditableProperty(nsIContent*); r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger f01721adec Bug 724268 - Simplify nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan 2012-02-10 11:04:47 +01:00
Ms2ger 475f349430 Bug 724266 - Add dom::Element* nsHTMLCSSUtils::GetElementContainerOrSelf(nsINode* aNode); r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger c088e2f143 Bug 724264 - Consolidate code that checks whether an element has a non-_moz_dirty attribute; r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger c03cad943c Bug 724261 - Use nsINode in nsHTMLEditRules::RelativeChangeIndentationOfElementNode; r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger 2286afda86 Bug 723232 - nsHTMLEditRules::RelativeChangeIndentationOfElementNode removes divs with any one attribute; r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger cc7b4d5813 Bug 724260 - Add nsHTMLEditRules::IsInListItem(nsINode* aNode); r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger bf385b0569 Bug 724259 - Add nsHTMLEditor::IsNodeInActiveEditor(nsINode* aNode); r=ehsan 2012-02-10 11:04:46 +01:00
Ms2ger 0c18751d87 Bug 723252 - Various nsHTMLEditor cleanup; r=ehsan 2012-02-10 11:04:46 +01:00
Ehsan Akhgari 25d4161ecc Bug 725069 - Never mark the comment nodes as editable; r=roc 2012-02-07 18:39:05 -05:00
Panagiotis Koutsourakis 01607a9182 Bug 702388 - Convert Makefiles to use |TEST_DIRS += foo| r=khuey
Files named Makefile.in containing the expression

DIRS += <foo>
or
DIRS = <foo>

inside the conditional expression

ifdef ENABLE_TESTS
...
endif

are changed to

TEST_DIRS += tests

outside any conditional expression.

The files

./layout/Makefile.in
./layout/Makefile.in
./layout/style/Makefile.in
./rdf/Makefile.in
./security/manager/Makefile.in
./content/Makefile.in
./content/smil/Makefile.in
./content/xul/templates/Makefile.in
./content/xul/content/Makefile.in
./content/base/Makefile.in
./content/media/Makefile.in
./parser/htmlparser/Makefile.in
./dom/sms/Makefile.in
./js/jsd/Makefile.in
./js/xpconnect/Makefile.in
./widget/Makefile.in
./widget/windows/Makefile.in
./Makefile.in
./startupcache/Makefile.in
./storage/Makefile.in
./gfx/Makefile.in
./intl/strres/Makefile.in
./intl/uconv/Makefile.in
./intl/unicharutil/Makefile.in
./intl/lwbrk/Makefile.in
./embedding/Makefile.in
./modules/libjar/Makefile.in
./modules/libpref/Makefile.in
./build/Makefile.in
./build/win32/Makefile.in
./xpcom/Makefile.in
./extensions/spellcheck/hunspell/Makefile.in
./extensions/cookie/Makefile.in
./netwerk/Makefile.in
./netwerk/streamconv/Makefile.in
./editor/txmgr/Makefile.in
./toolkit/mozapps/shared/Makefile.in
./toolkit/mozapps/update/Makefile.in
./toolkit/library/Makefile.in
./toolkit/library/Makefile.in
./toolkit/crashreporter/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/perf/Makefile.in
./toolkit/components/feeds/Makefile.in
./toolkit/components/url-classifier/Makefile.in

contain the string

ifdef ENABLE_TESTS

but have some other statement inside (e.g. TOOL_DIRS += <foo> etc) and
they remain unchanged by this patch.
2012-02-04 17:32:24 +00:00
Ms2ger a6282d645a Bug 720974 - Remove IsMozEditorBogusNode(nsIDOMNode*); r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 4cb6440cbe Bug 722416 - Outparamdel nsHTMLCSSUtils::GetElementContainerOrSelf; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 1c7f4b15ef Bug 722415 - Cleanup nsHTMLEditor::GetHTMLBackgroundColorState; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 33b0a4f7e1 Bug 721493 - Cleanup nsHTMLEditor's HasAttr / HasAttrVal; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 56c2d6b75a Bug 721483 - Clean up RemoveElementIfNoStyleOrIdOrClass / HasStyleOrIdOrClass; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 816256030a Bug 721460 - Don't use GetIsCSSEnabled internally; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 2b5e0e62e2 Bug 722406 - Part b: Cleanup nsHTMLEditor::SetCaretInTableCell; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 8cc452c31b Bug 720982 - Part b: Remove nsHTMLEditor::InsertBR; r=ehsan 2012-02-01 11:54:21 +01:00
Ms2ger ba9a60a46e Bug 720982 - Part a: Remove nsHTMLEditor::CreateBRImpl; r=ehsan 2012-02-01 11:54:21 +01:00
David Zbarsky 0e922b0c94 Bug 682611 - Part 3: Remove ns(I)RangeUtils; r=smaug 2012-01-28 16:42:14 +01:00
Ms2ger eb5048def2 Bug 718170 - Part c: Use nsINode in IsEmptyCell; r=ehsan 2012-01-25 08:50:06 +01:00
Ms2ger 60f6c34d94 Bug 718170 - Part b: Use nsINode in IsVisTextNode; r=ehsan 2012-01-25 08:50:05 +01:00
Ms2ger 9acebd55d1 Bug 718170 - Part a: Use nsINode in IsEmptyNodeImpl; r=ehsan 2012-01-25 08:50:05 +01:00
Justin Wood 61509b1750 Merge last green PGO from inbound to mozilla-central 2012-01-16 22:27:53 -05:00
Jared Wein b6c0d72d2a Bug 198964 - Enable smooth scrolling by default. r=gavin 2012-01-13 16:26:34 -08:00
Ehsan Akhgari 7d51fa55d5 Test case for bug 639736; r=roc 2012-01-16 16:07:46 -05:00
Jignesh Kakadiya a04b69f6c6 Bug 716215 - nsHTMLEditor::IsEmptyNodeImpl checks if the parent is a form widget instead of the child. r=Ms2ger; sr=ehsan 2012-01-11 09:23:09 +01:00
Ms2ger 447f5e2d30 Bug 716630 - Kill editor's warnings; r=ehsan 2012-01-11 09:22:16 +01:00
Ehsan Akhgari 35cf7285a8 Bug 716456 - Make sure to pass a correct ancestor to GetPreviousContent; r=bzbarsky 2012-01-10 15:35:04 -05:00
David Zbarsky 52afb07fb3 Bug 682611 - Part 2: Remove nsIRange; r=smaug 2012-01-10 15:19:54 +01:00
David Zbarsky d8b868d007 Bug 682611 - Part 1: Merge nsIDOMRange and nsIDOMNSRange; r=Ms2ger r=smaug 2012-01-10 15:19:54 +01:00
Masayuki Nakano 89171b6c14 Bug 711903 part.2 Fix new test failure r=ehsan 2011-12-31 23:04:37 +09:00
Ed Morley db812ca83d Merge mozilla-central to mozilla-inbound 2011-12-31 13:10:25 +00:00
Neil Rashbrook fc3bf254a1 Bug 692153 Make Copy and Select All always work even when contenteditable areas are present r=ehsan 2011-12-30 17:42:04 +00:00
Ehsan Akhgari 8206502372 Bug 613517 - Remove support for making links relative when pasting/dropping HTML data over an editable area; r=roc 2011-12-30 13:04:02 -05:00
Phil Ringnalda e9d4b3aebc Merge m-i <-> m-c 2011-12-24 21:50:23 -08:00
Neil Rashbrook d4e2d77080 Bug 669026 Fix caret movement when contenteditable areas are present r=ehsan 2011-12-24 00:11:30 +00:00
Masayuki Nakano 77ddb8e117 Bug 698949 Editor should refuse untrusted keypress event r=smaug 2011-12-21 21:11:36 +09:00
Jeff Walden ae87ba2e49 Bug 711799 - Fix a bunch of initializing-pointer-from-boolean warnings. r=dholbert
--HG--
extra : rebase_source : 4a5d03b10ad8ac4eaff222037ba3400a26e7cf55
2011-12-18 01:00:47 -05:00
Masayuki Nakano f585097414 Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
Atul Aggarwal afed7804ff Bug 703239 - Fixing build warnings in editor/, r=ehsan 2011-12-22 23:46:56 +05:30
Ms2ger 026860de4e Bug 709523 - Part h: Remove unused variable in nsHTMLEditor::GetBodyElement; r=ehsan a=edmorley 2011-12-11 21:03:49 +01:00
Ms2ger 939ebfccd6 Bug 709523 - Part g: Remove nsHTMLEditRules::{Will,Did}DeleteRange; r=ehsan a=edmorley 2011-12-11 21:03:49 +01:00
Ms2ger 36995e5773 Bug 709523 - Part f: Remove nsHTMLEditUtils::IsAddress; r=ehsan a=edmorley 2011-12-11 21:03:49 +01:00
Ms2ger 5975ee140e Bug 709523 - Part e: Remove some overloads of TypeInState::{SetProp,ClearProp}; r=ehsan a=edmorley 2011-12-11 21:03:46 +01:00
Ms2ger 7b2f0821ba Bug 709523 - Part d: Remove nsHTMLEditor::IsRootTag; r=ehsan a=edmorley 2011-12-11 21:00:28 +01:00
Jan Bambach 468eaa17aa Bug 707677 - Use defaultPrevented instead of the deprecated getPreventDefault() in front-end code. r=dao 2011-12-08 10:21:32 +01:00
Masayuki Nakano 1818f937ac backout 34b8fe028357 2011-12-08 16:42:45 +09:00
Masayuki Nakano 8b607624ad Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=ehsan+smaug+enndeakin+dolske 2011-12-07 14:13:06 +09:00
Ms2ger b4e5f9df0b Bug 705439 - Remove dead code: nsHTMLEditor::GetBlockSection / nsHTMLEditor::GetBlockSectionsForRange; r=ehsan 2011-12-03 22:50:17 +01:00
Ms2ger ba2dfb9a95 Bug 705438 - Remove dead code: nsHTMLCSSUtils::RemoveCSSProperty(nsIDOMElement*, const nsAString&); r=ehsan 2011-12-03 22:50:17 +01:00
Fabien Cazenave 3986a2889c Bug 684187 - Use dom::Element instead of nsIDOMElement for nsEditor::mRootElement; r=ehsan 2011-12-03 22:50:15 +01:00
Masayuki Nakano c065f0c0bb Bug 392159 Use nsIClipboard::SupportsSelectionClipboard() instead of #ifdef in nsEditorEventListener r=ehsan 2011-11-30 11:57:41 +09:00
Boris Zbarsky cd13d961d8 Bug 635618 part 5. Pass an optional argument to GetPriorNode and GetNextNode to limit the search. r=ehsan 2011-11-28 07:54:32 -05:00
Boris Zbarsky eb0b911148 Bug 635618 part 2. Add nsINode overloads of various editor helper methods. r=ehsan 2011-11-28 07:53:29 -05:00
Masayuki Nakano 69ef6efcb3 Bug 685395 part.5 Reomve IME state in nsIContent r=roc, sr=matspal 2011-11-27 20:51:53 +09:00
Masayuki Nakano 2fc5380f30 Bug 697842 stopPropagation() shouldn't break IME composition r=ehsan 2011-11-27 09:36:36 +09:00
Masayuki Nakano b98040c992 Bug 674770 part.4 Add new tests for pasting by middle click r=ehsan 2011-11-26 13:51:49 +09:00
Ehsan Akhgari 05249701e8 Bug 674770 part.3 Add tests for middle-clicking on anchor element when the page has contenteditable element r=roc 2011-11-26 13:51:49 +09:00
Masayuki Nakano 4250b9f3fb Bug 674770 part.1 Shouldn't accept click event if the event target isn't in focused editor r=ehsan 2011-11-26 13:51:48 +09:00
Ms2ger ce8b9600f5 Bug 702102 - Cleanup nsHTMLEditor::GetEmbeddedObjects; r=ehsan 2011-11-16 08:50:20 +01:00
Oonishi Atsushi 80df1b13db Bug 311007 - Add aFlags arg to onLocationChange(...), to distinguish between same-document and different-document. r=smaug, sr=bzbarsky 2011-11-10 15:01:11 +01:00