Commit graph

2357 commits

Author SHA1 Message Date
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