Commit Graph

3264 Commits

Author SHA1 Message Date
Pavel Roskin
afee09a276 * edit.c: Eliminate all code disabled for the text edition.
* editcmddef.h: Likewise.
* editmenu.c: Likewise.
* editwidget.c: Likewise.
* syntax.c: Likewise.
* wordproc.c: Likewise.
2001-09-07 20:10:45 +00:00
Pavel Roskin
4895273a57 * user.h: Remove all dirty tricks with "MIDNIGHT" - they are not
needed anymore.
2001-09-07 19:54:15 +00:00
Pavel Roskin
944cfcffe6 * edit-widget.h: Change ~/.cedit to ~/.mc/cedit to keep mcedit
files separate from cooledit.
2001-09-07 19:10:44 +00:00
Pavel Roskin
d1caf46603 * bookmark.c: Eliminate all code disabled for the text edition.
* edit-widget.h: Likewise.
* editcmd.c: Likewise.
* editdraw.c: Likewise.
* editoptions.c: Likewise.
2001-09-07 18:56:07 +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
b9d389a8fd * configure.in: Check for pwd.h. 2001-09-07 17:23:49 +00:00
Pavel Roskin
89824f18f7 * edit.h: Eliminate all code disabled for the text edition.
Reorder and simplify includes.
* edit.c: Likewise.
2001-09-07 16:52:42 +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
22543072c8 * Make.common.in: Remove.
* configure.in: Remove all references to Make.common.in and
MCCPPFLAGS.
* aclocal.m4: Likewise.
2001-09-07 15:29:46 +00:00
Pavel Roskin
e777d48dfb * Make-mc.in: Include necessary parts of Make.common to
eliminate the later.
2001-09-07 15:22:47 +00:00
Pavel Roskin
d5e1314c5d * configure.in: Require Autoconf 2.52. Remove hacks for
Autoconf 2.13.
* Makefile.am: Require Automake 1.5.
2001-09-07 04:25:02 +00:00
Pavel Roskin
013466a02e * fsusage.c: Include sys/param.h before sys/mount.h - it's
required on some systems.
* mountlist.c: Likewise.
From Timur Bakeyev <mc@bat.ru>
2001-09-07 02:40:45 +00:00
Pavel Roskin
7a9716e6a9 * syntax/php.syntax: New file - PHP file highlighting. Copied
from Cooledit 3.17.4.
* syntax/Makefile.am: Add php.syntax.
2001-09-06 05:29:07 +00:00
Pavel Roskin
b88dbed3a0 * syntax.c (syntax_text): Add PHP support from Cooledit. 2001-09-06 05:26:04 +00:00
Sung-Hyun Nam
b1a6d91a89 updated 2001-09-06 01:36:24 +00:00
Timur Bakeyev
75fadcff69 2001-09-06 Timur Bakeyev <mc@bat.ru>
* acconfig.h: Brought back couple of symbols, that are still necessary
	due reference to them from configure.in.
