Commit Graph

12453 Commits

Author SHA1 Message Date
Slava Zanko
b3258da868 Update PO-files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-27 11:26:45 +03:00
Slava Zanko
3bc09cc253 Merge branch '2103_mcext_enhancement'
* 2103_mcext_enhancement:
  Added support of viewing the compiled Java files (*.class).
  changed type of checking: used -n operator instead of -z
  Added support of SQLite database files
  Ticket #2103: mc.ext enhancement
2012-08-27 11:13:29 +03:00
Slava Zanko
b03da1c3b3 Added support of viewing the compiled Java files (*.class).
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-27 11:11:05 +03:00
Slava Zanko
aa5ffa2b87 changed type of checking: used -n operator instead of -z
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-27 11:11:05 +03:00
Slava Zanko
8498c6afe0 Added support of SQLite database files
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-27 11:11:05 +03:00
Slava Zanko
ce07bec728 Ticket #2103: mc.ext enhancement
This commit makes a few improvements in default bindings:

 * use chm_http text-mode handler for CHM files;
 * play sounds only from videos in text mode;
 * use pdftotext -layout -nopgbrk switches;
 * try to use elinks before links for HTML;
 * soffice2html text-mode handler for SXW files;
 * wvHtml text-mode handler for doc files;
 * xlhtml text-mode handler for XLS files;
 * ppthtml text-mode handler for PPT/PPS files;
 * open=view+pager fallback (noX) for PostScript, PDF, OD[PST] and DVI;
 * standarized $DISPLAY checks.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-27 11:11:05 +03:00
Slava Zanko
ff096a3e3a Merge branch '2835_treeview'
* 2835_treeview:
  Ticket #2835: Fixed duplicate entities in panel with 'tree view' mode
2012-08-23 13:06:55 +03:00
Slava Zanko
64af4886d6 Ticket #2835: Fixed duplicate entities in panel with 'tree view' mode
Steps to reproduce:

 * run mc
 * go to 'F9 -> left/right panel -> Tree'

Expected result: unique directory names.

Actual result: duplicate directory names
(one name with leading slash, second directory name without leading slash).

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-22 16:53:16 +03:00
Ilia Maslakov
4bfa681069 Merge branch '2859_mcedit_ctags_segfault'
* 2859_mcedit_ctags_segfault:
  Ticket #2859 (mcedit ctags fix)
