Paul O’Shannessy
36796348f2
v15.0.0-rc.1
2016-03-07 17:02:10 -08:00
Paul O’Shannessy
f3738d2cd0
Merge pull request #5781 from ara4n/master
...
support onLoad synthetic event attribute on 'object' tags
2016-03-06 18:57:37 -08:00
Paul O’Shannessy
f430c47467
Merge pull request #6185 from zpao/fbjs-upgrade
...
Upgrade fbjs, fbjs-scripts
2016-03-06 12:12:48 -08:00
rainer oviir
9c1916dedb
Fix #6114 - Calling setState inside getChildContext should warn
2016-03-04 23:20:29 -08:00
Jim
3b86cb10c4
Merge pull request #6177 from yuanyan/patch-1
...
Remove dead code.
2016-03-04 22:07:17 -08:00
Paul O’Shannessy
4e2a0d14a9
Upgrade fbjs, fbjs-scripts
2016-03-04 16:07:20 -08:00
Paul O’Shannessy
f707ee53e2
Extend the correct object in the SyntheticEvent proxy
2016-03-04 13:59:51 -08:00
Dan Abramov
8a9ab75261
Warn about SVG attributes once
...
This fixes a missing check in #5714
2016-03-04 16:26:49 +00:00
Paul O’Shannessy
093bb22030
Update lint config, dependencies, fix issues
...
This also fixes messages from new synthetic events warnings
2016-03-03 10:16:02 -08:00
yuanyan
45a321d686
Remove dead code.
2016-03-03 23:08:47 +08:00
Michael McDermott
18af9bc91e
Fixed some linting warnings and some mis-spacing in SyntheticEvent warnings.
2016-03-02 18:40:23 -05:00
Jim
09666ad486
Merge pull request #6159 from mxstbr/move-jsx-comment
...
Move no-jsx note in ReactElement tests
2016-03-02 11:00:20 -08:00
Dan Abramov
5eab1bbe29
Don't interpret reserved props as attributes for SVG elements
...
This fixes a bug introduced in #5714 .
The code paths are now similar to web components where we worked around the same issue in #5093 .
Additionally, we also skip dangerouslySetInnerHTML and suppressContentEditableWarning.
2016-03-02 02:48:57 +00:00
Max
32b0c62214
Copy and paste no-jsx note from top of file to places where it's used
...
Closes #6157
2016-03-01 20:06:20 +01:00
Paul O’Shannessy
730e5ac2e6
Merge pull request #6132 from chicoxyzzy/use_object_is_in_oneof_validate_method
...
Using Object.is implementation when compare values inside React.PropTypes.oneOf
2016-02-29 09:59:09 -08:00
chico
03925f4f06
Using Object.is implementation when compare values inside React.PropTypes.oneOf
2016-02-29 18:46:19 +03:00
Ben Alpert
96eb7ffdda
Merge pull request #6139 from mxstbr/fix-rendertostaticmarkup-invariant
...
Fix renderToStaticMarkup() invariant
2016-02-28 22:27:02 -08:00
Max
4d1bfcc8e1
Fix renderToStaticMarkup invariant
2016-02-28 22:33:23 +01:00
Paul O’Shannessy
5696ccfcd7
Merge pull request #6005 from milesj/synthetic-transition
...
Added support for synthetic animation/transition events.
2016-02-28 11:09:30 -08:00
Steven Vachon
f68325f5d7
support standard "cssFloat" css property
...
For tools that compile CSS may have already converted the name.
More info:
https://npmjs.com/camelcase-css
https://npmjs.com/postcss-js
2016-02-27 01:13:15 -05:00
Dan Abramov
4c804361e0
Fix the lint issue introduced in #6129
2016-02-26 21:57:16 +00:00
Andreas Svensson
471b4af2c8
Disable ViewportMetrics unless MouseEvent lacks support for pageX/pageY
2016-02-26 20:35:48 +00:00
Jim
13871886ba
Merge pull request #6127 from jimfb/LinkedInput-to-packages
...
Moved LinkedInput from addons to packages.
2016-02-26 11:02:52 -08:00
Dan Abramov
92530b4ddc
Merge pull request #6068 from gaearon/react-instrumentation
...
Add ReactInstrumentation
2016-02-26 17:18:19 +00:00
Ben Alpert
74070e5838
Merge pull request #6082 from spicyj/nq-set-props
...
Remove unused enqueueSetProps methods
2016-02-26 00:39:48 -08:00
Ben Alpert
5b13cbc0e8
Merge pull request #5877 from spicyj/mount-class-error
...
Clarify error when passing class to render()
2016-02-26 00:26:11 -08:00
Ben Alpert
895fab782b
Clarify error when passing class to render()
2016-02-26 00:26:02 -08:00
Miles Johnson
260353e977
Added support for synthetic animation/transition events.
2016-02-25 23:52:32 -08:00
jim
8ab15c1d84
Moved LinkedInput from addons to packages.
2016-02-25 17:49:35 -08:00
Jim
dff05beeff
Merge pull request #5947 from koba04/add-warning-for-adding-synthetic-event-property
...
Add a warning for adding a property in the SyntheticEvent object
2016-02-24 13:30:49 -08:00
Max
f7276b304c
Add suppressContentEditableWarning
...
See #5837
2016-02-24 20:41:07 +01:00
April Arcus
39c597f523
add "cite" attribute to whitelist for <blockquote> elements ( fixes #6084 )
2016-02-22 20:58:17 -08:00
Ben Alpert
cf4255445e
Remove unused enqueueSetProps methods
2016-02-21 14:30:23 -08:00
Jim
70b5eda83e
Merge pull request #5997 from truongduy134/clone-element
...
Fix #5929 . Resolve to default props when config key is set to undefined in cloneElement
2016-02-19 14:53:38 -08:00
Ben Alpert
81e5dd0a29
Fix build for useCreateElement: false, run Travis
...
It's important that we keep these code paths working because they're the only comprehensive test of adopting server-rendered HTML that we have right now. This is terrible and hacky but I am hopeful that it will at least catch stuff.
2016-02-19 09:48:06 -08:00
Ben Alpert
e8fb8c7870
Fix text component rendering with server markup
...
These weren't caught by CI in #5753 because we don't automatically test that yet... fixing that next.
2016-02-19 09:48:05 -08:00
Dan Abramov
3863330524
Add ReactInstrumentation
...
This adds `ReactInstrumentation` for the isomorphic package that uses the same approach as `ReactDOMInstrumentation`. Currently it is gated behind `__DEV__` but we will likely change this later to a runtime flag determined by whether there are any active listeners.
The first few events we add here should be sufficient for React DevTools, as determined by the `hook.emit()` calls in https://github.com/facebook/react-devtools/blob/d90c43201617d5aef378669da926d79515b6a811/backend/attachRenderer.js .
These events will also be useful for reconstructing the parent tree in the ReactPerf rewrite in #6046 .
2016-02-18 22:52:22 +00:00
Ben Alpert
684ef3e320
Merge pull request #5753 from mwiencek/no-text-span-2
...
Don't wrap text in <span> elements
2016-02-18 12:02:17 -08:00
Michael Wiencek
203850013a
Don't wrap text in <span> elements
...
Instead, use opening and closing comment nodes to delimit text data.
2016-02-18 13:49:14 -06:00
Jim
5d7cd93b0e
Merge pull request #6064 from jimfb/provide-msunsafe-wrapper
...
Create ms-unsafe functions in one place, simplifies code.
2016-02-18 11:14:47 -08:00
Toru Kobayashi
decff26e81
Add a warning for adding some properties in the SyntheticEvent object if Proxy is supported
2016-02-18 19:26:32 +09:00
Benjy Cui
c54249c868
Update comments for EventPluginHub.js
2016-02-18 16:23:00 +08:00
Jim
e8e56e8723
Merge pull request #5940 from kentcdodds/pr/warn-event-pool-access
...
Add warning when reading from event which has been returned to the pool
2016-02-17 21:51:40 -08:00
Kent C. Dodds
6312852688
warn(SyntheticEvent): Warn when accessing or setting properties on released syntheticEvents
...
Closes #5939
2016-02-17 22:46:12 -07:00
jim
51d16473b0
Create ms-unsafe functions in one place, simplifies code.
2016-02-17 21:10:20 -08:00
Andreww8xx8
8d08f3f00a
Wrap insertBefore in Windows 8 apps
2016-02-18 06:12:29 +03:00
Ben Alpert
3a4e1dbb5b
Fix merge conflict in #4940
2016-02-17 17:20:37 -08:00
Ben Alpert
acb49363d5
Remove "construct" call except on composites
...
This is a little simpler (and a teeny tiny bit faster). The one in ReactCompositeComponent stays because of the way we create ReactCompositeComponentWrapper inside instantiateReactComponent.
2016-02-17 15:48:24 -08:00
Jim
c9e0fc766f
Merge pull request #5720 from edmellum/master
...
Fix #4963 - SVG <use> swallows click events
2016-02-17 07:01:50 -08:00
David Ed Mellum
2fdaba49c7
Fix #4963 - SVG <use> swallows click events
2016-02-17 15:25:45 +01:00