Граф коммитов

494992 Коммитов

Автор SHA1 Сообщение Дата
Brad Werth 14983768db Bug 1221565 Part 9: flexbox-align-self-vert-rtl-001 reftest updated. r=dholbert
MozReview-Commit-ID: 378WLwNg25J

--HG--
extra : rebase_source : 6ed8f65b292afc5e8aa6448b2d9e904509a24aa6
2016-10-10 13:10:59 -07:00
Brad Werth 0f66969dcb Bug 1221565 Part 8: flexbox-align-self-vert-001 reftest updated. r=dholbert
MozReview-Commit-ID: 3bSo61dj2Wl

--HG--
extra : rebase_source : b3e543572e664848f9b4495b51e2fa1e3dd33712
2016-10-10 13:08:17 -07:00
Brad Werth c5cebe8107 Bug 1221565 Part 7: flexbox-align-self-horiz-001 reftest updated. r=dholbert
MozReview-Commit-ID: 9Nw0Apd7aBa

--HG--
extra : rebase_source : 7fe51e0d6d5aa44087b99564fc3e036e51c23384
2016-10-10 13:04:25 -07:00
Brad Werth b61d744440 Bug 1221565 Part 6: flexbox-justify-content-vert-* reftests updated. r=dholbert
MozReview-Commit-ID: 7r8DaFEcHS5

--HG--
extra : rebase_source : 6c9ddd2d9d15057c7c0bd8d764fea9c648c84f0a
2016-10-07 15:48:00 -07:00
Brad Werth f214df0e92 Bug 1221565 Part 5: flexbox-justify-content-horiz-* reftests updated. r=dholbert
MozReview-Commit-ID: 1UJbl4IrRrF

--HG--
extra : rebase_source : f78a036d795233f20374345723422d66e9b9ef83
2016-10-07 15:09:06 -07:00
Brad Werth a9ff6004c5 Bug 1221565 Part 4: flexbox-align-content-vert-* reftests updated. r=dholbert
MozReview-Commit-ID: 7UnyW10aIZX

--HG--
extra : rebase_source : de940cb633215225360a7212432389c5d7cfe4a9
2016-10-07 14:40:35 -07:00
Brad Werth a52aeb6a30 Bug 1221565 Part 3: flexbox-align-content-horiz-* reftests updated. r=dholbert
MozReview-Commit-ID: FxMhdUz2yAB

--HG--
extra : rebase_source : 00a3e4f8486a8aff0e568a4387fc937e6a756380
2016-10-07 14:18:33 -07:00
Brad Werth e321b44ac3 Bug 1221565 Part 2: Make nsFlexContainerFrame map justify-content and align-content values of 'left' and 'right' to 'start' or 'end'. r=dholbert
MozReview-Commit-ID: 8sZyFwIlpr4

--HG--
extra : rebase_source : 594f467df3f34021a363510d945ea87d2a82ba24
2016-10-07 09:22:52 -07:00
Brad Werth 2ac369120e Bug 1221565 Part 1: Make nsFlexContainerFrame map align-self values of 'left' and 'right' to either 'start' or 'end'. r=dholbert
MozReview-Commit-ID: 8Xv4BzZ3Okv

--HG--
extra : rebase_source : 796dea9e9b81183ad9b87c1e14a10c780aba30dc
2016-10-06 15:55:39 -07:00
Andrew McCreight 21046706e7 Bug 1308995, part 5 - Use early return in NS_LogCtor/Dtor. r=froydnj
This is an unrelated change to fix an issue that was bothering me.

MozReview-Commit-ID: Cxw9WhHfSAf

--HG--
extra : rebase_source : 10e3b3f28ecad0af216dbb368ffdb3b0ff75c7f9
2016-10-10 13:34:53 -07:00
Andrew McCreight 6d99589133 Bug 1308995, part 4 - Rename mAllStats to mStats. r=froydnj
There's only one stats field now.

