Commit Graph

12680 Commits

Author SHA1 Message Date
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
Andrew Borodin
d8b58c84be Ticket #3134: fix some inconsistencies in "Learn keys" UI.
Reorder keys in "Learn key" window in accordance with the order
of keys on regular keyboards.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:18 +04:00
Egmont Koblinger
a45ba8054a Ticket #3133: keypad '*' doesn't work with numlock off.
Fix typos in misc/mc.lib.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
57feb5a2bc Ticket #3132: exit without confirmation by default.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
6daf97b402 (panel_operate): variable clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
04f8c63a72 (move_dir_dir): variable clean up.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
dab425e7fc src/filemanager/file.c: tweak indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
9c806f7661 doc/NEWS: cosmetics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
1672c78be4 src/editor/editbuffer.c: typo.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
094fd0cd89 Use symbolic names for standard file descriptors.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
c81c6c9f54 (setup_cmdline): fixup of prompt truncation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
15043e15b0 Clarify --skin key in RU man page.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
David Haller
48352fcc73 Ticket #3073: clarify regex in urar helper.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
675de9a7db (panel_compute_totals): fix display of directory scanning statistics.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
249c3e2470 Ticket #3113: code cleanup before 4.8.12 release.
misc/ext.d/text.sh.in: don't concatenate directory and full file name.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-10 16:26:17 +04:00
Andrew Borodin
1dcafad6ff Fix indentation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-07 10:02:08 +04:00
Andrew Borodin
866663f455 Merge branch '3123_file_operation_prompt'
* 3123_file_operation_prompt:
  Refresh po/*.po files.
  Ticket #3123: clarify file operation prompt.
2014-02-07 09:39:33 +04:00
Andrew Borodin
a45030b512 Refresh po/*.po files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-07 09:38:47 +04:00
Andrew Borodin
26f0930919 Ticket #3123: clarify file operation prompt.
In the delete confirmation dialog, the question mark is on its own line.
This is gramatically incorrect in English.

(panel_operate_generate_prompt): totally rewrite.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-07 09:36:14 +04:00
Andrew Borodin
96d90e5b51 Merge branch '3156_toggle_hidden_fix'
* 3156_toggle_hidden_fix:
  Ticket #3156: fix of panels redraw after toggling hidden files.
2014-02-07 09:27:28 +04:00
Andrew Borodin
651bb2e86e Ticket #3156: fix of panels redraw after toggling hidden files.
(toggle_show_hidden): redraw both panels forced after toggling
hidden files. The bug is appeared when toggling is performed
by mouse clicking on icon in the panel title: current panel
is updated, other one isn't.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-02-07 09:26:47 +04:00
Andrew Borodin
38629e21de Merge branch '3150_achown_list_esc'
* 3150_achown_list_esc:
  Ticket #3150: achown: escape on user list should not accept value.
2014-02-07 09:23:04 +04:00