Slava Zanko
981fe001d1
Base support of skins.
...
Signed-off-by: Slava Zanko <slavazanko@gmail.com>
2009-09-18 11:49:44 +03:00
Andrew Borodin
30fd7fc34a
TTY: modified line drawing.
2009-08-12 21:23:13 +04:00
Andrew Borodin
86f77f3cb2
New functions.
...
tty_touch_screen() is used instead of touchwin() function or macro.
tty_set_normal_attrs() is used instead of standend() function or macro.
tty_set_alt_charset() is used instead of acs() and noacs()
functions or macros.
tty_baudrate() is used instead of baudrate() function or macro.
2009-08-12 21:23:12 +04:00
Andrew Borodin
fe1adb5f27
tty_print_char() function is used instead of addch() one.
...
Modified tty_print_char() function for S-Lang library to use it
instead of addch().
2009-08-12 21:23:12 +04:00
Andrew Borodin
ebbf6fbcdc
Replaced functions.
...
attrset() -> tty_setcolor()
move() -> tty_gotoyx()
getyx() -> tty_getyx()
2009-08-12 21:19:20 +04:00
Andrew Borodin
f3730bdc41
Initial step to move TTY layer of MC to separate library.
2009-08-12 21:19:20 +04:00
Enrico Weigelt, metux IT service
c7d04dd47a
fixed several missing #include's
2009-06-18 21:02:29 +04:00
Mikhail S. Pobolovets
08469a001e
Some fixups with wrongly highlighted words
...
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-10 16:07:59 +02:00
Mikhail S. Pobolovets
758ab591d8
Simple doxygen description for files in src directory.
...
Mostly \file and \brief tag added.
Signed-off-by: Mikhail S. Pobolovets <styx.mp@gmail.com>
2009-02-10 16:07:59 +02:00
Patrick Winnertz
3b8f37b99e
Moved some functions out of mhl into src/util.c
...
This commit moves the mhl_str_concat_dir_and_file back into src/util.c whitout changing atm the functionality.
Please note that this is an incomplete fix and needs to be partially enhanced in order to keep the full functionality with glib.
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-06 11:17:03 +01:00
Patrick Winnertz
1c287d798d
First bunch of mhl_mem_free removal patches
...
Signed-off-by: Patrick Winnertz <winnie@debian.org>
2009-02-05 23:36:58 +01:00
Enrico Weigelt, metux IT service
8b38cf44da
manully merged 227_replace_g_free
2009-02-02 22:34:05 +01:00
Enrico Weigelt, metux IT service
54d6ec88dc
replaced buggy concat_dir_and_file() by mhl_str_dir_plus_file()
2009-01-31 16:51:58 +01:00
Enrico Weigelt, metux IT service
15d7d47c15
replaced g_free() by mhl_mem_free()
2009-01-30 19:28:35 +01:00
Pavel Tsekov
7ad6feae42
* src/achown.c: Update copyright notice.
...
* src/chmod.c: Likewise.
* src/chown.c: Likewise.
* src/cmd.c: Likewise.
* src/color.c: Likewise.
* src/command.c: Likewise.
* src/cons.handler.c: Likewise.
* src/cons.saver.c: Likewise.
* src/dialog.c: Likewise.
* src/dir.c: Likewise.
* src/help.c: Likewise.
* src/info.c: Likewise.
* src/man2hlp.c: Likewise.
* src/menu.c: Likewise.
* src/mouse.c: Likewise.
* src/option.c: Likewise.
* src/profile.c: Likewise.
* src/screen.c: Likewise.
* src/setup.c: Likewise.
* src/subshell.c: Likewise.
* src/user.c: Likewise.
* src/win.c: Likewise.
* vfs/sfs.c: Likewise.
* vfs/tcputil.c: Likewise.
2007-09-26 10:22:25 +00:00
Leonard den Ottolander
85e87b2cdf
* cons.handler.c (handle_console_linux): Remove redundant close() calls
...
before _exit().
2006-04-13 16:00:23 +00:00
Pavel Roskin
9b774d1b7d
* Makefile.am: Rename LIBDIR to SAVERDIR to avoid confusion.
...
Change its value to match the installation path of cons.saver.
* cons.handler.c: Adjust for the above.
2006-01-30 20:08:28 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Roland Illig
6407873f69
* cons.handler.c: Marked unused parameters.
...
* dir.c: Likewise.
* find.c: Likewise.
* help.c: Likewise.
* layout.c: Likewise.
* mountlist.c: Likewise.
* popt.c: Likewise.
* poptconfig.c: Likewise.
* popthelp.c: Likewise.
* regex.c: Likewise.
* subshell.c: Likewise.
* tree.c: Likewise.
* util.c: Likewise.
* utilunix.c: Likewise.
* widget.c: Likewise.
* wtools.c: Likewise.
2005-02-08 22:33:52 +00:00
Roland Illig
fc85bdba7e
* *.c: Reordered header inclusion.
2005-02-08 09:04:03 +00:00
Roland Illig
e0f5d6e37f
* cons.handler.c (handle_console_linux): Replaced NULL with
...
(char *) NULL in call to execl.
* subshell.c (init_subshell_child): Likewise.
* utilunix.c (my_system): Likewise.
From patches from the OpenBSD ports collection.
2004-09-24 14:02:39 +00:00
Pavel Roskin
5b2bd08768
* configure.in: Remove test for SCO UNIX. Remove all references
...
to SCO_FLAVOR everywhere. SCO flavor is rather unsavory now.
2003-06-18 04:47:17 +00:00
Andrew V. Samoilov
8384e94b0b
* cons.handler.c (set_attr) [__FreeBSD__]: Fix compilation.
...
Reported by Dmitry Alexeyev <dmi_a@qnx.org.ru>.
2003-03-22 17:27:21 +00:00
Andrew V. Samoilov
8e810942f8
* cons.handler.c (set_attr) [__FreeBSD__]: Eliminate cmd array.
2003-03-05 19:38:50 +00:00
Pavel Roskin
818b4956ea
* cons.handler.c (console_init) [__FreeBSD__]: Fix the amount of
...
allocated memory.
(console_save) [__FreeBSD__]: Doen't exit on error, just return.
2003-03-05 17:52:58 +00:00
Pavel Roskin
7092f9e1e2
* cons.handler.c (show_console_contents_freebsd): Rewrite
...
to use screen library (S-Lang or ncurses). Direct output is
unreliable when the screen library is active.
2003-03-05 09:29:31 +00:00
Pavel Roskin
6b986e7547
Don't include main.h - it's not needed.
2003-02-27 05:01:40 +00:00
Pavel Roskin
e65f20852b
* cons.handler.c: Put checks for rxvt extensions in one place.
...
Simplify FreeBSD code.
2003-02-27 04:57:58 +00:00
Pavel Roskin
a8a0f0c17a
* cons.handler.c: Add implementation for FreeBSD 4.x and 5.x.
2003-02-26 19:14:52 +00:00
Pavel Roskin
c785d4195b
* global.h: Move fcntl.h inclusion here. Define O_BINARY.
...
* mountlist.c: Remove more includes already handled in global.h.
2002-09-23 06:43:22 +00:00
Pavel Roskin
6979a9fddf
* Makefile.am: Rename LIBDIR to DATADIR, since it refers to
...
pkgdatadir now. Install cons.saver to pkglibdir, pass it to the
compiler as LIBDIR.
* cons.handler.c (handle_console): Use LIBDIR.
* main.c (OS_Setup): Use DATADIR instead of LIBDIR. Rename
MC_LIBDIR to MC_DATADIR.
2002-09-22 00:13:32 +00:00
Pavel Roskin
2af1e85990
* cons.handler.c (handle_console): Use _exit(), not exit() in
...
the child.
2002-08-20 00:04:49 +00:00
Pavel Roskin
c11389facb
* global.h: Include io.h, pwd.h, grp.h and utime.h. Adjust all
...
sources not to include them and to include global.h at the right
place.
2001-09-07 17:52:19 +00:00
Pavel Roskin
689c3fb9ac
Replace "Can't" with "Cannot" everywhere.
2001-08-14 00:55:34 +00:00
Pavel Roskin
5c56eb0c5a
* cons.handler.c: Reorganize includes. Fix warnings on BSD.
...
* rxvt.c (rxvt_extensions): Make static.
* main.c (sigchld_handler_no_subshell) [!__linux__]: Don't try
to restart cons.saver.
* subshell.c (sigchld_handler) [!__linux__]: Likewise.
2001-06-22 23:29:18 +00:00
Pavel Roskin
8c1534e4e6
* cons.handler.c (handle_console): Remove useless default.
...
* ext.c (regex_command): Initialize include_target_len.
* find.c [HAVE_GNOME]: Eliminate untyped declarations.
* fsusage.c: Remove untyped declaration of statfs().
[_AIX && _I386]: Rename statfs to aix_statfs and move
it before get_fs_usage(). Define statfs to aix_statfs.
2001-06-14 23:28:54 +00:00
Pavel Roskin
26ae59b93e
* cons.handler.c: Include "global.h" for exit().
2001-04-06 16:24:27 +00:00
Pavel Roskin
0c940743b3
* cons.handler.c (handle_console): Check the result of ttyname().
2001-01-27 07:08:05 +00:00
Pavel Roskin
e828211662
Updated address of Free Software Foundation
2000-08-22 22:50:00 +00:00
Timur Bakeyev
a39568367e
Glibing..... (2)
...
Wed Jan 27 03:17:44 1999 Timur Bakeyev <mc@bat.ru>
* Converted memory managment to Glib. Now we use g_new()/g_malloc()/
g_strdup()/g_free() routings. Also, copy_strings() replaced by
g_strconcat(), strcasecmp() -> g_strcasecmp(),and sprintf() by
g_snprintf().
* Some sequences of malloc()/sprintf() changed to g_strdup_printf().
* mad.[ch]: Modified, to work with new GLib's memory managment. Fixed
a missing #undef for tempnam, which caused dead loop. Add several new
functions to emulate GLib memory managment.
*main.c, mad.[ch]: Add a new switch "-M", which allows to redirect MAD
messages to the file.
* util.[ch], utilunix.c: Modified, deleted our variants of strcasecmp()
and strdup() - we have g_ equivalences. Remove get_full_name() - it is
similar to concat_dir_and_file(). Some other tricks with g_* functions.
* global.h: Modified, extended. Now it is main memory mangment include -
i.e. all inclusions of <stdlib.h>, <malloc.h>, <glib.h>, "fs.h", "mem.h",
"util.h" and "mad.h" done there. This elimanates problem with proper or-
der of #include's.
* All around the source - changed order of #include's, most of them gone
to global.h (see above), minor changes, like "0" -> NULL in string func-
tions.
1999-01-27 01:08:30 +00:00
Miguel de Icaza
77c27f6130
Make program relocatable trough MCHOME variable, patch from Ludovic Drolez
1998-08-26 20:23:10 +00:00
Miguel de Icaza
eb6b3842ab
Initial revision
1998-02-27 04:54:42 +00:00