Skip to content
Permalink
master

Commits on Sep 25, 2020

  1. Build: Allow to specify browser sets to TestSwarm tasks

    This will make it easier to e.g. now exclude Edge Legacy when testing against
    jQuery 4.x.
    
    Closes gh-1936
    mgol committed Sep 25, 2020

Commits on Aug 11, 2020

  1. Resizable: Fix CSP violation (style unsafe-inline)

    Kwaadpepper authored and fnagel committed Aug 11, 2020
  2. Package: Remove Scott González from maintainers

    fnagel committed Aug 11, 2020

Commits on Jul 27, 2020

  1. Tests: Update jQuery Migrate from 3.3.0 to 3.3.1

    That upgrade makes UI pass the whole test suite without a single jQuery Migrate
    warning. 🎉
    
    Closes gh-1932
    mgol committed Jul 27, 2020

Commits on Jul 24, 2020

  1. External: Add .npmignore file

    necccc committed Jul 24, 2020
  2. All: Remove a leftover empty file

    Closes gh-1933
    mgol committed Jul 24, 2020

Commits on Jul 23, 2020

  1. Menu: Account for scrollbars in jQuery 3.2

    jQuery >=3.2 doesn't include scrollbars in `.height()`, this commit switches
    it to `.innerHeight()` which does so in jQuery >=3.3. In  jQuery 3.2 it doesn't
    either so include scrollbars in innerHeight, add it back.
    
    Using `.innerHeight()` instead of `.height()` should be fine as menu doesn't
    define padding styles.
    
    Closes gh-1929
    mgol committed Jul 23, 2020
  2. Tests: Account for extra focus/blur listeners in jQuery >=3.4

    jQuery >=3.4.0 uses a special focus/blur handler pair
    needed to fix various issues with checkboxes/radio buttons
    as well as being able to pass data in focus triggers.
    However, this leaves dummy focus & blur events if any of these
    events were ever listened to at a particular element. There's not
    a lot UI can do to fix this so we now just skip these handlers for
    data comparisons in tests.
    
    Ref jquery/jquery#4496
    Closes gh-1930
    
    Co-authored-by: Richard Gibson <richard.gibson@gmail.com>
    mgol and gibson042 committed Jul 23, 2020
  3. Tests: Accept a small difference of animated width/height

    jQuery 3.2 & newer have a different animation logic and the animated elements
    width/height differ from the starting ones even at the beginning of the
    animation. The point of the assertions checking that they're identical was
    to ensure bug #5245 is fixed; that issue manifested by a big jump to half the
    element size. To test for that, it's enough to check that the first obtained
    values are close to the original ones.
    
    This makes effects tests pass in all supported jQuery versions.
    
    Closes gh-1928
    Ref #5245
    mgol committed Jul 23, 2020
  4. Tests: Skip a scrollbar test in jQuery 3.2

    jQuery 3.2 incorrectly handle scrollbars in WebKit/Blink-based browsers.
    This is fixed in version 3.3, see jquery/jquery#3589.
    As the data here comes from jQuery directly and the changes to fix it
    are non-trivial: jquery/jquery#3656, just accept
    that scrollbar data in this jQuery version is inaccurate.
    
    Closes gh-1927
    Ref jquery/jquery#3589
    Ref jquery/jquery#3656
    mgol committed Jul 23, 2020
  5. Tests: Clear the timers queue in an animateClass test

    jQueries older than 1.11 or 2.1 were leaving a timer in the queue which could
    then influence other tests.
    
    Closes gh-1926
    mgol committed Jul 23, 2020

Commits on Jul 22, 2020

  1. All: Drop support for jQuery 1.7

    Closes gh-1923
    mgol committed Jul 22, 2020
  2. Build: Update the version from 1.12.2-pre to 1.13.0-pre

    Closes gh-1921
    mgol committed Jul 22, 2020

Commits on May 16, 2020

  1. 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
    mgol committed May 16, 2020
  2. All: Resolve most jQuery Migrate warnings

    Closes gh-1919
    mgol committed May 16, 2020
  3. 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
    mgol committed May 16, 2020
  4. Build: Rename jquery-1-7 to jquery-patch

    The file now contains many more than just jQuery 1.7 patches.
    
    Closes gh-1917
    mgol committed May 16, 2020
  5. Tests: Solve a frequent race condition in tests in Chrome/Safari

    Closes gh-1916
    mgol committed May 16, 2020
  6. Build: Add jQuery 3.5.0 & 3.5.1

    Closes gh-1915
    mgol committed May 16, 2020
  7. 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
    mgol committed May 16, 2020

Commits on Mar 23, 2020

  1. Datepicker: Fix Hungarian localization to use uppercase for first cha…

    …racters
    zsoltii authored and fnagel committed Mar 23, 2020
  2. Datepicker: Add German localization

    florianweg authored and fnagel committed Mar 23, 2020
  3. Datepicker: Fixed current instance memory leak and added unit testcases

    jigar140291 authored and fnagel committed Mar 23, 2020

Commits on Jan 22, 2020

  1. 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
    mgol committed Jan 22, 2020

Commits on Jan 14, 2020

  1. Tests: Add the 3.x-git jQuery version to the dropdown

    Closes gh-1905
    mgol committed Jan 14, 2020

Commits on Dec 9, 2019

  1. Sortable: Remove reference to .disableSelection() from demos

    `.disableSelection()` was deprecated in v1.9:
    http://api.jqueryui.com/disableSelection/
    
    Closes gh-1856
    gezquinndesign authored and mgol committed Dec 9, 2019
  2. 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
    OskarNS authored and mgol committed Dec 9, 2019

Commits on Dec 8, 2019

  1. Build: Add my new name to .mailmap, update it in AUTHORS.txt

    Closes gh-1837
    mgol committed Dec 8, 2019
  2. 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
    mgol committed Dec 8, 2019

Commits on May 31, 2017

  1. Tests: Load `jquery-1-7` before other modules

    scottgonzalez committed May 31, 2017
  2. Datepicker: Fix first day of week for pt-PT locale

    Fixes #15195
    Closes gh-1820
    horus68 authored and scottgonzalez committed May 31, 2017

Commits on May 17, 2017

  1. 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
    scottgonzalez committed May 17, 2017
  2. All: Remove uses of `jQuery.proxy()`

    Ref #15160
    Closes gh-1813
    scottgonzalez committed May 17, 2017
Older
You can’t perform that action at this time.