Commit Graph

318860 Commits

Author SHA1 Message Date
Masayuki Nakano
a2b2e249bb Bug 1046101 part.11 Rename NS_MOUSE_EVENT to eMouseEventClass r=smaug 2014-08-04 14:28:50 +09:00
Masayuki Nakano
0a4acd2719 Bug 1046101 part.10 Rename NS_EDITOR_INPUT_EVENT to eEditorInputEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
439dfa7d4e Bug 1046101 part.9 Rename NS_SELECTION_EVENT to eSelectionEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
a0eb193cf5 Bug 1046101 part.8 Rename NS_QUERY_CONTENT_EVENT to eQueryContentEventClass r=smaug 2014-08-04 14:28:49 +09:00
Masayuki Nakano
c6ea6c9335 Bug 1046101 part.7 Rename NS_TEXT_EVENT to eTextEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
6aab43f837 Bug 1046101 part.6 Rename NS_COMPOSITION_EVENT to eCompositionEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
431e57750e Bug 1046101 part.5 Rename NS_KEY_EVENT to eKeyboardEventClass r=smaug 2014-08-04 14:28:48 +09:00
Masayuki Nakano
7c8bc155ba Bug 1046101 part.4 Rename NS_UI_EVENT to eUIEventClass r=smaug 2014-08-04 14:28:47 +09:00
Masayuki Nakano
c190413e8a Bug 1046101 part.3 Rename NS_INPUT_EVENT to eInputEventClass r=smaug 2014-08-04 14:28:47 +09:00
Masayuki Nakano
6984c6fa6c Bug 1046101 part.2 Rename NS_GUI_EVENT to eGUIEventClass r=smaug 2014-08-04 14:28:46 +09:00
Masayuki Nakano
5dac7e446a Bug 1046101 part.1 Rename nsEventStructType to mozilla::EventClassID r=smaug 2014-08-04 14:28:46 +09:00
Boris Zbarsky
75c61b0a15 Bug 1045096. Make sure initial about:blank in iframes have a nsDOMNavigationTiming object, so we don't end up with window.performance throwing when accessed on their window. r=smaug 2014-08-04 01:25:30 -04:00
Nicholas Nethercote
2d5e318af3 Bug 1047220 - Shrink the static atoms table. r=bz. 2014-07-31 22:57:13 -07:00
Karl Tomlinson
4608056e39 b=1045482 make XErrorTrap installation and removal thread-safe r=jesup
Error handling is now applied to the Display using async_handlers, instead of
replacing and trying to reinstate the XSetErrorHandler() global handler for
all Xlib Displays.

Inspired by use of the same Xlibint.h structures at
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n252
https://git.gnome.org/browse/gtk+/tree/gdk/x11/gdkasync.c?id=0e1a4248#n150
Compare use of _XAsyncErrorHandler in libX11.
2014-08-01 17:58:24 +12:00
Karl Tomlinson
eca0a7a627 b=1042508 enable neon resampler optimizations r=padenot 2014-07-22 16:51:08 +12:00
Karl Tomlinson
b85e7d6352 b=1042508 remove : of empty Clobber asm argument r=padenot
https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html#Extended-Asm says

  asm [volatile] ( AssemblerTemplate : [OutputOperands] [ : [InputOperands] [ : [Clobbers] ] ] )

which implies that Clobbers is optional even after the third colon, but
the gcc used for b2g_try_emulator_dep builds says

