Commit graph

2713 commits

Author SHA1 Message Date
Simon Kornblith
3b2cc93269 Move Zotero.Text.titleCase() to Zotero.Utilities(), since it's not used anywhere else in the Zotero code 2011-07-01 04:20:48 +00:00
Simon Kornblith
cd046433da Don't run translator tester without Zotero Standalone 2011-06-30 23:10:00 +00:00
Simon Kornblith
ca1e3f8647 -Retrieve trunk translators from repo
-Make translator tester always re-retrieve translators that were previously retrieved from repo
2011-06-30 23:05:15 +00:00
Simon Kornblith
1d72849d99 Don't store translator code in localStorage 2011-06-30 22:14:45 +00:00
Simon Kornblith
39298312db - Reduce object creation overhead when updating translators
- Don't save code for a translator if the lastUpdated date is older than the lastUpdated date in the translator metadata. This is necessary in case translator metadata is retrieved from the repo and then outdated code is retrieved from standalone to avoid being stuck on the outdated code until the next translator update.
2011-06-30 07:15:13 +00:00
Simon Kornblith
aeef8ecc15 Use lastUpdated dates to determine whether to update translators 2011-06-30 06:36:48 +00:00
Simon Kornblith
b1584a1eae Normalize notes and creators 2011-06-30 05:19:11 +00:00
Simon Kornblith
e5268ba2f2 Normalize tags on save 2011-06-30 03:36:00 +00:00
Simon Kornblith
ad04e96ad4 Fix error in multiple item saving 2011-06-30 02:01:31 +00:00
Simon Kornblith
b114266fb3 - Closes #1832, Connectors should be able to retrieve translator data and code from server in the absence of Zotero Standalone
- Closes #1831, Connectors should be able to save via API in the absence of Zotero Standalone
- Fixes Zotero.Utilities.deepCopy() for arrays
- Fixes some circumstances where an error would not be saved for future error reporting
- Fixes connector status checking
2011-06-30 01:08:30 +00:00
Simon Kornblith
2bee3ecf1e Update to citeproc-js 1.0.185 2011-06-29 23:28:06 +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
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
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
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
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
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
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
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
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
d1fa4399af More tweaks to select items behavior 2011-06-17 18:52:53 +00:00
Simon Kornblith
e35c25e31d Fix lingering bugs in Chrome/Safari translation 2011-06-17 18:20:50 +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
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
Dan Stillman
47dbd613ea Revert r9383 (substantially) to fix unending sync icon spinning 2011-06-14 17:46:46 +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
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
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
Simon Kornblith
06be99acfa parse mm/yyyy properly even on non-US systems 2011-06-08 14:19:16 +00:00
Simon Kornblith
b874641bf9 - show correct gradients for between focused, selected, and inactive tree items in collections tree on OS X
- use -moz-linear-gradient instead of images
2011-06-07 06:26:12 +00:00
Dan Stillman
4c07ff04a1 Copy mainwindow-dropdown-arrow.png to skin directory for availability in Standalone 2011-06-07 06:00:36 +00:00
Dan Stillman
689b758dd3 Fixes #1824, Fix appearance of search menu on Windows 2011-06-07 05:47:58 +00:00
Simon Kornblith
54a13955e4 Fix "Support and Documentation" from cog menu in tab mode
http://forums.zotero.org/discussion/18251/support-and-documentation-tab-not-opening/
2011-06-06 16:11:08 +00:00
Simon Kornblith
81e9a7010e only use first 50 selected items when determining locate menu actions, to prevent a slowdown when accessing the context menu with a large number of items selected 2011-06-06 04:30:06 +00:00
Dan Stillman
5fcbd914ae Use existing function instead of DB query 2011-06-05 00:12:14 +00:00
Simon Kornblith
6981df1eaf update to citeproc-js 1.0.177 2011-06-04 00:47:02 +00:00
Dan Stillman
df10b726de Use unescaped "<sup>" in HTML output in citeproc-js 2011-06-03 19:35:45 +00:00
Dan Stillman
66e121a4ed - Reset debug output logging "Enable after restart" to false after a restart
- Disable debug output logging after submitting to Zotero server
2011-06-03 07:46:27 +00:00
Simon Kornblith
d7e4ae3620 Add some new menu items 2011-06-03 05:14:48 +00:00
Simon Kornblith
8d23635f8b update to citeproc-js 1.0.176 2011-06-02 17:40:52 +00:00
Simon Kornblith
ba4bd78c37 add bottom padding 2011-06-01 16:21:27 +00:00
Dan Stillman
09e22e1e5d - Revert async notifier change in r9341
- Better fix for excessive item saving activity
- Fix for erroneous switch to library after adding an item to a collection (since r9341)
2011-06-01 14:28:59 +00:00
Simon Kornblith
c7a44a6f37 Workaround for Firefox bar that was causing a white bar to appear on Win x64 when Firefox was started maximized 2011-06-01 09:10:33 +00:00
Simon Kornblith
b6e4aacbac fix unnecessarily high add-on bar button on Windows 2011-06-01 08:53:35 +00:00
Simon Kornblith
6d9458ca93 remove add-on bar padding 2011-06-01 08:34:41 +00:00
Simon Kornblith
4aff8c67c0 reduce height of status bar icons where applicable 2011-06-01 08:24:10 +00:00
Dan Stillman
1e73421522 Closes #909, Have New Item drop-down display the most recently used item types 2011-06-01 04:22:45 +00:00
Dan Stillman
8f3a8479f8 Updated fr-FR CSL locale from Frank 2011-05-31 22:55:51 +00:00
Dan Stillman
e509d35a81 Fixes #1822, Dragging notes that contain HTML entities sends HTML as text 2011-05-31 20:24:13 +00:00
Simon Kornblith
8f65c52f6c clear queued callbacks once they have been requeued and fix typo 2011-05-31 20:01:55 +00:00
Simon Kornblith
3f69b8b9c0 Don't allow functions queued with setTimeout() to execute during Zotero.wait()
Fixes fatal error during import
2011-05-31 19:59:07 +00:00
Simon Kornblith
58a3680ca5 closes #1267, Button height in toolbar 2011-05-31 06:58:00 +00:00
Simon Kornblith
fbead5600b refine toolbar behavior 2011-05-31 06:53:13 +00:00
Simon Kornblith
fbdb7d5526 add missed files from previous commit 2011-05-31 06:50:52 +00:00
Simon Kornblith
e96a185e8e Fix toolbar positioning on non-Mac 2011-05-31 06:46:28 +00:00
Simon Kornblith
08cbf4d4d9 small tweaks to help 2011-05-31 06:38:22 +00:00
Simon Kornblith
1b1af48be0 add Help menu items and About dialog 2011-05-31 06:34:21 +00:00
Simon Kornblith
3ce92c3690 closes #1775, Window hiding on Mac OS X 2011-05-31 05:32:45 +00:00
Simon Kornblith
49e309bb85 remove another window.loadURI 2011-05-31 04:58:07 +00:00
Simon Kornblith
8d7de2987c closes #1794, Fix automatic updater on OS X
Display a warning if running a Zotero frankenbuild
2011-05-31 04:35:47 +00:00
Simon Kornblith
46c5014c28 - show appropriate error message when attempting to use quick copy on a non-reference
- eliminate use of window.loadURI
2011-05-31 04:13:46 +00:00
Simon Kornblith
55d3f8c47c closes #1818, Include styleID on io.wrappedJSObject within addCitationDialog.js 2011-05-31 01:00:51 +00:00
Simon Kornblith
2ce712df70 Show an error when a user attempts to use an invalid style 2011-05-30 05:25:13 +00:00
Simon Kornblith
9fa94d442d update to citeproc-js 1.0.175 2011-05-29 18:44:07 +00:00
Dan Stillman
f68b74bcf4 Updated CSL locale files 2011-05-28 17:26:45 +00:00
Dan Stillman
8c7c2425f6 Prevent excessive item saving when dragging a child note to another parent (since r8762) by triggering queued notifications asynchronously 2011-05-27 21:33:45 +00:00
Dan Stillman
fdbc11f2b3 Fixes #1798, Apparent duplication of standalone attachment after drag
Trigger change notification for moved item before new parent item so that the tree view can detect that the moved item is in the wrong place, remove it, and then refresh the new parent item's children
2011-05-27 20:19:25 +00:00
Simon Kornblith
f51e6dd84a Fix handling of CSL 1.0 dependent styles 2011-05-27 14:22:10 +00:00
Simon Kornblith
4d6acbf8fe update to citeproc-js 1.0.174 2011-05-26 19:29:13 +00:00
Simon Kornblith
cdd9675920 fix memory leak 2011-05-25 19:47:00 +00:00
Dan Stillman
a6c655df73 Localization fix for Swedish locale (trunk and branch) 2011-05-25 19:24:35 +00:00
Simon Kornblith
d5fb8358fb update to citeproc-js 1.0.172 2011-05-24 15:48:27 +00:00
Simon Kornblith
f5661217aa update to citeproc-js 1.0.169 2011-05-19 23:28:31 +00:00
Simon Kornblith
de56c2567f closes #1797, Toggle tab mode button when no non-Zotero tabs are open
clicking the toggle tab button when the Zotero tab is the only tab open will now open the home page
2011-05-19 23:20:07 +00:00
Simon Kornblith
bc354b1435 Fix "win.ZoteroPane.document is undefined" when Zotero is set to start in tab mode and the Zotero tab has not yet been selected (missed code in last commit) 2011-05-19 23:00:01 +00:00
Simon Kornblith
12efce8786 A better way of getting browser and window in proxy.js 2011-05-19 22:48:26 +00:00
Dan Stillman
51f8c11ea0 Switch client code license to Affero GPL version 3 2011-05-18 18:34:22 +00:00
Dan Stillman
540b269494 Update French locale from Gracile 2011-05-18 16:08:33 +00:00
Dan Stillman
5a32007bb1 Add translators' names for fa and fr-FR 2011-05-18 16:04:51 +00:00
Dan Stillman
a9dbe02ef9 - Don't set the last local sync time after a download if an upload fails to avoid reuploading of downloaded data
- If no local sync time set (because an initial upload never went through), ignore remote sync time and repull all data so downloaded items aren't reuploaded
2011-05-17 20:53:38 +00:00
Dan Stillman
961c53c5fe Add fa localization from Abbas Shahzadeh 2011-05-14 21:29:06 +00:00
Simon Kornblith
bf80266804 update to citeproc-js 1.0.165 2011-05-14 16:11:00 +00:00
Dan Stillman
e901d51300 Don't use extended character in debug message 2011-05-11 07:09:18 +00:00
Dan Stillman
12044afe3b - Prevent a couple cases of erroneous full syncs due to deleted local items
- On sync conflicts, display only one alert about auto-merged objects per object type, and log the rest to the Error Console
2011-05-10 21:43:19 +00:00
Dan Stillman
3e30066d89 - Don't display "+" and "-" tags as add/remove icons in the tag selector, as much as I like the idea of tags arbitrarily being turned into graphical representations
- Use add/remove icons in advanced search window
2011-05-09 08:11:18 +00:00
Dan Stillman
62a0bdf1e3 Don't break all styles on invalid XML 2011-05-08 17:00:19 +00:00
Simon Kornblith
c1c9673dc6 update to citeproc-js 1.0.163 2011-05-05 18:12:27 +00:00
Dan Stillman
85d2ea3445 Update French locale from Gracile 2011-05-02 20:53:23 +00:00
Dan Stillman
b4b3455f55 Fix quicksearch error before mode is set 2011-05-02 20:18:26 +00:00
Dan Stillman
fe1eb01ce6 Fix potential WebDAV error on Restore to Zoteor Server even if WebDAV isn't selected 2011-05-02 20:11:49 +00:00
Dan Stillman
a979acb4b8 Fix selection of single top-level item after site translation 2011-05-02 19:20:22 +00:00
Dan Stillman
7cacff3a08 Strip tabs from filenames 2011-05-02 15:39:48 +00:00
Dan Stillman
754bcb0ec9 Show proper file-access-denied message on Windows 2011-04-30 16:57:29 +00:00
Dan Stillman
186aade141 Fix typo in comment 2011-04-27 19:11:50 +00:00
Dan Stillman
b22b395e22 Fix for occasional "DAV:href '/zotero' does not begin with path '/zotero/'" error on opening Zotero pane with WebDAV syncing enabled 2011-04-27 19:08:14 +00:00
Dan Stillman
9de109db1d - Fix placeholder text switching in quicksearch box
- Open popup on Alt-Up/Down, as in Firefox search bar
- Don't re-run search when switching modes if search is empty
2011-04-26 19:39:18 +00:00
Dan Stillman
f60f3aa930 - Show quicksearch drop-down in integration windows
- Remove dir="reverse" on quicksearch bar, which I don't think is still necessary
2011-04-26 17:43:00 +00:00
Dan Stillman
fdc6e1b6d3 Include tags and note content in "All Fields", and make that the default 2011-04-26 14:52:18 +00:00
Dan Stillman
8c92603b88 Fixes #1816, Manually created items inherit creator field mode from last item selected
Update pref only when clicking the switch button
2011-04-26 05:17:33 +00:00
Dan Stillman
c572131509 Additional (untested) CSS files for Windows/Linux for quick search bar menu 2011-04-25 15:29:09 +00:00
Dan Stillman
3856885e6d Closes #1004, Add menu to quicksearch bar to change search modes
Initial version -- needs additional refinement

