Update utilities.js
Merge pull request #485 from f-mb/4.0

Update utilities.js
Update utilities.js
Check for NS_ERROR_STORAGE_CONSTRAINT in tag constraint error
Use base-mapped dates for sorting (broken in dd477e15)
Error report improvements

- Always allow "Report Errors...", even when no errors

- Show submitted diagnostic info in report

- Use white background and unitalicized text for report

- Make window larger by default
Blacklist additional errors
Merge new English strings
Merge pull request #489 from f-mb/csl-mapping

Update csl mapping
Persist single position/size for all note windows

Previously, position/size was persisted for each item's note
individually, but that meant that there was no default position/size for
the note window and an entry was created in localstore.rdf for
every note opened in a new window. There's also a good chance people had
no idea what was going on.
Enforce minimum note font size of 6px

https://forums.zotero.org/discussion/37147/
Allow inline editing of collection names

Can be triggered by double-clicking or Return and also by F2 on
Windows/Linux

This does mean double-clicking no longer toggles the collection open and
closed. If we wanted to preserve that we could probably capture the
double-click.

Closes Trac ticket 231, only 8 years later
Link translator errors to troubleshooting page instead of known issues
Fix CSL-JSON date import
Merge pull request #494 from aurimasv/csljson-date

Fix CSL-JSON date import
Fix search condition handling when two conditions have same translation

This prevented one "Numéro" from working in the French locale.

Also do a proper collation sort
Hack to fix "Numéro" search condition in French locale

https://forums.zotero.org/discussion/14942/
Fix "<" in translator error popup in French locale

https://github.com/zotero/zotero/commit/ba89dbf0ae0617a14c269bf6f831f47653cfb566#commitcomment-6535838
Release server port when shutting down (e.g. switching to Connector mode)
Fix race condition when starting in Connector mode
When starting in Connector mode (i.e. Standalone is open), Zotero first starts in Full mode, looks for Standalone, then "shuts down" and restarts in Connector mode. `Zotero.shutdown()` returns a promise which is then followed up by a `Zotero.init` call. Thus, when starting in Connector mode, Zotero initialization is asynchronous and makes it possible for `Zotero_Browser.init()` to be called before `Zotero.initialized` is true, which prevents `Zotero_Browser` from initializing. Additionally, even if `Zotero_Browser.init()` is called after Zotero is initialized in Connector mode, it is possible that `Zotero_Browser.init()` will be called _after_ the "load" event for browser.xul has already fired, so `chromeLoad` is never called. This patch ensures that both of these race conditions are taken into account.