]>
source.dussan.org Git - jquery-ui.git/log
Felix Nagel [Fri, 31 Mar 2017 20:11:17 +0000 (22:11 +0200)]
Datepicker tests: Add ARIA tests
Felix Nagel [Fri, 31 Mar 2017 19:51:08 +0000 (21:51 +0200)]
Calendar tests: Add basic ARIA attribute tests
Felix Nagel [Fri, 31 Mar 2017 19:33:06 +0000 (21:33 +0200)]
Calendar tests: Remove unused and outdated daylight saving tests
Felix Nagel [Fri, 31 Mar 2017 19:31:45 +0000 (21:31 +0200)]
Date: Rename and improve timestamp and day getter and setter
Felix Nagel [Fri, 31 Mar 2017 19:30:40 +0000 (21:30 +0200)]
Date tests: Add basic timestamp tests
Felix Nagel [Thu, 30 Mar 2017 21:18:25 +0000 (23:18 +0200)]
Merge branch 'master' into datepicker
# Conflicts:
# ui/i18n/datepicker-sv.js
# ui/widgets/datepicker.js
Albert Johansson [Wed, 1 Mar 2017 10:22:01 +0000 (11:22 +0100)]
Datepicker: Corrections for Swedish localization
Months and weekdays should be in small caps in Swedish.
https://sv.wikipedia.org/wiki/Versalisering
Fixes #15142
Closes gh-1799
Scott González [Tue, 28 Feb 2017 14:51:59 +0000 (09:51 -0500)]
Widget: Don't swallow errors in `remove` events
The try/catch was only there to support jQuery <1.6.3, which we no
longer support.
Ref jquery/jquery#3554
Konstantin Dinev [Fri, 24 Feb 2017 15:36:19 +0000 (17:36 +0200)]
Resizable: Keep user defined handles on _setOption
Fixes #15084
Closes gh-1795
Scott González [Sun, 19 Feb 2017 15:52:27 +0000 (10:52 -0500)]
Spinner: Ignore `mousewheel` events when not focused
Fixes #15139
Closes gh-1794
Scott González [Mon, 6 Feb 2017 15:20:50 +0000 (10:20 -0500)]
Build: Add missing semicolon
Eirik Sletteberg [Sun, 4 Dec 2016 20:57:28 +0000 (21:57 +0100)]
Qunit: Add bootstrap config for running tests with jQuery Migrate
Closes gh-1774
Jörn Zaefferer [Wed, 25 Jan 2017 18:28:37 +0000 (19:28 +0100)]
Build: Add jQuery as explicit dependency, with min and max range
1.7.0 is our minimum supported version, 3.x.x our maximum.
Closes gh-1779
Closes gh-1790
Felix Nagel [Sun, 11 Dec 2016 23:15:46 +0000 (00:15 +0100)]
Calendar: Make sure option numberOfMonth could be changed after creation
Felix Nagel [Sun, 25 Dec 2016 16:47:08 +0000 (17:47 +0100)]
Calendar: Remove aria hidden on day cells
claudi [Thu, 12 Jan 2017 09:23:27 +0000 (10:23 +0100)]
Datepicker: Fix prev/next button behavior with `showCurrentAtPos`
Fixes #15102
Closes gh-1784
Ryan Oriecuia [Thu, 12 Jan 2017 19:16:20 +0000 (11:16 -0800)]
Autocomplete: Fix IE/Edge scrolling issues
IE11 and scrolling autocompletes didn't get along great; this should help fix
their relationship.
When you click on an autocomplete scrollbar in IE11, the menu temporarily
gains focus, which caused a couple problems.
1. Depending on how long you clicked, the dropdown could close.
2. Scrolling down by clicking the scrollbar's down arrow would misbehave. The
list would pop back up to the top with the first item selected.
We can fix both problems by modifying the focus/blur handling a bit.
1. There is a flag to instruct the control to ignore blurs, but it was getting
cleared too quickly; when the code refocused the input after it was blurred,
IE would send *another* blur event, which wasn't getting ignored and would
close the dropdown. We now wait for the focus/blur pair to process before
clearing the flag.
2. We remove the tabindex from the dropdown menu, which prevents menu's focus
handler from firing. When you focus a menu, it will select the first menu item
if none are selected. Selecting a menu item will scroll it into view if it's
not visible. This combination of behaviors was causing the strange behavior
when attempting to scroll down.
I couldn't figure out a way to write a unit test for this, since it's IE only
and seems to require user interaction. You can verify the previous behavior
(and the fix) on `demos/autocomplete/maxheight.html`
Fixes #9638
Closes gh-1785
Felix Nagel [Sun, 11 Dec 2016 22:30:25 +0000 (23:30 +0100)]
Calendar: Introduce refresh callback event
Felix Nagel [Sun, 11 Dec 2016 22:10:46 +0000 (23:10 +0100)]
Datepicker: Make select and change event pass the current value
Felix Nagel [Sun, 11 Dec 2016 22:10:26 +0000 (23:10 +0100)]
Calendar: Make select and change event pass the current value
Felix Nagel [Wed, 18 Jan 2017 23:04:31 +0000 (00:04 +0100)]
Calendar: Use old globalize for spinner tests
Workaround has been removed when merged with master.
This commit adds the proper dependency again to fix the tests.
Luke Brookhart [Thu, 15 Dec 2016 16:27:39 +0000 (11:27 -0500)]
Effect: Fix typo
Closes gh-1778
Felix Nagel [Sun, 11 Dec 2016 16:54:16 +0000 (17:54 +0100)]
Calendar: Fix line length violations
Felix Nagel [Sun, 11 Dec 2016 16:53:53 +0000 (17:53 +0100)]
Datepicker tests: Update to QUnit 2.x, shift to use no globals
Felix Nagel [Sun, 11 Dec 2016 16:53:41 +0000 (17:53 +0100)]
Calendar tests: Update to QUnit 2.x, shift to use no globals
Felix Nagel [Sun, 11 Dec 2016 16:53:17 +0000 (17:53 +0100)]
Date tests: Update to QUnit 2.x, shift to use no globals
Jo Liss [Tue, 29 Nov 2016 12:47:48 +0000 (12:47 +0000)]
Themes: Optimize PNG files with zopflipng
Closes gh-1772
Jörn Zaefferer [Tue, 22 Nov 2016 17:18:57 +0000 (18:18 +0100)]
Datepicker: Set defaultElement to input, equivalent to Autocomplete
Scott González [Wed, 16 Nov 2016 17:52:15 +0000 (12:52 -0500)]
Selectmenu: Don't render options with the `hidden` attribute
Fixes #15098
pallxk [Sat, 12 Nov 2016 07:26:47 +0000 (15:26 +0800)]
Tooltip: Clear interval for delayed tracking tooltips on remove
This is needed in the case that the tooltip is removed before it gets shown.
Fixes #15099
Closes gh-1768
Felix Nagel [Wed, 9 Nov 2016 09:13:10 +0000 (10:13 +0100)]
Merge branch 'master' into datepicker
Felix Nagel [Sat, 29 Oct 2016 22:54:34 +0000 (00:54 +0200)]
Calendar tests: use dateEqual assert instead of timestamp compare
Fix travis unit test issue due to timezone difference.
Petri Partio [Fri, 21 Oct 2016 20:49:44 +0000 (23:49 +0300)]
Theme: Optimize images
Closes gh-1763
Michał Gołębiowski [Mon, 31 Oct 2016 16:29:15 +0000 (17:29 +0100)]
Build: Stop using the jquery-ui-future browser set
jQuery UI now doesn't support browsers not suspported by latest jQuery
so separating the browser sets no longer makes sense.
Closes gh-1765
Michał Gołębiowski [Mon, 31 Oct 2016 16:29:59 +0000 (17:29 +0100)]
Build: Add jQuery 3.1.1
Closes gh-1766
Michał Gołębiowski [Mon, 31 Oct 2016 19:14:10 +0000 (20:14 +0100)]
Build: Run Travis tests on Node.js 6, not 0.12
Node.js 0.12 loses upstream support at the end of 2016, while Node 6 is in the
Active support phase until 2018-04-18 and will receive security fixes until
2019-04-18.
Closes gh-1767
Kyle Rosenberg [Wed, 26 Oct 2016 14:12:12 +0000 (09:12 -0500)]
Spinner: Fix typo
Closes gh-1764
Felix Nagel [Tue, 25 Oct 2016 16:27:31 +0000 (18:27 +0200)]
Datepicker: Use simple split instead of globalize for parsing attributes
This reverts commit
ea986f2808684c0112d56776d76ea35e9cdb77da .
Felix Nagel [Mon, 24 Oct 2016 20:24:09 +0000 (22:24 +0200)]
Calendar: Clear value if an invalid min / max option value was given
Jeremy Mickelson [Thu, 13 Oct 2016 17:48:19 +0000 (11:48 -0600)]
Sortable: Fix `z-index` switching from `auto` to `0`
Save `z-index` before saving `opacity`. Setting `opacity` automatically
changes `z-index`.
Fixes #14683
Closes gh-1762
Scott González [Wed, 12 Oct 2016 16:21:01 +0000 (12:21 -0400)]
Tabs: Don't blur focused tab on sort
Fixes #14627
Closes gh-1761
Felix Nagel [Wed, 12 Oct 2016 09:36:48 +0000 (11:36 +0200)]
Calendar: Clear value if an invalid input was given
Felix Nagel [Tue, 11 Oct 2016 23:31:22 +0000 (01:31 +0200)]
Calendar: Use name space for timestamp data attribute
Felix Nagel [Tue, 11 Oct 2016 23:23:24 +0000 (01:23 +0200)]
Calendar tests: Use assert.expect instead of global expect
Felix Nagel [Tue, 11 Oct 2016 23:09:03 +0000 (01:09 +0200)]
Calendar tests: Simplify timeout steps
Felix Nagel [Sun, 29 May 2016 08:57:35 +0000 (10:57 +0200)]
Calendar: Add change event
Felix Nagel [Sun, 29 May 2016 00:10:09 +0000 (02:10 +0200)]
Datepicker: Fix min / max attribute and add proper option parsing
Felix Nagel [Sun, 29 May 2016 00:09:13 +0000 (02:09 +0200)]
Datepicker: Add min / max option tests
Felix Nagel [Sat, 28 May 2016 23:55:35 +0000 (01:55 +0200)]
Datepicker: Add missing Globalize parse format for min / max attribute
Felix Nagel [Sun, 22 May 2016 20:23:01 +0000 (22:23 +0200)]
Calendar tests: Add basic value option tests
Felix Nagel [Sun, 22 May 2016 19:58:20 +0000 (21:58 +0200)]
Calendar tests: Use setup and teardown methods
Felix Nagel [Sun, 22 May 2016 19:48:51 +0000 (21:48 +0200)]
Datepicker tests: Use setup and teardown methods, remove helper file
Scott González [Tue, 11 Oct 2016 13:59:32 +0000 (09:59 -0400)]
Form: Rename from `.form()` to `._form()` since its not for public use
Fixes #15074
Closes gh-1760
Felix Nagel [Sun, 22 May 2016 19:12:10 +0000 (21:12 +0200)]
Calendar tests: Add dateEqual assertion, clean up helper methods
Felix Nagel [Sun, 22 May 2016 15:19:09 +0000 (17:19 +0200)]
Calendar: Make sure keydown original event is available
Kevin Cupp [Thu, 16 Jul 2015 01:10:19 +0000 (21:10 -0400)]
Sortable: Setting table row placeholder height to be same as sorted row
Fixes #13662
Closes gh-1578
Alexander Schmitz [Fri, 30 Sep 2016 20:43:43 +0000 (16:43 -0400)]
Checkboxradio: Don't add ui-state-hover to icons
Fixes #15055
Closes gh-1756
Alexander Schmitz [Tue, 4 Oct 2016 15:19:49 +0000 (11:19 -0400)]
Theme: Removes css for ui-state-checked its not used any more
Also updates checkbox icon border color to go with background color
Ref jquery/download.jqueryui.com#335
Fixes #15059
Closes gh-1753
Alexander Schmitz [Thu, 29 Sep 2016 01:56:53 +0000 (21:56 -0400)]
Theme: Replace missing definition for default icons
Fixes jquery/download.jqueryui.com#335
Alexander Schmitz [Thu, 29 Sep 2016 01:42:50 +0000 (21:42 -0400)]
Theme: Switch icon background to use bgColorContent
It's more semanticly correct then fcActive and looks the same or better
on most themes
Fixes jquery/download.jqueryui.com#335
Simon Asika [Thu, 29 Sep 2016 08:42:17 +0000 (16:42 +0800)]
Datepicker: Correct Traditional Chinese translation
Fixes #15060
Closes gh-1754
Robin [Fri, 23 Sep 2016 11:40:36 +0000 (12:40 +0100)]
Sortable: Fix parent offset detection
Fixes #15021
Closes gh-1749
Evelyn Masso [Sat, 1 Oct 2016 22:47:36 +0000 (15:47 -0700)]
Droppable: Use `$.ui.intersect()`
Fixes #14963
milk54 [Sun, 18 Sep 2016 10:11:41 +0000 (19:11 +0900)]
Tabs: Remove presentation role
Fixes #10122
Closes gh-1748
Felix Nagel [Sun, 22 May 2016 15:18:28 +0000 (17:18 +0200)]
Calendar tests: Add select event unit tests
Felix Nagel [Sat, 16 Apr 2016 16:47:43 +0000 (18:47 +0200)]
Datepicker: Make use of Calendar widget icons option
Fix missing classes options defaults in tests.
Felix Nagel [Sat, 16 Apr 2016 15:20:58 +0000 (17:20 +0200)]
Calendar: Add icons option support
Felix Nagel [Sat, 16 Apr 2016 15:01:21 +0000 (17:01 +0200)]
Datepicker: Make use of classes option
Felix Nagel [Sat, 16 Apr 2016 14:49:40 +0000 (16:49 +0200)]
Calendar: Use classes option for non performance critical rendering
Felix Nagel [Wed, 13 Apr 2016 21:30:44 +0000 (23:30 +0200)]
Calendar: Add missing day cell and month label ARIA attributes
Felix Nagel [Wed, 13 Apr 2016 20:19:01 +0000 (22:19 +0200)]
Calendar: Use shift and ctrl key as modifier for page up / down
Felix Nagel [Wed, 13 Apr 2016 19:54:48 +0000 (21:54 +0200)]
Datepicker: Always focus calendar grid when opening
Remove arrow down key requirement.
Sergei Ratnikov [Fri, 23 Sep 2016 15:42:21 +0000 (18:42 +0300)]
Resizable: Fix aspectRatio cannot be changed after initialization.
Fixes #4186
Closes gh-1750
Scott González [Mon, 26 Sep 2016 13:20:29 +0000 (09:20 -0400)]
Build: Fix list of source files
Fixes #15052
Closes gh-1751
Scott González [Thu, 22 Sep 2016 11:53:22 +0000 (07:53 -0400)]
Autocomplete: Escape HTML tags in callback name to avoid XSS in demo
Fixes #15048
Scott González [Wed, 14 Sep 2016 16:34:40 +0000 (12:34 -0400)]
Build: Updating the master version to 1.12.2-pre.
Scott González [Wed, 14 Sep 2016 16:29:20 +0000 (12:29 -0400)]
Build: Update authors list
Scott González [Wed, 14 Sep 2016 13:42:46 +0000 (09:42 -0400)]
Sortable: Use an event object for simulated `mouseup` in `cancel()`
Regression caused by
a1d69208bad175a27c7b50c27fdc10001563cd4d
Fixes #15042
Closes gh-1746
Alexander Schmitz [Tue, 13 Sep 2016 19:42:13 +0000 (15:42 -0400)]
Theme: Fix icon default color when not within a button
Fixes jquery/jqueryui.com#159
Closes gh-1745
Alexander Schmitz [Mon, 12 Sep 2016 14:26:24 +0000 (10:26 -0400)]
Widget: Untrack classes elements when they are removed from the DOM
Fixes #15043
Closes gh-1744
Scott González [Wed, 7 Sep 2016 17:38:45 +0000 (13:38 -0400)]
Release: Remove externals directory from CDN zip
Closes gh-1741
Ryan Oriecuia [Tue, 16 Aug 2016 23:52:15 +0000 (16:52 -0700)]
Draggable: Fix spurious blur in dialogs on mousedown
I was running into a problem with a popup menu control in a dialog; clicks
weren't working (but keyboard was working fine). It turned out that the menu
was getting destroyed before the click event could fire.
Tracked down the issue to the way draggable blurs focused controls; it was
doing the blur before it ran through the logic to figure out if the drag was
actually on the handle. I've moved the blur below these checks, so it'll only
blur things if it actually needs to handle the drag. Otherwise, it asserts no
opinion on what should and shouldn't be focused, which seems like the way
things ought to be.
Also, added a unit test to check for the expected behavior.
Fixes #15046
Closes gh-1730
Scott González [Fri, 2 Sep 2016 14:21:25 +0000 (10:21 -0400)]
Slider: Add demo for custom handle
Fixes #15023
Closes gh-1740
Scott González [Wed, 7 Sep 2016 14:11:36 +0000 (10:11 -0400)]
Build: Update authors list
Scott González [Thu, 1 Sep 2016 19:56:29 +0000 (15:56 -0400)]
Autocomplete: Remove unreachable code in remote demo
Scott González [Thu, 1 Sep 2016 19:55:25 +0000 (15:55 -0400)]
Autocomplete: Change JSONP demo to use local data source
Fixes #14974
Scott González [Wed, 31 Aug 2016 16:28:36 +0000 (12:28 -0400)]
Position: Remove fractional pixel detection
Hooray for newer browsers.
Closes gh-1739
Scott González [Wed, 31 Aug 2016 20:29:54 +0000 (16:29 -0400)]
Controlgroup: Don't use `String.prototype.trim()`
We still support IE 8, which doesn't have this method.
Scott González [Wed, 31 Aug 2016 15:22:54 +0000 (11:22 -0400)]
Dialog: Fix code style
Scott González [Tue, 30 Aug 2016 18:58:39 +0000 (14:58 -0400)]
Dialog: Allow for subpixel calculation errors in tests
Tests were failing in IE 10-11 with values that were off by 0.01 pixels.
Closes gh-1737
Scott González [Tue, 30 Aug 2016 18:37:04 +0000 (14:37 -0400)]
Tabs: Strip hash from remote content URLs
As of jQuery 3.0.0, hashes are no longer stripped for Ajax requests. This
causes issues in IE <11, so we need to strip this before making the request.
Ref jquery/jquery#1732
Closes gh-1736
Scott González [Tue, 30 Aug 2016 20:26:18 +0000 (16:26 -0400)]
Effects: Adjust animation duration in tests
With jQuery 3 using `requestAnimationFrame()`, the `setTimeout()` timing
for short animations wasn't working consistently. This resulted in infrequent
failures everywhere (but infrequent enough that it's hard to even notice), but
consistent failures in IE and Edge. Bumping up the duration and running the
assertions in the middle seems to give consistent results.
Eventually, we should refactor this to use `requestAnimationFrame()` in the
tests themselves to avoid problems like this.
Closes gh-1738
Ville Skyttä [Wed, 27 Jul 2016 13:21:20 +0000 (16:21 +0300)]
Demos: Optimize *.png with zopflipng
zopflipng -m, version 1.0.1.
Closes gh-1726
Felix Nagel [Wed, 17 Aug 2016 22:15:29 +0000 (00:15 +0200)]
Menu: Support number pad keyboard input
Fixes #15031
Closes gh-1732
Scott González [Fri, 19 Aug 2016 13:14:35 +0000 (09:14 -0400)]
CONTRIBUTING: Replace grunt commands with npm
Closes gh-1733
Johannes Schäfer [Wed, 17 Aug 2016 07:57:48 +0000 (09:57 +0200)]
Build: Update bower.json with license information
Closes gh-1731
Scott González [Thu, 4 Aug 2016 13:04:16 +0000 (09:04 -0400)]
Widget: `instance()` should return `undefined` for empty sets
Fixes #15019
Alexander Schmitz [Tue, 26 Jul 2016 19:32:04 +0000 (15:32 -0400)]
Checkboxradio: Adjust rule order to avoid specificty issues with other icons
Fixes #15003
Closes gh-1725
Scott González [Mon, 25 Jul 2016 12:16:13 +0000 (08:16 -0400)]
Dialog: Support deprecated button options
Fixes #15016
Closes gh-1723
Scott González [Mon, 11 Jul 2016 15:32:39 +0000 (11:32 -0400)]
Controlgroup: Handle child elements that don't have options defined
Closes gh-1719