MozReview-Commit-ID: 9XZLQNrhrIU

--HG--
extra : rebase_source : 3b1543eb28543361e57c477fe74238a5e1f4a5e1
2016-10-10 13:24:05 -07:00
Andrew McCreight d835d1a2f7 Bug 1308995, part 3 - Get rid of mNewStats. r=froydnj
Nobody asks for the new stats, only the total ones, so there's no need
for two sets of statistics.

MozReview-Commit-ID: AO0ue9MPn3N

--HG--
extra : rebase_source : 8d5237c4efdc0ece5bf1a386cae38e394aaadf01
2016-10-10 13:22:37 -07:00
Andrew McCreight e3f825e5a5 Bug 1308995, part 2 - Remove nsTraceRefcnt::StatisticsType arguments. r=froydnj
Only about:bloat used NEW_STATS, so act like we have ALL_STATS
everywhere. A later patch will remove the mNewStats field.

MozReview-Commit-ID: LUJBpS3iYht

--HG--
extra : rebase_source : 543951314e12e7964e3f25c155b658d50ce674a6
2016-10-10 10:56:09 -07:00
Andrew McCreight 4690bf258a Bug 1308995, part 1 - Remove unused DumpStatistics::aOut argument. r=froydnj
Only about:bloat used this argument.

MozReview-Commit-ID: HXIUPVwl5ID

--HG--
extra : rebase_source : 8c12de73d6e5d8b7b733decf4fdd13db810236a4
2016-10-10 10:53:08 -07:00
Jared Wein 7778a86075 Bug 1305195 - Inherit the color of the urlbar-zoom-reset button from the URL bar so the button text color matches that of the location bar text color. r=Gijs
MozReview-Commit-ID: Coy8OnhDneu

--HG--
extra : rebase_source : 100a807b10853a06f6780198217b8625d5a80a84
2016-10-11 10:25:25 -04:00
Luca Greco 36fd5cf92e Bug 1309003 - [webext] Test an hybrid SDK addon which uses the current SDK module loader. r=kmag
MozReview-Commit-ID: HS3kacLmpf9

--HG--
extra : rebase_source : 53149ff57c249d3e85ee47167e6a3e89dc4bf455
2016-05-26 16:25:25 +02:00
Simon Fraser 913eb833f6 As part of the work on bug 1195365 we need funsize to known about the MAR URLs for the latest build without that information coming from balrog. r=Callek
Reduce mar url list now to simple dictionary

MozReview-Commit-ID: 7AWLrSu7BAx

--HG--
extra : rebase_source : 619c6219ee6d8c8caaa8ae8f367490411ea1e8ad
2016-10-10 16:55:10 +01:00
Masayuki Nakano 2fb6e9eb1c Bug 1303273 part.9 NativeKey::mFollowingCharMsgs should be AutoTArray r=m_kato
Similarly, NativeKey is a stack class and mFollowingCharMsgs which stores following char messages of WM_(SYS)KEYDOWN should be AutoTArray for preventing to use heap at handling inputs with usual keyboard layout.

5 is enough size for handling usual keyboard layout because we support only 5 or less characters per dead key sequence.

MozReview-Commit-ID: IphcIOmPW0C

--HG--
extra : rebase_source : 74ce6f9fef73df4b9bbccbbdd713470ff7357889
2016-10-07 14:38:14 +09:00
Masayuki Nakano af0bc7745d Bug 1303273 part.8 UniCharsAndModifiers should use nsAutoString and AutoTArray to store characters and modifiers r=m_kato
Fortunately, UniCharsAndModifiers instances are only in stack.  Therefore, we can make it a stack class and use nsAutoString and AutoTArray for not using heap at handling inputs from usual keyboard layouts.

MozReview-Commit-ID: 9ZPbdjGst64

