Ms2ger
6ec28362b3
Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar
2013-08-14 08:56:21 +02:00
Ms2ger
1109576557
Bug 900978 - Remove remaining ENABLE_EDITOR_API_LOG cruft; r=ehsan+khuey
2013-08-14 08:53:56 +02:00
Trevor Saunders
a8a12176ad
bug 659722 - remove _IMPL_NS_LAYOUT r=bz
2013-03-16 00:31:38 -04:00
Trevor Saunders
b2dc01f1a7
bug 886526 - remove IS_COMPONENT and MODULE_NAME makefile vars for things in libxul r=bsmedberg r=glandium
2013-08-08 20:12:37 -04:00
Neil Deakin
0f0430de5b
Bug 894736, pass clipboard type to data transfer so that the correct clipboard is used when pasting, r=ehsan
2013-08-07 14:52:38 -04:00
Ehsan Akhgari
b9560fc7d9
Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky
2013-08-06 16:19:11 -04:00
Mike Hommey
ca80cd82ad
Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8
2013-08-02 10:29:05 +09:00
Nathan Froyd
cf11809b1b
Bug 899547 - add needs-focus to editor reftests; r=ehsan
2013-07-29 20:20:09 -04:00
Trevor Saunders
64dbc43c4d
backout bug 886526 because it probably made us use a lot more memory to link on windows
2013-07-29 11:03:21 -04:00
Neil Rashbrook
309c30787e
Bug 898438 nsITableEditor.getCellAt doesn't default to the current table r=ehsan
2013-07-28 11:04:09 +01:00
Ms2ger
971cd2e7d5
Bug 896283 - Part c: Use nsINode in nsEditor::JoinNodesImpl; r=ehsan
2013-07-24 09:39:08 +02:00
Ms2ger
7ecb7f9c85
Bug 896283 - Part b: Reindent nsEditor::JoinNodesImpl; r=ehsan
2013-07-24 09:39:04 +02:00
Ms2ger
0886d60817
Bug 896283 - Part a: Remove a useless argument from nsEditor::JoinNodesImpl; r=ehsan
2013-07-24 09:39:01 +02:00
Ms2ger
7d7359c752
Bug 888643 - Part b: Move CPP_UNIT_TESTS definitions into moz.build files; r=gps
2013-07-24 09:23:06 +02:00
L. David Baron
0354744354
Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
...
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.
This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Aryeh Gregor
f16d236fd6
Bug 587461 - Don't split out of ancestors in insertHTML r=ehsan
2013-04-04 17:27:41 +03:00
Trevor Saunders
238525e2d8
bug 887483 - remove a bunch of useless assignments to FORCE_STATIC_LIB implied by LIBXUL_LIBRARY=1 r=mshal
2013-07-11 11:06:34 -04:00
J. Ryan Stinnett
6119e19ce8
Bug 282097 - Part 8: Clean up test expectations. r=masayuki
2013-07-10 09:13:14 -05:00
Ryan VanderMeulen
ec6b3d53b5
Merge m-c to inbound.
2013-07-10 09:45:16 -04:00
Ms2ger
aed290c63e
Bug 890833 - Cleanup nsEditor::MoveNode; r=ehsan
2013-07-10 12:03:38 +02:00
Olli Pettay
6767d0a1a8
bug 789919, (snow-white) make addref/release of CCable objects faster by removing indirect refcnt increase/decrease, r=mccr8, test changes r=ehsan
...
--HG--
extra : rebase_source : 2a3b22425c14d6daedc91d62a652c34431acd2fb
2013-07-09 13:30:58 -04:00
Trevor Saunders
ace23958ea
bug 886526 - disallow MODULE_NAME and IS_COMPONENT for makefiles in libxul r=bsmedberg
2013-06-25 11:15:21 -04:00
Mike Shal
8afd7f737d
Bug 880245 - Move EXTRA_JS_MODULES to moz.build (batch #4 ); r=joey
2013-07-01 11:34:30 -04:00
Justin Lebar
cab87a0cce
Bug 802686 - s/MOZ_NOT_REACHED/MOZ_CRASH/ in Gecko. r=(see below)
...
r=tbsaunde for accessible
r=jmuizelaar for gfx
r=roc for layout
r=glandium for mozglue
r=jduell for netwerk
r=khuey for everything else
This is a mechanical change made with sed. Later patches in this queue
clean up the whitespace errors and so on.
2013-06-28 18:38:30 -07:00
Brian O'Keefe
ed17339221
Bug 875934 - Move LIBRARY_NAME to moz.build (batch #1 ); r=mshal
...
--HG--
extra : rebase_source : 385d3fd65475ffc18ee44ae088753649470e214b
2013-06-17 15:21:01 -04:00
Ehsan Akhgari
eb8c9a5f94
Bug 674927 - Part 4: Add a reftest which was removed by mistake
2013-06-19 17:00:14 -04:00
Aryeh Gregor
892fe681ec
Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan
2013-06-19 16:54:53 -04:00
Ehsan Akhgari
708afdab1d
Follow-up to bug 674927 part 1: Mark the failing reftests as passing on Android since spell checking is completely disabled there
2013-06-17 23:09:52 -04:00
Aryeh Gregor
b7fb1d6cac
Bug 674927 part 1 - Add reftests for spellcheck in contenteditable; r=ehsan
2013-06-17 21:23:53 -04:00
Nathan Froyd
3abb91231d
Bug 883423 - mark even more reftests as needs-focus; r=dholbert
2013-06-14 19:01:45 -04:00
Martin Stransky
3399b67572
Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt
2013-06-12 08:04:28 -04:00
Ms2ger
57d7379683
Bug 880999 - Use do_QueryObject for nsIAbsorbingTransaction; r=ehsan
2013-06-12 09:00:08 +02:00
Drew Willcoxon
d26b623171
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 4: update reftests). r=ehsan
2013-06-05 17:07:55 -07:00
Drew Willcoxon
e9fcc620e2
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 3: update other tests). r=ehsan
2013-06-05 17:07:54 -07:00
Drew Willcoxon
12fd23be24
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 2: test helper). r=ehsan
2013-06-05 17:07:54 -07:00
Drew Willcoxon
7b004ec642
Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 1: core changes). r=ehsan, sr=gavin
2013-06-05 17:07:54 -07:00
Andrew McCreight
d1266ee9b7
Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug
2013-05-21 16:23:53 -07:00
Mike Shal
6f32ddf61c
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Ralph Giles
3d52d52549
Bug 833385 - Implement HTMLTrackElement and TextTrack. r=bz,Ms2ger
...
Add webidl interfaces and implementations of the HTML <track>
element and related TextTrack, TextTrackList, TextTrackCue,
and TextTrackCueList dom objects.
Visibility is controlled by the media.webvtt.enabled pref,
which defaults to false.
HTMLMediaElement:NewURIFromString() is hoisted to
nsGenericHTMLElement so it's available to the track
element as well.
This patch is primarily work by Dale Karp, David Humphrey
and others as Seneca College.
2013-05-22 00:14:00 +08:00
Masayuki Nakano
94c8042239
Bug 396542 nsFocusManager should restore caret browsing mode when an editor loses focus r=ehsan
2013-05-22 12:28:43 +09:00
Masayuki Nakano
2a2b46188e
Bug 824080 HTML editor shouldn't set selection state as inactive at losing focus but the document has focus r=ehsan
2013-05-18 09:07:46 +09:00
Gregory Szorc
c1b865f669
Bug 873629 - Remove 129 empty Makefile.in files; r=ted
2013-05-17 16:20:11 -07:00
Ehsan Akhgari
2f3ac0380a
Bug 873038 - Remove the old MSVC PGO exclusions across the tree; r=glandium
2013-05-16 11:16:30 -04:00
Olli Pettay
4aedc83264
Bug 862309, remove useless warning about missing presshell, r=mats
...
--HG--
extra : rebase_source : 5f77555a3a24bc27cb3ce4422d6f06e1d4b97ab3
2013-05-15 14:38:05 +03:00
JosiahOne
8f32113bf6
Bug 868432 - Alter tests to be aware of delayed changes in scrolling. r=roc
2013-05-08 22:25:09 -04:00
Gavin Sharp
6ff5e33807
Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed
2013-04-19 15:21:30 -07:00
Aryeh Gregor
984219e42b
Bug 867096 - Convert nsTransactionStack from nsDeque to std::deque; r=ehsan
2013-04-28 14:33:45 +03:00
Ryan VanderMeulen
76a1822cda
Backed out changeset 555f2b757639 (bug 566746, bug 697377) for intermittent Win7 mochitest b-c orange.
2013-05-02 21:20:08 -04:00
Gavin Sharp
c154651715
Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed
2013-04-19 15:21:30 -07:00
Aryeh Gregor
e78504c9a9
Bug 859817 - Remove implicit conversions from raw pointer to already_AddRefed; r=Ms2ger
2013-04-22 14:15:59 +03:00
Aryeh Gregor
b7c3e8030b
Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz
2013-04-22 14:13:22 +03:00
Cykesiopka
ad08e18549
Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz
2013-04-24 08:36:09 -04:00
David Zbarsky
7e3e2309c9
Bug 862118 - Remove GetAttributeToModifyOnNode r=ehsan
2013-04-17 00:35:39 -04:00
Mike Shal
24b4056720
Bug 846634 - Part 2: Move EXPORTS to moz.build; r=joey
2013-04-16 15:24:43 -04:00
Ehsan Akhgari
77e35065cc
Bug 861897 - Cleanup nsComposeTxtSrvFilter to use nsGkAtoms; r=roc
2013-04-16 00:08:04 -04:00
Ehsan Akhgari
0793b245d0
Bug 861893 - Do not hold on to nsITextServicesDocument unnecessarily in the editor and the spell checker code; r=roc
2013-04-16 00:07:32 -04:00
Masayuki Nakano
2832e225ec
Bug 857820 part.2 Drop <blink> support from editor r=ehsan
2013-04-14 19:11:07 +09:00
Joshua Cranmer
7c34a7372a
Bug 856108 - Port static analyses to clang, part 2c: use MOZ_STACK_CLASS in editor. r=ehsan
2013-04-11 22:20:27 -05:00
Ryan VanderMeulen
c0d89e121e
Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes.
2013-04-11 11:53:13 -04:00
Neil Deakin
2d24f224da
Bug 566746 - Convert to use asynchronous FormHistory.jsm for form history autocomplete tests, p=enndeakin,felix, r=dteller
2013-04-11 04:01:48 -04:00
Aryeh Gregor
8849539b53
Bug 857617 - Clean up nsEditor::InsertTextImpl; r=ehsan
2013-04-04 15:02:24 +03:00
Aryeh Gregor
635f3e0133
Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz
2013-04-10 17:15:54 +03:00
Boris Zbarsky
8ad789d7ec
Bug 765780 part 2. Simplify the docshell code that was trying to enable script in subframes of designMode documents. r=ehsan
...
I'm leaving the editing session APIs for enabling/disabling script and finding out whether the editing session has done that, in case someone else is using it.
2013-04-08 17:04:20 -04:00
Ralph Giles
9f91ed5c34
Bug 857022 - Remove MOZ_MEDIA from parser. r=smaug
...
Enable this code unconditionally.
2013-04-04 14:08:00 -07:00
Nathan Froyd
e1b613b8ca
Bug 858203 - mark more reftests as needs-focus; r=dholbert
...
1. Start headless X server. Start basic window manager on it.
2. Run reftests with said X server. Take note of failing tests.
3. Disable all reftests that need focus:
find $topsrcdir -name '*.list' | xargs sed -i -e '/needs-focus/s/^/#/'
4. Make reftest.js:Focus never focus the window and always return true.
5. Start reftests with said X server again. Once the tests begin
running, start a xterm on the same X server. The window manager will
focus this xterm and will not return focus to the browser.
6. Compare now-failing tests with baseline. Mark all such tests as
needs-focus.
Comments on specific tests:
editor/reftests/
- spellcheck-input-ref.html and spellcheck-textarea-ref.html focus
input elements and don't work right without the window having focus.
- spellcheck-hyphen-invalid-ref.html and
spellcheck-hyphen-multiple-invalid-ref.html use @autofocus on
textarea.
- 674212-spellcheck.html, 338427-2.html, and
462758-grabbers-resizers.html all wait for onfocus for div elements.
layout/reftests/bugs/
- 652301-1b.html focuses a bogus element with an onfocus handler.
layout/reftests/selection/
- pseudo-element-of-native-anonymous-ref.html .select()s an <input>.
2013-04-04 15:02:30 -04:00
Andrew McCreight
7384898ffb
Bug 852600 - traverse/unlink mStyleSheets in nsHTMLEditor. r=ehsan
2013-04-05 10:03:56 -07:00
Daniel Glazman
8466c9c85a
Bug 857487 - Fix deleting a table row using the inline table editing UI; r=ehsan
2013-04-03 13:40:34 -04:00
matekm
8b16ad0006
Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan
2013-04-02 20:13:10 -04:00
Kyle Machulis
f5e3aadf0b
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
d2b6e6e01a
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
5663b98bc5
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Andrea Marchesini
f824be6f86
Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger
2013-03-28 15:41:32 -04:00
William Chen
4e5268c69a
Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz
2013-03-26 00:15:23 -07:00
Boris Zbarsky
2b8ebb0a5d
Bug 848895 part 2. Null-check the pointer to the editor that the edit rules hold. r=ehsan
2013-03-22 23:47:58 -04:00
Boris Zbarsky
d1287439d0
Bug 848895 part 1. Always hold an on-stack strong reference to mRules when calling into it. r=ehsan
2013-03-22 23:47:57 -04:00
Mike Shal
f290401a73
Bug 852534 - Remove GRE_MODULE from Makefile.in; r=gps
2013-03-21 08:41:00 -07:00
Gregory Szorc
94ec89296d
Bug 844654 - Part 3: Remove now empty Makefile.in files; rs=khuey
...
--HG--
extra : rebase_source : 8de9c7f68a953e574dda22f8c14c2b2ca60444f9
2013-03-19 18:49:07 -07:00
Mike Shal
ea1d9b8ba7
Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps
2013-03-19 11:47:00 -07:00
Phil Ringnalda
454d67c338
No bug, remove trailing whitespace
...
CLOSED TREE
2013-03-18 17:26:08 -07:00
Gregory Szorc
02d1d31696
Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium
2013-03-17 18:01:25 -07:00
Ms2ger
c8f13d74ad
Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking
2013-03-17 09:51:34 +01:00
Jeff Walden
000d820503
Bug 847480 - Blindly convert all existing mozilla::Abs users to mozilla::DeprecatedAbs. Individualized conversions to the reformed mozilla::Abs will continue until mozilla::DeprecatedAbs is unused, at which point it will be removed. r=Ms2ger
2013-03-05 15:43:30 -08:00
Gregory Szorc
3d694a85c0
Merge mozilla-central into build-system
...
dom/interfaces/svg/Makefile.in and dom/media/Makefile.in had merge
conflicts. They were resolved by hand. The former needed 2 IDLs removed.
The latter had a context conflict for EXPORTS_NAMESPACES.
2013-03-12 13:04:55 -07:00
Gregory Szorc
629b5d86c6
Bug 818246 - Part 4: Move XPIDLSRCS into moz.build (auto); rs=glandium
...
This is the result of running
|mach mozbuild-migrate --list XPIDLSRCS SDK_XPIDLSRCS XPIDL_SOURCES| and
reverting xpcom/sample/*.
2013-03-12 10:17:46 -07:00
Trevor Saunders
2bffe03733
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Ms2ger
a75666050c
Bug 847195 - Make NamedNodeMap only deal with Attrs; r=khuey
...
--HG--
rename : dom/interfaces/core/nsIDOMNamedNodeMap.idl => dom/interfaces/core/nsIDOMMozNamedAttrMap.idl
2013-03-10 09:00:33 +01:00
Ms2ger
46e45d4e6a
Bug 840024 - Cleanup nsHTMLEditor::RemoveAttributeOrEquivalent some; r=ehsan
2013-03-10 08:58:34 +01:00
Jim Mathies
ec9fa4a920
Bug 847893 - adjust xul editor test annotations to include Win8. r=ehsan
2013-03-08 05:22:36 -06:00
Jim Mathies
0561e395c6
Bug 847885 - disable test_bug600570 on Win8. r=khuey
2013-03-08 05:22:35 -06:00
Chris Lord
eeb79ae9ad
Bug 716403 - Fix intermittent failure of Bug 795785 test. r=ehsan
...
This test is prone to race conditions, up the timeout wait from 20ms to 100ms.
2013-03-07 10:17:34 +00:00
Ehsan Akhgari
8483161ca5
Bug 848644 - Do not flush when determining if a node is preformatted or not; r=bzbarsky
2013-03-07 01:12:41 -05:00
Ryan VanderMeulen
8cf664a621
Backed out 9 changesets (bug 716403) for Android 4.0 robocop bustage on a CLOSED TREE.
2013-03-06 16:11:05 -05:00
Chris Lord
2a371303bf
Bug 716403 - Fix intermittent failure of Bug 795785 test. r=ehsan
...
This test is prone to race conditions, up the timeout wait from 20ms to 100ms.
2013-03-06 16:56:00 +00:00
Phil Ringnalda
31d866ff72
Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber
2013-03-11 20:10:18 -07:00
Trevor Saunders
39ae246957
bug 825341 - convert range to webidl r=bz, smaug
2013-02-07 07:09:41 -05:00
Ehsan Akhgari
b649e121b2
Attempt to fix bug 622534 by waiting for focus on the test window before running the test
...
Also, remove an unneeded enablePrivilege API call!
2013-03-05 09:41:27 -05:00
Jim Chen
d0739cd1ab
Bug 831144 - Change tests to use Shift+Accel+Z for redo; r=masayuki
2013-03-05 11:08:42 +00:00
Trevor Saunders
8631e44d32
bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger
2013-02-14 10:33:16 -05:00
Jeff Walden
72eca3f9c1
Bug 835542 - Implement mozilla::Abs. r=Ms2ger
...
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Trevor Saunders
1a20d1b3c3
bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug
2013-02-15 15:09:28 -05:00
Boris Zbarsky
d46a52933e
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
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
Aryeh Gregor
6d26d501d6
Bug 795708 - Use more nsCOMPtr; r=ehsan
2012-10-11 12:26:15 +02:00
Peter Van der Beken
a69ce442c1
Fix for bug 773780 (Add API for new DOM bindings for Node). r=bz.
...
--HG--
extra : rebase_source : 5dd51c4ad5274da9235c8c341b0531f234e95a91
2012-10-09 14:31:24 +02:00
Peter Van der Beken
12024180f9
Fix for bug 799464 (Make Element.getElementsBy* return HTMLCollection). r=bz.
...
--HG--
extra : rebase_source : fe059b8ad3b98df9e611899832584cc866db0479
2012-09-26 16:17:47 +02:00
Ehsan Akhgari
00fd9cf2f3
Bug 802884 - Fix a build failure in Visual C++ 2012 because of what seems to be a compiler bug; r=me
2012-10-17 20:07:05 -04:00
Masayuki Nakano
a654e6725b
Bug 705057 part.3 XP level code shouldn't call nsIWidget::ResetInputState() and nsIWidget::CancelIMEComposition() directly r=smaug+ehsan
2012-09-26 14:47:51 +09:00
David Zbarsky
428c858534
Bug 801803: Followup to convert 2 more call sites r=me
2012-10-15 17:39:46 -04:00
Masayuki Nakano
7e60594102
Bug 795785 part.3 Add horizontal scroll test r=smaug
2012-10-15 09:32:53 +09:00
Trevor Saunders
033535ee33
bug 798599 - remove prmem from editor r=ehsan
2012-10-04 02:45:16 -04:00
Ehsan Akhgari
60c0879cc1
Merge mozilla-central into mozilla-inbound
2012-10-10 20:21:13 -04:00
Olli Pettay
0f6bf5eed5
Bug 733305, add a way to hide XBL, r=bz, a=abillings
...
--HG--
extra : rebase_source : df18273ecdbf013138e8e6f1f4ef8082ac4f410c
2012-10-10 22:04:42 +03:00
Aryeh Gregor
9a00ef2602
Bug 793866 - Missing null check in mozInlineSpellChecker::UpdateCurrentDictionary(); r=ehsan
2012-10-10 09:05:16 +02:00
Masayuki Nakano
3df6480630
Bug 795785 part.2 Scroll editor when caret is moved even if it's specified overflow: hidden; r=smaug
2012-10-08 03:45:51 +09:00
Masayuki Nakano
5ac763afdd
Bug 795785 part.1 Editor should scroll the selection into view after edit even when the editor is specified overflow: hidden; r=ehsan,smaug, sr=smaug
2012-10-08 03:45:51 +09:00
Ed Morley
bd0d1f6c0a
Bug 795393 - Remove instances of "ifneq (mobile,$(MOZ_BUILD_APP))" since they're now always true; r=ted
2012-10-06 16:46:09 +01:00
Vladimir Vukicevic
4855a061c6
b=716031 and probably 752808 and 759254; fix test_selection_move_commands by driving RefreshDriver directly; r=ehsan
2012-10-02 14:41:04 -04:00
Ehsan Akhgari
5e6b533bf5
Bug 796839 - Part 4: Don't pretend that empty text nodes are not editable; r=roc
...
This is the real fix for this bug. Previously we mistakenly thought
that if a text node is empty (or has only whitespace content), it is not
editable. This patch removes that check completely and makes us treat
text nodes the same way that we treat element nodes.
2012-10-03 21:25:00 -04:00
Ehsan Akhgari
3ac41e17eb
Bug 796839 - Part 3: Don't get the inline properties from empty text nodes; r=roc
...
This is basically the equivalent of the previous part, just for getting
the inline properties.
2012-10-04 20:58:00 -04:00
Ehsan Akhgari
beb0d8fe09
Bug 796839 - Part 2 - Don't set inline properties on empty text nodes; r=roc
...
This part, similar to the previous one, ensures that we skip empty text
nodes when setting inline properties. Previously we were implicitly
getting this behavior becasue we were calling IsEditable, but we need to
be explicit about this.
2012-10-04 20:37:45 -04:00
Ehsan Akhgari
7a5a838773
Bug 796839 - Part 1: Make sure not to try wrapping empty text nodes when applying alignment in editable regions; r=roc
...
The code here is just missing this condition, and this patch is needed
to make the last part of this series pass tests. Previously,
nsEditor::IsEditable would return false when it hit an empty text node,
which implied this property almost by accident. This check makes this
property explicit, so this patch by itself doesn't really change
semantics.
2012-10-04 11:34:58 -04:00
Vladimir Vukicevic
9ac4c07c1b
b=768838; fix intermittent test_bug549262 failure; r=ehsan
2012-10-01 17:51:28 -04:00
Isaac Aggrey
0cc4b12d36
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
Matt Woodrow
e79b288e75
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Aryeh Gregor
b1198b8031
Bug 787432 - Don't strip existing empty wrappers when inserting text; r=ehsan
2012-09-27 14:39:39 +02:00
Ed Morley
5a3b322459
Revert mozilla-inbound to e4dd1fa6d222 for crashes and test failures on a CLOSED TREE
2012-09-27 16:34:46 +01:00
Matt Woodrow
6bcc0bc124
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
...
* * *
[mq]: test-fixes
2012-08-29 17:48:13 +12:00
Bobby Holley
5af5a73d3d
Bug 792036 - Automated fixups. r=mccr8
...
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components | xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
c64d31c5e0
Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
...
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Ehsan Akhgari
70ba385729
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Ehsan Akhgari
b5e6628199
Bug 791907 - Remove prtypes.h #includes in editor/; r=jrmuizel
...
--HG--
extra : rebase_source : 93c2e11edeaa2f7275302a2c7499aa09c330da14
2012-09-17 22:58:51 -04:00
Koosha Khajeh Moogahi
e98cd6bf45
Bug 788242: Implement and make use of void versions of NS_ENSURE_* macros; r=ehsan,bsmedberg
2012-09-14 14:30:31 +04:30
Aryeh Gregor
1abd4f03af
Bug 788950 - Prevent mRules from dying in DoInsertHTMLWithContext; r=ehsan
2012-09-16 13:13:31 +03:00
Mark Capella
3ea938ca2a
Bug 785091 - Remove nsIEditorObserver, r=ehsan
2012-09-17 11:14:56 -04:00
Andrew McCreight
1c528bccf1
Bug 775868 - fix more tests. r=bholley
2012-09-10 12:44:29 -07:00
Neil Deakin
59e5916a21
Bug 788404, return unconditionally from attempts to insert from drop to prevent mutliple copies of text from appearing in contenteditable areas, r=ehsan
2012-09-07 15:57:10 -04:00
Isaac Aggrey
d06a20d381
Bug 785131 - Don't process any node when aChildrenOnly is set; r=ehsan
2012-08-23 12:17:43 -05:00
Abhishek Potnis
699ad0df14
Bug 777925 : Removes HTML editor logging support; r=ehsan
2012-09-04 21:18:59 +05:30
Randell Jesup
29ac5c0b8c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Ehsan Akhgari
50220bae33
Bug 785574 - Add a script blocker in nsHTMLEditor::SetAttributeOrEquivalent; r=bzbarsky
2012-08-29 16:43:32 -04:00
Andrew McCreight
0d31841b85
Bug 750570, part 4 - Switch most native CC classes to use the purple buffer. r=smaug
...
This patch actually converts over most of the existing native CC classes
to use the participant. This is done by converting them to use
the newly generalized nsCycleCollectingAutoRefCnt instead of their usual
ref count.
This is mostly a matter of defining new macros defining AddRef() and Release()
for native CC classes with the CC ref count.
nsTimeout is left as a legacy native CC class because it is a weird class,
but hopefully eventually it too can be converted over. See bug 774874.
2012-08-24 09:50:06 -07:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Isaac Aggrey
2538067979
Bug 711862 - Do not process the node itself in nsHTMLEditor::RemoveStyleInside if the caller requests only children to be modified; r=ehsan
2012-08-21 14:31:19 -04:00
Ian Melven
915cb4516e
Bug 341604 - Implement HTML5 sandbox attribute for IFRAMEs r=smaug r=jst
2012-08-20 11:34:32 -07:00
Kent James
d99d32e97c
Bug 780908 - Fix crash in editor with head after body. r=ehsan
2012-08-17 08:39:52 -07:00
Neil Deakin
d75704590a
Bug 775110, allow data from the same domain to be dropped in editor fields, r=ehsan
2012-08-15 15:35:08 -04:00
Aryeh Gregor
3b8242bb74
Bug 782252 - Don't return nsresult from main() (editor/); r=ehsan
2012-08-07 20:17:26 +03:00
Aryeh Gregor
3304e571cb
Bug 782252 - Cast NS_ENUMERATOR_FALSE to nsresult; r=ehsan
2012-08-07 17:54:44 +03:00
Aryeh Gregor
982100775b
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Aryeh Gregor
f3f6d013cb
Bug 780035 - Don't cache font-style as CSS; r=ehsan
2012-08-14 12:10:43 +03:00
Aryeh Gregor
f9b558f81c
Bug 751554 part 5 - Rename OperationID to EditAction; r=ehsan
2012-08-12 21:28:26 +03:00
Ed Morley
6f3226343f
Merge mozilla-central to mozilla-inbound
2012-08-09 12:51:21 +01:00
Ed Morley
991653b152
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-08-09 12:46:05 +01:00
Ms2ger
de02017227
Bug 780502 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:11 +02:00
Ms2ger
47bb1e7649
Bug 179956 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:06 +02:00
Ms2ger
def458727b
Bug 461440 - Remove unsound assertion; r=ehsan
2012-08-09 09:20:01 +02:00
Aryeh Gregor
4606a0dcdd
Bug 778428 - Refcount arrays of nodes in editor/; r=ehsan
2012-08-01 11:17:51 +03:00
Aryeh Gregor
d4bd5ae8f9
Bug 751554 part 4 - Make nsEditor::OperationID an enum class; r=ehsan
2012-08-01 15:22:07 +03:00
Aryeh Gregor
72ab16a773
Bug 751554 part 3 - Fix OperationID type errors; r=ehsan
2012-08-01 15:20:59 +03:00
Bobby Holley
943789da00
Bug 778420 - Fix up tests that don't like the new enablePrivilege. r=jmaher
...
--HG--
extra : rebase_source : 1158df4a4eb917074204e649efd8f2b8e699f115
2012-08-03 22:19:54 +02:00
William Chen
60fc0f1ee6
Bug 778420 - Initial stab at the tests. v2 r=bholley
...
--HG--
extra : rebase_source : c24abc031c82a87f2f669e4b708f8ee364a9682b
2012-08-06 22:15:49 +02:00
Matt Brubeck
f182e2619f
Bug 779551 - Mark spellcheck-superscript-2.html as failing on native Android, so reftest-3 can be unhidden; rs=edmorley
2012-08-05 13:20:23 +01:00
Ms2ger
cb4d106015
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Mike Hommey
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ed Morley
4eb11bee72
Revert inbound to 3d5d1daa2505 to stop OS X M5 failures (backout not clean/could have been a bad merge) on a CLOSED TREE
2012-08-04 18:05:15 +01:00
Ms2ger
b927c10310
Bug 716822 - Move attributes and methods on nsIDOMNSEvent to nsIDOMEvent; r=smaug
2012-08-04 09:44:00 +02:00
Aryeh Gregor
5f2eb8fa49
Bug 777529 - Don't spellcheck Unicode numbers; r=ehsan
2012-07-31 11:50:04 +03:00
Aryeh Gregor
2e7996f8d1
Bug 777292 - Convert incorrect conversions to nsresult and fix named constants; r=ehsan
2012-07-27 16:59:29 +03:00
Aryeh Gregor
15948adb1f
Bug 291789 part 3 - Try not to ever delete across table boundaries; r=ehsan
2012-07-27 17:03:28 +03:00
Aryeh Gregor
50c71e5430
Bug 291789 part 2 - Clean up nsHTMLEditRules::InDifferentTableElements; r=ehsan
2012-07-27 17:03:28 +03:00
Aryeh Gregor
bcae4447b0
Bug 291789 part 1 - Make various nsHTMLEditUtils methods take nsINode instead of Element; r=ehsan
2012-07-27 17:03:28 +03:00
Ehsan Akhgari
c80897316e
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
43d640b048
Bug 777292 - Use assert for arg validity in nsHTMLAnonymousUtils' GetCSSFloatValue instead of NS_ENSURE_ARG_POINTER; r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
392e16dd0f
Bug 777292 - exit(-1) instead of exit(NS_ERROR_FAILURE); r=ehsan
2012-07-27 17:03:25 +03:00
Aryeh Gregor
8e459312df
Bug 777292 - editor/: Remove conversions to nsresult that will always result in NS_SUCCEEDED; r=ehsan
2012-07-27 16:46:48 +03:00
Ehsan Akhgari
504cf60dcf
Bug 778028 - Build editor/ in parallel; r=khuey
2012-07-26 22:24:27 -04:00
Ehsan Akhgari
fe6dab4157
Bug 777949 - Make the editor Makefile.in's splendid; r=khuey
...
--HG--
extra : rebase_source : cc24614034ecaa18260fdc16654d18d2ef844c7f
2012-07-26 21:57:31 -04:00
Ehsan Akhgari
e34d0578e3
Bug 777937 - Remove the useless EXPORTS rule from editor/public/Makefile.in; r=khuey
...
--HG--
extra : rebase_source : 227bc8019a86a7f114677464a905625c57b4fa94
2012-07-26 21:55:53 -04:00
Jonathan Watt
6d65d0d7d5
Bug 776686 - Remove bogus include path from Editor. r=ehsan.
2012-07-23 21:28:30 +01:00
Aryeh Gregor
4e600e3af2
Bug 776323 part 2 - Clean up nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
173e1ecf2d
Bug 776323 part 1 - Fix crash due to silly logic error in nsSelectionState::SaveSelection; r=ehsan
2012-07-23 13:27:22 +03:00
Aryeh Gregor
0c8f5adf50
Bug 626472 part 1 - Define nsnull as nullptr where available; r=ehsan
2012-07-20 14:16:17 +03:00
Aryeh Gregor
918b41fe77
Bug 772332 part 1 - Make nsWSRunObject's type enum type-safe; r=ehsan
2012-07-13 09:33:43 +03:00
Aryeh Gregor
6ac2e9b0e4
Bug 775552 - Don't access siblings of nodes that might be deleted; r=ehsan
2012-07-13 09:33:42 +03:00
Aryeh Gregor
6afedf732a
Bug 768756 part 4 - Clean up nsHTMLCSSUtils::GetCSSInlinePropertyBase; r=ehsan
2012-07-08 13:31:53 +03:00
Aryeh Gregor
3f9e983ef3
Bug 768756 part 3 - Get rid of nsHTMLCSSUtils::GetDefaultViewCSS; r=ehsan
2012-07-08 12:50:31 +03:00
Aryeh Gregor
7a72ed38f8
Bug 768756 part 1 - Use enum in nsHTMLCSSUtils for computed/specified style; r=ehsan
2012-07-06 14:50:07 +03:00
Masayuki Nakano
e947c93f9f
Bug 751749 part.3 Editor should handle Win key as a modifier key r=ehsan
2012-07-19 10:28:17 +09:00
Ehsan Akhgari
89a464a6cb
Bug 771976 - Part 3: Make sure that nsEditorSpellCheck's refcount doesn't go down prematurely; r=roc
...
--HG--
extra : rebase_source : 08c052ed543bbdcb8bc2c084e8aff24fbd4b40a5
2012-07-17 23:02:00 -04:00
Jared Wein
c186c238d0
Bug 754169 - Fix intermittent orange related to imprecise scrolling positions in test. r=ehsan
2012-07-17 11:40:49 -04:00
Ehsan Akhgari
989a0759e3
Bug 771976 - Part 2: Make sure that nsEditorSpellCheck's refcount doesn't go down prematurely; r=roc
2012-07-17 00:01:15 -04:00
Aryeh Gregor
2c69b5ad68
Bug 773262 - Re-add SetMaxTransactionCount call incorrectly removed by bug 765595 part 2; r=ehsan
2012-07-15 09:11:47 +03:00
Aryeh Gregor
eb15649aa5
Bug 772807 - Clean up editor/ includes with include-what-you-use; r=ehsan
2012-07-13 09:33:42 +03:00
Aryeh Gregor
4fe4e6539d
Bug 771994 - Make nsRangeStore refcounted; r=ehsan
2012-07-13 09:31:15 +03:00
Makoto Kato
35bbe30c30
Bug 772327 - Password mask timer is too short on Android. r=blassy
2012-07-13 11:26:20 +09:00
Sankha Narayan Guria
e1b70ac4df
Bug 770812 - Remove nsIEditorSupport; r=ehsan
2012-07-11 18:06:02 -04:00
Aryeh Gregor
4ee48abbf5
Bug 772282 - Hold on to nodes when we delete them in nsEditor::MoveNode; r=ehsan
2012-07-11 10:51:13 +03:00
Ehsan Akhgari
3591cf9669
Bug 772346 - Hold a strong ref to the child node in nsHTMLEditRules::DeleteNonTableElements; r=roc
...
--HG--
extra : rebase_source : 45e35f3c2ce9513a3e48fb801403ff59c0562412
2012-07-10 16:06:48 -04:00
Aryeh Gregor
ca7c169297
Bug 771983 - Re-add non-debug null check to nsEditor::GetNodeLocation; r=ehsan
2012-07-10 09:53:59 +03:00
Aryeh Gregor
b99d144ca3
Bug 771435 - Fix nsEditor::DoTransaction to use transaction interfaces sanely; r=ehsan
2012-07-09 11:41:47 +03:00
Aryeh Gregor
acbe12b416
Bug 771749 - Fix dangling pointer in nsEditor::RemoveContainer; r=ehsan
2012-07-09 11:41:47 +03:00
Ryan VanderMeulen
54b1ac51b6
Merge m-c to inbound.
2012-07-09 20:53:11 -04:00
Olli Pettay
4bd4108ce2
Bug 771961, fix a regression from Bug 756750, r=ehsan
2012-07-09 23:52:31 +03:00
Luqman Aden
591dff9c8a
Bug 770814 - Make nsEditor::GetNodeLocation return already_AddRefed<nsIDOMNode> instead of having it as an out param; r=ehsan
2012-07-08 20:45:12 -04:00
Aryeh Gregor
66e50b4b82
Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan,bz
2012-07-05 10:45:08 +03:00
Nathan Froyd
5b30baa4c3
Bug 370750 - consolidate mochitest files installation; r=glandium
...
With assistance on the patch from Ms2ger, Waldo, and Mossop.
2012-07-03 16:49:02 -04:00
Makoto Kato
70a261905e
Bug 769533 - Part 1. Replace AppendWithConversion with others. r=jlebar
2012-07-06 18:43:28 +09:00
Aryeh Gregor
3beb0bfd34
Bug 765595 part 4 - Make nsEditor::DoAfter*Transaction infallible; r=ehsan
2012-07-05 10:45:09 +03:00
Aryeh Gregor
bc414e9c49
Bug 765595 part 3 - Make PeekUndoStack/PeekRedoStack infallible; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
383608c823
Bug 765595 part 2 - De-COMtaminate nsEditor::mTxnMgr; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
597b901972
Bug 765595 part 1 - Clean up nsEditor::DoTransaction; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
51a3aa4b5b
Bug 766025 - Remove incorrect assert in DeleteTextTxn::Init; r=ehsan
2012-06-19 16:21:48 +03:00
Aryeh Gregor
cd62d0322c
Bug 769967 part 5 - Don't special-case -moz-user-select: all elements for deletion; r=ehsan
2012-07-02 16:25:33 +03:00
Aryeh Gregor
18fa0731af
Bug 767684 Test to prevent regression from bug 752210 happening again r=ehsan
2012-07-05 21:35:10 +01:00
Neil Rashbrook
15d0c6dd6c
Bug 767684 Fix regression from bug 752210 r=ehsan
2012-07-05 21:33:10 +01:00
Aryeh Gregor
158c6a92b5
Backed out changeset f49e52ee86f3, insufficient review
2012-07-05 11:51:18 +03:00
Aryeh Gregor
a718fdad44
Bug 767169 part 3 - Use script runner for nsHTMLEditor::ResetRootElementAndEventTarget; r=ehsan
2012-07-05 10:45:08 +03:00
Aryeh Gregor
857375332d
Bug 768765 - Fix assert in nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-07-02 16:31:49 +03:00
Aryeh Gregor
e7a8c5d478
Bug 769967 part 4 - Rename DeleteElementTxn to DeleteNodeTxn; r=ehsan
...
--HG--
rename : editor/libeditor/base/DeleteElementTxn.cpp => editor/libeditor/base/DeleteNodeTxn.cpp
rename : editor/libeditor/base/DeleteElementTxn.h => editor/libeditor/base/DeleteNodeTxn.h
2012-06-19 16:23:36 +03:00
Aryeh Gregor
aa6eaad2df
Bug 769967 part 3 - Clean up DeleteElementTxn and nsEditor::DeleteNode; r=ehsan
2012-06-19 16:23:36 +03:00
Aryeh Gregor
34bda3a6b6
Bug 769967 part 2 - Clean up nsEditor::GetNodeLocation; r=ehsan
2012-07-02 15:07:57 +03:00
Aryeh Gregor
59797949ac
Bug 769967 part 1 - Clean up nsEditor::GetChildOffset; r=ehsan
2012-07-02 14:42:19 +03:00
Aryeh Gregor
5dc7614205
Bug 768748 part 2 - Rewrite nsHTMLEditRules::GetPromotedPoint; r=ehsan
2012-07-01 14:53:45 +03:00
Aryeh Gregor
6ddc2a97b5
Bug 768748 part 1 - Clean up nsHTMLEditor::IsNext/PrevCharWhitespace; r=ehsan
2012-07-01 14:07:16 +03:00
Ehsan Akhgari
2e13064d3a
Merge backout of DLBI from mozilla-central
2012-07-03 20:53:08 -04:00
Ehsan Akhgari
52053459a3
Bug 330868 - Fall back to assuming that we have retrieved HTML data from the clipboard if it lies to us saying that it has returned CF_HTML; r=roc
2012-07-03 20:44:46 -04:00
Ehsan Akhgari
729030ee5b
Backout changeset e04abde1b323 (bug 539356) because of performance and correctness regressions
2012-07-03 20:21:03 -04:00
Ehsan Akhgari
7cfd589dca
Backed out changeset 0f1a8f17bfdf because the patch was not reviewed!
2012-07-03 18:04:35 -04:00
Ehsan Akhgari
0897eb962f
Bug 330868 - Fall back to assuming that we have retrieved HTML data from the clipboard if it lies to us saying that it has returned CF_HTML; r=roc
2012-07-03 18:03:22 -04:00
Ed Morley
b0cc4dae44
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-07-02 10:03:16 +01:00
Ms2ger
26b13a6a2d
Bug 770013 - Cleanup NodeIsBlockStatic/IsBlockNode a bit; r=ehsan
2012-07-01 21:53:16 +02:00
David Zbarsky
cd3c58ee76
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ekanan Ketunuti
1b8f5b60ad
Bug 769913 - TestTXMgr.cpp should use fail() from TestHarness.h; r=ehsan
2012-06-30 23:56:18 +07:00
Aryeh Gregor
fe8e98a3f0
Bug 767169 part 2 - Handle lastCandidate being null in nsContentSubtreeIterator::Init; r=bz
2012-06-28 14:29:56 +03:00
Ehsan Akhgari
2df811342b
Bug 769008 - Don't pass a null node to GetBlockNodeParent; r=roc
2012-06-29 18:43:08 -04:00
Matt Woodrow
4b10a2b53c
Bug 539356 - Part 10 - Test changes required for DLBI. r=roc
2012-06-30 15:06:11 +12:00
Ehsan Akhgari
a95b6edeea
Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
...
This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
2012-04-16 22:14:01 -04:00
Aryeh Gregor
ccc8365e72
Bug 766845 part 3 - Fix assertion in DeleteRangeTxn; r=ehsan,surkov
2012-06-25 14:44:40 +03:00
Aryeh Gregor
4847cf79a0
Bug 766845 part 1 - Clean up DeleteRangeTxn; r=ehsan
2012-06-25 13:22:49 +03:00
Jonathan Watt
9ac7bb2267
Bug 767388 - Kill NS_DEBUG. r=bz.
...
--HG--
extra : rebase_source : d045208a26345712dbb4628c973c616cd9504f28
2012-06-25 20:59:42 +01:00
Aryeh Gregor
b89be6ee43
Bug 766387 - Make editing commands disabled in more cases; r=ehsan
2012-06-24 17:39:11 +03:00
Aryeh Gregor
c3c04b9ab7
Bug 766360 - Rewrite nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-06-21 15:54:26 +03:00
Aryeh Gregor
746e74a592
Bug 760052 - execCommand() should abort and return false for disabled commands; r=ehsan
2012-06-21 15:05:24 +03:00
Aryeh Gregor
b1a4eb7966
Back out bac4434b31d2 for test failures
2012-06-24 10:30:34 +03:00
Aryeh Gregor
da0b199401
Back out 66b3801292a0 for test failures
2012-06-24 10:30:13 +03:00
Aryeh Gregor
e6e1d6b4e8
Bug 766795 - Fix asserts when placing cursor in editable detached content; r=roc,ehsan
2012-06-24 09:54:43 +03:00
Aryeh Gregor
915bf0a509
Bug 766387 - Make editing commands disabled in more cases; r=ehsan
2012-06-24 09:54:43 +03:00
Aryeh Gregor
719b1e1343
Bug 766360 - Rewrite nsEditor::DeleteSelectionAndPrepareToCreateNode; r=ehsan
2012-06-21 15:54:26 +03:00
Aryeh Gregor
d6b1883aab
Bug 766305 - WSFragment should use PRInt32 for offsets, not PRInt16; r=ehsan
2012-06-24 09:54:42 +03:00
Aryeh Gregor
a272f65e82
Bug 766413 - Fix crash in nsEditor::CreateTxnForDeleteInsertionPoint; r=ehsan on a CLOSED TREE
2012-06-20 15:48:02 +01:00