Commit graph

4696 commits

Author SHA1 Message Date
aurimasv
e3ce3bf0c4 Include \s in superCleanString, so we match non-breaking space and other space characters outside of 7 bit ASCII 2012-03-07 21:27:51 -06:00
Dan Stillman
759c7bd58b Fix metadata retrieval for files with extended characters in filenames 2012-03-07 11:34:31 -05:00
Simon Kornblith
d256caf94e Make cross-site getTranslatorObject() work 2012-03-05 23:47:42 -05:00
Simon Kornblith
2facd4fcbd Fix cross-site document saving 2012-03-05 23:47:27 -05:00
Simon Kornblith
36cfad3933 Fix NS_ERROR_ILLEGAL_VALUE when passing a wrapped DOM document to a translator 2012-03-05 23:14:55 -05:00
Simon Kornblith
42cd7752af Fix irregular syntax to please IE indexOf regexp 2012-03-04 20:36:50 -05:00
Dan Stillman
86dda4e018 Ignore a file sync error on Windows with long ad junk files
For some reason on some Windows (XP, 7) systems a long path close to 255
characters long can pass destFile.create() and fail zipReader.extract().
This seems like a Mozilla bug, but until we find a better fix just
ignore the error for the only files where we've seen it, which are
advertising script artifacts with very long uninterrupted filenames
(which we should skip when saving anyway).

Also close zipReader after an extraction error
2012-03-03 06:01:39 -05:00
Simon Kornblith
f0013ef37d Fix Chrome translator testing 2012-03-01 23:26:48 -05:00
Simon Kornblith
d514f02c34 Normalize fields when creating and running translator tests 2012-03-01 20:54:05 -05:00
Simon Kornblith
fc3b2c3538 Work around Chrome's buggy localeCompare function 2012-03-01 14:19:54 -05:00
Dan Stillman
61c0f974c0 Add big-endian date countries and use different format based on order
m/d/yy, yyyy-mm-dd, and d.m.yy, based on what seem to be the most common
variants for each order.
2012-02-29 05:14:03 -05:00
Dan Stillman
d453a15066 Fix middle-pane Date Added/Modified order for non-US Mac/Linux 2012-02-29 03:31:24 -05:00
Simon Kornblith
d35c2d9a4f Be more careful about pageshow only fire with doc.readyState === "loading" 2012-02-29 02:56:55 -05:00
Dan Stillman
635cc8bd15 Linkify short links too in reports 2012-02-28 20:49:07 -05:00
Simon Kornblith
e1594ce3d6 Don't fire callback to processDocuments() if document.readyState is still "loading"
This fixes the AMS bug, but it may break other things. We'll see when the unit tests run tonight.
2012-02-28 16:30:00 -05:00
Dan Stillman
fbef301fe0 Add citation/footnote instructions to Quick Copy prefs 2012-02-28 15:28:14 -05:00
Simon Kornblith
98868146ec Fix code to get collation 2012-02-28 14:56:41 -05:00
Simon Kornblith
c245cbc867 Sort translators properly 2012-02-28 14:56:20 -05:00
Frank
8163499486 Upgrade citeproc-js to version 1.0.295 2012-02-29 00:39:21 +08:00
Frank
568bd6f426 Upgrade citeproc-js to version 1.0.293 2012-02-29 00:39:21 +08:00
Frank
2de4ab7e8e Upgrade citeproc-js to version 1.0.292 2012-02-29 00:39:21 +08:00
Frank
e35e059c03 Upgrading citeproc-js to version 1.0.291 2012-02-29 00:39:20 +08:00
Frank
17094cfb30 Upgrade citeproc-js to version 1.0.290 2012-02-29 00:39:20 +08:00
Frank
96bf57c216 Upgrade citeproc-js to version 1.0.289 2012-02-29 00:39:20 +08:00
Frank
01f3223cd3 Upgrade citeproc-js to version 1.0.288 2012-02-29 00:39:20 +08:00
Simon Kornblith
d367382f39 Fix debug output logging in the connector 2012-02-28 11:21:12 -05:00
Simon Kornblith
a19786116d Don't error if we can't delete the timer 2012-02-28 10:49:49 -05:00
Simon Kornblith
deea80c495 Cancel timer at end of test 2012-02-28 10:49:11 -05:00
Simon Kornblith
417e00a4f6 Delete hidden browser if timed out 2012-02-28 10:39:37 -05:00
Dan Stillman
cb19ac18f7 Fix rare creator constraint error during syncing after CR 2012-02-28 06:21:29 -05:00
Dan Stillman
06d29fc4da Try a shorter path length limit for long filenames in file sync
Might fix some errors on non-English Windows systems
2012-02-28 02:08:55 -05:00
Simon Kornblith
2725e43b13 Don't try to get key for null 2012-02-27 20:30:09 -05:00
Simon Kornblith
6e929bbaa0 get code for unsupported translators in connector 2012-02-27 19:41:39 -05:00
Simon Kornblith
3aaebb5802 Bring translator tester up to date with translator tester on the website, and add convenience methods to perform translator tests without loading testTranslators.html. 2012-02-27 18:51:05 -05:00
Dan Stillman
d61fdeda4c Wait 5 seconds after launch for translator updates (bundled and repo)
This isn't ideal, since it could cause an unexplained delay a few
seconds after launch on slow systems, but it's better than delaying
startup. We'll make this non-blocking post-3.0.
2012-02-27 16:34:24 -05:00
Dan Stillman
315d9ecbcb Don't allow child items to be dragged within their own parents
This caused child notes and PDFs to be moved out of their parents with
the slightest drag.
2012-02-25 18:28:33 -05:00
Dan Stillman
ae7f2d8e86 Tweak the file access denied error message
The "Read-Only" box seems to always show as a half-filled square
for a folder, as it apparently doesn't check all subfolders and files.
2012-02-25 17:17:04 -05:00
Dan Stillman
edd2f99ec9 Correct schema errors without pointing users to DB repair tool
We can't do anything about actual database corruption, but we can fix
all the other things that the repair tool fixes.
2012-02-24 12:05:06 -05:00
Dan Stillman
d359b68062 Better recover from delete error when non-attachment is in FT tables 2012-02-24 12:03:18 -05:00
Simon Kornblith
78bfbf3e4f Use non-blocking pipe read on FreeBSD 2012-02-23 15:34:10 -05:00
Simon Kornblith
3c33768116 Allow tests to be deferred by adding "defer": true to test JSON. 2012-02-23 00:18:29 -05:00
Simon Kornblith
e116f7a174 Fix dumb typo 2012-02-23 00:07:41 -05:00
Dan Stillman
3fb81ab1b9 Fix another couple "restart undefined" errors 2012-02-22 22:30:53 -05:00
Dan Stillman
438e122cc8 More file sync debugging 2012-02-22 20:13:20 -05:00
Dan Stillman
d13af7ca3e Don't show site-specific Quick Copy in Standalone 2012-02-22 04:40:34 -05:00
Simon Kornblith
71c63c6a74 Attempt to escape wrapper hell by serializing and unserializing the item 2012-02-21 22:18:43 -05:00
Simon Kornblith
e45c48a66f Fix "Function complete defined in y, not in x, or definitions differ" 2012-02-21 18:15:43 -05:00
Dan Stillman
4cf4e13a7b Add more helpful error message for file import error 2012-02-21 18:10:30 -05:00
Dan Stillman
39fc50913c Fix debug output of objects, which I broke in da09a8df 2012-02-21 18:10:30 -05:00
Simon Kornblith
226ec917a6 CSS changes 2012-02-21 17:45:00 -05:00