Commit Graph

353 Commits

Author SHA1 Message Date
Slava Zanko
8d1eebc30e lib/mcconfig/common.c: fixed memory leak
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 21:56:01 +03:00
Andrew Borodin
6354f6b265 Fixed unused variables.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-02 21:45:21 +03:00
Andrew Borodin
7f50de4670 Added missed includes.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
2010-02-02 21:45:11 +03:00
Andrew Borodin
0bd03e07f5 Ticket #1990: code cleanup before 4.7.0.2 release.
Fixed warings: local variable shadows a global declaration.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
Signed-off-by: Ilia Maslakov <il.smind@gmail.com>
2010-02-02 21:45:05 +03:00
Slava Zanko
f7c574b76e lib/Makefile.am: added lib/skin.h into distribution
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-02 18:01:18 +02:00
Vladimir Prodan
2d025b7ede Make b&w colors work as before
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-01 12:25:46 +02:00
Slava Zanko
f4c23b7081 Ticket #1972: Selections not visible on monochrome terminals
Reported-By: Dr. Stefan Thurner (TU-Chemnitz)

Since 4.7, on monochrome terminals (eg. xterm-mono) the
selections are not visible anymore (pre 4.7 inverted
the selected text).

Probably this has to do w/ the new skinning stuff.

Fix issue: added additional check for b&w terminal into skins engine.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-02-01 12:25:46 +02:00
Enrico Weigelt, metux IT service
d26be9da5f Ticket #262: remove obsolete own putenv() implementation.
Removed obsolete own putenv() implementation

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-30 18:31:24 +03:00
Enrico Weigelt, metux IT service
a295a9df47 Ticket #1925: Fixed conditional compile of mcserver 2010-01-27 21:56:46 +01:00
Rainer Tammer
476145a0f5 patches for AIX with ncurses support
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-27 10:04:38 +02:00
Slava Zanko
862652bd1b Move src/cons.saver into src/consaver/* subdir
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
545cb0a194 Changes for build after moving logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
2fa4d9b952 Move logging.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e2f8a48ed8 Changes for build after moving strutils into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:26 +02:00
Slava Zanko
e07ba16b3b Moved strecape.[ch] into library
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7c5212642e Changes for build after moving interface includes
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
25155c311a Move all interface includes from subdirs lib/*/*.h into lib/*.h
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:25 +02:00
Slava Zanko
7815c9c7a8 Reorganization of usage external libs
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
cd4dbf3a09 Changes for build after moving strutil into lib
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
7fa24fbc9b Moved strutil-related stuff from src into lib/strutil/*
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
c764f3b84c Changes for build after moving util.[ch]
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:24 +02:00
Slava Zanko
99abd3ab9a Moved src/util.[ch] into lib, also moved unixcompat.h and utilunix.c.
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
dbaff2b6f6 Reorganization of sources. Part 2
* moved src/fileloc.h into lib/fileloc.h
 * moved src/timefmt.h into lib/timefmt.h
 * removed unneedded includes into src/util.c

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
93dbc46e9c Reorganization of sources. Part 1.
* moved src/global.h into lib/global.h
 * moved glibcompat.[ch] from ./src/ into ./lib/
 * moved fs.h from ./src/ into ./lib/

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:23 +02:00
Slava Zanko
39d5b94cac Reorganized pathes to files in '#include' directives 2010-01-26 10:30:22 +02:00
Slava Zanko
ddb9ada2e8 Changes in sources matched with mass movement of $(srcdir)/src/*/ into $(srcdir)/lib/*/
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
4f11e4b665 Massive moved some dirs from $(srcdir)/src into $(srcdir)/lib
Moved subdirs:
 * filehighlight
 * mcconfig
 * search
 * skin
 * tty

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:22 +02:00
Slava Zanko
52f6bed7d0 Moved dir $(srcdir)/vfs into $(srcdir)/lib/vfs/mc-vfs
Also, initial support of library directory.

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2010-01-26 10:30:21 +02:00
Mikhail S. Pobolovets
a55a505160 Move all stuff from lib to contrib
Also added template in contrib/distr for some distro-related files (spec, deb, ebuild, etc)
2009-05-08 15:12:48 +03:00
Slava Zanko
73159dbc32 Move all hints-files from lib to doc/hints 2009-05-08 13:23:42 +03:00
Slava Zanko
2ebdf91079 Merge branch 'm-utf-8'
* m-utf-8: (223 commits)
  Fix wildcard pattern in file select and file find dialogs
  Project builds with option --disable-charsets
  Deleted build-glib1.sh because glib1 don't work with utf-8
  fix building without --enable-charset
  Total replacement to mc_search stuff in all places
  Search engine: if found_len parameter NULL, then mc_search_run don't try to fill them
  src/view.c: Reworked search stuff to usage src/search
  refactoring: rename edit/editcmd_dialog.c:editcmd_dialog__get_search_types_list to
  Search engine: development of hex search complete
  Search engine: remove forgotten debug string and reindent file
  Search engine:
  configure.ac: if present glib-2.14 and higher, libpcre don't linked
  Search engine: now used regexp external engines:
  src/find.c: Fixed core dump if content search pattern no present
  edit/editcmd_dialogs.c: fixed state of search type between dialog window calls
  Find files: checkbox 'Regular expression' for content search now default unchecked
  Find files: changes for usage of new search engine:
  Fix copy of current/opposite path to command line: remove charset info from path
  src/Makefile.am: add some header files to Make-tracking
  Fixed editor menu reloading.
2009-05-07 13:01:01 +03:00
Mikhail S. Pobolovets
04a446b237 Merge branch '324_viewing_man_w_references' 2009-04-17 21:33:18 +03:00
Sergei Trofimovich
8f181d9e42 mc.ext: man: fixed cat as fallback for zsoelim
Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-04-17 21:16:17 +03:00
Mikhail S. Pobolovets
b20cd38d0d * lib/mc.ext.in: fix: if zsoelim is absent use cat instead
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-16 23:33:49 +03:00
Mikhail S. Pobolovets
07584c35c7 Merge branch '190_srpm_support' 2009-04-16 22:31:48 +03:00
Mikhail S. Pobolovets
a83de0cc46 * lib/mc.ext.in:
Fixes a problem with viewing manual pages that
    references other pages.

    Original discussion at:
    https://bugzilla.novell.com/show_bug.cgi?id=489757

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 11:41:39 +03:00
Mikhail S. Pobolovets
f021c090f9 * lib/mc.ext.in:
Tar is missing a - as argument fix

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 10:57:43 +03:00
Mikhail S. Pobolovets
d178dffaec * lib/mc.ext.in:
Now mc also tries to use antiword if aviable

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 10:47:23 +03:00
Mikhail S. Pobolovets
0cb9da2bd6 * lib/mc.ext.in:
Now mc tries to search for a installed text-webbrowser and
    try to use them instead of only trying lynx.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-04-13 09:46:12 +03:00
Ilia Maslakov
3b5e2c052f Merge branch 'utf-8' into master
resolve conflicts:
	configure.ac
	src/complete.c
	src/file.c
	src/layout.c
	src/main.c
	src/menu.c
	src/screen.c
	src/util.c
	src/widget.c
	src/widget.h
2009-04-04 19:50:46 +00:00
Mikhail S. Pobolovets
551e9e5153 lib/mc.ext.in: Fixed: Wrong position of .glade 'open'
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-03-20 11:35:51 +02:00
Slava Zanko
37ccd9ccac Open .glade support in mc.ext
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-03-20 11:14:45 +02:00
Mikhail S. Pobolovets
5fd1537717 lib/mc.ext.in: command line options fix by adamw (#183)
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-24 11:11:58 +02:00
Mikhail S. Pobolovets
70e800fc58 mandriva: Srpm support for extfs
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-21 13:28:40 +02:00
Mikhail S. Pobolovets
da3b76b8d7 Merge branch '176_lzma' 2009-02-21 12:23:50 +02:00
Enrico Weigelt, metux IT service
220f4f4caf manually merged mc-4.6 2009-02-05 07:25:47 +01:00
Enrico Weigelt, metux IT service
161dc235a6 lib/mc.sh.in: fixes for non-bash shells (fixing #196) 2009-02-04 22:39:27 +01:00
Enrico Weigelt, metux IT service
a5ba278729 merged in lzma patch from mandriva 2009-02-04 21:16:00 +01:00
Enrico Weigelt, metux IT service
e5cad3802b Merge commit 'origin/mc-4.6' 2009-02-04 00:44:39 +01:00
Enrico Weigelt, metux IT service
d4927f99ef Merge commit 'origin/201_historic_compressors' 2009-02-04 00:41:30 +01:00
Enrico Weigelt, metux IT service
dd6f2d7362 added patch by angel_il on #219 2009-02-03 19:10:58 +01:00
Mikhail S. Pobolovets
19716b790a Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 22:18:12 +02:00
Mikhail S. Pobolovets
8bc0e27a54 Update for OpenOffice and StarOffice viewer.
odt2txt is now used.

Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-01-29 21:00:35 +02:00
Slava Zanko
8fe8a1fc38 Add UTF-8 charset to list of charsets. 2009-01-26 12:20:41 +02:00
Slava Zanko
86fb0bfc03 patches by Rostislav Beneš: mc-27-hint
Convert all hint files to UTF-8.
2009-01-26 12:15:35 +02:00
Slava Zanko
753f65c242 patches by Rostislav Beneš: mc-27-hint
Convert all hint files to UTF-8.
2009-01-26 12:00:33 +02:00
Enrico Weigelt, metux IT service
173ca89fca merged jpelletier's patch for historic archive formats 2009-01-24 04:59:34 +01:00
Slava Zanko
9623a85506 lib/mc.ext.in: change filemask for recognize 7z-files
vfs/extfs/u7z:
  - change only LC_DATE global variable for correct work with arhive;
  - add sorting by filename in output of list files
2009-01-14 11:54:02 +02:00
Enrico Weigelt, metux IT service
315633ecce changed the HQ to http://www.midnight-commander.org/ 2009-01-11 21:37:27 +01:00
Patrick Winnertz
dcd57a34ef Removed .cvsignore files as we don't need them any longer 2009-01-05 16:58:44 +01:00
Slava Zanko
aad7c6c317 Added .svnignore files (same as .cvsignore) 2008-12-28 23:27:03 +02:00
Pavel Tsekov
7c190bc576 * lib/mc.ext.in: Play .flv files. 2007-11-02 14:20:27 +00:00
Pavel Tsekov
97c4582e9c * FAQ: Update MC's homepage url.
* README: Ditto.
* mc.qpg.in: Ditto.
* mc.spec.in: Ditto.
* doc/mc.1.in: Ditto.
* doc/mcedit.1.in: Ditto.
* doc/mcserv.8.in: Ditto.
* doc/mcview.1.in: Ditto.
* doc/es/mc.1.in: Ditto.
* doc/hu/mc.1.in: Ditto.
* doc/it/mc.1.in: Ditto.
* doc/pl/mc.1.in: Ditto.
* doc/ru/mc.1.in: Ditto.
* doc/sr/mc.1.in: Ditto.
* doc/sr/mcserv.8.in: Ditto.
* lib/mc.hint: Ditto.
* lib/mc.hint.cs: Ditto.
* lib/mc.hint.es: Ditto.
* lib/mc.hint.hu: Ditto.
* lib/mc.hint.it: Ditto.
* lib/mc.hint.nl: Ditto.
* lib/mc.hint.pl: Ditto.
* lib/mc.hint.ru: Ditto.
* lib/mc.hint.sr: Ditto.
* lib/mc.hint.uk: Ditto.
* lib/mc.hint.zh: Ditto.
2007-09-24 12:40:47 +00:00
Pavel Roskin
b3ae812c32 * mc.ext.in: Call xmms consistently. Never preserve the
existing queue (it was done for wav, but not for mp3 files).
Preserving the queue is not a good idea if mc is used to move
the files around.  Always redirect stdout and stderr to
/dev/null.
2006-12-28 03:57:01 +00:00
Leonard den Ottolander
e2959bb66a * mc.ext.in: ipkg package manager uses gzipped tars (.ipk). 2006-06-22 12:57:00 +00:00
Leonard den Ottolander
6b2b857e48 mc.ext.in: Loosen match for mailbox. 2006-06-05 10:24:35 +00:00
Leonard den Ottolander
b0b8d116ad * mc.ext.in: Open mailboxes using mailfs. 2006-05-28 12:40:21 +00:00
Pavel Tsekov
c826992e1e * lib/mc.ext.in: Improve output of the View command for debian packages. 2006-03-23 16:00:08 +00:00
Leonard den Ottolander
1624165a91 * lib/mc-wrapper.sh.in: Don't use "$()" construct as it is not
portable to f.e. SunOS. Use backticks instead.
2006-03-18 13:05:52 +00:00
Pavel Tsekov
239d8a64c2 * lib/mc.ext.in: Add support for Perl .pod files. 2006-03-15 16:28:27 +00:00
Leonard den Ottolander
118b31fa91 * lib/mc-wrapper.sh.in: Handle user names with spaces.
* lib/mc-wrapper.csh.in: Likewise.
2006-02-28 22:42:52 +00:00
Leonard den Ottolander
199cc08828 * lib/mc.ext.in: Open gimp in the background. 2006-02-19 12:04:03 +00:00
Pavel Tsekov
b3fa1f0a3e * src/cmd.c: When invoking external viewer, probe VIEWER environment
variable first, then PAGER, then fall back to "view".
* lib/mc.hint: Mention VIEWER environment variable.
* doc/mc.1.in: Document support for VIEWER environment variable.
2006-01-29 10:41:47 +00:00
Roland Illig
009400124c Added newline. :) 2005-09-06 09:20:29 +00:00
Roland Illig
42a100029b * mc.ext: nm(1) view is enabled for all ELF files, not just
files ending in .o.
2005-09-06 09:20:01 +00:00
Roland Illig
e0898803a1 * mc.menu: %d is already quoted, so it must not be written "%d". 2005-09-06 06:01:07 +00:00
Pavel Roskin
179aa43514 * lib/mc.ext.in: Restore support for opening 7-zip archives. 2005-07-20 21:28:50 +00:00
Pavel Roskin
680ccc7e56 * configure.ac: Add vfs/extfs/ualz to AC_CONFIG_FILES.
* lib/mc.ext.in: Add support for ALZip archives.
2005-07-20 19:07:18 +00:00
Leonard den Ottolander
b7552a4e40 lib/mc.ext.in: Match log files as plain text; match local man pages; add fixes
for gzipped man pages to plain and bzipped man pages.
2005-07-03 15:04:11 +00:00
Leonard den Ottolander
2704385e05 lib/mc.ext.in: Move matches for plain compressed files down. 2005-07-03 12:43:15 +00:00
Pavel Roskin
a52ce4e9ac * lib/mc.ext.in: Support opening for 7-Zip archives. 2005-06-22 02:23:50 +00:00
Roland Illig
bba40f1e93 * lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor
links is installed.
2005-06-06 00:05:25 +00:00
Andrew V. Samoilov
966f5cb430 * lib/mc.ext.in: Added support for .7z archives. 2005-05-30 08:12:17 +00:00
Pavel Roskin
1f60f44145 Update postal address of Free Software Foundation. 2005-05-27 03:35:10 +00:00
Pavel Roskin
ef3e4ddcc9 * lib/mc.ext.in: Add OpenOffice.org 2 extensions, use o3totxt
to view OpenOffice.org documents.
2005-05-13 15:09:55 +00:00
Roland Illig
afce6c8106 * lib/mc.ext.in: Recognize either *.udeb or *.deb as Debian
packages. Fixes Savannah patch #3899.
2005-04-16 10:24:46 +00:00
Andrew V. Samoilov
89accff625 * lib/mc.ext.in: Add a few sound formats that "play" and "mikmod"
utility knows.
2004-10-28 06:19:23 +00:00
Andrew V. Samoilov
0112ed6d65 * lib/mc.ext.in: Use xmms for audio files in XWindows mode.
Add support for *.wma files. Add support for playlists.
2004-10-20 05:14:42 +00:00
Andrew V. Samoilov
b01dc1030f * lib/mc.lib: Add gnome, rxvt and xterm-new terminals. 2004-09-10 09:23:43 +00:00
Andrew V. Samoilov
9278084559 Security fix patch. Fix insecure temporary file and directory creations. (CAN-2004-0231) 2004-08-17 08:31:16 +00:00
Pavel Roskin
3738fbba68 * lib/mc.ext.in: Use gqview instead of ee for images. ee seems
to be is obsolete.  Suggested by Marcel Pol <mpol@gmx.net>
2004-04-02 07:22:18 +00:00
Pavel Roskin
970793d4e2 * lib/mc.ext.in: Recognize *.tb2 and *.tbz files. 2004-01-22 07:40:51 +00:00
Pavel Roskin
c5a633d8ab Update from Arpad Biro. 2004-01-19 17:22:06 +00:00
Pavel Roskin
6a9f6d29c4 Changes from Strahinya Radich. 2003-10-10 21:06:41 +00:00
Pavel Roskin
86d951b9c4 Remove references to obsolete xterm fixes. 2003-10-08 19:40:58 +00:00
Pavel Roskin
5670baccb4 Update some URLs. From Frederic L. W. Meunier <lists@pervalidus.tk> 2003-09-28 20:04:05 +00:00
Pavel Roskin
6a728cb3f9 * lib/*.ti: Remove, these files are obsolete.
* lib/tdiff: Likewise.
* lib/xterm.tcap: Likewise.
* lib/Makefile.am: Remove obsolete files.  Don't install
README.xterm and xterm.ad, there are partly obsolete and can
break things if used as is.
2003-09-23 06:11:19 +00:00
Pavel Roskin
887d889906 Fix typos.
Reported by GoTaR <gotar@poczta.onet.pl>
2003-09-23 05:54:27 +00:00
Pavel Roskin
c92b530b5f * lib/mc.hint.sr: Updated.
* lib/mc.menu.sr: New file - translated menu.
* lib/Makefile.am: Add mc.menu.sr.
* doc/sr/: New Serbian documentation.
* doc/Makefile.am: Add "sr" directory.
* configure.in: Add substitutions for new files.
2003-09-22 21:04:59 +00:00
Pavel Roskin
a3a8b91ced Add mc.hint.sr. 2003-09-12 02:53:44 +00:00