1036 Commits

Author SHA1 Message Date
Ben Alpert
fe3bd860ac Merge pull request #609 from spicyj/travis
Build the website without publishing on PRs
2015-04-01 18:40:15 -07:00
Christopher Chedeau
db3a724bb2 Updates from Wed 1 Apr
- (Xcode) Set indent=2 in all xcodeproj files. | Spencer Ahrens
- [react-native] Fix dev menu keyboard shortcut in sample app | Ben Alpert
- [ReactNative] Fix doc page for PushNotificationIOS | Eric Vicenti
- [ReactNative] Improve <Image> docs | Christopher Chedeau
- Add support for web-style data-uris | Felix Oghina
- [react_native] Update AnimationsDebugModule to output more accurate FPS info | Andy Street
- [ReactNative] Rename NavigationBar props | Eric Vicenti
2015-04-01 18:37:03 -07:00
Ben Alpert
fae38f59d4 Build the website without publishing on PRs
To catch docgen errors.
2015-04-01 18:34:42 -07:00
Ben Alpert
c6203f6516 Merge pull request #610 from spicyj/err
Die with status 1 when website generation fails
2015-04-01 18:34:27 -07:00
Ben Alpert
d81cb6e162 Die with status 1 when website generation fails
So Travis won't wipe out the website on error. :\
2015-04-01 18:31:18 -07:00
Ben Alpert
443d44d8f4 Merge pull request #607 from spicyj/travis
Redo Travis config
2015-04-01 18:20:32 -07:00
Ben Alpert
da9bd7b55a Redo Travis config
Now website build failures should fail the build, and Xcode tests should
run correctly (previously they didn't seem to be -- Travis was
complaining that no project or scheme was specified).
2015-04-01 18:15:47 -07:00
laiso
e35521300a (Xcode) Set indent=2 in all xcodeproj files.
Summary:
These are default settings now.
I saw my Xcode be configured indent=4.

