Commit Graph

11356 Commits

Author SHA1 Message Date
S. Melnikov
9aadcfe970 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.

(cherry picked from commit a3ddfd14ea)

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-02-05 10:56:32 +03:00
Andrew Borodin
8b5e5e5430 Refactoring of hotlist confirmation dialogs.
(cherry picked from commit 1f1908a824)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-02-05 10:51:27 +03:00
Andrew Borodin
5f3223cf8f 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.

(cherry picked from commit a29abae2e3)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-02-05 10:51:04 +03:00
Andrew Borodin
00a2e20d6b Ticket #2694: support '~' as home dir in 'Start at:' field in 'Find File' dialog.
(cherry picked from commit 1923c3544c)

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-02-05 10:46:10 +03:00
Egmont Koblinger
a6ca3c2899 Ticket #2689 (fix fallocate detection for xBSD)
fixed macros 'mc-get-fs-info.m4' for correct 'fallocate' detection under xBSD

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-01-19 17:13:14 +04:00
Andrew Borodin
99e292a800 Updated Russian translation
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:42:37 +03:00
Andrew Borodin
3633020936 Fixed hotkeys in 'Search' dialog in mcdiff viewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:42:26 +03:00
Andrew Borodin
f62de8b8ab Fixed hotkeys in 'Search' and 'Replace' dialogs in mcedit.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:42:14 +03:00
Andrew Borodin
fcfc17b03c Fixed hotkeys in 'Search' dialog in mcviewer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:41:58 +03:00
Andrew Borodin
a14d931f46 Ticket #2704: added hotkeys for search types.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:41:45 +03:00
ctmp1
86dd1646f5 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-14 10:36:20 +03:00
Nerijus Baliunas
3fd3f2befe Ticket #2702: improve video support.
Open .m4v and .ts files as video ones.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-01-14 10:34:56 +03:00
Artem S. Tashkinov
b6f3e56f9f Ticket #2703: Simplify mc.menu - remove LZMA|LZ and change p7 to 7z
* LZMA is now considered unsupported and outdated, let's get rid of it.
 * There's no p7 archiver format, let's change it to "7z".

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-01-13 11:58:49 +03:00
Andrew Borodin
66868141a5 doc/NEWS: fixed non-latin symbols.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-30 17:59:06 +03:00
Ilia Maslakov
3e15b5af64 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 11:36:05 +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
Slava Zanko
4dde8ca1dd Merge branch '2625_fish_mtime'
* 2625_fish_mtime:
  FISH: added external script 'utime'
  Ticket #2625: mc does not preserve file mtime when copying over ssh
2011-12-12 11:51:47 +03:00
Slava Zanko
ccb6de98c1 FISH: added external script 'utime'
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 11:51:25 +03:00
Sergey
fac8c5d2f3 Ticket #2625: mc does not preserve file mtime when copying over ssh
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-12 11:51:25 +03:00
Slava Zanko
6f13867a34 Merge branch '2662_fix_space_calculation'
* 2662_fix_space_calculation:
  Ticket #2662: Calculating free space by ctrl+space doesn't work.
2011-12-09 14:09:43 +03:00
Egmont Koblinger
b4912875b5 Ticket #2662: Calculating free space by ctrl+space doesn't work.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-09 13:05:03 +03:00
Slava Zanko
f507987448 update po/mc.pot file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-07 15:34:36 +03:00
Andrew Borodin
ae40921783 Merge branch '2678_resize_layout_fix'
* 2678_resize_layout_fix:
  Fixup update of command line after window resize.
  Ticket #2678: fixup of filemanager layout after screen resize.
2011-12-07 16:02:37 +03:00
Andrew Borodin
86c8378d66 Fixup update of command line after window resize.
The bug only occurs with subshell enabled.

When resizing the window while in the viewer, the subshell resizes
itself and hence prints its prompt again. This is captured and processed
by mc.

src/filemanager/layout.c:setup_panels() is executed and recalculates
properties of the panel, but for some reason this time mc_prompt does
contain all the invisible characters, they are not stripped off, hence
size calculation goes wrong.

Thanks Egmont Koblinger for the detailed description of the problem and
the idea of fix.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-07 16:02:20 +03:00
Andrew Borodin
d99feea391 Ticket #2678: fixup of filemanager layout after screen resize.
Initial state: forced suspend the previous screen when new screen has
been created. Forced resume the current screen when the previous screen
has been closed. Don't redraw suspended screens, just set sinch_pending
flag. Screen will be redrawn immediately after resume.

This commit allow ret rid of setup_panels() call if screen is resized
and filemanager is not active screen at that time.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-07 16:02:20 +03:00
Andrew Borodin
91ab327d66 Merge branch '2677_viewer_double_dialog'
* 2677_viewer_double_dialog:
  Ticket #2677: ret rid of double dialog in viewer if search not found.
2011-12-07 13:48:30 +03:00
Andrew Borodin
5e2d802f8d Ticket #2677: ret rid of double dialog in viewer if search not found.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2011-12-06 20:53:43 +03:00
Slava Zanko
5975ec9f66 Merge branch '2636_configs_placement'
* 2636_configs_placement:
  Show error and don't start if config directory is a regular file
  Fixed migration rules
  Added unit test for mc_config_get_full_path() function
  Updated MAN-pages for describe new paths to configs
  Ticket #2675: man pages fixes.
  Fixed comment about location of mc.keymap file.
  fixup! Ticket #2636: The various MC config placements.
  Added function mc_config_get_full_path() for search user's config files by short names.
  Some config files moved to more appropriate places.
  Changed source code for respect '--enable-homedir' configure option.
  Ticket #2636: The various MC config placements.
  Ticket #1730 (troubles in mcviewer with utf8)
2011-12-06 16:27:59 +03:00
Slava Zanko
29ba0a0cda Show error and don't start if config directory is a regular file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-06 16:24:10 +03:00
Slava Zanko
6b2c8d4800 Fixed migration rules
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-06 16:24:10 +03:00
Slava Zanko
162a330f42 Added unit test for mc_config_get_full_path() function
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2011-12-06 16:24:10 +03:00