Skip to content
Snippets Groups Projects
This project is mirrored from https://github.com/facebook/react-native.git. Pull mirroring updated .
  1. Feb 07, 2017
  2. Feb 06, 2017
    • James Ide's avatar
      [0.41.2] Bump version numbers · 9347583d
      James Ide authored
      v0.41.2
      9347583d
    • James Ide's avatar
      [Release] Support the --remote option in bump-oss-version.js script · 71785a06
      James Ide authored
      In my RN checkout, I use "upstream" as my remote instead of "origin" -> this lets me run `scripts/bump-oss-version.js --remote upstream 0.41.1` for example.
      
      Also made the script executable so we don't need to put `node` in front of it, and updated the Releases.md doc.
      
      Test Plan: Did a dry run, saw that without the `--remote` flag the default remote is still `origin` and that specifying the flag let me override the origin.
      71785a06
    • James Ide's avatar
      [React] Use ~15.4.0 (not RC) · fa68531b
      James Ide authored
      fa68531b
    • Eric Vicenti's avatar
      Eject CLI command to re-create native folders · 516d9739
      Eric Vicenti authored
      Summary:
      The iOS and Android native folders of a React Native app can be difficult to maintain. This introduces a new workflow for creating and maintaining the native code of your app.
      
      Now it will be possible to:
      
      1. Remove the native iOS or Android folders
      2. Create an `app.json` for your app, with at least a `name` and `displayName`
      3. Run `react-native eject`, and the native code for your app will be generated
      
      Then, as usual, you can run `react-native run-ios` and `react-native run-android`, to build and launch your app
      
      For apps that don't have any native code, it will be possible to ignore the `ios` and `android` folders from version control.
      
      Eject step tested in RN app by deleting native folders.
      
      mkonicek, what is the best way to test `react-native init`?
      
      As follow-up items, we can enable the following:
      
      - Configuring app icon and launch screen from the `app.json`
      - Automatically run `react-native link` for native libraries
      - A
      Closes https://github.com/facebook/react-native/pull/12162
      
      Differential Revision: D4509138
      
      Pulled By: ericvicenti
      
      fbshipit-source-id: 0ee213e68f0a3d44bfce337e3ec43e5024bacc66
      516d9739
  3. Feb 04, 2017
  4. Feb 03, 2017
  5. Jan 31, 2017
  6. Jan 04, 2017
  7. Jan 03, 2017
  8. Jan 02, 2017
    • Lukas Woehrl's avatar
      Add feature to use percentage as value unit · 16359ec8
      Lukas Woehrl authored
      Summary:
      Adds the feature to use percentage as a value unit.
      
      You can use the function ```YGPx(float)``` and ```YGPercent(float)``` for convenience.
      
      I did some benchmarks:
      
      ```
      Without Percentage Feature - Release x86:
      
      Stack with flex: median: 0.000000 ms, stddev: 0.146683 ms
      Align stretch in undefined axis: median: 0.000000 ms, stddev: 0.136525 ms
      Nested flex: median: 0.000000 ms, stddev: 0.490101 ms
      Huge nested layout: median: 23.000000 ms, stddev: 0.928291 ms
      
      Stack with flex: median: 0.000000 ms, stddev: 0.170587 ms
      Align stretch in undefined axis: median: 0.000000 ms, stddev: 0.143384 ms
      Nested flex: median: 0.000000 ms, stddev: 0.477791 ms
      Huge nested layout: median: 22.000000 ms, stddev: 2.129779 ms
      
      With Percentage Feature - Release x86:
      
      Stack with flex: median: 0.000000 ms, stddev: 0.132951 ms
      Align stretch in undefined axis: median: 0.000000 ms, stddev: 0.136525 ms
      Nested flex: median: 0.000000 ms, stddev: 0.489570 ms
      Huge nested layout: median: 21.000000 ms, stddev: 1.390476 ms
      Closes https://github.com/facebook/yoga/pull/258
      
      Reviewed By: dshahidehpour
      
      Differential Revision: D4361945
      
      Pulled By: emilsjolander
      
      fbshipit-source-id: a8f5bc63ad352eb9410d792729e56664468cd76a
      16359ec8
  9. Dec 31, 2016
  10. Dec 30, 2016
  11. Dec 29, 2016
    • Konstantin Raev's avatar
      Updated extra-android-m2repository to get android support v4 23.4.0 · a77d17c0
      Konstantin Raev authored
      Summary:
      Circle CI has an older m2repository version by default
      Closes https://github.com/facebook/react-native/pull/11671
      
      Differential Revision: D4372795
      
      Pulled By: kentaromiura
      
      fbshipit-source-id: ac563fe3825a57087fbf806c913383e1ade8535f
      a77d17c0
    • Emil Sjolander's avatar
      Allow decimal measurements on java · c7c24dce
      Emil Sjolander authored
      Differential Revision: D4366605
      
      fbshipit-source-id: 0b94ee87a03a6ed918360dd9998930e780fc865d
      c7c24dce
    • Caleb Gomer's avatar
      Update Android RecyclerView Library to 23.4.0 · 57317069
      Caleb Gomer authored
      Summary: Update the Android RecyclerView, support v4, and annotation libraries to 23.4.0.
      
      Differential Revision: D4345649
      
      fbshipit-source-id: 859c6555bc79358b1c8ffed0629cdf0e83408a00
      57317069
    • Ahmed El-Helw's avatar
      Ignore touch events on layout only Nodes · e380d6d0
      Ahmed El-Helw authored
      Summary:
      Before this patch, each Node would always generate a node
      region, representing the bounds of this particular Node. This set of Nodes was
      used when handling touch to figure out whether we should intercept touch (i.e.
      a flat Node is catching the draw), or let Android handle touch (i.e. a Node
      mounted to a View will handle the touch).
      
      This patch modifies the list of NodeRegions to exclude any Nodes that draw
      nothing at all. These Nodes, having no draw output, are effectively layout
      containers used to group items, so they shouldn't handle touch.
      
      Reviewed By: sriramramani
      
      Differential Revision: D4369484
      
      fbshipit-source-id: 71b41611873580631f1639f368fa8d971995874f
      e380d6d0