]>
source.dussan.org Git - jquery-ui.git/log
Felix Nagel [Sat, 26 Aug 2017 11:08:14 +0000 (13:08 +0200)]
Merge branch 'master' into datepicker
# Conflicts:
# ui/i18n/datepicker-pt.js
Scott González [Wed, 31 May 2017 18:09:05 +0000 (14:09 -0400)]
Tests: Load `jquery-1-7` before other modules
Horus68 [Wed, 31 May 2017 14:53:30 +0000 (15:53 +0100)]
Datepicker: Fix first day of week for pt-PT locale
Fixes #15195
Closes gh-1820
Scott González [Thu, 11 May 2017 17:58:08 +0000 (13:58 -0400)]
Dialog: Fix shared event handler for modal dialogs
The old logic worked when all widgets of the same type used the same
event namespace. However, now that each instance has its own namespace,
we cannot use `_on()` for shared event handlers.
Fixes #15182
Closes gh-1817
Scott González [Mon, 8 May 2017 15:52:58 +0000 (11:52 -0400)]
All: Remove uses of `jQuery.proxy()`
Ref #15160
Closes gh-1813
Scott González [Mon, 8 May 2017 14:47:27 +0000 (10:47 -0400)]
All: Remove uses of `jQuery.camelCase()`
Ref #15160
Ref gh-1813
Scott González [Mon, 15 May 2017 22:24:19 +0000 (18:24 -0400)]
Tests: Load `jquery-1-7` module for jQuery 2.x as well
Robert Brignull [Sun, 7 May 2017 20:30:16 +0000 (21:30 +0100)]
Demos: Fix a typo with an extra semicolon
Closes gh-1812
Scott González [Wed, 10 May 2017 13:02:53 +0000 (09:02 -0400)]
Tests: Load the `jquery-1-7` module for all 1.x versions
Scott González [Wed, 3 May 2017 17:12:34 +0000 (13:12 -0400)]
Position: Increase scrollbar test div to handle larger scrollbars
Fixes #15106
Closes gh-1811
Eirik Sletteberg [Fri, 2 Dec 2016 13:41:30 +0000 (14:41 +0100)]
Core: Fix JQMIGRATE warning about `jQuery.expr[":"]`
This commit polyfills `jQuery.expr.pseudos` for old versions of jQuery.
Fixes #15185
Closes gh-1773
Scott González [Tue, 18 Apr 2017 20:51:23 +0000 (16:51 -0400)]
Menu: Ignore mouse events triggered due to page scrolling
Fixes #9356
Closes gh-1806
Scott González [Tue, 18 Apr 2017 17:57:23 +0000 (13:57 -0400)]
Menu: Handle mouse movement mixed with keyboard navigation
Fixes #9357
Closes gh-1805
Scott González [Mon, 17 Apr 2017 16:26:22 +0000 (12:26 -0400)]
Menu: Don't focus dividers when wrapping via keyboard navigation
Fixes #15157
Closes gh-1804
Alexander Schmitz [Wed, 19 Apr 2017 15:32:13 +0000 (11:32 -0400)]
Button: Fix backcompat when called on collection of mixed elements
Fixes #15109
Closes gh-1808
A. Wells [Thu, 16 Feb 2017 18:48:45 +0000 (13:48 -0500)]
Sortable: Fix various scrolling issues
* Created _scroll extension point and migrated scroll code from _mouseDrag
* Cleaned up logic for scrolled
* Fixed appendTo functionality to match documentation
* Remove unnecessary function calls
* Move set-up position functions to appropriate place
* Base scrollParent on placeholder and not helper
* Update scrollParent when switching containers
Fixes #3173
Fixes #15165
Fixes #15166
Fixes #15167
Fixes #15168
Fixes #15169
Fixes #15170
Closes gh-1793
Scott González [Tue, 2 May 2017 16:42:49 +0000 (12:42 -0400)]
Labels: Handle empty sets
Fixes #15184
Scott González [Tue, 18 Apr 2017 21:37:15 +0000 (17:37 -0400)]
Menu: Close menus immediately on selection or click outside
Fixes #15034
Closes gh-1807
Scott González [Fri, 21 Apr 2017 18:49:52 +0000 (14:49 -0400)]
Widget: Handle `Object.create(null)` for options objects
Fixes #15179
Closes gh-1809
Scott González [Wed, 16 Nov 2016 19:42:34 +0000 (14:42 -0500)]
Widget: Improve `remove` event bindings for `classes` options
Fixes #15078
Fixes #15082
Fixes #15095
Fixes #15136
Fixes #15152
Closes gh-1769
Konstantin Dinev [Tue, 28 Feb 2017 16:21:46 +0000 (18:21 +0200)]
Resizable: Keep user-provided handles on destroy
Closes gh-1798
Ref gh-1795
Felix Nagel [Wed, 12 Apr 2017 21:46:57 +0000 (23:46 +0200)]
Calendar: Create helper methods for Date object creation
Felix Nagel [Wed, 12 Apr 2017 21:25:41 +0000 (23:25 +0200)]
Calendar: Introduce getter / setter for grid id
Felix Nagel [Wed, 12 Apr 2017 21:12:44 +0000 (23:12 +0200)]
Calendar: Introduce getter / setter for date and viewDate
Felix Nagel [Wed, 12 Apr 2017 20:47:27 +0000 (22:47 +0200)]
Calendar: Introduce build methods for year and month title
Felix Nagel [Tue, 11 Apr 2017 08:21:17 +0000 (10:21 +0200)]
Calendar: Use widget extension to render year and month select
Scott González [Thu, 9 Mar 2017 17:17:06 +0000 (12:17 -0500)]
Slider: Use `cursor: pointer` on handles
Fixes #9371
Closes gh-1800
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