Commit Graph

12701 Commits

Author SHA1 Message Date
Andrew Borodin
020edf6e34 Merge branch '3097_smb_recursive_find'
* 3097_smb_recursive_find:
  Ticket #3097: fix recursive find file on Samba share.
2014-04-29 09:53:38 +04:00
Martin Petricek
3324ed0727 Ticket #3097: fix recursive find file on Samba share.
src/filemanager/file.c (do_search): the algorithm executes mc_stat() on
a file (directory) and checks number of links. It assumes number of
links minus 2 is number of subdirectories available for recursive
search. While that assumption is valid on probably all Linux
filesystems, it is not valid on mounted Samba shares. For these, number
of links (as reported by stat or seen by 'ls -l') is not 1 for most
files and 2+ for directories, but zero for all files and directories
within the share (I guess that is how the kenrel samba module works
...). Therefore the optimization (that may limit the recursion) done by
subdirs_left breaks the recursive search.

Also this patch fixes recursive search on NFS shares provided by Windows
2012R2 NFS service (ticket #3202).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-04-29 09:45:00 +04:00
Egmont Koblinger
908a6937e6 Ticket #3190: add light gray skins: gray-green-purple256 and gray-orange-blue256.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-04-16 16:36:01 +04:00
Slava Zanko
e37b039a85 Updated doc/NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-04-01 14:42:53 +03:00
Slava Zanko
59cabc623d Updated the hints translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-04-01 14:35:21 +03:00
Slava Zanko
99ffdd5d1b Fixed address of Transifex server
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-04-01 14:30:00 +03:00
Slava Zanko
4e80cf65a0 Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-04-01 14:20:58 +03:00
Andrew Borodin
611e3067a4 Merge branch '3178_commandlinemark_update'
* 3178_commandlinemark_update:
  Ticket #3178: fix update of command line colors on skin change.
2014-03-27 16:41:14 +04:00
Egmont Koblinger
976c18557e Ticket #3178: fix update of command line colors on skin change.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-27 16:41:02 +04:00
Andrew Borodin
08b272f31b Merge branch '3187_iso9660_rr_joliet'
* 3187_iso9660_rr_joliet:
  Ticket #3187: use Joliet and RockRidge in ISO9660 image view action.
2014-03-27 16:36:03 +04:00
Andrew Borodin
8c767d2f08 Ticket #3187: use Joliet and RockRidge in ISO9660 image view action.
Thanks Rafał Mużyło <galtgendo@o2.pl> for the idea.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-25 13:17:29 +04:00
Andrew Borodin
5ae9521760 Merge branch '3173_popup_location'
* 3173_popup_location:
  (dlg_set_size): clarify comment and hangling of DLG_TRYUP flag.
  Ticket #3173: fix location of popup windows upon screen resize.
2014-03-24 16:21:09 +04:00
Egmont Koblinger
5b243eb9ea (dlg_set_size): clarify comment and hangling of DLG_TRYUP flag.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-24 16:20:41 +04:00
Andrew Borodin
be6b3889af Ticket #3173: fix location of popup windows upon screen resize.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-24 16:20:40 +04:00
Slava Zanko
8ee4732bd5 Merge branch '3122_xorriso_one_depth'
* 3122_xorriso_one_depth:
  Ticket #3122: xorriso iso9660 show only one depth
2014-03-19 12:05:09 +03:00
Slava Zanko
272116b0a8 Ticket #3122: xorriso iso9660 show only one depth
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-03-19 12:04:09 +03:00
Andrew Borodin
dee4d1101e Merge branch '3179_not_found_dialog_uniq'
* 3179_not_found_dialog_uniq:
  Ticket #3179: do not consider "String not found" mwssage as error.
2014-03-18 21:10:33 +04:00
Andrew Borodin
c8eb0f4c96 Ticket #3179: do not consider "String not found" mwssage as error.
If some string isn't found it is a normal situation, not en error.
So show "String not found" message as normal dialog not as error one.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-18 21:10:13 +04:00
Egmont Koblinger
a9d02894a1 Ticket #3180: remove DFF_FOLDER_COLOR. It's unused.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-16 17:14:54 +04:00
Egmont Koblinger
38a6c44091 Ticket #3184: minor skin cleanups.
* Consistent indentation: All skins use now 4 spaces (the default of
mcedit). This makes it easier to copy-paste sections from one skin to
another, while maintaining consistency.
  * Spaces around the '=' sign. The version with spaces is more
readable, especially around double line characters.
  * Make the order of the sections consistent across all skins.
  * In [menu], swap the order of "menusel" and "menuhot" to make the
order consistent with the [dialog] and [error] sections.
  * Add the missing "helptitle" to sand256 skin. This is the only
functional change.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-16 17:07:49 +04:00
Andrew Borodin
cb4526e9b8 Merge branch '3183_diffviewer_lines'
* 3183_diffviewer_lines:
  Ticket #3183: diffviewer line drawing fix.
2014-03-16 17:03:05 +04:00
Egmont Koblinger
5943929956 Ticket #3183: diffviewer line drawing fix.
The "topmiddle" and "bottommiddle" characters are defined incorrectly
in many skins. This is because the correct definition wouldn't work
with S-Lang build. The only place these characters are used is the
diffviewer if either the +/- signs or the line numbers are shown,
enabled by pressing S or L. The correct definition of these characters
currently show up as 'v' and 'w' characters.

The fix makes the diffviewer use tty_print_alt_char() as it is being used
in other parts of the code, and hence it fixes the bug.
It also fixes the skin definitions.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-16 17:02:46 +04:00
Andrew Borodin
b9a1e5de1c Merge branch '2983_fish_filename_percent'
* 2983_fish_filename_percent:
  Ticket #2983: fish VFS: fix handling of filenames with '%'.
2014-03-15 16:16:40 +04:00
Dieter Werner
4ceb420139 Ticket #2983: fish VFS: fix handling of filenames with '%'.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-15 16:12:45 +04:00
Andrew Borodin
92235939f1 Merge branch '3177_zsh_long_start'
* 3177_zsh_long_start:
  Ticket #3177: fix long start of mc if SHELL is zsh.
2014-03-14 09:34:19 +04:00
Egmont Koblinger
c96a73da49 Ticket #3177: fix long start of mc if SHELL is zsh.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-03-14 09:31:37 +04:00
Andrew Borodin
5f94d51fab Merge branch '3167_copyright'
* 3167_copyright:
  tests/lib/vfs: update copyright notice.
  Fix name of FSF in all *.c files.
  Ticket #3167: copyright issues.
2014-02-28 13:33:36 +04:00
Andrew Borodin
60334cfce8 tests/lib/vfs: update copyright notice.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:33:17 +04:00
Andrew Borodin
e5203cb023 Fix name of FSF in all *.c files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:33:17 +04:00
Andrew Borodin
43bf10b170 Ticket #3167: copyright issues.
lib/strutil/xstrtol.c: restore copyright line.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:33:16 +04:00
Andrew Borodin
262feea334 Update po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:32:30 +04:00
Andrew Borodin
14054480d7 Merge branch '3152_display_bits'
* 3152_display_bits:
  Ticket #3152: fix unconventional behavior of "Display bits" dialog.
2014-02-28 13:25:26 +04:00
Andrew Borodin
f1953f368d Ticket #3152: fix unconventional behavior of "Display bits" dialog.
Use codepage name as button name:

Input / display codepage: [ UTF-8 ]

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:23:22 +04:00
Andrew Borodin
bf0f7c8594 Merge branch '3140_check_newline'
* 3140_check_newline:
  Ticket #3140: mcedit: trailing newline check applied too early when exiting.
2014-02-28 13:18:42 +04:00
Andrew Borodin
ea2bf84b1a Ticket #3140: mcedit: trailing newline check applied too early when exiting.
(edit_ok_to_exit): check newline after user wants to save file.
(edit_check_newline): fix message.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 13:16:51 +04:00
Andrew Borodin
e68bf2d473 Merge branch '3176_sftpfs_view_file_segfault'
* 3176_sftpfs_view_file_segfault:
  Ticket #3176: sftpfs: fix segfault when trying to view a file.
2014-02-28 09:37:47 +04:00
Vahur Sinijärv
cd44dc5938 Ticket #3176: sftpfs: fix segfault when trying to view a file.
Segfault was caused by using data from already free()-d memory
in /src/vfs/sftpfs/file.c. sftpfs_lseek() accessed a memory block,
which was previously deallocated by sftpfs_reopen().

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-28 09:37:26 +04:00
Egmont Koblinger
9bbc51098e Ticket #3154: fix the look of nicedark skin on black-on-white terminals.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-22 16:52:13 +04:00
plastikat
3d3a5ecbb9 Ticket #2978: support Shift+Fn keys for 256-color mode of tmux
...and probably for 256-color mode of screen.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-22 15:21:27 +04:00
Andrew Borodin
b3787781a7 Merge branch '3172_listbox_append_item_fix'
* 3172_listbox_append_item_fix:
  Ticket #3172: WListbox: fix of add item to the empty list.
2014-02-18 09:45:21 +04:00
Gergely Szász
2b6e440597 Ticket #3172: WListbox: fix of add item to the empty list.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-18 09:42:15 +04:00
Andrew Borodin
69b5cf5a81 Merge branch '2165_skin_selector'
* 2165_skin_selector:
  Update po/*.po files.
  Ticket #2165: basic version of the user-friendly skin selector.
2014-02-11 15:21:19 +04:00
Andrew Borodin
374f24980b Update po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-11 15:20:37 +04:00
Andrew Borodin
bf474e1241 Ticket #2165: basic version of the user-friendly skin selector.
Thanks Egmont Koblinger and Vitaliy Filippov for original patches.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-11 15:13:09 +04:00
Andrew Borodin
25bc34a4b5 Merge branch '3113_cleanup'
* 3113_cleanup:
  From ticket #3116: attempt to fix segfault while passing messages to widgets.
  From ticket #3116: fix segfault in cpio VFS while reading corrupted RPM.
  From ticket #3116: fix possible segfault when freeing a VFS.
  Ticket #3151: lib/global.h: remove declaration of refresh_screen().
  Collapse list of copyright years to ranges. Add 2014 year.
  Ticket #3134: fix some inconsistencies in "Learn keys" UI.
  Ticket #3133: keypad '*' doesn't work with numlock off.
  Ticket #3132: exit without confirmation by default.
  (panel_operate): variable clean up.
  (move_dir_dir): variable clean up.
  src/filemanager/file.c: tweak indentation.
  doc/NEWS: cosmetics.
  src/editor/editbuffer.c: typo.
  Use symbolic names for standard file descriptors.
  (setup_cmdline): fixup of prompt truncation.
  Clarify --skin key in RU man page.
  Ticket #3073: clarify regex in urar helper.
  (panel_compute_totals): fix display of directory scanning statistics.
  Ticket #3113: code cleanup before 4.8.12 release.
2014-02-10 16:28:30 +04:00
Andrew Borodin
30ca8efd7c From ticket #3116: attempt to fix segfault while passing messages to widgets.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:27:03 +04:00
Eugene San (eugenesan)
65b83b3efc From ticket #3116: fix segfault in cpio VFS while reading corrupted RPM.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:27:03 +04:00
Eugene San (eugenesan)
198334ccc4 From ticket #3116: fix possible segfault when freeing a VFS.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:27:03 +04:00
Andrew Borodin
5e7e9ddf32 Ticket #3151: lib/global.h: remove declaration of refresh_screen().
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:27:03 +04:00
Andrew Borodin
f0da49345a Collapse list of copyright years to ranges. Add 2014 year.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:27:03 +04:00