114 Commits

Author SHA1 Message Date
Mayhem
039464603a Setting local data on Chrome is not throttled, only debounce sync. 2014-07-18 23:19:06 -07:00
Mayhem
79758ec37b Fix setArea never actually retrying after an error. 2014-07-18 23:14:49 -07:00
Mayhem
8643b8e9af Drop data that exceeds QUOTA_BYTES_PER_ITEM. 2014-07-18 23:12:45 -07:00
Mayhem
7f0e719d19 Harden the Chrome storage API lib.
Clear/delete should clear/delete data that's about to get set.
2014-07-18 23:06:34 -07:00
ccd0
c606cc05a0 temp reformatting 2014-07-18 23:06:30 -07:00
ccd0
8d4ea7d8f9 remove $.desync 2014-07-18 23:01:36 -07:00
Mayhem
d5fb02e98e Slightly safer Chrome storage setting.
try/catch is probably useless.
2014-07-18 22:43:39 -07:00
ccd0
7d14a5395f hide spoilers in desktop notifications 2014-07-04 14:45:15 -07:00
ccd0
353d46dad9 fix Reveal Spoiler Thumbnails on archived posts 2014-07-01 00:43:29 -07:00
ccd0
eaa7e87d00 make URL normalization optional 2014-06-29 16:01:21 -07:00
ccd0
20006af4fe prettify tweaks 2014-06-27 21:45:26 -07:00
ccd0
a914a29380 BuildTest: close menu, ignore whitespace diffs, better first diff finding 2014-06-27 19:58:09 -07:00
ccd0
deedfba851 add build switch for test code 2014-06-27 16:56:23 -07:00
ccd0
335ef45af3 Merge branch 'email-fix-reverted' into tests 2014-06-27 14:29:05 -07:00
ccd0
63d7372ad2 a few more tweaks from Mayhem 2014-06-18 23:59:17 -07:00
ccd0
718dc126db structured-clone detail of event 2014-06-18 03:37:11 -07:00
ccd0
e810af22ca remove dead feature disconnection code 2014-06-17 22:54:51 -07:00
ccd0
3d28405268 remove unused $.extend 2014-06-17 18:52:06 -07:00
ccd0
f25155ea8d more work on testing procedure 2014-06-17 01:24:35 -07:00
ccd0
7a73160710 improve testing 2014-06-16 23:34:30 -07:00
ccd0
65048751ad add test of HTML building 2014-06-16 19:29:10 -07:00
ccd0
79e9d06047 Fix errors due to <font> tag in file info on /s4s/ 2014-06-16 11:20:10 -07:00
ccd0
c9e62f3889 this should never be used 2014-06-15 12:21:35 -07:00
ccd0
6fb58200b1 fix sorting and linked list bugs 2014-06-14 20:16:45 -07:00
ccd0
27558ba6d6 use $.asap instead of specializing $.ready 2014-05-18 20:43:44 -07:00
ccd0
8fb98b785a better solution to the loading problem 2014-05-18 09:27:01 -07:00
ccd0
a8dd2ea56a this check is not needed and breaks QR thumbnails on Tampermonkey 2014-05-17 21:18:02 -07:00
ccd0
50be3ab0bc This doesn't actually fix anything 2014-05-17 20:54:52 -07:00
ccd0
cb828fa9c4 quote all the attributes 2014-05-15 17:32:38 -07:00
ccd0
de5f4e0a85 no need to rush 2014-05-13 03:09:31 -07:00
Zixaphir
52303cfdc6 Fix an oopsie
Conflicts:
	builds/4chan-X.user.js
	builds/crx/script.js
	src/General/lib/simpledict.class
2014-05-10 16:18:32 -07:00
ccd0
57f780ebfb apply Mayhem's quoting fix 2014-05-03 08:23:02 -07:00
ccd0
bf45917000 Merge branch 'newnames'
Conflicts:
	src/General/lib/post.class
2014-04-19 16:57:17 -07:00
ccd0
ac3b09e385 small improvements to file info parsing 2014-04-19 11:24:09 -07:00
ccd0
a54957689a better filename parsing; should fix conflict with Exlinks 2014-04-19 10:41:22 -07:00
ccd0
7aeb46abb9 transition to new HTML 2014-04-19 00:28:19 -07:00
ccd0
6c3a0619f6 remove src, thumb from image links 2014-04-12 21:57:40 -07:00
ccd0
c0ea6f8e95 update quote link regexp to accept /thread/ 2014-04-12 21:28:31 -07:00
ccd0
1ef501fc91 set up clones of videos properly 2014-04-07 17:38:00 -07:00
ccd0
deeba623a0 contract thumbnails in hover preview
... and don't clone the video element
2014-04-07 15:48:56 -07:00
ccd0
03c25ee34a add video expansion 2014-04-04 11:56:10 -07:00
Zixaphir
2ac2286ad5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	src/General/lib/$.coffee
	src/Images/Sauce.coffee
2014-01-28 01:11:06 -07:00
Zixaphir
51ba83538a Better $.rmAll
I verified an issue with the previous benchmark and even wrote a
more efficient method based off el.cloneNode(false);, which I would
use if cloneNode could inherit eventListeners

Speaking of events. there is still no interface for gather all
eventListeners on a given element (or its children). Apparently the
issue is that the w3c doesn't think there is a legitimate use case
for it. Heh.
2014-01-24 16:10:04 -07:00
Zixaphir
b6749b91a5 Merge branch 'mayhem' into v3
Conflicts:
	CHANGELOG.md
	CONTRIBUTING.md
	css/style.css
	html/General/Settings-section-Main.html
	json/archives.json
	package.json
	src/Archive/Redirect.coffee
	src/General/Header.coffee
	src/General/Main.coffee
	src/General/Settings.coffee
	src/General/lib/$.coffee
	src/General/lib/thread.class
	src/Linkification/Linkify.coffee
	src/Miscellaneous/AnnouncementHiding.coffee
	src/Monitoring/ThreadStats.coffee
2014-01-22 12:10:34 -07:00
Zixaphir
8ddf2b4e5f Start working on tightening our control of the Navigation context
Currently breaks posting.

TODO:
* Fix style switching from NSFW to SFW (SFW to NSFW works)
  - It is worth noting this used to work.
* Fix post form not updating its currently selected thread.
* Fix navigation between threads in different boards (same boards
  works? Maybe?)
* Handle race conditions due to pop states.
  - I'm having a lot of trouble wrapping my mind around this one.
    Mostly due to the fact that I have no idea where to begin with
    it. But this isn't a big issue unless you pop state multiple
    times within seconds.

    I just need some exceptions when we try to disconnect features
    that haven't even finished connecting due to threads not being
    available yet.

Most of the early issues, like double-backlinks, incorrect
thumbnails, etc, have been fixed, I think. Or at least I'm no
longer running into them all the time.
2014-01-18 02:34:18 -07:00
Zixaphir
7eb2d0aa34 Mostly fix everything broken. Mostly. 2014-01-16 16:44:18 -07:00
Zixaphir
6095a97921 More of a proof of concept than anything. May revert? 2014-01-16 11:07:19 -07:00
Zixaphir
30f4d0922b Don't change titles until we've successfully navigated. 2014-01-15 17:09:25 -07:00
Zixaphir
9e6e9686e6 We don't need an entire method for a set of code we only use once 2014-01-15 15:25:57 -07:00
Zixaphir
dc5daeba06 I really don't like iterating through objects. 2014-01-14 20:17:44 -07:00