Commit Graph

11671 Commits

Author SHA1 Message Date
Andrew Borodin b991d529ee Calculate and show copied bytes for all files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-10 20:13:02 +03:00
Andrew Borodin 09d77878c7 Update file operation statistics for every processing file.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-10 20:13:02 +03:00
Andrew Borodin dad538e7dc Simplify constructing of file operation progress dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-10 20:13:02 +03:00
Andrew Borodin efb0197656 Ticket #2503: don't show total file operation info
...if the file_op_compute_totals option is off.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-10 20:13:02 +03:00
Ilia Maslakov be6590a4a8 Merge branch '2710_mcedit_fix'
* 2710_mcedit_fix:
  (edit_insert_file_cmd): sync with new edit_insert_file()
  Ticket #2710 (can't open an edit zero-length file from VFS in mcedit)
2012-01-08 12:01:25 +04:00
Andrew Borodin 8fae57a1f5 (edit_insert_file_cmd): sync with new edit_insert_file()
...and make minor optimization.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-08 11:58:21 +04:00
Ilia Maslakov 88b3f840a7 Ticket #2710 (can't open an edit zero-length file from VFS in mcedit)
fixed problem with zero-length files from VFS in mcedit.

    steps to reproduce the problem:
    1. touch test.txt
    2. tar cf test.tar test.txt
    3. place cursor on test.tar and press Enter to enter to the archive.
    4. place cursor on test.txt and press F4 to open file in editor.
    Result: file not opened.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-01-08 11:58:20 +04:00
Andrew Borodin 22f0ce34b3 Merge branch '2645_djvu'
* 2645_djvu:
  Ticket #2645: improve djvu support.
2012-01-07 13:44:19 +03:00
ctmp1 57f0240522 Ticket #2645: improve djvu support.
Open of djvu files with 'djv' extension.
View action for djvu with text layer.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-07 13:44:01 +03:00
Andrew Borodin e3d249a995 Merge branch '2702_video'
* 2702_video:
  Ticket #2702: improve video support.
2012-01-06 14:32:38 +03:00
Nerijus Baliunas 7345058ba5 Ticket #2702: improve video support.
Open .m4v and .ts files as video ones.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-06 14:32:16 +03:00
Andrew Borodin 067256f0df Merge branch '1576_hotlist_delete_group'
* 1576_hotlist_delete_group:
  Refactoring of hotlist confirmation dialogs.
  Ticket #1576: delete an empty hotlist group w/o extra confirmation.
2012-01-04 17:35:58 +03:00
Andrew Borodin 1f1908a824 Refactoring of hotlist confirmation dialogs.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-04 16:30:28 +03:00
Andrew Borodin a29abae2e3 Ticket #1576: delete an empty hotlist group w/o extra confirmation.
While deleting an empty group in hotlist, the extra confirmation
"Group not empty. Remove it?" should not raise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-04 16:30:10 +03:00
Andrew Borodin 4a6b22bf49 doc/NEWS: fixed non-latin symbols.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:55:34 +03:00
Andrew Borodin 5d90c5d14e Merge branch '2704_search_dialog_hotkeys'
* 2704_search_dialog_hotkeys:
  Updated Russian translation
  Fixed hotkeys in 'Search' dialog in mcdiff viewer.
  Fixed hotkeys in 'Search' and 'Replace' dialogs in mcedit.
  Fixed hotkeys in 'Search' dialog in mcviewer.
  Ticket #2704: added hotkeys for search types.
2011-12-30 17:49:42 +03:00
Andrew Borodin f204f7d4b7 Updated Russian translation
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:49:16 +03:00
Andrew Borodin 0aa81e22ad Fixed hotkeys in 'Search' dialog in mcdiff viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:49:16 +03:00
Andrew Borodin 301e41b3e5 Fixed hotkeys in 'Search' and 'Replace' dialogs in mcedit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:49:16 +03:00
Andrew Borodin 407b57a0b2 Fixed hotkeys in 'Search' dialog in mcviewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:49:16 +03:00
Andrew Borodin a395218ffb Ticket #2704: added hotkeys for search types.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:49:16 +03:00
Ilia Maslakov 06c295b7e9 Merge branch '2628_learn_btab_key'
* 2628_learn_btab_key:
  Ticket #2628 (shift-tab, ctrl-tab incorrect works)
