1. 09 Sep, 2021 2 commits
  2. 08 Sep, 2021 19 commits
  3. 06 Sep, 2021 12 commits
  4. 03 Sep, 2021 1 commit
    • Eduardo Sanz García's avatar
      Move `listener-collection.js` to `src/shared` · c91cbf0e
      Eduardo Sanz García authored
      `src/shared/port-rpc.js` depended on
      `src/annotation/util/listener-collection.js`. Files in the `src/shared`
      folder should not have dependencies on `src/annotation`.
      
      `ListenerCollection` is a very general utility and the placement in
      `src/shared` seems correct.
      
      I took the opportunity to reorder the imports according to our
      conventions.
      c91cbf0e
  5. 02 Sep, 2021 1 commit
  6. 01 Sep, 2021 1 commit
    • Robert Knight's avatar
      Fail anchoring in PDFs if there is no quote selector · 47706128
      Robert Knight authored
      Changes in text rendering across PDF.js versions can render position
      selectors invalid. Therefore any anchoring done with position selectors must
      be checked against the quote, as we do with HTML annotations.
      
      This commit disallows anchoring using only position selectors in PDFs
      and restructures `anchor` control flow using async/await to make it
      easier to follow.
      
      We have been capturing quote selectors with PDF annotations forever, so
      there should be no impact on old annotations.
      47706128
  7. 31 Aug, 2021 4 commits