Commit Graph

1667 Commits

Author SHA1 Message Date
Mats Palmgren
f9e0595bf5 Bug 1008917 - part 9,10, make DidReflow() return type 'void'. r=roc 2014-05-13 00:47:53 +00:00
Mats Palmgren
5023eccc38 Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc 2014-05-13 00:47:52 +00:00
Wes Kocher
4bfe3c39fd Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Mats Palmgren
7308c8e3c4 Bug 1008917 - part 9,10, make DidReflow() return type 'void'. r=roc 2014-05-12 17:40:29 +00:00
Mats Palmgren
3272848305 Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc 2014-05-12 17:40:28 +00:00
Andrew McCreight
d4269e7eba Bug 1008404 - nsTreeBoxObject and ArchiveZipFile should invoke their parents's Traverse/Unlink. r=smaug 2014-05-12 10:01:28 -07:00
Andrew McCreight
6643c9568d Bug 972601, part 6 - Replace nsDFAState with uint32_t in nsXULTreeStyleCache. r=dbaron
It is now a pointless wrapper around uint32_t.
2014-05-09 09:49:54 -07:00
Andrew McCreight
4558dbae2c Bug 972601, part 5 - Convert nsTreeStyleCache::mTransitionTable to nsClassHashtable. r=dbaron
This also turns nsTransitionKey into an inner class of nsTreeStyleCache, and changes it from an nsHashKey to a class to be used with nsGenericHashKey.

It also changes the intermediate values of the hash computation to uints, instead of signed ints, as that seems more right.
2014-05-09 09:49:53 -07:00
Andrew McCreight
a376fb5a71 Bug 972601, part 4 - Convert nsTreeStyleCache::mCache to nsRefPtrHashtable. r=dbaron 2014-05-09 09:49:53 -07:00
Andrew McCreight
e856584248 Bug 972601, part 3 - Make nsTreeStyleCache use auto pointers for its hashtables. r=dbaron 2014-05-09 09:49:53 -07:00
Andrew McCreight
7900113533 Bug 972601, part 2 - Delete trailing whitespace from nsXULTreeStyleCache. r=dbaron 2014-05-09 09:49:53 -07:00
Andrew McCreight
c96eb50fb5 Bug 972601, part 1 - Get rid of pointless start state in nsTreeStyleCache::GetStyleContext. r=dbaron 2014-05-09 09:49:53 -07:00
Benoit Jacob
2e1ef0025a Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg 2014-05-08 21:03:35 -04:00
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Neil Deakin
21719f3cb3 Bug 1001234, disable arrow panel animation on linux, r=dao 2014-05-06 08:33:12 -04:00
Birunthan Mohanathas
ff8ce9bd42 Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj 2014-04-27 03:06:00 -04:00
Birunthan Mohanathas
4de1915f30 Bug 900903 - Part 2: Change uses of numbered macros in nsCycleCollectionParticipant.h to the variadic variants. r=smaug 2014-04-25 12:49:00 -04:00
Ehsan Akhgari
15916f4738 Bug 491863 - Remove IBMBIDI; r=roc 2014-04-23 21:15:29 -04:00
Adrian Lungu
ad51575296 Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst 2013-10-15 18:35:44 -07:00
Boris Zbarsky
ac9f0ba11d Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
938ba48ab7 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Daniel Holbert
ce29c5307d Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc 2014-04-14 21:30:25 -07:00
Geoff Brown
e5a312f133 Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey 2014-04-09 08:38:44 -06:00
Neil Deakin
95106b3372 Bug 991542, draw windows drop shadows from panels in content shells, r=tn 2014-04-09 09:31:06 -04:00
Boris Zbarsky
35fca5eeeb Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10 Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
This patch was mostly generated with this command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""

plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Neil Deakin
23aafffd3a Bug 610545, add cycle collection to TransitionEnder to prevent leak, r=smaug 2014-04-08 08:45:52 -04:00
Neil Deakin
370e8b6a98 Bug 610545, check for a transition earlier to avoid assertion if a panel is opened while it is closing, r=neil 2014-04-08 08:45:52 -04:00
Neil Deakin
bb6f287853 Bug 610545, arrow panels should animate when opening and when cancelling, r=neil,dao 2014-04-08 08:45:52 -04:00
Neil Deakin
83460d86bc Bug 992229, convert device to css pixels before setting menupopup position after move or resize, r=tn 2014-04-08 08:45:52 -04:00
Timothy Nikkel
974f806ba5 Bug 990631. When processing a native window move for a popup compare the new position with the actual position we expect to popup to be at. r=enndeakin
The ScreenPosition() (which looks at mScreenX/YPos) doesn't actually hold the screen position for anchored popups.
2014-04-04 18:59:03 -05:00
Masayuki Nakano
ff8b968574 Bug 990855 part.2 Remove dom/events from local includes of moz.build files r=smaug 2014-04-03 13:18:38 +09:00
Masayuki Nakano
01ad44156b Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
Mark Hammond
cd2c8e6c5b Bug 987404 - Disable failing mochitest-browser tests in e10s. r=ted. 2014-04-02 10:53:55 +11:00
Masayuki Nakano
bd6decd65b Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Timothy Nikkel
1172e26981 Bug 961431. Round the final screen position of the popup to pixels, not the offset between it's view and parent view. r=enndeakin 2014-03-28 20:00:27 -05:00
Birunthan Mohanathas
cbaedea4c8 Bug 987320 - Remove unnecessary null checks for do_QueryFrame arguments. r=bz 2014-03-25 11:36:49 -04:00
Gorman Ho
9f11aa16d4 Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz 2014-03-25 09:25:47 -04:00
Masatoshi Kimura
6ddc1da58c Bug 980307 - Remove DataContainerEvent dependency from accessibility. r=tbsaunde 2014-03-21 12:59:59 +09:00
Neil Deakin
4398241309 Bug 972566, when a window is resized, panels should be repositioned after the view reflow rather than within the webshell listener, r=tn 2014-03-19 12:48:08 -04:00
Neil Deakin
54fd69f1a7 Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn 2014-03-19 12:48:08 -04:00
Masayuki Nakano
abfbab58dd Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Masayuki Nakano
7add71c341 Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano
a7a5e56dd5 Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
Kyle Huey
510a49016d Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg 2014-03-15 12:00:15 -07:00
Jeff Muizelaar
856d8c46e8 Bug 977861. Avoid putting the scroll thumb at subpixel positions. r=mstange
The solution for fixing this properly is not clear and could be a lot of work.
Matt Woodrow agreed that this is probably the right thing to do for now.

This is b2g only because it was causing reftest failures on OS X that I do not
understand and is pretty important for performance.

--HG--
extra : rebase_source : 52517bae11ac4db46471143ff5a30a97c1860e33
2014-03-14 14:48:07 -04:00
Vaibhav Agarwal
086e8d6332 Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher 2014-03-12 11:41:08 -04:00
Jonathan Kew
73fcec8ebe bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc 2013-12-31 13:50:31 +00:00
Masayuki Nakano
d26caa0d74 Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Andrew McCreight
6d6e9c420b Bug 978203 - Don't include nsWindowMemoryReporter.h in nsINode.h. r=smaug 2014-03-04 15:39:42 -08:00