Not yet tested on Windows/Linux, and won't look right in Fx3.6
2011-04-25 15:27:49 +00:00
Simon Kornblith
2453fed74a update to citeproc-js 1.0.155 2011-04-25 13:26:14 +00:00
Simon Kornblith
32a15fed87 Zotero.isFx4 should mean Gecko 2+ 2011-04-23 17:29:16 +00:00
Dan Stillman
4a170fce6f Use background color for selected items with colored tags, like Thunderbird 2011-04-21 16:11:28 +00:00
Simon Kornblith
2e87c12512 Fix typo 2011-04-20 07:54:15 +00:00
Simon Kornblith
0a3b96bd9c Don't attempt to run regular expressions on very long URIs (fixes incompatibility with Update Scanner as reported at http://forums.zotero.org/discussion/17604/216-translator-hangs-with-addon-update-scanner/#Item_0) 2011-04-18 23:23:41 +00:00
Simon Kornblith
d6b3c5fed6 update to citeproc-js 1.0.150 2011-04-18 22:56:33 +00:00
Dan Stillman
faf478e386 - Color tags in right pane
- Update colors in tag selector and tags box in all windows on update
2011-04-17 11:12:59 +00:00
Dan Stillman
c6c33099de Updated Arabic timeline.properties from Ahmed Rizk 2011-04-17 10:41:24 +00:00
Dan Stillman
07efb5ef32 Remove code from localeJoin() 2011-04-16 09:22:43 +00:00
Dan Stillman
ebfc57ffd2 Updated Arabic translation from Ahmed Rizk 2011-04-16 09:15:06 +00:00
Dan Stillman
b53423e8dd Tag colors, as in http://forums.zotero.org/discussion/1787/1/simple-marking-of-items/
Should be considered proof-of-concept at this stage, with refinements needed

