Merge branch '3876_cleanup'
commitc9ca0cc01bd627c19626083b88a5a3dd0642c6db
authorAndrew Borodin <aborodin@vmail.ru>
Sun, 4 Feb 2018 08:31:00 +0000 (4 11:31 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sun, 4 Feb 2018 08:31:00 +0000 (4 11:31 +0300)
tree6b1ed6570321ef32cbe4840e136318b24a87a9ea
parente4d9a817a7c8a92d6be6265832ed0196377d9669
parentaf8b0ce339aa4a2c4f392023c8d7454d105d6970
Merge branch '3876_cleanup'

* 3876_cleanup: (47 commits)
  (mc_deserialize_str): trivial optimization.
  (edit_do_search): use gboolean. Remove unused computations.
  (str_8bit_encodings[], str_utf8_encodings[]): make const.
  (etags_set_definition_hash): make buf stack variable.
  (convert_from_8bit_to_utf_c2): use convert_from_8bit_to_utf_c().
  str_convert_to_input() never returns NULL.
  (edit_collect_completions): str_convert_to_display() never returns NULL.
  lib/charsets.c: fix coding style, trivial optimizations.
  (mc_search__recode_str): minor optimization.
  (mc_search__get_one_symbol): cosmetics.
  strutil: character test functions return gboolean instead of int.
  Use str_move() where possible.
  Use gboolean instead of int in file/dir sort related functions.
  (get_codepage_index): minor optimizations.
  (ftpfs_command): minor optimization.
  FTP: fix some calls of ftpfs_command().
  FISH: optimize creation of FISH commands.
  src/vfs/fish/fish.c: allocate buffer for command dynamically.
  (vfs_url_split): Fix 2 memory leaks found by valgrind.
  smbfs: code cleanup
  ...