1. 02 Ock, 2019 1 kayıt (commit)
  2. 16 Ara, 2018 6 kayıt (commit)
  3. 14 Ara, 2018 1 kayıt (commit)
  4. 12 Ara, 2018 1 kayıt (commit)
  5. 10 Ara, 2018 2 kayıt (commit)
  6. 09 Ara, 2018 5 kayıt (commit)
  7. 07 Ara, 2018 1 kayıt (commit)
  8. 06 Ara, 2018 4 kayıt (commit)
  9. 05 Ara, 2018 7 kayıt (commit)
  10. 04 Ara, 2018 2 kayıt (commit)
  11. 03 Ara, 2018 10 kayıt (commit)
    • Colomban Wendling's avatar
      23f51e4e
    • Colomban Wendling's avatar
      8f16685d
    • Thomas Martitz's avatar
      Changes for review comments · 724e7886
      Thomas Martitz yazdı
      - Notably the utils_strv_{find_common_prefix,find_lcs,shorten_file_list}
        now take -1 for num to mean to compute the array length.
      
      - utils_strv_find_common_prefix implementation simplified.
      
      - if num == 0 is passed to the above functions the passed strv is not
        dereferenced (so could be NULL).
      724e7886
    • Thomas Martitz's avatar
      Refactoring and review comments · e0a2c627
      Thomas Martitz yazdı
      - Fix lots of compiler warnings
      - Fix a bug where a long base name would prevent ellipsizing the longest
        common substring
      - rewrite utils_strv_shorten_file_list to be more clear (hopefully)
      - use g_strlcpy
      - optimize case where the longest common substring need not be searched for
      e0a2c627
    • Thomas Martitz's avatar
      api: pass gtkdoc annotation parameter as-is · fb9673eb
      Thomas Martitz yazdı
      The array annotation has many possible parameters, this avoids having a Doxygen
      command for each one.
      
      Luckily you can define Doxygen commands multiple times with different a number
      of parameters each.
      fb9673eb
    • Thomas Martitz's avatar
    • Thomas Martitz's avatar
      api: export new utils_strv_shorten_file_list() function · c0583705
      Thomas Martitz yazdı
      Since I based the algorithm of the above function on code in one of my python
      plugins, I would like to remove the implementation in my plugin and call
      Geany's function.
      c0583705
    • Thomas Martitz's avatar
      gtkdoc: add support for array annotions · 3512f6cc
      Thomas Martitz yazdı
      We can now use @array and @arraylen{param} annotations for arrays that
      will make it to the generated gtkdoc header.
      
      g-ir-scanner cannot properly parse 'gchar **' parameters without this.
      3512f6cc
    • Thomas Martitz's avatar
      symbols: provide a bit more path information in the goto-symbol popup. · b116a668
      Thomas Martitz yazdı
      From #1069:
      > At the moment if symbols of the same name are defined in identically named
      > files, it's hard to distinguish which file is which because there's no path
      > in the popup.
      
      > The popup should show part of the path until a directory where the paths
      > differ so it's possible to distinguish the different files. At the same time
      > there should probably be some top limit for the length of the paths as they
      > can make the popup too wide.
      
      This addresses the above by showing more of the file's paths but still try
      to make it as short as possible. The file list is processed by the new
      utils_strv_shorten_file_list(), as a result the popup will list files with
      the common prefix stripped and the longest common sub-path ellipsized.
      
      As a result, the file list shows enough of the path to make them unique but
      still is still very short and doesn't make the dialog too wide.
      
      Fixes #1069.
      b116a668
    • Thomas Martitz's avatar
      utils: add functions to process file name list · 4956b05d
      Thomas Martitz yazdı
      1) utils_strv_find_common_prefix
      Locates the common prefix.
      
      2) utils_strv_find_lcs
      Finds the longest common substring.
      
      3) utils_strv_shorten_file_list
      Transforms the file list by removing the common prefix and ellipsizing
      the longest common substring. This is intended to be used for fixing #1069.
      
      Although only 3 will be used immediately, I separated the functionality, so
      that the other two function can be used on their own.
      4956b05d