2001-09-05 13:50:57 +00:00
Pavel Roskin
4d3dbca660 * syntax/changelog.syntax: Fix highlighting of functions. Relax
strictness for dates.
2001-09-05 01:50:02 +00:00
Pavel Roskin
dbe915be3c * doc/mc.1.in: Fix troff warnings.
* doc/mcedit.1.in: Likewise.
2001-09-04 22:06:30 +00:00
Pavel Roskin
5e9bd8980e * Makefile.am: Don't use substituted values directly. Define
CHARSET_SRC unconditionally.  Join SRCS and HDRS.
2001-09-04 06:09:05 +00:00
Pavel Roskin
ebc45d895d * Makefile.am (AM_CFLAGS): Remove CFLAGS, don't use substituted
values directly.
2001-09-04 05:33:54 +00:00
Pavel Roskin
f743b68a21 * syntax.c (syntax_text): Remove useless ']' in the Perl and
Python rules.  Change shell script rule to use more portable
regular expression.
2001-09-04 05:29:55 +00:00
Pavel Roskin
0b245d4db4 * editcmd.c (edit_block_process_cmd): Prepend space to the
command to avoid polluting bash history.  Document arguments.
Fix crash if block is 0 - not used currently.
2001-09-04 04:16:06 +00:00
Pavel Roskin
eae55940fc * doc/mc.1.in: Spellcheck.
* doc/mcedit.1.in: Likewise.
* doc/mcserv.8.in: Likewise.
2001-09-03 18:01:45 +00:00
Pavel Roskin
e840cff0dc * widget.c (label_new): Don't calculate dimensions of multiline
labels, since they cannot be changed and msglen() is already
used when the dialog is created.
2001-09-03 15:17:27 +00:00
Stanislav Visnovsky
cf5ddb2e33 2001-09-03 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Updated Slovak translation.
2001-09-03 14:06:25 +00:00
Andrew V. Samoilov
9d09eb51c8 * ru.po: Fix some smbfs messages. Sync src/screen.c original message. 2001-09-03 13:58:53 +00:00
Pavel Roskin
655ec833b4 * doc/mc.1.in (Learn Keys): Complete rewrite. 2001-09-03 09:08:43 +00:00
Pavel Roskin
ed2306822f * Makefile.in: Converted to ...
* Makefile.am: ... this.
2001-09-03 07:03:46 +00:00
Pavel Roskin
44e9896171 * slint.c: Make more data and function static.
* key.h: Remove declarations that are now static.
* myslang.h: Likewise.
2001-09-03 05:55:22 +00:00
Pavel Roskin
a8ef641beb * x.h: Remove. Adjust all users. Make sure that global.h is
included instead.  Don't include sys/param.h unconditionally -
rely on global.h taking care of it.
* Makefile.in: Remove x.h.
2001-09-03 05:07:40 +00:00
Pavel Roskin
83c37cfd0f * color.c: Remove unused code.
* color.h: Likewise.
2001-09-03 04:32:16 +00:00
Pavel Roskin
f150c6b74a * acconfig.h: Remove all unused symbols. 2001-09-03 03:28:35 +00:00
Pavel Roskin
ff7a2a0ceb * key.c: Remove support for BUGGY_CURSES. 2001-09-03 03:12:22 +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
9b0385f063 * lib/ncurses.h: Remove.
* lib/Makefile.am: Remove ncurses.h.
2001-09-03 02:47:38 +00:00
Pavel Roskin
fc6efa62f9 * widget.c (label_new): Set initial width of the widget based on
the initial text.
2001-09-03 01:15:07 +00:00
Pavel Roskin
2ee372d4a8 * view.c (hex_search): Don't use sscanf() to search for quoted
strings - use strchr instead.
2001-09-02 20:34:44 +00:00
Pavel Roskin
919b7e9087 Add hotkey for " &Command " translation. 2001-09-02 04:40:23 +00:00
Pavel Roskin
6f8323907f Trimmed using last chtrim. Ensure exactly 2 spaces before e-mail. 2001-09-01 20:12:16 +00:00
Abel Cheung
aee005a154 Rename zh_TW.Big5 -> zh_TW, to prevent future encoding naming problem. 2001-09-01 19:56:19 +00:00
Timur Bakeyev
043e782496 2001-08-31 23:14:21 Timur Bakeyev <mc@bat.ru>
* utilunix.c: init_groups(), destroy_groups(), get_user_permissions()
	rewritten to use GTree structure and functions. Add new static helper
	functions mc_gid_compare() and mc_gid_destroy().

	* util.h: Removed deprecated structure user_in_groups.

	* screen.c: Fixed typo in format report error string.

2001-08-31 23:14:21  Timur Bakeyev <mc@bat.ru>

	* utilunix.c: get_user_rights() renamed into get_user_permissions().
	delete_groups() renamed into destroy_groups().
	* util.h: Likewise.
	* screen.c: Likewise.
	* main.c: Likewise.
2001-09-01 13:47:34 +00:00
Pavel Roskin
f2547b3cbd * cmd.c (dirsizes_cmd): Don't cast st_size to long - use off_t
instead, since off_t can be longer.
Reported by Radovan Bukoci <rado@autoparts.sk>
2001-09-01 07:51:14 +00:00
Pavel Roskin
28ed7f82c0 * info.c (info_show_info): Use size_trunc_len() instead of
print_bytesize().  Don't assume English word ordering.  Add
singular message when single block.
* win.c (print_bytesize): Remove.
(sprint_bytesize): Remove.
* win.h: Remove print_bytesize() and sprint_bytesize().
2001-08-30 16:58:40 +00:00
Pavel Roskin
1ef25591d2 * util.c (size_trunc_len): Add units parameter. Change all
callers.
2001-08-30 16:41:08 +00:00
Pavel Roskin
242a26c03b * util.c (size_trunc_len): Print size values with some (little)
sense for tiny and even wee lengths (i.e. squeezed X terminals).
2001-08-30 16:19:45 +00:00
Pavel Roskin
54b219ebb6 * info.c (info_show_info): Move comment line just before
translatable message so it's shown in .po files to alert
translators.  The message (translated) is used to set the start
column (so the available width) for some "truncatable" strings.
2001-08-30 15:14:39 +00:00
Pavel Roskin
3fe54a54a0 * syntax/sh.syntax: Require two '<' before EOF. Recognize END
like EOF.
2001-08-28 08:11:05 +00:00
Marco Ciampa
cd3aea07d9 *** empty log message *** 2001-08-27 22:04:32 +00:00
Pavel Roskin
596869e68a * key.c (learn_key): Turn off keypad to disable intepreting keys
by ncurses.
Reported by Frederic L. W. Meunier <fredlwm@pervalidus.net>
2001-08-27 21:24:29 +00:00
Pavel Roskin
b1fa0ba49d * configure.in: New conditionals USE_VFS_NET, USE_UNDEL_FS and
CONS_SAVER.  Put all conditionals together.
2001-08-26 17:15:02 +00:00