Commit Graph

12606 Commits

Author SHA1 Message Date
Andrew Borodin
5b1350c254 Merge branch '3047_panel_dir_fix'
* 3047_panel_dir_fix:
  Ticket #3047: fix mc arguments handling.
2013-09-13 18:04:37 +04:00
Andrew Borodin
446748619b 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 panels.ini
  * 'mc dir1 dir2' (two arguments):
     active panel uses dir1
     right panel uses dir2
  * 'mc dir1' (single argument):
     active panel uses dir1
     passive panel uses "other_dir" from panels.ini

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-09-13 18:00:50 +04:00
Andrew Borodin
e23239bf66 Merge branch '2271_confirmation_dialog_i18n'
* 2271_confirmation_dialog_i18n:
  Ticket #2271: fix i18n in Confirmation dialog.
2013-09-12 18:19:46 +04:00
Andrew Borodin
4b8e47da6d Ticket #2271: fix i18n in Confirmation dialog.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-09-12 18:19:02 +04:00
Andrew Borodin
1ff833e154 Merge branch '3061_layout_split_buttons_fix'
* 3061_layout_split_buttons_fix:
  Ticket #3061: fix [en|dis]abling of layout split adjust buttons.
2013-09-09 14:20:27 +04:00
Avi Kelman
3452b707b8 Ticket #3061: fix [en|dis]abling of layout split adjust buttons.
Switching between vertical and horizontal layouts doesn't properly
activate or deactivate the < and > widget buttons in the layout dialog
according to the setting of the mode being switched to.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-09-09 14:19:20 +04:00
Andrew Borodin
b233f45796 Merge branch '3029_warn_about_unknown_switches'
* 3029_warn_about_unknown_switches:
  Ticket #3029: configure.ac: warning about unknown '--with-' / '--enable-' options.
2013-09-05 14:45:49 +04:00
Sergei Trofimovich
d362fc964e Ticket #3029: configure.ac: warning about unknown '--with-' / '--enable-' options.
As we use 'AC_CONFIG_SUBDIRS' macro for samba sources option checking is
disabled for us.

Before the patch:

    $ ./configure --with-i-have-misspelled-editor-for-edit
    ...
    # no warnings

The patch enables warnings back only for top-level ./configure:

    $ ./configure --with-i-have-misspelled-editor-for-edit
    ...
    configure: WARNING: unrecognized options: --with-i-have-misspelled-editor-for-edit

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2013-09-05 14:44:51 +04:00
Andrew Borodin
cbb44f4d75 Merge branch '2812_rpm_requires_versions'
* 2812_rpm_requires_versions:
  Ticket #2812: rpm vfs: add dependency version output.
2013-09-05 14:13:10 +04:00
Alexander Chumachenko
ff0346d1f9 Ticket #2812: rpm vfs: add dependency version output.
This commit does some rpm extfs facelift and adds dependency version
output; since this shifts the semantics from "name" to "name and maybe
a version", the generated virtual file has been renamed either (REQUIRES
instead of REQUIRENAME, more in a line with PROVIDES).

It is esteemed that nothing worse than a passing surprise for some users
would happen while improving the overall usefulness.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-09-05 14:11:42 +04:00
Andrew Borodin
673f8c793a Merge branch '3060_layout_dialog_enhance'
* 3060_layout_dialog_enhance:
  Make layout dialog left/right arrows more coherent.
  Ticket #3060: live update the panels size when editing layout.
2013-09-02 15:54:46 +04:00
Avi Kelman
e546698396 Make layout dialog left/right arrows more coherent.
Alt+Shift+Left_arrow and Alt+Shift+Right_arrow directly influence the
divider position, but the < and > layout dialog buttons have the
reverse effect, which is unintuitive behavior. Reverse the direction of
< and > influence so that clicking left moves the divider left, and
clicking right moves the divider right.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-31 12:58:44 +04:00
Avi Kelman
a8101d8403 Ticket #3060: live update the panels size when editing layout.
Update the panel split display while adjusting the layout dialog,
because the user should not be expected to know what number of columns
or rows is reasonable without being able to see the effects. Cancel
reverts previous settings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-31 12:58:44 +04:00
Marco Ciampa
eb7388db20 Updated italian translation. 2013-08-04 10:17:06 +02:00
Slava Zanko
158165e59e Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-08-02 21:52:10 +03:00
Slava Zanko
4ad8dadc6b Updated the hints translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-08-02 21:46:36 +03:00
Slava Zanko
4039b6b2b0 Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2013-08-02 21:34:28 +03:00
Andrew Borodin
0d44a84f82 Merge branch '3035_cleanup'
* 3035_cleanup:
  (hline_callback): fix of MSG_INIT and MSG_RESIZE messages handling.
  src/filemanager/find.c: type accuracy.
  (menubar_new): add 3rd 'visible' argument.
  rpm extfs: fix rpm file name in status message.
  Ticket #3035: prepare to 4.8.10 release.
2013-08-02 21:59:14 +04:00
Andrew Borodin
511850e52b (hline_callback): fix of MSG_INIT and MSG_RESIZE messages handling.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 21:58:45 +04:00
Andrew Borodin
8efc98d2fd src/filemanager/find.c: type accuracy.
Use gboolean instead of int for boolean variables.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 21:58:45 +04:00
Andrew Borodin
b451e8d13d (menubar_new): add 3rd 'visible' argument.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 21:58:45 +04:00
Andrew Borodin
f029a529d2 rpm extfs: fix rpm file name in status message.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 21:58:45 +04:00
Andrew Borodin
0fe4734fd6 Ticket #3035: prepare to 4.8.10 release.
(move_dir_dir): fix segfault during file erase after directory move.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 21:58:44 +04:00
Andrew Borodin
1f4147e03e Merge branch '2995_link_gmodule_if_required'
* 2995_link_gmodule_if_required:
  Ticket #2995: do not link GModule if it is not required (save space on embedded systems).
2013-08-02 21:53:42 +04:00
Andrew Borodin
5260d6612c Ticket #2995: do not link GModule if it is not required (save space on embedded systems).
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2013-08-02 21:53:17 +04:00
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