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

5851 Коммитов

Автор SHA1 Сообщение Дата
Aryeh Gregor 656b9a5e3a Bug 746515 part 1 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2012-04-20 09:33:21 +03:00
Ehsan Akhgari 400a33e201 Merge mozilla-central into birch 2012-04-19 10:03:36 -04:00
Ehsan Akhgari 7aad4509a5 Bug 745494 - Hide the anonymous editing UI before its too late; r=roc a=blocking 2012-04-18 20:10:49 -04:00
Aryeh Gregor 2ba7a77767 Bug 745723 - Only store known fails in currentStatus.js for richtext2, like for richtext; r=ehsan 2012-04-18 17:26:03 +03:00
Aryeh Gregor 0d0ffdc93d Bug 317093 part 4 - Use computed style for command state even if styleWithCSS is false; r=ehsan 2012-04-18 17:26:02 +03:00
Aryeh Gregor efd773bf83 Bug 317093 part 3 - Clean up nsHTMLEditor::GetInlinePropertyBase; r=ehsan 2012-04-18 17:26:02 +03:00
Aryeh Gregor a661c494ea Bug 480647 part 1 - Clean up nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor 4d4c5825ad Bug 745701 part 2 - Strip existing styles more aggressively in execCommand(); r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor 5947b3fc7e Bug 745701 part 1 - Clean up nsHTMLEditor::RemoveStyleInside; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor 9c722de820 Bug 745528 - execCommand() should apply style="" to only inline elements, not blocks; r=ehsan 2012-04-17 20:50:19 +03:00
Aryeh Gregor f8701b3cec Bug 205485 - execCommand("backcolor") should work the same as execCommand("hilitecolor"); r=ehsan 2012-04-17 18:37:40 +03:00
Graeme McCutcheon eebd96a906 Bug 740784 - Don't allow old bogus nodes to trail textarea content. r=ehsan a=lsblakk 2012-04-12 21:55:48 +01:00
Graeme McCutcheon 6df1a4f4e5 Bug 686203 - nsHTMLEditorEventListener's MouseDown listener should disregard events outwith its editor. Also fixes bug 578771. r=ehsan a=blassey 2012-04-13 13:52:12 +01:00
Aryeh Gregor 6725bef563 Bug 738385 part 2 - queryCommand*() should not throw for commands that don't support them; r=ehsan 2012-04-06 10:42:54 +03:00
Aryeh Gregor e4a54b9e0a Bug 279330 part 2 - execCommand("hilitecolor") should work even in non-CSS mode; r=ehsan 2012-04-17 13:18:08 +03:00
Aryeh Gregor f06a9926d4 Bug 279330 part 1 - Remove erroneous NS_ERRORs; r=ehsan 2012-04-17 13:18:08 +03:00
Ms2ger 7482a2122b Bug 744507 - Part b: Add nsINode versions in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:38 +02:00
Ms2ger 64beece2b3 Bug 744507 - Part a: Preparatory cleanup in GetPriorHTMLSibling/GetNextHTMLSibling; r=ehsan 2012-04-14 15:09:21 +02:00
Ms2ger 6f0823bf85 Bug 742884 - Part c: Cleanup nsHTMLEditRules::GetListState; r=ehsan 2012-04-14 15:08:26 +02:00
Ms2ger c7be926630 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger 4c78b3456a Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +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
Ms2ger f843b7c9d4 Bug 742884 - Part b: Cleanup GetListState (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:37 +02:00
Ms2ger 9e78d035dc Bug 742884 - Part a: Cleanup RemoveOneProperty / RemoveTextProperty (nsComposerCommands.cpp); r=ehsan 2012-04-14 15:07:34 +02:00
Graeme McCutcheon d118b3c261 Bug 578771 testcase. r=ehsan a=test 2012-04-19 15:50:53 +01:00
jhorak 3ba17b0f3a Bug 746148 - Respect the LANG environment variable when trying to select a spell checking dictionary; r=ehsan a=mfinkle 2012-04-19 13:45:50 -04: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
Veeraya Pupatwibul 4bc99a3d0a Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger 2012-04-04 11:15:10 +02: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 53350de9d3 Bug 738440 - Support queryCommandState("stylewithcss"); r=ehsan 2012-03-23 15:03:42 -04:00
Aryeh Gregor 120d208770 Bug 738366 - Default styleWithCSS to false; r=ehsan 2012-04-03 17:16:05 +03:00
Kyle Huey 0eeb3a31c8 No bug: Followups to my previous two commits. 2012-03-31 07:54:12 -07:00
Kyle Huey 48ad5f9f02 Bug 718316: Disable failing tests. 2012-03-31 07:22:31 -07:00
Marco Bonardo a26db31b45 Merge central to inbound 2012-03-30 12:27:55 +02:00
Ms2ger 580cf5d137 Bug 738608 - Introduce nsINode::Length(); r=smaug 2012-03-29 23:09:04 +02: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 a9a7a1ab76 Bug 722961 Add tests for autocomplete with composition r=m_kato 2012-03-27 23:22:56 +09: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
Matt Brubeck 94c22a7499 Merge mozilla-central and mozilla-inbound 2012-03-24 09:05:27 -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
Ehsan Akhgari c3e02a26db Bug 737889 - Part 2: Stop the propagarion of drag/drop events over non-editable content; r=roc 2012-03-23 11:35:40 -04:00
Ehsan Akhgari d06f09d7d9 Bug 734530 - Spell check textareas if they're reframed when focused; r=roc
--HG--
rename : layout/reftests/editor/spellcheck-textarea-focused.html => layout/reftests/editor/spellcheck-textarea-focused-reframe.html
2012-03-19 12:21:56 -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
Charles Chan 94ffc43ddd Bug 729041 - Remove nsEditorParserObserver. r=hsivonen. 2012-03-11 18:27:28 -07: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
Ehsan Akhgari ae97c58d5f Bug 730882 - Clean up nsTransactionStack; r=roc 2012-03-02 15:08:40 -05:00
Serge Gautherie e26f9d6d34 Bug 489728. (Bv6a_fix) Misplaced '"'. (Bustage fix.) 2012-02-28 10:29:46 +01:00
Mark Capella 7e95a30b4c Bug 489728. (Bv6a) Use passed() in TestTXMgr.cpp, Make passed() accept a va_list in TestHarness.h. f=sgautherie r=ehsan. 2012-02-28 10:17:15 +01:00
Richard Newman 4615bc4d44 Merge m-c to m-i. 2012-02-23 18:37:12 -08:00
Richard Newman 074573bef6 Merge last win pgo-green changeset from m-i to m-c. 2012-02-23 18:35:17 -08:00
Matthew Schranz 1938ca44cd Bug 698381 - Make Node.cloneNode aDeep argument optional, default to true. r=smaug 2012-02-23 14:23:30 +01:00
Olli Pettay d03b3983a0 Bug 730013 - don't addref/release nsTransactionManager so much to prevent it to end up to the purple buffer, r=ehsan 2012-02-23 22:47:37 +02: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 dbda160691 Bug 499008, part 6, editor drag drop tests, r=ehsan 2012-02-17 09:16:59 -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
Neil Deakin 716f4d2d79 Bug 728652, null check return value of MozGetDataAt, r=ehsan 2012-02-23 15:59:45 -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
Masayuki Nakano 6ba3b17700 Bug 622247 Remove hack for bug 23558 and bug 271815, and add tests for them r=ehsan 2012-02-15 10:38:07 +09: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 da023c2487 Bug 725069 - Part 2: Only accept text and element nodes for the editability check; r=roc 2012-02-08 18:09:51 -05:00
Ehsan Akhgari 25d4161ecc Bug 725069 - Never mark the comment nodes as editable; r=roc 2012-02-07 18:39:05 -05:00
Neil Deakin e612988adc Bug 707382, merge nsIDOMDataTransfer and nsIDOMNSDataTransfer, r=jonas 2012-02-07 13:02:32 -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 d109a6c2e9 Bug 722419 - Part b: BeginningOfDocument / GetFirstEditableNode; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 1b080b31c7 Bug 722419 - Part a: Introduce another version of GetNextNode; r=ehsan 2012-02-01 11:54:22 +01:00
Ms2ger 09e945b4e3 Bug 722418 - Various nsEditor cleanup; 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