The GitHub Actions job "CMake" on subversion.git/trunk has failed.
Run started by GitHub user asf-gitbox-commits (triggered by asf-gitbox-commits).

Head commit for run:
7788d5f43744a769ed1c8f3f00927175ed4395fb / Timofei Zhakov <[email protected]>
svnbrowse: Display file information if a file is opened. This prevents it from
crashing when each time when we face a file. Yet it's not perfect but at least
we have state handling logic and the looks can be improved later.

* subversion/svnbrowse/model.c
  (state_from_file, state_from_dir): New functions; state_from_dir does the
   same thing as svn_browse__state_create() was before.
  (svn_browse__state_create): Forward logic to either state_from_file or
   state_from_dir. Currently try directory first and in case of an error treat
   it as a file.
* subversion/svnbrowse/svnbrowse.c
  (#include): Add svn_time.h.
  (view_on_event): Check state before proceeding to handle keystrokes.
  (view_get_list_height): New function.
  (view_draw_footer): Use view_get_list_height() to measure size of the
   current list.
  (dir_draw, file_draw): New functions. 
  (view_draw): Call either dir_draw() or file_draw() based on the current
   state.
* subversion/svnbrowse/svnbrowse.h
  (svn_browse__state_type_e): New enum.
  (svn_browse__state_t): Add info for node if it was a file and update some
   comments.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1934261 
13f79535-47bb-0310-9956-ffa450edef68

Report URL: https://github.com/apache/subversion/actions/runs/25965804975

With regards,
GitHub Actions via GitBox

Reply via email to