--HG--
extra : rebase_source : 06a21c20575747591c6bf1a55dff7e6e38884333
2016-10-07 14:32:45 +09:00
Masayuki Nakano 2c0c609d8a Bug 1303273 part.7 Hide UniCharsAndModifiers::mLength and make its type size_t r=m_kato
MozReview-Commit-ID: 7QLdmgopOwG

--HG--
extra : rebase_source : 89d077c20edab65ac7c2c637b2cda94b6d1ab30d
2016-10-07 13:39:15 +09:00
Masayuki Nakano c20c0f333a Bug 1303273 part.6 Hide UniCharsAndModifiers::mModifiers r=m_kato
MozReview-Commit-ID: 9KKN5mlJadg

--HG--
extra : rebase_source : a3109eca884b3795f4a069bc5c694d1f495ef86b
2016-10-07 13:25:40 +09:00
Masayuki Nakano 0d6b0439b4 Bug 1303273 part.5 UniCharsAndModifiers should hide mChars r=m_kato
Now, we have an security issue.  mCommittedCharsAndModifiers may be initialized with multiple WM_(SYS)CHAR messages.  However, if it's generated by odd (or malicious) middleware, mCommittedCharsAndModifiers may be overflown because it has only fixed array.  For fixing this issue, first, we should hide the members for making the users not depend on the design of UniCharsAndModifiers.

This patch changes UniCharsAndModifiers to a class and hiding mChars and adding |CharAt() const|.

MozReview-Commit-ID: 5EjrIhmCdE4

--HG--
extra : rebase_source : a3dc68998f5f177582addd8587c4da86b2d17b3b
2016-10-07 12:04:49 +09:00
Masayuki Nakano ae437d0a9a Bug 1303273 part.4 Add automated tests for bug 1293505, bug 1307703 and bug 1297985 r=m_kato
Now, NativeKey respects following WM_CHAR message.  Therefore, we can create a test for bug 1293505 which a function key causes a printable character.

Additionally, bug 1307703 is now fixed by the previous patch.  So, let's add automated test for it too.

Finally, now, I found a way to test with some keyboard layouts which are not available on old Windows.  Therefore, we should add automated tests for bug 1297985 too.

MozReview-Commit-ID: IqCEPbPYrcQ

--HG--
extra : rebase_source : 451d0264f1180cae7d7035a498f1c13416d53246
2016-10-07 11:42:20 +09:00
Masayuki Nakano 8c926d5f82 Bug 1303273 part.3 Dispatch eKeyPress events without NativeKey::HandleCharMessage() when it handles WM_(SYS)KEYDOWN message and there are following WM_(SYS)CHAR messages which includes non-control character r=m_kato
This patch creates NativeKey::DispatchKeyPressEventsWithRetrievedCharMessages() for dispatching eKeyPress event with mCommittedCharsAndModifiers when it stores following printable WM_(SYS)CHAR messages.

Using loop for dispatching eKeyPress event for every WM_(SYS)CHAR message is wrong because WidgetKeyboardEvent::mKeyValue is initialized with mCommittedCharsAndModifiers and it causes TextEventDispatcher dispatching multiple eKeyPress events at every call of MaybeDispatchKeypressEvents().  Therefore, if mKeyValue is "^^", eKeyPress event is dispatched 4 times --for the first message, eKeyPress events are fired for each "^" and for the second message, eKeyPress events are fired again for each "^"--.  Therefore, when it handles WM_(SYS)KEYDOWN and it causes inputting one or more printable characters, it's the easiest way not to use HandleCharMessage().

The new method calls TextEventDispatcher::MaybeDispatchKeypressEvents() only once and it requests to call the callback method with new argument of MaybeDispatchKeypressEvents() when it needs to dispatch 2 or more eKeyPress events.  Then, NativeKey::WillDispatchKeyboardEvent() can set each eKeyPress event to raw information of the message and proper modifier state.

With this change, we can dispatch multiple eKeyPress events with retrieved WM_(SYS)CHAR message information rather than retrieved information from active keyboard layout.  Therefore, NeedsToHandleWithoutFollowingCharMessages() doesn't return true even when mCommittedCharsAndModifiers stores two or more characters.

