Commit Graph

3262 Commits

Author SHA1 Message Date
Trevor Saunders
99d8dc50c9 bug 659722 - remove _IMPL_NS_LAYOUT r=bz 2013-03-16 00:31:38 -04:00
Neil Deakin
8e1b7d6683 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
cf5e28e06b Bug 902111 - Forward-declare nsIFrame in nsISelectionPrivate.h; r=bzbarsky 2013-08-06 16:19:11 -04:00
Mike Hommey
2e729aa83d Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Neil Rashbrook
780648d5ee Bug 898438 nsITableEditor.getCellAt doesn't default to the current table r=ehsan 2013-07-28 11:04:09 +01:00
Ms2ger
5a7acb357d Bug 896283 - Part c: Use nsINode in nsEditor::JoinNodesImpl; r=ehsan 2013-07-24 09:39:08 +02:00
Ms2ger
0f6addda9f Bug 896283 - Part b: Reindent nsEditor::JoinNodesImpl; r=ehsan 2013-07-24 09:39:04 +02:00
Ms2ger
d504c9941b Bug 896283 - Part a: Remove a useless argument from nsEditor::JoinNodesImpl; r=ehsan 2013-07-24 09:39:01 +02:00
L. David Baron
a7c8d44db9 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
49adbae7e2 Bug 587461 - Don't split out of ancestors in insertHTML r=ehsan 2013-04-04 17:27:41 +03:00
Trevor Saunders
f33ade0d68 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
751dda07cd Bug 282097 - Part 8: Clean up test expectations. r=masayuki 2013-07-10 09:13:14 -05:00
Ryan VanderMeulen
d806e1e244 Merge m-c to inbound. 2013-07-10 09:45:16 -04:00
Ms2ger
8a2ff3f63f Bug 890833 - Cleanup nsEditor::MoveNode; r=ehsan 2013-07-10 12:03:38 +02:00
Olli Pettay
b002b30b2a 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
Justin Lebar
051c5b560a 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
11bcc1cd9e 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
Aryeh Gregor
f3ede57267 Bug 674927 - Part 3: Make the spellcheck attribute work correctly for contenteditable; r=ehsan 2013-06-19 16:54:53 -04:00
Martin Stransky
d8da1b5a38 Bug 877626 - Port GTK2 to GTK3 - build config, rest of the tree. r=karlt 2013-06-12 08:04:28 -04:00
Ms2ger
752aed9619 Bug 880999 - Use do_QueryObject for nsIAbsorbingTransaction; r=ehsan 2013-06-12 09:00:08 +02:00
Drew Willcoxon
8966c4d61e Bug 856270 - Update spell checking to use nsIContentPrefService2 (part 3: update other tests). r=ehsan 2013-06-05 17:07:54 -07:00
Andrew McCreight
60ea412b96 Bug 874583 - Use NS_IMPL_CYCLE_COLLECTION_INHERITED_n in more places. r=smaug 2013-05-21 16:23:53 -07:00
Mike Shal
5169c0a913 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
cc2db4daf4 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
3f8ff3ca06 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
a54b2183fe 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
Olli Pettay
51b5cc9bf9 Bug 862309, remove useless warning about missing presshell, r=mats
--HG--
extra : rebase_source : 5f77555a3a24bc27cb3ce4422d6f06e1d4b97ab3
2013-05-15 14:38:05 +03:00
JosiahOne
4b2747cd47 Bug 868432 - Alter tests to be aware of delayed changes in scrolling. r=roc 2013-05-08 22:25:09 -04:00
Gavin Sharp
4d947b6985 Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen
048824e68e 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
1372a3cf1c 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
9c1f94b576 Bug 859817 - Make NS_NewAtom return already_AddRefed; r=bz 2013-04-22 14:13:22 +03:00
Cykesiopka
84eebaf3c9 Bug 645402 - Remove ToInteger() workarounds in mozilla-central. r=bz 2013-04-24 08:36:09 -04:00
David Zbarsky
23d55db958 Bug 862118 - Remove GetAttributeToModifyOnNode r=ehsan 2013-04-17 00:35:39 -04:00
Ehsan Akhgari
575b423ef1 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
89c7bcdad0 Bug 857820 part.2 Drop <blink> support from editor r=ehsan 2013-04-14 19:11:07 +09:00
Joshua Cranmer
5c31b481cd 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
0021e7aaee 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
8f48bceea0 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
78fb6d6639 Bug 857617 - Clean up nsEditor::InsertTextImpl; r=ehsan 2013-04-04 15:02:24 +03:00
Aryeh Gregor
329a95c725 Bug 857102 part 5 - Make NS_NewDocumentFragment etc. infallible; r=bz 2013-04-10 17:15:54 +03:00
Ralph Giles
184a2e6f46 Bug 857022 - Remove MOZ_MEDIA from parser. r=smaug
Enable this code unconditionally.
2013-04-04 14:08:00 -07:00
Andrew McCreight
55f3717625 Bug 852600 - traverse/unlink mStyleSheets in nsHTMLEditor. r=ehsan 2013-04-05 10:03:56 -07:00
Daniel Glazman
2f7c20db96 Bug 857487 - Fix deleting a table row using the inline table editing UI; r=ehsan 2013-04-03 13:40:34 -04:00
matekm
e28599d0e9 Bug 784739 - Switch from NULL to nullptr in editor/; r=ehsan 2013-04-02 20:13:10 -04:00
Kyle Machulis
72a717a860 Bug 855465 - Add emacs python mode comments to moz.build files; r=gps 2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867 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
334c0800cf 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
e575c7855f Bug 825196 - Convert HTMLInputElement to WebIDL. r=Ms2ger 2013-03-28 15:41:32 -04:00
William Chen
591ce8a1df Bug 818976 - Part 2: Implement template element interface. r=mrbkap,bz 2013-03-26 00:15:23 -07:00
Boris Zbarsky
dfa00a245d 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
cdbe50e3df 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
7ecea60097 Bug 844654 - Part 2: Move MODULE to moz.build; rs=gps 2013-03-19 11:47:00 -07:00
Phil Ringnalda
c0f2c5d7d1 No bug, remove trailing whitespace
CLOSED TREE
2013-03-18 17:26:08 -07:00
Gregory Szorc
7d09ff18e0 Bug 844635 - Part 3: Remove empty Makefile.in files; r=glandium 2013-03-17 18:01:25 -07:00
Ms2ger
4ec472b450 Bug 844134 - Move the 'attributes' property from Node to Element; r=sicking 2013-03-17 09:51:34 +01:00
Jeff Walden
5ec763f216 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
Trevor Saunders
585a307b78 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Phil Ringnalda
97983b5f15 Back out fee79a593fd3 and 2c8930343985 (bug 825341) for having probably needed-clobber 2013-03-11 20:10:18 -07:00
Trevor Saunders
bcb6f556e0 bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Ms2ger
89fffd12a6 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
01c2953332 Bug 840024 - Cleanup nsHTMLEditor::RemoveAttributeOrEquivalent some; r=ehsan 2013-03-10 08:58:34 +01:00
Jim Mathies
e36cc5cae3 Bug 847885 - disable test_bug600570 on Win8. r=khuey 2013-03-08 05:22:35 -06:00
Chris Lord
5d847f2672 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
4ca49286bc 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
e67ae46cb3 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
cd6b85e091 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
Ehsan Akhgari
e2f4dd6498 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
e8d019f886 Bug 831144 - Change tests to use Shift+Accel+Z for redo; r=masayuki 2013-03-05 11:08:42 +00:00
Trevor Saunders
efd4042c8d bug 846487 - remove remaining usage of some nsIDOMFooElement r=Ms2Ger 2013-02-14 10:33:16 -05:00
Jeff Walden
1871e9f3f8 Bug 835542 - Implement mozilla::Abs. r=Ms2ger
--HG--
extra : rebase_source : a3e62ff76365d27cc4cb10e4fee942ddb8b10b79
2013-02-15 19:55:36 -08:00
Trevor Saunders
c214d0f60b bug 845562 - remove GetFrameSelection() from nsISelectionPrivate r=smaug 2013-02-15 15:09:28 -05:00
Boris Zbarsky
4db505431f 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
c952e87e03 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
8f02848ab6 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
0c8ee65118 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
aea301eee3 Merge m-c to b-s. 2013-02-26 19:09:25 +01:00
Gregory Szorc
3261cd9955 Bug 784841 - Part 18l: Convert /editor; r=glandium f=Ms2ger 2013-02-25 12:47:20 -08:00
Boris Zbarsky
0bc630a626 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
49b7670edf 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
da7352fc49 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)
1029c5c255 Bug 839371 - Implement HTML5 <data> element. r=smaug 2013-02-26 15:19:05 -05:00
Boris Zbarsky
247b3cc18a 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)
3de3f07473 Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen 2013-02-22 10:07:42 -05:00
L. David Baron
a8ee400190 Bug 404077: Annotate known assertions in mochitests. 2013-02-25 18:39:21 -08:00
Ehsan Akhgari
e5166004a9 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
9d52ece477 Bug 838582 - Part 2: Move HTMLTextAreaElement to Web IDL bindings; r=bzbarsky 2013-02-19 00:54:23 -05:00
Ryan VanderMeulen
b30facb288 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
84ff151c43 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)
5c015b3fea Bug 629801 Implement HTML5 <time> element. r=smaug, peterv, hsivonen 2013-02-22 10:07:42 -05:00
Trevor Saunders
1b867cc29f bug 825341 - convert range to webidl r=bz, smaug 2013-02-07 07:09:41 -05:00
Mike Conley
ff4ef584a4 Bug 841811 - Remove deprecated enablePrivilege from test added in bug 790475. r=ehsan. 2013-02-19 10:29:30 -05:00
Olli Pettay
086231e1f3 Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 18:32:32 +02:00
Ryan VanderMeulen
110b93a86b Backed out changeset 645cb4fbf390 (bug 842132) for build bustage. 2013-02-18 11:12:16 -05:00
Olli Pettay
1c590f24a4 Bug 842132 - Crash with contentEditable, selection.deleteFromDocument with overlapping selection ranges, r=tbsaunde 2013-02-18 17:33:49 +02:00
L. David Baron
c5b9eee040 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
c1b3c1ac36 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
7722fdab93 bug 841706 - remove nsSelectionIterator r=smaug 2013-02-15 05:52:57 -05:00
Trevor Saunders
fda9efaa98 bug 841430 - nuke nsIEditorDocShell r=bz 2013-02-13 17:39:30 -05:00
Trevor Saunders
5e1d5f264c bug 839051 - remove usage of nsISelectionPrivate::GetEnumerator() r=smaug 2013-02-07 09:17:47 -05:00