Ryan VanderMeulen
238b010bd5
Backed out 7 changesets (bug 832920, bug 776536, bug 843261) for mochitest-a11y assertions on a CLOSED TREE.
...
--HG--
rename : content/base/src/NodeIterator.cpp => content/base/src/nsNodeIterator.cpp
rename : content/base/src/NodeIterator.h => content/base/src/nsNodeIterator.h
rename : content/base/src/TreeWalker.cpp => content/base/src/nsTreeWalker.cpp
rename : content/base/src/TreeWalker.h => content/base/src/nsTreeWalker.h
2013-02-28 14:41:30 -05:00
Boris Zbarsky
8fb2a41fef
Bug 776536 part 1. Rename nsNodeIterator to mozilla::dom::NodeIterator. r=peterv
...
--HG--
rename : content/base/src/nsNodeIterator.cpp => content/base/src/NodeIterator.cpp
rename : content/base/src/nsNodeIterator.h => content/base/src/NodeIterator.h
2013-02-28 12:56:41 -05:00
Gregory Szorc
803629b9c6
Merge mozilla-central into build-system
...
There were merges in configure.in and some Makefile.in. None had any
conflicts. I spot verified the Makefile.in changes and confirmed that
the changes did not touch any DIRS* variables.
2013-02-27 10:03:52 -08:00
Ms2ger
2801c25ab8
Merge m-c to b-s.
2013-02-26 19:09:25 +01:00
Gregory Szorc
1f468ac521
Bug 784841 - Part 18l: Convert /editor; r=glandium f=Ms2ger
2013-02-25 12:47:20 -08:00
Boris Zbarsky
ec134a3b8c
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
L. David Baron
05d5d9dfa9
Bug 404077: Use navigator.platform.startsWith rather than navigator.platform.indexOf, at Jesse's suggestion.
2013-02-26 22:23:08 -08:00
Boris Zbarsky
3156f16358
Back out changeset 1c851a5bbc9f (bug 838686) because it depends on a changeset gcc doesn't like
2013-02-26 15:34:25 -05:00
David Humphrey (:humph)
a7efee8530
Bug 839371 - Implement HTML5 <data> element. r=smaug
2013-02-26 15:19:05 -05:00
Boris Zbarsky
8551942b65
Bug 838686 part 2. Use NodeFilterHolder in treewalker and nodeiterator and start using WebIDL codegen for NodeFilter. r=peterv
2013-02-26 15:10:15 -05:00
David Humphrey (:humph)
88eee16b7a
Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen
2013-02-22 10:07:42 -05:00
L. David Baron
4f4296979b
Bug 404077: Annotate known assertions in mochitests.
2013-02-25 18:39:21 -08:00
Ehsan Akhgari
3ee70b1986
Bug 842892 - Block scripts while extending the selection for deletion in order to prevent a crash when changing the type of an input; r=smaug
2013-02-22 18:40:09 -05:00
Ehsan Akhgari
08ba6f9b51
Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
486f369f1f
Backed out 6 changesets (bug 832920, bug 825341, bug 838582, bug 842726, bug 629801, bug 842561) for Linux32 debug mochitest-2 and Windows/OSX mochitest-browser-chrome failures on a CLOSED TREE.
2013-02-22 15:30:06 -05:00
Ehsan Akhgari
b855a12fa5
Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky
...
--HG--
extra : rebase_source : f8933c4973220dc8845b9ce2f63e91b366167117
2013-02-19 00:54:23 -05:00
David Humphrey (:humph)
51cb2d6252
Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen
2013-02-22 10:07:42 -05:00
Trevor Saunders
0900a6537c
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Mike Conley
f05b2b1d40
Bug 841811 - Remove deprecated enablePrivilege from test added in bug 790475. r=ehsan.
2013-02-19 10:29:30 -05:00
Olli Pettay
5176190028
Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde
2013-02-18 18:32:32 +02:00
Ryan VanderMeulen
5fdc54937c
Backed out changeset 645cb4fbf390 (bug 842132) for build bustage.
2013-02-18 11:12:16 -05:00
Olli Pettay
43861726fe
Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde
2013-02-18 17:33:49 +02:00
L. David Baron
5ef4421fa5
Bug 781360 patch 3: Rename {nsIFrame,nsStyleContext,nsComputedDOMStyle}::GetStyle* to Style*, since they can never return null. r=dholbert
...
Except for the changes in:
layout/generic/nsIFrame.h (part)
layout/style/nsComputedDOMStyle.h (all)
layout/style/nsRuleNode.cpp (part)
layout/style/nsStyleContext.cpp (part)
layout/style/nsStyleContext.h (part)
(see patch 3b in the bug), this patch was written with the sed script:
s/\<GetStyle\(Font\|Color\|List\|Text\|Visibility\|Quotes\|UserInterface\|TableBorder\|SVG\|Background\|Position\|TextReset\|Display\|Content\|UIReset\|Table\|Margin\|Padding\|Border\|Outline\|XUL\|SVGReset\|Column\)\>/Style\1/g
2013-02-16 13:51:02 -08:00
Peter Van der Beken
7e3e8c9052
Fix for bug 839529 (Remove various CC participants that don't do anything). r=smaug.
...
--HG--
extra : rebase_source : 8a272905c79396e7ae08aaaf83566ac450c45be0
2013-02-07 10:19:08 +00:00
Trevor Saunders
196ea3da67
bug 841706 - remove nsSelectionIterator r=smaug
2013-02-15 05:52:57 -05:00
Trevor Saunders
3e6a6deadc
bug 841430 - nuke nsIEditorDocShell r=bz
2013-02-13 17:39:30 -05:00
Trevor Saunders
2b39e8cb3c
bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug
2013-02-07 09:17:47 -05:00
Ryan VanderMeulen
8ef102a10d
Merge the last PGO green inbound changeset to m-c.
2013-02-07 09:55:08 -05:00
Ms2ger
1647efa76a
Bug 832751 - Make nsHTMLEditRules::ClearCachedStyles return void; r=ehsan
2013-02-07 09:08:57 +01:00
Ryan VanderMeulen
d3f1e45bf9
Backed out changeset 487d16b80087 (bug 812638) for mochitest orange.
2013-02-06 11:21:25 -05:00
Jet Villegas
fefcabe74a
Bug 812638: backs out bug 480647 (part 6) r=ehsan
2013-02-06 06:57:26 -08:00
Jet Villegas
e24992d5cd
Bug 812638: revert fix for bug 480647 (part 6) that introduced this regression. r=ehsan
2013-02-05 22:00:59 -08:00
Jeff Walden
37fe466d6f
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
2013-01-28 16:33:17 -08:00
Ryan VanderMeulen
7e8ed87ae1
Backed out changeset 3eb633a97c1f (bug 835648) for suspected Windows orange on a CLOSED TREE.
2013-01-29 19:01:45 -05:00
Jeff Walden
dd0f69c43a
Bug 835648 - Move typed enum support to a new header. r=Ms2ger
...
--HG--
extra : rebase_source : 8c912fba889c1c5435e3619714071502fbfb30a3
2013-01-28 16:33:17 -08:00
Henri Sivonen
e004aaa82e
Bug 820508 part 4 - Make <main> have the HTMLElement DOM interface. r=smaug.
2013-01-29 14:31:45 +02:00
Daniel Glazman
19ccfcbd2b
Bug 833610 - Backout the second half of bug 832025; r=ehsan
2013-01-23 18:19:00 -05:00
Ehsan Akhgari
fd30b5e536
Bug 833189 - Disable PGO on editor; a=me
2013-01-21 22:58:33 -05:00
Daniel Glazman
9956662eed
Bug 832025 - Clear the cached styles and type-in state props when pressing Enter inside a heading or a list item; r=ehsan
...
--HG--
extra : rebase_source : 210c1b2b2c27761d89b6609017b9722607a33450
2013-01-19 09:43:01 -05:00
Trevor Saunders
b98e34aed0
bug 822289 - remove NS_IMPL_CYCLE_COLLECTION_CLASS and friends r=mccr8
2013-01-12 07:40:33 -05:00
Ehsan Akhgari
34fe9d9f64
Bug 830600 - Improve the performance of pasting into the location bar by rewriting the O(n^2) algorithm used there to be O(n); r=roc
2013-01-15 18:44:16 -05:00
Ehsan Akhgari
36fdeec59f
Backed out changeset 4c6024d6f725 (bug 830600) because of build failures
2013-01-15 19:29:50 -05:00
Ehsan Akhgari
968ff5bc09
Bug 830600 - Improve the performance of pasting into the location bar by rewriting the O(n^2) algorithm used there to be O(n); r=roc
2013-01-15 18:44:16 -05:00
Mats Palmgren
d5826be6d7
Bug 786533 - Replace NS_MIN/NS_MAX with std::min/std::max and #include <algorithm> where needed. r=ehsan
2013-01-15 13:22:03 +01:00
David Zbarsky
e577dac5c1
Bug 830132 r=ehsan
2013-01-14 21:06:19 -05:00
David Zbarsky
a1abe844ae
Fix bustage for Bug 827149
2013-01-12 18:20:57 -05:00
David Zbarsky
6168609ec2
Bug 827149 - Remove some uses of nsIDOMHTMLBodyElement r=bz
2013-01-12 16:53:01 -05:00
Masayuki Nakano
2e17e4b4b7
Bug 825924 Input events which are dispatched by editor should be trusted always r=smaug+ehsan
2013-01-12 10:49:29 +09:00
Ms2ger
fea92580b3
Merge latest PGO-green m-i changeset to m-c.
2013-01-11 14:48:33 +01:00
Ms2ger
04e2e98c5e
Bug 828975 - Cleanup nsHTMLCSSUtils::ElementsSameStyle a bit; r=ehsan
2013-01-11 09:43:01 +01:00
Ms2ger
41958008fc
Bug 825407 - Get rid of GetElementParent; r=mounir
2013-01-11 09:43:01 +01:00
David Zbarsky
0238239fbb
fix bustage from Bug 828169 on a CLOSED TREE
2013-01-09 19:09:34 -05:00
David Zbarsky
fac43d8ca2
Bug 828169 - Don't use nsIDOMNode in editor transactions r=ehsan
2013-01-09 18:05:08 -05:00
Andrew Halberstadt
3a19a47088
Bug 811779 - Enable larger set of reftests on B2G emulators, r=jgriffin
2013-01-03 15:35:01 -05:00
Masatoshi Kimura
7fc61b4966
Bug 826983 - Enable FAIL_ON_WARNINGS on MSVC in editor/. r=ehsan
2013-01-07 04:41:46 +09:00
Neil Rashbrook
ab013277d7
Bug 826479 Assertion failure: mInitialized when using Ctrl+Middle-click paste r=ehsan
2013-01-04 20:33:09 +00:00
William Chen
8f2a3385ae
Bug 617532 - Implement UndoManager. r=ehsan
2013-01-03 22:54:26 -08:00
Ehsan Akhgari
726d181e3b
Backed out changeset 66a7359f9be2 (bug 791546) because it broke the build
2013-01-03 18:36:16 -05:00
Shriram Kunchanapalli
2239414ab6
Bug 791546: Removes nsCRT::strcmp(const PRUnichar* s) from nsCRT.h and replaces it occurrences with NS_strcmp; r=bsmedberg
2012-12-24 08:47:18 +05:30
Masatoshi Kimura
ecc812a3c0
Bug 824247 - Part 3: Disable FAIL_ON_WARNINGS on not-yet-warning-free directories on MSVC. r=ted
2013-01-03 00:56:38 +09:00
Neil Rashbrook
569e927060
Bug 824926 Make relative font size change handle nested font size tags correctly r=ehsan
2012-12-31 21:49:49 +00:00
Trevor Saunders
420da4f470
bug 821593 - stop using nsIDOMCSSValue / nsIDOMRGBColor in editor r=bz
2012-12-14 04:14:21 -05:00
Ms2ger
0e0baa81b6
Backout bug 821593 for bustage.
2012-12-22 15:33:46 +01:00
Trevor Saunders
08a26023d3
bug 821593 - stop using nsIDOMCSSValue / nsIDOMRGBColor in editor r=bz
2012-12-14 04:14:21 -05:00
Ms2ger
4432fa6277
Bug 813532 - Part b: Some cleanup for GetNextHTMLNode; r=ehsan
2012-12-22 09:17:05 +01:00
Ms2ger
2fec3b26b1
Bug 813532 - Part a: Some cleanup for GetPriorHTMLNode; r=ehsan
2012-12-22 09:17:05 +01:00
Masayuki Nakano
ca0e8000e0
Bug 813445 part.14 Make dom::EventListenerFlags for nsEventListenerManager r=smaug
2012-12-16 10:26:05 +09:00
Masayuki Nakano
2c9891bdd2
Bug 813445 part.3 Remove NS_EVENT_FLAG_CANT_CANCEL and NS_EVENT_FLAG_CANT_BUBBLE r=smaug
2012-12-16 10:26:03 +09:00
Jeff Walden
e0523203c9
Bug 820570 - Move mozilla::DebugOnly into DebugOnly.h to pare down the grab-baggish Util.h. r=Ms2ger
2012-12-14 18:58:45 -05:00
Boris Zbarsky
149792ef6f
Bug 820902. nsAttrValue::Equals should do ASCII-case-insensitive compares when it's doing case-insensitive compares. r=sicking
2012-12-13 17:08:44 -05:00
Trevor Saunders
55821aa041
bug 781409 - remove nsITableLayout r=roc,davidb
2012-08-08 09:05:17 -04:00
Saurabh Anand
151d13c7a5
Bug 818817 - Fix some compiler warnings, r=Ms2ger
2012-12-09 22:53:19 +05:30
Olli Pettay
27e586ed4c
Bug 803853, make sure to not leak mRules, r=ehsan
2012-12-07 01:31:48 +02:00
Aryeh Gregor
e5fc1787da
Bug 200416 - Test; r=ehsan
2012-12-04 14:11:47 +02:00
Kai Engert
d6425eccb3
Bug 200416 - Account for blocks inside inlines when deleting; r=ehsan
2012-11-25 14:38:23 +02:00
Mats Palmgren
e6ad33709d
Bug 817574 - Replace NS_ABS with std::abs. r=roc
2012-12-04 13:33:33 +01:00
Ms2ger
65917c0cec
Bug 812891 - Remove duplicated code from nsEditor::Get{Left,Right}mostChild; r=ehsan
2012-12-02 09:59:45 +01:00
Ms2ger
4f4763d86a
Bug 812885 - Cleanup nsHTMLEditor::GetElementOrParentByTagName some; r=ehsan
2012-12-02 09:59:41 +01:00
Benoit Jacob
97c1c2f31c
Bug 814444 - Remove now-useless TRAVERSE_NATIVE_BEGIN and UNLINK_BEGIN_NATIVE macros - r=mccr8
2012-11-22 12:15:38 -05:00
Benoit Jacob
5a8b82a1cb
Bug 807437 - Eliminate redundant Traverse/Unlink CC macros - part 1: automatic changes - r=mccr8
2012-11-15 02:32:40 -05:00
Daniel Glazman
e8b28e1b27
Bug 811679 - Add nsIEditorObserver back; r=ehsan
2012-11-14 11:23:35 -08:00
Mounir Lamouri
48da08cd0c
Bug 556145 - Use opacity instead of GrayText for ::-moz-placeholder UA's style. r=bz,davidb
2012-11-09 10:30:54 +00:00
Masayuki Nakano
d7ca87539e
Bug 806996 part.5 nsEditor::PostCreate() should call nsIMEStateManager::UpdateIMEState() rather than nsIMEStateManager::OnChangeFocus() when it already has focus r=ehsan
2012-11-09 17:40:39 +09:00
Chris Peterson
7ff53c9300
Bug 806142 - Only hide password characters if the text editor is (still) a password editor. r=ehsan
2012-11-06 10:45:58 -08:00
Bobby Holley
d2fe9d94ec
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 21:47:49 -03:00
Ed Morley
14d92519c8
Backout 23c9f61a243b & 6ca11f4b470c (bug 805807) for mochitest-1 orange in test_contextmenu.html
2012-11-02 14:12:51 +00:00
Bobby Holley
7c2fa965c3
Bug 805807 - Make Components wrapper throw on denial. r=mrbkap
...
There's really no reason to use the wishy-washy static COW Deny() here.
Also, note that the xpcshell-test wasn't testing what it thought it
was - interfaces is accessible from content code.
2012-11-02 13:27:59 +01:00
Jet Villegas
677bf3dda3
Bug 806068 part 2: Change in-tree usage of -moz-initial to initial. r=dholbert
2012-10-30 16:57:36 +01:00
Jacek Szpot
bea8356b2c
Bug 792180 - Replace NS_{UN,}LIKELY with MOZ_{UN,}LIKELY; r=ehsan
2012-10-26 15:32:10 +02:00
Josh Matthews
44336d0465
Bug 723002 - Determine privacy status from provided nsILoadContext in ContentPrefService. r=ehsan
2012-06-30 07:50:07 -07:00
Robert O'Callahan
c78fa977de
Bug 805697. Remove StCaretHider since it's not needed anymore. r=mats
...
--HG--
extra : rebase_source : c2c8652585958ddaeb9e01ed1fe47a391339c2ec
2012-10-29 17:31:26 +13:00
Masayuki Nakano
6c9580559c
Bug 805306 Get rid of nsIMEStateManager::OnTextStateBlur() and nsIMEStateManager::OnTextStateFocus() r=smaug
2012-10-26 09:49:13 +09:00
Mike Conley
9f8be84f96
Bug 790475 - Part 2: Regression test for the adjacent text node case. r=ehsan.
2012-10-25 18:32:22 -04:00
Ehsan Akhgari
78b2656cbc
Backed out 2 changesets (bug 579517)
...
Backed out changeset 5298adc70963
Backed out changeset 86ccf7c918ce (bug 579517)
2012-10-25 12:32:24 -04:00
Ehsan Akhgari
03be701616
Code hygiene: don't use PR_TRUE and PR_FALSE, and use stdint types instead of PRInt types (no bug really, but you could say bug 579517)
2012-10-25 11:48:19 -04:00
Aryeh Gregor
97eb9e0f3b
Bug 802995 - Missing null check in nsTextServicesDocument::DeleteSelection; r=ehsan
2012-10-25 14:36:23 +02:00
Ehsan Akhgari
283f767815
Merge mozilla-central into mozilla-inbound
2012-10-22 17:05:46 -04:00
Olli Pettay
e919ea63a6
Bug 798677, make sure events are fully handled in editor, r=ehsan
2012-10-21 15:35:47 +03:00
Olli Pettay
efe22ceaf9
Bug 802985, PreDestroy editor, r=ehsan
2012-10-20 21:48:34 +03:00
Peter Van der Beken
e86cd8818c
Fix for bug 801083 (Remove old proxy-based list bindings). r=bz.
2012-10-13 14:50:24 +02:00