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

426796 Коммитов

Автор SHA1 Сообщение Дата
Carsten "Tomcat" Book 2d907f3406 Backed out changeset 822901f56c1f (bug 1170216)
--HG--
extra : rebase_source : fcde858b7a057af0a53b9e4e00bea770a38bc3a1
2015-06-17 11:02:52 +02:00
Carsten "Tomcat" Book 247c97380b Backed out changeset 9345403c7628 (bug 1171036)
--HG--
extra : rebase_source : 60f044bf4daf139f536196cbba6986e795eb902d
2015-06-17 11:02:46 +02:00
Masayuki Nakano e4779ba1cf Bug 1175383 TabChild should store PuppetWidget as is rather than as nsIWidget r=smaug 2015-06-17 17:44:50 +09:00
Carsten "Tomcat" Book 47a56a31ae Backed out changeset b857e7a2ab26 (bug 1174521) for timeouts in test_bug1174521.html 2015-06-17 10:12:21 +02:00
Jeff Walden 8ebc2cc372 Bug 1146136 - Fix most in-tree tests that parenthesize destructuring pattern assignment targets, as ES6 forbids such parenthesization. (The patch making SpiderMonkey reject this syntax will follow shortly.) r=efaust, r=testingonlychange 2015-05-30 00:55:35 -07:00
Nicholas Nethercote e94846adea Bug 11746250 (follow-up) - Fix link errors on Linux and Android. r=me. 2015-06-16 23:48:53 -07:00
Nicholas Nethercote a1b715b5df Bug 1174625 - Overhaul PLDHashTable's iterator. r=froydnj.
This change splits PLDHashTable::Iterator::NextEntry() into two separate
functions, which allow you to get the current element and advance the iterator
separately, which means you can use a for-loop to iterate instead of a
while-loop.

