Simon Kornblith
5ca5b06ebc
Don't try to double-wrap objects
2012-04-16 00:29:23 -04:00
Simon Kornblith
cab868482c
Merge branch '3.0'
2012-04-14 20:38:53 -04:00
Nicolas Chachereau
ffd12cb02e
Fixed Integration Preferences dialog, which was giant with French locale.
2012-04-14 19:53:12 -04:00
Simon Kornblith
6d56004e35
Merge branch '3.0'
2012-04-11 10:32:40 -04:00
Simon Kornblith
62d08bdbbb
Properly report upload errors and properly splice off HTML attachments
2012-04-10 20:06:53 -04:00
Simon Kornblith
3f165a4dc3
Fix stringToUTF8Array
2012-04-10 20:06:46 -04:00
Simon Kornblith
5ff3ab776f
Properly report upload errors and properly splice off HTML attachments
2012-04-10 20:01:11 -04:00
Simon Kornblith
a926259d31
Fix stringToUTF8Array
2012-04-10 20:00:54 -04:00
Simon Kornblith
1c4eebff0b
Deal with spaces in ISBNs
2012-04-09 16:47:12 -04:00
Simon Kornblith
14ac5a7d2d
Use onreadystatechange instead of onloadend, because the latter is not supported by MobileSafari, and add debug messages
2012-04-09 12:47:02 -04:00
Simon Kornblith
1585ece566
Merge branches '3.0' and 'master'
2012-04-09 11:27:01 -04:00
Simon Kornblith
7598370af4
Update submodules
2012-04-09 11:26:54 -04:00
Simon Kornblith
129805c62b
Minor tweak to avoid calling done too early
2012-04-09 11:21:52 -04:00
Simon Kornblith
53b81a5de9
Fix poor choice of variable names
2012-04-09 02:01:11 -04:00
Simon Kornblith
6d4a435838
Small tweaks for server
2012-04-09 01:59:49 -04:00
Simon Kornblith
d3bc2b4046
Merge pull request #93 from aurimasv/recognizePDF
...
[PDF Metadata Retrieval] Call detectWeb before trying to call doWeb for Google Scholar
2012-04-08 21:51:29 -07:00
aurimasv
17f6d4fd3a
Moving setHandler "translator" next to other setHandler calls.
2012-04-08 23:48:49 -05:00
aurimasv
e412580598
this.translator may contain Zotero.Translate objects or translatorID's
2012-04-08 23:48:10 -05:00
Simon Kornblith
6fa4f8d02b
Server-side translation and attachment upload, part 1
2012-04-09 00:46:50 -04:00
Simon Kornblith
77ea5bf3f9
Provide the option to override keys on an object when creating a wrapper
2012-04-08 22:38:59 -04:00
Simon Kornblith
9074c09cc3
Don't use document.defaultView as a security principal if it is null
2012-04-08 22:38:42 -04:00
Simon Kornblith
a22da78f18
Merge branch '3.0'
2012-04-08 15:25:18 -04:00
Simon Kornblith
12964b550a
Beautify and tidy up copyright message
2012-04-08 15:24:39 -04:00
Simon Kornblith
3a6b95a0f3
Merge commit '18111dd15dea6e6fdbe5d1423d44506aa5121106'
2012-04-08 14:54:43 -04:00
aurimasv
f3bae4b000
Allow running detect with multiple translators set.
2012-04-06 20:31:28 -05:00
Simon Kornblith
7452e14090
Fix a document update error. Explanation is given in the code.
2012-04-06 13:20:23 -04:00
aurimasv
99a2ac7967
Use getTranslators to perform detectWeb with a set translator.
2012-04-06 04:41:25 -05:00
Simon Kornblith
1f3e6a3645
Remove unimplemented and unnecessary callback argument from safeTranslator.getTranslators(). Translators calling getTranslators() can/should use setHandler("translators", ...).
2012-04-05 16:46:34 -04:00
aurimasv
0f684fee6e
Move _detectWeb to Zotero.Translate.Web.prototype
2012-04-05 02:44:33 -05:00
Simon Kornblith
3810759786
Merge pull request #92 from aurimasv/cleanDOI
...
[cleanDOI] Don't allow periods or commas at the end of DOIs
2012-04-05 00:00:34 -07:00
aurimasv
662ab87d7e
Require at least 4 digits for the prefix
2012-04-05 01:57:22 -05:00
aurimasv
cb6ae9cec7
Perform detect web before calling Google Scholar translator
2012-04-04 23:08:36 -05:00
aurimasv
1477893a84
Don't allow periods and commas at the end of DOIs
2012-04-04 23:00:24 -05:00
Frank
a9d32d0701
Upgrade citeproc-js to version 1.0.319
...
We recently introduced hard-wired code to apply hyphen as page
range delimiter in the French and Portuguese locales, with a view
to introducing a page-range-delimiter term in CSL 1.0.1. The new
term has been agreed within CSL, but official deployment must
await the CSL 1.0.1 schema release.
The original code was purely hard-wired. This change allows an
explicit page-range-delimiter term to be set within a style
(or in a locale file), as intended by the upcoming CSL schema.
2012-04-04 12:27:10 -04:00
Dan Stillman
68073b8b32
Properly rename attachments when filenames differ only in case
...
This might have been limited to case-insensitive filesystems.
Also fix renaming when the previous filename didn't include an
extension. Before, a file named "test" would be renamed from parent with
".test" as the extension.
2012-04-04 04:44:04 -04:00
Frank
ca8ac7b817
Upgrade citeproc-js to version 1.0.317
...
Sorry for the flurry of version releases of late. They have been
largely driven by the early work on the legal style suite for MLZ,
which kept turning up small bugs and wrinkles. The requirements for
law support are now pretty well covered, and things should slow down,
at least for awhile.
2012-04-03 21:42:57 +08:00
Simon Kornblith
9862e3aa16
Merge pull request #89 from aurimasv/cleanAuthor
...
Clean author
2012-04-02 18:13:41 -07:00
Simon Kornblith
7c297f73ee
Merge branch '3.0'
2012-04-02 18:55:37 -04:00
Simon Kornblith
8f0296baf3
Fix newlines in preferences file
2012-04-02 18:54:58 -04:00
Simon Kornblith
867760e0be
pushEventQueue removed in Fx 14 ( https://bugzilla.mozilla.org/show_bug.cgi?id=719154 )
2012-04-02 18:09:10 -04:00
Simon Kornblith
c9354535da
Allow use of relative paths for file import in non-RDF translators
2012-04-02 17:57:36 -04:00
Frank
89d3f09682
Upgrade citeproc-js to version 1.0.316
2012-04-02 23:19:37 +08:00
Frank
e8f3fe799d
Upgrade citeproc-js to version 1.0.315
2012-04-02 23:19:36 +08:00
aurimasv
e5e242db99
Fix typo with nbsp. Fix dash handling
2012-04-01 23:38:50 -05:00
aurimasv
83c61374ef
Properly handle Cyrillic initials and make it easier to add other languages later.
...
Handle hyphenated initials properly
Treat nbsp as space
2012-04-01 22:24:19 -05:00
Simon Kornblith
8b20586ccc
ZU.itemToServerJSON() should ignore empty tags
2012-04-01 14:56:51 -04:00
Dan Stillman
ad4ded95bb
Trim ISBNs before lookup
2012-04-01 13:44:49 -04:00
Simon Kornblith
4fcee3afa4
Fix error during ISBN lookup
2012-04-01 12:28:21 -04:00
Simon Kornblith
be89e3ad17
Don't continue translating on failure
2012-03-29 20:35:53 -04:00
Simon Kornblith
754836c428
Test fail if Z.selectItems() is called multiple times
2012-03-29 20:35:27 -04:00