Commit Graph

7106 Commits

Author SHA1 Message Date
Alexander Schmitz
391d45ea6c Theme: Fix icon default color when not within a button
Fixes jquery/jqueryui.com#159
Closes gh-1745
2016-09-14 07:56:53 -04:00
Alexander Schmitz
89af4c292e Widget: Untrack classes elements when they are removed from the DOM
Fixes #15043
Closes gh-1744
2016-09-13 15:11:34 -04:00
Scott González
7b7b9b6d86 Release: Remove externals directory from CDN zip
Closes gh-1741
2016-09-13 09:09:36 -04:00
Ryan Oriecuia
8c66934434 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
2016-09-13 08:53:00 -04:00
Scott González
51461d5238 Slider: Add demo for custom handle
Fixes #15023
Closes gh-1740
2016-09-13 08:41:33 -04:00
Scott González
57bff499de Build: Update authors list 2016-09-07 10:11:36 -04:00
Scott González
fd81307dd9 Autocomplete: Remove unreachable code in remote demo 2016-09-01 15:56:29 -04:00
Scott González
930934f4d2 Autocomplete: Change JSONP demo to use local data source
Fixes #14974
2016-09-01 15:55:25 -04:00
Scott González
586d572ad2 Position: Remove fractional pixel detection
Hooray for newer browsers.

Closes gh-1739
2016-08-31 17:00:19 -04:00
Scott González
3606e1c33a Controlgroup: Don't use String.prototype.trim()
We still support IE 8, which doesn't have this method.
2016-08-31 16:29:56 -04:00
Scott González
4e39014803 Dialog: Fix code style 2016-08-31 11:22:54 -04:00
Scott González
d2ce363200 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
2016-08-31 11:01:39 -04:00
Scott González
398bd8dd36 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
2016-08-31 07:45:09 -04:00
Scott González
3a45a47968 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
2016-08-30 16:37:24 -04:00
Ville Skyttä
d7ea031bd3 Demos: Optimize *.png with zopflipng
zopflipng -m, version 1.0.1.

Closes gh-1726
2016-08-24 12:01:45 -04:00
Felix Nagel
ac9ca9e52c Menu: Support number pad keyboard input
Fixes #15031
Closes gh-1732
2016-08-24 11:56:26 -04:00
Scott González
1148aefd59 CONTRIBUTING: Replace grunt commands with npm
Closes gh-1733
2016-08-24 11:55:53 -04:00
Johannes Schäfer
f25f9ec72d Build: Update bower.json with license information
Closes gh-1731
2016-08-18 09:37:14 -04:00
Scott González
3dd8a09b44 Widget: instance() should return undefined for empty sets
Fixes #15019
2016-08-04 09:04:49 -04:00
Alexander Schmitz
57537d09a4 Checkboxradio: Adjust rule order to avoid specificty issues with other icons
Fixes #15003
Closes gh-1725
2016-07-27 10:16:04 -04:00
Scott González
6c754b4b5b Dialog: Support deprecated button options
Fixes #15016
Closes gh-1723
2016-07-25 08:38:51 -04:00
Scott González
f67f9293ae Controlgroup: Handle child elements that don't have options defined
Closes gh-1719
2016-07-13 12:10:41 -04:00
Scott González
55cd9488cc Checkboxradio: Fix label handling with jQuery 3.x
Fixes #15006
Closes gh-1720
2016-07-12 13:06:23 -04:00
Jörn Zaefferer
21f7f2500c Build: Updating the master version to 1.12.1-pre. 2016-07-08 19:14:59 +02:00
Scott González
ea44d84975 Build: Add jQuery 3.1.0 2016-07-08 13:02:10 -04:00
Scott González
3b066697bc Tests: Only test latest patch versions for jQuery Core in TestSwarm
Adds some missing tests to TestSwarm and `all.html`.
2016-07-08 12:51:44 -04:00
Scott González
4d9779342e Resizable: Avoid Array#map() in tests for IE8 2016-07-07 10:18:18 -04:00
Scott González
92451b44c1 Tooltip: Allow tracking tooltips to be off by a fraciton of a pixel
Closes gh-1718
2016-07-07 09:16:52 -04:00
Scott González
dc8b1c8bb9 Tests: Add jQuery 3.0.0 to missing systems 2016-07-07 09:07:54 -04:00
Scott González
ba91b324ab Effects: Fix timing of .animateClass() assertion 2016-07-06 16:29:43 -04:00
Scott González
9d807ba109 Tabs: Remove test for Ajax URLs containing hashes
This hasn't been a problem for a long time and jQuery no longer removes
the hash in 3.0.0, so the test started to fail even though the actual
code is working just fine.