As part of this change, the internals of PLDHashTable::Iterator were
significantly changed and simplified (and modelled after js::HashTable's
equivalent code). It's no longer duplicating code from PL_DHashTableEnumerator.
The chaos mode code was a casualty of this, but given how unreliable that code
has proven to be (see bug 1173212, bug 1174046) this is for the best. (We can
reimplement chaos mode once PLDHashTable::Iterator is back on more solid
footing again, if we think it's important.)

All these changes will make it much easier to add an alternative Iterator that
removes elements, which was turning out to be difficult with the prior code.

In order to make the for-loop header usually fit on a single line, I
deliberately renamed a bunch of things to have shorter names.

In summary, you used to write this:

  PLDHashTable::Iterator iter(&table);
  while (iter.HasMoreEntries()) {
    auto entry = static_cast<FooEntry*>(iter.NextEntry());
    // ... do stuff with |entry| ...
  }
  // iter's scope extends beyond here

and now you write this:

  for (auto iter = table.Iter(); !iter.Done(); iter.Next()) {
    auto entry = static_cast<FooEntry*>(iter.Get());
    // ... do stuff with |entry| ...
  }
  // iter's scope doesn't reach here

--HG--
extra : rebase_source : fa5cac2fc50b1ab7624030bced4763131280f4d8
2015-06-11 21:19:53 -07:00
Xidorn Quan 8449be33a6 Bug 1174323 - Relieve intermittent failure of the screenClientXYConst test in pointerlock tests. rs=KWierso
--HG--
extra : source : 61aee05697b8c934c5f332f9177dc0940ae02927
2015-06-17 15:43:13 +10:00
Ehsan Akhgari 4dd45d21af Bug 1174521 - Backout the second part of bug 1143570 to fix the regression; r=roc 2015-06-17 01:34:00 -04:00
Masayuki Nakano 0334e767a2 Bug 1172219 part.3 Modify nsTextStore::mSelection with new selection in OnSelectionChangeInternal() r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano 1bf1f161f4 Bug 1172219 part.2 Notify TSF of layout creation and destruction r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano a4c5e98133 Bug 1172219 part.1 nsTextStore shouldn't notify IME while events are being dispatched and until they have not been handled yet r=emk 2015-06-17 14:00:33 +09:00
Brad Lassey afc6a1e13f bug 1161166 - Use mach shared memory for shared memory on OSX r=billm
--HG--
rename : ipc/glue/SharedMemoryBasic_android.cpp => ipc/glue/SharedMemoryBasic_mach.cpp
rename : ipc/glue/SharedMemoryBasic_android.h => ipc/glue/SharedMemoryBasic_mach.h
2015-06-17 00:38:38 -04:00
Brad Lassey 456bd3e0d5 bug 1161166 - Move some implementation out of ipc headres to not include headres for EndianU32_* r=billm 2015-06-09 09:56:10 -04:00
Karl Tomlinson 603b1ace02 bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
This was only used to write to and read from otherwise unused preferences.

--HG--
extra : rebase_source : a538569807b8340dae3fe9f0cbfc68334e20ccc9
2015-06-11 09:34:27 +12:00
Karl Tomlinson 71e6f82be1 bug 147419 remove meaningless GetPrintMethod() r=roc
--HG--
extra : rebase_source : bd89c4f495cd14a190bb65aaea2e23e54591ca5d
2015-06-16 11:02:34 +12:00
Karl Tomlinson bb37b9da4d bug 147419 remove print(|.<modulename>)(|.printer_<printername>).filename pref reading code r=roc
There are no default pref values, and even if some have been set, the value
is subsequently overridden by the print.print_to_filename pref, which exists
if saved from a previous nsPrintSettingsGTK.

--HG--
extra : rebase_source : 6912584e537d77d4efb1b1c3716d6c38bda3899e
2015-06-10 19:11:49 +12:00
Karl Tomlinson 4c5d983774 bug 147419 use GTK default paper size and orientation r=roc
In the nsPrintSettingsGTK constructor, gtk_paper_size_new(nullptr) gets the
system default paper size from the locale and gtk_page_setup_new() sets
default orientation to portrait.

These are subsequently overridden by prefs if any have been saved from
a previous nsPrintSettingsGTK.

--HG--
extra : rebase_source : 37b626bb0ed93454f6adc8916dbc674cf37ed4fe
2015-06-10 18:51:46 +12:00
Karl Tomlinson a19a1f0d0c bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
These was used only to write to and read from each other.

--HG--
extra : rebase_source : ef49678652f829fe23611fb2294a22c3ffd91cf1
2015-06-10 18:10:28 +12:00
JW Wang 90d1a6fe7b Bug 1172826 - remove unnecessary checks for MediaDecoderStateMachine::mPlaybackRate. r=kinetik. 2015-06-17 10:31:05 +08:00
Ehsan Akhgari 2a127a2d67 Bug 1147668 - Correctly reflect video and track RequestContext values; r=smaug 2015-06-16 21:18:08 -04:00
Ehsan Akhgari 3b2798f9f5 Bug 1175299 - Translate the content policy type obtained in nsMixedContentBlocker::AsyncOnChannelRedirect to an external one before invoking the content policy implementation; r=smaug 2015-06-16 21:17:01 -04:00
Masayuki Nakano 729d547dd5 Bug 1173678 ContentCache should return union rect even if some character rects are not cached but the first character of the range is cached r=m_kato 2015-06-17 10:03:58 +09:00
Masayuki Nakano 5ff01538e0 Bug 1171814 ContentCache should store first character rect because Yosemite's Japanese IME sometimes tries to query it r=m_kato 2015-06-17 10:03:58 +09:00
Masayuki Nakano 94bb7f1516 Bug 1172466 part.4 Don't notify IME during reflow r=smaug 2015-06-17 10:03:57 +09:00
Masayuki Nakano 81de1dd26c Bug 1172466 part.3 Create an abstruct class which is a base class of classes notifying IME r=smaug 2015-06-17 10:03:57 +09:00
Masayuki Nakano 031f99fbda Bug 1172466 part.2 Use runnable event for notifying IME of focus r=smaug 2015-06-17 10:03:57 +09:00
Masayuki Nakano 851cb14bbc Bug 1172466 part.1 Make helper classes to notify IME nested classes of IMEContentObserver r=smaug 2015-06-17 10:03:57 +09:00
Jason Orendorff f0f3c8921b Bug 1171036 - Change GetLengthProperty slow path to use ToLengthClamped instead of ToUint32. r=Waldo.
--HG--
extra : rebase_source : d4e4d46cc39831328b1e62773c0e5ae1e34a5b9a
2015-06-03 10:01:45 -05:00
Jason Orendorff a42a6ea95d Bug 1170216 - When using the slow-and-standard path in js::SetIntegrityLevel, don't manually call setNonwritableArrayLength afterwards. r=Waldo.
--HG--
extra : rebase_source : 94c5b8e4225cb682bebcefe2b94869f6bd326eaa
2015-06-01 12:01:02 -05:00
Jason Orendorff 0691fb22c8 Bug 1125624, part 3 - Remove js::StandardDefineProperty and js::DefineOwnProperty. r=Waldo.
--HG--
extra : rebase_source : 0a882c98558c85f4c2368f94036ee38c17d396ce
2015-05-29 16:48:26 -05:00
Jason Orendorff 0d44d9af8a Bug 1125624, part 2 - Change js::StandardDefineProperty to forward to js::DefineProperty. r=Waldo.
--HG--
extra : rebase_source : 5e74b4e991aed705d87675f6cf539acb4bdf25fc
2015-05-29 17:31:43 -05:00
Ryan VanderMeulen eaa096aa11 Bug 1149955 - Skip test_shared_all.py on Windows due to frequent failures.
--HG--
extra : rebase_source : 96404a98c7f142c3e0449c8084d8944e89fe2397
2015-06-16 20:43:12 -04:00
Ben Kelly ce90b29484 Bug 1173439 P5 Cache should index on a hash instead of the url itself. r=ehsan 2015-06-16 17:39:05 -07:00
Ben Kelly 72fd940fc3 Bug 1173439 P4 Remove Request url field from Cache API database. r=ehsan 2015-06-16 17:39:05 -07:00
Ben Kelly 0a4c003dd5 Bug 1173439 P3 Use url query field for database matching and Request creation. r=ehsan 2015-06-16 17:39:05 -07:00
Ben Kelly 2a2c3fa17d Bug 1173439 P2 Parse Response URL query as a separate field. r=ehsan 2015-06-16 17:39:05 -07:00
Ben Kelly 18e16a0fa2 Bug 1173439 P1 Store URLs as UTF8 strings in Cache instead of UTF16. r=ehsan 2015-06-16 17:39:05 -07:00
Botond Ballo 7a5580e78f Bug 1173580 - Full-stack APZ layerization mochitest. r=kats
--HG--
extra : source : 91c83d0cb80b2985d768687b2496ea1888fd2b81
2015-06-11 20:15:07 -04:00
Botond Ballo 5d9041c1d9 Bug 1173580 - Add utilities for synthesizing mouse move events to apz_test_native_event_utils.js. r=kats
--HG--
extra : source : d6a592fefdc55e33d9253cd9bb41acd6ea1f84c5
2015-06-15 16:43:56 -04:00
Botond Ballo 28f57aed47 Bug 1173580 - Make synthesizeNativeWheelAnd*() functions iframe-friendly. r=kats
--HG--
extra : source : 04885e71c324fff5baf19585c266ad2b649a3367
2015-06-15 16:43:46 -04:00
Botond Ballo ac52e5f459 Bug 1173580 - Record content descriptions in APZ test data. r=kats
--HG--
extra : source : 7f3a827067d7c617b6e988a9b5858d4cd8618d44
2015-06-10 20:47:56 -04:00
Brian Hackett 136d4aae24 Bug 1171405 - Add baseline and ion ICs for GETELEM on unboxed plain objects, r=jandem. 2015-06-16 17:27:12 -07:00
Brian Birtles c569ddfd86 Bug 1165203 - Make calls to load() upgrade preload=none to preload=metadata; r=cpearce
--HG--
extra : commitid : H2xIreNh4Pq
extra : histedit_source : 8ff5e2d2e12b21b8e3f04dc5ab81584b6fc929fc
2015-06-17 09:02:51 +09:00
Wes Kocher a2e492f760 Merge m-c to inbound, a=merge 2015-06-16 16:53:03 -07:00
Jim Chen 3d8a6172fd Bug 1174725 - Fix GeckoLoader synchronization; r=snorp 2015-06-16 19:45:29 -04:00
Jim Chen d77273ce23 Bug 1166356 - Properly detect double-caching in nsXULPrototypeCache; r=ehsan 2015-06-16 19:45:29 -04:00
Jim Chen 435a558d68 Bug 1168916 - Get rid of redundant pref callback in nsXULPrototypeCache; r=janv 2015-06-16 19:45:29 -04:00
Eric Rahm ce21e87392 Bug 1175289 - Part 2: Disable "Subdocument container has no frame" warning by default. r=mats 2015-06-16 16:37:16 -07:00
Eric Rahm 4369b94b5d Bug 1175289 - Part 1: Add LAYOUT_WARNING. r=mats 2015-06-16 16:37:14 -07:00