1. 12 Apr, 2021 1 commit
  2. 07 Apr, 2021 1 commit
  3. 04 Apr, 2021 3 commits
  4. 03 Apr, 2021 1 commit
  5. 07 Mar, 2021 1 commit
  6. 15 Feb, 2021 1 commit
    • Matt Mascarenhas's avatar
      cinera.web: Prevent auto-scroll to hidden elements · 828fff7a
      Matt Mascarenhas authored
      The search page could auto-scroll to the top when the grid is not
      displayed. This commit fixes that problem by ensuring that the grid
      element has a width and height before seeking to auto-scroll to it.
      
      Thanks to Leonardo Serafim Eid for the report
      828fff7a
  7. 12 Feb, 2021 4 commits
  8. 10 Feb, 2021 3 commits
  9. 06 Feb, 2021 2 commits
  10. 05 Feb, 2021 3 commits
  11. 04 Feb, 2021 1 commit
  12. 03 Feb, 2021 4 commits
  13. 27 Jan, 2021 1 commit
  14. 25 Jan, 2021 2 commits
    • Matt Mascarenhas's avatar
      cinera.css: Fix menu bar padding · eccd02cc
      Matt Mascarenhas authored
      Workaround qutebrowser's (QtWebEngine) inability to handle a list of
      selectors in the :not() selector
      eccd02cc
    • Matt Mascarenhas's avatar
      cinera v0.8.0: Mobile-friendly layout · 3945ac88
      Matt Mascarenhas authored
      Major features:
          Search page: Subdivision grid layout
          Player page: Device orientation-specific layout
      
      Fixes:
          Strip slashes of the URLs: base_url, etc.
          Fix SnipeChecksumAndCloseFile() to not null-terminate the checksum string
          Fix hover background colouration of medium icons of current timestamp
          Fix DeriveLineageWithoutOriginOfProject() to call InitBookOfPointers()
          Fix SortAndAbbreviateSpeakers() to use the person's ID if Name is blank
          More directly display the "unit", if set, in the search results
          Fix VideoIsPrivate() to find the apparently relocated privacyStatus
          Make VideoIsPrivate() default to TRUE for non-youtube
          Output as keywords all topics that do not match "nullTopic"
      
      Deleted asset:
          cinera_search.js
      
      New assets:
          cinera_search_pre.js
          cinera_search_post.js
      3945ac88
  15. 24 Jun, 2020 3 commits
    • Matt Mascarenhas's avatar
      6eeb588a
    • Matt Mascarenhas's avatar
      b3470e0f
    • Matt Mascarenhas's avatar
      cinera.c: Sanitise Memory · 27486878
      Matt Mascarenhas authored
      Fixes / Improvements:
      
      •   Switch all growable arrays to use memory_book, rather than realloc()
      •   Lift a bunch of hardcoded string lengths and item counts
      •   malloc() the MemoryArena rather than calloc(), thus saving 3 MiB
      •   Reorganise HMMLToBuffers() to return from one place, the end
      •   Print indexing errors in the same style as config errors / warnings
      
      Diagnoses:
      
      •   Identified sources of "non-freed" memory usage and marked them +MEM.
          This may aid future work on further reducing memory / cycle usage.
      
      New config settings:
      
      •   suppress_prompts boolean
      27486878
  16. 03 Jun, 2020 1 commit
  17. 30 May, 2020 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Fix segfault and event handling · 0959fa27
      Matt Mascarenhas authored
      • Segfault was due to a read access violation on an unset entry pointer,
        which in turn was due to stale neighbourhood data. To fix it we simply
        reset the neighbourhood when starting to delete an entry. Additionally
        we now check that those entry pointers are set before accessing them.
      
      • Event handling of the trio of events triggered when vim saves a file.
        We now read in a second set of events while processing the first if we
        were on the verge of processing a deletion. If we get any more events,
        we continue to squash those ones if possible, to always end up having
        seen the entire trio of events associated with a file save, and then
        process it as an insertion / reinsertion, not a deletion.
      
      • Sort the asset landmarks by their offset.
      
      • Change GenerateTopicColours() to initially open cinera_topics.css as
        "r" to search it for the incoming topic, and only if that topic is
        absent reopen it as "a+", thus triggering an IN_CLOSE_WRITE event.
      0959fa27
  18. 24 May, 2020 2 commits
  19. 17 May, 2020 3 commits
    • Matt Mascarenhas's avatar
      Fix the 3-way filter associating · 8aa67a38
      Matt Mascarenhas authored
      Add the data-searchLocation attribute to the search results
      8aa67a38
    • Matt Mascarenhas's avatar
      Prevent file clashes · ce9a0e76
      Matt Mascarenhas authored
      Config parsing now errors-out when it detects clashes between:
          base_dir and search_location, and global_search_dir
          base_dir and player_location
      
      This prevents us from generating search / project pages of multiple
      projects (incl. global_search_dir) at the same location, which would
      screw up the asset landmarks.
      ce9a0e76
    • Matt Mascarenhas's avatar
      Fix global search page generation and filter · 877dbab5
      Matt Mascarenhas authored
      This change makes GenerateGlobalSearchPage() pass the Config to
      BuffersToHTML(), which in turn passes it on to GenerateNavigation(),
      thus preventing a null-pointer deference when setting the Theme.
      
      It also fixes the filter by using all three of baseURL, searchLocation
      and playerLocation to associate the filter and index elements.
      877dbab5
  20. 16 May, 2020 1 commit
    • Matt Mascarenhas's avatar
      Fix search_ and player_location related bugs · 9dfdc117
      Matt Mascarenhas authored
      On the search pages use the search_location and player_location, in
      addition to the base_url, to associate filter and index entries, such
      that the filter actually works.
      
      Fix the .index file location for projects with a search_location. As
      this is now consistent, we happen to fix a crash that happened when
      changing the search_location.
      
      New config option:
      
          deny_bespoke_templates
               Indexers may use the "template" attribute in the video node of
               an .hmml file to set a bespoke template for that entry,
               superseding any configured player_template. Setting
               "deny_bespoke_templates" to true prevents this.
      9dfdc117
  21. 14 May, 2020 1 commit
    • Matt Mascarenhas's avatar
      cinera.c: Memorable Templates · e2ea8fda
      Matt Mascarenhas authored
      • Pack all templates before sync'ing the projects
      • Delay generation of navigation bars until BuffersToHTML(), and free them
        when switching projects
      • Change many variably-lengthed items to use memory_book
      • Do not push on multiple support scopes with the same ID
      • Prevent crash when trying to snipe an asset checksum into an HTML file
        we were never permitted to create
      • Reorganise ReadFileIntoBuffer() and related functions into cinera.c
      
      New Template Tags:
      
          __CINERA_GLOBAL_NAV__
      e2ea8fda