Commit graph

3807 commits

Author SHA1 Message Date
Simon Kornblith
1fea00245e - Make translator tester run detect code
- Add support for creating tests to translatorTester.js
2011-06-20 01:22:41 +00:00
Simon Kornblith
7986a8242e closes #1834, Map Zotero language field to CSL item variable "language" 2011-06-18 22:50:00 +00:00
Simon Kornblith
5a43eae702 Clear attached document objects when running translator tests 2011-06-18 17:36:35 +00:00
Simon Kornblith
fb5d4b5da9 Use local namespace for translator tester 2011-06-18 17:09:57 +00:00
Simon Kornblith
5947b240dd Test up to 6 translators concurrently 2011-06-18 17:09:15 +00:00
Simon Kornblith
bfa8786fb4 Don't try to send documents via connectors 2011-06-18 15:37:07 +00:00
Simon Kornblith
3a81751d42 Mark LiveJournal as Chrome/Safari compatible 2011-06-18 08:39:42 +00:00
Simon Kornblith
597609703f don't print test to console 2011-06-18 08:15:21 +00:00
Simon Kornblith
8771e4b47f Other part of translator testing framework modifications for Chrome/Safari 2011-06-18 08:01:56 +00:00
Simon Kornblith
dcbea215d9 Batch translator tester for testCases format (not yet Chrome/Safari-compatible) 2011-06-18 01:27:06 +00:00
Simon Kornblith
942fe0f97f Fix apply call in Zotero.Translate 2011-06-18 00:48:13 +00:00
Simon Kornblith
fc078caddf Addresses #1829: [PATCH] wpdDOMSaver fails due to undefined Zotero
Removes calls to Zotero object, since they are unnecessary (the call that was problematic was a workaround for a Fx 4 beta crashing bug).
2011-06-17 21:25:05 +00:00
Simon Kornblith
9b62937361 mark RIS and ScienceDirect as Chrome/Safari compatible 2011-06-17 20:07:51 +00:00
Simon Kornblith
55280e5256 - fix Zotero.loadTranslator() from sandbox
- add (currently only en-US) months to Zotero.Date for connectors (localization is #1830)
2011-06-17 20:05:48 +00:00
Simon Kornblith
48b5bc8bee also fix gatherElementsOnXPath() for Chrome/Safari 2011-06-17 19:37:11 +00:00
Simon Kornblith
59f9c1639d add support for unescapeHTML in Chrome/Safari 2011-06-17 19:35:41 +00:00
Simon Kornblith
6169643b16 add missing "g" parameter to for each regexp 2011-06-17 19:33:39 +00:00
Simon Kornblith
edceb34153 - support retrieveSource(), even though it is inadvisable
- throw appropriate error for retrieveDocument()
- warn about undesirable behaviors even when translators are run under Firefox
2011-06-17 19:26:13 +00:00
Simon Kornblith
5e18d64395 make spacing consistent 2011-06-17 18:55:05 +00:00
Simon Kornblith
519b1802d0 New Yorker translator now works in connector (as do other FW translators, presuambly) 2011-06-17 18:54:44 +00:00
Simon Kornblith
d1fa4399af More tweaks to select items behavior 2011-06-17 18:52:53 +00:00
Simon Kornblith
1695ab4bdf Chrome/Safari-compatible NYTimes.com translator 2011-06-17 18:21:50 +00:00
Simon Kornblith
e35c25e31d Fix lingering bugs in Chrome/Safari translation 2011-06-17 18:20:50 +00:00
Simon Kornblith
e1258f1013 remove unused http directory 2011-06-17 18:02:58 +00:00
Simon Kornblith
250e193645 Tweaks to support translation in connector (detection works now, but processDocuments() is still not implemented and no import/export/search translators are Safari/Chrome-compatible, so I haven't tested anything) 2011-06-17 07:01:12 +00:00
Simon Kornblith
38e25d4756 restore comment and fix an accidental transposition in connector.js 2011-06-17 03:49:48 +00:00
Dan Stillman
c10fe8606c Closes #1563, add ability to add links by URI and edit existing link attachment URIs
Thanks to ajlyon for the patch
2011-06-16 18:17:06 +00:00
Dan Stillman
5d30b8c726 Have the database integrity check look for the schema-related inconsistencies that the DB Repair Tool fixes 2011-06-16 04:57:37 +00:00
Avram Lyon
124eadc9ae Trans: Adding LiveJournal and Daily Beast, framework-derived translators with test cases in the experimental format. 2011-06-15 16:12:27 +00:00
Simon Kornblith
d1a0f923e8 update to citeproc-js 1.0.179 2011-06-15 13:47:28 +00:00
Simon Kornblith
acfd317de9 - Addresses #1828, Ensure any code that uses nsITimer directly maintains a global reference until callback executes
- Adds an optional runWhenWaiting argument to Zotero.setTimeout(), so that code can be set to run even if Zotero.wait() is in progress
2011-06-14 21:26:48 +00:00
Simon Kornblith
5d32e800fc don't try to call callback if it doesn't exist 2011-06-14 21:24:29 +00:00
Simon Kornblith
11e337a189 fix non-triggering setTimeout calls and restore r9383 2011-06-14 19:24:39 +00:00
Avram Lyon
65bd289910 Trans: Fix book section issue with CSA, per http://forums.zotero.org/discussion/18389 2011-06-14 19:12:46 +00:00
Dan Stillman
47dbd613ea Revert r9383 (substantially) to fix unending sync icon spinning 2011-06-14 17:46:46 +00:00
Avram Lyon
3e1335767a Trans: Updating FW to 46:127318f30c1d to make selectItems connector-friendly 2011-06-14 09:36:00 +00:00
Simon Kornblith
856abf366d fix mis-licensed files 2011-06-14 07:51:45 +00:00
Simon Kornblith
8fe64c6d9a Scrape progress indicators for Safari and Chrome 2011-06-14 07:44:51 +00:00
Avram Lyon
6d03286488 Trans: Adding FW to VoxEU.js-- it was somehow missed 2011-06-14 06:24:18 +00:00
Simon Kornblith
8cf7f6e331 don't throw a bunch of errors for no reason 2011-06-14 04:10:22 +00:00
Simon Kornblith
d0017c875a remove debug line 2011-06-14 04:05:11 +00:00
Simon Kornblith
40e0c6fee6 Fix race condition under Firefox 4 2011-06-14 04:02:27 +00:00
Dan Stillman
2b68113fd7 - Fix search bar drop-down on Linux
- Increase padding slightly next to non-menu toolbar buttons
- Tweak alignment of sync icon
2011-06-14 03:24:21 +00:00
Simon Kornblith
8268d1b01c Zotero Everywhere megacommit
- Implement connector for Firefox (should switch in/out of connector mode automatically when Standalone is launched or closed, although this has only been tested extensively on OS X)
- Share core translation code between Zotero and connectors

Still to be done:

- Run translators in non-Fx connectors (this works in theory, but it's not currently enabled for any translators)
- Show translation results in non-Fx connectors
- Ability to translate to server when Zotero Standalone is not running
2011-06-14 00:36:21 +00:00
Avram Lyon
fd5d9496fd Trans: Loosen TAZ target 2011-06-13 22:10:34 +00:00
Avram Lyon
614d65991e Trans: New translator for The Atlantic by Sebastian Karcher 2011-06-13 21:09:10 +00:00
Avram Lyon
c5a0ac6485 Trans: Update CiteULike target regex to catch user pages, kudos to adamsmith (per http://forums.zotero.org/discussion/18361) 2011-06-13 13:46:57 +00:00
Simon Kornblith
289e696e90 allow CSL 1.0 dependent styles to reference CSL 0.8 parents, and vice versa 2011-06-10 21:39:40 +00:00
Avram Lyon
be2ebe767c Trans:‌ Update ACM to allow items with no URL defined (http://forums.zotero.org/discussion/18056) 2011-06-10 13:50:15 +00:00
Avram Lyon
62649255f9 Trans: Remove broken and redundant ISSN logic, per http://forums.zotero.org/discussion/18329) 2011-06-10 13:23:12 +00:00