Skip to content
Snippets Groups Projects
  1. Oct 27, 2017
    • Gregory Szorc's avatar
      Bug 1412460 - Move code for invoking build system out of mach_commands.py; r=mshal · 12ea267e
      Gregory Szorc authored
      The goal is to move this lower-level code somewhere where it can be
      reused.
      
      The only meaningful code change as part of the move was handling
      of the mach context. Before, we could access self._mach_context.
      After, we need to pass it as an argument. This also uncovered a bug
      where "telemetry_handler" could be None but we called it
      unconditionally. We now guard this call with an "if."
      
      MozReview-Commit-ID: FWw4l6H1ayS
      
      --HG--
      extra : rebase_source : f6bf25eb8c52df2d09e4d5eddd5b85b38502e661
      12ea267e
    • Gregory Szorc's avatar
      Bug 1412460 - Move build output processing code out of mach_commands.py; r=mshal · 07391c8e
      Gregory Szorc authored
      In general, we shouldn't have so much business logic in mach_commands.py
      files.
      
      I'd like to move more of the low-level "perform a build" logic out of
      mach_commands.py to facilitate some future work. That code makes use of
      this output processing code. So as the first step in moving the build
      code, we move its dependencies.
      
      As part of this, I also cleaned up some random unused imports around
      lines that were touched.
      
      No meaningful code changes were performed as part of the code move.
      
      MozReview-Commit-ID: 96mGWUJ7oLb
      
      --HG--
      extra : rebase_source : 04c3865d5bcc44777749f3ab6a65e31bb1d13689
      07391c8e
  2. Nov 01, 2017
    • Sebastian Hengst's avatar
    • Sebastian Hengst's avatar
      merge mozilla-inbound to mozilla-central. r=merge a=merge · 4ff29d14
      Sebastian Hengst authored
      MozReview-Commit-ID: GSDYk9wLOAM
      
      --HG--
      rename : browser/base/content/test/general/browser_bug561636.js => browser/modules/test/browser/formValidation/browser_form_validation.js
      rename : browser/base/content/test/general/browser_bug595507.js => browser/modules/test/browser/formValidation/browser_validation_iframe.js
      rename : browser/modules/test/browser/browser_bug1319078.js => browser/modules/test/browser/formValidation/browser_validation_invisible.js
      4ff29d14
    • Connor Brewster's avatar
      servo: Merge #19086 - style: Move font-weight outside of mako (from... · 25d6d2ee
      Connor Brewster authored
      servo: Merge #19086 - style: Move font-weight outside of mako (from cbrewster:font_weight_nomako); r=emilio
      
      <!-- Please describe your changes on the following line: -->
      
      ---
      <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
      - [X] `./mach build -d` does not report any errors
      - [X] `./mach test-tidy` does not report any errors
      - [X] These changes are apart of #19015 (github issue number if applicable).
      
      <!-- Either: -->
      - [ ] There are tests for these changes OR
      - [X] These changes do not require tests because refactoring
      
      <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
      
      <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
      
      Source-Repo: https://github.com/servo/servo
      Source-Revision: 1e0fd7da3050208621dd08044bb202570638fb3e
      
      --HG--
      extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
      extra : subtree_revision : 11e30e17839a10dbfda8f88055392c025652c722
      25d6d2ee
    • Coroiu Cristina's avatar
      Backed out changeset 769dd8ce70e1 (bug 1413257) for failing flake8 at... · 405814dd
      Coroiu Cristina authored
      Backed out changeset 769dd8ce70e1 (bug 1413257) for failing flake8 at /builds/worker/checkouts/gecko/build/moz.configure/toolchain.configure r=backout on a CLOSED TREE
      405814dd
    • Alex Thayer's avatar
      Bug 1413582 - Ensure all "Flash" copy is prefaced with "Adobe" r=Felipe · e333168b
      Alex Thayer authored
      Accidentally slipped through the first patch.
      
      MozReview-Commit-ID: GoFbMBuBrE8
      
      --HG--
      extra : rebase_source : c169328d78c9c613f0d62bea8602e3619333d293
      e333168b
  3. Oct 27, 2017
  4. Oct 30, 2017
  5. Oct 27, 2017
  6. Oct 31, 2017
  7. Nov 01, 2017
  8. Oct 31, 2017
  9. Nov 01, 2017
  10. Oct 26, 2017
    • alex's avatar
      Bug 1393788 - Compress all JSDcov artifacts (.json files) into zip files after... · 40f03f9f
      alex authored
      Bug 1393788 - Compress all JSDcov artifacts (.json files) into zip files after all tests are completed. r=gmierz,jmaher.
      
      Building with "Linux x64 JSDCov", each suite of tests will produce a list of JSDCov artifacts (.json). This patch compresses all JSDCov artifacts into 1 zip file for each suite upon tests completion.
      MozReview-Commit-ID: DaNLOQuW2lc
      
      --HG--
      extra : rebase_source : cceb912d0fe16f9921e1d13fe85d53af2abcb29c
      40f03f9f
  11. Oct 31, 2017
    • Andreas Tolfsen's avatar
      Bug 1410796 - Add basic evaluate.toJSON tests. r=whimboo · ea7bdb1c
      Andreas Tolfsen authored
      MozReview-Commit-ID: EvtsPhiq6sd
      
      --HG--
      extra : rebase_source : 8c6fcb49f9373c9a3be2567111f935a3c9d4b7c7
      ea7bdb1c
    • Andreas Tolfsen's avatar
      Bug 1410796 - Test element retrieval from XHTML namespace. r=maja_zf · 20f23db9
      Andreas Tolfsen authored
      Finding elements in the XHTML namespace will fail unless
      element.isDOMElement is fixed so that it does not look at a
      particular namespaceURI.
      
      It is worth noting that, generally, the WPT element retrieval tests
      are pretty awful and the new tests don't exactly match the style of
      the preceding tests.  This intended, because the other tests are bad.
      This should be addessed individually.
      
      MozReview-Commit-ID: 8I3VwhJirSb
      
      --HG--
      extra : rebase_source : 2de08ec68dbf8b4768708bdb733965634ac4feda
      20f23db9
    • Andreas Tolfsen's avatar
      Bug 1410796 - Add nodeType existence check. r=whimboo · 34669663
      Andreas Tolfsen authored
      If the node variable is an object that is not null, and nodeType is
      not an own property of it, node.nodeType === node.ELEMENT_NODE might be
      evaluated as undefined === undefined if ELEMENT_NODE is also missing.
      This will pass the condition, which is an unintended consequence.
      
      To remedy this, we first check that nodeType indeed exists on node
      before proceding.
      
      MozReview-Commit-ID: G0eaRvwm5mv
      
      --HG--
      extra : rebase_source : 8c08e0363f26095cf672d2b11699431b1fb4ef9f
      34669663
    • Andreas Tolfsen's avatar
      Bug 1410796 - Drop element.isSVGElement. r=whimboo · e944eb5c
      Andreas Tolfsen authored
      This drops the now-superfluous element.isSVGElement.  SVG elements
      are matched with element.isDOMElement because there is no special
      need to distinguish them from other elements, apart from chrome elements.
      
      MozReview-Commit-ID: 3AgEtyaAsPU
      
      --HG--
      extra : rebase_source : 7ec52aa9a7b7404eff5b6daf8ebe8259f06265da
      e944eb5c
    • Andreas Tolfsen's avatar
      Bug 1410796 - element.isDOMElement to match any non-XUL element. r=whimboo · b91e906a
      Andreas Tolfsen authored
      This patch makes element.isDOMElement match any non-XUL element,
      meaning it will henceforth match both SVG elements as well as any
      custom XML namespaced element.
      
      In the bug 1410796, Marionette does find the element, but is unable
      to add it to the known web element store.  This is a result of the
      changes made in bug 1400256, where I introduced a set of functions
      for element type recognition needed for determining which web
      element abstraction to use for an element.
      
      We use element.isDOMElement to distinguish content elements from chrome
      elements, and this change consequently makes element.isSVGElement
      superfluous.
      
      MozReview-Commit-ID: AkEHm6zroKz
      
      --HG--
      extra : rebase_source : c6f101e12839241f60c8c1b3908df3a3e4a89a51
      b91e906a
    • Nick Alexander's avatar
      Bug 1413332 - Make geckoview's BuildConfig under --with-gradle include... · c1a631a4
      Nick Alexander authored
      Bug 1413332 - Make geckoview's BuildConfig under --with-gradle include computed values. r=maliu,snorp
      
      There's already a secret dependency where
      mobile/android/base/Makefile.in (and generated AppConstants.java)
      depends on $topobjdir/buildid.h, so this shouldn't be much worse than
      what we have.
      
      MozReview-Commit-ID: 2hkAGE9uT10
      
      --HG--
      extra : rebase_source : 090b7a5f2063a4e0cc20252703e6575e6716448a
      c1a631a4
  12. Oct 29, 2017
  13. Oct 25, 2017
  14. Nov 01, 2017
    • Jim Chen's avatar
      Bug 1412872 - 8. Remove GeckoAppShell dependency in gecko-view; r=snorp · db34ad58
      Jim Chen authored
      In the future, GeckoAppShell will only be part of the service process
      library, and will not be part of the app process library. Therefore, we
      should minimize GeckoAppShell usage in any GeckoView code that will
      likely end up in the app process library.
      
      In particular, AndroidGamepadManager and Clipboard are made to accept
      Context as arguments, instead of using
      GeckoAppShell.getApplicationContext() for getting the Context.
      
      MozReview-Commit-ID: G9SC815H5Ku
      db34ad58
    • Jim Chen's avatar
      Bug 1412872 - 7. Move background events to GeckoApplication; r=nechen · 843d67f2
      Jim Chen authored
      Move the "Bookmark:Insert" and "Image:SetAs" events from GeckoApp to
      GeckoApplication. These events are global to the application, and they
      operate on the background thread, which will no longer be an option for
      the GeckoView event dispatcher.
      
      MozReview-Commit-ID: 8kesv8sJ8At
      843d67f2
    • Jim Chen's avatar
      Bug 1412872 - 6. Remove default prompt delegate support; r=snorp · e6d6cbb5
      Jim Chen authored
      Remove support for a default prompt delegate in GeckoView. Instead, all
      prompts without a known window will go to the active GeckoView if
      available.
      
      MozReview-Commit-ID: C62V6jtgDCl
      e6d6cbb5
    • Jim Chen's avatar
      Bug 1412872 - 5. Move GeckoAccessibility out of gecko-view; r=snorp · e8b34709
      Jim Chen authored
      Move GeckoAccessibility out of gecko-view and into gecko-browser.
      GeckoAccessibility as-is is currently only good for Fennec and is not
      suitable for generic GeckoView use.
      
      MozReview-Commit-ID: Fek8fLJNC6F
      
      --HG--
      rename : mobile/android/geckoview/src/main/java/org/mozilla/gecko/GeckoAccessibility.java => mobile/android/base/java/org/mozilla/gecko/GeckoAccessibility.java
      rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/ISelfBrailleService.java
      rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/SelfBrailleClient.java
      rename : mobile/android/geckoview/src/thirdparty/java/com/googlecode/eyesfree/braille/selfbraille/WriteData.java => mobile/android/thirdparty/com/googlecode/eyesfree/braille/selfbraille/WriteData.java
      e8b34709
    • Jim Chen's avatar
      Bug 1412872 - 4. Handle negate scroll pref in native code; r=rbarker · 74966802
      Jim Chen authored
      Handle the negate_wheel_scroll pref in native code so we don't depend on
      PrefsHelper in NativePanZoomController.
      
      MozReview-Commit-ID: 14YCcrDlObz
      74966802
    • Jim Chen's avatar
      Bug 1412872 - 3. Remove native GeckoView loadUri call; r=snorp · 45337547
      Jim Chen authored
      Remove the native GeckoView loadUri call because it's Fennec-only.
      Replace the call with a Fennec-only "Tab:OpenUri" event.
      
      MozReview-Commit-ID: 7xZW9aceoPL
      45337547
    • Jim Chen's avatar
      Bug 1412872 - 2. Implement Parcelable for GeckoViewSettings; r=snorp · 08bc532b
      Jim Chen authored
      Make GeckoViewSettings implement Parcelable so we can serialize it to
      save settings.
      
      MozReview-Commit-ID: HoxqbewtJko
      08bc532b
    • Jim Chen's avatar
      Bug 1412872 - 1. Implement Parcelable for GeckoBundle; r=snorp · 78a5bdee
      Jim Chen authored
      Implement Parcelable interface for GeckoBundle so it can be marshalled
      across processes over Bundle, AIDL, etc. Also, add a stub for a
      `GeckoBundle.put` method that suggests alternatives to use.
      
      MozReview-Commit-ID: IArNL7LYUPZ
      78a5bdee
    • Jim Chen's avatar
      Bug 1406168 - 5. Fix build; r=snorp · adad5418
      Jim Chen authored
      Removing the previous cpp files moved AndroidBridge.cpp to a different
      compilation unit, and that caused some problems with other code that
      depended on AndroidBridge being in or not in their compilation unit.
      This patch fixes those (unwanted) dependencies.
      
      MozReview-Commit-ID: DJsk3iENsx2
      adad5418
    • Jim Chen's avatar
      Bug 1406168 - 4. Remove unused code; r=snorp · 984efaf8
      Jim Chen authored
      Remove AndroidJNI.cpp, which is empty. Also remove some JNI string
      functions that are unused from AndroidBridge.
      
      MozReview-Commit-ID: CsP4L0TyN48
      984efaf8
    • Jim Chen's avatar
      Bug 1406168 - 3. Remove AndroidJavaWrappers; r=snorp · 5f70c0bf
      Jim Chen authored
      Remove AndroidJavaWrappers. Convert nsJNIString usages to use
      jni::String and AndroidMotionEvent usages to use java::sdk::MotionEvent.
      Move key code constants to GeckoEditableSupport.cpp.
      
      MozReview-Commit-ID: CwcGGADWCNv
      5f70c0bf
    • Jim Chen's avatar
      Bug 1406168 - 2. Remove AndroidJNIWrapper; r=snorp · ec08814a
      Jim Chen authored
      Remove AndroidJNIWrapper. It was primarily used by JNI.jsm and WebRTC.
      Usages in WebRTC are replaced with equivalent uses of JNI templates.
      
      MozReview-Commit-ID: DPSeMOtH2wF
      ec08814a
Loading