resample_neon.c: In function 'saturate_32bit_to_16bit':
resample_neon.c:50: error: expected string literal before ')' token
2014-07-22 20:10:36 +12:00
Karl Tomlinson
d7ed72bdbf b=1042508 move resampler simd optimizations to separate translation units r=padenot
This ensures that code in resample.c will run on Intel x86 cpus even when SSE
support has been compiled, and will provide similarly for neon support when
enabled.
2014-07-23 21:49:04 +12:00
Karl Tomlinson
bb9b5a7b25 b=1042508 tie resampler sample type choice to MOZ_SAMPLE_TYPE_S16 r=padenot
When built with FIXED_POINT speex_resampler_process_float() assumes the
samples are in the range ±0x7fff and so Gecko instead uses ConvertAudioSamples
and speex_resampler_process_int().  This decision is based on
MOZ_SAMPLE_TYPE_S16.
2014-07-22 15:41:50 +12:00
Karl Tomlinson
b472e4e944 b=1042508 include resample_neon.h from speexdsp 305e54ea r=padenot 2014-07-21 17:08:00 +12:00
Masayuki Nakano
5d495b8146 Bug 1037328 Enable TSF mode in default settings of Nightly builds r=jimm+emk+m_kato 2014-08-04 10:31:25 +09:00
Mike Hommey
1ac669f776 Fixup bug 1043268 because of b2g build failures after the landing of bug 1047791. r=me 2014-08-04 10:30:21 +09:00
Nicholas Nethercote
49afb558b4 Bug 1046529 (part 2) - Ensure static atoms always end up in gStaticAtomTable. r=bz,hsivonen. 2014-07-30 23:22:42 -07:00
Nicholas Nethercote
88bfc66e99 Bug 1046529 (part 1) - Split and simplify AtomTableKey's constructors. r=bz. 2014-07-30 23:22:40 -07:00
Mike Hommey
f5f42bad06 Bug 901208 - Fix Skia for ARM v4t. r=derf 2014-08-04 09:04:06 +09:00
Mike Hommey
b60a0e8322 Bug 1047791 - Use integers for audio when on Android, or when using ARM on other OSes, and disable webm encoding. r=padenot 2014-08-04 09:03:59 +09:00
Brian R. Bondy
98bef8577c Bug 1046644 - Honor OpenH264 autoupdate pref for the initial GMP install check. r=gfritzsche 2014-08-01 16:46:45 -04:00
Jean-Yves Avenard
c9ab66f118 Bug 1046549 - Ignore mdat unless we've already found a media track. r=kentuckyfriedtakahe 2014-07-31 18:54:12 +12:00
L. David Baron
eb3cff8835 Bug 996796 patch 22 - Make restyling exact - only call RestyleBeforePseudo and RestyleAfterPseudo when we have an eRestyle_Subtree hint. r=heycam 2014-08-03 13:11:55 -07:00
L. David Baron
b1c3fa32da Bug 996796 patch 21 - Make restyling exact - Only call MaybeRecreateFramesForElement when we have a nonzero restyle hint. r=heycam 2014-08-03 13:11:55 -07:00
L. David Baron
20be34a7e0 Bug 996796 patch 20 - Make restyling exact - Avoid rerunning selector matching on everything when the basis of rem units changes. r=heycam 2014-08-03 13:11:55 -07:00
L. David Baron
c3875d943b Bug 996796 patch 19 - Avoid reresolution for extra style contexts when the restyle hint is not eRestyle_Self or eRestyle_Subtree. r=heycam
This is part of making reresolution not touch style that it was not
asked to touch, so that we can use it for the animation-only restyle.
2014-08-03 13:11:55 -07:00
L. David Baron
edc5583e27 Bug 996796 patch 18 - Fix RestyleTracker to handle restyle hints exactly rather than pessimistically when restyling continuations with varying styles (e.g., spans inside ::first-line or ::first-letter). r=heycam
This will be necessary when we use the restyle tracker for the
animation-only style flush, because animation-only style flushes need to
update *only* the animation style data and no other style data.  Thus
using the RestyleTracker for animation-only style flushes requires that
we do this.
2014-08-03 13:11:55 -07:00
Brian Smith
5cedb06253 Bug 1043041: Use mozilla::pkix::Time instead of PRTime, r=keeler 2014-08-02 08:49:12 -07:00
Brian Smith
d245f9a1e3 Bug 1047792: Rely on mozilla::pkix to filter out expired certs instead of CERT_CreateSubjectCertList, r=keeler 2014-08-01 23:16:21 -07:00
Brian Smith
8f4d57dd9b Bug 1041344: Refactor mozilla::pkix::CheckCertificatePolicies, r=cviecco 2014-07-19 18:51:10 -07:00
Randell Jesup
550b44efdc Bug 1048017: pref on WebRTC screensharing - whitelist blocks access by default rs=jesup 2014-08-03 11:30:06 -04:00
Andrea Marchesini
21aceabfdb Bug 1031407 - DataStoreService doesn't need to use IDBCursor to know if a revision exists., r=janv 2014-08-03 15:48:19 +01:00
Ehsan Akhgari
e06cdeeb12 Bug 1047778 - Fix some bad implicit constructors in xpcprivate.h; r=bholley 2014-08-03 10:40:44 -04:00
Andrea Marchesini
c7dc85ded9 Bug 1046582 - mochitest for AudioChannel changes in MediaStream objects, r=ehsan, r=bz 2014-08-03 14:46:17 +01:00
L. David Baron
6e4ca84b80 Back out bug 996796 patch 18 through patch 25 (changesets fbe97c2db729 through 9719c08c3144) to fix 50%-of-the-time Android 4.0 debug orange from single assertion ("Why did this not get handled while processing mRestyleRoots?", layout/base/RestyleTracker.cpp, line 87) in gfx/tests/crashtests/815489.html . 2014-08-03 01:22:07 -07:00
Chris Pearce
15b914892c Bug 1047824 - Make Apple PDM handle Shutdown() call on non-main thread. r=rillian 2014-08-03 19:29:19 +12:00
Chris Pearce
9bc9a6b5f4 Bug 1047824 - Call PlatformDecoderModule::Shutdown() in MP4Reader::Shutdown() on the decode task queue. r=kinetik 2014-08-03 19:28:39 +12:00
Kyle Huey
791e998359 Bug 1046416: Shut down gfxPlatformFontList on all platforms. r=jfkthame 2014-08-01 12:37:53 -07:00
L. David Baron
d0a8b71108 Bug 1045161 patch 2 - Remove write-only member variables of nsStyleTable. r=bzbarsky 2014-08-02 19:37:49 -07:00
L. David Baron
4085377c36 Bug 1045161 patch 1 - Stop implementing ParseAttribute for frame and rules (to parse them to enumerated values) since we no longer map them into style. r=bzbarsky
I don't think this change should be observable to Web content anymore.
(If it is, we should probably fix that as a general issue.)
2014-08-02 19:37:49 -07:00
L. David Baron
430732b16d Bug 996796 patch 25 - Remove the old (now-unused) miniflush code (preserving one of the header comments). r=heycam 2014-08-02 19:37:49 -07:00
L. David Baron
e99e5ad465 Bug 996796 patch 24 - Use a RestyleTracker for the coalescing in the animation-only style flush (miniflush). r=heycam
This changes the coalescing behavior during the animation-only style
flush by doing tree-based coalescing between the style updates required
by animations and those required by transitions, rather than doing
animations and transitions separately.

