Roland Illig
8b1e87523a
* boxes.c (display_unit): Added const qualifier.
...
* file.c (check_hardlinks): Likewise.
* find.c (find_do_view_edit): Likewise. (find_file): Likewise.
* global.h (home_dir): Likewise.
* main.c (get_parent_dir_name): Likewise. (init_xterm_support):
Likewise. (OS_Setup): Likewise.
* menu.c (create_menu): Likewise.
* mountlist.c (xatoi): Likewise. (read_filesystem_list): Likewise.
* poptconfig.c (poptReadDefaultConfig): Likewise.
* popthelp.c (showHelpIntro): Likewise.
* rxvt.c (look_for_rxvt_extensions): Likewise.
* slint.c (has_colors): Likewise.
* subshell.c (check_sid): Likewise.
* user.c (check_format_var): Likewise.
* widget.c (radio_callback): Likewise.
2004-09-25 13:46:23 +00:00
Roland Illig
5d44086ccc
Added a C++ like const_cast macro.
2004-08-16 15:42:48 +00:00
Pavel Roskin
82688029da
* i18n.h: Include into global.h.
...
* Makefile.am: Remove i18n.h.
2003-10-26 04:11:12 +00:00
Pavel Roskin
f219b81311
* vfsdummy.h: New file to replace vfs.h if VFS is disabled.
...
* Makefile.am: Add vfsdummy.h.
* global.h [!USE_VFS]: Include vfsdummy.h. Fix files that
include vfs.h directly.
2003-10-11 08:54:31 +00:00
Pavel Roskin
4520b25b36
* glibcompat.c: New file for compatibility with older versions
...
of glib.
* glibcompat.h: Likewise.
* Makefile.am: Add the new files SOURCES.
* global.h: Include glibcompat.h.
2003-09-22 20:21:48 +00:00
Pavel Roskin
c72a1ea44c
Get rid of all references to NATIVE_WIN32.
2003-07-23 03:22:32 +00:00
Pavel Roskin
d032c68db1
Typos.
2003-06-02 19:26:55 +00:00
Pavel Roskin
5c76f171ac
* global.h: Add replacement for O_NONBLOCK.
2002-12-16 00:41:06 +00:00
Pavel Roskin
3d8a56ee9c
* edit.h: Remove all references to O_TEXT, USE_O_TEXT and
...
MY_O_TEXT.
2002-09-23 07:00:30 +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
ec1b1f9614
Globally replace OS2_NT and _OS_NT with WIN32_NATIVE.
2002-09-10 22:04:11 +00:00
Pavel Roskin
206fdf6f1d
* global.h: Eliminate xgetch, update all dependencies.
2002-09-03 22:23:27 +00:00
Pavel Roskin
9e36fa257d
* global.h: Move include for rx.h and eregex.h here.
2002-08-21 07:20:39 +00:00
Pavel Roskin
105cb58726
* mad.c: Remove.
...
* mad.h: Likewise.
* Makefile.am (SRCS): Remove mad.c and mad.h.
* cmd.c: Remove references to MAD.
* main.c: Likewise.
* dlg.c: Use inline, not INLINE.
* hotlist.c: Likewise.
* menu.c: Likewise.
* global.h: Don't include mad.h.
2002-08-01 19:40:43 +00:00
Pavel Roskin
6ffc6bde22
* mem.h: Clean up obsolete definitions, incorporate into ...
...
* global.h: ... this.
* Makefile.am: Remove mem.h.
2002-07-14 19:34:17 +00:00
Pavel Roskin
200356c074
* global.h: Include vfs.h.
...
* boxes.c (configure_vfs): Ask whether .netrc should be used.
From Thomas Zajic <zlatko@gmx.at>
2002-07-10 21:20:49 +00:00
Pavel Roskin
2b7cf88d85
* global.h: Include unix.h under "classical" QNX.
...
* subshell.c: Don't include unix.h.
* utilunix.c: Likewise.
2002-02-18 21:54:27 +00:00
Pavel Roskin
e5c6976b15
* util.c: Move replacements for permission bits ...
...
* fs.h: ... here. Add more replacements.
* global.h: Include direct.h only with MSVC.
2002-01-22 01:23:18 +00:00
Pavel Roskin
22b2813349
* global.h [_OS_NT]: Include io.h, direct.h and windows.h.
...
Don't redefine struct timeval.
2002-01-22 00:24:36 +00:00
Pavel Roskin
d99d279148
* global.h [!HAVE_SYS_TIME_H]: Provide a replacement for struct
...
timeval.
2002-01-21 22:46:22 +00:00
Pavel Roskin
d9c035d2c2
Fixed #elif.
2002-01-21 21:29:55 +00:00
Pavel Roskin
a504067e6c
* global.h: Fallback to sys/utime.h if utime.h is missing.
2002-01-21 20:57:31 +00:00
Pavel Roskin
3a9692b680
* global.h: Provide fallbacks for getuid(), getgid(), geteuid()
...
and getegid().
* fs.h: Fully trust HAVE_DIRENT_H.
* complete.c: Don't include dirent.h directly, fs.h takes care
of it.
* file.c: Likewise.
* filegui.c: Likewise.
* main.c: Likewise.
* treestore.c: Likewise.
2002-01-21 20:47:05 +00:00
Pavel Roskin
4df07d04be
* global.h [!__GNUC__]: Define __attribute__ with one argument.
2002-01-21 19:57:48 +00:00
Pavel Roskin
6eef7a34e7
* global.h: Define __attribute__ to an empty string for non-gcc
...
compilers so that it's safe to use.
2001-10-20 03:38:41 +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
dbe20dc6c8
* global.h: Include all time-related system includes, since
...
it's non-trivial (order, conflicts) and is better handled in one
place.
2001-09-07 16:46:31 +00:00
Pavel Roskin
f3a84ebc1a
* tty.h: Remove support for old curses and GNOME.
...
* global.h: Likewise.
2001-09-03 03:07:46 +00:00
Pavel Roskin
05adbccda8
* fs.h: Correctly include <sys/param.h>.
...
* x.h: Include "global.h". Move all contents ...
* global.h: Here.
2001-08-19 16:23:24 +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
eb6b3842ab
Initial revision
1998-02-27 04:54:42 +00:00