1. 18 Aug, 2020 2 commits
  2. 17 Aug, 2020 1 commit
  3. 15 Aug, 2020 1 commit
  4. 13 Aug, 2020 4 commits
  5. 12 Aug, 2020 5 commits
  6. 11 Aug, 2020 4 commits
  7. 10 Aug, 2020 7 commits
  8. 07 Aug, 2020 1 commit
    • Patrick Bajao's avatar
      Add References struct · 55363e35
      Patrick Bajao authored
      Extract references parsing logic to a separate file and struct.
      Also modified `Item` struct to have `Line` as `int32` so it'll
      be fixed size.
      
      This is in preparation for another MR wherein references will be
      stored in file instead of memory.
      55363e35
  9. 06 Aug, 2020 5 commits
  10. 31 Jul, 2020 1 commit
  11. 30 Jul, 2020 1 commit
  12. 24 Jul, 2020 1 commit
  13. 23 Jul, 2020 1 commit
  14. 16 Jul, 2020 4 commits
  15. 15 Jul, 2020 2 commits
    • Jacob Vosmaer's avatar
      Merge branch '217392-read-references' into 'master' · ce696bcf
      Jacob Vosmaer authored
      Read and parse LSIF references
      
      See merge request gitlab-org/gitlab-workhorse!524
      ce696bcf
    • Patrick Bajao's avatar
      Read and parse LSIF references · 978671ce
      Patrick Bajao authored
      In order to be able to "Find references" of a given range or
      definition, we need to be able to read `references` items from
      the LSIF file.
      
      This will then be written to the JSON file for each range via
      `references` property.
      
      The property will look something like:
      
      ```
      "references": [
        {
          "path": "main.go#L7"
        }
      ]
      ```
      
      Each reference will be an object with `path` property. The `path`
      property will point to the exact line where it is being used.
      
      This is currently behind a feature flag (`code_navigation_references`)
      which will set `ProcessLsifReferences` header to `true` when
      enabled. If `false`, the `references` won't be read and generated.
      978671ce