2012-08-21 13:10:53 +04:00
Ilia Maslakov
73c85ed015 Ticket #2859 (mcedit ctags fix)
How to reproduce:

    on sources: ctags -R .
    with tags in current dir open any file (needn't be C source or headers)
    Alt- (i.e. alt minus or Esc '-')

Current result: sigsegv

Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2012-08-21 13:07:54 +04:00
Andrew Borodin
14cd4fce0a Merge branch '2849_without_prefix'
* 2849_without_prefix:
  Ticket #2849: bad EXTHELPERSDIR substitution if --prefix is not used.
2012-08-06 13:21:22 +04:00
Andrew Borodin
596203f9a9 Ticket #2849: bad EXTHELPERSDIR substitution if --prefix is not used.
If --prefix is not set in command line, EXTHELPERSDIR was expanded to
NONE/libexec/mc/ext.d in misc/mc.ext and misc/ext.d/Makefile.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-06 13:21:05 +04:00
Andrew Borodin
98d5b21c87 Merge branch '2856_aspell_segfault'
* 2856_aspell_segfault:
  Ticket #2856: Fixed mceditor 4.8.4 segfaults when aspell dictionaries aren't installed
2012-08-05 19:40:00 +04:00
Slava Zanko
105ac777e1 Ticket #2856: Fixed mceditor 4.8.4 segfaults when aspell dictionaries aren't installed
Steps to reproduce:
 * compile mc with aspell support
 * remove all aspell's dictionaries
 * run mc and try to open any file in the internal editor
 * close the error dialog
 * try to exit from editor

Expected behaviour: a file panels should be shown
Actual behaviour: the segfault here.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-05 19:39:41 +04:00
Andrew Borodin
ed6cf8e3ad Merge branch '2854_panel_history_refresh'
* 2854_panel_history_refresh:
  Ticket #2854: panel was not refreshed if panel history is called using mouse.
2012-08-05 17:23:01 +04:00
Andrew Borodin
e31e41e04a Ticket #2854: panel was not refreshed if panel history is called using mouse.
If call panel history using mouse (click on [^] icon on panel top frame)
and then select any path from history, panel was not refreshed to show
actual file list in the new current directory.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-05 17:22:39 +04:00
Andrew Borodin
bcfb8c8f98 Merge branch '2250_mcext_case_insense'
* 2250_mcext_case_insense:
  Implement case insensitive for type keyword.
  Use shell instead of regex for simple regular expressions.
  Implement case insensitive for shell keyword.
  Implement case insensitive for regex keyword.
  Ticket #2250: implement case-insensitive patterns in mc.ext.
2012-08-05 13:42:08 +04:00
Slava Zanko
b71f35ee60 Implement case insensitive for type keyword.
type/i is used now for case-insensitive type patterns.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-08-03 15:16:18 +04:00
Andrew Borodin
ca6be65562 Use shell instead of regex for simple regular expressions.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-03 15:16:18 +04:00
Andrew Borodin
81c3d80f4b Implement case insensitive for shell keyword.
shell/i is used now for case-insensitive shell patterns.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-03 15:16:17 +04:00
Andrew Borodin
cbcae18836 Implement case insensitive for regex keyword.
regex/i is used now for case-insensitive regular expressions.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-03 15:16:17 +04:00
Andrew Borodin
97cd63b9fd Ticket #2250: implement case-insensitive patterns in mc.ext.
(regex_command): minor cleanup and refacroring.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-03 15:16:17 +04:00
Andrew Borodin
06e874ea21 Merge branch '2853_mcedit_filepos'
* 2853_mcedit_filepos:
  Ticket #2853: standalone mcedit doesn't load saved file position.
2012-08-03 10:56:52 +04:00
Andrew Borodin
e39c697df4 Ticket #2853: standalone mcedit doesn't load saved file position.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-08-03 10:56:32 +04:00
Andrew Borodin
849fe8e4b1 Merge branch '2848_keymap_load'
* 2848_keymap_load:
  Allow define keymap file without .keymap extension
  Optimization of ini files load.
  mc.keymap.default, mc.keymap.emacs: comment out unassigned commands.
  Ticket #2848: fixup of user-defined keymap load.
2012-07-31 14:50:33 +04:00
Andrew Borodin
98564b91a1 Allow define keymap file without .keymap extension
...in the command line, environment variable and configuration file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:50:11 +04:00
Andrew Borodin
908e747861 Optimization of ini files load.
Some ini files (keymaps, skins) are loaded in read-only mode. For those
files, we don't need load and keep comments.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:50:11 +04:00
Andrew Borodin
09427eacad mc.keymap.default, mc.keymap.emacs: comment out unassigned commands.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:50:11 +04:00
Andrew Borodin
99ead577f7 Ticket #2848: fixup of user-defined keymap load.
Modify algorithm of keymap files load:
1) Unconditionally load /usr/share/mc/mc.keymap
2) Unconditionally load /etc/mc/mc.keymap
Then load one of following user-defined keymaps, stop on success:
3) set via --keymap command line option
4) set via MC_KEYMAP environment variable
5) set via keymap key in config file
6) ~/.config/mc/mc.keymap

Fix of double load of keymap file if name is same as name of
system-wide keymap file.

Update man pages.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-31 14:50:11 +04:00
Andrew Borodin
23ad3ecda1 Merge branch '2858_mcview_html_segfault'
* 2858_mcview_html_segfault:
  Ticket #2858: segfault when viewing HTML files with "mc -v".
