Permalink
Commits on Oct 23, 2017
  1. Fix "item._changed.creators is undefined" error at startup

    dstillman committed Oct 23, 2017
    This could occur if creator indexes needed to be corrected for an item.
Commits on Oct 21, 2017
  1. Separate identifer parsing from Add Item by Identifier and search tra…

    dstillman committed Oct 21, 2017
    …nslation
    
    - Move identifier detection to `Zotero.Utilities.Internal.extractIdentifiers()`
      so that it can be used for things other than Add Item by Identifier
      (e.g., translation-server)
    - Add a `Zotero.Translate.Search::setIdentifier()` function that takes an
      identifier object produced by `extractIdentifiers()` (`{ DOI: "10/..." }`),
      converts that to the search format expected by translators, and calls setSearch()
Commits on Oct 20, 2017
  1. Improve idle detection for full-text content processor

    dstillman committed Oct 20, 2017
    It was previously possible for a return-from-idle to not properly stop
    active processing.
Commits on Oct 19, 2017
Commits on Oct 18, 2017
  1. More 2x icon fixes

    dstillman committed Oct 18, 2017
    Follow-up to 5b2af48
  2. Update submodules

    dstillman committed Oct 18, 2017
  3. Update locales from Transifex

    dstillman committed Oct 18, 2017
  4. Toolbar button and icon overhaul

    dstillman committed Oct 18, 2017
    - New 2x toolbar button shapes and other icons from @johanneskrtek --
      this HiDPI-ifies basically all graphics other than a few remaining item
      type icons
    - Use the Mac search dropmarker for all menu buttons, since it's wider
      and more pleasant. Reduce menu button padding slightly to compensate.
    - Better toolbar button state for inactive window and pressed state
    - Fix dropmarker overlap in tag selector icon
    
    Closes #347, Better/retina-style OS X toolbar icons
    Closes #1339, Create new button PNGs for macOS
  5. Update version

    dstillman committed Oct 18, 2017
Commits on Oct 10, 2017
  1. Fix #1335, Item drag and drop is unreliable

    dstillman committed Oct 10, 2017
    Regression from e62433e
    
    Load a locale file once via nsIConverterInputStream and cache it for
    subsequent retrieveLocale() calls. I'm not sure if using a stream
    instead of synchronous XHR is actually necessary now that there's
    caching, but it can't hurt.
Commits on Oct 8, 2017
  1. Save note on forward-delete when text is selected

    dstillman committed Oct 8, 2017
    This doesn't generate a keypress event for some reason, even though it
    does when no text is selected.
  2. Fix sync error from invalid link mode in database

    dstillman committed Oct 8, 2017
    And add cleanup step to DB integrity check
Commits on Oct 7, 2017
Commits on Oct 5, 2017
  1. Merge pull request #1293 from zotero/xhr-processDocuments

    dstillman committed Oct 5, 2017
    XMLHttpRequest() processDocuments
  2. Remove babel-plugin-transform-async-to-module-method

    dstillman committed Oct 5, 2017
    Everything we support supports async/await now, so stop converting to
    Bluebird coroutine().
  3. Switch to XMLHttpRequest for processDocuments()

    dstillman committed Aug 19, 2017
    processDocuments() now uses an XHR 'document' request, wrapped to
    provide a 'location' property, and uses promises for a simpler call
    signature (though the old one will continue to work, for existing
    translators). 'done' and 'exception' can now be handled via promises,
    and in the translator sandbox an optional noCompleteOnError argument
    instructs it not to automatically cancel the translation process with an
    error (e.g., for supplementary materials).
    
    Since we do need a hidden browser in some situations (e.g., for saving
    snapshots), the old hidden-browser-based processDocuments() is still
    available as Zotero.HTTP.loadDocuments().
    
    This hopefully also fixes various problems with document property access
    in translation-server.