(Among other things, no handling of multiple tags per item)
2011-04-15 14:46:21 +00:00
Simon Kornblith
a47390b5c4 fix search issues in latest Minefield 2011-04-13 21:35:46 +00:00
Simon Kornblith
abfd990d98 create OpenURL 1.0 ContextObjects for COinS (they were invalid 0.1 ContextObjects before) 2011-04-13 16:06:25 +00:00
Dan Stillman
2edaea4829 - Use a single, better error for all file access errors during syncing
- Recommend checking WebDAV settings on WebDAV error
2011-04-13 15:56:11 +00:00
Simon Kornblith
4506d59299 fix lookup by identifier not appearing in latest Minefield builds 2011-04-13 15:49:52 +00:00
Dan Stillman
d8f90b6488 Don't strip 'cite' attribute from <blockquote> (used by browser pane context menu options to specify the source URL) 2011-04-13 09:25:19 +00:00
Dan Stillman
64d603e646 Don't double-HTML-encode plaintext when converting to HTML (e.g., when using browser pane context menu option to create Zotero note) 2011-04-13 09:17:54 +00:00
Simon Kornblith
02659cdde6 unspecified change 2011-04-11 22:43:29 +00:00
Simon Kornblith
c1cfb039fd go back to citeproc-js 1.0.148, since it doesn't seem like 1.0.149 is released yet 2011-04-11 14:55:57 +00:00
Simon Kornblith
2ef7901ab3 update to citeproc-js 1.0.149 2011-04-11 14:50:11 +00:00
Simon Kornblith
91dbb4ab18 fixes #1731, "09/2010" is parsed as "2010-00-09" 2011-04-09 18:25:54 +00:00
Simon Kornblith
c81931e650 closes #1812, Embed COinS in HTML bibliographies 2011-04-09 16:27:36 +00:00
Simon Kornblith
4d5f50bf74 get locale directly from prefs (necessary due to landing of bug 646428 on mozilla-central) 2011-04-09 16:15:36 +00:00
Simon Kornblith
7da6520292 also add support for composer 2011-04-09 06:47:51 +00:00
Simon Kornblith
2776e2c734 closes #1810, map Zotero recipient -> CSL recipient
Also maps interviewer
2011-04-09 06:42:26 +00:00
Simon Kornblith
fed724e99d don't bother with unnecessary code to activate Firefox on Windows 2011-04-08 14:34:32 +00:00
Simon Kornblith
364ee2f079 update to citeproc-js 1.0.147 2011-04-08 14:33:16 +00:00
Simon Kornblith
d587b57dbf Fix for improper upgrade of locator types in Zotero <2.1.5 2011-04-08 14:30:59 +00:00
Dan Stillman
2748cf77a8 Updated ro-RO locale from Nicolae Turcan 2011-04-06 20:27:05 +00:00
Simon Kornblith
6c201bc985 use an <hbox> with -moz-appearance:toolbar instead of a <toolbar> to prevent toolbar from disappearing on pages with toolbars disabled 2011-04-05 23:46:53 +00:00
Simon Kornblith
5d2c194771 update to citeproc-js 1.0.144 2011-04-05 00:55:48 +00:00
Dan Stillman
f2c2c9f049 Avoid conflicts with server files with maxed-out 32-bit int mod times (which I think happened for only a few days after the AWS migration) by automatically using locally modified version 2011-04-04 17:52:28 +00:00
Dan Stillman
68715ed99f Fix erroneous conflits due to encode XML entities 2011-04-04 11:03:28 +00:00
Simon Kornblith
d0ff59cdd9 Show Zotero Pane overlay while saving items 2011-04-04 03:37:13 +00:00
Simon Kornblith
23e4d90d44 sort translators alphabetically in export dialog 2011-04-03 20:25:06 +00:00
Simon Kornblith
d3a58f9477 update to citeproc-js 1.0.143 2011-04-03 01:08:40 +00:00
Simon Kornblith
6703679d9f use tags instead of attributes for configOptions and displayOptions 2011-04-01 21:07:51 +00:00
Simon Kornblith
3d46862c5f fix "too much recursion" during translation 2011-04-01 20:39:14 +00:00
Simon Kornblith
6f32fa2067 update to citeproc-js 1.0.140 2011-04-01 16:29:46 +00:00
Simon Kornblith
e0f88aeb6c update to citeproc-js 1.0.138 2011-03-31 19:35:31 +00:00
Simon Kornblith
785f4f6663 upgrade styles with the same title instead of offering to install a second style with the same title 2011-03-31 19:12:05 +00:00
Simon Kornblith
8e81c41ec0 more sophisticated plug-in version checking, with version checking on startup 2011-03-31 18:24:37 +00:00
Simon Kornblith
390bcc37fb ugh. poll integration pipe on Firefox 3.6. 2011-03-31 17:37:03 +00:00
Dan Stillman
3ad5ce45d0 Fix note saving in external window if note is selected in items list 2011-03-31 10:14:05 +00:00
Simon Kornblith
5c677a3834 fix upgrading of locator types 2011-03-30 19:53:30 +00:00
Simon Kornblith
d665f800a3 Don't strip periods from "no date" term 2011-03-30 17:07:43 +00:00
Dan Stillman
85235da6b3 - Set sync icon to spinning or not at pane/tab open
- Update file sync progress bar in tab
2011-03-30 12:17:30 +00:00
Dan Stillman
7eb1c9dd9f Fix "At least one of includeUserFiles or includeGroupFiles must be set in Zotero.Sync.Storage._getFilesToDownload()" error, except maybe for real this time 2011-03-30 11:22:53 +00:00
Dan Stillman
759f846610 Missed file from previous commit 2011-03-30 00:39:08 +00:00
Dan Stillman
8da5e3bc09 Maybe fix "constraint failed" sync error in collection.js 2011-03-30 00:38:14 +00:00
Simon Kornblith
e9d69d80ee update to citeproc-js 1.0.136 2011-03-29 23:47:45 +00:00
Simon Kornblith
ec7674b772 update to citeproc-js 1.0.135 2011-03-29 18:15:09 +00:00
Dan Stillman
5598cac359 Fix closing of parent items on various edits 2011-03-29 12:06:37 +00:00
Simon Kornblith
06d93e4d61 don't leave {Citation}s hanging if somehow they end up the document 2011-03-29 04:38:20 +00:00
Simon Kornblith
c63b244d56 merge r8806, r0087 from multilingual branch 2011-03-29 03:26:32 +00:00
Simon Kornblith
d71428ecc7 don't throw if nsIURI.host throws 2011-03-29 01:32:22 +00:00
Simon Kornblith
98d4df34ac update CSL locales 2011-03-29 01:23:48 +00:00
Simon Kornblith
0e87056e62 remove debug code 2011-03-29 01:17:04 +00:00
Simon Kornblith
a7b1cc1046 fix citations appearing after a bibliography 2011-03-29 01:16:02 +00:00
Simon Kornblith
0a6afb15d4 Fix typo 2011-03-29 00:57:10 +00:00
Dan Stillman
85ffc6b214 - Do additional whitespace normalization when diffing items to prevent erroneous conflicts
- Save multiple whitespaces in TinyMCE as "&nbsp; " instead of "  " to prevent collapsing elsewhere
- Convert multiple spaces in plaintext notes (e.g., from 1.0) to "&nbsp; " instead of "&nbsp;&nbsp;"
2011-03-29 00:40:11 +00:00
Simon Kornblith
8a4e7e88a4 fix January 2011-03-28 14:02:12 +00:00
Simon Kornblith
31a9021544 fix typo 2011-03-28 13:57:45 +00:00
Simon Kornblith
2ab8344599 upgrade to citeproc-js 1.0.134 2011-03-28 13:50:43 +00:00
Simon Kornblith
4b06372a47 - fix upgrading of custom attribute from Zotero 2.0
- only show debug messages with computational requirements if debug is enabled
2011-03-28 13:49:47 +00:00
Dan Stillman
5f8efa0e2e - Tab was skipping title and creator fields in Firefox 4
- Fix loss of items list focus when navigating with arrow keys after shift-tabbing out of item pane
2011-03-28 10:14:27 +00:00
Dan Stillman
c51290641d Prevent auto-sync attempt when switching pane/tab mode shortly after pane/tab open if a sync is already running 2011-03-28 00:05:29 +00:00
Simon Kornblith
8616e7e193 make sure notes get saved when switching quickly to another item (I think this is only a problem if the new item is a note) 2011-03-26 22:39:24 +00:00
Simon Kornblith
f2fba1b14c update to citeproc-js 1.0.133 2011-03-26 21:55:46 +00:00
Simon Kornblith
c906c8e0be fix doubled separators 2011-03-26 21:55:23 +00:00
Simon Kornblith
edf113f184 be less aggressive about resizing add citation dialog 2011-03-26 21:52:53 +00:00
Simon Kornblith
d6b76ca3d8 don't throw on invalid URI 2011-03-26 21:16:07 +00:00
Simon Kornblith
cd3525e527 fix date handling issues, as reported at http://forums.zotero.org/discussion/17116/date-field-passthrough-issue-after-updating-to-zotero-21/#Item_0 2011-03-26 21:11:46 +00:00
Simon Kornblith
352e30a11d update to citeproc-js 1.0.131 2011-03-26 05:23:35 +00:00
Simon Kornblith
5f9afeb623 unserialize persist before updating tag selector 2011-03-26 04:37:12 +00:00
Simon Kornblith
7fd299bd64 Add back old integration pipe modes for use on Linux 2011-03-26 04:20:22 +00:00
Simon Kornblith
4a90c8acda fix "XML.toXMLString is not defined" 2011-03-25 07:09:38 +00:00
Simon Kornblith
fafc7e9994 fix cslpreview.xul 2011-03-25 03:56:45 +00:00
Simon Kornblith
87bf3f21e4 preserve collection when switching between pane and tab 2011-03-25 03:38:42 +00:00
Simon Kornblith
7da0313a8b use ZoteroPane_Local everywhere we possibly can 2011-03-24 23:23:11 +00:00
Simon Kornblith
43bb978a6e turn majorUpgrade warning back off pending further consideration of whether or not this is a good idea 2011-03-24 04:26:49 +00:00
Simon Kornblith
4d3e097a4b blacklist doubleclick.net 2011-03-24 01:46:46 +00:00
Simon Kornblith
da40bc07d2 recognize .csl.txt files 2011-03-23 21:29:19 +00:00
Simon Kornblith
806cf6b1a4 show major upgrade warning when upgrading from 2.0.9 2011-03-23 20:47:24 +00:00
Simon Kornblith
2668fc8491 use default exportCharset even if menu is not displayed 2011-03-23 06:10:17 +00:00
Simon Kornblith
8fe4b6f8f8 Show corrupt field error message if getCode fails 2011-03-23 06:05:34 +00:00
Simon Kornblith
17d7475f1d - don't disregard selected exportCharset
- save translator settings
2011-03-23 01:56:17 +00:00
Simon Kornblith
e5cb2875e6 add support for pushing configOptions and displayOptions, once Dan adds it to the repo 2011-03-23 01:42:17 +00:00
Simon Kornblith
74395a3024 fix update from Zotero 1.0 2011-03-23 00:53:43 +00:00
Simon Kornblith
cae799bd7c update to citeproc-js 1.0.127 2011-03-23 00:51:40 +00:00
Simon Kornblith
f4ed72d7f4 fix issues saving attachments on import when attachment does not have itemType = "attachment" set 2011-03-22 18:57:39 +00:00
Simon Kornblith
d4f589785d disable deferred open for now, but this is the right way of doing things once Gecko 2.0.1 is available 2011-03-22 18:30:36 +00:00
Simon Kornblith
29be631546 More debug code for selection issues 2011-03-22 02:31:13 +00:00
Simon Kornblith
7aea4fabf9 Debug code for library selection issues 2011-03-22 02:24:58 +00:00
Simon Kornblith
135c47944d better handling of invalid regular expressions 2011-03-21 22:45:15 +00:00
Simon Kornblith
3290d8f8cf better handling of restart with tabs restored in Fx 4 2011-03-21 20:44:39 +00:00
Simon Kornblith
1654545d02 if not in tab mode and tabs are being saved and Zotero tab is the only tab open in a window, don't close it on startup 2011-03-21 20:40:50 +00:00
Simon Kornblith
09d1c36791 only use deferred open for integration pipe on OS X, since it doesn't seem to work on Linux 2011-03-21 20:30:46 +00:00
Simon Kornblith
9d78bd7024 close storage stream in Fx 4 (the base stream should already be closed) 2011-03-20 09:09:54 +00:00
Simon Kornblith
cc99a39630 fix comments 2011-03-20 08:59:32 +00:00
Simon Kornblith
e11bb22159 A further optimization allows us to avoid both a JS thread and the sh/tempfile hack on Fx 4 2011-03-20 08:58:20 +00:00
Simon Kornblith
52d38c9daf prevent integration pipe from blocking and make sure integration pipe gets removed 2011-03-20 08:26:25 +00:00
Simon Kornblith
7f9b29f751 Fixes #1804, Fix mysterious hang with citeproc-js 1.0.125
Re-merge citeproc-js 1.0.125 and use an alternative, slightly less efficient mechanism for reading from the integration pipe that shouldn't run into problems with garbage collection. Instead of trying to read from the pipe directly, we now spawn sh and cat to read from the pipe and send the output to a temporary file. We then read the temporary file. Because we don't block a JS thread, there are no GC issues. This works for Fx 4 as well, so I'm removing that code. I don't know whether there were potential GC issues in Fx 4, but if there were, I don't want to know about them.
2011-03-20 08:12:39 +00:00
Simon Kornblith
28ebbc9ba6 temporarily revert to citeproc-js 1.0.124, as citeproc-js 1.0.125 appears to have produced a very mysterious hang that only affects Firefox 3.6 MacWord users... 2011-03-19 06:14:49 +00:00
Simon Kornblith
72a511ba81 fix for lowercase months in non-English locales 2011-03-18 08:26:55 +00:00
Simon Kornblith
5fd473b64f fix quotation mark in Estonian locale 2011-03-18 08:03:32 +00:00