Dan Stillman
9dad54702f
Fix advanced search
2011-07-25 00:55:14 +00:00
Simon Kornblith
32399b35ed
Hide "Remove Selected Item" when in My Library (previously was shown with no label, leading to a blank menu item with ~2px height)
2011-07-24 21:43:02 +00:00
Simon Kornblith
88c6eae730
Kill progress indicator and buttons in add by identifier box. We might want to replace the progress indicator with something else, but the buttons are unnecessary.
2011-07-24 21:32:55 +00:00
Simon Kornblith
f701dd724e
Firefox 3.6 fixes (ugh)
2011-07-24 19:16:31 +00:00
Simon Kornblith
617646f0a2
Cancel should close lookup panel
2011-07-24 17:49:16 +00:00
Simon Kornblith
09e07df294
Delete obsolete file
2011-07-24 17:42:29 +00:00
Simon Kornblith
a5cdfc2cef
Use arrow panel for "Add Citation by Identifier"
2011-07-24 17:41:48 +00:00
Simon Kornblith
7845588291
Fix handling of errors when no message is returned
2011-07-24 17:41:00 +00:00
Simon Kornblith
ff304bd7be
Fix IPC pipe closing on Fx 3.6 (again)
2011-07-24 16:27:42 +00:00
Dan Stillman
4a9aac8bcb
Update Polish locale from Michał Smoczyk
2011-07-23 21:19:03 +00:00
Dan Stillman
ddca12ba26
Match only books by ISBN, since book sections shouldn't be merged
2011-07-22 22:41:42 +00:00
Dan Stillman
ff68789e4e
Missed file from previous commit
2011-07-22 21:50:32 +00:00
Dan Stillman
56c7afc47e
Duplicate detection:
...
- Adds a per-library "Duplicate Items" virtual search to the source list -- shows up by default for "My Library" but can be added to and removed from all libraries
- Current matching algorithm is very basic: finds exact title matches (after normalizing case/diacritics/punctuation/spacing) and DOI/ISBN matches (untested)
- In duplicates view, sets are selected automatically; in other views, duplicate items can be selected manually and the merge interface can be brought up with "Merge Items" in the context menu
- Can select a master item and individual fields to merge from other versions
- Word processor integration code will automatically find mapped replacements and update documents with new item keys
Possible future improvements:
- Improved detection algorithms
- UI tweaks
- Currently if any items differ, all available versions will be shown as master item options, even if only one item is different; probably the earliest equivalent item should be shown for each distinct version
- Caching of results for performance
- Confidence scale
- Creator version selection (currently the creators from the chosen master item are kept)
- Merging of matching child items
- Better sorting of duplicates if not clustered together by the selected sort column
- Relation path compression when merging items that are already mapped to previously removed duplicates
Other changes in this commit:
- Don't show Trash in word processor integration windows
- Consider items in trash to be missing in word processor documents
- Selection of special views (Trash, Unfiled, Duplicates) is now restored properly in new windows
- Disabled field transform context menu when item isn't editable
- Left/right arrow now expands/collapses all selected items instead of just the last-selected row
- Relation deletions are now synced
- The same items row is now reselected after item deletion
- (dev) Zotero.Item.getNotes(), Zotero.Item.getAttachments(), and Zotero.Item.getTags() now return empty arrays rather than FALSE if no matches -- tests on those return values in third-party code will need to be changed
- (dev) New function Zotero.Utilities.removeDiacritics(str, lowercaseOnly) -- could be used to generate ASCII BibTeX keys
- (dev) New 'tempTable' search condition can take a table to join against -- useful for implementing virtual source lists
- (dev) Significant UI code cleanup
- (dev) Moved all item pane content into itemPane.xul
- Probably various other things
Needless to say, this needs testing.
2011-07-22 21:24:38 +00:00
Simon Kornblith
e945b84b5f
Backing out r9930, as it causes serious issues on Windows
2011-07-22 07:09:40 +00:00
Simon Kornblith
68cbef118f
Rounded add citation dialog
2011-07-22 07:05:08 +00:00
Simon Kornblith
1650af161a
Use ctypes to bring only dialog to foreground, and not the rest of Firefox, on OS X
2011-07-22 01:45:40 +00:00
Simon Kornblith
89fc597aa4
nsIFile.isSpecial() is not implemented on Fx 3.6, but we can still use nsIFile.isFile() to determine whether or not this is a pipe. Ugh.
2011-07-21 23:01:13 +00:00
Simon Kornblith
63db2a4aaa
Remove unnecessary lastUpdated optimization in translator regexp, allowing lastUpdated to be anywhere in the JSON in connector too
2011-07-21 19:29:32 +00:00
Dan Stillman
7b469e3d6f
Remove unnecessary lastUpdated optimization in translator regexp, allowing lastUpdated to be anywhere in the JSON
2011-07-21 19:16:19 +00:00
Simon Kornblith
491c44c74c
Don't append browserSupport when saving if it doesn't exist, since it's unnecessary and screws things up
2011-07-21 18:42:26 +00:00
Simon Kornblith
3611a4ea30
- Show "via Zotero Standalone" in tooltip for translators that use Zotero Standalone
...
- Don't write out all the charsets while loading the charset menu
2011-07-21 04:08:49 +00:00
Simon Kornblith
6a8be039d0
Revert to throwing parse errors as non-string
2011-07-20 21:55:50 +00:00
Simon Kornblith
936069165b
Fix reporting of error line numbers
2011-07-20 21:53:38 +00:00
Simon Kornblith
7a34d09f58
Show actual error message as a string as well
2011-07-20 21:29:21 +00:00
Simon Kornblith
5235dcfa9f
Show error messsage on parse error
2011-07-20 21:27:48 +00:00
Simon Kornblith
d502de2981
Eventually clear out defunct "pipes" (which are actually plain files that get polled because of concurrency issues) created by Fx 3.6
2011-07-20 19:25:39 +00:00
Simon Kornblith
cd4f9e7235
Save application/xhtml+xml using WebPageDump
...
Fixes http://forums.zotero.org/discussion/18808/bug-snapshot-of-page-produces-xml-parsing-error/
2011-07-20 13:31:18 +00:00
Simon Kornblith
94a42524e7
Use "exports" instead of "Export" for exported properties, in line with the CommonJS spec
2011-07-20 04:39:38 +00:00
Simon Kornblith
afcf0ff712
Update to citeproc-js 1.0.195
2011-07-20 04:26:18 +00:00
Simon Kornblith
122eb38d29
Fix charset menu under Zotero Standalone
2011-07-20 04:23:01 +00:00
Simon Kornblith
3e26c36b69
Use Zotero.startupError for connector-related errors and use the DB busy error if Zotero switched to
...
connector mode and then couldn't contact the connector.
2011-07-20 03:48:17 +00:00
Simon Kornblith
c24aad3af4
Add incompatible version message to Firefox
2011-07-20 03:35:21 +00:00
Simon Kornblith
64b4d3fd47
- Add copyright notice to some files where it was missing
...
- Move progress window code to separate file
- Merge connector_debug.js and connector.js
2011-07-20 03:22:43 +00:00
Simon Kornblith
bd1d298ee9
Fix a strict mode warning
2011-07-20 03:12:31 +00:00
Simon Kornblith
c6b30b94e4
Fix error on failure to open DB (broken since megacommit)
2011-07-20 03:07:07 +00:00
Simon Kornblith
ea02f39f3e
Bring standalone to foreground before issuing incompatible version warning, at least on OS X
2011-07-19 22:23:55 +00:00
Simon Kornblith
4e0da80afc
Show incompatible version dialog in Standalone if connector is outdated
2011-07-19 22:21:19 +00:00
Simon Kornblith
4dcaf2907f
API version checking
2011-07-19 21:57:32 +00:00
Simon Kornblith
4067a1b820
Fix cookie sandboxing in connector
2011-07-19 03:52:02 +00:00
Simon Kornblith
a4bcc4244c
Don't save tests in JSON, since they aren't particularly useful to us
2011-07-18 22:19:43 +00:00
Simon Kornblith
b6c8fb4483
Make debug messages a little nicer
2011-07-18 22:11:40 +00:00
Simon Kornblith
2cd8ac04e2
Stringify invalid objects when saving items
2011-07-18 21:57:15 +00:00
Simon Kornblith
ce1b3e099a
Only call callback once
2011-07-18 21:37:38 +00:00
Simon Kornblith
e7d5f31d04
Restore ability to run multiple translator tests simultaneously
2011-07-18 21:33:55 +00:00
Simon Kornblith
9f218caf75
- Ability to serialize and reload translator tests from translator tester (addresses #1842 , Translator unit test automation)
...
- Fix a spacing issue in preferences
2011-07-18 21:14:51 +00:00
Simon Kornblith
59066e40b7
Don't add Access-Control-Allow-Origin headers to Safari
2011-07-18 20:51:14 +00:00
Simon Kornblith
4c9b5935e8
- Improvements to server.js for translation-server
...
- Optimizations. The biggest of these is to simplify our mechanism of wrapping functions for Fx 4+, which gives us roughly a 3x speed boost in RIS import. However, zotero-node is still ~20% faster than translation-server, and RDF import/export may still be too slow for very large numbers of references. A large part of the RDF overhead seems to come from the number of function calls we make, which numbers in the hundreds of thousands for a 2.5 MB file.
2011-07-16 20:47:17 +00:00
Simon Kornblith
55c331e68b
Don't say anything when async processes are incremented or decremented
2011-07-14 19:19:08 +00:00
Simon Kornblith
6fabce1d80
Remove unused code
2011-07-14 15:01:51 +00:00
Dan Stillman
066cae3dbb
Include query in db parameter errors
2011-07-14 14:19:16 +00:00
Simon Kornblith
06acd954df
No need to notify us that an event listener is being added
2011-07-14 00:01:14 +00:00
Simon Kornblith
9adbf332e3
Streamline browser.js and fix ZoteroItemUpdated event
2011-07-13 23:56:37 +00:00
Simon Kornblith
59459df0ff
Don't pop up a message when running conflicting Zotero versions simultaneously
2011-07-13 21:19:15 +00:00
Dan Stillman
70371a868b
Work around ellipsis-mangling bug in Firefox
2011-07-13 21:18:32 +00:00
Simon Kornblith
971dd5c69c
Don't open a new integration pipe if there is already an integration pipe open. Fixes hangs on shutdown after launching multiple Zotero instances.
2011-07-13 16:41:00 +00:00
Simon Kornblith
ff90005ed2
Fix breakage from r9839
2011-07-13 03:06:00 +00:00
Simon Kornblith
e0a73db0db
Fix translation with unsupported translators via Zotero Standalone (broken by r9791)
2011-07-13 01:47:50 +00:00
Dan Stillman
347c86b85a
Proper ellipsis in Zotero.Utilities.ellipsize()
2011-07-12 16:40:23 +00:00
Simon Kornblith
289983f486
Some very small modifications for translator test support in zotero-node that are probably never going to get used
2011-07-12 07:41:51 +00:00
Simon Kornblith
3238656ca0
- Zotero.Translate.Import#getTranslators should return translators when they are available
...
- Add deprecation warning for select handler without a callback
2011-07-12 04:34:06 +00:00
Simon Kornblith
4d307c1865
Move translate_generic.js back to translate_inject.js, since it is no longer used in zotero-node (and should properly only be used for injected scripts)
2011-07-12 02:00:13 +00:00
Simon Kornblith
ec6f894e1a
Addresses #1805 , Add "Create Item from Current Page" contextual menu item and/or browser button
...
Adds "Create New Item from Current Page" context menu option. We can add a toolbar button too if we can come up with an icon for it.
2011-07-12 01:38:17 +00:00
Simon Kornblith
ffd671ce7b
- Remove references to Zotero.JSON
...
- Add deprecation warning in case any external code makes use of Zotero.JSON
- Fix some strict mode warnings in zotero.js
2011-07-11 22:37:37 +00:00
Simon Kornblith
4783051f4e
- Properly handle multiple item selection in context/locate menu
...
- Don't show context menu options when >20 items selected
2011-07-11 22:19:10 +00:00
Dan Stillman
7a50fcafe0
Replace "..." with proper ellipsis
2011-07-11 20:26:53 +00:00
Simon Kornblith
c1ae9f3460
Fix PDF recognition
2011-07-11 17:41:33 +00:00
Simon Kornblith
ba12583b22
- Fix download overlay
...
- Fix RIS/Refer intercept progress
2011-07-11 17:38:25 +00:00
Simon Kornblith
b1cec43982
Closes #1620 , Replace lowercase Transform Text option with sentence case
2011-07-11 17:25:31 +00:00
Simon Kornblith
5e8c9669ea
Closes #1863 , Add transform -> sentence case option
2011-07-11 17:14:51 +00:00
Simon Kornblith
498f06c49b
Missed locale file in r9820
2011-07-11 14:57:13 +00:00
Simon Kornblith
5197f1e78b
- Closes #1793 , Add update button to standalone
...
A "Check for Updates" menu item is now available (under the Zotero menu on OS X, or the Help menu on other platforms). This will currently give a 404 unless you build Zotero Standalone as from the "beta" channel.
- Don't add About menu option to help menu on OS X (only to Zotero menu)
2011-07-11 14:54:51 +00:00
Simon Kornblith
5f536abaeb
Missed file from r9815
2011-07-11 05:00:04 +00:00
Simon Kornblith
a4e9775abc
update to citeproc-js 1.0.190
2011-07-11 03:36:33 +00:00
Simon Kornblith
07ae9839a6
Fix connector switching on Linux, and decrease the probability of a hang on shutdown
2011-07-11 01:51:02 +00:00
Simon Kornblith
0e820b8eb3
Update to citeproc-js 1.0.189
2011-07-11 00:15:53 +00:00
Simon Kornblith
e58a682107
Fix Zotero Commons bucket creation
2011-07-10 23:28:12 +00:00
Simon Kornblith
f9b074496f
Better error for unsupported translator
2011-07-10 22:55:27 +00:00
Simon Kornblith
d47381512e
Fix relative URL resolution in Chrome/Safari/Node
2011-07-10 22:51:22 +00:00
Simon Kornblith
bf698c65c6
Register event listener for ZoteroItemUpdated
2011-07-10 22:21:13 +00:00
Simon Kornblith
0b36cc47b9
Fix handling of relative URIs
2011-07-10 21:59:19 +00:00
Simon Kornblith
dde68a51fe
Closes #1859 , Author misordering in COinS when rft.au and rft.aulast combine
...
Thanks to Avram for the patch
2011-07-10 21:40:08 +00:00
Simon Kornblith
2900f9dcbe
- Don't attempt to use connector when it is not available
...
- Remove some old debug messages that are no longer necessary
2011-07-10 20:25:16 +00:00
Simon Kornblith
69b53b1583
Closes #1860 , Scaffold can't safely test collection creation
...
Zotero.Translate#translate(false) should no longer create collections. There was already a collectionDone event; it now gets the unprocessed collection object when false is passed to Zotero.Translate#translate.
2011-07-10 18:02:09 +00:00
Simon Kornblith
5aa3189dd1
- Only log translator parse error once
...
- Fix export (broken by last commit)
- Use init() instead of reset() in Zotero.Translate.IO.Write
- Don't use toSource() in date.js
2011-07-08 07:20:04 +00:00
Simon Kornblith
5cf6a1cff3
- Only call Zotero.wait() in translate.js if it is defined
...
- Don't try to use Zotero.getString() in strToDate if it is not defined
- Add getBaseIDFromTypeAndField to connector/cachedTypes.js and fix getItemTypeFields
2011-07-08 04:20:05 +00:00
Simon Kornblith
ed3bc7d1f7
Don't send 500 response without logging error
2011-07-08 03:54:29 +00:00
Simon Kornblith
e2993b94a4
- Use jsdom in node.js for unescaping HTML
...
- Add itemToExportFormat and itemToServerJSON utility functions
- Support asynchronous translator loading (this will only be used in node.js)
- Fix cases where Safari/Chrome code was incorrectly applied in node.js
- Add Zotero.ItemFields.getItemTypeFields() to connector cachedTypes.js
2011-07-08 03:42:26 +00:00
Dan Stillman
167806a5bd
Move deleted.txt to translators directory
2011-07-07 18:43:34 +00:00
Dan Stillman
439bca9b3b
It shouldn't make a difference, but use the correct post-gzip content type for debug output uploads
2011-07-07 16:20:30 +00:00
Simon Kornblith
599f50455e
- Fixes #1855 , TypeError: Converting circular structure to JSON in handler 0 for itemSaving
...
- Rename translate_webkit.js to translate_generic.js, since it's also going to get used for server side translation
2011-07-06 16:34:41 +00:00
Simon Kornblith
8640bbf37b
make handling of failure in _loadTranslator consistent
2011-07-06 13:37:18 +00:00
Simon Kornblith
75b354a67e
Closes #1854 , XML mode import issues
2011-07-06 13:29:06 +00:00
Simon Kornblith
0add2d07e6
Move Zotero.varDump to Zotero.Utilities
2011-07-06 07:39:49 +00:00
Simon Kornblith
c8d5e0b8c6
Complete with error if translator fails to load
2011-07-04 17:29:35 +00:00
Simon Kornblith
81693ca665
Handle single field mode properly (should fix Sean's JSTOR issue)
2011-07-04 17:29:09 +00:00
Simon Kornblith
631dff69b7
Also set capitalizeTitles = false on test creation
2011-07-04 17:07:55 +00:00
Simon Kornblith
fb87bded88
Closes #1852 : Test success may depend on capitalizeTitles preference
2011-07-04 17:05:42 +00:00
Simon Kornblith
763d46a565
Don't wrap HTML documents with Zotero.Translate.SandboxManager.Fx5DOMWrapper when performing XPath operations. If we encounter a problem with XML documents at some point, I'll try to figure out how to replace this with a proxy.
...
Fixes #1851 : Voyager translator fails on Newberry catalog in Fx5, Zotero trunk
2011-07-04 16:50:56 +00:00
Simon Kornblith
1774962de9
- Refactor Zotero.Translate save process. There are now itemSaving and itemDone handlers. The itemSaving handler is called as soon as the translator returns an item, but before it's saved to the database. The itemDone handler is called when the item is saved. This allows us to show a grayed-out item icon in the connector while the item is saving to server, and then un-gray it when it is saved to the server.
...
- Move Zotero.randomString() to Zotero.Utilities
- Fix import of collections (broken by recent commits)
2011-07-04 09:08:49 +00:00
Simon Kornblith
ea5a94e860
- Support RDF in connector
...
- getTranslatorObject() now exports the "Export" object if one exists. In Firefox, it continues to export other objects otherwise. In Chrome/Safari, it will only export do* and detect*.
2011-07-04 05:03:06 +00:00
Simon Kornblith
178eda0c9d
Fix getTranslatorObject()
2011-07-03 20:37:53 +00:00
Simon Kornblith
4f4be436f6
...but don't try to trim null strings
2011-07-03 19:39:24 +00:00
Simon Kornblith
e671496260
Trim all strings before adding to the DB
2011-07-03 19:38:14 +00:00
Simon Kornblith
cf2f8c828b
Fix typo
2011-07-03 18:59:26 +00:00
Simon Kornblith
f5af708995
- Eliminate some error messages in translate.js
...
- Zotero.ItemFields.isValidForType() should not throw on error
2011-07-03 08:28:30 +00:00
Dan Stillman
d6c6fd16f4
Disable tag colors until they're revised a bit
2011-07-03 06:38:09 +00:00
Simon Kornblith
03b569a2e1
Closes #1755 , Links from Standalone preferences don't work
2011-07-03 06:27:04 +00:00
Simon Kornblith
0a197f308e
- Open https://www.zotero.org/start_standalone (which doesn't yet exist) in default browser on Standalone first start. This will provide a place to download connectors and create an account.
...
- Don't copy quickstart setting during prefs migration
- Register zotero-reloaded nsIObserver properly
2011-07-03 04:33:37 +00:00
Simon Kornblith
8638b9c496
Fixes #1844 , Fix connector switching hangs with Firefox 3.6 on Windows. Standalone will just take an extra 5 seconds to start if started while Firefox 3.6 is running.
2011-07-03 04:15:49 +00:00
Simon Kornblith
a8631f760a
Change quickstart URL to https so that it doesn't display a security warning
2011-07-02 17:06:02 +00:00
Simon Kornblith
dd29d18b93
Open quickstart window on first run in Standalone
2011-07-02 16:52:34 +00:00
Simon Kornblith
d12d639842
Support for add-ons
2011-07-02 07:16:24 +00:00
Simon Kornblith
50cc1fcb71
Fixes #1757 , VIew Debug output doesn't work in standalone
2011-07-02 05:51:29 +00:00
Simon Kornblith
7b41d76b75
Move standalone.xul to separate standalone directory
2011-07-02 04:27:57 +00:00
Simon Kornblith
56eed344f5
Fixes #1826 , Quick Copy does not work in Standalone
2011-07-02 04:00:12 +00:00
Simon Kornblith
fa7ca7e2d7
Improve standalone menus
2011-07-02 03:09:13 +00:00
Simon Kornblith
e63e917ecf
Don't require done function in ZU.processDocuments
2011-07-02 00:17:33 +00:00
Simon Kornblith
931ba556e1
Don't require a callback to getTranslators, and ask for the translators handler instead, which is already compatible with 2.1. (Not sure what I was thinking last night...)
2011-07-01 19:39:06 +00:00
Simon Kornblith
63e07763d7
More refinements for select handlers that do not use a callback
2011-07-01 17:25:26 +00:00
Simon Kornblith
b74cfb4a70
Fix multiple replacement in captializeTitles in Chrome/Safari
2011-07-01 06:22:01 +00:00
Simon Kornblith
e37f4e3215
Don't break code (e.g. Scaffold) that returns a value from the select handler instead of using the callback
2011-07-01 06:07:30 +00:00
Simon Kornblith
bd165f60bc
- Add ability to pass a callback to Zotero.getTranslators(). AFAIK, this is only used by COinS.
...
- Don't try to do RPC on non-web translators
- Remove Zotero.Text.titleCase from zotero.js
2011-07-01 05:14:45 +00:00
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 " " instead of " " to prevent collapsing elsewhere
- Convert multiple spaces in plaintext notes (e.g., from 1.0) to " " instead of " "
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
Dan Stillman
49d5c1fd31
Prevent erroneous conflicts due to Windows newlines in imported notes (which should be fixed separately)
...
Using a try/catch to prevent unexpected errors in 2.1 Final
2011-03-17 21:34:59 +00:00
Dan Stillman
ec04a6e98d
Update et-EE locale from Meelis Friedenthal
2011-03-17 21:29:38 +00:00
Dan Stillman
33a6caef15
Fix "val.indexOf is not a function" loading attachments with all-numeric titles
2011-03-17 20:16:10 +00:00
Simon Kornblith
3ab09692a2
don't throw if callback is not passed to importFromDocument
2011-03-17 18:48:53 +00:00
Dan Stillman
b3fc63653f
Remove stray character
2011-03-17 03:49:05 +00:00
Simon Kornblith
ae1e82494d
Fail to import files with bad URIs
2011-03-16 23:19:29 +00:00
Simon Kornblith
c72da6b568
still maintain instance at the top of the file, because it's safe and won't hurt
2011-03-16 23:03:16 +00:00
Simon Kornblith
621e43a39c
fix potential recurrence of garbage collection nightmare
2011-03-16 23:02:26 +00:00
Simon Kornblith
03be861eff
fix import of non-RDF files, broken by last commit
2011-03-16 22:56:12 +00:00
Simon Kornblith
402fa961ef
fix files left open, tested this time
2011-03-16 22:45:00 +00:00
Simon Kornblith
1ac712db12
second attempt at fixing files left open
2011-03-16 22:22:47 +00:00
Simon Kornblith
23eb381ea0
support CSL 1.0 dependent styles
2011-03-16 14:35:02 +00:00
Simon Kornblith
f25aadb7ad
add option to recognize PDF to download dialog, and only whitelist some MIME types
2011-03-15 18:50:48 +00:00
Dan Stillman
f74440902b
Switch to Zotero.Cite.makeFormattedBibliographyOrCitationList() from Zotero.Cite.makeFormattedBibliography() for Quick Copy bib copy, because that's what clipboard copying uses. Fixes 'false' from Bluebook style with makeFormattedBibliography()
2011-03-14 21:01:25 +00:00
Simon Kornblith
81fcc72aab
update to citeproc-js 1.0.125
2011-03-14 17:57:51 +00:00
Dan Stillman
e30e3065ba
Add debug line for loadURI() fallback after failed file.launch()
2011-03-11 03:58:23 +00:00
Dan Stillman
e119113564
"natively"->"internally"
2011-03-10 23:56:24 +00:00
Dan Stillman
2ba1f60862
Updated locales-is-IS.xml from bitbucket
2011-03-10 20:38:25 +00:00
Simon Kornblith
817a768a8f
update to citeproc-js 1.0.123
2011-03-09 23:37:28 +00:00
Dan Stillman
7c28c4789f
Restore removed line
2011-03-09 23:08:03 +00:00
Dan Stillman
be166665e7
Fix cross-library item reselection in Edit Citation
2011-03-09 23:00:09 +00:00
Dan Stillman
6b335fd363
Display no more than 20 items in collection-item conflict message
2011-03-09 06:23:39 +00:00
Dan Stillman
878aa2dcf9
Send repo traffic to repo.zotero.org
2011-03-09 02:53:04 +00:00
Simon Kornblith
11fc88973c
use ZoteroPane_Local to refer to local ZoteroPane, if there are multiple ZoteroPanes running in the
...
same window. this fixes tabbing behavior in the Zotero Tab, and likely also a bunch of issues we
haven't found yet.
2011-03-08 23:46:01 +00:00
Simon Kornblith
d4a779dd53
don't just delete itemsTree, because it doesn't get reregistered
2011-03-08 23:37:31 +00:00
Simon Kornblith
e312fc0bb6
- fix restoration selection when switching between tab and pane
...
- don't serialize persistent data from Zotero Pane on window close unless pane was showing
2011-03-08 23:14:19 +00:00
Dan Stillman
bd5d3af983
Better error for file sync login failure
2011-03-08 19:25:00 +00:00
Simon Kornblith
01169f9618
fix item type menu appearance on Windows
2011-03-08 05:51:50 +00:00
Simon Kornblith
ec44bfbcc5
tweak appearance on Linux
2011-03-08 05:44:27 +00:00
Simon Kornblith
b8e213b629
fix Mac CSS typo
2011-03-08 05:25:15 +00:00
Simon Kornblith
e84ef616d4
fix appearance on Windows (still need to test on Linux)
2011-03-08 05:23:01 +00:00
Simon Kornblith
5c680549ff
fix licensing and id
2011-03-07 22:01:41 +00:00
Simon Kornblith
496b4b6f45
Add "Save to Zotero" option to unknown content type dialog. This is probably not for 2.1.
2011-03-07 17:47:01 +00:00
Simon Kornblith
0ebe917dba
update to citeproc-js 1.0.122
2011-03-07 07:10:10 +00:00
Simon Kornblith
9c6be2c0eb
fix tag selector in Zotero tab
2011-03-06 21:32:49 +00:00
Dan Stillman
4eab4bbbae
Missed file from previous commit
2011-03-05 05:14:06 +00:00
Dan Stillman
f94242f7ad
Fix Date Published in Timeline
2011-03-05 04:10:29 +00:00
Dan Stillman
30ff1bd2ae
"Manage Locate Engines"->"Manage Lookup Engines" in other locales
2011-03-04 19:50:48 +00:00
Simon Kornblith
2fa07ff06f
"Manage Locate Engines"->"Manage Lookup Engines"
2011-03-04 19:48:36 +00:00
Simon Kornblith
8c986a7896
show Zotero toolbar in fullscreen mode
2011-03-04 18:46:53 +00:00
Simon Kornblith
1dd4761f26
Udpate to citeproc-js 1.0.120
2011-03-04 18:41:05 +00:00
Dan Stillman
e82a56bb4c
Fix Zotero crash if last collection before a separator was deleted
2011-03-04 07:39:35 +00:00
Dan Stillman
a6b8633f2e
Remove tag conflict pop-up
2011-03-03 17:54:15 +00:00
Simon Kornblith
d58221b59f
Fix "citations is undefined" error
2011-03-03 07:09:08 +00:00
Simon Kornblith
6abaf18fdc
only apply overflow:auto to item box
2011-03-02 18:21:43 +00:00
Simon Kornblith
4ebf38629d
use new-style Zotero.Translate constructors in browser.js
2011-03-02 02:50:31 +00:00
Simon Kornblith
e37dc98ef9
check whether gBrowser exists during init() without actually accessing it
2011-03-02 02:08:05 +00:00
Simon Kornblith
f834e3f63e
update to citeproc-js 1.0.118
2011-03-01 22:43:34 +00:00
Simon Kornblith
942275a0ae
- put view context menu options at top of context menu
...
- tweak locate menu items to appear under more appropriate circumstances
2011-03-01 22:40:56 +00:00
Simon Kornblith
a41841eb2b
Properly close files following detection
2011-03-01 21:41:13 +00:00
Simon Kornblith
ebd7df3862
remove debug code
2011-03-01 06:14:13 +00:00
Simon Kornblith
6124e1571c
bring integration windows to foreground on Windows using ctypes
2011-03-01 06:13:43 +00:00
Simon Kornblith
2e0d6aa4ec
make Zotero.Integration.execCommand() synchronous on Fx 4
2011-03-01 05:31:20 +00:00
Dan Stillman
3c1bb02c9f
Maybe fix an edge case sync error
2011-02-28 00:25:44 +00:00
Dan Stillman
1ccc84eb42
Return formatted item data values in Item.toArray() and Item.serialize() rather than raw strings (to fix messy date values for certain item types on export)
2011-02-27 21:52:40 +00:00
Simon Kornblith
18fb900855
closes #1799 : Dragging a file into the Zotero tab (but not pane) in Firefox 3.6 causes Firefox to try to load the file
2011-02-24 04:56:10 +00:00
Simon Kornblith
4cd1dc039c
fix some issues when attempting to perform an action on multiple items simultaneously
2011-02-24 04:28:17 +00:00
Dan Stillman
e026b1f886
Catch a sync error involving file.lastModified
2011-02-23 18:36:30 +00:00
Simon Kornblith
43a426119b
fixes #1790 , Autocomplete text box has a bit too much padding on left side
2011-02-22 19:23:33 +00:00
Simon Kornblith
57a38e19cb
serialize data when tree is modified`
2011-02-22 18:43:05 +00:00
Simon Kornblith
826a0eb5e3
still call Zotero.wait() when not using QuickCopy
2011-02-22 18:42:24 +00:00
Simon Kornblith
83d98dae19
- fix broken QuickCopy export
...
- fix dragging issues caused by Zotero.wait()
2011-02-22 18:30:31 +00:00
Dan Stillman
bfbfd07910
Automatically correct invalid timestamps on sync error
2011-02-22 02:45:31 +00:00
Simon Kornblith
ad31324b2c
use http://www.zotero.org/ * URIs for BIBO UserItems
2011-02-22 00:39:52 +00:00
Simon Kornblith
4bfbaf5747
closes #1791 , add locate options to context menu
2011-02-22 00:02:05 +00:00
Simon Kornblith
73857fbba7
allow "View Online" for file:/// URIs in attachments
2011-02-21 22:27:39 +00:00
Dan Stillman
ff93acd5f5
Fixes #957 , PDFs with extended characters aren't indexed
...
Now fixed for real. Required a function change on our end.
2011-02-21 09:04:49 +00:00
Dan Stillman
be2e5d680f
Fix breakage from r8279
2011-02-19 04:19:22 +00:00
Simon Kornblith
79b3c5c703
revert r8278
2011-02-19 01:48:24 +00:00
Simon Kornblith
fcd3ef0c80
make view online use file:/// URI from parent item in order to handle bizarre use case
2011-02-19 01:17:15 +00:00
Dan Stillman
5d31faad07
Updated Swedish localization from lars.e.jonasson
2011-02-19 01:14:55 +00:00
Simon Kornblith
db8d2543db
Update to citeproc-js 1.0.114
2011-02-19 01:04:01 +00:00
Simon Kornblith
e82968304f
fix sync icon spinning in Zotero tab
2011-02-19 00:58:08 +00:00
Dan Stillman
3b5fe4c8ee
Display "Numéro (périodique)" for Issue search condition in French localization
2011-02-17 09:35:23 +00:00
Dan Stillman
a342cb3546
Always favor PDF attachments over non-PDF attachments
2011-02-17 04:06:18 +00:00
Dan Stillman
091326b7e6
Fix "Reset Translators" and "Reset Styles" in the prefs
2011-02-17 02:19:00 +00:00
Simon Kornblith
8242acd067
update citeproc-js to 1.0.113
...
From Frank's release notes:
Apply formatting set on family name parts to institutions as well.
2011-02-14 23:21:57 +00:00
Dan Stillman
fb1a49ece9
Merge new English strings to non-English locales
2011-02-14 18:36:53 +00:00
Dan Stillman
453d89386f
Updated Swedish localization from lars.e.jonasson
2011-02-14 18:02:42 +00:00
Simon Kornblith
20f38fa773
restore live updating in csledit.xul
2011-02-14 16:56:44 +00:00
Dan Stillman
2324992ac3
Don't do anything on double-click of Unfiled Items
2011-02-14 07:44:22 +00:00
Simon Kornblith
aa81249e5e
shrink +/- buttons by 2px
2011-02-14 07:40:04 +00:00
Dan Stillman
393a6d87fe
Unless we find anything better, use stack of papers for Unfiled Items icon
2011-02-14 07:11:06 +00:00
Simon Kornblith
4d7c1238b0
virtual treesource, rev. 4
2011-02-14 05:50:41 +00:00
Simon Kornblith
e8cdb543e9
virtual saved search, rev. 3
2011-02-14 05:48:27 +00:00
Simon Kornblith
2f616a84d8
restore to previous icon
2011-02-14 05:39:30 +00:00
Simon Kornblith
d97d60a675
mac virtual saved search icon, second possibility
2011-02-14 05:37:14 +00:00
Dan Stillman
4577b3d27e
Use virtual search icon for Unfiled Items
2011-02-14 05:33:08 +00:00
Simon Kornblith
da0bba1358
icon for OS X virtual saved search, rev. 1
2011-02-14 05:28:14 +00:00
Dan Stillman
f7a0602b3b
Show "Unfiled Items" in personal library by default
2011-02-14 04:57:38 +00:00
Dan Stillman
1e60f8947a
Closes #745 , Add Unfiled search condition
...
Adds "Show Unfiled Items" context menu to libraries, which adds a virtual saved search for unfiled items. Right-click, Remove to hide. Per-library visibility is saved in prefs and persists across restarts.
Implemented as 'unfiled' search condition, but not accessible via search UI
Should probably use a different color icon to differentiate from real saved searches
2011-02-14 03:59:32 +00:00
Simon Kornblith
1908001230
- get rid of svg toolbar glow, which wasn't working before anyway
...
- use icons with higher contrast edges in some cases on OS X
2011-02-13 23:51:50 +00:00
Dan Stillman
ee8956c70d
Closes #1711 , [patch] Display Civil Law case information
2011-02-13 22:29:31 +00:00
Simon Kornblith
e78df93c71
restore min-height
2011-02-13 19:04:26 +00:00
Simon Kornblith
71e1b98304
spacing tweaks for attachment box
2011-02-13 19:00:37 +00:00
Dan Stillman
b7477ed6c8
- Make attachment title a little smaller
...
- Adjust padding a little
2011-02-13 18:48:28 +00:00
Dan Stillman
eb5711c87c
Fix some deprecated calls
2011-02-13 18:46:34 +00:00
Simon Kornblith
d8966467dc
- show title in separate notes window
...
- fix issues entering new tags into tags popup
- add back left/right tinymce borders on non-OS X
2011-02-13 08:50:24 +00:00
Simon Kornblith
c4b5730486
increase space between tags
2011-02-13 07:17:24 +00:00
Simon Kornblith
4e75852322
fix typo
2011-02-13 07:01:17 +00:00
Simon Kornblith
95a64b9d5e
update to citeproc-js 1.0.112
...
From Frank's release notes:
Avoid carrying year-suffix forward to a following reference when
performing position-sensitive citation updates.
2011-02-13 06:27:35 +00:00
Simon Kornblith
72240b92d9
pad bottom of note window
2011-02-13 06:25:08 +00:00
Simon Kornblith
e381b552d0
Modifications to notes and attachments box appearances:
...
- attachment notes box is now located at bottom, with linked items options above it
- notes no longer display the parent item title. I think this is a waste of space, but if someone wants it back, I can do that
- notes editor spans entire pane
- notes editor does not have gray borders on left or right
- metadata display in notes and attachments boxes is consistent with metadata display in item pane
2011-02-13 06:16:06 +00:00
Simon Kornblith
39cd0264cd
run another resize operation on a timeout to fix standalone issues
2011-02-13 03:56:33 +00:00
Simon Kornblith
fd9e25fa29
- Put all Zotero buttons in one contiguous toolbar. This seems to be the only way to get a unified window on OS X. It also means that if the window is too small, the search box pushes over the metadata pane buttons, instead of getting truncated.
...
- Firefox 3.6 fixes
2011-02-13 03:51:24 +00:00
Simon Kornblith
9312300420
ignore active attribute on Firefox 3.6 in Zotero Tab
2011-02-13 02:35:57 +00:00
Simon Kornblith
c8478f02f8
tweak OS X Zotero tab appearance
2011-02-13 02:29:00 +00:00
Simon Kornblith
1a726d357a
fix broken ensureElementIsVisible method
...
I think this should fix #1730 , Metadata pane doesn't scroll down when tabbing between fields
2011-02-13 01:57:54 +00:00
Simon Kornblith
173f10a6fa
format commas properly
2011-02-13 01:41:56 +00:00
Simon Kornblith
d98e99ce46
pack tags slightly closer together
2011-02-13 01:21:28 +00:00
Simon Kornblith
8592e26187
appropriately truncate last name in item box
2011-02-13 01:02:54 +00:00
Simon Kornblith
a21c3b28a2
properly reset flex attribute on last name after editing
2011-02-13 00:26:11 +00:00
Simon Kornblith
effdfc1adf
item pane UI consistency tweaks
2011-02-12 23:47:08 +00:00
Simon Kornblith
806576aacb
remove "create item from current page" from tab
2011-02-12 22:18:46 +00:00
Simon Kornblith
51c119ae8a
control selected appearance on clicky based on tree focus, not window focus
2011-02-12 21:22:01 +00:00
Simon Kornblith
7b66113990
put "View PDF" at top of locate menu
2011-02-12 21:09:41 +00:00
Simon Kornblith
b4e5819a82
fix context area popup menu
2011-02-12 21:08:03 +00:00
Simon Kornblith
6c7c8a66c0
- don't try to open non-native attachments using Fx
...
- don't try to get non-existent strings for non-existent buttons
2011-02-12 20:40:46 +00:00
Simon Kornblith
5edcc84cf9
pad top of itembox on OS X
2011-02-12 20:31:52 +00:00
Simon Kornblith
f629418dc2
don't turn off "ignoreWhitespace" before serializing xml string
2011-02-12 20:19:31 +00:00
Dan Stillman
b9af6a71a0
Swap "Refer/RIS" to be consistent
2011-02-12 20:13:46 +00:00
Simon Kornblith
e5a4d4a1ee
fix activated/deactivated appearance in Fx 4
2011-02-12 19:56:13 +00:00
Simon Kornblith
cf7359854d
add missing locales for RIS/Refer import dialog
2011-02-12 19:31:51 +00:00
Simon Kornblith
50cf63f5db
only save automatic tags if pref is enabled
2011-02-12 19:28:33 +00:00
Simon Kornblith
e78e886b57
- a better way of getting the container window for our tab
...
- close tab on restart if tab mode is off and there was a crash
2011-02-12 08:57:28 +00:00
Simon Kornblith
2c41bcff56
Update to citeproc-js 1.0.111
...
From Frank's release notes:
Avoid an error when attempting to sort citations that have not yet
appeared in the registry. This error could be triggered, following a
change made in release 1.0.108, by incremental cite insertion
operations via appendCitationCluster() or processCitationCluster().
2011-02-12 08:33:16 +00:00
Simon Kornblith
c668ecab83
prompt before saving items via RIS/Refer
2011-02-12 07:07:23 +00:00
Simon Kornblith
5246248159
generate a citation list when using "Create Bibliography" context menu options if the selected style does not define a bibliographny
2011-02-12 04:36:37 +00:00
Simon Kornblith
7448e2ac6a
maintain selection across tab/pane switch
2011-02-11 22:39:13 +00:00
Simon Kornblith
47f57509e5
make column and position information persist between tab and overlay
2011-02-11 22:16:32 +00:00
Simon Kornblith
c7e92b6e16
don't show menu separator when no locate engines are available
2011-02-11 21:55:48 +00:00
Simon Kornblith
8af3a30fa4
fix tab switch issues
2011-02-11 18:04:31 +00:00
Simon Kornblith
e30890711a
- locate menu tweaks (needs more testing)
...
- add missing modifications for DB error when selecting tab in Fx 4
2011-02-11 08:07:20 +00:00
Dan Stillman
ce67b52ed4
Merge new English strings to non-English locales
2011-02-10 04:28:14 +00:00
Simon Kornblith
2a8c514123
don't show startup error twice in standalone
2011-02-10 01:58:47 +00:00
Simon Kornblith
7984bb195c
better startup error handling
2011-02-10 01:53:15 +00:00
Simon Kornblith
c20863e8fa
don't call non-existent onLoad function, take 2
2011-02-10 01:08:52 +00:00
Simon Kornblith
328769ca09
revert last commit
2011-02-10 01:07:52 +00:00
Simon Kornblith
c589cd11e7
don't try to call non-existent onLoad function
2011-02-10 01:06:28 +00:00
Simon Kornblith
3ea54df059
fix for any other translators that create enormous arrays instead of objects
2011-02-10 00:35:48 +00:00
Simon Kornblith
8a49a28bbf
fix broken preferences
2011-02-09 23:42:47 +00:00
Simon Kornblith
1d2395db0c
fix locate menu in tab and standalone
2011-02-09 23:16:23 +00:00
Simon Kornblith
296c76ff3b
fix xml/e4x mode on very large files
2011-02-09 22:10:10 +00:00
Simon Kornblith
a83fbb4fa8
fix import issues
2011-02-09 21:54:38 +00:00
Simon Kornblith
3fd0523b6e
- fix preference links
...
- fix tab mode tooltip
- zotero://fullscreen opens standalone
2011-02-09 06:42:08 +00:00
Simon Kornblith
701845fa0a
- remove attachment go buttons
...
- tweaks to locate menu behavior for attachments
2011-02-09 05:03:40 +00:00
Simon Kornblith
7d0e31bc95
make spage and epage work with en dashes
2011-02-09 04:54:08 +00:00
Simon Kornblith
ca29a0d6eb
fix the "Restore Defaults" button
2011-02-09 04:27:05 +00:00
Simon Kornblith
1486132626
Add flexible locate menu, based on a (very heavily modified) copy of the pubget patch. Documentation is forthcoming.
2011-02-09 03:22:06 +00:00
Simon Kornblith
b6d2898a03
fix OpenURL preferences
2011-02-08 23:57:58 +00:00
Simon Kornblith
42761e8e0d
fix Fx hang on extensions DB corruption
2011-02-08 11:59:00 +00:00
Simon Kornblith
fe1ce60a46
update to citeproc-js 1.0.110
...
From Frank's release notes:
With collapse="year", do not block the collapsing of subsequent
authors due to differences that are masked by et al. truncation of the
name list.
2011-02-07 08:47:15 +00:00
Simon Kornblith
ab96c38037
fix for fx 3.6
2011-02-07 08:26:06 +00:00
Simon Kornblith
d89dcd3b87
expose DOMParser to sandbox. this is way harder than it should be, but actually seems to work.
2011-02-07 08:21:23 +00:00
Simon Kornblith
481fed9c38
first pass at DOMParser for sandbox. this doesn't quite work yet.
2011-02-07 08:02:03 +00:00
Dan Stillman
45c4d15128
Catch "script stack space quota is exhausted" sync error and display an upgrade message
2011-02-07 07:33:20 +00:00
Simon Kornblith
a85a52dec0
don't actually need to worry about disabling reentrancy here
2011-02-07 07:00:25 +00:00
Simon Kornblith
508a08179c
closes #1762 : Save items from translators in a transaction
2011-02-07 06:57:41 +00:00
Simon Kornblith
c8ce422b95
fix window resizing
2011-02-07 05:30:28 +00:00
Simon Kornblith
7046f894ff
fix item saving in group collections
2011-02-07 05:20:08 +00:00
Simon Kornblith
9a82adb3a5
don't break Zotero.Utilities.HTTP on Fx 4
2011-02-07 04:46:18 +00:00
Dan Stillman
3b294949bc
Remove an erroneous debug line
2011-02-07 00:08:11 +00:00
Dan Stillman
a78665fdf5
Remove <Fx3.5 code
2011-02-07 00:02:43 +00:00
Simon Kornblith
eee772d893
- closes #1778 : Zotero.Cite.makeFormattedBibliography throws an error when citeproc-js output contains
...
- update to citeproc-js 1.0.109
From Frank's release notes:
Use numeric rather than named entities when producing HTML, to avoid
error if the output is processed as XML in an environment in which
named entities have not been declared.
2011-02-06 21:51:07 +00:00
Simon Kornblith
8deb7043fc
use getXULWindowEnumerator to work around a bug I encountered on Linux (even though this code was based on an example on MDC, apparently it doesn't work quite right)
2011-02-06 07:16:10 +00:00
Simon Kornblith
51b5c8322e
fix statusBarOverlay to call ZoteroOverlay.toggleDisplay()
2011-02-06 06:53:41 +00:00
Simon Kornblith
23edf0d415
merge citeproc-js 1.0.108 from multilingual
2011-02-06 00:43:20 +00:00
Simon Kornblith
e81390b177
forward compatibility with standalone translation
...
(see http://www.zotero.org/support/dev/zotero_2.1_and_zotero_standalone_for_developers )
2011-02-06 00:17:22 +00:00
Dan Stillman
8479aef5f9
Possible fix for "script stack space quota is exhausted" download sync error (trunk)
2011-02-04 09:00:05 +00:00
Simon Kornblith
d43dbefc4e
fix Fx 3.6 compatibility, accidentally broken by last commit
2011-02-04 03:52:53 +00:00
Simon Kornblith
f1909346d9
- fix notes in Firefox 4 beta (broken due to bug 628410)
...
- fix notes in the tab (this seems like an unnecessarily complex solution, but it works)
2011-02-04 03:51:33 +00:00
Simon Kornblith
b22894006a
more Fx 3.6 fixes
2011-02-03 20:51:41 +00:00
Simon Kornblith
f4f326601d
support Zotero tab in Fx 3.6
2011-02-03 20:46:48 +00:00
Simon Kornblith
dcb440d458
update to citeproc-js 1.0.106
...
Fix a flaw in disambiguation logic that could result in a processor
hang, when a creator list with fewer names than its predecessor
required additional names to accomplish disambiguation.
Include the year-suffix as a sortable number string in dates used as
sort keys. Citations that include a year-suffix will now sort
correctly within the citation.
Restore XML to defaults before creating E4X objects.
Repair the processor demo page, which broke after revision 1.0.95.
2011-02-03 20:27:18 +00:00
Simon Kornblith
0578c01899
fix some cases where multiple Zotero tabs could be open
2011-02-03 20:22:56 +00:00
Simon Kornblith
e26b292324
let toggleTab() take an explicit mode argument
2011-02-03 07:20:02 +00:00
Simon Kornblith
90b7380563
more tab code changes
2011-02-03 07:17:55 +00:00
Simon Kornblith
9dd8a7119d
remove some debug code
2011-02-03 07:10:19 +00:00
Simon Kornblith
9d50ee9317
closes #1750 : Show determinate progress bars for import/export
2011-02-03 07:04:14 +00:00
Simon Kornblith
fbb7f79689
appropriately handle case where tab is loaded before window finishes loading
2011-02-03 05:35:47 +00:00
Simon Kornblith
b001c5433f
fix a few issues opening the zotero pane
2011-02-03 05:05:11 +00:00
Simon Kornblith
c722bbff56
ditch ZoteroPane.getActiveZoteroPane() and just make window.ZoteroPane refer to either tab or pane, depending on which is active
2011-02-03 05:00:08 +00:00
Simon Kornblith
ddcdfb6961
closes #1779 : Some CSLs can only be parsed once
...
Restore global XML properties when Zotero.Cite.makeFormattedBibliography() is complete. At some point, we should probably modify our existing uses of E4X not to rely on these properties being set to their defaults.
2011-02-02 22:18:34 +00:00
Simon Kornblith
0a4fe5725e
update to citeproc-js 1.0.105
...
From 1.0.100:
Allow institutional names to collapse correctly when cite collapsing
options are in effect.
Add an option to identify Vietnamese names and format them correctly
(i.e. always family name first). There is a small possibility of false
positives, so the option is off by default. See the processor manual
for details: http://gsl-nagoya-u.net/http/pub/citeproc-doc.html
From 1.0.101:
Add sortkeys array to skeleton items received during
restoreProcessorState() if it is undefined. Avoids a processor crash
on the first Zotero 2.1 connection to a Zotero 2.0.9 document.
From 1.0.102:
When rendering non-ranged cites collapsed with collapse="year-
suffix", and the year suffix is implicit (not being rendered through a
cs:text node with variable="year-suffix"), add the necessary splice
delimiter details to the number object.
Protect against undefined name.multi.main when checking headline names
for a name tag.
From 1.0.103:
Add a reference to item data in registry objects.
Provide a registry method getSortedRegistryObjects() to return current
bibliography data.
Document new registry method in processor manual.
From 1.0.104:
Make restoreProcessorState() notice that the sequence of citations has
changed, and assign fresh citation IDs to duplicate citations in the
input.
From 1.0.105:
Assure that all ids passed into an array or as a straight variable are
stringified. Loosen condition statements where appropriate to treat
numeric IDs of string and numeric type as equivalent.
2011-02-02 06:49:20 +00:00
Simon Kornblith
a9132a2be2
addresses #1773 , RDF read from disk works once, fails after
...
This fixes some issues with streams being closed due to overzealous garbage collection in Firefox 3.6. I'm not sure if this is the same as #1773 or not, but it certainly produces export errors.
2011-02-02 05:42:16 +00:00
Simon Kornblith
0a91608268
fix for a last-minute Fx 4 API change. this at least gets the translator infrastructure working, but the API change may result in a good amount of translator breakage as well.
2011-02-02 04:39:42 +00:00
Simon Kornblith
623e2dd150
move last line of embedded js in overlay.xul to overlay.js
2011-02-01 10:51:59 +00:00
Simon Kornblith
df28ad6e76
should probably have thought harder before the last commit. change all lets to var, since it doesn't make a difference in this scope.
2011-02-01 07:24:59 +00:00
Simon Kornblith
4283134d32
don't throw on locale not found, just return false
2011-02-01 07:24:01 +00:00
Simon Kornblith
156f2be269
closes #1771 , citeproc-js breaks initial Quick Copy drag after Firefox startup
...
caused by an XHR, which inexplicably breaks dragging behavior
2011-02-01 07:23:01 +00:00
Simon Kornblith
3b78e8ff39
also change back init call
2011-02-01 07:05:29 +00:00
Simon Kornblith
f326fb2aad
change back pref key
2011-02-01 06:31:34 +00:00
Simon Kornblith
c107fcf18a
don't try to update keyElem when there is no open zotero key
2011-02-01 06:24:52 +00:00
Simon Kornblith
3bcd421f07
add getActiveZoteroPane() call to global Zotero object
2011-01-31 20:28:42 +00:00
Simon Kornblith
25fbec095f
fix hasBibliography call for dependent styles
2011-01-31 20:16:06 +00:00
Simon Kornblith
d6c160fb5b
fix tab loading issues
2011-01-30 10:08:38 +00:00
Simon Kornblith
a3fe51e8a5
fix another typo
2011-01-30 09:54:32 +00:00
Simon Kornblith
faf2f539f3
fix typo
2011-01-30 09:53:22 +00:00
Simon Kornblith
02efb56902
fix some ZoteroPane references
2011-01-30 09:52:51 +00:00
Simon Kornblith
ecf0f3397c
Zotero as a tab. This may need to be backed out for 2.1 depending on the amount of trouble it generates.
2011-01-30 09:44:01 +00:00
Dan Stillman
e1c770bef7
Remove Full Sync option from preferences
2011-01-29 01:24:47 +00:00
Simon Kornblith
621af3b301
fix import failure when an attachment has no path or uri
2011-01-28 22:48:07 +00:00
Simon Kornblith
d850b290aa
fix automatic import based on MIME type
2011-01-28 22:19:00 +00:00
Simon Kornblith
ee00d32117
update to citeproc-js 1.0.99
...
From 1.0.94:
The input format for multilingual data changes in this version. The
change affects only multilingual data; ordinary input is not affected.
The previous multilingual input format, intended only for testing,
relied on string parsing to identify multilingual data embedded in a
given field. While this strategy worked for initial testing (its sole
intended purpose), it is cumbersome and potentially fragile.
The multilingual input data format recognized beginning with this
version of citeproc-js separates multilingual content properly into
separate elements, resulting in simpler design and more robust
operation.
The change to the multilingual input format is not backward
compatible; in the unlikely event that any existing projects have
relied upon the old format, adjustments will be required to run this
version of the processor.
From 1.0.95:
Render multilingual names atomically, and do not modify the content of
names objects during processing. This permits implementation of
alternative name forms, needed to accomodate a new style rule in
scientific publishing, that permits author names to be given in the
original script alongside the romanized form.
Implement the rendering of original name forms, where an alternative
form of the name is used for the primary rendering.
From 1.0.96:
Fixes a global variable assignment. Important for stability.
From 1.0.97:
Replace the methods setLangTagsForCslNameTransliteration() and
setLangTagsForCslTitleTransliteration() with a single method
setLangTagsForCslTransliteration().
Change the multilingual parameters available through the default-
locale attribute of style files (parameters used primarily for
testing, not production) to reflect the API change described above.
Add method setOriginalCreatorNameFormatOption() to the control API.
This allows the name ordering and initialization conventions of
transliterated names either to track those of the original language,
or to follow the conventions of the target script.
Document new setOriginalCreatorNameFormatOption() method and the
previously added method setOriginalCreatorNameFormsOption() in the
processor manual, and update the description of testing parameters
available via the default-locale attribute.
From 1.0.98:
Properly honor et-al-subsequent-min when it is smaller than et-al-min
(which it ordinarily is).
From 1.0.99:
Fix loop constraint variable misassignment that was a likely cause
behind the word processor plugin stability issue reported in the
following discussion thread:
http://forums.zotero.org/discussion/15777/error-updating-openofficeorg-document-in-21b/
2011-01-26 19:04:08 +00:00
Sean Takats
f10381a84e
Trevor is dead, long live Debbie. Faolan is "promoted."
2011-01-26 02:07:51 +00:00
Simon Kornblith
9408d468f7
hide browser chrome on zotero apptab
2011-01-24 19:41:44 +00:00
Simon Kornblith
1a3d616c2d
- add support for Zotero as a separate tab (currently only via loading chrome://zotero/content/tab.xul)
...
- tweak twisty appearance on OS X (highlight-on-click is gone, but this seems preferable to the previous behavior)
- simplify chrome.manifest for standalone
2011-01-24 10:29:36 +00:00
Dan Stillman
bd796aec41
Fix prompt after restart on Restore from Server
2011-01-21 06:21:26 +00:00
Simon Kornblith
762d51059d
fix automatic standalone migration on Linux
2011-01-17 21:53:49 +00:00
Simon Kornblith
f4ac1c0b55
don't show proxy options in standalone
2011-01-17 17:14:58 +00:00
Simon Kornblith
efe3121805
allow setString to be called multiple times over the lifetime of a Zotero.Translate object
...
fixes issues retrieving multiple items from Google Scholar
2011-01-17 16:14:21 +00:00
Simon Kornblith
daada078a2
fix file import bug
2011-01-17 15:48:05 +00:00
Simon Kornblith
d7dc47f3f5
revert a line of code accidentally included in r7734
2011-01-17 07:43:58 +00:00
Simon Kornblith
259c286db7
- fix export when dataMode is undefined (translate architecture should assume plain text)
...
- don't use "null" as a file extension
2011-01-17 07:42:22 +00:00
Simon Kornblith
a552bb19bd
hide "get word processor plug-ins" link in standalone
2011-01-14 21:25:05 +00:00
Simon Kornblith
06e446a527
Only start dummy statement when backup completes if it was running before backup. Fixes broken upgrades in 2.1b3.
2011-01-14 20:28:29 +00:00
Dan Stillman
a709b779a7
Update CSL 1.0 locales from bitbucket
2011-01-14 18:04:38 +00:00
Simon Kornblith
697e840d4e
set label on Report Errors... menu option properly
2011-01-14 07:48:42 +00:00
Simon Kornblith
9da1a2b9e0
don't give addonsbar-related error messages in standalone
2011-01-14 07:40:27 +00:00
Dan Stillman
823a9b08f2
Open "New Group" page in browser from Standalone
2011-01-13 23:53:32 +00:00
Dan Stillman
d359974bb7
Give option to use default Standalone location when a <2.1b3 directory is selected
2011-01-13 23:51:19 +00:00
Dan Stillman
2f802fe74d
Don't start Standalone on databases from <2.1b3
2011-01-13 20:52:15 +00:00
Simon Kornblith
92262774a2
general fix for JSTOR-like E4X wrapping issues
2011-01-13 19:56:10 +00:00
Dan Stillman
f712ea8d40
- Reestablish database lock after on-idle backup -- the lock was being lost, which allowed Standalone (and other SQLite clients) to corrupt the database
...
- Don't attempt to backup database on shutdown, since it doesn't seem to work anymore and can delay shutdown
- Change idle backup check timer to 60 seconds from 10 seconds
2011-01-13 14:21:19 +00:00
Simon Kornblith
9176118494
unspecified changes
2011-01-12 23:39:12 +00:00
Simon Kornblith
78205c2482
Fix integration failures after switching commands.
2011-01-12 18:44:28 +00:00
Dan Stillman
5ae9bd41ae
Fix bug in hangingindent HTML output
2011-01-11 20:59:36 +00:00
Dan Stillman
43effcb1a6
Update a couple comments
2011-01-11 19:44:56 +00:00
Dan Stillman
0bb4b0afdd
Replace deprecated calls
2011-01-11 19:44:27 +00:00
Dan Stillman
47dc4d7864
- Merge English strings to locales
...
- Fix problem with nn-NO locale
2011-01-11 19:40:22 +00:00
Simon Kornblith
fed87c5441
don't leak browsers from connector
2011-01-11 05:02:40 +00:00
Simon Kornblith
18aa61918d
don't check in Standalone, which has Zotero.isFx set to true
2011-01-11 04:56:13 +00:00
Simon Kornblith
291c87737c
only check for private browsing mode in Firefox (it doesn't exist in xulrunner)
2011-01-11 04:55:09 +00:00
Simon Kornblith
3acdc18d88
fix report of translation failure in standalone
2011-01-10 21:41:01 +00:00
Dan Stillman
78a92255d8
- Add the Zotero icon to the add-on bar instead of the status bar in Fx4
...
- Make the add-on bar visible if the Zotero icon isn't set to hidden, which is an annoying way of dealing with https://bugzilla.mozilla.org/show_bug.cgi?id=616419 not yet landing -- people who use an upper toolbar button and don't want the add-on bar to show will need to set the Zotero icon to hidden
Addresses #1726 , Firefox 4 Compatibility
2011-01-07 06:36:31 +00:00
Dan Stillman
5ceb3f4cf7
Closes #1754 , [PATCH] MIME type sniffing of PDFs is too strict for some real-world files
...
Look for "%PDF-" anywhere in the first 128 bytes
2011-01-07 04:10:52 +00:00
Dan Stillman
45bc19c06a
- Fix WebDAV deleted file purging
...
- Reenable WebDAV orphaned file purging (currently once every ten days)
Also:
- Create pref of appropriate type automatically in Zotero.Prefs.set() if one doesn't exist
2010-12-26 19:04:09 +00:00
Dan Stillman
f7765be35c
Fix Stop button for WebDAV Verify Server
2010-12-26 17:31:15 +00:00
Dan Stillman
e2ff2c3ab7
Fix a tag syncing edge case (which shouldn't be possible with production sync server)
2010-12-26 09:14:55 +00:00
Dan Stillman
3f28260507
Remove all references to deprecated nsDragAndDrop, and remove some obsolete drag code
2010-12-26 03:40:35 +00:00
Dan Stillman
642a857a29
Fix drag from advanced search window
2010-12-26 03:08:35 +00:00
Dan Stillman
1b7e2b412b
Fix tag selector drag and drop in Firefox 4
2010-12-26 02:49:49 +00:00
Dan Stillman
31f9378da5
- Add trash auto-empty setting to visible prefs
...
- Tweak Zotero version header tooltip
2010-12-26 01:52:47 +00:00
Dan Stillman
17119aadd1
Use proper collation sort for creators
2010-12-23 08:08:31 +00:00
Dan Stillman
0347b576e6
Closes #1656 , Creator sort should include firstName
...
Needs some testing
Also cleaned up sorting code a little bit
2010-12-23 07:35:32 +00:00
Dan Stillman
c8cca79217
Fix creator type menu and field transform popup for Fx4 compatibility
...
Addresses #1726 , Firefox 4 Compatibility
2010-12-22 08:59:22 +00:00
Simon Kornblith
dd665ec41f
try to load libc from libc.so.6 on Linux (since this appears to work, but loading from libc.so fails)
2010-12-21 19:12:17 +00:00
Simon Kornblith
8c80d6acb6
- update to latest update.xsl
...
- update to citeproc-js 1.0.93
From 1.0.93:
Cast human-readable dates parser as a separate JS module, and provide
documentation in the processor manual.
Small change to multiple value handling in cs:number.
From 1.0.92:
Fix wrong ordinal suffix assignment for values 11 - 13 (for English,
at least).
From 1.0.91:
Set circa rather than fuzzy on uncertain dates in the internal human-
readable dates parser.
From 1.0.90:
Reimplement language conditions through cs:layout rather than
cs:choose.
From 1.0.89:
In language condition statements, allow multiple locales to be
specified in a condition; restrict fallback behavior to base (single
two-character) locale specifiers; and use the first locale listed in
the attribute as the locale to be assigned to children of the
condition when the test is successful.
Properly honor locale for quotes and punctuation in language condition
statements.
Implement dynamic locale-sensitive layout delimiter and affixes with
language condition statements.
Fix minor bug in xmle4x.js XML parser that affected some locale load
operations that can arise when executing language condition
statements.
2010-12-21 18:37:06 +00:00
Simon Kornblith
b43c6da675
disable full screen button in standalone (for now, until preview pane is implemented)
2010-12-21 05:54:33 +00:00
Simon Kornblith
e71bed5297
fix minor error
2010-12-21 05:50:32 +00:00
Simon Kornblith
493b3225f6
improve error handling in integration worker
2010-12-21 05:49:53 +00:00
Simon Kornblith
03f8f11156
fix display glitches in Fx 4
2010-12-21 03:45:27 +00:00
Simon Kornblith
e36979747e
changes to integration error handling:
...
- show the error message for errors during initialization
- allow Python to throw ExceptionAlreadyDisplayed to suppress a further error message
2010-12-20 23:50:47 +00:00
Simon Kornblith
e681b4698f
enable integration pipe on patched 2.0b9pre builds (unpatched builds will log an error)
2010-12-20 05:11:22 +00:00
Simon Kornblith
7a4782073c
remove globalRegionDTD from standalone.xul (breaking xulrunner 11/12+)
2010-12-20 04:46:43 +00:00
Simon Kornblith
0ccc6d0892
don't need bufPtr
2010-12-19 06:41:33 +00:00
Simon Kornblith
1ed0c88c32
protect against potential buffer overflow
2010-12-19 06:28:37 +00:00
Simon Kornblith
afea210a99
add missing file
2010-12-19 06:27:42 +00:00
Simon Kornblith
66b1ce048d
- Update integration pipe code so that it will work with Fx 4.0b9 once it is released. At the moment, this only works if Firefox is patched with the patch at https://bugzilla.mozilla.org/show_bug.cgi?id=615153 , which requires compiling from source.
...
- Fix integration issues with Minefield.
2010-12-19 06:26:47 +00:00
Dan Stillman
a97d70da9e
Fix broken error reporting
2010-12-14 17:39:06 +00:00
Dan Stillman
1977ae1541
Tweak spacing of "Get word processor plugins..." line in prefs
2010-12-13 22:45:53 +00:00
Dan Stillman
17fae0d657
Fix tag not disappearing on removal from item if tag selector is closed
2010-12-13 22:28:45 +00:00
Dan Stillman
07c450acbf
Remove unnecessary joins
2010-12-13 22:10:06 +00:00
Dan Stillman
2f7bf480c0
Display proper error message if Zotero directory or Zotero database is not writable, instead of just if the database isn't readable
2010-12-13 22:09:20 +00:00
Dan Stillman
ef36b39454
Use separate buttons for "Reset Translators" and "Reset Styles" in preferences
2010-12-13 22:07:13 +00:00
Dan Stillman
045667fe93
Fixes #1724 , Missing box around tags popup in attachment metadata pane in Firefox 4
2010-12-13 21:25:31 +00:00
Dan Stillman
f4cfba06d3
Fixes #1708 , discontinuities in context menus in Fx4
2010-12-13 21:20:45 +00:00
Dan Stillman
cba0c0ad51
Replace WebDAV HEAD requests with GET requests
2010-12-13 18:20:06 +00:00
Simon Kornblith
4bdfa5f30b
revise comment
2010-12-12 13:29:28 +00:00
Simon Kornblith
43670e3d4c
fix invalid XML on export due to quotation marks in URI
2010-12-12 13:24:47 +00:00
Simon Kornblith
e01aa91e49
check UTF-8 in separate chunks, since running a regexp on too much data produces an error
2010-12-12 07:16:00 +00:00
Simon Kornblith
071c05e0bb
return en-US test, which i had disabled for testing
2010-12-11 07:02:24 +00:00
Simon Kornblith
0f96de71ac
also update timeline
2010-12-11 07:01:39 +00:00
Simon Kornblith
83d34a9f77
load date strings from Fx dateFormat bundle instead of using citeproc-js
2010-12-11 07:00:42 +00:00
Simon Kornblith
ac9d524a9f
update to citeproc-js 1.0.88
...
From 1.0.82:
Fixes to cs:if and cs:else-if logic. Was failing to set the match
attribute on singleton nodes, among other things.
Treat greek letters as part of the "romanesque" character set, for
name formatting purposes.
If cs:number input has numbers separated by spaces, but also
extraneous non-comma, non-ampersand, non-hyphen characters, then
render as literal.
From 1.0.83:
Use en-dash rather than hyphen in formatted page range joins.
From 1.0.84:
Preserve explicit double spaces in HTML output.
From 1.0.85:
Pass full suite of double space suppression tests.
Language switching within a style works, for both localized dates and
terms. (This functionality is not yet valid in CSL.)
From 1.0.86:
Address bug that caused unreasonable delays with large namesets.
From 1.0.87:
Where et-al-min, et-al-subsequent-min or names-min are set to some
value larger than zero, and the number of names in a nameset exceeds
an arbitrary threshold of 50, truncate author lists that are longer
than the *-min value (plus a buffer value of 2), to raise performance
to a reasonable level with large namesets.
From 1.0.88:
Adjustments to language condition logic, to use only the base language
name for matching, while applying the full locale specified in the
conditional to node children.
Refinements to the recently introduced handling of brace-enclosed
leading characters as initialized form of names.
Adjustments to print statement arbitration, with a view to playing
nice with various systems.
2010-12-10 07:12:08 +00:00
Simon Kornblith
070c8eb7a5
fix code mistakenly removed in r7384
2010-11-30 21:02:34 +00:00
Simon Kornblith
17466694bb
fix error message display during Standalone startup
2010-11-30 20:59:21 +00:00
Simon Kornblith
add7bef0be
Show a meaningful error message when multiple instances of Zotero are open simultaneously
2010-11-30 20:34:08 +00:00