version bump & cleanup

This commit is contained in:
Mottie 2013-12-02 13:26:31 -06:00
parent 66ec824691
commit d81d64f418
11 changed files with 60 additions and 33 deletions

View File

@ -44,6 +44,35 @@ tablesorter can successfully parse and sort many types of data including linked
View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change). View the [complete listing here](https://github.com/Mottie/tablesorter/wiki/Change).
#### <a name="v2.14.3">Version 2.14.3</a> (12/2/2013)
* Core
* Refreshing widgets now only applies to previously installed widgets. Fixes [issue #442](https://github.com/Mottie/tablesorter/issues/442).
* Pager
* Ajax arrays now accept html instead of cell contents, e.g. `<td class="red">- 10</td>`. Thanks [@christhomas](https://github.com/christhomas); fixes [issue #434](https://github.com/Mottie/tablesorter/pull/434).
* Add ajax counter to only allow the most recent request to process. Thanks [@christhomas](https://github.com/christhomas); fixes [issue #443](https://github.com/Mottie/tablesorter/pull/443).
* When filtering rows, the output will now show zeros for row &amp; page counts instead of empty strings.
* No more `fixedHeight` pager errors. Thanks [@hempel](https://github.com/hempel); fixes [issue #448](https://github.com/Mottie/tablesorter/issues/448).
* Filter widget
* Exact filter matches now properly override other queries. Fixes [issue #441](https://github.com/Mottie/tablesorter/issues/441).
* Reverse range `20 - 10` work properly, again. See [issue #441](https://github.com/Mottie/tablesorter/issues/441).
* Updated docs to show the filter precendence. See [footnote (2) under Notes](http://mottie.github.io/tablesorter/docs/example-widget-filter.html).
* Sticky Headers widget
* Now uses the filter widget `bindSearch` function allowing live search, delayed searching and escape to cancel on sticky header filters.
* Thanks to [@haraldkrischner](https://github.com/haraldkrischner) for his help!
* Fixes issues [#439](https://github.com/Mottie/tablesorter/issues/439) &amp; [#440](https://github.com/Mottie/tablesorter/pull/440).
* CSS Sticky Headers widget (beta)
* Now works properly in IE9+.
* Thanks [@gakreol](https://github.com/gakreol)
* Fixes [issue #447](https://github.com/Mottie/tablesorter/issues/447).
* Added Semantic version sorting demo
* See the [demo here](http://mottie.github.io/tablesorter/docs/example-option-textsorter-semver.html).
* This demo does not use a custom parser nor widget, it requires a modified [`semver.js` for node](https://github.com/isaacs/node-semver) file to sort the column using the `textSorter` option.
* The modified `semver-mod.js` file is contained within the new "extras" folder (tablesorter/js/extras) along with the original unmodified `semver.js` file.
* Extra code is also included to highlight invalid semantic versions within the table.
* Fixes [issue #395](https://github.com/Mottie/tablesorter/issues/395).
* Sorry I didn't get around to finding solutions for some of the other issues that I promised to have done this patch :(
#### <a name="v2.14.2">Version 2.14.2</a> (11/25/2013) #### <a name="v2.14.2">Version 2.14.2</a> (11/25/2013)
* Removed Bootstrap filter cell background color. Fixes [issue #425](https://github.com/Mottie/tablesorter/issues/425). * Removed Bootstrap filter cell background color. Fixes [issue #425](https://github.com/Mottie/tablesorter/issues/425).

View File

@ -1,6 +1,6 @@
/*! /*!
* tablesorter pager plugin * tablesorter pager plugin
* updated 11/22/2013 (v2.14.1) * updated 12/2/2013 (v2.14.3)
*/ */
/*jshint browser:true, jquery:true, unused:false */ /*jshint browser:true, jquery:true, unused:false */
;(function($) { ;(function($) {
@ -284,7 +284,7 @@
tds += '<tr>'; tds += '<tr>';
for ( j = 0; j < d[i].length; j++ ) { for ( j = 0; j < d[i].length; j++ ) {
// build tbody cells; watch for data containing HTML markup - see #434 // build tbody cells; watch for data containing HTML markup - see #434
tds += /^\s*\<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>'; tds += /^\s*<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>';
} }
tds += '</tr>'; tds += '</tr>';
} }

File diff suppressed because one or more lines are too long

View File

@ -1,6 +1,6 @@
{ {
"name": "tablesorter", "name": "tablesorter",
"version": "2.14.2", "version": "2.14.3",
"dependencies": { "dependencies": {
"jquery": ">=1.2.6" "jquery": ">=1.2.6"
} }

View File

@ -1,5 +1,5 @@
/**! /**!
* TableSorter 2.14.2 - Client-side table sorting with ease! * TableSorter 2.14.3 - Client-side table sorting with ease!
* @requires jQuery v1.2.6+ * @requires jQuery v1.2.6+
* *
* Copyright (c) 2007 Christian Bach * Copyright (c) 2007 Christian Bach
@ -24,7 +24,7 @@
var ts = this; var ts = this;
ts.version = "2.14.2"; ts.version = "2.14.3";
ts.parsers = []; ts.parsers = [];
ts.widgets = []; ts.widgets = [];

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/*! tableSorter 2.8+ widgets - updated 11/24/2013 (v2.14.2) /*! tableSorter 2.8+ widgets - updated 12/2/2013 (v2.14.3)
* *
* Column Styles * Column Styles
* Column Filters * Column Filters
@ -605,7 +605,7 @@ ts.filter = {
}); });
if (wo.filter_hideFilters) { if (wo.filter_hideFilters) {
ts.filter.hideFilters(table, c, wo); ts.filter.hideFilters(table, c);
} }
// show processing icon // show processing icon
@ -767,7 +767,7 @@ ts.filter = {
return false; return false;
} }
}, },
hideFilters: function(table, c, wo) { hideFilters: function(table, c) {
var $filterRow, $filterRow2, timer; var $filterRow, $filterRow2, timer;
c.$table c.$table
.find('.tablesorter-filter-row') .find('.tablesorter-filter-row')
@ -1085,7 +1085,6 @@ ts.addWidget({
$stickyCells, $stickyCells,
laststate = '', laststate = '',
spacing = 0, spacing = 0,
updatingStickyFilters = false,
nonwkie = $table.css('border-collapse') !== 'collapse' && !/(webkit|msie)/i.test(navigator.userAgent), nonwkie = $table.css('border-collapse') !== 'collapse' && !/(webkit|msie)/i.test(navigator.userAgent),
resizeHeader = function() { resizeHeader = function() {
stickyOffset = $stickyOffset.length ? $stickyOffset.height() || 0 : parseInt(wo.stickyHeaders_offset, 10) || 0; stickyOffset = $stickyOffset.length ? $stickyOffset.height() || 0 : parseInt(wo.stickyHeaders_offset, 10) || 0;

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
/* Pager widget (beta) for TableSorter 11/9/2013 (v2.14.1) */ /* Pager widget (beta) for TableSorter 12/2/2013 (v2.14.3) */
/*jshint browser:true, jquery:true, unused:false */ /*jshint browser:true, jquery:true, unused:false */
;(function($){ ;(function($){
"use strict"; "use strict";
@ -470,7 +470,7 @@ tsp = ts.pager = {
tds += '<tr>'; tds += '<tr>';
for ( j = 0; j < d[i].length; j++ ) { for ( j = 0; j < d[i].length; j++ ) {
// build tbody cells; watch for data containing HTML markup - see #434 // build tbody cells; watch for data containing HTML markup - see #434
tds += /^\s*\<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>'; tds += /^\s*<td/.test(d[i][j]) ? $.trim(d[i][j]) : '<td>' + d[i][j] + '</td>';
} }
tds += '</tr>'; tds += '</tr>';
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "tablesorter", "name": "tablesorter",
"title": "tablesorter", "title": "tablesorter",
"version": "2.14.2", "version": "2.14.3",
"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.", "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": { "author": {
"name": "Christian Bach", "name": "Christian Bach",

View File

@ -1,7 +1,7 @@
{ {
"name": "tablesorter", "name": "tablesorter",
"title": "tablesorter", "title": "tablesorter",
"version": "2.14.2", "version": "2.14.3",
"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.", "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": { "author": {
"name": "Christian Bach", "name": "Christian Bach",