Commit graph

2765 commits

Author SHA1 Message Date
Simon Kornblith
8a7245fd74 COinS atitle should be title for proceeding, and btitle should be publicationTitle. 2012-03-29 20:12:28 -04:00
Frank
c8a87f123a Upgrade citeproc-js to version 1.0.314 2012-03-29 07:06:02 +08:00
Frank
38c7f5964e Change Zotero statute mapping from CSL bill to CSL legislation
A bill is a law that has not yet been enacted. Legislation is law
that has been enacted. The two are archived and cited differently,
and should be associated with different item types. CSL provides
a legislation type that is well suited to serve for laws that
have been enacted.

Among the existing styles in the repository, only two use
the legislation variable (american-association-of-petroleum-geologists
and irish-historical-studies). Both treat it as equivalent to bill. All
other styles use CSL bill exclusively.

It would be safe at this point to add legislation alongside bill
in all tests where it occurs (481 repository styles, apart from the
two mentioned above).

There is no particular urgency about this patch for official Zotero,
though, since statute support is likely to change considerably when
full legal support comes onstream anyway.
2012-03-29 07:06:01 +08:00
Frank
d1c9a8a148 Upgrade citeproc-js to version 1.0.313 2012-03-29 07:06:01 +08:00
Frank
f3f86406bf Upgrade citeproc-js to version 1.0.312 2012-03-26 15:06:36 +08:00
Frank
39dbdb8483 Upgrade citeproc-js to version 1.0.311 2012-03-26 15:06:36 +08:00
Frank
4aa5bef60a Upgrade citeproc-js to version 1.0.310 2012-03-26 15:06:36 +08:00
Simon Kornblith
752b4d2526 Correct recursive call for varDump 2012-03-25 14:27:04 -04:00
aurimasv
1458315cd5 Don't use deprecated arguments.callee 2012-03-25 14:27:04 -04:00
aurimasv
7b5d7bccf8 Arrays are more appropriate here than strings. 2012-03-25 14:27:04 -04:00
aurimasv
8f0ec95e73 Check for references to parent. Tweaked formatting. 2012-03-25 14:27:04 -04:00
Simon Kornblith
c9f456f2e9 Merge pull request #88 from aurimasv/capTitle
capitalizeTitle - added additional dashes into regex
2012-03-24 17:58:50 -07:00
Frank
b4fc74dc93 Upgrade citeproc-js to version 1.0.309 2012-03-25 07:37:14 +08:00
Frank
c9e6fc3f1b Upgrade citeproc-js to version 1.0.308 2012-03-25 07:37:13 +08:00
Frank
75d3202845 Upgrade citeproc-js to version 1.0.307 2012-03-25 07:37:13 +08:00
Frank
657ea7b660 Upgrade citeproc-js to version 1.0.306 2012-03-25 07:37:13 +08:00
gracile-fr
18111dd15d Make additional fields available as columns with a submenu (fixes #84) 2012-03-24 19:39:14 +01:00
aurimasv
6d723d7e8c This should cover more dashes. E.g. "DEANE-PETER BAKER" at http://onlinelibrary.wiley.com/doi/10.1111/j.1468-5930.2011.00548.x/abstract 2012-03-22 16:44:06 -05:00
Dan Stillman
83073fd72b Merge branch '3.0' 2012-03-21 19:45:48 -04:00
Dan Stillman
f1aa68f82b Simplify the file sync code a bit
Just call Zotero.Sync.Storage.[ZFS/WebDAV] directly

This probably breaks some things.
2012-03-21 19:39:40 -04:00
Simon Kornblith
b3f8330498 Expose Zotero.isBookmarklet, Zotero.isConnector and Zotero.isServer to translators 2012-03-21 19:15:39 -04:00
Frank
4f3394dea6 Upgrade citeproc-js to version 1.0.305 2012-03-22 06:34:03 +08:00
Frank
ec681f0aa3 Upgrade citeproc-js to version 1.0.304 2012-03-22 06:34:03 +08:00
Dan Stillman
b298e7acbd Fix brokenness (from 3.0 merge in 947be813) 2012-03-21 14:22:21 -04:00
Simon Kornblith
d65796dfb0 Use importFromDocument when MIME types are explicitly specified, if the document can be handled internally 2012-03-20 18:09:05 -04:00
Frank
6de53ad37c Upgrade citeproc-js to version 1.0.303 2012-03-20 23:46:58 +08:00
Simon Kornblith
947be813ec Merge branch '3.0' 2012-03-20 02:16:43 -04:00
Dan Stillman
92a7ebee4c Include "+" and "=" in ignored too-long filenames 2012-03-19 21:49:38 -04:00
Simon Kornblith
449e90f36b Session-based auth for bookmarklet, part 1 2012-03-18 17:26:40 -04:00
Simon Kornblith
ed5d1aaee8 Revert "Session-based auth for bookmarklet, part 1"
This reverts commit 62e4fcdef0.
2012-03-18 17:26:01 -04:00
Simon Kornblith
62e4fcdef0 Session-based auth for bookmarklet, part 1 2012-03-18 17:25:23 -04:00
Frank
32ce4e04bc Upgrade citeproc-js to version 1.0.302 2012-03-18 06:37:45 +08:00
Frank
c1a35eb134 Upgrade citeproc-js to version 1.0.301 2012-03-18 06:37:45 +08:00
Dan Stillman
954c2f6de0 Fix for manual new item not going into collection
Broken by 0d34e34a (since 3.0.3)
2012-03-17 03:12:49 -04:00
Simon Kornblith
b1be39f319 Merge pull request #80 from aurimasv/varDump
Prevent infinite loops when dumping arrays/objects with recursion
2012-03-16 10:36:27 -07:00
gracile-fr
0430e7def5 Update chrome/content/zotero/zoteroPane.js 2012-03-13 20:21:07 +01:00
Simon Kornblith
56cba8c709 Don't fail on null importRegexp 2012-03-13 10:13:19 -04:00
Simon Kornblith
cd7d2e9975 Don't allow _itemDone to throw 2012-03-12 23:58:30 -04:00
Dan Stillman
bb0e894c27 Remove extra debug lines when emptying trash 2012-03-12 22:19:04 -04:00
Simon Kornblith
64c8f04644 Deal with item.tags missing a sort method 2012-03-12 21:38:44 -04:00
aurimasv
5be84a5d59 add maxLevels to varDump to avoid infinite loops 2012-03-12 20:33:59 -05:00
Simon Kornblith
ba96aff194 Merge pull request #79 from aurimasv/cleanAuthor
Periods after latin letters only
2012-03-12 18:16:59 -07:00
Simon Kornblith
603e07d21a Translators should always run in browser when called by a parent translator 2012-03-12 17:30:34 -04:00
Dan Stillman
ba8bf4910f Some tweaks to auto/idle-syncing
- Don't run idle sync if manual sync is required or Zotero is locked
- Don't clear sync error icon when opening pane
- Better debug message on pane open for syncing not being enabled
2012-03-12 16:25:35 -04:00
aurimasv
19a6b08b51 Only put periods after capital latin letters 2012-03-12 06:01:50 -05:00
Frank
25862e3af0 Update citeproc-js to version 1.0.298 (note that previous 1.0.295 tag update is mis-applied and anachronistic) 2012-03-12 13:25:30 +08:00
Frank
74af1fbb8c Upgrade citeproc-js to version 1.0.297 2012-03-12 13:25:29 +08:00
Frank
8b157709bd Upgrade citeproc-js to version 1.0.296 2012-03-12 13:25:29 +08:00
Simon Kornblith
90b515732b Try alternative strategy for activating windows 2012-03-11 23:01:43 -04:00
Simon Kornblith
ea7094821a Don't block when calling fallbackLauncher 2012-03-11 19:37:45 -04:00
Dan Stillman
5e19020437 Auto-empty items from trash on idle rather than at pane open
Deleting is currently very slow (which will be fixed on master), which
can cause long delays when auto-emptying items older at pane open.
Instead, empty 10 items after 5 minutes of idle, and then another 10
every 5 seconds until there are no more items to empty or the user is back.
2012-03-11 18:54:46 -04:00
Dan Stillman
9821db988d Fix "_observers.get(i).ref is undefined) errors
If a notifier observer caused another observer to be deleted, an error
would occur.
2012-03-11 18:36:54 -04:00
Dan Stillman
e1113209d5 Disable unresponsive script warning before delayed bundled files update 2012-03-11 16:25:47 -04:00
Simon Kornblith
25d48fbca7 Get first 100 tickets (TODO: get multiple pages) 2012-03-11 16:03:45 -04:00
Simon Kornblith
1050fc32b3 Fix dropping of empty creators 2012-03-11 16:03:44 -04:00
Simon Kornblith
a9bc55738a Merge pull request #73 from aurimasv/tester
Ignore order when comparing arrays in translatorTester
2012-03-10 13:10:43 -08:00
Simon Kornblith
d0a9108d92 Merge pull request #76 from aurimasv/cleanAuthor
cleanAuthor
2012-03-10 13:09:31 -08:00
aurimasv
67dac4ec0d Moved tag sorting to a later point. 2012-03-10 03:07:45 -06:00
aurimasv
828d10a396 Sort in _sanitizeItem instead of _compare 2012-03-09 20:00:21 -06:00
aurimasv
4e29a821b7 Fixed typo 2012-03-09 19:38:00 -06:00
Simon Kornblith
63c4096a6c Specify both -moz-border-radius and border-radius.
Closes #66, Quick Format is square on nightly
2012-03-09 20:24:28 -05:00
aurimasv
b23632f6c3 Revert previous fix 2012-03-08 22:26:33 -06:00
aurimasv
998d52ec6d Place periods after all initials in first name 2012-03-08 22:25:07 -06:00
Simon Kornblith
beb77864cb Don't clean periods when useComma is enabled 2012-03-08 22:45:20 -05:00
Simon Kornblith
814b15c23a Don't let translators try to load the current document a second time 2012-03-08 14:47:47 -05:00
Dan Stillman
1475a79cd1 Open csledit/cslpreview in new tab in existing window in Fx
Fixes #75
2012-03-08 14:35:06 -05:00
gracile-fr
f84e6b120e "description" instead of "label" as it was in the branch (localization of editorWarning) 2012-03-08 15:04:34 +01:00
gracile-fr
11d3d72ca1 "description" instead of "label" as it was in the branch +localization 2012-03-08 15:01:45 +01:00
gracile-fr
00c46070b4 Localize editorWarning 2012-03-08 14:03:35 +01:00
gracile-fr
f1be6125fa Localize editorWarning 2012-03-08 14:02:35 +01:00
aurimasv
5816e586fe Sort arrays before comparing them. Tag order does not matter and authors will not be sorted. 2012-03-08 02:34:38 -06:00
Simon Kornblith
5bdb050b5f Support multiple character browsers 2012-03-08 01:27:16 -05:00
Simon Kornblith
52f47b2510 Fix bug affecting translation-server 2012-03-08 01:27:16 -05:00
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
32df573610 Fix a bug in DOMSerializer.serializeToString implementation 2012-03-06 00:02:34 -05:00
Simon Kornblith
08cf3d9841 Adapt unwrapping for master 2012-03-06 00:02:18 -05:00
Simon Kornblith
575fd30e62 Merge branch '3.0' 2012-03-05 23:59:41 -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
88bc6adf8c Don't shorten visible part of any URLs in reports 2012-02-28 20:57:33 -05:00
Dan Stillman
4a4ff9c275 Merge branch '3.0' 2012-02-28 20:56:34 -05:00
Dan Stillman
635cc8bd15 Linkify short links too in reports 2012-02-28 20:49:07 -05:00
Simon Kornblith
b3f9f5102b Merge branch '3.0'
Conflicts:
	chrome/content/zotero/overlay.js
	chrome/content/zotero/xpcom/schema.js
2012-02-28 17:22:34 -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