]> git.ipfire.org Git - thirdparty/Chart.js.git/log
thirdparty/Chart.js.git
5 years agoImproved financial sample (#6998)
Ben McCann [Sun, 26 Jan 2020 20:35:53 +0000 (12:35 -0800)] 
Improved financial sample (#6998)

* Improved financial sample
* Switch from adapter to moment
* Use data instead of cached timestamps

5 years agoAllow switching platforms (#6964)
David Winegar [Sun, 26 Jan 2020 20:33:20 +0000 (12:33 -0800)] 
Allow switching platforms (#6964)

Allow switching platforms

Move the Chart.platform to Chart.platform.current instead, and add
ways to see available platforms and set the current platform. This
is necessary for adding tests that use the "basic" platform.

5 years agoProper text alignment for multiline tick labels (#6988)
Evert Timberg [Wed, 22 Jan 2020 16:13:43 +0000 (11:13 -0500)] 
Proper text alignment for multiline tick labels (#6988)

* Proper text alignment for multiline tick labels

* Handle other rotations as well

5 years agoReduce scope of imports (#7000)
Ben McCann [Wed, 22 Jan 2020 12:19:44 +0000 (04:19 -0800)] 
Reduce scope of imports (#7000)

5 years agoAllow specifying spanGaps as number (max distance) (#6993)
Jukka Kurkela [Tue, 21 Jan 2020 23:33:27 +0000 (01:33 +0200)] 
Allow specifying spanGaps as number (max distance) (#6993)

5 years agoUse binary search for interpolations (#6958)
Jukka Kurkela [Tue, 21 Jan 2020 23:31:17 +0000 (01:31 +0200)] 
Use binary search for interpolations (#6958)

5 years agoFiller fix (#6989)
Jukka Kurkela [Tue, 21 Jan 2020 23:30:23 +0000 (01:30 +0200)] 
Filler fix (#6989)

* Filler fix
* Add an indicator of reference points

5 years agoEnable imports for tests (#6997)
Jukka Kurkela [Tue, 21 Jan 2020 20:44:14 +0000 (22:44 +0200)] 
Enable imports for tests (#6997)

5 years agoClean up after test (#6976)
Jukka Kurkela [Tue, 21 Jan 2020 20:43:41 +0000 (22:43 +0200)] 
Clean up after test (#6976)

* Clean up
* Make sure the event is inside chart are

5 years agoUpdate version in package-lock (#6994)
Ben McCann [Tue, 21 Jan 2020 20:31:17 +0000 (12:31 -0800)] 
Update version in package-lock (#6994)

5 years agoFix tooltip for 'dataset' mode (#6961)
Jukka Kurkela [Tue, 21 Jan 2020 14:48:58 +0000 (16:48 +0200)] 
Fix tooltip for 'dataset' mode (#6961)

5 years agoConvert Tooltip to a plugin (#6990)
Evert Timberg [Tue, 21 Jan 2020 11:36:53 +0000 (06:36 -0500)] 
Convert Tooltip to a plugin (#6990)

* Convert Tooltip to a plugin
* code review feedback
* Update docs. Convert positioners map to be on the plugin directly

5 years agoResize on zoom, retry (#6987)
Jukka Kurkela [Sun, 19 Jan 2020 18:15:27 +0000 (20:15 +0200)] 
Resize on zoom, retry (#6987)

5 years agoShow color box only on the first line of the tooltip body (#6984)
Evert Timberg [Sun, 19 Jan 2020 14:03:51 +0000 (09:03 -0500)] 
Show color box only on the first line of the tooltip body (#6984)

* Show color box only on the first line of the tooltip body
* Code review feedback

5 years agoLinear scale with min/max/stepSize set should use all 3 if the range fits (#6966)
Evert Timberg [Sat, 18 Jan 2020 13:35:30 +0000 (08:35 -0500)] 
Linear scale with min/max/stepSize set should use all 3 if the range fits (#6966)

When (max - min) / stepSize is an integer, we can do a very simple
tick generation method.

5 years agofix drawPoints parameter (#6975)
Dominic Jean [Sat, 18 Jan 2020 13:32:09 +0000 (08:32 -0500)] 
fix drawPoints parameter (#6975)

5 years agoUse import statements in test code (#6977)
Ben McCann [Sat, 18 Jan 2020 00:13:38 +0000 (16:13 -0800)] 
Use import statements in test code (#6977)

5 years agoFix updating retinaScale (#6971)
Jukka Kurkela [Sat, 18 Jan 2020 00:08:38 +0000 (02:08 +0200)] 
Fix updating retinaScale (#6971)

* Fix updating retinaScale
* Destructure

5 years agoResize on zoom (#6974)
Jukka Kurkela [Sat, 18 Jan 2020 00:07:28 +0000 (02:07 +0200)] 
Resize on zoom (#6974)

* Resize on zoom
* Add test

5 years agoFix bar border artifacts (#6972)
Jukka Kurkela [Sat, 18 Jan 2020 00:06:51 +0000 (02:06 +0200)] 
Fix bar border artifacts (#6972)

5 years agoFix clipping when zoomed (#6973)
Jukka Kurkela [Sat, 18 Jan 2020 00:05:51 +0000 (02:05 +0200)] 
Fix clipping when zoomed (#6973)

5 years agoRebuild legend after datasets are updated (#6969)
Jukka Kurkela [Thu, 16 Jan 2020 21:20:22 +0000 (23:20 +0200)] 
Rebuild legend after datasets are updated (#6969)

5 years agoSet the version to v3.0.0-dev for dev builds (#6965)
Evert Timberg [Thu, 16 Jan 2020 12:20:16 +0000 (07:20 -0500)] 
Set the version to v3.0.0-dev for dev builds (#6965)

5 years agoProposed fix for issue #6830 (#6884)
Marc Silverman [Wed, 15 Jan 2020 22:13:36 +0000 (14:13 -0800)] 
Proposed fix for issue #6830 (#6884)

* proposed fix for issue #6830 https://github.com/chartjs/Chart.js/issues/6830

* Updated to pass the full options object instead of a shadow borderwidth. Updated migration guide regarding the API signature change.

* Moved to use options.radius instead of caching radius; updated related migration docs.

5 years agoFix reference to distanceBetweenPoints (#6962)
Ben McCann [Tue, 14 Jan 2020 23:26:35 +0000 (15:26 -0800)] 
Fix reference to distanceBetweenPoints (#6962)

5 years agoOptimize category parse for usual use case (#6959)
Jukka Kurkela [Tue, 14 Jan 2020 23:22:17 +0000 (01:22 +0200)] 
Optimize category parse for usual use case (#6959)

5 years agoThrottle all events (to 1 / frame each) (#6953)
Jukka Kurkela [Tue, 14 Jan 2020 12:34:08 +0000 (14:34 +0200)] 
Throttle all events (to 1 / frame each) (#6953)

* Throttle all events
* Asynchronize event tests

5 years agoMove location of dataset options (#6955)
Ben McCann [Tue, 14 Jan 2020 00:39:30 +0000 (16:39 -0800)] 
Move location of dataset options (#6955)

* Move location of dataset options
* Fix misplaced period

5 years agoFix log scale calculations (#6903)
Jukka Kurkela [Tue, 14 Jan 2020 00:36:50 +0000 (02:36 +0200)] 
Fix log scale calculations (#6903)

* Fix log scale calculations
* Fully remove _valueOffset
* Invalidate 0
* Review update
* Skip NaN

Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
5 years agowaitForResize before resizing (#6954)
Jukka Kurkela [Tue, 14 Jan 2020 00:35:44 +0000 (02:35 +0200)] 
waitForResize before resizing (#6954)

* waitForResize before resizing
* Change the failing test
* Change the other leaking test too

5 years agoScriptable tick fonts (#6939)
Ben McCann [Tue, 14 Jan 2020 00:33:46 +0000 (16:33 -0800)] 
Scriptable tick fonts (#6939)

* Remove extra font parsing in Scale.fit
* Implement scriptable options for tick formatting

5 years agoDetect stack change (#6947)
Jukka Kurkela [Tue, 14 Jan 2020 00:33:25 +0000 (02:33 +0200)] 
Detect stack change (#6947)

* Detect stack change
* Add test

5 years agoAdd stroke lines option around ticks to improve readability (#6787)
Jose Raul Pérez [Sun, 12 Jan 2020 19:22:51 +0000 (20:22 +0100)] 
Add stroke lines option around ticks to improve readability (#6787)

Enable stroking of text on of axis labels

5 years agoLimit interactions to chartArea (+/-0.5px) (#6943)
Jukka Kurkela [Sat, 11 Jan 2020 23:10:32 +0000 (01:10 +0200)] 
Limit interactions to chartArea (+/-0.5px) (#6943)

Limit interactions to chartArea (+/-0.5px)

5 years agoRe-parse existing elements when data is replaced (#6925)
Jukka Kurkela [Fri, 10 Jan 2020 23:31:17 +0000 (01:31 +0200)] 
Re-parse existing elements when data is replaced (#6925)

* Re-parse existing elements when data is replaced
* Update test

5 years agoPolar area: startAngle in degrees, 0 at top. (#6936)
Ben McCann [Fri, 10 Jan 2020 23:30:29 +0000 (15:30 -0800)] 
Polar area: startAngle in degrees, 0 at top. (#6936)

* Polar area: startAngle in degrees, 0 at top.
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
5 years agoTry beta Chrome (#6933)
Jukka Kurkela [Fri, 10 Jan 2020 23:29:34 +0000 (01:29 +0200)] 
Try beta Chrome (#6933)

* Try beta chrome
* Update path

5 years agoAdd the ability to add a title to the legend (#6906)
Evert Timberg [Fri, 10 Jan 2020 23:28:51 +0000 (18:28 -0500)] 
Add the ability to add a title to the legend (#6906)

* Add the ability to add a title to the legend

- Legend title can be specified
- Font & color options added
- Padding option added
- Positioning option added
- Legend title sample file added

5 years agoAccount for hoverRadius in Point.size() (#6945)
Jukka Kurkela [Fri, 10 Jan 2020 23:28:06 +0000 (01:28 +0200)] 
Account for hoverRadius in Point.size() (#6945)

* Account for hoverRadius in Point.size()
* Update fixtures

5 years agoDraw active points last (#6944)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:31 +0000 (01:27 +0200)] 
Draw active points last (#6944)

5 years agoUpdate moment to 2.24 in samples (#6948)
Jukka Kurkela [Fri, 10 Jan 2020 23:27:16 +0000 (01:27 +0200)] 
Update moment to 2.24 in samples (#6948)

5 years agoFix broken config in log scatter sample (#6937)
Ben McCann [Thu, 9 Jan 2020 21:25:31 +0000 (13:25 -0800)] 
Fix broken config in log scatter sample (#6937)

5 years agoSwitch most requires to imports (#6935)
Ben McCann [Thu, 9 Jan 2020 12:23:53 +0000 (04:23 -0800)] 
Switch most requires to imports (#6935)

5 years agoBar chores (#6889)
Jukka Kurkela [Wed, 8 Jan 2020 22:27:17 +0000 (00:27 +0200)] 
Bar chores (#6889)

* Limit invisible bar section size

* Improve readability

* Fix for issue 6368

* Raview update

* Review update, add test

* Typos

* Try to make sense :)

5 years agoUpgrade Ubuntu on Travis to match GitHub actions (#6932)
Ben McCann [Wed, 8 Jan 2020 12:37:22 +0000 (04:37 -0800)] 
Upgrade Ubuntu on Travis to match GitHub actions (#6932)

5 years agoStop using old OS on Travis (#6930)
Ben McCann [Tue, 7 Jan 2020 21:45:04 +0000 (13:45 -0800)] 
Stop using old OS on Travis (#6930)

5 years agoRemove futile optimization (#6928)
Jukka Kurkela [Tue, 7 Jan 2020 16:27:44 +0000 (18:27 +0200)] 
Remove futile optimization (#6928)

5 years agoMake sampleSize apply to computeLabelSizes (#6926)
Ben McCann [Tue, 7 Jan 2020 12:43:47 +0000 (04:43 -0800)] 
Make sampleSize apply to computeLabelSizes (#6926)

5 years agoImprove calculation for number of ticks that can fit (#6927)
Ben McCann [Tue, 7 Jan 2020 12:26:29 +0000 (04:26 -0800)] 
Improve calculation for number of ticks that can fit (#6927)

5 years agoTypos fix (#6924)
Elina Gorshkova [Mon, 6 Jan 2020 23:07:08 +0000 (18:07 -0500)] 
Typos fix  (#6924)

* Fixed spelling typo

Changed 'are know' to 'are known'

* Fix spelling in the docs

Added a missing comma

* Fix spelling in the docs

Added a missing comma

5 years agoUpdate tooltip docs with working example (#6918)
Evert Timberg [Mon, 6 Jan 2020 22:49:36 +0000 (17:49 -0500)] 
Update tooltip docs with working example (#6918)

5 years agoAdd API to change data visibility (#6907)
Evert Timberg [Mon, 6 Jan 2020 22:16:00 +0000 (17:16 -0500)] 
Add API to change data visibility (#6907)

5 years agoAdd multi series pie example (#6919)
Evert Timberg [Mon, 6 Jan 2020 20:04:41 +0000 (15:04 -0500)] 
Add multi series pie example (#6919)

5 years agoHandle font sizes that are set as strings (#6921)
Evert Timberg [Mon, 6 Jan 2020 12:40:49 +0000 (07:40 -0500)] 
Handle font sizes that are set as strings (#6921)

5 years agoInternal data by axis instead of scale id (#6912)
Jukka Kurkela [Mon, 6 Jan 2020 12:22:18 +0000 (14:22 +0200)] 
Internal data by axis instead of scale id (#6912)

* Internal data by axis instead of scale id

* Test

* Update test

* Update docs

5 years agoScale cleanup (#6916)
Ben McCann [Sun, 5 Jan 2020 21:42:15 +0000 (13:42 -0800)] 
Scale cleanup (#6916)

5 years agoBar chart defaults to begin at zero (#6917)
Evert Timberg [Sun, 5 Jan 2020 20:50:24 +0000 (15:50 -0500)] 
Bar chart defaults to begin at zero (#6917)

* Bar chart defaults to begin at zero

* Add bar beginAtZero test

5 years agoTitle alignment options (#6908)
Evert Timberg [Sun, 5 Jan 2020 19:59:57 +0000 (14:59 -0500)] 
Title alignment options (#6908)

* Add alignment options for title plugin.

Alignment can be set to 'start', 'center'. or 'end'. A new sample has been added as well.

* Update sample file title

5 years agoRemove minSize (#6910)
Ben McCann [Sun, 5 Jan 2020 15:42:42 +0000 (07:42 -0800)] 
Remove minSize (#6910)

5 years agoRemove `for of` loops for IE compatibility (#6905)
Jukka Kurkela [Sat, 4 Jan 2020 17:59:27 +0000 (19:59 +0200)] 
Remove `for of` loops for IE compatibility (#6905)

5 years ago#5573 Link PolarArea chart docs to radial axis docs (#6901)
Evert Timberg [Fri, 3 Jan 2020 19:56:22 +0000 (14:56 -0500)] 
#5573 Link PolarArea chart docs to radial axis docs (#6901)

5 years agoRemove global from defaults (#6893)
Jukka Kurkela [Fri, 3 Jan 2020 19:07:38 +0000 (21:07 +0200)] 
Remove global from defaults (#6893)

5 years agoSmall optimizations (#6868)
Jukka Kurkela [Fri, 3 Jan 2020 18:57:25 +0000 (20:57 +0200)] 
Small optimizations (#6868)

* Only extend element if configuration is provided

* Time scale lookup optimization

5 years agoDetermine if data is sorted (#6885)
Jukka Kurkela [Fri, 3 Jan 2020 18:56:42 +0000 (20:56 +0200)] 
Determine if data is sorted (#6885)

* Determine if data is sorted
* Short circuit getMinMax when sorted
* Docs

5 years agoRemove HTML legend that is mostly unsupported. (#6887)
Evert Timberg [Fri, 3 Jan 2020 18:56:11 +0000 (13:56 -0500)] 
Remove HTML legend that is mostly unsupported. (#6887)

* Remove HTML legend that is mostly unsupported.

Resolves the discussion in #5070

* Add migration docs

5 years agoEnable override settings for the axis border (#6883)
Evert Timberg [Fri, 3 Jan 2020 18:55:50 +0000 (13:55 -0500)] 
Enable override settings for the axis border (#6883)

* Enable override settings for the axis border - #4041

Adds two new options to the cartesian axis: `borderColor` and `borderWidth`
which are used to control the border drawn at the edge of the axis area.
If these options are not set, the first grid line settings are used.

* Correct spelling

5 years agoUpdate documentation of `order` (#6897)
Jukka Kurkela [Fri, 3 Jan 2020 14:08:15 +0000 (16:08 +0200)] 
Update documentation of  `order` (#6897)

5 years agoLinear scale: use suggested limits as defaults (#6892)
Jukka Kurkela [Fri, 3 Jan 2020 14:07:33 +0000 (16:07 +0200)] 
Linear scale: use suggested limits as defaults (#6892)

* Linear scale: use suggested limits as defaults

* Review update

5 years agoUpdate some dependencies that have security alerts (#6891)
Evert Timberg [Thu, 2 Jan 2020 14:42:48 +0000 (09:42 -0500)] 
Update some dependencies that have security alerts (#6891)

5 years agoConvert `Chart` class to an ES6 class (#6886)
Evert Timberg [Wed, 1 Jan 2020 23:11:16 +0000 (18:11 -0500)] 
Convert `Chart` class to an ES6 class (#6886)

* Chart class is now an ES6 class
* Use of const and let in core Chart class
* Use import/export for core Chart file

5 years agoRemove outdated element tests (#6869)
Ben McCann [Wed, 1 Jan 2020 21:02:17 +0000 (15:02 -0600)] 
Remove outdated element tests (#6869)

5 years agoOptimize arrayUnique (#6871)
Jukka Kurkela [Tue, 31 Dec 2019 17:56:33 +0000 (19:56 +0200)] 
Optimize arrayUnique (#6871)

5 years agoRewrite filler (#6795)
Jukka Kurkela [Tue, 31 Dec 2019 17:56:15 +0000 (19:56 +0200)] 
Rewrite filler (#6795)

Filler plugin is rewritten and test coverage increased

5 years agoRemove unnecessary method argument (#6878)
Ben McCann [Tue, 31 Dec 2019 13:23:03 +0000 (07:23 -0600)] 
Remove unnecessary method argument (#6878)

Remove unnecessary method argument

5 years agoIE11 compatibility (#6872)
Jukka Kurkela [Mon, 30 Dec 2019 22:15:57 +0000 (00:15 +0200)] 
IE11 compatibility (#6872)

5 years agoUse ticks consistently (#6873)
Jukka Kurkela [Mon, 30 Dec 2019 22:14:55 +0000 (00:14 +0200)] 
Use ticks consistently (#6873)

5 years agoFix default collections table (#6879)
Jukka Kurkela [Mon, 30 Dec 2019 21:54:19 +0000 (23:54 +0200)] 
Fix default collections table (#6879)

5 years agoImproved getMaxOverflow (#6874)
Ben McCann [Mon, 30 Dec 2019 19:54:13 +0000 (13:54 -0600)] 
Improved getMaxOverflow (#6874)

5 years agocore.animations ES6 (#6867)
Jukka Kurkela [Sun, 29 Dec 2019 21:55:01 +0000 (23:55 +0200)] 
core.animations ES6 (#6867)

5 years agoResync metasets array when indices change. (#6864)
Jukka Kurkela [Sat, 28 Dec 2019 14:49:34 +0000 (16:49 +0200)] 
Resync metasets array when indices change. (#6864)

* Resync metasets array when indices change.
* Make sure _metasets is initialized

5 years agoAlphabetize migration guide (#6865)
Ben McCann [Sat, 28 Dec 2019 13:19:32 +0000 (05:19 -0800)] 
Alphabetize migration guide (#6865)

Alphabetize migration guide

5 years agoRewrite animation logic (#6845)
Jukka Kurkela [Fri, 27 Dec 2019 22:13:24 +0000 (00:13 +0200)] 
Rewrite animation logic (#6845)

* Rewrite animation logic

* Review update 1

* Review update 2

* Review update 3

* Add 'none' to api.md

5 years agoReplace Object.entries with Object.keys (#6862)
Ben McCann [Thu, 26 Dec 2019 13:49:22 +0000 (05:49 -0800)] 
Replace Object.entries with Object.keys (#6862)

5 years agoRemove helpers.where and unnecessary calls to helpers.each (#6860)
Ben McCann [Wed, 25 Dec 2019 13:21:42 +0000 (05:21 -0800)] 
Remove helpers.where and unnecessary calls to helpers.each (#6860)

* Remove unnecessary calls to helpers.each

* Remove where

5 years agoRemove executable bit from tests (#6854)
Ben McCann [Sat, 21 Dec 2019 02:14:41 +0000 (18:14 -0800)] 
Remove executable bit from tests (#6854)

5 years agoFix log scale autoSkip issues (#6853)
Ben McCann [Sat, 21 Dec 2019 02:14:21 +0000 (18:14 -0800)] 
Fix log scale autoSkip issues (#6853)

5 years ago(feature) Added separate top and bottom padding for title plugin. (#6852)
SansDK [Fri, 20 Dec 2019 13:21:20 +0000 (14:21 +0100)] 
(feature) Added separate top and bottom padding for title plugin. (#6852)

* (feature) Added separate top and bottom padding for title plugin.

* Added regular padding multiplier like how it was before.

* Now makes use of toPadding helper.
Fixed typo in toPadding helper.

* Fixed requested changes.

5 years agoFix automatic `min` value of `stacked` scale. (#6851)
Jukka Kurkela [Thu, 19 Dec 2019 19:58:23 +0000 (21:58 +0200)] 
Fix automatic `min` value of `stacked` scale. (#6851)

5 years agoRemoved unused method (#6849)
Ben McCann [Thu, 19 Dec 2019 13:27:32 +0000 (05:27 -0800)] 
Removed unused method (#6849)

5 years agoFix category scale autoSkip (#6847)
Ben McCann [Wed, 18 Dec 2019 16:01:53 +0000 (08:01 -0800)] 
Fix category scale autoSkip (#6847)

5 years agoFix rendering of table in tooltip documentation (#6846)
Ben McCann [Wed, 18 Dec 2019 16:01:38 +0000 (08:01 -0800)] 
Fix rendering of table in tooltip documentation (#6846)

5 years agoMake tests work with karma-cli (#6840)
Ben McCann [Tue, 17 Dec 2019 19:18:19 +0000 (11:18 -0800)] 
Make tests work with karma-cli (#6840)

5 years agoMove all helpers to src/helpers (#6841)
Evert Timberg [Tue, 17 Dec 2019 13:04:40 +0000 (08:04 -0500)] 
Move all helpers to src/helpers (#6841)

* Move all helpers into src/helpers

* Move curve helpers to their own file

* DOM helpers moved to their own file

* Update migration docs

* Remove migration docs on new functions

5 years agoAllow axes to be centered on the chart area (#6818)
Evert Timberg [Mon, 16 Dec 2019 23:17:42 +0000 (18:17 -0500)] 
Allow axes to be centered on the chart area (#6818)

Allow axes to be centered on the chart area or at a dynamic position based on another axis

5 years agoOptimize tooltip event handler (#6827)
Ben McCann [Sun, 15 Dec 2019 13:26:17 +0000 (05:26 -0800)] 
Optimize tooltip event handler (#6827)

* Optimize tooltip event handler

* Address review comments

* Additional cleanup

5 years agoRename calculateTickRotation to calculateLabelRotation (#6809)
Ben McCann [Sat, 14 Dec 2019 18:22:57 +0000 (10:22 -0800)] 
Rename calculateTickRotation to calculateLabelRotation (#6809)

5 years agoInteractions cleanup (#6825)
Ben McCann [Sat, 14 Dec 2019 18:09:50 +0000 (10:09 -0800)] 
Interactions cleanup (#6825)

5 years agoCache sorting order of dataset metas (#6757)
Jukka Kurkela [Sat, 14 Dec 2019 18:03:09 +0000 (20:03 +0200)] 
Cache sorting order of dataset metas (#6757)

* Cache sorting order of dataset metas
* Cache dataset visibility

5 years agoMake elements optional (#6829)
Ben McCann [Sat, 14 Dec 2019 04:52:18 +0000 (20:52 -0800)] 
Make elements optional (#6829)

5 years agoTests and fixes for data watching (#6831)
Ben McCann [Sat, 14 Dec 2019 04:51:59 +0000 (20:51 -0800)] 
Tests and fixes for data watching (#6831)

* Tests and fixes for data watching
* Remove call to _configure