![2015-03-30 12 16 11 pm](https://cloud.githubusercontent.com/assets/39830/6889697/98f8b930-d6d6-11e4-81c8-d2146855d127.png)

Closes https://github.com/facebook/react-native/pull/472
Github Author: laiso <laiso@lai.so>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-01 17:14:45 -08:00
Christopher Chedeau
adbdfe65e1 Merge pull request #606 from spicyj/server-fail
Fail generating website if any page throws an error
2015-04-01 17:57:25 -07:00
Ben Alpert
efe446e962 Fail generating website if any page throws an error
This will prevent us from having pages on the site that just show error
stack traces -- instead, Travis will fail with an error and we'll
notice sooner.

I cleaned up this logic to use promises which was eay easier to track
for the error behavior and should be simpler to follow regardless.
2015-04-01 17:42:33 -07:00
sungwook yeom
45344d2869 [react-native] Fix dev menu keyboard shortcut in sample app
Summary:
To press Cmd+Shift+Z in Sample App on the iOS Simulator is nothing happen.

To press Cmd+Control+Z is showing dev menu.
Closes https://github.com/facebook/react-native/pull/598
Github Author: sungwook yeom <sungwook.yeom@samsung.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-01 16:39:53 -08:00
Alexander Kotliarskyi
bd8671f4da Merge pull request #577 from lvyile/patch-2
[Docs] Add missing #import "RCTLog.h"
2015-04-01 17:18:25 -07:00
Eric Vicenti
a1e6d70ec9 [ReactNative] Fix doc page for PushNotificationIOS 2015-04-01 13:19:42 -08:00
Tadeu Zagallo
041770be62 Merge pull request #591 from facebook/revert-562-master
Revert "Fixed image link for AddToSearchPaths.png"
2015-04-01 20:50:33 +01:00
Tadeu Zagallo
de8cfae5e4 Revert "Fixed image link for AddToSearchPaths.png" 2015-04-01 20:50:13 +01:00
Tadeu Zagallo
14475b7879 Merge pull request #590 from facebook/revert-561-patch-4
Revert "Fixed broken image for AddToBuildPhases.png"
2015-04-01 20:48:55 +01:00
Tadeu Zagallo
0024a1c0a0 Revert "Fixed broken image for AddToBuildPhases.png" 2015-04-01 20:47:20 +01:00
Christopher Chedeau
a597809cfa Merge pull request #585 from tehfailsafe/patch-2
Add watchman permission errors
2015-04-01 12:16:13 -07:00
Christopher Chedeau
dee36b8e07 [ReactNative] Improve <Image> docs 2015-04-01 10:15:51 -08:00
Colin Ramsay
4838d5921f Add support for web-style data-uris
Summary:
This implements base64-encoded data-uris for the Image component.
Closes https://github.com/facebook/react-native/pull/576
Github Author: Colin Ramsay <colinramsay@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-04-01 10:01:37 -08:00
tehfailsafe
750c633940 Add watchman permission errors
Added quick reinstall --HEAD fix for watchman
https://github.com/facebook/watchman/issues/90
2015-04-01 10:22:08 -07:00
Amjad Masad
f895ce7fbc 0.3.3 v0.3.3 2015-04-01 09:26:46 -07:00
Amjad Masad
ab263204bf 0.3.2 v0.3.2 2015-04-01 09:22:38 -07:00
Andy Street
3de7ad6c33 [react_native] JS files from D1955639: [react_native] Update AnimationsDebugModule to output more accurate FPS info 2015-04-01 08:13:53 -08:00
Christopher Chedeau
c746a1c039 Merge pull request #581 from vjeux/update1
Updates from Wed 1 Apr
2015-04-01 08:54:31 -07:00
Christopher Chedeau
7a165db177 Use greedy regex for removing docblock 2015-04-01 08:54:20 -07:00
Christopher Chedeau
eacecbbca8 Merge pull request #561 from Za1batsu/patch-4
Fixed broken image for AddToBuildPhases.png
2015-04-01 08:48:06 -07:00
Christopher Chedeau
e214178e68 Merge pull request #562 from Za1batsu/master
Fixed image link for AddToSearchPaths.png
2015-04-01 08:47:52 -07:00
Christopher Chedeau
0915e2a2d5 Merge pull request #558 from Za1batsu/patch-2
Fixed broken image link for EmbeddedAppExample.png
2015-04-01 08:47:43 -07:00
Christopher Chedeau
885923f975 Merge pull request #556 from Za1batsu/patch-1
Fixed broken image link
2015-04-01 08:47:36 -07:00
Christopher Chedeau
da6766d644 Updates from Wed 1 Apr
- Packager status page & build validating against it. | Spencer Ahrens
- Do not expose define references in require polyfill | Amjad Masad
2015-04-01 08:46:12 -07:00
Eric Vicenti
5a6bf00223 [ReactNative] Rename NavigationBar props 2015-04-01 07:43:22 -08:00
cclv
9c26742743 missing #import "RCTLog.h" 2015-04-01 21:41:39 +08:00
tako-black
399ace3733 change singular 2015-04-01 18:56:10 +09:00
Spencer Ahrens
89f52893cd Merge pull request #515 from daviskoh/fix-readme-typo
fix objc syntax error
2015-04-01 00:08:38 -07:00
Justin Carmony
b6503ba431 Packager status page & build validating against it.
Summary:
Creating a packager status page so React can validate a proper packager instance is running on 8081.

See #257 for details on this bug.

The biggest thing in this PR is I have it perform an exit 2 in the build script if the check fails. This will cause the build to fail, they can click on the error and see a nice message. Not sure if there is a way to throw a warning instead.

Also, I broke the bash script into several lines, in the Xcode editor it looks fine but in the source code it looks less than ideal. We might want to break that out into it's own bash script that is called. Let me know if you want to do that.
Closes https://github.com/facebook/react-native/pull/308
Github Author: Justin Carmony <justin@justincarmony.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-31 23:01:04 -08:00
Spencer Ahrens
d71c079dde Merge pull request #469 from tjwudi/master
Document supported CSS properties
2015-03-31 23:42:09 -07:00
Spencer Ahrens
5ec33d48d6 Merge pull request #451 from Rudimental/patch-3
(cleanup/ fix grammer & typos) packager/README.md
2015-03-31 23:37:13 -07:00
Jacob Gable
63c2f80a7c Do not expose define references in require polyfill
Summary:
See #406

Made sure the jest tests pass but didn't know a good unit test to add for this.
Closes https://github.com/facebook/react-native/pull/427
Github Author: Jacob Gable <jacob.gable@gmail.com>

Test Plan:
* ./runJestTests
* start app and click around
2015-03-31 22:32:39 -08:00
Spencer Ahrens
9b9afb56f5 Merge pull request #569 from sahrens/updates1
Updates from Tue 31 Mar (2)
2015-03-31 23:10:05 -07:00
Spencer Ahrens
d679cb4986 Merge pull request #296 from ide/touchable-default
[Touchable] Change default `activeOpacity` to 0.2 to match iOS
2015-03-31 22:55:15 -07:00
Spencer Ahrens
2cced4b940 - [react-packager] Switch from Q to Bluebird as promises library | Pilwon Huh
- [Touchable] Change default `activeOpacity` to 0.2 to match iOS | James Ide
- [ReactNative] Normalize name for examples | Christopher Chedeau
- [ReactNative] Added support for 3 digit hex colors | Arthur Lee
- [react-packager] Fix EISDIR error | Amjad Masad
- make renderError and renderLoading props optional for WebView | Don Yu
2015-03-31 22:48:18 -07:00
Pilwon Huh
87599bfcd1 [react-packager] Switch from Q to Bluebird as promises library
Summary:
This PR improves performance of `react-packager` by switching the promises library from the [Q](https://github.com/kriskowal/q) to [Bluebird](https://github.com/petkaantonov/bluebird).

[Here is the test result](https://github.com/facebook/react-native/issues/361#issuecomment-87829808) showing a noticeable difference. (2x speed improvement)

Please refer to [this issue](https://github.com/facebook/react-native/issues/361) for more details.
Closes https://github.com/facebook/react-native/pull/516
Github Author: Pilwon Huh <pilwon@gmail.com>

Test Plan:
./runJestTests
start app and click around
2015-03-31 21:24:13 -08:00
James Ide
6638713d3c [Touchable] Change default activeOpacity to 0.2 to match iOS
Summary:
Closes https://github.com/facebook/react-native/pull/296
Github Author: James Ide <ide@jameside.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-31 21:09:22 -08:00
Spencer Ahrens
b66710c6ed Merge pull request #314 from jordanna/issue/251
Fix WebView automaticallyAdjustContentInsets error
2015-03-31 21:53:44 -07:00
Christopher Chedeau
e8155c94dd [ReactNative] Normalize name for examples 2015-03-31 20:49:24 -08:00
Arthur Lee
2d42c9eb4a [ReactNative] Added support for 3 digit hex colors | Arthur Lee
Summary:
This addition adds a check for whether a hex color is 3 or 6 digits. If it is 3 digits, it will expand the short form into 6 digits, just like in CSS. The additional benefit of having the length check is that hex colors of invalid lengths (like 4 digits) will be considered invalid. In CSS, invalid length hex colors returns white, but here I have logged an error through `RCTLogError`.
Closes https://github.com/facebook/react-native/pull/455
Github Author: Arthur Lee <arthur@arthurlee.me>

Test Plan: Tried a couple of colors in the sample app, like `#FACEB0`, `#F00`, etc.
2015-03-31 20:05:14 -08:00
Amjad Masad
92a6c3e004 [react-packager] Fix EISDIR error 2015-03-31 19:49:05 -08:00
Don Yu
414d975370 make renderError and renderLoading props optional for WebView
Summary:
@vjeux Making the renderError and renderLoading props optional for WebView by setting the default to be what's shown for the WebView example in UIExplorer. issue #349
Closes https://github.com/facebook/react-native/pull/512
Github Author: Don Yu <donyu8@gmail.com>

Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-31 18:54:47 -08:00
Za1batsu
e49a0f0c57 Fixed image link for AddToSearchPaths.png
AddToSearchPaths.png failed to load properly. Fixed link to load same image from "react-native/website/src/react-native/img". Did not touch source code.
2015-03-31 19:27:54 -07:00