]> source.dussan.org Git - jquery-ui.git/log
jquery-ui.git
4 years agoTests: Ensure no timers are running at the end of each test (#1920)
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 07:16:24 +0000 (09:16 +0200)]
Tests: Ensure no timers are running at the end of each test (#1920)

This helps fix issues that make tooltip tests sometimes fail when run against
jQuery 3.2 or newer due to timing differences.

Details:
* Add the `moduleAfterEach` function ensuring no timers are running.
* Attach this function via `common.testWidget`.
* Attach this function to most test suites.
* Add a tooltip test helper cleaning up leftover timers.
* Rename legacy `setup`/`teardown` hooks to `beforeEach`/`afterEach`.

Closes gh-1920

4 years agoAll: Resolve most jQuery Migrate warnings
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 06:36:55 +0000 (08:36 +0200)]
All: Resolve most jQuery Migrate warnings

Closes gh-1919

4 years agoTests: Load jQuery Migrate before UI test files
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 06:30:11 +0000 (08:30 +0200)]
Tests: Load jQuery Migrate before UI test files

This is necessary to catch all possible warnings that the test files
may trigger.

Closes gh-1918

4 years agoBuild: Rename jquery-1-7 to jquery-patch
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 06:29:08 +0000 (08:29 +0200)]
Build: Rename jquery-1-7 to jquery-patch

The file now contains many more than just jQuery 1.7 patches.

Closes gh-1917

4 years agoTests: Solve a frequent race condition in tests in Chrome/Safari
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 06:28:26 +0000 (08:28 +0200)]
Tests: Solve a frequent race condition in tests in Chrome/Safari

Closes gh-1916

4 years agoBuild: Add jQuery 3.5.0 & 3.5.1
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 06:27:27 +0000 (08:27 +0200)]
Build: Add jQuery 3.5.0 & 3.5.1

Closes gh-1915

4 years agoBuild: Update jQuery Simulate, jQuery Migrate & jQuery Color
Michał Gołębiowski-Owczarek [Sat, 16 May 2020 06:26:48 +0000 (08:26 +0200)]
Build: Update jQuery Simulate, jQuery Migrate & jQuery Color

The jQuery Simulate & jQuery Color updates are needed for compatibility
with jQuery master, a future jQuery 4.

Closes gh-1914

4 years agoDatepicker: Fix Hungarian localization to use uppercase for first characters
Fatér Zsolt [Wed, 18 Dec 2019 10:06:23 +0000 (11:06 +0100)]
Datepicker: Fix Hungarian localization to use uppercase for first characters

4 years agoDatepicker: Add German localization
Florian Wegscheider [Fri, 17 Jan 2020 07:09:37 +0000 (08:09 +0100)]
Datepicker: Add German localization

4 years agoDatepicker: Fixed current instance memory leak and added unit testcases
jigar gala [Wed, 31 Jan 2018 19:45:58 +0000 (01:15 +0530)]
Datepicker: Fixed current instance memory leak and added unit testcases

4 years agoAll: Remove usage of jQuery positional selectors
Michał Gołębiowski-Owczarek [Wed, 22 Jan 2020 15:44:34 +0000 (16:44 +0100)]
All: Remove usage of jQuery positional selectors

