Dan Stillman
d102e32f7d
Fix potential crash when dragging in files on some systems
...
This might fix https://forums.zotero.org/discussion/57031
2016-02-24 04:03:05 -05:00
Dan Stillman
f6fc14f7a0
Enforce Unix newlines
...
Without this, a Git checkout on Windows could result in files with
Windows newlines, which aren't read properly in some cases.
2016-02-23 14:46:54 -05:00
Dan Stillman
2d8f37967e
Add -h flag to test runner to display help cleanly
2016-02-22 16:00:37 -05:00
Dan Stillman
72302c8e24
Make selected, onfocused tree row highlight color on Linux more distinct
...
By default it's very close to the alternating row color (even in Places)
https://forums.zotero.org/discussion/56942/
2016-02-20 17:33:53 -05:00
Dan Stillman
a152e35786
Don't create itemSeeAlso table (already removed via schema updates)
2016-02-17 18:04:06 -05:00
Dan Stillman
c813df84dd
Show proper error message on Firefox login manager service failure
...
If the XPCOM service can't even be retrieved, show the same message as
when there's an error finding logins.
2016-02-15 01:47:11 -05:00
Dan Stillman
45c2265c1e
Update DB query return value check in Collection::getChildItems()
2016-02-11 15:07:41 -05:00
Dan Stillman
4d85866ade
Fix translation breakage after 7c41618a4
2016-02-11 15:06:17 -05:00
Dan Stillman
7c41618a42
Asyncify Zotero.Translate.ItemGetter.prototype.setCollection()/setAll()
...
And some of the calling functions, but there's a lot more to do.
Addresses #520 and #734
2016-02-11 04:25:44 -05:00
Dan Stillman
ad0d6765d7
Fix Zotero.Attachments.linkFromDocument()
2016-02-11 02:54:52 -05:00
Dan Stillman
e137a05201
Merge branch '4.0'
2016-02-11 02:33:16 -05:00
Dan Stillman
5f3313d132
Restore proper sizing of toolbar icons on HiDPI Windows/Linux
...
I guess the idea that switching to PNGs obviated the need for this was wishful
thinking (though it doesn't seem to be necessary for the single buttons anymore
on Linux, and it's no longer necessary on OS X, which has generally saner
styling in Firefox).
2016-02-10 05:21:27 -05:00
Dan Stillman
88f1636d08
Toolbar icon tweaks
...
- Fix spacing on Windows and Linux in latest Firefox versions
- Tweak icon colors on Windows and OS X
- Adjust Z SVG to take up full height, so Z is a full 16px instead of
14px with slight anti-aliasing
- Use generated PNGs instead of SVG for Z toolbar icons, to remove the
need for complicated size rules
- Add separate platform-specific .svg files that are used by a
zotero-build script, make-z-icons, to generate the Z PNGs; the main
SVG is still used directly in the menu panel and customization
palette, with platform media queries to determine the coloring
2016-02-10 03:33:01 -05:00
Dan Stillman
3afc50bbf6
Update maxVersion
2016-02-08 23:49:36 -05:00
Dan Stillman
dd334ac413
Merge locales from Transifex
2016-02-08 23:49:36 -05:00
Dan Stillman
1cf5d16404
Create CONTRIBUTING.md
2016-02-08 19:28:05 -05:00
Dan Stillman
24e8c2e8cb
Closes #758 , Replace tab icon
...
Switch to red Z alone. Only 16px for now, since that's what we have in the red
Z.
2016-02-08 02:18:48 -05:00
Dan Stillman
64e7738bd3
Fix switching into tab mode
2016-02-08 01:37:48 -05:00
Dan Stillman
092a0b5560
Log some additional Standalone startup errors
2016-02-08 00:57:09 -05:00
Dan Stillman
99007af1f9
Fix Standalone startup
2016-02-07 01:51:07 -05:00
Dan Stillman
a20a6c86bc
Closes #899 , Setting max chars to 0 should disable full-text indexing
2016-02-07 01:01:26 -05:00
Dan Stillman
892708d071
Include path in debug output when nsIFile is passed to getContentsAsync()
2016-02-06 15:20:17 -05:00
Dan Stillman
bbdfebf8f6
Avoid repeated search when clearing quick search bar
2016-02-06 15:20:02 -05:00
Dan Stillman
6f1905bcfc
Merge new English strings
2016-02-06 05:09:11 -05:00
Dan Stillman
b05f1d29aa
Backport better incompatible-DB-version handling from 2177a000ea
...
Implements #891 for 4.0
2016-02-06 04:59:15 -05:00
Dan Stillman
3b402c564c
Closes #900 , Change fields order for cases in system.sql
2016-02-06 04:12:07 -05:00
Dan Stillman
49068d1d35
Initialize styles in Cite prefpane if not yet loaded
...
Fixes #904
2016-02-06 03:30:54 -05:00
Dan Stillman
27de351615
Fix middle pane status messages while using quick search
2016-02-06 03:26:31 -05:00
Dan Stillman
47e9f82927
Avoid repeated file existence checks for some files in getImageSrc()
2016-02-06 03:26:01 -05:00
Dan Stillman
1855b5e1f9
A couple better error messages
2016-02-04 04:05:58 -05:00
Dan Stillman
72c927c840
Fix Zotero.Utilities tests, which were being skipped accidentally
...
Unfortunately this will need to be partly redone, since retrieveItem(), and
therefore itemToCSLJSON(), and therefore itemToExportFormat(), need to be
synchronous. The item data load statements in itemToExportFormat() will
probably need to be performed earlier, when they can be async, and made
available to the session for retrieval by retrieveItem(), but I'll let someone
more familiar with the citation infrastructure do that.
This restores some code in retrieveItem() that may have been accidentally
removed in a merge, though it probably won't be useful anymore anyway.
Addresses #529
2016-02-04 04:05:46 -05:00
Dan Stillman
d2d7f2368c
Remove 'version' workaround now that field is named 'versionNumber'
2016-02-04 03:53:04 -05:00
Dan Stillman
9765d06d1d
Use "new" with File constructor, which now requires it
2016-02-03 12:30:24 -05:00
Dan Stillman
7c6a9bba9f
Update test submodules
2016-02-03 02:15:08 -05:00
Dan Stillman
e119e5bf0d
Extra logging for waitForWindow() support function
2016-02-03 01:20:11 -05:00
Dan Stillman
7474b31e96
Don't hang if Zotero.debug() is called on a window
2016-02-03 01:19:44 -05:00
Dan Stillman
9c2a7a9e77
Only retry file sync requests once after 500 error in tests
...
Now that 500 errors are retried in file downloads (ec28c5a3
), we have to
override the default backoff schedule in order to get expected failures.
This also fixes an error that occurred on a retried download.
2016-02-03 01:19:15 -05:00
Dan Stillman
9fb85a263a
Fix LIKE errors in Fx44
...
In Fx44, SQL queries must use '?' with LIKE and cannot concatenate a
placeholder string (e.g., 'foo%'). This is for Sqlite.jsm only, so it
doesn't affect 4.0.
2016-02-03 01:13:30 -05:00
Dan Stillman
7c7ea6a66d
Fix PDF recognition
...
But leave tests disabled, since they should maybe be mocked?
2016-02-02 06:47:54 -05:00
Dan Stillman
8a85114c13
Update comments to recommend Zotero.HTTP.request() instead of .promise()
2016-02-02 05:31:35 -05:00
Dan Stillman
e8046d8ad2
Use Promise.coroutine() instead of Zotero.spawn() for saveItems()
...
(Use -w for diff)
2016-02-02 05:30:54 -05:00
Dan Stillman
a6caa14412
Fix Add Item by Identifier (and search translation in general)
2016-02-02 05:29:02 -05:00
Dan Stillman
741ca99c10
Restore open/save dialog when cancelling MIME type intercept
...
Behavior from #617 apparently got lost in the transition to master
2016-02-02 02:51:52 -05:00
Dan Stillman
d0a99fc0a1
Merge branch '4.0'
2016-02-02 02:44:51 -05:00
Dan Stillman
04d957a95c
Fix "Add Identifier by ID" in Fx45
...
const doesn't create a property on the global object in Fx45
2016-02-02 02:03:46 -05:00
Dan Stillman
ef180d190f
Update submodules
2016-02-01 04:43:49 -05:00
Dan Stillman
6b93704006
Update locales from Transifex
2016-02-01 04:41:11 -05:00
Dan Stillman
950e1a5047
Don't call stop handler twice in storage stream listener
...
The second status code would be 0, so it could result in spurious
S3 retries.
Backported from master
2016-02-01 04:20:22 -05:00
Dan Stillman
ec28c5a35d
Retry S3 requests on 500 or 503 in addition to interruption
...
And adjust S3 success/backoff counters on success
2016-02-01 03:58:45 -05:00
Dan Stillman
eb85fdc42e
An invalid translator file shouldn't break all translation
...
For now, delete it and clear it from the cache so it's updated properly going
forward, but really we want to reinstall the correct file automatically
(#903 ).
2016-01-29 05:34:26 -05:00