diff --git a/CHANGELOG.md b/CHANGELOG.md index 79814a80a..78ba140c6 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +### v1.9.2.2 +*2014-09-07* + +**ccd0** +- Fix bug causing missing pages from index search (as in v1.9.1.9). +- Also fix bug from v1.9.2.0 causing threads to be missing from infinite scroll. + ### v1.9.2.1 *2014-09-07* diff --git a/LICENSE b/LICENSE index d2d7a1651..66717bd06 100755 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,5 @@ /* -* 4chan X - Version 1.9.2.1 +* 4chan X - Version 1.9.2.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE diff --git a/builds/4chan-X-beta.crx b/builds/4chan-X-beta.crx index 02499e997..dd71316ae 100644 Binary files a/builds/4chan-X-beta.crx and b/builds/4chan-X-beta.crx differ diff --git a/builds/4chan-X-beta.meta.js b/builds/4chan-X-beta.meta.js index 95d0a9c1b..b8da61ed6 100644 --- a/builds/4chan-X-beta.meta.js +++ b/builds/4chan-X-beta.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.9.2.1 +// @version 1.9.2.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X-beta.user.js b/builds/4chan-X-beta.user.js index ebdac6c84..c2e41c801 100644 --- a/builds/4chan-X-beta.user.js +++ b/builds/4chan-X-beta.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.9.2.1 +// @version 1.9.2.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.2.1 +* 4chan X - Version 1.9.2.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -376,7 +376,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.2.1', + VERSION: '1.9.2.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -2504,7 +2504,6 @@ return Index.endNotice(); } nodes = Index.buildSinglePage(pageNum); - nodes.shift(); if (Conf['Show Replies']) { Index.buildReplies(nodes); } @@ -2598,7 +2597,7 @@ }, getPagesNum: function() { if (Index.isSearching) { - return Math.ceil((Index.sortedNodes.length / 2) / Index.threadsNumPerPage); + return Math.ceil(Index.sortedNodes.length / Index.threadsNumPerPage); } else { return Index.pagesNum; } @@ -12889,7 +12888,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X-noupdate.crx b/builds/4chan-X-noupdate.crx index 88f9feb5f..7b565f02d 100644 Binary files a/builds/4chan-X-noupdate.crx and b/builds/4chan-X-noupdate.crx differ diff --git a/builds/4chan-X-noupdate.user.js b/builds/4chan-X-noupdate.user.js index 6756d4ec8..365227047 100644 --- a/builds/4chan-X-noupdate.user.js +++ b/builds/4chan-X-noupdate.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.9.2.1 +// @version 1.9.2.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -23,7 +23,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.2.1 +* 4chan X - Version 1.9.2.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -375,7 +375,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.2.1', + VERSION: '1.9.2.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -2503,7 +2503,6 @@ return Index.endNotice(); } nodes = Index.buildSinglePage(pageNum); - nodes.shift(); if (Conf['Show Replies']) { Index.buildReplies(nodes); } @@ -2597,7 +2596,7 @@ }, getPagesNum: function() { if (Index.isSearching) { - return Math.ceil((Index.sortedNodes.length / 2) / Index.threadsNumPerPage); + return Math.ceil(Index.sortedNodes.length / Index.threadsNumPerPage); } else { return Index.pagesNum; } @@ -12888,7 +12887,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X.crx b/builds/4chan-X.crx index f8f32afc6..4f5e91c1a 100644 Binary files a/builds/4chan-X.crx and b/builds/4chan-X.crx differ diff --git a/builds/4chan-X.meta.js b/builds/4chan-X.meta.js index 134099ea3..ed0fbbd3c 100644 --- a/builds/4chan-X.meta.js +++ b/builds/4chan-X.meta.js @@ -1,6 +1,6 @@ // ==UserScript== // @name 4chan X -// @version 1.9.2.1 +// @version 1.9.2.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X diff --git a/builds/4chan-X.user.js b/builds/4chan-X.user.js index 18e19cf9b..3ac2f2c0c 100644 --- a/builds/4chan-X.user.js +++ b/builds/4chan-X.user.js @@ -1,7 +1,7 @@ // Generated by CoffeeScript // ==UserScript== // @name 4chan X -// @version 1.9.2.1 +// @version 1.9.2.2 // @minGMVer 1.14 // @minFFVer 26 // @namespace 4chan-X @@ -24,7 +24,7 @@ // ==/UserScript== /* -* 4chan X - Version 1.9.2.1 +* 4chan X - Version 1.9.2.2 * * Licensed under the MIT license. * https://github.com/ccd0/4chan-x/blob/master/LICENSE @@ -376,7 +376,7 @@ doc = d.documentElement; g = { - VERSION: '1.9.2.1', + VERSION: '1.9.2.2', NAMESPACE: '4chan X.', NAME: '4chan X', FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions', @@ -2504,7 +2504,6 @@ return Index.endNotice(); } nodes = Index.buildSinglePage(pageNum); - nodes.shift(); if (Conf['Show Replies']) { Index.buildReplies(nodes); } @@ -2598,7 +2597,7 @@ }, getPagesNum: function() { if (Index.isSearching) { - return Math.ceil((Index.sortedNodes.length / 2) / Index.threadsNumPerPage); + return Math.ceil(Index.sortedNodes.length / Index.threadsNumPerPage); } else { return Index.pagesNum; } @@ -12889,7 +12888,7 @@ className: 'dialog' }); $.extend(dialog, { - innerHTML: "
" + innerHTML: "
" }); $.on($('.export', Settings.dialog), 'click', Settings["export"]); $.on($('.import', Settings.dialog), 'click', Settings["import"]); diff --git a/builds/4chan-X.zip b/builds/4chan-X.zip index 3fc9ca3b4..51a05ba53 100644 Binary files a/builds/4chan-X.zip and b/builds/4chan-X.zip differ diff --git a/builds/updates-beta.xml b/builds/updates-beta.xml index 27eb1d6e6..af07822db 100644 --- a/builds/updates-beta.xml +++ b/builds/updates-beta.xml @@ -1,7 +1,7 @@ - + diff --git a/builds/updates.xml b/builds/updates.xml index 61a4d0206..5ff33d832 100644 --- a/builds/updates.xml +++ b/builds/updates.xml @@ -1,7 +1,7 @@ - + diff --git a/package.json b/package.json index a4a2bc854..8137222c0 100755 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "description": "Cross-browser userscript for maximum lurking on 4chan.", "meta": { "name": "4chan X", - "version": "1.9.2.1", + "version": "1.9.2.2", "repo": "https://github.com/ccd0/4chan-x/", "page": "https://github.com/ccd0/4chan-x", "downloads": "https://ccd0.github.io/4chan-x/builds/",