Commit Graph

12581 Commits

Author SHA1 Message Date
Andrew Borodin
c194851754 Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 08:20:11 +04:00
Andrew Borodin
245142fcbe Merge branch '3047_panel_dir_fix'
* 3047_panel_dir_fix:
  Ticket #3047: fix mc arguments handling.
2013-08-01 22:33:00 +04:00
Andrew Borodin
6da546bcf3 Ticket #3047: fix mc arguments handling.
Following cases from command line are possible:
  * 'mc' (no arguments):
     active panel uses current directory
     passive panel uses "other_dir" from ini
  * 'mc dir1 dir2' (two arguments):
     left panel uses dir1
     right panel uses dir2
  * 'mc dir1' (single argument):
     active panel uses current directory
     passive panel uses dir1

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-01 22:32:13 +04:00
Andrew Borodin
c2a8c08673 Merge branch '3045_hotlist_right_key'
* 3045_hotlist_right_key:
  Ticket #3045: change behavior of the 'Right' key
2013-08-01 22:26:01 +04:00
Andrew Borodin
0eb1f6fcae Ticket #3045: change behavior of the 'Right' key
...in 'Directory hotlist' and 'Active VFS directories' windows.

Previously, the 'Right' key was used for:
1) move to the selected directory in the 'Directory hotlist' window;
2) enter into the selected group in the 'Directory hotlist' window;
3) move to the selected VFS in the 'Active VFS directories' window.

1) and 2) cases look as inconsistent bevavior because only two these
dialogs are closed after 'Right' key pressing.

Now 'Right' key is used only for 2) case and ignored in 1) and 2) cases.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-01 22:25:41 +04:00
Andrew Borodin
97e22654b6 Merge branch '2713_format_paragraph_multibyte'
* 2713_format_paragraph_multibyte:
  Ticket #2713: mcedit: respect multibyte characters in paragraph format.
2013-08-01 22:19:31 +04:00
Andrew Borodin
864c741e65 Ticket #2713: mcedit: respect multibyte characters in paragraph format.
Treate the option_word_wrap_line_length option as the line length in
screen cells not in bytes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-01 22:19:24 +04:00
Andrew Borodin
909d3e0cc4 Merge branch '3041_fix_cygwin_build'
* 3041_fix_cygwin_build:
  src/filemanager/mountlist.c: correct preprocessor conditions.
  Ticket #3041: fix build failure on Cygwin: redefinition of 'statvfs_works'.
2013-07-23 16:57:53 +04:00
Andrew Borodin
abfad1e654 src/filemanager/mountlist.c: correct preprocessor conditions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 16:56:47 +04:00
Andrew Borodin
ed6055474b Ticket #3041: fix build failure on Cygwin: redefinition of 'statvfs_works'.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 16:56:47 +04:00
Andrew Borodin
89bb1013ae Merge branch '3035_cleanup'
* 3035_cleanup: (29 commits)
  Indentation.
  doc/NEWS: cosmetics.
  Typo fixes.
  Fix panel recoding
  (edit_status_window): type accuracy in status displaying.
  (edit_get_save_file_as): remove extra code block.
  (symlink_dialog): indentation cosmetics.
  (panel_change_encoding): use vfs_path_as_str().
  Fix for opening some jar files
  Clarify midnight_dlg size in MSG_RESIZE handling.
  Ticket #3043: broken NCurses detection.
  Adjust progress window for file delete operation.
  (move_dir_dir): get rid of extra memory allocation.
  (copy_dir_dir): get rid of extra memory allocation.
  (erase_dir_iff_empty): get rid of extra directory name conversion.
  (recursive_erase): ret rid of extra path conversion.
  (my_mkdir): don't call mc_mkdir() twice in case of failure.
  (my_mkdir_rec): ret rid of double directory name conversion.
  (erase_dir_iff_empty): optimization.
  Add DIR_IS_DOT and DIR_IS_DOTDOT macros
  ...