Note that both the old and the new code update all
animating/transitioning styles rather than only the throttled styles,
though we should fix that eventually as noted in the FIXME comment in
the code (but only for the existing caller, and not for the new one to
be introduced in bug 960465).

Note that this depends for its correctness on the previous patches to
make the restyling process exact.

The test changes are because the effects of bug 1031688 are changed by
the change in coalescing.  In the old code, we updated transition styles
before animation styles; in the new code we do a single pass over the
tree, which for the relevant test means updating animations on the
parent before transitions on the child, which changes the effects of the
bug.
2014-08-02 19:37:49 -07:00
L. David Baron
91317e847c Bug 996796 patch 23 - Make transition manager ignore StyleContextChanged notifications during an animation-only style update. r=heycam
This will be necessary when we use the restyle tracker for the
animation-only style flush.
2014-08-02 19:37:48 -07:00
L. David Baron
36236d6dd2 Bug 996796 patch 22 - Make restyling exact - only call RestyleBeforePseudo and RestyleAfterPseudo when we have an eRestyle_Subtree hint. r=heycam 2014-08-02 19:37:48 -07:00
L. David Baron
6ca1c054ae Bug 996796 patch 21 - Make restyling exact - Only call MaybeRecreateFramesForElement when we have a nonzero restyle hint. r=heycam 2014-08-02 19:37:48 -07:00