FYI: there is a bug in test_keycodes.xul. That is, Alt+'A' of Greek keyboard layout should cause WM_SYSCHAR with a corresponding Greek character but ASCII characters are specified.  Therefore, this patch includes the fix of these bugs

MozReview-Commit-ID: JVm7ZJVug0O

--HG--
extra : rebase_source : 414ecbe2c01c53f294d1346414b1a289aa0abfe8
2016-10-06 20:52:03 +09:00
Masayuki Nakano 642d448ca7 Bug 1303273 part.2 KeyboardLayout::InitNativeKey() should initialize aNativeKey.mCommittedCharsAndModifiers with following WM_CHAR or WM_SYSCHAR messages which are not providing a control character r=m_kato
First, mCommittedCharsAndModifiers should be initialized with following char messages because the messages could be different from the information of current keyboard layout.

So, this patch guarantees that mCommittedCharsAndModifiers are same as the user expected when there is one or more WM_CHAR or WM_SYSCHAR messages.

MozReview-Commit-ID: I5Ack0xccoL

--HG--
extra : rebase_source : e4c7af75fd200f30ec52b53dc05f49ae8887c6f0
2016-10-07 11:36:34 +09:00
Masayuki Nakano add7eea556 Bug 1303273 part.1 KeyboardLayout::IsSysKey() should check MODIFIER_ALT as a bit flag r=m_kato
This is a simple mistake and blocks following patchs' automated tests.

For example, when Alt+Shift+foo doesn't cause text, this returns false even though it should return true.

MozReview-Commit-ID: 91L33vZhouT

--HG--
extra : rebase_source : be7d4e7ad670c1b03e6497c1c313c187ece80c1c
2016-10-11 13:00:45 +09:00
Andi-Bogdan Postelnicu c7be178cd3 Bug 1309133 - null terminate pathBuf2 in SandboxBroker::ThreadMain. r=gcp
MozReview-Commit-ID: 8iA4Yzwj8nv

--HG--
extra : rebase_source : 81af49ea741957a3a79c91dd5503196a0a28a9ef
2016-10-11 15:42:39 +03:00
Carsten "Tomcat" Book 42c313336d Merge mozilla-central to autoland
--HG--
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/utils.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-editor.js
rename : devtools/client/inspector/markup/html-editor.js => devtools/client/inspector/markup/views/html-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/markup-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/root-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-editor.js
extra : rebase_source : 8b4e5aa861c37406882330d2f87125c8a008734a
2016-10-11 13:06:12 +02:00
Andi-Bogdan Postelnicu 5ad0b0f3d8 Bug 1309160 - prevent null pointer dereference when calling TraceRootRange/ r=jandem
MozReview-Commit-ID: EhcmRbtyFVN

--HG--
extra : rebase_source : 9166647b3e502eb8686946e9592db4167a00c16c
2016-10-11 14:15:25 +03:00
Carsten "Tomcat" Book cd1be634c9 merge mozilla-inbound to mozilla-central a=merge 2016-10-11 12:01:35 +02:00
Carsten "Tomcat" Book 596549aa9d merge fx-team to mozilla-central a=merge 2016-10-11 12:00:13 +02:00
Mike de Boer cc3b7a5540 Bug 1306234 - stop flickering when the background color of the findbar dimmed highlighting mode changes and make sure the color changes if needed when all the ranges have been found as well. r=jaws
MozReview-Commit-ID: KAokVKOgSei

--HG--
extra : rebase_source : 594a018119057255becd9db3f4235a383e58c24e
2016-10-11 11:09:17 +02:00
Mike de Boer 6d47d9bf90 Bug 1305033 - make adjustments to the outline box style when one the ranges' rects overlap each other in the find toolbar dimmed highlighting mode. r=jaws
MozReview-Commit-ID: 3vclEAPw1rU

