Andrew Borodin
2d1c6ed669
(sel_skin_button): simplify.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
7b96b56010
(format_file): remove unused arguments.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
9703378726
mceditor: syntax: reimplement context list using GPtrArray.
2014-12-10 13:04:24 +03:00
Andrew Borodin
3faf53b6c3
mceditor: syntax: remove syntax_keyword_t::first member.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
8307c12bd4
mceditor: syntax: reimplement keyword list using GPtrArray.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
32cfbfaef1
(edit_read_syntax_rules): minor refactoring of keyword first chars collect.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
172196d16a
(edit_read_syntax_rules): fix pointer tests.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
4dd577fbe0
mceditor: reimplement syntax name list using GPtrArray.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 13:04:24 +03:00
Andrew Borodin
7f8135d071
Ticket #3277 : Info panel can't obtain file system statistics on Solaris.
...
(read_file_system_list): initialize variable.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andreas Köhler
95f97b73d1
Recognize "Java archive data (JAR)" as zip archive.
...
The 'file' utility determine the file type differently:
till file-5.16 - Java Jar file data (zip)
since file-5.17 - Java archive data (JAR)
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
e9c5fb3048
(mcview_offset_doz): use more.
2014-12-10 12:57:47 +03:00
Andrew Borodin
0ad09aa393
Sync with gnulib 2768ceb7994506e2cfba88be3b6bd13ef5440a90.
...
mountlist: don't use libmount to decide on dummy/remote.
Don't use the libmount routines to determine whether a file system is
dummy or remote, as they're not currently compatible. For example the
remoteness is determined on file system type (for which the list seems
incomplete), rather than simply checking for a ':' in the device name.
Also libmount currently determines that 'tmpfs' is a dummy file system
even though it has associated storage.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
12fac096ed
Sync with gnulib 3ea43e02541ece750ffc6cd1dfe34195421b4ef3.
...
mountlist: use /proc/self/mountinfo when available
Use libmount to propagate device IDs provided by Linux in
/proc/self/mountinfo. This will give more accurate output when using df
in chroot'ed environments as the device IDs are not determined by stat()
which may be inaccurate within the chroot.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
3edcc3fd77
(mcview_dimen_min): remove. Use min() macro instead.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
c20e96b4bc
(mcview_get_byte_string): minor optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
60e1a06c06
mcviewer: clarify support of UTF-8 codeset.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
8f8c5217ee
(mcview_get_byte_growing_buffer): some optimization.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
56af50cb1d
(mcview_get_byte): fix value returned in case of error.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
052ac838aa
Add semicolon to the table of key code names.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
ce568de9b9
(name_quote): refactoring
...
...and related modifications.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:47 +03:00
Andrew Borodin
21fba120d0
(show_tree): minor optimization.
2014-12-10 12:57:47 +03:00
Andrew Borodin
b36adca2d1
Ticket #3265 : code cleanup before 4.8.14 release.
...
Use MC_PTR_FREE again.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:57:46 +03:00
Andrew Borodin
9ec680a602
Merge branch '3297_preallocate_move_lose_data'
...
* 3297_preallocate_move_lose_data:
Ticket #3297 : don't lose file in case of preallocate space fail.
2014-12-10 12:50:28 +03:00
Andrew Borodin
a3486faac3
Ticket #3297 : don't lose file in case of preallocate space fail.
...
Don't remove the destination file if it was retrieved incompletely
but it was already exist and appended during copy/move operation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 12:47:00 +03:00
Andrew V. Samoilov
63e8eae0b1
Update Russian and Ukrainian translations.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-12-10 09:02:01 +03:00
Marco Ciampa
4d92ee740c
Fixed italian tranlation
2014-11-15 20:25:44 +01:00
Andrew Borodin
c7ff7b3671
Fix editcmd__edit_complete_word_cmd test.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-03 13:44:44 +04:00
Andrew Borodin
4addae7f12
Merge branch '3247_status_msg_update_rate'
...
* 3247_status_msg_update_rate:
(status_msg_init): repaint screen forced to remove previous finished dialog.
Reduce update rate in the "Directory scanning" dialog.
status_msg_t: reimplement delay usage.
(mc_time_elapsed): add new function to detect elapsed time intervals.
Ticket #3247 : refactoring of status_msg engine.
2014-10-03 13:21:31 +04:00
Andrew Borodin
720f214482
(status_msg_init): repaint screen forced to remove previous finished dialog.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-03 13:19:26 +04:00
Andrew Borodin
c31e413b2a
Reduce update rate in the "Directory scanning" dialog.
...
As a result, directory scannig is faster than before.
The author of idea and initial patch is Egmont Koblinger.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-03 13:19:25 +04:00
Andrew Borodin
81201b3022
status_msg_t: reimplement delay usage.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-03 13:19:25 +04:00
Andrew Borodin
89621050e3
(mc_time_elapsed): add new function to detect elapsed time intervals.
...
The author of initial patch is Egmont Koblinger.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-03 13:19:25 +04:00
Andrew Borodin
be938c611b
Ticket #3247 : refactoring of status_msg engine.
...
Initial commit: create global timer.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-03 13:19:25 +04:00
Andrew Borodin
99dd2ef709
Merge branch '3267_musl_libc'
...
* 3267_musl_libc:
Ticket #3267 : mc fails to build against musl libc.
2014-10-01 15:20:08 +04:00
Paul Barker
e78b636eba
Ticket #3267 : mc fails to build against musl libc.
...
mc fails to build when using musl as the libc provider. This is due to
the CTRL() macro not being defined in <termios.h>. We could include
<sys/ttydefaults.h> explicitly but it's easier just to ensure CTRL is
defined.
This patch taken from the Sabotage Linux distro which fixes this. This
patch has also been tested and works with the OpenEmbedded build
system.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-10-01 15:19:54 +04:00
Marco Ciampa
9b7fcb8b24
Updated italian translation.
2014-09-27 19:17:32 +02:00
Andrew Borodin
fe8a0a410f
Merge branch '2966_view_broken_manpage'
...
* 2966_view_broken_manpage:
Update po/*.po files.
mcviewer: use mc_pipe_t to show command output.
Ticket #2966 : fix view of broken manpages.
2014-09-27 20:24:34 +04:00
Andrew Borodin
208b7a92f9
Update po/*.po files.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-09-27 20:24:12 +04:00
Andrew Borodin
b69b8947d9
mcviewer: use mc_pipe_t to show command output.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-09-27 20:24:12 +04:00
Andrew Borodin
a31b78003e
Ticket #2966 : fix view of broken manpages.
...
Initial commit: create MC pipe class to capture stdout and stderr of
spawn processes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-09-27 20:24:12 +04:00
Ilia Maslakov
5bcc246ac2
Merge branch '3228_select_files_by_extension'
...
* 3228_select_files_by_extension:
Ticket #3228 (select/unselect files with the same extension as the current file)
2014-09-25 15:09:21 +04:00
Ilia Maslakov
94a1c98aea
Ticket #3228 (select/unselect files with the same extension as the current file)
...
Add Action 'SelectExt' for select/unselect files with the same extension as the current file.
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2014-09-25 15:07:55 +04:00
Slava Zanko
1f7a807eea
Updated doc/NEWS file
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-09-04 16:48:39 +03:00
Slava Zanko
144ebb48c2
Updated the hints translations from Transifex
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-09-04 16:45:04 +03:00
Slava Zanko
6563044f64
Updated translations from Transifex
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-09-04 16:44:21 +03:00
Slava Zanko
52621ba3dc
Merge branch '3243_usmenu_view_man'
...
* 3243_usmenu_view_man:
Fix for viewving man pages in colour mode.
Ticket #3243 : "User menu -> View manual page" doesn't do coloring
2014-09-04 16:32:12 +03:00
Egmont Koblinger
b11dd89087
Fix for viewving man pages in colour mode.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-09-04 16:31:49 +03:00
Slava Zanko
d3e80d0c46
Ticket #3243 : "User menu -> View manual page" doesn't do coloring
...
Rename menu.mc and menu.mc.sr for substitute variables from configure.ac file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2014-09-04 13:01:40 +03:00
Andrew Borodin
3949e55975
Merge branch '3245_viwer_goto_line'
...
* 3245_viwer_goto_line:
mcviewer: remove "(decimal)" from "Line number (decimal)" label.
Ticket #3245 : mcviewer: make goto line 1-based instead of 0-based.
2014-09-03 13:26:09 +04:00
Egmont Koblinger
0ba80af8c3
mcviewer: remove "(decimal)" from "Line number (decimal)" label.
...
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2014-09-03 13:25:23 +04:00