Commit Graph

8548 Commits

Author SHA1 Message Date
Yury V. Zaytsev
324c7cecb6 Ticket #1438: Update RPM SPEC file to fix rpmlint warnings and compilation on EL*
mc.spec.in:
	- Fixed EL4 (and supposedly EL3) builds
	- Fixed some of rpmlint warnings

    Author: Yury V. Zaytsev

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-06 21:04:53 +04:00
Andrew Borodin
08a98212a9 Merge branch '1458_vhdl_syntax'
* 1458_vhdl_syntax:
  Ticket 1458: updated VHDL syntax.
2009-08-06 19:58:22 +04:00
Andrew Borodin
26235c959a Ticket 1458: updated VHDL syntax.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-06 19:57:08 +04:00
Denis Briand
49570e9e70 Ticket #1470 (named.syntax)
Syntax, Makefile.am: enable named syntax
    named.syntax: add syntax file
    Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>

    Added additional keywords into named.syntax file
    Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-06 15:53:54 +00:00
Denis Briand
6a348e9d31 Ticket #1472: fix non FHS path into manpages examples
**/mc.1.in: fix path into manpages examples

Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-08-06 18:09:47 +04:00
Mikhail S. Pobolovets
1692e737c4 Ticket #1475: warningis fix
view.c:3237: format not a string literal and no
    format arguments

    utilunix.c:171, utilunix.c:173:
    assignment discards qualifiers from pointer target type

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-06 16:20:28 +03:00
Stan. S. Krupoderov
87f3cd1cda Ticket #1452: handle .tbz2 extension
mc.ext.in: support for tbz2, patch from ijabbott
2009-08-06 15:43:45 +04:00
Ilia Maslakov
00200124dd Ticket #1411 (issue insertion in overwite mode)
fix: issue insertion in overwite mode
2009-08-06 10:18:08 +00:00
Slava Zanko
53a587ed29 Merge branch '1435_i18n_search_options'
* 1435_i18n_search_options:
  Ticket #1435 (Editor search options i18n)
2009-08-06 10:33:26 +03:00
Slava Zanko
a525546de2 Ticket #1435 (Editor search options i18n)
* Fix runtime translation of search types array;
 * reworked function mc_search_get_types_strings_array.

Thanks to dmartina for bugreport.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-06 10:33:04 +03:00
Ilia Maslakov
99c8f6a680 Ticket #1460 (shared search history)
* The sample of the containing text by file search;
    * The sample of search in file mcview;
    * The sample of search in mcedit (search operation);
    * The substituting text in mceditor (replacement operation).

    Author: Alexey Korop

    Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Editor: search will continue from last search string if SHIFT+F7 hotkey pressed
    at first time (without pressed F7 key).

    Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    add const MC_HISTORY_SHARED_SEARCH into history.h

    Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2009-08-05 14:30:08 +00:00
Slava Zanko
69e6f3c7d6 Merge commit 'origin/1467_fix_bashism'
* commit 'origin/1467_fix_bashism':
  Ticket #1467 (Portability: fix bashism in vfs/extfs/u7z)
2009-08-05 17:22:58 +03:00
Slava Zanko
c78c4a555a Ticket #1467 (Portability: fix bashism in vfs/extfs/u7z)
Fixed bashism in 'mcu7zip_rm' and 'mcu7zip_rmdir' functions.
 * Use 'printf' instread of 'echo -e'
 * stderor redirected to /dev/null

Thanks to narcan.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-05 16:37:36 +03:00
Andrew Borodin
fca08ddc4c Merge branch '1457_findfile_first_entry'
* 1457_findfile_first_entry:
  Added "First hit" checkbox to "Find File" dialog.
  Ticket #1457: add "First hit" checkbox to "Find File" dialog.
2009-08-05 16:23:27 +04:00
Andrew Borodin
595c261fa8 Added "First hit" checkbox to "Find File" dialog.
The new "First hit" checkbox stops search in the file
if the first entry was found in that file
(thanks to Dominus (sergey.zaveruha at gmail dot com)).

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-05 16:20:58 +04:00
Andrew Borodin
958246efd2 Ticket #1457: add "First hit" checkbox to "Find File" dialog.
src/find.c: code refactoring.

  + Unification of variable names.
  + Some static variables was moved out from functions to remember
    find options between find sesions.
  + Do not keep i18n results if find dialog was destroyed.
  + Type accuracy.
  + Indentation.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-05 16:20:58 +04:00