Ref #3627
Ref jquery/jquery#1732
2016-07-06 13:09:15 -04:00
Alexander Schmitz
71b93ed247 Build: Add jQuery 3.0 for testing 2016-07-06 09:45:29 -04:00
Gabriel Schulhof
3a9a3c7c5b Controlgroup: Correctly handle non-empty child class key
Fixes #14984
Closes gh-1713
2016-07-06 09:42:31 -04:00
Scott González
23d1db5845 Build: Adjust author info for Dan Strohl 2016-06-30 11:07:44 -04:00
Alexander Schmitz
8a79fc8784 Controlgroup: Add "only" position to class generator functions
Fixes #14972
Closes gh-1711
2016-06-09 14:10:40 -04:00
Scott González
3c860f95aa All: Replace non-breaking spaces with regular spaces 2016-06-08 13:03:42 -04:00
Alexander Schmitz
abc2a755f9 Checkboxradio: Use new ui-state-checked class in checkboxradio
Using `ui-state-highlight` caused a conflict with dialog

Fixes #14955
Closes gh-1712
Closes gh-1704
2016-06-06 11:34:52 -04:00
Peter Dave Hello
b7d0c701c7 All: Optimize png images losslessly using zopflipng
Closes gh-1710
2016-06-06 11:26:06 -04:00
Peter Kehl
ab5a18da3a Tests: Removed links to tests that no longer exist
Closes gh-1709
2016-05-31 09:58:51 -04:00
Alexander Schmitz
7d5e6d2496 Controlgroup: Fix rendering of labels
Fixes #14967
Closes gh-1703
2016-05-26 09:15:48 -04:00
Alexander Schmitz
81a8e30c07 Controlgroup: Fix issues with compatibility with spinner
Fixes #14966
2016-05-26 09:15:48 -04:00
Alexander Schmitz
04b670e6cc Controlgroup: Don't remove existing classes classes
unless its a corner class

Fixes #14960
2016-05-26 09:15:48 -04:00
Michał Gołębiowski
83ec5e8016 Tests: Stop testing against core 2.0.2 on testswarm
jQuery 2.0.3 fixed very few things from 2.0.2, the list is here:
​http://blog.jquery.com/2013/07/03/jquery-1-10-2-and-2-0-3-released/

One of the fixes was ​http://bugs.jquery.com/ticket/13980, though which was
about cross-domain iframe issues. The problem is TestSwarm loads a cross-domain
iframe: the main page is swarm.jquery.org, the frame is on
builds.jenkins.jquery.com so it might be causing issues. You can see jQuery UI
tests are timing out in all IE versions in jQuery 2.0.2:
​http://swarm.jquery.org/job/2918

The problem is that it doesn't just fail, it starves the available IE pool,
making it sometimes harder for other projects to get their tests run on IE.

That's why tests with jQuery 2.0.2 on TestSwarm need to be removed as it's been
done with 1.10.1.

Refs #12745
Refs c2224bf5dc
Refs gh-1706
Closes gh-1707
2016-05-26 09:12:12 -04:00
Michał Gołębiowski
827bf3998e Build: Don't run tests on IE 8 with jQuery Core 2 and newer
Closes gh-1706
2016-05-25 16:42:29 -04:00
Michał Gołębiowski
e6fd82d351 Build: Add grunt-cli to devDependencies, don't install it globally
This makes it possible to use Grunt without installing grunt-cli globally
which makes the whole process more resilient.

Ref gh-1706
2016-05-25 16:42:22 -04:00
Michał Gołębiowski
6812ca4141 Build: Add bower_components to .gitignore
Ref gh-1706
2016-05-25 16:42:20 -04:00
Michał Gołębiowski
468f1e3abe Build: Add jQuery 1.12/2.2 to the test configuration
Ref gh-1706
2016-05-25 16:42:06 -04:00
Scott González
50d910b848 Focusable: Detect disabled fieldsets
Fixes #14970
Closes gh-1705
2016-05-25 15:32:18 -04:00
Scott González
fbc79e1bda Tabs: Fix test 2016-05-25 08:41:08 -04:00
Scott González
219744cadf Tabs: Fix default classes option
Fixes #14973
2016-05-25 07:45:23 -04:00