Maxim Akristiniy
907ac30b49
mc.ext: add Excel xlsx file format ( closes MidnightCommander/mc#135 )
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 16:14:09 +02:00
Yury V. Zaytsev
b44bfee6bf
Ticket #3789 : remove faulty test in rpm helper to detect CONFLICTS tag
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 15:17:31 +02:00
Yury V. Zaytsev
b692136645
maint: fix test fixtures for extfs rpm helper (broken in 8d0c1c3
)
...
Signed-off-by: Yury V. Zaytsev <yury@shurup.com>
2018-05-27 15:00:38 +02:00
Sergey Naumov
729f6eef9c
Ticket #3893 : fix markdown.syntax that doesn't work well for complex files
...
* Asterisk and underscore contexts don't play well with lists or
words containing underscores. And given that markdown files
could contain not only ASCII text, it is better to be conservative
in detecting contexts.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-05-09 18:12:42 +03:00
Andrew Borodin
bfa94e280f
Merge branch '3914_usermenu_view'
...
* 3914_usermenu_view:
Ticket #3914 : %view not piping command output to internal viewer in user menu.
2018-05-09 18:03:40 +03:00
Andrew Borodin
8f7d44ef7f
Ticket #3914 : %view not piping command output to internal viewer in user menu.
...
Revert "(execute_menu_command): fix mcview_viewer() call."
This reverts commit 2043ef74a9
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-05-07 09:07:37 +03:00
Andrew Borodin
35d21b6ea2
Merge branch '3913_safe_overwrite'
...
* 3913_safe_overwrite:
Update po/*.po files.
Ticket #3913 : implement safe file overwrite.
2018-04-30 12:54:38 +03:00
Andrew Borodin
3098e248a7
Update po/*.po files.
2018-04-25 11:42:23 +03:00
Andrew Borodin
34712ec05b
Ticket #3913 : implement safe file overwrite.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-04-25 11:36:10 +03:00
Andrew Borodin
a66ee73305
Merge branch '3908_confirm_overwrite'
...
* 3908_confirm_overwrite:
Ticket: 3908: quiet single file overwrite.
2018-04-15 11:35:56 +03:00
Andrew Borodin
7d73ce1cbe
Ticket: 3908: quiet single file overwrite.
...
If target file exists, MC overwrites that file without confirmation.
The bug was introduced in #3149 .
How to reproduce:
1. Create two files: `touch a aa`.
2. Stay on "aa".
3. Make sure that Options/Confirmation.../Overwrite option is checked on.
4. Press Shift-F6
5. Edit the "to:" value to "a" ("a" file exists) and press Enter.
Actual result:
The "a" file is overwritten w/o confirmation.
Expected result:
Since the "a" file exists the confirmation dialog must be shown.
The problem is: confirmation dialog requires context UI which was not
created in case of single file rename operation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-04-07 13:13:53 +03:00
Andrew Borodin
b7ead57e0b
Merge branch '3906_zstd'
...
* 3906_zstd:
Ticket #3906 : ZSTD support.
2018-03-27 08:07:27 +03:00
Adam Borowski
5eb9bd605e
Ticket #3906 : ZSTD support.
...
Signed-off-by: Adam Borowski <kilobyte@angband.pl>
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-03-19 15:00:23 +03:00
Marco Ciampa
e574c3b51a
Updated Italian translation
2018-02-24 12:38:07 +01:00
Andrew Borodin
cf8e1028e9
Merge branch '1620_file_highlight_icase'
...
* 1620_file_highlight_icase:
Ticket #1620 : change file highlighting defaults.
2018-02-19 21:06:35 +03:00
Andrew Borodin
566992da32
Ticket #1620 : change file highlighting defaults.
...
Now file highlighting by extension is case insensitive by
default.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-18 12:05:05 +03:00
Andrew Borodin
e41af67762
Merge branch '3898_mcedit_save_files'
...
* 3898_mcedit_save_files:
Ticket #3898 : mcedit doesn't save all opened files.
2018-02-12 21:12:02 +03:00
Andrew Borodin
a2a63aa8c1
Ticket #3898 : mcedit doesn't save all opened files.
...
(edit_quit): do not call widget_select() while direct iterating editor
windows because it changes the window position in Z order. Collect
modified files in separate list.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-12 21:11:56 +03:00
Andrew Borodin
bd0cbbd710
Merge branch '3897_mcedit_extended_mode'
...
* 3897_mcedit_extended_mode:
Ticket #3897 : mcedit: broken extended key mode.
2018-02-12 21:11:23 +03:00
Andrew Borodin
c139ba72ae
Ticket #3897 : mcedit: broken extended key mode.
...
(edit_dialog_callback): do not reset the extended mode if command
was not handled.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-12 21:10:43 +03:00
Andrew Borodin
c9ca0cc01b
Merge branch '3876_cleanup'
...
* 3876_cleanup: (47 commits)
(mc_deserialize_str): trivial optimization.
(edit_do_search): use gboolean. Remove unused computations.
(str_8bit_encodings[], str_utf8_encodings[]): make const.
(etags_set_definition_hash): make buf stack variable.
(convert_from_8bit_to_utf_c2): use convert_from_8bit_to_utf_c().
str_convert_to_input() never returns NULL.
(edit_collect_completions): str_convert_to_display() never returns NULL.
lib/charsets.c: fix coding style, trivial optimizations.
(mc_search__recode_str): minor optimization.
(mc_search__get_one_symbol): cosmetics.
strutil: character test functions return gboolean instead of int.
Use str_move() where possible.
Use gboolean instead of int in file/dir sort related functions.
(get_codepage_index): minor optimizations.
(ftpfs_command): minor optimization.
FTP: fix some calls of ftpfs_command().
FISH: optimize creation of FISH commands.
src/vfs/fish/fish.c: allocate buffer for command dynamically.
(vfs_url_split): Fix 2 memory leaks found by valgrind.
smbfs: code cleanup
...
2018-02-04 11:31:00 +03:00
Andrew V. Samoilov
af8b0ce339
(mc_deserialize_str): trivial optimization.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
de242255dc
(edit_do_search): use gboolean. Remove unused computations.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
dfd6d99e1c
(str_8bit_encodings[], str_utf8_encodings[]): make const.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
06eac9f17d
(etags_set_definition_hash): make buf stack variable.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew Borodin
d70a899c16
(convert_from_8bit_to_utf_c2): use convert_from_8bit_to_utf_c().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
9b74ff8653
str_convert_to_input() never returns NULL.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
454e23d48f
(edit_collect_completions): str_convert_to_display() never returns NULL.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
c2e2a33358
lib/charsets.c: fix coding style, trivial optimizations.
2018-02-04 11:30:23 +03:00
Andrew Borodin
c04f8776de
(mc_search__recode_str): minor optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
c511968cd4
(mc_search__get_one_symbol): cosmetics.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
52d1980c46
strutil: character test functions return gboolean instead of int.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
2a973f7a46
Use str_move() where possible.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
8b6f4ef2c2
Use gboolean instead of int in file/dir sort related functions.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
d78fc418ec
(get_codepage_index): minor optimizations.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew Borodin
56081caaae
(ftpfs_command): minor optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
6d3d6c9b45
FTP: fix some calls of ftpfs_command().
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
ec80df187c
FISH: optimize creation of FISH commands.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
aafc77c8f9
src/vfs/fish/fish.c: allocate buffer for command dynamically.
...
Continue 53a1d52ed9
.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
35376105d4
(vfs_url_split): Fix 2 memory leaks found by valgrind.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
63d9fc6b0a
smbfs: code cleanup
...
* (sys_select): fix }
* (sys_open): commented out
* (sys_random, sys_srandom): remove unused functions
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
f963a74a8e
smbfs/helpers: comment out unused code.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
a02c353ab9
smbfs/helpers: Comment/remove unused code. Reduce .data
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
6a47e7bce9
(sesssetup_user): make static const char[] instead of pstring.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
b207798426
(events_init): make standard_events const.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew V. Samoilov
6f6c676776
(mc_event_mass_add): make events const.
...
Signed-off-by: Andrew V. Samoilov <a.samoilov@gmail.com>
2018-02-04 11:30:23 +03:00
Andrew Borodin
af466458b7
vfs: create enum vfs_linear_state_t instead of defines.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
95e1ab3064
vfs: use LS_NOT_LINEAR constant.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
cb354e5490
(vfs_file_handler_t::changed): change type from int to gboolean.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00
Andrew Borodin
a514ce6d13
(vfs_s_super::want_stale): change type from int to gboolean.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2018-02-04 11:30:23 +03:00