Added makefile's targets for run cppcheck

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Add indent rule in makefile

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Suppress cppcheck errors

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Improve developer's docs by adding info about new make targets:
cppcheck and indent.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
src/vfs/undelfs/undelfs.c: fix memory leaks.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(sftpfs_open_file): fix memory leak.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(panel_get_field_by_title): fix memory leak.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(lcsubstr): fix memory deallocation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use UTF8_CHAR_LEN instead of a magic number

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
cppcheck: reduce variable scope.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Reduce cppcheck warnings (style) in lib subdirectory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Rename structures:

* FileOpContext -> file_op_context_t
* FileOpContextUI -> file_op_context_ui_t

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Clarify usage of WPanel widget.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Reduce cppcheck warnings (style) in src subdirectory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Fix reloading of the root directory.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(file_mask_dialog): don't call tilde_expand() because vfs_path_from_str() returns an absolute path.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
(me_remote): don't use undefined _GL_UNUSED.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Supress some cppcheck warnings

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Fix directory content counting before file operation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Use g_slist_free_full().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>