jQuery positional selectors () have been deprecated in
[jQuery 3.4.0](https://blog.jquery.com/2019/04/10/jquery-3-4-0-released/)
and they'll be removed in jQuery 4.0.0. This PR removes their usage.

Most of the changes were possible without changing public API. However,
dropping `:even` usage required a change to the
[`header` option](https://api.jqueryui.com/accordion/#option-header)
of the accordion widget. I made it an optional function; this will need
to be documented.

The polyfill for `.even()` & `.odd()` is added for jQuery <3.5.0. There was
no usage of the :odd selector in the code but the `.odd()` method is also
polyfilled for completeness.

Closes gh-1904

4 years agoTests: Add the 3.x-git jQuery version to the dropdown
Michał Gołębiowski-Owczarek [Mon, 30 Dec 2019 22:56:30 +0000 (23:56 +0100)]
Tests: Add the 3.x-git jQuery version to the dropdown

Closes gh-1905

4 years agoSortable: Remove reference to .disableSelection() from demos
Gez Quinn [Mon, 9 Dec 2019 20:13:03 +0000 (20:13 +0000)]
Sortable: Remove reference to .disableSelection() from demos

`.disableSelection()` was deprecated in v1.9:
http://api.jqueryui.com/disableSelection/

Closes gh-1856

4 years agoDatepicker: Fix typo in currentText in da localization
OskarNS [Mon, 9 Dec 2019 20:11:13 +0000 (21:11 +0100)]
Datepicker: Fix typo in currentText in da localization

The term for "Today" in Danish is "I dag" not "Idag". This is a common misspelling in the Danish language.
see https://dsn.dk/?retskriv=idag
Dansk Sprognævn (DSN) is the authority over the Danish language.

Closes gh-1862

4 years agoBuild: Add my new name to .mailmap, update it in AUTHORS.txt
Michał Gołębiowski-Owczarek [Sun, 8 Dec 2019 21:36:04 +0000 (22:36 +0100)]
Build: Add my new name to .mailmap, update it in AUTHORS.txt

Closes gh-1837

4 years agoAll: Use expr.pseudos instead of deprecated expr.filters
Maksymenkov Eugene [Sun, 8 Dec 2019 21:27:16 +0000 (23:27 +0200)]
All: Use expr.pseudos instead of deprecated expr.filters

See:
https://github.com/jquery/jquery-migrate/blob/master/warnings.md#jqmigrate-jqueryexprfilters-is-deprecated-use-jqueryexprpseudos

Closes gh-1887

4 years agoAll: Migrate away from deprecated/removed Core APIs
Michał Gołębiowski-Owczarek [Sun, 8 Dec 2019 21:23:08 +0000 (22:23 +0100)]
All: Migrate away from deprecated/removed Core APIs

Summary of the changes:

* Build: Add jQuery 3.2.0-3.4.1 to versions UI can be tested against
* Build: Load jQuery & Migrate via HTTPS
* Build: Add package-lock.json to .gitignore
* Build: Update jQuery Migrate from 3.0.0 to 3.1.0
* Build: Allow to run tests against jQuery 3.x-git
* Build: Fix formatting according to JSCS rules
* Build: Disable JSCS for the inlined jQuery Color
* All: Switch from $.isArray to Array.isArray (jQuery.isArray will be
  removed in jQuery 4.0)
* All: Switch from `$.isFunction( x )` to `typeof x === "function"`
  (jQuery.isFunction will be removed in jQuery 4.0)
* All: Inline jQuery.isWindow as it'll be removed in jQuery 4.0
* Effects: Fix a timing issue in a variable declaration. Previously,
  a jQuery object was created, chained & assigned to a variable that
  was then accessed in a callback used inside of this chained
  definition. Due to a timing difference in when the callback fired for
  the first time in latest jQuery master, it was being called before
  the variable was defined.
* Tests: Make dialog & draggable unit tests less strict (newest jQuery
  returns fractional results in some cases, making comparisons fail when
  there's a tiny difference)
* All: Migrate from $.trim to bare String.prototype.trim (jQuery.trim
  will be deprecated in jQuery 3.5)

Closes gh-1901

7 years agoTests: Load `jquery-1-7` before other modules 1854/head
Scott González [Wed, 31 May 2017 18:09:05 +0000 (14:09 -0400)]
Tests: Load `jquery-1-7` before other modules

7 years agoDatepicker: Fix first day of week for pt-PT locale
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

7 years agoDialog: Fix shared event handler for modal dialogs
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

7 years agoAll: Remove uses of `jQuery.proxy()`
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

7 years agoAll: Remove uses of `jQuery.camelCase()`
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

7 years agoTests: Load `jquery-1-7` module for jQuery 2.x as well
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

7 years agoDemos: Fix a typo with an extra semicolon
Robert Brignull [Sun, 7 May 2017 20:30:16 +0000 (21:30 +0100)]
Demos: Fix a typo with an extra semicolon

Closes gh-1812

7 years agoTests: Load the `jquery-1-7` module for all 1.x versions
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

7 years agoPosition: Increase scrollbar test div to handle larger scrollbars
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

7 years agoCore: Fix JQMIGRATE warning about `jQuery.expr[":"]`
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

7 years agoMenu: Ignore mouse events triggered due to page scrolling
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

7 years agoMenu: Handle mouse movement mixed with keyboard navigation
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

7 years agoMenu: Don't focus dividers when wrapping via keyboard navigation
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

7 years agoButton: Fix backcompat when called on collection of mixed elements
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

7 years agoSortable: Fix various scrolling issues
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

7 years agoLabels: Handle empty sets
Scott González [Tue, 2 May 2017 16:42:49 +0000 (12:42 -0400)]
Labels: Handle empty sets

Fixes #15184

7 years agoMenu: Close menus immediately on selection or click outside
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

7 years agoWidget: Handle `Object.create(null)` for options objects
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

7 years agoWidget: Improve `remove` event bindings for `classes` options
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

7 years agoResizable: Keep user-provided handles on destroy
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

7 years agoSlider: Use `cursor: pointer` on handles
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

7 years agoDatepicker: Corrections for Swedish localization
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

7 years agoWidget: Don't swallow errors in `remove` events
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

7 years agoResizable: Keep user defined handles on _setOption
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

7 years agoSpinner: Ignore `mousewheel` events when not focused
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

7 years agoBuild: Add missing semicolon
Scott González [Mon, 6 Feb 2017 15:20:50 +0000 (10:20 -0500)]
Build: Add missing semicolon

7 years agoQunit: Add bootstrap config for running tests with jQuery Migrate
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

7 years agoBuild: Add jQuery as explicit dependency, with min and max range
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

7 years agoDatepicker: Fix prev/next button behavior with `showCurrentAtPos`
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

7 years agoAutocomplete: Fix IE/Edge scrolling issues
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

7 years agoEffect: Fix typo
Luke Brookhart [Thu, 15 Dec 2016 16:27:39 +0000 (11:27 -0500)]
Effect: Fix typo

Closes gh-1778

7 years agoThemes: Optimize PNG files with zopflipng
Jo Liss [Tue, 29 Nov 2016 12:47:48 +0000 (12:47 +0000)]
Themes: Optimize PNG files with zopflipng

Closes gh-1772

8 years agoSelectmenu: Don't render options with the `hidden` attribute
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

8 years agoTooltip: Clear interval for delayed tracking tooltips on remove
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

8 years agoTheme: Optimize images
Petri Partio [Fri, 21 Oct 2016 20:49:44 +0000 (23:49 +0300)]
Theme: Optimize images

Closes gh-1763

8 years agoBuild: Stop using the jquery-ui-future browser set
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

8 years agoBuild: Add jQuery 3.1.1
Michał Gołębiowski [Mon, 31 Oct 2016 16:29:59 +0000 (17:29 +0100)]
Build: Add jQuery 3.1.1

Closes gh-1766

8 years agoBuild: Run Travis tests on Node.js 6, not 0.12
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

8 years agoSpinner: Fix typo
Kyle Rosenberg [Wed, 26 Oct 2016 14:12:12 +0000 (09:12 -0500)]
Spinner: Fix typo

Closes gh-1764

8 years agoSortable: Fix `z-index` switching from `auto` to `0`
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

8 years agoTabs: Don't blur focused tab on sort
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

8 years agoForm: Rename from `.form()` to `._form()` since its not for public use
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

8 years agoSortable: Setting table row placeholder height to be same as sorted row
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

8 years agoCheckboxradio: Don't add ui-state-hover to icons
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

8 years agoTheme: Removes css for ui-state-checked its not used any more
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

8 years agoTheme: Replace missing definition for default icons
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

8 years agoTheme: Switch icon background to use bgColorContent
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

8 years agoDatepicker: Correct Traditional Chinese translation
Simon Asika [Thu, 29 Sep 2016 08:42:17 +0000 (16:42 +0800)]
Datepicker: Correct Traditional Chinese translation

Fixes #15060
Closes gh-1754

8 years agoSortable: Fix parent offset detection
Robin [Fri, 23 Sep 2016 11:40:36 +0000 (12:40 +0100)]
Sortable: Fix parent offset detection

Fixes #15021
Closes gh-1749

8 years agoDroppable: Use `$.ui.intersect()`
Evelyn Masso [Sat, 1 Oct 2016 22:47:36 +0000 (15:47 -0700)]
Droppable: Use `$.ui.intersect()`

Fixes #14963

8 years agoTabs: Remove presentation role
milk54 [Sun, 18 Sep 2016 10:11:41 +0000 (19:11 +0900)]
Tabs: Remove presentation role

Fixes #10122
Closes gh-1748

8 years agoResizable: Fix aspectRatio cannot be changed after initialization.
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

8 years agoBuild: Fix list of source files 1-12-stable
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

8 years agoAutocomplete: Escape HTML tags in callback name to avoid XSS in demo
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

8 years agoBuild: Updating the master version to 1.12.2-pre.
Scott González [Wed, 14 Sep 2016 16:34:40 +0000 (12:34 -0400)]
Build: Updating the master version to 1.12.2-pre.

8 years agoBuild: Update authors list
Scott González [Wed, 14 Sep 2016 16:29:20 +0000 (12:29 -0400)]
Build: Update authors list

8 years agoSortable: Use an event object for simulated `mouseup` in `cancel()`
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

8 years agoTheme: Fix icon default color when not within a button
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

8 years agoWidget: Untrack classes elements when they are removed from the DOM
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

8 years agoRelease: Remove externals directory from CDN zip
Scott González [Wed, 7 Sep 2016 17:38:45 +0000 (13:38 -0400)]
Release: Remove externals directory from CDN zip

Closes gh-1741

8 years agoDraggable: Fix spurious blur in dialogs on mousedown
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

8 years agoSlider: Add demo for custom handle
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

8 years agoBuild: Update authors list
Scott González [Wed, 7 Sep 2016 14:11:36 +0000 (10:11 -0400)]
Build: Update authors list

8 years agoAutocomplete: Remove unreachable code in remote demo
Scott González [Thu, 1 Sep 2016 19:56:29 +0000 (15:56 -0400)]
Autocomplete: Remove unreachable code in remote demo

8 years agoAutocomplete: Change JSONP demo to use local data source
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

8 years agoPosition: Remove fractional pixel detection
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

8 years agoControlgroup: Don't use `String.prototype.trim()`
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.

8 years agoDialog: Fix code style
Scott González [Wed, 31 Aug 2016 15:22:54 +0000 (11:22 -0400)]
Dialog: Fix code style

8 years agoDialog: Allow for subpixel calculation errors in tests
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

8 years agoTabs: Strip hash from remote content URLs
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

8 years agoEffects: Adjust animation duration in tests
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

8 years agoDemos: Optimize *.png with zopflipng
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

8 years agoMenu: Support number pad keyboard input
Felix Nagel [Wed, 17 Aug 2016 22:15:29 +0000 (00:15 +0200)]
Menu: Support number pad keyboard input

Fixes #15031
Closes gh-1732

8 years agoCONTRIBUTING: Replace grunt commands with npm
Scott González [Fri, 19 Aug 2016 13:14:35 +0000 (09:14 -0400)]
CONTRIBUTING: Replace grunt commands with npm

Closes gh-1733

8 years agoBuild: Update bower.json with license information
Johannes Schäfer [Wed, 17 Aug 2016 07:57:48 +0000 (09:57 +0200)]
Build: Update bower.json with license information

Closes gh-1731

8 years agoWidget: `instance()` should return `undefined` for empty sets
Scott González [Thu, 4 Aug 2016 13:04:16 +0000 (09:04 -0400)]
Widget: `instance()` should return `undefined` for empty sets

Fixes #15019

8 years agoCheckboxradio: Adjust rule order to avoid specificty issues with other icons
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

8 years agoDialog: Support deprecated button options
Scott González [Mon, 25 Jul 2016 12:16:13 +0000 (08:16 -0400)]
Dialog: Support deprecated button options

Fixes #15016
Closes gh-1723

8 years agoControlgroup: Handle child elements that don't have options defined
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

8 years agoCheckboxradio: Fix label handling with jQuery 3.x
Scott González [Mon, 11 Jul 2016 16:11:59 +0000 (12:11 -0400)]
Checkboxradio: Fix label handling with jQuery 3.x

Fixes #15006
Closes gh-1720

8 years agoBuild: Updating the master version to 1.12.1-pre.
Jörn Zaefferer [Fri, 8 Jul 2016 17:14:59 +0000 (19:14 +0200)]
Build: Updating the master version to 1.12.1-pre.

8 years agoBuild: Add jQuery 3.1.0
Scott González [Fri, 8 Jul 2016 17:02:10 +0000 (13:02 -0400)]
Build: Add jQuery 3.1.0

8 years agoTests: Only test latest patch versions for jQuery Core in TestSwarm
Scott González [Fri, 8 Jul 2016 16:51:44 +0000 (12:51 -0400)]
Tests: Only test latest patch versions for jQuery Core in TestSwarm

Adds some missing tests to TestSwarm and `all.html`.