2011-12-29 18:26:46 +04:00
Ilia Maslakov 9548eb4cb1 Ticket #2628 (shift-tab, ctrl-tab incorrect works)
fixed trouble with tab + ctrl/shift modifiers then mc started into xterm.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-12-29 17:20:35 +04:00
Andrew Borodin 0a7365445d Merge branch '2694_tilde_find_file'
* 2694_tilde_find_file:
  Ticket #2694: support '~' as home dir in 'Start at:' field in 'Find File' dialog.
2011-12-29 11:46:25 +03:00
Andrew Borodin 1923c3544c Ticket #2694: support '~' as home dir in 'Start at:' field in 'Find File' dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-29 11:46:07 +03:00
idispatch 2862589aac Ticket #2708: Added ActionScript file syntax highlighting
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-28 17:18:04 +03:00
Ilia Maslakov 8e245b9107 Merge branch '2105_mcview_backward_search'
* 2105_mcview_backward_search:
  Ticket #2105 (mcview backward search)
2011-12-28 17:32:30 +04:00
S. Melnikov a3ddfd14ea Ticket #2105 (mcview backward search)
Until 4.7 '/' was forward and '?' backward search.
    In current releases both keys are bound to ViewSearch
    so one must manually choose Backwards option in the dialog.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-12-28 17:30:07 +04:00
Ilia Maslakov 847b1093e7 Merge branch '86_disable_x11_flag'
* 86_disable_x11_flag:
  Ticket #86 (disable X11 from command line)
2011-12-22 11:20:30 +04:00
Ilia Maslakov 0b631ab1eb Ticket #86 (disable X11 from command line)
added option --no-x, -X for starting mc without X11 support.
    updated documentation: es, hu, it, en, pl, ru, sr.

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2011-12-22 09:04:50 +04:00
Andrew Borodin a4b838cb4d Updated Russian translation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-13 14:08:00 +03:00
Slava Zanko 45fead09f3 Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-13 12:07:58 +03:00
Slava Zanko b03bfd56ea Updated translations from transifex.net
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-13 12:04:20 +03:00
Slava Zanko 8187e6eca5 Merge branch '2686_master_cleanup'
* 2686_master_cleanup:
  Modified "Configure options" dialog for better look'n'feel.
  Fixed user defined home dir, if home dir contain tilda (~/)
  Fixed memory leak in lib/serialize.c
  Move type and function declarations.
  (mc_config_normalize_before_save): fixed possible memory leak.
  (history_put): unused. Removed.
  Fixed double declaration of midnight_dlg variable.
  Moved declaration of old_esc_mode_timeout variable to the proper file section.
  More type accuracy
  (tty_lowlevel_getch): used in lib/tty only.
  Type accuracy.
  Fixed panel type replacement.
  Ticket 2686: Code cleanup
2011-12-13 11:21:26 +03:00
Andrew Borodin bd2ddb54cb Modified "Configure options" dialog for better look'n'feel.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:30:35 +03:00
Slava Zanko 1dffc24f9b Fixed user defined home dir, if home dir contain tilda (~/)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:30:35 +03:00
Slava Zanko 44de4d1b1f Fixed memory leak in lib/serialize.c
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:23:25 +03:00
Andrew Borodin 1b53918e0a Move type and function declarations.
(panel_view_mode_t): move from panel.h to layout.h.
(panel_update_cols): move from layout.[ch] to panel.[ch]
Fixed related includes.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin b49c165c59 (mc_config_normalize_before_save): fixed possible memory leak.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin d412b1ec8f (history_put): unused. Removed.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin 5e129f6b03 Fixed double declaration of midnight_dlg variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin d305e5099c Moved declaration of old_esc_mode_timeout variable to the proper file section.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin 5aaaa57883 More type accuracy
...in addition to a1e34b8dfa.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin 6704d927c0 (tty_lowlevel_getch): used in lib/tty only.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin 56f8164381 Type accuracy.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Andrew Borodin 7e01565c93 Fixed panel type replacement.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-12 12:23:25 +03:00
Slava Zanko 1ba18c54b0 Ticket 2686: Code cleanup
Avoid compiler warnings

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:23:25 +03:00
Slava Zanko c697e28e9c Merge branch '2646_filehighlight_enhancement'
* 2646_filehighlight_enhancement:
  Added file types for MS Office files
  Ticket #2646: A few useful additions to filehighlight.ini
2011-12-12 12:06:57 +03:00
Slava Zanko e0875b12c5 Added file types for MS Office files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:06:21 +03:00
Artem S. Tashkinov 9799869636 Ticket #2646: A few useful additions to filehighlight.ini
Added a few common file types to filehighlight.ini, namely
 * 7z, ace to archives
 * flac, ape, wma, wmv, 3gp to media

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 12:06:20 +03:00