Release 4chan X v1.10.2.5.

This commit is contained in:
ccd0 2015-02-26 22:20:43 -08:00
parent 56918627a2
commit 6a286e8356
13 changed files with 53 additions and 44 deletions

View File

@ -4,6 +4,9 @@ The links to individual versions below are to copies of the script with the upda
### v1.10.2
**v1.10.2.5** *(2015-02-26)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.2.5/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.2.5/builds/4chan-X-noupdate.crx "Chromium version")]
- Merge v1.10.1.16: Fix thread watcher data corruption issue.
**v1.10.2.4** *(2015-02-23)* - [[Firefox](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.2.4/builds/4chan-X-noupdate.user.js "Firefox version")] [[Chromium](https://raw.githubusercontent.com/ccd0/4chan-x/1.10.2.4/builds/4chan-X-noupdate.crx "Chromium version")]
- Header CSS fixes.

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X beta
// @version 1.10.2.4
// @version 1.10.2.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X beta
// @version 1.10.2.4
// @version 1.10.2.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -26,7 +26,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.10.2.4
* 4chan X
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -393,7 +393,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.2.4',
VERSION: '1.10.2.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -1671,8 +1671,8 @@
var ID, board, boardID, defaultValue, k, len1, postID, thread, threadID, val;
boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, defaultValue = arg.defaultValue;
if (board = this.data.boards[boardID]) {
if (!threadID) {
if (postID) {
if (threadID == null) {
if (postID != null) {
for (thread = k = 0, len1 = board.length; k < len1; thread = ++k) {
ID = board[thread];
if (postID in thread) {
@ -1684,7 +1684,7 @@
val = board;
}
} else if (thread = board[threadID]) {
val = postID ? thread[postID] : thread;
val = postID != null ? thread[postID] : thread;
}
}
return val || defaultValue;
@ -12610,8 +12610,8 @@
ref = db.data.boards[boardID];
for (threadID in ref) {
data = ref[threadID];
if (!data.isDead && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune']) {
if (!(data != null ? data.isDead : void 0) && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
ThreadWatcher.db["delete"]({
boardID: boardID,
threadID: threadID
@ -12793,11 +12793,13 @@
}
for (threadID in threads) {
data = threads[threadID];
all.push({
boardID: boardID,
threadID: threadID,
data: data
});
if (data && typeof data === 'object') {
all.push({
boardID: boardID,
threadID: threadID,
data: data
});
}
}
}
return all;

Binary file not shown.

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.2.4
// @version 1.10.2.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -25,7 +25,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.10.2.4
* 4chan X
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -392,7 +392,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.2.4',
VERSION: '1.10.2.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -1670,8 +1670,8 @@
var ID, board, boardID, defaultValue, k, len1, postID, thread, threadID, val;
boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, defaultValue = arg.defaultValue;
if (board = this.data.boards[boardID]) {
if (!threadID) {
if (postID) {
if (threadID == null) {
if (postID != null) {
for (thread = k = 0, len1 = board.length; k < len1; thread = ++k) {
ID = board[thread];
if (postID in thread) {
@ -1683,7 +1683,7 @@
val = board;
}
} else if (thread = board[threadID]) {
val = postID ? thread[postID] : thread;
val = postID != null ? thread[postID] : thread;
}
}
return val || defaultValue;
@ -12609,8 +12609,8 @@
ref = db.data.boards[boardID];
for (threadID in ref) {
data = ref[threadID];
if (!data.isDead && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune']) {
if (!(data != null ? data.isDead : void 0) && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
ThreadWatcher.db["delete"]({
boardID: boardID,
threadID: threadID
@ -12792,11 +12792,13 @@
}
for (threadID in threads) {
data = threads[threadID];
all.push({
boardID: boardID,
threadID: threadID,
data: data
});
if (data && typeof data === 'object') {
all.push({
boardID: boardID,
threadID: threadID,
data: data
});
}
}
}
return all;

Binary file not shown.

View File

@ -1,6 +1,6 @@
// ==UserScript==
// @name 4chan X
// @version 1.10.2.4
// @version 1.10.2.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X

View File

@ -1,7 +1,7 @@
// Generated by CoffeeScript
// ==UserScript==
// @name 4chan X
// @version 1.10.2.4
// @version 1.10.2.5
// @minGMVer 1.14
// @minFFVer 26
// @namespace 4chan-X
@ -26,7 +26,7 @@
// ==/UserScript==
/*
* 4chan X - Version 1.10.2.4
* 4chan X
*
* Licensed under the MIT license.
* https://github.com/ccd0/4chan-x/blob/master/LICENSE
@ -393,7 +393,7 @@
doc = d.documentElement;
g = {
VERSION: '1.10.2.4',
VERSION: '1.10.2.5',
NAMESPACE: '4chan X.',
NAME: '4chan X',
FAQ: 'https://github.com/ccd0/4chan-x/wiki/Frequently-Asked-Questions',
@ -1671,8 +1671,8 @@
var ID, board, boardID, defaultValue, k, len1, postID, thread, threadID, val;
boardID = arg.boardID, threadID = arg.threadID, postID = arg.postID, defaultValue = arg.defaultValue;
if (board = this.data.boards[boardID]) {
if (!threadID) {
if (postID) {
if (threadID == null) {
if (postID != null) {
for (thread = k = 0, len1 = board.length; k < len1; thread = ++k) {
ID = board[thread];
if (postID in thread) {
@ -1684,7 +1684,7 @@
val = board;
}
} else if (thread = board[threadID]) {
val = postID ? thread[postID] : thread;
val = postID != null ? thread[postID] : thread;
}
}
return val || defaultValue;
@ -12610,8 +12610,8 @@
ref = db.data.boards[boardID];
for (threadID in ref) {
data = ref[threadID];
if (!data.isDead && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune']) {
if (!(data != null ? data.isDead : void 0) && !(threadID in g.BOARD.threads)) {
if (Conf['Auto Prune'] || !(data && typeof data === 'object')) {
ThreadWatcher.db["delete"]({
boardID: boardID,
threadID: threadID
@ -12793,11 +12793,13 @@
}
for (threadID in threads) {
data = threads[threadID];
all.push({
boardID: boardID,
threadID: threadID,
data: data
});
if (data && typeof data === 'object') {
all.push({
boardID: boardID,
threadID: threadID,
data: data
});
}
}
}
return all;

Binary file not shown.

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.2.4' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X-beta.crx' version='1.10.2.5' />
</app>
</gupdate>

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='UTF-8'?>
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.2.4' />
<updatecheck codebase='https://ccd0.github.io/4chan-x/builds/4chan-X.crx' version='1.10.2.5' />
</app>
</gupdate>

View File

@ -3,7 +3,7 @@
"description": "Cross-browser userscript for maximum lurking on 4chan.",
"meta": {
"name": "4chan X",
"version": "1.10.2.4",
"version": "1.10.2.5",
"repo": "https://github.com/ccd0/4chan-x/",
"page": "https://github.com/ccd0/4chan-x",
"downloads": "https://ccd0.github.io/4chan-x/builds/",