Mikhail S. Pobolovets
ac2edf225e Ticket #1392: regression in .tar support
Regression was introduced in lzma support
(a5ba278729)

All the heuristics stuff has been removed, only
LZMA utils 4.32.1 and later formats are supported.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-05 14:20:23 +03:00
Stan. S. Krupoderov
5894396494 Ticket #1459: link fail with --enable-vfs-undelfs and --enable-vfs
configure.ac: fix autoconf for --enable-vfs-undelfs option
    original author: slyfox
2009-08-04 23:34:32 +04:00
Slava Zanko
d268dcd5f3 Merge branch '1425_spaces_in_EDITOR'
* 1425_spaces_in_EDITOR:
  Ticket #1425 (External editor won't open if there are spaces in EDITOR variable)
2009-08-04 16:09:13 +03:00
Slava Zanko
4a5f02698e Ticket #1425 (External editor won't open if there are spaces in EDITOR variable)
Fix issue: in function src/utillinux.c:my_system() added code for splitting
command line by spaces, use just first token as argument to function execlp()

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-08-04 14:55:41 +03:00
Andrew Borodin
bd8f0f2c0b Merge branch '1404_ctrc_kills_mc'
* 1404_ctrc_kills_mc:
  Ticket #1404: Ctrl-C kills mc.
2009-08-04 15:30:03 +04:00
Andrew Borodin
c6812961cc Ticket #1404: Ctrl-C kills mc.
If MC built with --without-subshell option is run with -d option,
the Ctrl-C key combination closes MC. Such behaviour was introduced
in 66332a4fb1 commit.

This commit actually restores the SIGINT signal handling which was
before 66332a4fb1 commit.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-04 15:29:37 +04:00
Andrew Borodin
ff31f67d6b Ticket #1410: Cycle moving in WListbox.
Don't jump over start and end of list in page scrolling.
Small optimization.
Text formatting.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-04 13:36:52 +03:00
Mikhail S. Pobolovets
7a30974d9e Ticket #1410: Cycle moving in WListbox
* listbox_select_first has been introduced
    * listbox_select_last has been reworked

    Now when you press KEY_UP staying on the first
    entry, you will get to the entry and vice versa
    with KEY_DOWN staying at the last entry.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-04 13:36:52 +03:00
Stan. S. Krupoderov
b9d2d3fc7f Ticket #185 (Check for gethostbyname with nsl)
socket.m4: add nsl in search for gethostbyname
2009-08-04 14:12:39 +04:00
Mikhail S. Pobolovets
05b590d225 Ticket #1415: Directory hotlist incorrect drawing fix
src/hotlist.c: buffer clean up has been added
    original author: E.L.K.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-04 10:03:38 +03:00
Denis Kostousov
394e909070 Ticket #1433: Working with lzma-based archives has been added.
Signed-off-by: Denis Kostousov <denis.kostousov@gmail.com>
2009-08-04 09:57:50 +03:00
Stan. S. Krupoderov
d044d20480 Merge branch '007_show_directory_sizes_shortcut'
* 007_show_directory_sizes_shortcut:
  Ticket #7: change shortcut C-space processing to calculate multi-directory size
2009-08-04 09:39:36 +04:00
Ilia Maslakov
42a8c4fc0b Ticket #1456 (Segfault with replace action)
fix: segfault if 'replace to' is empty and search type is 'Regular expression'
2009-08-04 05:25:18 +00:00
Ilia Maslakov
07c87f2b27 Ticket #366
fix by mike.dld for tarfs dont shows duplicate folders in some tar-files
2009-08-03 21:20:52 +00:00
Sergei Trofimovich
55e7db14a5 gentoo.ebuild: moved to http://repo.or.cz/w/slyfox-gentoo.git
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-04 00:01:07 +03:00
Stan. S. Krupoderov
70fed8b44a Ticket #7: change shortcut C-space processing to calculate multi-directory size
cmd.c: add new behavoiur for C-space, resort only if panel sort type is size
2009-08-03 21:30:10 +04:00
Ilia Maslakov
3b1070fb3d Ticket #1453 (crash mc on create new file in external editor (S-F4))
fix: crash mc when path is null on create new file in external editor
2009-08-03 15:37:55 +00:00
Andrew Borodin
1affb29969 Ticket 1430: added ALT-. shortcut to toggle show hidden files.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-08-03 10:18:48 +03:00
Sergei Trofimovich
7989ab80d5 gentoo ebuild: Restored samba dep, added >=glib-2.6 constraint, fixed tty perms
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 23:31:52 +03:00
Sergei Trofimovich
0cfde89dad Ticket #1408 (take 2): Erlang syntax updates (improved escape syntax)
Initial erlang syntax and enhancements are provided by Witold Baryluk

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 19:54:56 +03:00
Sergei Trofimovich
2ba2b246fe ebuild.syntax: even more highlighted keywords
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 19:36:08 +03:00
Sergei Trofimovich
9301942d60 ebuild.syntax: more highlighted keywords from Lars Wendler (Polynomial-C) at gentoo org
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 19:12:35 +03:00
Sergei Trofimovich
42efe18ff4 gentoo ebuild: fixed depends, cons.saver perms, wiped unused USE flags
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-08-02 14:12:50 +03:00
Stan. S. Krupoderov
ea4a652275 Ticket #1426 (linking with --with-glib-static option)
Makefile.am: change libs search order to fix link problem with
     --with-glib-static

    m4.include/mc-with-screen.m4, src/Makefile.am: cleanup
