Slava Zanko [Fri, 21 Oct 2011 12:01:54 +0000 (21 15:01 +0300)]
mc_search__translate_replace_glob_to_regex(): Avoid warnings
if function called with 'const char*' parameter.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Thu, 20 Oct 2011 10:16:29 +0000 (20 14:16 +0400)]
Updated EN and RU man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 20 Oct 2011 09:18:52 +0000 (20 13:18 +0400)]
Added tests for mc_search__translate_replace_glob_to_regex() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Fri, 7 Oct 2011 09:14:17 +0000 (7 13:14 +0400)]
Ticket #2626: special chars are not escaped in autocompletion of filenames.
Test case:
1. Create a file with name that contains some special chars:
touch attachment.cgi?id=564208
2. Press F6.
3. Press a. Now only the 'a' letter is in input line.
4. Press Esc Tab Enter.
5a. Input line is filled by 'attachment.cgi?id=564208'...
5b. but 'attachment.cgi\?id=564208' is expected.
6. Add 'patch_' before file name:
'patch_attachment.cgi?id=564208'.
7. Press Enter.
8a. Result: 'patch_attachment.cgiattachment.cgi?id=564208id=564208'.
8b. Expected result: 'patch_attachment.cgi?id=564208'.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Thu, 20 Oct 2011 07:52:02 +0000 (20 10:52 +0300)]
Merge branch '2610_posix_fallocate'
* 2610_posix_fallocate:
Documentation updated for describe preallocate feature
Added configuration option 'preallocate_space' for toggle space preallocating behaviour.
Added implementation for files space preallocation
Ticket #2610: Use posix_fallocate() when copying files/moving to a new mount point
Slava Zanko [Tue, 20 Sep 2011 10:57:57 +0000 (20 13:57 +0300)]
Documentation updated for describe preallocate feature
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 20 Sep 2011 10:27:04 +0000 (20 13:27 +0300)]
Added configuration option 'preallocate_space' for toggle space preallocating behaviour.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 20 Sep 2011 09:40:14 +0000 (20 12:40 +0300)]
Added implementation for files space preallocation
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 20 Sep 2011 08:41:27 +0000 (20 11:41 +0300)]
Ticket #2610: Use posix_fallocate() when copying files/moving to a new mount point
Added m4 function for check if posix_fallocate() is present.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Wed, 19 Oct 2011 12:06:40 +0000 (19 15:06 +0300)]
Added forgotten file to distribution for tests
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Wed, 19 Oct 2011 11:42:01 +0000 (19 14:42 +0300)]
Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Wed, 19 Oct 2011 10:36:11 +0000 (19 14:36 +0400)]
Updated Russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Wed, 19 Oct 2011 10:12:32 +0000 (19 14:12 +0400)]
Merge branch '2632_vfs_store_file_fix'
* 2632_vfs_store_file_fix:
little optimization to make code more intuitive.
Ticket #2623: vfs: use data after free.
Ilia Maslakov [Wed, 19 Oct 2011 09:29:30 +0000 (19 13:29 +0400)]
little optimization to make code more intuitive.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Andrew Borodin [Wed, 19 Oct 2011 08:45:28 +0000 (19 12:45 +0400)]
Ticket #2623: vfs: use data after free.
(vfs_s_close): vfs-specific data of file handler
vfs_file_handler_t::data is freed in vfs_s_subclass::fh_close method and
then can be used in vfs_s_subclass::file_store_one. Bug is related to
ftp and fish VFSes.
Added new vfs_s_subclass::fh_free_data method to free vfs-specific data
of file handler vfs_file_handler_t::data. Use it in ftp and vfs VFSes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 18 Oct 2011 17:34:19 +0000 (18 21:34 +0400)]
Fixed Interlingua translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Tue, 18 Oct 2011 11:49:40 +0000 (18 14:49 +0300)]
Update translations from Transifex.net
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 18 Oct 2011 11:39:19 +0000 (18 14:39 +0300)]
Merge branch '1551_update_gpl_version'
* 1551_update_gpl_version:
Ticket 1551: Update GPL version from 2 to 3
Slava Zanko [Sat, 15 Oct 2011 10:56:47 +0000 (15 13:56 +0300)]
Ticket 1551: Update GPL version from 2 to 3
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 18 Oct 2011 10:36:46 +0000 (18 13:36 +0300)]
Merge branch '2620_cleanup'
* 2620_cleanup: (25 commits)
vfs_parse_ls_lga: The checks for timestamp is commented out.
Include config.h to all test's files
vfs_parse_ls_lga: Make tests output more verbose
Ticket #2627: Fixed several errors in manpages.
Fix build with --disable-charset option.
Added the 'c' hotkey for 'Compile and link current .c file' item of user menu.
Editor: reduce scope of some functions.
Editor: reduce scope of some functions.
Editor: reduce scope of some functions.
(get_paragraph): fix of pointer difference.
(load_keymap_from_section): minor optimization.
(load_keymap_from_section): remove unneeded keybind conversions.
Added percent sign to key names.
keymap files: unification of Fxx keys: move to lower case.
(mc_refresh): moved from lib/widget/wtools.[ch] to lib/widget/dialog-switch.[ch]
Man pages clean up
Remove CK_Help action handler in diffviewer
(size_trunc_len): fixed potential integer overflow if SI is used.
VFS small optimization
Remove extra screen update after show help.
...
Slava Zanko [Mon, 17 Oct 2011 12:29:17 +0000 (17 15:29 +0300)]
vfs_parse_ls_lga: The checks for timestamp is commented out.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Mon, 17 Oct 2011 12:15:15 +0000 (17 15:15 +0300)]
Include config.h to all test's files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Mon, 17 Oct 2011 11:57:28 +0000 (17 14:57 +0300)]
vfs_parse_ls_lga: Make tests output more verbose
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrey Tataranovich [Mon, 17 Oct 2011 10:05:52 +0000 (17 13:05 +0300)]
Ticket #2627: Fixed several errors in manpages.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Sat, 15 Oct 2011 08:07:07 +0000 (15 12:07 +0400)]
Fix build with --disable-charset option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Fri, 14 Oct 2011 05:38:28 +0000 (14 09:38 +0400)]
Added the 'c' hotkey for 'Compile and link current .c file' item of user menu.
Menu item w/o hotey is not shown in menu.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 11 Oct 2011 10:14:07 +0000 (11 14:14 +0400)]
Editor: reduce scope of some functions.
The edit_insert_column_of_text() function is used only in
src/editor/editcmd.c file. Now it is static.
Removed unneeded forward declarations.
Moved static functions to static area in src/editor/editcmd.c
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 11 Oct 2011 09:59:05 +0000 (11 13:59 +0400)]
Editor: reduce scope of some functions.
Following fuctions are used in in src/editor/edit.c file only:
edit_print_string
edit_move_block_to_right
edit_move_block_to_left
They was moved from src/editor/editcmd.c into src/editor/edit.c
and made static.
insert_spaces_tab() is used in src/editor/edit.c. Not it is static. Also
some optimization was performed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 11 Oct 2011 09:37:51 +0000 (11 13:37 +0400)]
Editor: reduce scope of some functions.
Following fuctions are used in in src/editor/edit.c file only:
edit_get_byte_ptr
edit_get_buf_ptr
edit_get_prev_utf
Now they are static.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 9 Oct 2011 17:07:39 +0000 (9 21:07 +0400)]
(get_paragraph): fix of pointer difference.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 9 Oct 2011 15:18:28 +0000 (9 19:18 +0400)]
(load_keymap_from_section): minor optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 9 Oct 2011 15:13:44 +0000 (9 19:13 +0400)]
(load_keymap_from_section): remove unneeded keybind conversions.
Now the '^' sign can be directly used in keymap files as well
as his name 'caret'.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 9 Oct 2011 07:07:00 +0000 (9 11:07 +0400)]
Added percent sign to key names.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 9 Oct 2011 07:00:29 +0000 (9 11:00 +0400)]
keymap files: unification of Fxx keys: move to lower case.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sat, 1 Oct 2011 13:50:16 +0000 (1 17:50 +0400)]
(mc_refresh): moved from lib/widget/wtools.[ch] to lib/widget/dialog-switch.[ch]
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Mon, 26 Sep 2011 18:13:08 +0000 (26 22:13 +0400)]
Man pages clean up
Removed description of non-existing command in viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Fri, 23 Sep 2011 09:27:51 +0000 (23 13:27 +0400)]
Remove CK_Help action handler in diffviewer
...since it is fully identical with default handler.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Fri, 23 Sep 2011 07:20:36 +0000 (23 11:20 +0400)]
(size_trunc_len): fixed potential integer overflow if SI is used.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Wed, 21 Sep 2011 10:44:03 +0000 (21 14:44 +0400)]
VFS small optimization
(vfs_class_data_find_by_handle, vfs_class_find_by_handle): move same
code to the separate function vfs_get_openfile().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 20 Sep 2011 05:25:43 +0000 (20 09:25 +0400)]
Remove extra screen update after show help.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 20 Sep 2011 05:21:11 +0000 (20 09:21 +0400)]
(mc_build_filename): incorrect processing of first element of path.
If first element is relative, the result path should be also relative
not absolute.
If first element is empty, the result path is relative.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Mon, 19 Sep 2011 10:43:05 +0000 (19 14:43 +0400)]
(mc_build_filename): fixed incorrect processing of empty paths.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 18 Sep 2011 12:13:23 +0000 (18 16:13 +0400)]
(_vfs_get_cwd): fixed memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 21 Jul 2011 10:06:26 +0000 (21 14:06 +0400)]
Fix potential segfault in term_trim() functions
...if requested width is negative.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Tue, 13 Sep 2011 22:07:31 +0000 (14 01:07 +0300)]
Code cleanup after runing splint on src/main.c file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Mon, 3 Oct 2011 09:54:39 +0000 (3 13:54 +0400)]
Merge branch '2598_u7z'
* 2598_u7z:
Ticket #2598: u7z: Improve handling of missing p7zip binaries.
Daniel Hahler [Thu, 25 Aug 2011 12:20:36 +0000 (25 14:20 +0200)]
Ticket #2598: u7z: Improve handling of missing p7zip binaries.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Fri, 30 Sep 2011 09:54:51 +0000 (30 12:54 +0300)]
Merge branch '2621_path_encoding_and_extfs'
* 2621_path_encoding_and_extfs:
Ticket #2621: VFS extfs: broken navigation in archives if current path is encoded
Slava Zanko [Thu, 29 Sep 2011 18:33:36 +0000 (29 21:33 +0300)]
Ticket #2621: VFS extfs: broken navigation in archives if current path is encoded
Steps to reproduce:
* configure & compile mc with '--enable-charset' option;
* run mc
* go to dir with any of *.zip, *.rpm, *.deb, *.patch/diff files
* Change path encoding to any other by pressing ALT+e (selected encoding should be dfferent to system encoding)
* try to enter to archive
You'll se error message from extfs module.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Tue, 27 Sep 2011 07:18:43 +0000 (27 11:18 +0400)]
Merge branch '2543_hexview_cursor_position'
* 2543_hexview_cursor_position:
Fixed positions of text start and hex cursor
Ticket #2543: Hex viewer mode does not restore cursor position.
Andrew Borodin [Fri, 23 Sep 2011 16:38:50 +0000 (23 20:38 +0400)]
Fixed positions of text start and hex cursor
...after switch between plane and hex modes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Vitaliy Filippov [Thu, 22 Sep 2011 17:29:40 +0000 (22 21:29 +0400)]
Ticket #2543: Hex viewer mode does not restore cursor position.
If you are in hex viewer mode and viewer remembers file positions, the
viewer restores the start position, but does not restore the position
of cursor.
So the restored position is basically useless in hex mode, because when
you move cursor, you go back to the beginning of file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Wed, 21 Sep 2011 07:24:25 +0000 (21 10:24 +0300)]
Merge branch '2611_broken_panels_drawing'
* 2611_broken_panels_drawing:
Ticket #2611: FISH: broken panels drawing after entering password
Slava Zanko [Mon, 19 Sep 2011 09:53:54 +0000 (19 12:53 +0300)]
Ticket #2611: FISH: broken panels drawing after entering password
Steps to reproduce:
* run ssh daemon on your host;
* run mc;
* type cd sh://127.0.0.1;
* type your password;
* just one panel was shown, after pressing ctrl+r second panel will shown as well.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Mon, 12 Sep 2011 09:23:48 +0000 (12 12:23 +0300)]
Updated NEWS for 4.8.0-pre2 release
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Ilia Maslakov [Mon, 12 Sep 2011 08:32:14 +0000 (12 12:32 +0400)]
Merge branch '2605_fish_get_fix'
* 2605_fish_get_fix:
Ticket #2605 (FISH: mc hangs while copy lot of small files)
Ilia Maslakov [Sun, 11 Sep 2011 08:36:36 +0000 (11 08:36 +0000)]
Ticket #2605 (FISH: mc hangs while copy lot of small files)
fixed fish-script 'get'.
Steps to reproduce:
create lot of small files
try to copy these files throught FISH VFS
mc hangs
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Slava Zanko [Sat, 10 Sep 2011 17:49:23 +0000 (10 20:49 +0300)]
Fixed placement for changesetfs and patchsetfs files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 11 Sep 2011 06:40:32 +0000 (11 10:40 +0400)]
Updated Russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Fri, 9 Sep 2011 13:30:07 +0000 (9 16:30 +0300)]
Updated NEWS for 4.8.0-pre2 release.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Fri, 9 Sep 2011 13:26:48 +0000 (9 16:26 +0300)]
Update translations from Transifex.net
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Fri, 9 Sep 2011 13:04:42 +0000 (9 16:04 +0300)]
Merge branch '2602_cleanup'
* 2602_cleanup:
(try_complete): fixed warinig:
(edit_collect_completions): fixed warinig:
(etags_set_definition_hash): fixed memory leak
Use ESC_STR macro instead of hardcoded "\033".
Value accuracy of mouse_enabled global variable.
Fixed VFS prefix in hints.
Nice location of red (warning and error) dialogs.
(dlg_find_by_id): use the GLib way to find widget.
(move_right): fixed type of return value.
(menubar_arrange): fixed typos.
Avoided warning message about non-existent maint/version.sh file
Minor fixes in NEWS.
Preventing po/*.po files in git-diff output
Cleanups and format small fixes in EN and RU man pages.
Editor: remove unused #define's.
Optimization of walking in dialog widgets.
Set logfile for smbfs using mc_setctl().
(mc_setup_by_args): fixed old VFS prefix.
(show_datadirs_extended): fixed paths in help message.
Ticket #2602: cleanup branch
Andrew Borodin [Mon, 29 Aug 2011 09:46:32 +0000 (29 13:46 +0400)]
(try_complete): fixed warinig:
input_complete.c:874:26: warning: use of logical && with constant
operand; switch to bitwise & or remove constant
[-Wconstant-logical-operand]
if (q && q[1] == '(' && INPUT_COMPLETE_COMMANDS)
^ ~~~~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Mon, 29 Aug 2011 09:43:46 +0000 (29 13:43 +0400)]
(edit_collect_completions): fixed warinig:
editcmd.c:1104:42: warning: use of logical && with constant operand;
switch to bitwise & or remove constant [-Wconstant-logical-operand]
if (*num == MAX_WORD_COMPLETIONS && MAX_WORD_COMPLETIONS)
^ ~~~~~~~~~~~~~~~~~~~~
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Mon, 29 Aug 2011 06:52:21 +0000 (29 10:52 +0400)]
(etags_set_definition_hash): fixed memory leak
... and code indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Fri, 26 Aug 2011 07:27:41 +0000 (26 11:27 +0400)]
Use ESC_STR macro instead of hardcoded "\033".
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 25 Aug 2011 10:15:46 +0000 (25 14:15 +0400)]
Value accuracy of mouse_enabled global variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 16 Aug 2011 07:50:30 +0000 (16 11:50 +0400)]
Fixed VFS prefix in hints.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Tue, 9 Aug 2011 07:37:41 +0000 (9 11:37 +0400)]
Nice location of red (warning and error) dialogs.
Now warning/error dialog overlaps the previous status dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Sun, 7 Aug 2011 14:36:28 +0000 (7 18:36 +0400)]
(dlg_find_by_id): use the GLib way to find widget.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Wed, 3 Aug 2011 11:49:03 +0000 (3 15:49 +0400)]
(move_right): fixed type of return value.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Wed, 27 Jul 2011 08:41:36 +0000 (27 12:41 +0400)]
(menubar_arrange): fixed typos.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Tue, 26 Jul 2011 12:55:02 +0000 (26 15:55 +0300)]
Avoided warning message about non-existent maint/version.sh file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Mon, 25 Jul 2011 11:52:01 +0000 (25 15:52 +0400)]
Minor fixes in NEWS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Wed, 20 Jul 2011 21:21:24 +0000 (21 00:21 +0300)]
Preventing po/*.po files in git-diff output
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Thu, 21 Jul 2011 13:26:44 +0000 (21 17:26 +0400)]
Cleanups and format small fixes in EN and RU man pages.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Wed, 20 Jul 2011 07:50:25 +0000 (20 11:50 +0400)]
Editor: remove unused #define's.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Mon, 18 Jul 2011 09:27:01 +0000 (18 13:27 +0400)]
Optimization of walking in dialog widgets.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Mon, 18 Jul 2011 12:11:00 +0000 (18 16:11 +0400)]
Set logfile for smbfs using mc_setctl().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 14 Jul 2011 10:59:44 +0000 (14 14:59 +0400)]
(mc_setup_by_args): fixed old VFS prefix.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 14 Jul 2011 10:48:00 +0000 (14 14:48 +0400)]
(show_datadirs_extended): fixed paths in help message.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Thu, 14 Jul 2011 10:06:42 +0000 (14 13:06 +0300)]
Ticket #2602: cleanup branch
Added %{_libexecdir}/mc/fish directory to spec file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Thu, 8 Sep 2011 17:11:17 +0000 (8 20:11 +0300)]
Merge branch '2594_ftp_leading_spaces'
* 2594_ftp_leading_spaces:
VFS ftpfs: fixed broken filenames in unaligned 'ls' command output
Ticket #2594: ftp failures - leading white space in file name
Slava Zanko [Sat, 27 Aug 2011 17:22:41 +0000 (27 20:22 +0300)]
VFS ftpfs: fixed broken filenames in unaligned 'ls' command output
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Sat, 27 Aug 2011 12:16:25 +0000 (27 15:16 +0300)]
Ticket #2594: ftp failures - leading white space in file name
Code cleanup: move 'ls' output parser (and functions-satellites) to
new file parse_ls_vga.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Thu, 8 Sep 2011 10:50:33 +0000 (8 13:50 +0300)]
Merge branch '2595_vfs_encode'
* 2595_vfs_encode:
Fixed filenames recoding while call external utilites by mc.ext rules
Fixed regexp error if current codepage isn't equal to UTF-8 in UTF-8 environment
Ticket #2595: Broken panels recode in current master
Slava Zanko [Mon, 5 Sep 2011 14:03:19 +0000 (5 17:03 +0300)]
Fixed filenames recoding while call external utilites by mc.ext rules
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Mon, 5 Sep 2011 09:35:07 +0000 (5 12:35 +0300)]
Fixed regexp error if current codepage isn't equal to UTF-8 in UTF-8 environment
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Mon, 15 Aug 2011 11:37:59 +0000 (15 14:37 +0300)]
Ticket #2595: Broken panels recode in current master
Fixed path recoding
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Thu, 8 Sep 2011 10:12:26 +0000 (8 14:12 +0400)]
Merge branch '2601_tty_init'
* 2601_tty_init:
Removed mc_global.args structure.
Added -g, --oldmouse option to support of NORMAL/BUTTON_EVENT mouse type.
Removed global variable slow_tty
Removed global variable ugly_line_drawing
Moved xterm_flag global variable to mc_global.tty.xterm_flag
Move SIGWINCH handler initialization to tty_init()
Fix of mouse and ca capabilities check.
Refactoring of TTY layer shutdown.
Ticket #2601: incorrect TTY layer initialization.
Slava Zanko [Wed, 7 Sep 2011 09:06:03 +0000 (7 12:06 +0300)]
Removed mc_global.args structure.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Ilia Maslakov [Wed, 7 Sep 2011 07:17:03 +0000 (7 11:17 +0400)]
Added -g, --oldmouse option to support of NORMAL/BUTTON_EVENT mouse type.
Required for some terminals (screen/tmux) to force needed mouse type
(BUTTON_EVENT by default).
Normal tracking mode sends an escape sequence on both button press and release.
Mouse highlight tracking notifies a program of a button press, receives a range of
lines from the program, highlights the region covered by the mouse within that
range until button release, and then sends the program the release coordinates.
It is enabled by specifying parameter 1001 to DECSET.
Button-event tracking is essentially the same as normal tracking, but xterm also
reports button-motion events. Motion events are reported only if the mouse pointer
has moved to a different character cell. It is enabled by specifying parameter 1002 to DECSET.
On button press or release, xterm sends the same codes used by normal tracking mode.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
changed mc.1.in, added description of command line options -g, --oldmouse.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
Slava Zanko [Tue, 6 Sep 2011 15:24:18 +0000 (6 18:24 +0300)]
Removed global variable slow_tty
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 6 Sep 2011 11:33:53 +0000 (6 14:33 +0300)]
Removed global variable ugly_line_drawing
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Slava Zanko [Tue, 6 Sep 2011 10:35:42 +0000 (6 13:35 +0300)]
Moved xterm_flag global variable to mc_global.tty.xterm_flag
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
Andrew Borodin [Thu, 1 Sep 2011 07:21:47 +0000 (1 11:21 +0400)]
Move SIGWINCH handler initialization to tty_init()
... and rename tty_low_level_change_screen_size() to
tty_change_screen_size().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Fri, 2 Sep 2011 09:30:59 +0000 (2 13:30 +0400)]
Fix of mouse and ca capabilities check.
Based on patch from Andrey V. Malyshev <amal krasn ru>
http://mail.gnome.org/archives/mc-devel/2005-November/msg00052.html
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 1 Sep 2011 12:40:40 +0000 (1 16:40 +0400)]
Refactoring of TTY layer shutdown.
Unification of tty_shutdown() function as for S-Lang as for NCurses.
Added do_exit_ca_mode() call to the NCurses-based tty_shutdown().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Andrew Borodin [Thu, 1 Sep 2011 07:09:55 +0000 (1 11:09 +0400)]
Ticket #2601: incorrect TTY layer initialization.
The xterm_flag variable was initialized in setup_mc() but used
first time in init_key() and in tty_init() (in do_enter_ca_mode())
before setup_mc() call.
Now xterm initialized in early step of mc start up process and
xterm support and mouse are initialized in tty_init().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Slava Zanko [Wed, 7 Sep 2011 13:16:48 +0000 (7 16:16 +0300)]
Merge branch '2582_sshfs_crash_while_copying_symlink'
* 2582_sshfs_crash_while_copying_symlink:
FISH: Fixed creating relative symlinks
Ticket #2582: Crash in 4.8.0-pre1 when copying symlink over ssh