Commit graph

5916 commits

Author SHA1 Message Date
Simon Kornblith
dde9901c72 Anchor regex 2013-06-13 14:37:51 -04:00
Simon Kornblith
da4e7dd4f1 Merge branch '4.0' 2013-06-13 14:20:06 -04:00
Simon Kornblith
9f0e5c02a6 Ignore files in translators directory not ending in .js
Fixes #339
2013-06-13 14:18:59 -04:00
Simon Kornblith
f02132f5a9 Merge pull request #330 from aurimasv/4.0
Prefer higher priority translators even if they don't target the top frame
2013-06-06 16:50:34 -07:00
Simon Kornblith
6ef9a061f3 Only use Components.utils.methodjit when supported
As Boris Zbarsky pointed out in
https://bugzilla.mozilla.org/show_bug.cgi?id=878679,
the setTimeout() hack doesn't help in Firefox 23 and later. For now we
use the useMethodjit hack when available, so that performance won't
regress for Firefox 23, and cross our fingers that
https://bugzilla.mozilla.org/show_bug.cgi?id=776798 is fixed for
Firefox 24.
2013-06-06 19:38:48 -04:00
Simon Kornblith
1cee348f51 Revert "Remove use of Components.utils.methodjit"
This reverts commit 53a4d987b6.
2013-06-06 19:31:09 -04:00
Simon Kornblith
aecdf99482 Use Services.jsm where possible 2013-06-06 02:37:19 -04:00
Simon Kornblith
37425195c6 Merge branch '4.0' 2013-06-05 18:20:59 -04:00
Simon Kornblith
53a4d987b6 Remove use of Components.utils.methodjit
It appears that this flag can no longer be set in new-ish Nightlies.
This patch switches code that used nsITimers with the
Components.utils.methodjit hack to use setTimeout on the hidden DOM
window instead, so that we still get the JIT. (See
https://bugzilla.mozilla.org/show_bug.cgi?id=776798)

This might also mean that callbacks from doGet etc. no longer get JITed.
At some point, we should test this with the JIT profiler.
2013-06-05 18:12:52 -04:00
Simon Kornblith
5bfee27ab9 Remove unused getService for VersionComparatorService 2013-06-05 17:55:49 -04:00
Simon Kornblith
5bde5a106b Use Services.obs instead of getService for observer service 2013-06-05 17:54:53 -04:00
Aurimas Vinckevicius
7fb3c13bc2 Prefer higher priority translators even if they don't target the top frame.
E.g. pdf+html pages for HighWire 2.0 (http://www.plantcell.org/content/25/4/1213.full.pdf+html?with-ds=yes)
2013-05-27 18:43:42 -05:00
Simon Kornblith
a7984916ad Protect against pasting HTML-formatted text into QuickFormat dialog 2013-05-24 00:39:19 -04:00
Simon Kornblith
c0f3e3c425 Fix box scrolling 2013-05-23 23:27:29 -04:00
Simon Kornblith
a439456f05 Don't let bubbles get highlighted 2013-05-23 23:27:29 -04:00
Simon Kornblith
3eff3605f7 Fix deletion and keyboard navigation 2013-05-23 23:27:29 -04:00
Simon Kornblith
9c63379544 Fix drag and drop in QuickFormat dialog.
Unfortunately, this required switching from using labels to spans,
which means there is more work to make the delete key work properly
again.
2013-05-23 23:27:29 -04:00
aurimasv
fdb35e2e92 Allow right-click on multiple items in duplicate view. Closes #53 2013-05-20 04:39:19 -05:00
Dan Stillman
311e6f2fa7 Merge pull request #326 from aurimasv/dup-click
Tweak duplicate view click behavior
2013-05-19 20:21:49 -07:00
Aurimas Vinckevicius
4546089672 Tweak duplicate view click behavior
Allow ctrl/alt/shift click actions in duplicate view. (closes #324)
Allow right-click behavior on single item/attachment selection. (closes #325)
2013-05-19 22:20:28 -05:00
Dan Stillman
d3ec8fcdcf Ignore standalone-no-display class when building attachment button menu 2013-05-19 00:14:13 -04:00
Dan Stillman
c5291bdd7d Remove unnecessary ids after bfb30eed59 2013-05-19 00:10:49 -04:00
Dan Stillman
903fc0e001 Fix incorrect id in bfb30eed59 2013-05-19 00:10:08 -04:00
Dan Stillman
8761666e34 Merge pull request #323 from aurimasv/sa-no-display
Don't display snapshot or link from page context menus for Standalone
2013-05-18 21:06:41 -07:00
aurimasv
bfb30eed59 Don't display snapshot or link from page context menus for Standalone 2013-05-18 23:01:24 -05:00
Dan Stillman
8a935c8443 Add Indonesian locale 2013-05-17 14:43:26 -04:00
Dan Stillman
bbf066f55a Merge pull request #313 from adam3smith/adduris
add more item handler protocols to add by URI
2013-05-14 00:06:42 -07:00
Dan Stillman
9c82a7a661 Reset Quick Copy list when resetting translators, too 2013-05-10 14:51:41 -04:00
Dan Stillman
5fbd569fdf Fix refreshing of Quick Copy list when resetting styles 2013-05-10 14:49:29 -04:00
Dan Stillman
6b61795d96 Fix NS_ERROR_FILE_IS_LOCKED if no files to add to upload zip 2013-05-10 01:14:22 -04:00
Simon Kornblith
0805a943ba Merge branch '4.0'
Conflicts:
	chrome/content/zotero/xpcom/zotero.js
	install.rdf
	update.rdf
2013-05-09 22:12:10 -04:00
Simon Kornblith
4616a51874 Fix #318, x-www-form-urlencoded, not x-www-urlencoded 2013-05-08 13:23:33 -04:00
Simon Kornblith
2a33ede284 Fix innocuous error installing a style
Installing a style could throw an error if the preferences were open and the
styles pane had not yet been selected, although the style would be
successfully installed.

See https://forums.zotero.org/discussion/29250/importing-a-new-style/
2013-05-02 14:48:53 -04:00
Dan Stillman
01fd28b99f Update versions 2013-05-02 03:10:38 -04:00
Dan Stillman
59ef9c89da Fix DB upgrade error after running <=Zotero 4.0.6 on 4.0.7 DB 2013-05-02 03:06:37 -04:00
Simon Kornblith
f2e411e7d3 Merge pull request #316 from aurimasv/pref-defaults
Add default values for translator hidden prefs.
2013-05-01 22:39:28 -07:00
Dan Stillman
5268907798 Add new string to other locales 2013-05-02 01:28:04 -04:00
Dan Stillman
5a2a485a79 Add a WebDAV verification step to ensure 404 on missing files 2013-05-02 01:19:26 -04:00
Dan Stillman
9b5327ecd7 Fix spacing of sync auto-change log message 2013-05-01 23:58:48 -04:00
Dan Stillman
877b8741ae Fix some tag bugs from efda43f6e3 (and maybe also earlier?) 2013-05-01 23:58:33 -04:00
Dan Stillman
efda43f6e3 Speed up saving of tags with many items
Fixes #289, RIS import gets progressively slower
2013-05-01 19:16:15 -04:00
Dan Stillman
9e8559b4be Speed up flattenArguments() 2013-05-01 18:29:44 -04:00
Dan Stillman
35f1720b08 Add missing index to creatorData table
It's amazing what you can find when you actually have a profiler.
2013-05-01 18:00:28 -04:00
Dan Stillman
8bed3d44ed Remove another extra function wrapper 2013-05-01 16:19:01 -04:00
Dan Stillman
1e47d12436 Remove extra function wrapper 2013-05-01 16:17:32 -04:00
Dan Stillman
75293a475d Use nicer alerts for error reporting error messages 2013-05-01 15:33:15 -04:00
Dan Stillman
2a7a604f28 Use foreground requests for manual sync and error reporting
Adds a 'foreground' flag to Zotero.HTTP.promise() options

Also, can now pass successCodes: false to always resolve the promise and never
throw UnexpectedStatusException
2013-05-01 15:30:39 -04:00
Dan Stillman
e09295ee76 Fix compatibility with authenticated proxies
It's not clear when this became an issue, but our usual background HTTP
requests (set that way to avoid triggering auth prompts when saving from
websites) weren't triggering proxy authentication dialogs, which was breaking
most network activity in Standalone. To fix this, we now make a foreground
request at startup to a file on S3 and resolve the Zotero.proxyAuthComplete
promise when we're done. Any network requests that want to wait for proxy
authentication can wait for that promise.

This behavior can be disabled via the triggerProxyAuthentication hidden pref.
2013-05-01 06:29:31 -04:00
Simon Kornblith
527e0ebf4e Update to citeproc-js 1.0.460 2013-05-01 01:49:27 -04:00
Dan Stillman
73b90eb1df Update versions 2013-05-01 01:16:41 -04:00