Commit Graph

9420 Commits

Author SHA1 Message Date
Spencer Ahrens 99f7a0ab9d [ReactNative] Pull out some OSS modules into separate libs 2015-02-27 08:36:52 -08:00
Tadeu Zagallo e53558d94a Enqueue events at 60fps + profiling helpers 2015-02-27 04:49:01 -08:00
James Ide ddf8933904 [Children] Expose React.Children like web React
Summary:
Simply exposes this public API from ReactIOS in the same manner as web React.
Closes https://github.com/facebook/react-native/pull/104
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-26 20:24:46 -08:00
Tadeu Zagallo b2a900de83 Remove touch handler assertions - not always true 2015-02-26 18:35:03 -08:00
Sumeet Vaidya ee8d0d7204 [treehouse] Add support for clear button on UITextFields 2015-02-26 16:14:14 -08:00
James Ide 337329451d [Touch] Suite of touchable events on TouchableHighlight/Opacity
Summary:
The following props are now supported on TouchableHighlight/Opacity components:

 - onPress (was there before)
 - onPressIn
 - onPressOut
 - onLongPress

There is a `TouchableFeedbackPropType` that is shared amongst the Touchable family for consistency.

Added UIExplorer example to demonstrate and test.

Fixes #101.
Closes https://github.com/facebook/react-native/pull/102
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-26 10:30:31 -08:00
James Ide d0d774d403 [Images] Bail out when GIF data is in unexpected format instead of crashing
Summary:
When the GIF data is not a string nor NSData, `imageSource` is some unknown value set to whatever memory was on the stack. Calling `CGImageSourceGetType` on it has undefined behavior, and if it makes through to the CFRelease (maybe because it is NULL) then CFRelease will crash. This fixes a clang warning.
Closes https://github.com/facebook/react-native/pull/77
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-26 07:49:06 -08:00
Amjad Masad 96312af117 [react-packager] Fix lint errors 2015-02-25 20:29:42 -08:00
Chengyin Liu 929cfc9dd5 [react-packager] fix a typo s/pacakge/package
Summary:
Closes https://github.com/facebook/react-native/pull/83
Github Author: Chengyin Liu <chengyin.liu@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-25 16:07:13 -08:00
Amjad Masad cf7d196c45 [react-packager] Fix jest tests 2015-02-25 14:17:42 -08:00
James Ide 6687c84467 [Image] Really improve the quality of mis-sized images w/trilinear filtering
Summary:
Images whose intrinsic dimensions don't match the view's dimensions suffer from jaggies. Applying `kCAFilterTrilinear` makes this way better. If you accurately size your images then there's no difference, good job (y)