--HG--
extra : rebase_source : 9129662b35f181658dc096f98dd2c7b9b7fa1204
2016-10-11 10:51:05 +02:00
Sebastian Hengst ffd4e48d2a Backed out changeset 9d2383c4a89a (bug 1308076) for bustage: 'mozilla::BigEndian' has not been declared. r=backout on a CLOSED TREE 2016-10-11 10:42:05 +02:00
Sebastian Hengst cde2325bcd Backed out changeset 690638851e62 (bug 1308076) 2016-10-11 10:41:29 +02:00
Sebastian Hengst 2bb0f9b7a2 Backed out changeset 68f1d429368c (bug 1308076)
--HG--
rename : media/psshparser/PsshParser.cpp => media/gmp-clearkey/0.1/ClearKeyCencParser.cpp
rename : media/psshparser/PsshParser.h => media/gmp-clearkey/0.1/ClearKeyCencParser.h
2016-10-11 10:41:25 +02:00
Sebastian Hengst b3064bba8d Backed out changeset b2ef285116b3 (bug 1308076) 2016-10-11 10:41:20 +02:00
Sebastian Hengst 67e4cd1c41 Backed out changeset 40ce3fa30dfa (bug 1308076) 2016-10-11 10:41:16 +02:00
Sebastian Hengst f357983a1e Backed out changeset 6281e90a180f (bug 1308076) 2016-10-11 10:41:12 +02:00
Sebastian Hengst bd612c1fd3 Backed out changeset 4ce11c2f2e69 (bug 1308076) 2016-10-11 10:41:08 +02:00
Sebastian Hengst 8718521d1f Backed out changeset 11fc2627544c (bug 1308076) 2016-10-11 10:41:04 +02:00
Sebastian Hengst 57c3796c20 Backed out changeset 2ce4a30bdf86 (bug 1308076) 2016-10-11 10:41:00 +02:00
Sebastian Hengst 8a98e7cddd Backed out changeset 5862e3ccc989 (bug 1308076) 2016-10-11 10:40:56 +02:00
Sebastian Hengst 1eb3faf861 Backed out changeset 6d16f00b9858 (bug 1308076) 2016-10-11 10:40:52 +02:00
Chris Pearce e0b2194579 Bug 1308076 - Ensure Primetime PSSH boxes pass the PSSH validator. r=jwwang
Primetime PSSH boxes don't use the common encryption system ID.
So to ensure we don't break any existing Primetime players, we
must allow PSSH boxes with the Primetime system ID to pass the
PSSH validator.

MozReview-Commit-ID: 3q58FKLQXgV

--HG--
extra : rebase_source : aac2a8349d8e9dfccae3c37a47549245fb1fc0e3
2016-10-10 23:47:28 -07:00
Gabriel Luong c5953099c9 Bug 1308823 - Refactor the markup view into smaller modules r=jdescottes
--HG--
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/utils.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/element-editor.js
rename : devtools/client/inspector/markup/html-editor.js => devtools/client/inspector/markup/views/html-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/markup-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/read-only-editor.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/root-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-container.js
rename : devtools/client/inspector/markup/markup.js => devtools/client/inspector/markup/views/text-editor.js
2016-10-10 23:37:05 -04:00
Iris Hsiao 8fa5c6d67f Backed out changeset d271311721bb (bug 1297535) for developer's request 2016-10-11 11:13:12 +08:00
Phil Ringnalda e8dd21b167 Merge f-t to m-c, a=merge
MozReview-Commit-ID: C1redSmlixf
2016-10-10 19:11:56 -07:00
Phil Ringnalda 25afef5692 Merge m-i to m-c, a=merge
MozReview-Commit-ID: HlGgqNI8vwD
2016-10-10 19:07:58 -07:00
Boris Zbarsky 695f3ad671 Bug 946906 part 9. Add tests for the new [Cached] setup on Xrays. r=bholley 2016-10-10 18:16:26 -04:00