Commit Graph

8577 Commits

Author SHA1 Message Date
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
Andrew Borodin
d49a3787a6 Ticket 361: fixed build with --without-edit option.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-07-29 14:17:55 +04:00
Slava Zanko
9e08f22d67 Merge branch '1423_fail_to_configure'
* 1423_fail_to_configure:
  Ticket #1423 ([FreeBSD] Fail to compile with option '--with-screen=slang' with already installed slang library)
2009-07-28 16:49:46 +03:00
Slava Zanko
24e81db0dc Ticket #1423 ([FreeBSD] Fail to compile with option '--with-screen=slang' with already installed slang library)
Fixed error with termcap detecting.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-28 15:05:43 +03:00
Slava Zanko
b069c3b8bd Merge branch '1423_FreeBSD_Slang_not_found'
* 1423_FreeBSD_Slang_not_found:
  Removed unneded check for iconv functions. MC use glib functions for
  Fixed test conditions in m4 files for more compability
  Add support of csh (used on FreeBSD)
  Ticket #1423 (Fail to compile with option '--with-screen=slang')
2009-07-27 13:50:12 +03:00
Slava Zanko
fb52d1661e Removed unneded check for iconv functions. MC use glib functions for
recode charsets.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-27 13:49:49 +03:00
Slava Zanko
59f0b4ca49 Fixed test conditions in m4 files for more compability
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-27 13:49:49 +03:00
Slava Zanko
44bb248ae5 Add support of csh (used on FreeBSD)
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-27 13:49:49 +03:00
Slava Zanko
66b91538a5 Ticket #1423 (Fail to compile with option '--with-screen=slang')
Fix issue:
Added additional check for this place.

Reason: If slang installed into /usr/local path, then ./configure
script stopped with 'Slang library not found' error

Also added new two options to configure script:
 --with-slang-includes=PATH
 --with-slang-libs=PATH

Now libslang finds in (by order):
 * --with-slang-includes and --with-slang-libs
 * /usr
 * /usr/local

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-27 13:49:49 +03:00
Andrew Borodin
0654b48201 Merge branch '1421_file_mask_dialog_memleak'
* 1421_file_mask_dialog_memleak:
  Fixed memory leaks in file_mask_dialog() function.
2009-07-26 09:57:27 +04:00
Andrew Borodin
d0b4830e0f Fixed memory leaks in file_mask_dialog() function.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2009-07-26 09:57:08 +04:00
Slava Zanko
70dcbb2020 Merge branch '1422_remove_gnu_specific'
* 1422_remove_gnu_specific:
  maint/version.sh: added quoting guards file variables
  Remove GNU specific option from version.sh
2009-07-26 01:21:47 +03:00
Sergei Trofimovich
1e94073c2d maint/version.sh: added quoting guards file variables
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-25 17:22:53 +03:00
Stan. S. Krupoderov
2967f4434a Remove GNU specific option from version.sh 2009-07-25 18:03:09 +04:00
Slava Zanko
d40065de01 Merge branch '1389_code_cleanup'
* 1389_code_cleanup:
  little reorganisation key_name_conv_tab array
  Avoid warning in src/search/regex.c about signed and unsigned types
  Fixed excaping of '%' symbol in edit_complete_word_cmd() function
  fixed compiler hints: -Wwrite-strings option helped a lot
  file: added x_basename cast as we know the string is mutable
  view: fixed compile hint: char * -> const char *
  fixed warning: stray ',' at the end of enum
  src/strescape.{c,h}: sanitized fn proto to keep in sync with rest of code
  src/search fixed variable declaration and code mix
  src/screen.c: fixed warning hint: char * -> const char *
  tcc build fix: fixed c99 external constants
  tcc build fix: popt: added hack for tcc's alloca()
  completion: fixed multiple warnings: char * -> const char *
  Fix one compiler warning in setup.c
  Remove one argument for format,in order to avoid a compiler warning
  Fix compiler warning about different signedness of pointers in editcmd.c
  Remove unneeded vars in edit/edit.c to avoid compiler warnings
2009-07-17 12:00:19 +03:00
Ilia Maslakov
97dd64e27f little reorganisation key_name_conv_tab array 2009-07-17 12:00:03 +03:00
Slava Zanko
f114fd4135 Avoid warning in src/search/regex.c about signed and unsigned types
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-17 12:00:03 +03:00
Slava Zanko
f67fcfb94f Fixed excaping of '%' symbol in edit_complete_word_cmd() function
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-07-17 12:00:03 +03:00
Sergei Trofimovich
f050f5e686 fixed compiler hints: -Wwrite-strings option helped a lot
Some crufty ugly APIs (slang stuff, putenv) now have explicit (char*) casts.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-17 12:00:03 +03:00
Sergei Trofimovich
c91344770d file: added x_basename cast as we know the string is mutable
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-17 12:00:03 +03:00
Sergei Trofimovich
be343e3107 view: fixed compile hint: char * -> const char *
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-17 12:00:03 +03:00
Sergei Trofimovich
ea40afeef5 fixed warning: stray ',' at the end of enum
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-07-17 12:00:02 +03:00