Commit Graph
1953 Commits
Author SHA1 Message Date
Jim 57e9e5bf23 Improved performance for our adler32 implementation 2015-07-20 18:50:05 -07:00
Jim c73f95292c Merge pull request #4408 from jimfb/remove-children-map
Removed flattened children object.  Fixes #4405
2015-07-17 22:19:39 -07:00
Jim fe99e59c81 Removed flattened children object for initial render. Fixes #4405 2015-07-17 22:01:59 -07:00
Bartosz Kaszubowski da11691e26 invert few if-else with negation for readability 2015-07-18 00:19:28 +02:00
Paul O’Shannessy a28325e412 Enable linting in src/tests, cleanup 2015-07-17 13:35:17 -07:00
Paul O’Shannessy 5da408297f Remove in-browser unit testing
Rely on jest for now until we get a better and less hacky solution to running tests in the browser, probably a totally different test suite with different behavior/goals.
2015-07-17 00:13:16 -07:00
Joe Stein 1b5bfb516a Add wrap attribute 2015-07-13 15:00:03 -07:00
Jim 52ad6bc61a Merge pull request #4324 from drd/improve-warning-in-react-mount
Improve warning in react mount
2015-07-10 11:06:32 -07:00
laiso 804b109ba6 Remove the unexpected character in ReactEventListener 2015-07-11 01:00:21 +09:00
Daniel Cousens dfe5f19917 s/currentPathElemenID/currentPathElementID 2015-07-10 16:38:39 +10:00
Paul O’Shannessy 7032e88c25 ID not Id 2015-07-09 22:49:26 -07:00
Eric O'Connell d2e8449bf0 Only perform expensive checks in __DEV__, clean up after inserted iframe 2015-07-09 15:49:49 -07:00
Paul O’Shannessy d6183570e3 Reset module cache between tests
This ensures that module caches for warnings is reset between runs. This makes
it so the deprecations warnings always fire.
2015-07-09 15:24:43 -07:00
Jim cf164f1aa2 Merge pull request #4327 from jimfb/markup-unit-test
Add unit test: should generate simple markup for attribute with `>` symbol
2015-07-09 15:05:08 -07:00
Jim 7b1f03f4f8 Merge pull request #4311 from jimfb/fix-input-events
Fix event target for input change events.  Fixes #4288
2015-07-09 15:03:37 -07:00
Eric O'Connell 0941cc9884 Use a test case that demonstrates the fix. 2015-07-09 14:56:55 -07:00
Jim b89f7ebff4 Add unit test: should generate simple markup for attribute with > symbol 2015-07-09 14:26:41 -07:00
Jim dfeeb3f673 Fix checksum hash attribute insertion for self-closing root tags. Fixes #4323 2015-07-09 14:21:40 -07:00
Eric O'Connell 902b607f1f Fix some lint 2015-07-09 14:06:42 -07:00
Eric O'Connell 1316160b86 Properly handle rendering into document when comparing markup 2015-07-09 11:48:42 -07:00
Toru Kobayashi 17a4dc83e0 Add runtime deprecation warning for cloneWithProps 2015-07-09 19:12:26 +09:00
Eric O'Connell 0249adf3db Handle escaping when comparing server/client markup 2015-07-08 20:31:10 -07:00
Jim 4b804e485d Fix event target for input change events. Fixes #4288 2015-07-07 17:14:52 -07:00
Jim 500d4c3f87 Merge pull request #4209 from aruberto/iterable_node_proptype
Allow iterables to pass node prop type check
2015-07-05 17:19:37 -07:00
Bartosz Kaszubowski 7a2be27d63 semicolon cleanup
One unnecessary semicolon removed and few missing added.
2015-07-05 01:06:04 +02:00
Levi Buzolic 3b2df5fd9c Add inputMode to HTML DOM Property Whitelist 2015-07-04 02:17:22 +02:00
Ben Alpert 10f8e22e20 Add missing semicolon 2015-07-03 10:53:00 +02:00
Ben Alpert b4e74e38e4 Bump version to beta1 2015-07-03 10:46:35 +02:00
Ben Alpert 41aa3496aa Add setProps/replaceProps warning 2015-07-03 10:46:35 +02:00
Ben Alpert 2b68ea21ee Removed most uses of setProps in unit tests
Picked from 721fe73541.
2015-07-03 10:46:35 +02:00
Ben Alpert 4eb889b72e Revert "Removed setProps and replaceProps (both previously deprecated)"
This reverts commit 721fe73541. We'll keep these with a warning for one more release.
2015-07-03 10:46:35 +02:00
Ben Alpert 33d5201a94 Finish addons packaging
- Add missing object-assign dependency
- Add batchedUpdates to ReactDOMClient, rename the two addons to `unstable_`
- Delete react/addons/* (leaving react/addons with a slightly updated warning)
- Add README.md, LICENSE, PATENTS to each addons package
2015-07-02 23:33:16 +02:00
Ben Alpert 0eaa0a6ff7 Fix jest tests 2015-07-02 22:54:22 +02:00
Ben Alpert 07107ca936 Merge pull request #4184 from zpao/move-from-addons
Move renderSubtreeIntoContainer into ReactDOMClient
2015-07-02 22:53:47 +02:00
Kamron Batman 72b432df03 Fixed header comment spacing.
Fixed header comment spacing in the header for ReactComponentWithPureRenderMixin.
2015-07-02 09:36:52 -07:00
Jim 2baf4bf4e8 Merge pull request #4268 from jimfb/remove-setprops
Removed setProps and replaceProps (both previously deprecated)
2015-07-02 04:47:18 -07:00
Jim 6a92179d6f Merge pull request #4221 from jimfb/ryans-context-bug
updateComponent should update the context iff it has changed
2015-07-02 04:45:41 -07:00
Jim 4a465fbd9a Make events propagate through shadow DOMs. 2015-07-02 04:32:22 -07:00
Jim 721fe73541 Removed setProps and replaceProps (both previously deprecated) 2015-07-02 04:00:58 -07:00
Jim 8953033454 Merge pull request #4259 from janraasch/patch-1
Add IE-only security attr to HTMLDOMPropertyConfig
2015-07-01 18:15:39 -07:00
Jan Raasch b089b427ab Add IE-only security attr to HTMLDOMPropertyConfig
See https://msdn.microsoft.com/en-us/library/ms534622(v=vs.85).aspx for an in-depth specification.

This fixes #4169.
2015-07-01 19:47:48 +02:00
Sebastian Markbåge 8f9643485d Merge pull request #4162 from sebmarkbage/updator
Inject the update queue into classes
2015-07-01 17:46:05 +02:00
Ben Alpert c22153e25a Fail tests on any un-spied warnings
Fixes #3890.
2015-06-29 07:57:35 -07:00
Jim 289962f6f8 Don't bail out of reconsiliation if context changes. 2015-06-25 00:58:05 -07:00
li.li 63d0471580 Remove warnings in tests
For #3890.

Squashed merge, closes #3925.
2015-06-24 22:01:36 -07:00
Ben Alpert 8f217c8a4b Merge pull request #4215 from spicyj/prod-props
Set this.props on elements in prod mode
2015-06-24 16:38:14 -07:00
Ben Alpert 9ba28f317b Merge pull request #4200 from spicyj/ten-thousand
Allow deeper trees
2015-06-24 16:33:30 -07:00
Ben Alpert 9c8c11dd07 Set this.props on elements in prod mode
Oops. Introduced in https://github.com/facebook/react/pull/4172.
2015-06-24 16:26:40 -07:00
Antonio Ruberto 79fc73e674 check entry type iterables
check that the value is a node for map iterables
2015-06-24 15:17:48 -04:00
Jim 4431c90fa4 Merge pull request #4208 from battaile/master
Minor cleanup of ReactES6Class-test output by expecting the warning
2015-06-24 08:18:44 -07:00