I left GIFs using the default linear filtering since they are more intensive to begin with and GIFs are generally for animation these days anyway.
Closes https://github.com/facebook/react-native/pull/95
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-02-25 13:41:42 -08:00
Christopher Chedeau c892d2c8d1 Updates from Tue Feb 24
- Only update Redbox when offscreen | Nick Lockwood
- [react-packager] Cleanup option passing and validation | Amjad Masad
- Unified bridge implementation between OSS and private React forks | Nick Lockwood
- [react-packager][cleanup options 1/2] add npm installed joi validation library | Amjad Masad
2015-02-25 12:40:49 -08:00
Christopher Chedeau 1f8740a9f8 Updates from Mon Feb 22
- [ReactNative] remove docs and website from fbobjc and improve oss_export | Spencer Ahrens
- [ReactNative] Bring back ReactKit proj files | Spencer Ahrens
- [React-Native] Update jstransform/esprima | Christoph Pojer
2015-02-25 12:36:51 -08:00
Christopher Chedeau 72ed849e35 rebase 2015-02-25 09:54:45 -08:00
Nick Lockwood 46981fc258 Only update Redbox when offscreen 2015-02-24 16:58:48 -08:00
Amjad Masad f426ec8d7d [react-packager] Cleanup option passing and validation 2015-02-24 15:17:40 -08:00
Nick Lockwood 9a2e7a852a Unified bridge implementation between OSS and private React forks 2015-02-24 10:12:30 -08:00
Christopher Chedeau 83cdba1b08 Update Timers.md 2015-02-23 20:04:02 -08:00
Christopher Chedeau 394ddd5d69 Update Timers.md 2015-02-23 19:58:09 -08:00
Christopher Chedeau 27c59afa9f Update Image.md 2015-02-23 19:36:23 -08:00
Amjad Masad 00553c6d06 [react-packager][cleanup options 1/2] add npm installed joi validation library 2015-02-23 13:11:35 -08:00
Christopher Chedeau 889a30aabd Update Style.md 2015-02-22 08:46:54 -08:00
Christopher Chedeau fac2c8bc18 Update Style.md 2015-02-22 08:46:35 -08:00
Christopher Chedeau 1919c7ba2f Update Style.md 2015-02-22 08:43:27 -08:00
Christopher Chedeau 517343a751 Rename Styles.md to Style.md 2015-02-22 08:42:54 -08:00
Christopher Chedeau 42b9de3ce1 Update and rename docs to docs/Styles.md 2015-02-22 08:42:36 -08:00
Christopher Chedeau 12e792c688 Update and rename docs to docs/Physical vs Logical Pixels.md 2015-02-21 09:27:33 -08:00
Christopher Chedeau 67068390d3 Create Text.md 2015-02-21 08:00:05 -08:00
Spencer Ahrens 5fd9cd26b1 [ReactNative] remove docs and website from fbobjc and improve oss_export 2015-02-20 18:54:11 -08:00
Spencer Ahrens aa03c2755e [ReactNative] Bring back ReactKit proj files 2015-02-20 16:49:03 -08:00
Christoph Pojer 987d1ef3d7 [React-Native] Update jstransform/esprima 2015-02-20 15:06:21 -08:00
Spencer Ahrens 11eafb5563 Updates from Fri Feb 20
- [react-packager][streamline oss] Move open sourced JS source to react-native-github | Spencer Ahrens
- [react-packager] Bump version | Amjad Masad
- Converted remaining modules and removed RKBridgeModule | Nick Lockwood
2015-02-20 10:33:17 -08:00
Spencer Ahrens efae175a8e [react-packager][streamline oss] Move open sourced JS source to react-native-github 2015-02-19 21:25:11 -08:00
Spencer Ahrens 3abf4fb6ae Updates from Feb 19
- [Catalyst] Clean up bundling/runApp to match OSS | Spencer Ahrens
- [react-native][pull request] Add root to packager via cli | Boopathi Rajaa | Amjad Masad
2015-02-19 18:57:27 -08:00
Amjad Masad 8f68996ccd [react-packager] Add root to packager rootProjects via cli | Boopathi Rajaa 2015-02-19 11:21:34 -08:00
Spencer Ahrens c88a1cd9b8 Updates from Wed Feb 18
- [reactnative] s/SpinnerIOS/ActivityIndicatorIOS/ | Dan Witte
- [react-packager] Add a non-persistent mode for static builds | Amjad Masad
- [React Native] Fix stored file rejection when initializing cache | Alex Akers
- [React Native] Consolidate network requests in image downloader | Alex Akers
- [React Native] Update RCTCache | Alex Akers
- Converted all low-hanging RKBridgeModules in FBReactKit to RCTBridgeModules | Nick Lockwood
2015-02-18 17:51:14 -08:00
Spencer Ahrens 89db1a64aa Updates from Tue Feb 17
- [ReactNative] Make run on iOS7 again | Philipp von Weitershausen
- [ReactNative] Make it possible to use fbobjc's RKJSModules for ReactAndroid | Philipp von Weitershausen
- [React Native] Add image/network cache | Alex Akers
- [ReactNative] Sync fbandroid to fbobjc | Philipp von Weitershausen
2015-02-18 17:48:13 -08:00
Spencer Ahrens 3d9d8e6a5a Updates from Mon Feb 16
- Ported RCTViewManager to FBReactKit | Nick Lockwood
2015-02-18 17:46:39 -08:00
Spencer Ahrens eeb0bf145d Updates from Sun Feb 15
- [react-packager][streamline oss] Injectable transformer | Amjad Masad
2015-02-18 17:43:36 -08:00
Spencer Ahrens ef842c285b Updates from Fri Feb 13
- [ReactNative] Fix throttle warning and warn in callback instead of render | Christopher Chedeau
- [react-packager][streamline oss] Remove react-page-middleware | Amjad Masad
- [ReactNative] Turn on perf measurement around a group feed load | Jing Chen
- Implemented Layout animations | Nick Lockwood
- [ReactNative] Revert D1815137 - avoid dropping touch start on missing target | Eric Vicenti
- Moved RKPOPAnimationManager into FBReactKitComponents | Nick Lockwood
- Extracted RKAnimationManager | Nick Lockwood
2015-02-18 17:39:09 -08:00
Felix Kling 472c287cd3 Update react-docgen and ignore pages with no header 2015-02-18 16:39:28 -08:00
Christopher Chedeau 022696c345 Create Timers.md 2015-02-14 10:06:55 -08:00
Christopher Chedeau 2faac4c24b Create Image.md 2015-02-13 17:14:32 -08:00
Christopher Chedeau 7fed64082c Create Network.md 2015-02-13 15:19:36 -08:00
Christopher Chedeau 001eef0e9f Merge pull request #59 from galenandrew/copyright-patch
Updated copyright year to include 2015
2015-02-12 16:36:36 -08:00
Andrew Turner 7cb5ac230e removed 2014 from copyright 2015-02-12 18:34:38 -06:00
Andrew Turner fe0054f70f Merge branch 'master' into copyright-patch 2015-02-12 18:32:21 -06:00
Christopher Chedeau 70f28332b6 Initial version of the automatically generated docs 2015-02-12 14:44:00 -08:00
Felix Kling 2f322bf895 Update react-docgen 2015-02-12 13:46:49 -08:00
Felix Kling ba7021f6f8 Adding react-docgen for documentation generation
Usage: cd website/react-docgen && npm install
or: cd website/react-docgen && npm install -g ./
2015-02-12 11:56:40 -08:00