Avram Lyon
ea973c8444
Trans: Add correct ToC support for Wiley
2011-06-29 12:08:54 +00:00
Simon Kornblith
cd783b3f49
Fix error
2011-06-28 18:32:43 +00:00
Simon Kornblith
0d7ffcc1c1
- Add preferences to connector. Debug logging does not yet work
...
- Add rudimentary connector API version checks, although I still need a good way of showing that the connector/server is out of date
- Throw new Error() in translate (so that we get a stack trace)
- Log errors in connector
2011-06-28 18:24:24 +00:00
Simon Kornblith
dda8551a22
Fix additional race condition and make IPC more resilient to hanging on shutdown
2011-06-28 03:59:18 +00:00
Simon Kornblith
1cba396675
Indent translator metadata with tabs instead of spaces
2011-06-28 00:50:50 +00:00
Avram Lyon
ae59249206
Trans: Add additional pattern for Informaworld; add tests. Per http://forums.zotero.org/discussion/12514
2011-06-25 17:51:08 +00:00
Simon Kornblith
0972918018
Add tests to ScienceDirect
2011-06-23 09:46:05 +00:00
Simon Kornblith
1d2052cb1a
Fix mistake in last commit
2011-06-23 09:43:26 +00:00
Simon Kornblith
ca2e1f4de6
Fix decrementing async processes when there is more than one level of translator calls
2011-06-23 09:42:50 +00:00
Simon Kornblith
bebd967264
but don't delete metadata (oops)
2011-06-23 09:32:16 +00:00
Simon Kornblith
f6ed98f255
Also add tests to DOI translator
2011-06-23 09:31:34 +00:00
Simon Kornblith
da9ecd0a98
DOI translator is now Chrome/Safari compatible
2011-06-23 09:30:34 +00:00
Simon Kornblith
7a7bcae2c3
Add option not to delete hidden browser in http.js, and use it in translatorTester.js
2011-06-23 09:29:53 +00:00
Simon Kornblith
c453db744a
- Remove null, undefined, and false properties from items before passing to parent translators or handlers
...
- Fix a bug in Zotero.done()-less operation when a child translator encounters an error
2011-06-23 09:13:21 +00:00
Simon Kornblith
33e1ed9532
Add tests to CrossRef lookup, and make it always try to look up items with a DOI regardless of item type specified
2011-06-23 08:06:23 +00:00
Simon Kornblith
5aa511cf6d
- Closes #1839 , [patch] Pluralization in translatorTester.js (thanks to Avram)
...
- Fixes a bug with XMLHttpRequests for XML files on Chrome/Safari
- Adds support for running tests for search translators and (untested) support for running tests for import translators
- If a test specifies "items":"multiple", the testing framework ensures that multiple items are available, but only tests saving one
- Properties explicitly defined as false are now ignored
2011-06-23 08:03:29 +00:00
Simon Kornblith
fc6121e488
Fix a bug in serialize.js that was breaking Zotero startup in Nightly (blame Tim Berners-Lee)
2011-06-22 17:55:36 +00:00
Simon Kornblith
6c6b9c8be2
Remove unused _dontWrap argument
2011-06-22 08:43:44 +00:00
Simon Kornblith
f71122e788
add hack comments to utilities.js
2011-06-22 07:52:06 +00:00
Simon Kornblith
663bc77b5f
Actually commit XPath utility functions, missed in r9585
2011-06-22 07:46:10 +00:00
Simon Kornblith
fc9fdb3aa6
Set min version to 3.0 on CrossRef
2011-06-22 07:38:29 +00:00
Simon Kornblith
4b08734c9a
- Z and ZU in sandbox are now shortcuts to Zotero and Zotero.Utilities
...
- Closes #1654 , XPath helper functions
- Fix DOMParser in sandbox under Firefox 5 in a really nasty way (presumably broken by http://hg.mozilla.org/mozilla-central/rev/673f93bb84aa )
- Add XPath-based CrossRef translator
- Fix search translation-related issues (broken since r9471 or r9574)
2011-06-22 07:37:48 +00:00
Simon Kornblith
c7e32c7ee6
Fix saving to collection
2011-06-21 19:55:00 +00:00
Dan Stillman
b2dda2ec23
Replace all setTimeout(string, ms) calls with setTimeout(func, ms) for AMO
2011-06-20 20:02:14 +00:00
Simon Kornblith
84246d46c0
Move idl directory to integration/xpcom
2011-06-20 19:51:03 +00:00
Simon Kornblith
94d0bcf229
Closes #1783 , Eliminate Zotero.done()
2011-06-20 18:57:33 +00:00
Simon Kornblith
2d4c81b1ef
Save browserSupport as "g" if none specified
2011-06-20 18:56:19 +00:00
Simon Kornblith
72fe1b77a1
Run 6 concurrent translator tests
2011-06-20 18:55:32 +00:00
Simon Kornblith
7152c71e84
Fix Firefox 3.6 compatibility
2011-06-20 17:23:31 +00:00
Simon Kornblith
dd05b26dcc
Fix typo
2011-06-20 07:06:28 +00:00
Simon Kornblith
581a8df4b9
Show debug output for translators and allow running all translators or only individual translators
2011-06-20 05:43:54 +00:00
Simon Kornblith
983f5023bc
Missing changes from r9554
2011-06-20 04:42:19 +00:00
Simon Kornblith
776724d71e
Use Avram's object comparison code to compare items, rather than relying upon equality of the serialized JSON
2011-06-20 03:38:43 +00:00
Simon Kornblith
0c7c40a50f
Sanitize items by converting document to URL, so that tests will not fail unexpectedly in connector
2011-06-20 01:32:53 +00:00
Simon Kornblith
84498de046
Add items to multiple item test in LiveJournal and add tests to NYTimes.com
2011-06-20 01:31:24 +00:00
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