2013-07-23 14:15:50 +04:00
Andrew Borodin
f9eed1fcef Indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:29 +04:00
Andrew Borodin
8e6902a19b doc/NEWS: cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:25 +04:00
Veres Lajos
dfbb2c9430 Typo fixes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Slava Zanko
857fe38e87 Fix panel recoding
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-07-23 14:15:24 +04:00
Andrew Borodin
1687b7cf96 (edit_status_window): type accuracy in status displaying.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
b5e4301c14 (edit_get_save_file_as): remove extra code block.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
e1ab3654bb (symlink_dialog): indentation cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
468eaff52a (panel_change_encoding): use vfs_path_as_str().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Anton Bakai
f10ee1cb14 Fix for opening some jar files
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
a365be63a2 Clarify midnight_dlg size in MSG_RESIZE handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
9e5d51df95 Ticket #3043: broken NCurses detection.
HAVE_NCURSESW_CURSES_H included the wrong header.

Partially revert 80c8d58003
for lib/tty/tty-ncurses.h.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
61a362f906 Adjust progress window for file delete operation.
Show file name and file counter.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
127c7b96e5 (move_dir_dir): get rid of extra memory allocation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
18a812d85f (copy_dir_dir): get rid of extra memory allocation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
feb591fec8 (erase_dir_iff_empty): get rid of extra directory name conversion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
285b05ef27 (recursive_erase): ret rid of extra path conversion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
78d26381ca (my_mkdir): don't call mc_mkdir() twice in case of failure.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
7b9c26c6d6 (my_mkdir_rec): ret rid of double directory name conversion.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
2bf6e96f2b (erase_dir_iff_empty): optimization.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
ab3f53fbbe Add DIR_IS_DOT and DIR_IS_DOTDOT macros
...to detect "." and ".." directories, respectively.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:15:24 +04:00
Andrew Borodin
1d52364b52 Use vfs_path_as_str() to get string representation of tree_entry::name.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
4aacb0f33c (FileOpContextUI): rename labels for files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
17aef88637 lib/strutil/strutilutf8.c: cosmetics and minor refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
7ee58f73ff lib/strutil/strutil8bit.c: cosmetics and minor refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
9e4d279885 lib/strutil/strutilascii.c: cosmetics and minor refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
5b91108b3c lib/strutil/strutil.c: cosmetics and minor refactoring.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
afca0e1443 (eval_marks): change return type to gboolean, minor refactoring and related changes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
4d595c2002 (regex_check_type): change type of have_type parameter and related changes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
0b0cc72ec8 Ticket #3035: code cleanup before 4.8.10 release.
Remove fi_FI and it_IT hints.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-23 14:01:05 +04:00
Andrew Borodin
f3037dbb79 Merge branch '3036_sftp_wrong_password_crash'
* 3036_sftp_wrong_password_crash:
  Ticket #3036: fix crash after entering a wrong SFTP password.
2013-07-22 20:59:40 +04:00
Andrew Borodin
2b3be1dfc6 Ticket #3036: fix crash after entering a wrong SFTP password.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-22 20:59:00 +04:00
Andrew Borodin
5fdd1027f5 Merge branch '3040_mcedit_fd_leak'
* 3040_mcedit_fd_leak:
  Ticket #3040: (check_file_access): fix file descriptor leak.
2013-07-15 15:31:00 +04:00
Andrew Borodin
4f1801ca11 Ticket #3040: (check_file_access): fix file descriptor leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-14 21:38:23 +04:00
Andrew Borodin
675ee47aa6 Merge branch '3034_zip_in_tar'
* 3034_zip_in_tar:
  Ticket #3034: cannot enter into zip archive in tar one.
2013-07-12 14:11:34 +04:00
Andrew Borodin
8cb80dcc9c Ticket #3034: cannot enter into zip archive in tar one.
How to reproduce:
1. Create archive: touch a.txt && zip a.zip a.txt && tar cf a.tar a.zip
2. Press "Enter" on a.tar to enter into archive. Success.
3. Press "Enter" on a.zip to enter into archive. Nothing happens.

(regex_check_type): don't remove temporary file before read data from it.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-07-12 14:09:46 +04:00
Slava Zanko
e6eddc4ab7 Remove fi_FI and it_IT translations
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-07-10 13:45:55 +03:00
Slava Zanko
b8e7ace9ac Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-07-10 13:09:37 +03:00
Slava Zanko
bab36b9006 Remove an include duplicate after runing maint/utils/find-dup-includes/runme.sh
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-07-10 12:58:23 +03:00
Slava Zanko
44db9f0a5a Updated hints translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-07-10 12:52:02 +03:00