2012-07-31 14:24:54 +04:00
Andrew Borodin
e2f30017a0 Ticket #2858: segfault when viewing HTML files with "mc -v".
(expand_format): don't try expand format and return empty line
for modes that are not used formatted variables.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-30 10:14:46 +04:00
Sergei Trofimovich
ab05b54337 po: added 'et' and 'de_CH' missing from translation
Reported-by: Mart Raudsepp <leio@gentoo.org>
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
2012-07-28 10:40:40 +03:00
Andrew Borodin
3c17a08e00 ru/mc.1: fix formatting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 12:02:43 +04:00
Andrew Borodin
068a2e56e2 mc.keymap.emacs: fix of LinkSymbolicRelative keymap.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 10:35:40 +04:00
Leonid Krivoshein
ed51e5830f Ticket #2649: dlink.syntax: syntax highlighting for D-Link switches command set.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 10:17:11 +04:00
Ralesk
cac767fc44 Ticket #2084: cmake.syntax: preliminary syntax file for CMakeLists.txt files.
It's nowhere near complete, but it's better than nothing.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 10:06:32 +04:00
nafraf
b69d41d127 Ticket #2542: assembler.syntax: x86 AMD64 registers highlighting.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 09:55:29 +04:00
Victor Homyakov
3a055b4d7c Ticket #1869: properties.syntax colors are difficult to read.
Syntax file properties.syntax used very dark color for keys (cyan is
almost invisible on default MC background), and bright color for
delimiters (yellow), which made highlighted file difficult to read.

Change keys color to yellow.
Change delimeters color to bright cyan.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-27 09:40:50 +04:00
Andrew Borodin
0467c6a435 Merge branch '2852_ext_d_fixes'
* 2852_ext_d_fixes:
  Ticket #2851: fixes of ext.d scripts:
2012-07-22 11:19:20 +04:00
Andrew Borodin
d099c36a98 Ticket #2851: fixes of ext.d scripts:
* cleanup of undefined variables;
  * use proper variables instead of udefine ones.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-21 16:39:05 +04:00
Andrew Borodin
488c3f3500 misc/mc.ext.in: update change description.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-20 12:01:49 +04:00
Slava Zanko
4fe8565252 Merge branch '2838_spaces_in_rpm'
* 2838_spaces_in_rpm:
  Ticket #2838: Fixed 'Enter' action on a rpm file containing space character in filename
2012-07-19 12:14:03 +03:00
Slava Zanko
7ddc29649b Ticket #2838: Fixed 'Enter' action on a rpm file containing space character in filename
Test case:
 * cp /path/to/any-file.rpm '/tmp/a n y - f i l e.rpm'
 * run /usr/bin/mc, go to /tmp
 * Press Enter on 'a n y - f i l e.rpm' file

Expected result: mc should be entered to RPM package as in directory

Actual result: gor errors:
Inconsistent extfs archive
error: open of /tmp/a\ failed: No such file or directory
...
error: open of e.rpm failed: No such file or directory
-r--r--r-- 1 root root 0 Jun 29 15:12 ERROR

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-19 11:17:16 +03:00
Andrew Borodin
3fe3f60d75 doc/NEWS: cosmetics and forgotten #2768
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-19 11:07:11 +04:00
Slava Zanko
034b796206 Updated NEWS file
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-18 13:30:09 +03:00
Slava Zanko
ea8ead958e Updated translations from Transifex
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2012-07-18 13:24:25 +03:00
Andrew Borodin
acdac76a49 Revert "Try fix of compile warnings about assigned but unused variables"
This reverts commit 6505f7d6fa.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-18 12:03:31 +04:00
Andrew Borodin
03916ee15b Merge branch '2845_cleanup'
* 2845_cleanup:
  Clarify cvs dependency.
  (mcview_moveto_eol): comparison of unsigned expression < 0 fixup.
  Makefile.ams cleanup.
  Code indentation.
  Try fix of compile warnings about assigned but unused variables
  Code cleanup: removed unused variables amd removed unnedeed code.
  (exec_extension): ret rid of double filename conversion.
  Ticket #2839: Fix keybindings for Quit command of mcedit.
  Tweak of select codepage code in case of --disable-charset
  Fix of 'External panelize' dialog: update of 'Command' field content after mouse click.
  Fix of f13 key handling.
  Fix typos.
  Ticket #2538: mcviewer: unused result of str_term_width1().
  src/filemanager/mountlist.c: apply mc code indentation policy.
  Ticket #2845: code cleanup before 4.8.4 release.
2012-07-17 17:04:42 +04:00
Andrew Borodin
bafd8e7f8a Clarify cvs dependency.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00
Andrew Borodin
79b44e6be2 (mcview_moveto_eol): comparison of unsigned expression < 0 fixup.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2012-07-17 17:04:05 +04:00