version bump

This commit is contained in:
Rob Garrison 2016-02-15 13:15:22 -06:00
parent ed1b8626c1
commit a234d31cba
21 changed files with 102 additions and 92 deletions

View File

@ -23,14 +23,14 @@ tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THE
* Multi-column alphanumeric sorting and filtering.
* Multi-tbody sorting - see the [options](//mottie.github.io/tablesorter/docs/index.html#options) table on the main document page.
* Supports [Bootstrap v2 and 3](//mottie.github.io/tablesorter/docs/example-widget-bootstrap-theme.html)
* Supports [Bootstrap v2 and 3](//mottie.github.io/tablesorter/docs/example-widget-bootstrap-theme.html).
* Parsers for sorting text, alphanumeric text, URIs, integers, currency, floats, IP addresses, dates (ISO, long and short formats) & time. [Add your own easily](//mottie.github.io/tablesorter/docs/example-parsers.html).
* Inline editing - see [demo](//mottie.github.io/tablesorter/docs/example-widget-editable.html)
* Inline editing - see [demo](//mottie.github.io/tablesorter/docs/example-widget-editable.html).
* Support for ROWSPAN and COLSPAN on TH elements.
* Support secondary "hidden" sorting (e.g., maintain alphabetical sort when sorting on other criteria).
* Extensibility via [widget system](//mottie.github.io/tablesorter/docs/example-widgets.html).
* Cross-browser: IE 6.0+, FF 2+, Safari 2.0+, Opera 9.0+, Chrome 5.0+.
* Small code size, starting at 25K minified
* Small code size, starting at 25K minified.
* Works with jQuery 1.2.6+ (jQuery 1.4.1+ needed with some widgets).
* Works with jQuery 1.9+ (`$.browser.msie` was removed; needed in the original version).
@ -42,10 +42,10 @@ tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THE
### Download
* Get all files: [zip](//github.com/Mottie/tablesorter/archive/master.zip) or [tar.gz](//github.com/Mottie/tablesorter/archive/master.tar.gz)
* Use [bower](http://bower.io/): `bower install jquery.tablesorter`
* Use [node.js](http://nodejs.org/): `npm install tablesorter`
* CDNJS: [https://cdnjs.com/libraries/jquery.tablesorter](https://cdnjs.com/libraries/jquery.tablesorter)
* Get all files: [zip](//github.com/Mottie/tablesorter/archive/master.zip) or [tar.gz](//github.com/Mottie/tablesorter/archive/master.tar.gz).
* Use [bower](http://bower.io/): `bower install jquery.tablesorter`.
* Use [node.js](http://nodejs.org/): `npm install tablesorter`.
* CDNJS: [https://cdnjs.com/libraries/jquery.tablesorter](https://cdnjs.com/libraries/jquery.tablesorter).
### Related Projects
@ -92,6 +92,30 @@ If you would like to contribute, please...
View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes).
#### <a name="v2.25.4">Version 2.25.4</a> (2/15/2016)
* Core:
* Remove id from widgets option prior to remove function. See [issue #1155](https://github.com/Mottie/tablesorter/issues/1155).
* `applyWidgetsId` properly accepts jQuery table element.
* ColumnSelector:
* Clear column container when refreshing. See [pull #1145](https://github.com/Mottie/tablesorter/pull/1145); thanks [eltharin](https://github.com/eltharin)!
* Prevent refresh error. See [pull #1145](https://github.com/Mottie/tablesorter/pull/1145).
* Editable:
* Use `execCommand` to select all text, if supported.
* Filter:
* Select defaults to exact match again. Fixes [issue #1136](https://github.com/Mottie/tablesorter/issues/1136).
* Fix disable of live search. See [issue #1152](https://github.com/Mottie/tablesorter/issues/1152).
* Grouping:
* Reapply zebra after collapsed group opens. Fixes [issue #1156](https://github.com/Mottie/tablesorter/issues/1156).
* Pager:
* Add `initialRows` option; use when `processAjaxOnInit` set to `false`. See [Stackoverflow](See http://stackoverflow.com/q/34972532/145346).
* Prevent js error on successive removal calls. Fixes [issue #1155](https://github.com/Mottie/tablesorter/issues/1155).
* Docs:
* Add `ignoreRow` class to pager row.
* Show actual theme names; to use in the `themes` option.
* Build: Update dependencies.
* Testing: re-align code.
#### <a name="v2.25.3">Version 2.25.3</a> (1/21/2016)
* Filter:
@ -114,28 +138,3 @@ View the [complete change log here](//github.com/Mottie/tablesorter/wiki/Changes
* `output_saveRows` now accpets a [filter callback function](http://api.jquery.com/filter/#filter-function).
* Parsers:
* checkbox value should no longer change. Fixes [issue #1125](https://github.com/Mottie/tablesorter/issues/1125).
#### <a name="v2.25.1">Version 2.25.1</a> (1/10/2016)
* Docs:
* Update to jQuery v1.12.0.
* Fix HTML hint issues.
* Core:
* Fix time parser detection. See [issue #1107](https://github.com/Mottie/tablesorter/issues/1107).
* Add multiple widgets from table class. Fixes [issue #1109](https://github.com/Mottie/tablesorter/issues/1109).
* Fix extra header class name updating. See [issue #1116](https://github.com/Mottie/tablesorter/issues/1116).
* Fix typo in comments.
* ColumnSelector:
* Prevent remove widget js error. Fixes [issue #1106](https://github.com/Mottie/tablesorter/issues/1106).
* Add `tbody` colspan support. See [issue #1120](https://github.com/Mottie/tablesorter/issues/1120).
* Add child row colspan support. See [issue #1120](https://github.com/Mottie/tablesorter/issues/1120).
* Filter:
* Use replacement character instead of null (for IE).
* Fix "or" test regex. Fixes [issue #1117](https://github.com/Mottie/tablesorter/issues/1117).
* Restore `return false` to fix unit tests.
* Functions now get exact data, ignoring parsed flag. Fixes [issue #1107](https://github.com/Mottie/tablesorter/issues/1107).
* Parsed flag now all set `true` if `filter_useParsedData` is `true` &amp; stop using `config.$headers`.
* Output:
* `output_callback` can now return modified data. See [issue #1121](https://github.com/Mottie/tablesorter/issues/1121).
* Grunt:
* Add HTML hint.

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.3)*/
/*! tablesorter (FORK) - updated 02-15-2016 (v2.25.4)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -10,7 +10,7 @@
}
}(function($) {
/*! TableSorter (FORK) v2.25.3 *//*
/*! TableSorter (FORK) v2.25.4 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -33,7 +33,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.25.3',
version : '2.25.4',
parsers : [],
widgets : [],
@ -189,7 +189,7 @@
},
// digit sort text location; keeping max+/- for backwards compatibility
// digit sort, text location
string : {
max : 1,
min : -1,
@ -1914,6 +1914,7 @@
},
applyWidgetId : function( table, id, init ) {
table = $(table)[0];
var applied, time, name,
c = table.config,
wo = c.widgetOptions,
@ -2045,6 +2046,10 @@
for ( index = 0; index < len; index++ ) {
widget = ts.getWidgetById( name[ index ] );
indx = $.inArray( name[ index ], c.widgets );
// don't remove the widget from config.widget if refreshing
if ( indx >= 0 && refreshing !== true ) {
c.widgets.splice( indx, 1 );
}
if ( widget && widget.remove ) {
if ( c.debug ) {
console.log( ( refreshing ? 'Refreshing' : 'Removing' ) + ' "' + name[ index ] + '" widget' );
@ -2052,10 +2057,6 @@
widget.remove( table, c, c.widgetOptions, refreshing );
c.widgetInit[ name[ index ] ] = false;
}
// don't remove the widget from config.widget if refreshing
if ( indx >= 0 && refreshing !== true ) {
c.widgets.splice( indx, 1 );
}
}
},
@ -3084,7 +3085,7 @@
})(jQuery);
/*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
/*! Widget: filter - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -3885,8 +3886,9 @@
var column = parseInt( $( this ).attr( 'data-column' ), 10 );
// don't allow 'change' event to process if the input value is the same - fixes #685
if ( wo.filter_initialized && ( event.which === tskeyCodes.enter || event.type === 'search' ||
( event.type === 'change' ) && this.value !== c.lastSearch[column] ) ||
// only "input" event fires in MS Edge when clicking the "x" to clear the search
( event.type === 'change' || event.type === 'input' ) && this.value !== c.lastSearch[column] ) ) {
( event.type === 'input' && this.value === '' ) ) {
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
@ -4295,7 +4297,8 @@
c.$headerIndexed[ columnIndex ].hasClass( 'filter-parsed' ) );
vars.functions[ columnIndex ] =
ts.getColumnData( table, wo.filter_functions, columnIndex );
ts.getColumnData( table, wo.filter_functions, columnIndex ) ||
c.$headerIndexed[ columnIndex ].hasClass( 'filter-select' );
vars.defaultColFilter[ columnIndex ] =
ts.getColumnData( table, wo.filter_defaultFilter, columnIndex ) || '';
vars.excludeFilter[ columnIndex ] =

File diff suppressed because one or more lines are too long

View File

@ -8,7 +8,7 @@
}
}(function($) {
/*! TableSorter (FORK) v2.25.3 *//*
/*! TableSorter (FORK) v2.25.4 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -31,7 +31,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.25.3',
version : '2.25.4',
parsers : [],
widgets : [],
@ -187,7 +187,7 @@
},
// digit sort text location; keeping max+/- for backwards compatibility
// digit sort, text location
string : {
max : 1,
min : -1,
@ -1912,6 +1912,7 @@
},
applyWidgetId : function( table, id, init ) {
table = $(table)[0];
var applied, time, name,
c = table.config,
wo = c.widgetOptions,
@ -2043,6 +2044,10 @@
for ( index = 0; index < len; index++ ) {
widget = ts.getWidgetById( name[ index ] );
indx = $.inArray( name[ index ], c.widgets );
// don't remove the widget from config.widget if refreshing
if ( indx >= 0 && refreshing !== true ) {
c.widgets.splice( indx, 1 );
}
if ( widget && widget.remove ) {
if ( c.debug ) {
console.log( ( refreshing ? 'Refreshing' : 'Removing' ) + ' "' + name[ index ] + '" widget' );
@ -2050,10 +2055,6 @@
widget.remove( table, c, c.widgetOptions, refreshing );
c.widgetInit[ name[ index ] ] = false;
}
// don't remove the widget from config.widget if refreshing
if ( indx >= 0 && refreshing !== true ) {
c.widgets.splice( indx, 1 );
}
}
},

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.3)*/
/*! tablesorter (FORK) - updated 02-15-2016 (v2.25.4)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -366,7 +366,7 @@
})(jQuery);
/*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
/*! Widget: filter - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -1167,8 +1167,9 @@
var column = parseInt( $( this ).attr( 'data-column' ), 10 );
// don't allow 'change' event to process if the input value is the same - fixes #685
if ( wo.filter_initialized && ( event.which === tskeyCodes.enter || event.type === 'search' ||
( event.type === 'change' ) && this.value !== c.lastSearch[column] ) ||
// only "input" event fires in MS Edge when clicking the "x" to clear the search
( event.type === 'change' || event.type === 'input' ) && this.value !== c.lastSearch[column] ) ) {
( event.type === 'input' && this.value === '' ) ) {
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
@ -1577,7 +1578,8 @@
c.$headerIndexed[ columnIndex ].hasClass( 'filter-parsed' ) );
vars.functions[ columnIndex ] =
ts.getColumnData( table, wo.filter_functions, columnIndex );
ts.getColumnData( table, wo.filter_functions, columnIndex ) ||
c.$headerIndexed[ columnIndex ].hasClass( 'filter-select' );
vars.defaultColFilter[ columnIndex ] =
ts.getColumnData( table, wo.filter_defaultFilter, columnIndex ) || '';
vars.excludeFilter[ columnIndex ] =

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.3)*/
/*! tablesorter (FORK) - updated 02-15-2016 (v2.25.4)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -16,7 +16,7 @@
}
}(function($) {
/*! TableSorter (FORK) v2.25.3 *//*
/*! TableSorter (FORK) v2.25.4 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -39,7 +39,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.25.3',
version : '2.25.4',
parsers : [],
widgets : [],
@ -195,7 +195,7 @@
},
// digit sort text location; keeping max+/- for backwards compatibility
// digit sort, text location
string : {
max : 1,
min : -1,
@ -1920,6 +1920,7 @@
},
applyWidgetId : function( table, id, init ) {
table = $(table)[0];
var applied, time, name,
c = table.config,
wo = c.widgetOptions,
@ -2051,6 +2052,10 @@
for ( index = 0; index < len; index++ ) {
widget = ts.getWidgetById( name[ index ] );
indx = $.inArray( name[ index ], c.widgets );
// don't remove the widget from config.widget if refreshing
if ( indx >= 0 && refreshing !== true ) {
c.widgets.splice( indx, 1 );
}
if ( widget && widget.remove ) {
if ( c.debug ) {
console.log( ( refreshing ? 'Refreshing' : 'Removing' ) + ' "' + name[ index ] + '" widget' );
@ -2058,10 +2063,6 @@
widget.remove( table, c, c.widgetOptions, refreshing );
c.widgetInit[ name[ index ] ] = false;
}
// don't remove the widget from config.widget if refreshing
if ( indx >= 0 && refreshing !== true ) {
c.widgets.splice( indx, 1 );
}
}
},
@ -3090,7 +3091,7 @@
})(jQuery);
/*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
/*! Widget: filter - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -3891,8 +3892,9 @@
var column = parseInt( $( this ).attr( 'data-column' ), 10 );
// don't allow 'change' event to process if the input value is the same - fixes #685
if ( wo.filter_initialized && ( event.which === tskeyCodes.enter || event.type === 'search' ||
( event.type === 'change' ) && this.value !== c.lastSearch[column] ) ||
// only "input" event fires in MS Edge when clicking the "x" to clear the search
( event.type === 'change' || event.type === 'input' ) && this.value !== c.lastSearch[column] ) ) {
( event.type === 'input' && this.value === '' ) ) {
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
@ -4301,7 +4303,8 @@
c.$headerIndexed[ columnIndex ].hasClass( 'filter-parsed' ) );
vars.functions[ columnIndex ] =
ts.getColumnData( table, wo.filter_functions, columnIndex );
ts.getColumnData( table, wo.filter_functions, columnIndex ) ||
c.$headerIndexed[ columnIndex ].hasClass( 'filter-select' );
vars.defaultColFilter[ columnIndex ] =
ts.getColumnData( table, wo.filter_defaultFilter, columnIndex ) || '';
vars.excludeFilter[ columnIndex ] =

View File

@ -1,4 +1,4 @@
/*! TableSorter (FORK) v2.25.3 *//*
/*! TableSorter (FORK) v2.25.4 *//*
* Client-side table sorting with ease!
* @requires jQuery v1.2.6+
*
@ -21,7 +21,7 @@
'use strict';
var ts = $.tablesorter = {
version : '2.25.3',
version : '2.25.4',
parsers : [],
widgets : [],

View File

@ -4,7 +4,7 @@
*/
/*! tablesorter (FORK) - updated 01-21-2016 (v2.25.3)*/
/*! tablesorter (FORK) - updated 02-15-2016 (v2.25.4)*/
/* Includes widgets ( storage,uitheme,columns,filter,stickyHeaders,resizable,saveSort ) */
(function(factory) {
if (typeof define === 'function' && define.amd) {
@ -372,7 +372,7 @@
})(jQuery);
/*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
/*! Widget: filter - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/
@ -1173,8 +1173,9 @@
var column = parseInt( $( this ).attr( 'data-column' ), 10 );
// don't allow 'change' event to process if the input value is the same - fixes #685
if ( wo.filter_initialized && ( event.which === tskeyCodes.enter || event.type === 'search' ||
( event.type === 'change' ) && this.value !== c.lastSearch[column] ) ||
// only "input" event fires in MS Edge when clicking the "x" to clear the search
( event.type === 'change' || event.type === 'input' ) && this.value !== c.lastSearch[column] ) ) {
( event.type === 'input' && this.value === '' ) ) {
event.preventDefault();
// init search with no delay
$( this ).attr( 'data-lastSearchTime', new Date().getTime() );
@ -1583,7 +1584,8 @@
c.$headerIndexed[ columnIndex ].hasClass( 'filter-parsed' ) );
vars.functions[ columnIndex ] =
ts.getColumnData( table, wo.filter_functions, columnIndex );
ts.getColumnData( table, wo.filter_functions, columnIndex ) ||
c.$headerIndexed[ columnIndex ].hasClass( 'filter-select' );
vars.defaultColFilter[ columnIndex ] =
ts.getColumnData( table, wo.filter_defaultFilter, columnIndex ) || '';
vars.excludeFilter[ columnIndex ] =

View File

@ -1,4 +1,4 @@
/* Widget: columnSelector (responsive table widget) - updated 1/10/2016 (v2.25.1) *//*
/* Widget: columnSelector (responsive table widget) - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Justin Hallett & Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: editable - updated 12/13/2015 (v2.25.0) *//*
/*! Widget: editable - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: filter - updated 1/21/2016 (v2.25.3) *//*
/*! Widget: filter - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: grouping - updated 11/10/2015 (v2.24.4) *//*
/*! Widget: grouping - updated 2/15/2016 (v2.25.4) *//*
* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,4 +1,4 @@
/*! Widget: Pager - updated 11/22/2015 (v2.24.6) */
/*! Widget: Pager - updated 2/15/2016 (v2.25.4) */
/* Requires tablesorter v2.8+ and jQuery 1.7+
* by Rob Garrison
*/

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.25.3",
"version": "2.25.4",
"description": "tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.",
"author": {
"name": "Christian Bach",

View File

@ -1,7 +1,7 @@
{
"name": "tablesorter",
"title": "tablesorter",
"version": "2.25.3",
"version": "2.25.4",
"description": "tablesorter is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.\n\nThis forked version adds lots of new enhancements including: alphanumeric sorting, pager callback functons, multiple widgets providing column styling, ui theme application, sticky headers, column filters and resizer, as well as extended documentation with a lot more demos.",
"author": {
"name": "Christian Bach",