James Ide
62766e6077
[Text] Account for font leading so descenders are not clipped
...
Summary:
Prior to this diff, descenders (the hanging tail on letters like g and j) were clipped on the last line because the text measurer did not account for the font leading. With `NSStringDrawingUsesFontLeading` it honors the fonts line spacing.
To test: open the Text demo of the UIExplorer and see that the bottom of the letter g is no longer clipped off.
## Before
![Screenshot Before](https://cloud.githubusercontent.com/assets/379606/6364746/1c5527a0-bc60-11e4-8aeb-2147a6eb6596.png )
## After
![Screenshot After](https://cloud.githubusercontent.com/assets/379606/6364747/1e9abe58-bc60-11e4-8c34-9f20ad8572ff.png )
Closes https://github.com/facebook/react-native/pull/96
Github Author: James Ide <ide@jameside.com>
Test Plan: Imported from GitHub, without a `Test Plan:` line.
2015-03-23 11:40:24 -08:00
Christopher Chedeau
f67a36733f
[ReactNative] Expanded license on js packager files
2015-03-23 11:28:51 -08:00
Basil Hosmer
d6bb48d972
more UIExplorer flow
2015-03-23 11:21:08 -08:00
Amjad Masad
a6b154332b
[react-packager] Pick up package changes while running
2015-03-23 11:15:52 -08:00
Bryce Redd
ac8cd5a5d0
Added a graph view and a ReactNative metric that displays current queue and execution time for the JS thread.
2015-03-23 10:52:19 -08:00
Felix Kling
3a2b1be6d1
Merge pull request #170 from fkling/docs
...
Add logic to show style props in docs
2015-03-23 11:42:51 -07:00
Felix Kling
d5f670d19c
Add logic to show style props in docs
2015-03-23 11:34:20 -07:00
Christopher Chedeau
e811181034
Add copyright header on website files
2015-03-23 10:56:09 -07:00
Christopher Chedeau
3e2bcdc5a1
Merge pull request #181 from appsforartists/master
...
Copy editing
2015-03-23 10:51:29 -07:00
Christopher Chedeau
a439cd206e
Update CONTRIBUTING.md
2015-03-23 10:49:51 -07:00
Christopher Chedeau
6938f45246
Update license
2015-03-23 10:48:39 -07:00
Brenton Simpson
eb37460eb1
Merge pull request #2 from appsforartists/style-doc-correction
...
Style doc correction
2015-03-23 10:45:34 -07:00
Brenton Simpson
6dca10bf34
Copy editing
2015-03-23 10:39:13 -07:00
Alex Kotliarskyi
e4990939e4
[ReactNative] Add NativeModules and DeviceEventEmitter to react-native exports
2015-03-23 09:23:51 -08:00
Christopher Chedeau
41e3de6aa6
Merge pull request #180 from vjeux/update10
...
Updates from Mon 23 Mar
2015-03-23 10:16:59 -07:00
Christopher Chedeau
82461e04ab
Updates from Mon 23 Mar
...
- [React Native] Fix iOS 7 crashes b/c missing Photos.fmwk | Alex Akers
- UIExplorer flowification | Basil Hosmer
- Add clearImmediate module | Marshall Roch
- [ReactNative] Print directories packager is serving files from | Alex Kotliarskyi
- Work around flow bug with exports | Marshall Roch
- [ReactNative] Move packager/init.sh to GitHub | Alex Kotliarskyi
- [ReactNative] Remove react-native/package.json | Christopher Chedeau
- [ReactNative] Returning actual contentSize for RCTScrollViewManager | Henry Lung
2015-03-23 10:06:16 -07:00
Christopher Chedeau
a738b49ae2
Website: initial page for videos
2015-03-23 09:48:43 -07:00
Alex Akers
48cc440bd3
[React Native] Fix iOS 7 crashes b/c missing Photos.fmwk
2015-03-23 08:06:58 -08:00
Basil Hosmer
45a7b5cdcb
UIExplorer flowification
2015-03-23 00:24:47 -08:00
Marshall Roch
05409868b6
Add clearImmediate module
2015-03-22 23:28:04 -08:00
Alex Kotliarskyi
5023931272
[ReactNative] Print directories packager is serving files from
2015-03-22 22:37:55 -08:00
Marshall Roch
0a88663b1e
Work around flow bug with exports
2015-03-22 22:12:18 -08:00
Alex Kotliarskyi
b612741b21
[ReactNative] Move packager/init.sh to GitHub
2015-03-22 20:17:39 -08:00
Christopher Chedeau
87f42ab450
[ReactNative] Remove react-native/package.json
2015-03-22 20:17:01 -08:00
Henry Lung
6b0711b719
[ReactNative] Returning actual contentSize for RCTScrollViewManager
2015-03-22 13:31:32 -08:00
Alexander Kotliarskyi
ca47be3d38
Merge pull request #178 from frantic/no-npm-init-in-cli
...
Allow react-native init <project-or-dir-name>
2015-03-22 14:09:51 -07:00
Alex Kotliarskyi
4d077f4ee8
Fix few paths for react-native cli scripts
2015-03-22 14:04:55 -07:00
Alex Kotliarskyi
df73a485cc
Allow react-native init <project-or-dir-name>
2015-03-22 13:27:32 -07:00
Christopher Chedeau
616e29f723
Update Network.md
2015-03-22 09:33:24 -07:00
Christopher Chedeau
136d9691c9
Update NativeModulesIOS.md
...
Linkify code and better warning/note formatting
2015-03-21 19:12:09 -07:00
Christopher Chedeau
bc5181e96e
Update NativeModulesIOS.md
2015-03-21 18:16:49 -07:00
Alex Kotliarskyi
e1d629c2eb
Native Modules Guide: address feedback from #176
2015-03-21 17:43:43 -07:00
Christopher Chedeau
f2dd966fd8
Merge pull request #176 from frantic/native-modules-guide
...
Add Native Modules (iOS) guide
2015-03-21 14:20:57 -07:00
Alex Kotliarskyi
822e659177
Add Native Modules (iOS) guide
2015-03-21 11:39:34 -07:00
Christopher Chedeau
1899516a52
Update Image.md
...
s/ix/require('image!')/
2015-03-21 11:04:05 -07:00
Christopher Chedeau
4f8a86e8d7
Website tweaks
2015-03-21 10:59:41 -07:00
Christopher Chedeau
edb9322fe4
Merge pull request #175 from vjeux/update9
...
Updates from Fri 20 Mar
2015-03-21 10:38:21 -07:00
Christopher Chedeau
a66fad52b6
Updates from Fri 20 Mar
...
- declare timeoutID | Basil Hosmer
- [react-packager] Allow entry point extensions like .ios.js | Amjad Masad
- [react-native] Use SpreadProperty to make react-docgen happy | Felix Kling
- clean Examples/2048 | Basil Hosmer
- [ReactNative] Adjust packager default root when running from within node_modules | Alex Kotliarskyi
- [ReactNative] Add missing websocket dependency | Alex Kotliarskyi
- [react-packager] change all but one `ix` to `require` | Amjad Masad
2015-03-21 10:23:15 -07:00
Basil Hosmer
10b6c57731
declare timeoutID
2015-03-20 17:51:06 -08:00
Tadeu Zagallo
b881028494
[ReactNative] Add root package.json name back
2015-03-20 17:38:23 -08:00
Amjad Masad
ce6354604c
[react-packager] Allow entry point extensions like .ios.js
2015-03-20 17:24:51 -08:00
Felix Kling
81d024924c
[react-native] Use SpreadProperty to make react-docgen happy
2015-03-20 17:04:12 -08:00
Basil Hosmer
ca3be21484
clean Examples/2048
2015-03-20 16:33:03 -08:00
Alex Kotliarskyi
33b46c3ba9
[ReactNative] Adjust packager default root when running from within node_modules
2015-03-20 16:12:57 -08:00
Christopher Chedeau
17d5182b6c
Merge pull request #171 from vjeux/update8
...
Updates from Thu 19 Mar
2015-03-20 16:31:07 -07:00
Alex Kotliarskyi
0c5f9e3662
[ReactNative] Add missing websocket dependency
2015-03-20 15:29:56 -08:00
Amjad Masad
f1746ac83e
[react-packager] change all but one `ix` to `require`
2015-03-20 15:26:58 -08:00
Christopher Chedeau
031266fbdf
Updates from Thu 19 Mar
...
- [ReactNative] Add root package.json name back | Tadeu Zagallo
- [react-packager] Make sure projectRoots is converted to an array | Amjad Masad
- [ReactNative] Init script that bootstraps new Xcode project | Alex Kotliarskyi
- [ReactNative] New SampleApp | Alex Kotliarskyi
- [ReactNative] Touchable invoke press on longPress when longPress handler missing | Eric Vicenti
- [ReactNative] Commit missing RCTWebSocketDebugger.xcodeproj | Alex Kotliarskyi
- [ReactNative] Add Custom Components folder | Christopher Chedeau
- [react-packager] Hash cache file name information to avoid long names | Amjad Masad
- [ReactNative] Put all iOS-related files in a subfolder | Alex Kotliarskyi
- [react-packager] Fix OOM | Amjad Masad
- [ReactNative] Bring Chrome debugger to OSS. Part 2 | Alex Kotliarskyi
- [ReactNative] Add search to UIExplorer | Tadeu Zagallo
- [ReactNative][RFC] Bring Chrome debugger to OSS. Part 1 | Alex Kotliarskyi
- [ReactNative] Return the appropriate status code from XHR | Tadeu Zagallo
- [ReactNative] Make JS stack traces in Xcode prettier | Alex Kotliarskyi
- [ReactNative] Remove duplicate package.json with the same name | Christopher Chedeau
- [ReactNative] Remove invariant from require('react-native') | Christopher Chedeau
- [ReactNative] Remove ListViewDataSource from require('react-native') | Christopher Chedeau
- [react-packager] Add assetRoots option | Amjad Masad
- Convert UIExplorer to ListView | Christopher Chedeau
- purge rni | Basil Hosmer
- [ReactNative] s/render*View/render/ in <WebView> | Christopher Chedeau
2015-03-20 16:24:35 -07:00
Christopher Chedeau
980217c543
Merge pull request #173 from frantic/packager-logs
...
Manually start packager and print logs when tests fail
2015-03-20 15:22:07 -07:00
Amjad Masad
258a81388e
[react-packager] Make sure projectRoots is converted to an array
2015-03-20 14:09:31 -08:00