2009-08-02 07:49:12 +00:00
Mikhail S. Pobolovets
d3f1b16bcf Ticket #1408: Erlang syntax file has been added
Original author is Baryluk

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-08-01 09:35:18 +03:00
Ilia Maslakov
31aa8b1ac4 Ticket #1370 (ES: update translates)
spanish translation
    Signed-off-by: David Martín <dmartina@excite.com>
2009-07-31 16:20:09 +00:00
Ilia Maslakov
1f5831836b Ticket #1370 (SK: update translates)
slovak translation
    Signed-off-by: Ivan Masár <helix84@centrum.sk>
2009-07-31 16:07:39 +00:00
Ilia Maslakov
02c5f49f41 Ticket #1370 (RU: update translates)
Russian traslation updated
    Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Updated RU translation and hotkey conflicts fixes.
    Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-07-31 16:02:38 +00:00
Slava Zanko
a9312fcfef Ticket #1369 (Update *.hlp files and other docs)
Changed INSTALL file. Added some new descriptions of 'configure' scritp options.
    Changed README file. Fixed minimal version of glib and changed download location of project.
    Small corrections of README and INSTALL files (Yury V. Zaytsev)
    Changed description of Ctrl-t hotkey. Now Ctrl-t mean 'Select codepage'
    More poverfull Russian documentation. Need to complete.
    Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    INSTALL: remove notes about TODO file, fix link to GPM project
    README:
    - add ref to INSTALL file for dependencies
    - remove mentions about TODO file
    - add ref to wiki for reporting bugs
    FAQ: fix links, replace Alt to Meta
    doc/man/mcedit.1.in: add editor options and some of description,
    add CODE NAVIGATION section
    doc/man/mcedit.1.in: suppose C specific option for ctags
    doc/man/mcedit.1.in: minor fixes typos, links, dates
    doc/INSTALL: fix names of autconf options
    Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>

    Some typo in doc/man/mcedit.1.in, doc/man/mc.1.in fixed
    add description for some editor options
    Signed-off-by: Ilia Maslakov <il.smind@gmail.com>

    Man page update: fixed description of selec/unselect files.
    src/cmd.c: fixed help node name.
    Removed obsoleted info from man pages.
    Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-07-31 15:37:16 +00:00
Slava Zanko
57cb8390dc Ticket #1428
Fixed error: possibly undefined macro: _m4_text_wrap_word
    Signed-off-by: Slava Zanko <slavazanko@gmail.com>

    Fixed:
    * names of options for cpiofs, extfs, fish, ftp, sfs, tarfs
    * indent for option descriptions
    * option name from --search-engine to --with-search-engine
    Signed-off-by: Stan. S. Krupoderov <pashelper@gmail.com>
2009-07-31 09:38:06 +00:00
Slava Zanko
5c3f932067 Ticket #1429 (segfault on path completion)
Fixed bug with non-valid length calculation of completion text

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-30 21:50:18 +03:00
Slava Zanko
35798a2d71 Merge branch '1431_missing_translation'
* 1431_missing_translation:
  Ticket #1431 (Missing translation in view.c ButtonBar)
2009-07-30 15:41:10 +03:00
Slava Zanko
43ad4c196e Ticket #1431 (Missing translation in view.c ButtonBar)
Fixed some text constants.

Thanks to dmartina

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-30 15:25:59 +03:00
Andrew Borodin
8e4d3d6d3a Merge branch '361_without_edit'
* 361_without_edit:
  Ticket 361: fixed build with --without-edit option.
2009-07-29 14:18:50 +04:00