Andrew Borodin
dc62fdf5bd
lib/mcconfig/paths.c: indentation.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:35:46 +04:00
Andrew Borodin
96afe7eb02
Merge branch '2888_cleanup'
...
* 2888_cleanup:
Fix of DOXYGEN docs: @return instead of @returns
src/filemanager/command.c: add DOXYGEN doc little little code cleanup.
(enter): use GString instead of hand-made memory (re)allocation.
Clarify of sig_atomic_t usage (got from Mutt).
Define winch_flag as volatile sig_atomic_t.
Fixups of SIGWINCH handling.
Don't exit after migration of configuration files.
Tweak sources for --with-x/--without-x option.
Init file highlighting only in full mode.
(exit_subshell): return gboolean instead of int.
lib/strutil/strverscmp.c: add missing include of config.h.
(fish_linear_abort): type accuracy.
(fish_file_store): remove unnecessary 'was_error' variable.
(fish_file_store): type accuracy to avoid counter overflow while copiyng huge files.
(ftpfs_file_store): type accuracy and simplify conditions.
Ticket #2888 : code cleanup before 4.8.7 release.
2012-11-09 10:10:42 +04:00
Andrew Borodin
2940b7455d
Fix of DOXYGEN docs: @return instead of @returns
...
...and other minor corrections.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Ilia Maslakov
ff22fa9ca0
src/filemanager/command.c: add DOXYGEN doc little little code cleanup.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-11-09 10:05:13 +04:00
Andrew Borodin
7c415f2ec5
(enter): use GString instead of hand-made memory (re)allocation.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
1d3132c08f
Clarify of sig_atomic_t usage (got from Mutt).
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
82bb9c39da
Define winch_flag as volatile sig_atomic_t.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
794145090d
Fixups of SIGWINCH handling.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
f9b6abde52
Don't exit after migration of configuration files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
3f8e561e17
Tweak sources for --with-x/--without-x option.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
0ac261de1b
Init file highlighting only in full mode.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:13 +04:00
Andrew Borodin
c45a27061b
(exit_subshell): return gboolean instead of int.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:12 +04:00
Andrew Borodin
d1fb83358d
lib/strutil/strverscmp.c: add missing include of config.h.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:12 +04:00
Andrew Borodin
07f36b9cf7
(fish_linear_abort): type accuracy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:12 +04:00
Ilia Maslakov
489c3e3242
(fish_file_store): remove unnecessary 'was_error' variable.
...
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-11-09 10:05:12 +04:00
Andrew Borodin
2476f281de
(fish_file_store): type accuracy to avoid counter overflow while copiyng huge files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:12 +04:00
Andrew Borodin
b968fe0df8
(ftpfs_file_store): type accuracy and simplify conditions.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-11-09 10:05:12 +04:00
Yury V. Zaytsev
994c432dd5
Ticket #2888 : code cleanup before 4.8.7 release.
...
src/filemanager/dir.c: refactored growing of dir_list into a separate
function.
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-11-09 10:05:12 +04:00
Sergei Trofimovich
45b129dd72
ebuild.syntax: add 'epatch_user' keyword
...
Thanks to Alexei Goncharevich and Pavel Gluschenko
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-11-06 12:13:01 +03:00
Andrew Borodin
1fcf90401a
(ftpfs_get_reply): fix condition.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-23 15:18:47 +04:00
Andrew Borodin
56b71ae696
Fixes of indentation.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-22 10:29:43 +04:00
Andrew Borodin
0668e878eb
Merge branch '2888_cleanup'
...
* 2888_cleanup: (30 commits)
Refactoring of endless loops and some type accuracy.
Refactoring of subshell support.
Remove stub environment file from tests
make internal library for testing purposes
remove src/main.h file
Move global variables to an appropriate place
move do_load_prompt() and load_prompt() from src/main.c to src/filemanager/layout.c
move do_cd from src/main.c to src/filemanager/panel.c
mcedit: type accuracy in block operation routines.
Fix of sys/ioctl.h includes: use HAVE_SYS_IOCTL_H guard.
Optimization of SIGWINCH handling.
src/filemanager/Makefile.am: cleanup source file list.
Clarify of i18n initialization.
Rename _syntax_marker to syntax_marker_t and reimplement it using GSList.
(compare_word_to_right): minor refactoring.
Fix types for line numbers and byte offsets in syntax highlighting engine.
Many editor functions: take editor as constant object.
(get_first_editor_line): minor refactoring.
(edit_get_syntax_color): return color directly.
Rename syntax_rule to edit_syntax_rule_t.
...
2012-10-22 10:09:17 +04:00
Andrew Borodin
6c94ef16ec
Refactoring of endless loops and some type accuracy.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-21 18:19:52 +04:00
Andrew Borodin
b2f97443e2
Refactoring of subshell support.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-21 18:19:47 +04:00
Slava Zanko
bdd4cdbf82
Remove stub environment file from tests
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-21 18:19:47 +04:00
Slava Zanko
ba0cef24cb
make internal library for testing purposes
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-21 18:19:46 +04:00
Slava Zanko
7668c09879
remove src/main.h file
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-21 18:19:46 +04:00
Slava Zanko
80011ad7cb
Move global variables to an appropriate place
...
...and move update_xterm_title_path() and title_path_prepare()
from src/main.c to src/filemanager/layout.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-21 18:19:12 +04:00
Slava Zanko
6d4c3828af
move do_load_prompt() and load_prompt() from src/main.c to src/filemanager/layout.c
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-21 18:19:11 +04:00
Slava Zanko
d6478b8b41
move do_cd from src/main.c to src/filemanager/panel.c
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-10-21 18:19:11 +04:00
Andrew Borodin
ede5d55197
mcedit: type accuracy in block operation routines.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-21 18:19:11 +04:00
Andrew Borodin
8ee5c7247c
Fix of sys/ioctl.h includes: use HAVE_SYS_IOCTL_H guard.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-21 18:19:11 +04:00
Andrew Borodin
ea2c57dbd6
Optimization of SIGWINCH handling.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-21 18:19:06 +04:00
Andrew Borodin
9cfff5ccbf
src/filemanager/Makefile.am: cleanup source file list.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
0ffb5b190c
Clarify of i18n initialization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
62d14bd140
Rename _syntax_marker to syntax_marker_t and reimplement it using GSList.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
ee1f657994
(compare_word_to_right): minor refactoring.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
576412634f
Fix types for line numbers and byte offsets in syntax highlighting engine.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
962259a224
Many editor functions: take editor as constant object.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
7f7a75f988
(get_first_editor_line): minor refactoring.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
8883273bdd
(edit_get_syntax_color): return color directly.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
ef0dd43430
Rename syntax_rule to edit_syntax_rule_t.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
3c69a2cafb
(book_mark_clear): return gboolean instead of int.
...
(book_mark_query_color): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
15446985bf
Rename _book_mark to edit_book_mark_t.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
96e463086b
(edit_delete): take gboolean instead of int.
...
(edit_backspace): likewise.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
8b0062ad8a
(edit_block_move_cmd): minor cleanup.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Ilia Maslakov
01bf58e688
mcedit: fix block movement.
...
steps to reproduce:
1) create text
111111111111111111
222222222222222222
333333333333333333
444444444444444444
555555555555555555
2) select text from line 2 to line 4
3) move cursor to line 3
4) press F6
The block was moved but should't.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-10-20 15:39:44 +04:00
Andrew Borodin
b8e02442fd
Fixed typo in sound file extension: "wvm4a" should be "wv".
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
a8b8cdcc47
Use AC_MSG_NOTICE to print configure results.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00
Andrew Borodin
8031fa3a65
Fix name of LibreOffice executable file.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-10-20 15:39:44 +04:00