Pavel Roskin
aeab4a933e
* syntax/fortran.syntax: Fix highlighting of "*" at the
...
beginning of line. Recognize " +" as continuation. Move
all "linestart" keywords earlier to avoid more conflicts.
2002-07-21 18:15:11 +00:00
Pavel Roskin
2e17e22122
* syntax.c (apply_rules_going_right): Recheck keyword rules when
...
a keyword is found on the left border of a context.
2002-07-20 09:12:55 +00:00
Pavel Roskin
8f4ca50c58
* screen.c (panel_callback): Revert last change, it has bad side
...
effects on the subshell.
2002-07-20 08:32:53 +00:00
Pavel Roskin
6bdeafba4d
* dlg.c: Eliminate all useless x_* functions.
...
* dlg.h: Likewise.
* panel.h: Likewise.
* textconf.h: Likewise.
* view.c: Likewise.
* view.h: Likewise.
* widget.c: Likewise.
* main.c: Remove panel_update_marks(). Move try_to_select() ...
* screen.c: ... here. Eliminate x_* functions.
* main.h: Remove panel_update_marks().
2002-07-19 22:16:24 +00:00
Pavel Roskin
f61bfaf8f5
* screen.c (panel_callback): Only change directory on
...
WIDGET_FOCUS if current_panel changes.
2002-07-19 20:22:07 +00:00
Pavel Roskin
17671c4de9
* main.c (handle_args): Don't call mc_get_current_wd().
2002-07-19 19:08:26 +00:00
Pavel Roskin
2be225d9e0
* ftpfs.c: Don't use SUP.home, use SUP.cwdir.
...
* fish.c: Likewise.
(dir_load): Update SUP.cwdir.
* xdirentry.h: Remove "home" field for fish and ftpfs.
2002-07-19 16:36:32 +00:00
Pavel Roskin
982a256ee0
* xdirentry.h: Get rid of ifree(), it's equivalent to g_free().
...
* direntry.c: Likewise.
* fish.c: Likewise.
* ftpfs.c: Likewise.
2002-07-19 16:04:27 +00:00
Pavel Roskin
87e4797648
Warning fix in the previous commit.
2002-07-19 15:11:20 +00:00
Pavel Roskin
b68a8a5ca8
* fish.c (fish_fill_names): New function, replacement for
...
generic vfs_s_fill_names() which didn't work right with fish.
2002-07-19 05:29:31 +00:00
Pavel Roskin
ead99974fb
* main.c (directory_history_list): Report error if cannot change
...
directory.
2002-07-19 05:03:44 +00:00
Pavel Roskin
3358ffb440
Update.
2002-07-19 04:39:03 +00:00
Pavel Roskin
158bf1f8fe
* *.po: Replace "undelfs" with "%s" in some messages to enable
...
their reuse with other VFS types.
2002-07-19 04:33:35 +00:00
Pavel Roskin
0b4a33c10f
* undelfs.c (undelfs_opendir): Use parametrized messages without
...
VFS name for success and failure.
* fish.c (dir_load): Use new messages from undelfs.c, indicate
success by printing "done".
* ftpfs.c (dir_load): Likewise.
2002-07-19 04:29:37 +00:00
Pavel Roskin
bd2e7db466
* syntax/unknown.syntax: Don't highlight anything by default.
2002-07-19 02:58:25 +00:00
Pavel Roskin
c679783d10
More about syntax highlighting.
2002-07-18 19:36:12 +00:00
Pavel Roskin
cfbf39a89e
* syntax/changelog.syntax: Highlight functions without filenames.
...
* syntax/Syntax: Match *ChangeLog*.
2002-07-18 19:33:27 +00:00
Pavel Roskin
4dbe6133e8
* syntax/c.syntax: Reenable highlighting for "/" and preserve
...
highlighting for "//" comments by using exclusive context.
* syntax/java.syntax: Likewise.
* syntax/swig.syntax: Likewise.
* syntax/slang.syntax: Reenable highlighting for "/".
* syntax/sql.syntax: Enable highlighting for "/" and "-".
2002-07-18 16:36:52 +00:00
Pavel Roskin
e58ffae223
* syntax/sql.syntax: New file.
...
* syntax/Syntax: Add sql.syntax.
* syntax/Makefile.am: Likewise.
From Walery Studennikov <despair@sama.ru> with minor changes.
2002-07-18 16:13:28 +00:00
Pavel Roskin
bb34f88152
* main.c (do_execute): Don't ask to press any key when the shell
...
is running a command - the user has already pressed Ctrl-O.
2002-07-16 06:00:54 +00:00
Pavel Roskin
e0a1975590
* lib/mc.ext.in: Remove handling of executables. They should
...
be handled internally for "pause after run" to work.
2002-07-16 05:16:45 +00:00
Pavel Roskin
cb49475a4d
* syntax/Syntax: Associate *.itcl with tcl.syntax.
...
* syntax/tcl.syntax: Add itcl keywords, other improvements.
2002-07-16 04:24:35 +00:00
Pavel Roskin
637ed2c6a9
Update.
2002-07-15 17:11:18 +00:00
Pavel Roskin
2f1343ab2d
Regenerated by update.pl.
2002-07-15 17:04:44 +00:00
Pavel Roskin
566339a1cc
Allow spaces between "_" and "(".
...
Require exact extensions to avoid addiing backups.
Add some extensions (cpp, cxx) in case if some C++ project takes this
script - they are no longer covered by *.c
2002-07-15 17:03:13 +00:00
Pavel Roskin
0ab222eed4
* chmod.c: Remove all translatable strings - gettext doesn't
...
work in the PC port, no need to waste translators' time.
2002-07-15 16:51:11 +00:00
Pavel Roskin
fba02e6b5e
Fixes in error messages.
2002-07-15 16:42:41 +00:00
Pavel Roskin
82009e2ab0
* cpio.c (cpio_read_crc_head): Undo change in the error message.
2002-07-15 16:16:26 +00:00
Marco Ciampa
735e7b5efa
~/.netrc option string added
2002-07-15 07:28:52 +00:00
Pavel Roskin
a2e8277428
* slint.c: Eliminate hardcoded color terminals. Most users no
...
longer need this hack, and those who do have color_terminals
option in the config file.
2002-07-15 06:01:29 +00:00
Pavel Roskin
0129bcc1ca
* configure.in: Don't check for strcasecmp(), strncasecmp() and
...
strdup() - test results are not used except in gettext, which
provides its own tests.
2002-07-15 05:48:25 +00:00
Pavel Roskin
7978b33a9d
* ftpfs.c: Replace bzero and bcopy with memset and memcpy.
...
* mcfs.c: Likewise.
* mcserv.c: Likewise.
* smbfs.c: Likewise.
* tar.c: Likewise.
2002-07-15 05:31:43 +00:00
Pavel Roskin
7db8a05550
* configure.in: When checking for ncurses, check for
...
has_colors(), not curses_version() - the later is missing in
older version of ncurses.
2002-07-15 05:16:51 +00:00
Pavel Roskin
1517700adf
* fish.c (open_archive_int): Don't combine "export" and
...
assignment into one command - it's not portable. Set LC_TIME
to "C" as well.
2002-07-14 22:56:13 +00:00
Pavel Roskin
72a5fc5cc1
* syntax.c (edit_get_syntax_color): Return colorpair index, not
...
attribute, when syntax highlighting is disabled. Handle black
and white mode separately.
2002-07-14 22:39:07 +00:00
Pavel Roskin
3c437c273d
* syntax.c (edit_load_syntax): Do nothing in black and white
...
mode.
2002-07-14 22:19:49 +00:00
Pavel Roskin
82e481b78d
* color.c [USE_NCURSES]: Eliminate division by COLOR, it's 0 in
...
black and white mode.
2002-07-14 22:18:12 +00:00
Pavel Roskin
75666df0fe
* edit.h [!HAVE_SLANG]: Enable syntax highlighting.
...
* editdraw.c [!HAVE_SLANG]: Respect attributes for color pairs
by using MY_COLOR_PAIR macro.
2002-07-14 21:43:53 +00:00
Pavel Roskin
b0dfc1b672
* slint.c: Move functions for allocating color pairs ...
...
* color.c: ... here. Implement ncurses equivalents. Rename
init_pair() to mc_init_pair() and keep tack of max_index with
ncurses. Adjust all dependencies.
2002-07-14 21:41:12 +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
a23618b2ef
* edit.h (struct key_word): Remove unused "bg" field, rename
...
"fg" to "color", since it keeps all color information.
* syntax.c (edit_get_syntax_color): Replace "fg" and "bg"
arguments with a single argument "color".
Adjust all dependencies.
2002-07-14 17:56:47 +00:00
Pavel Roskin
5f771b594e
* fish.c (open_archive_int): Set remote locale to C, otherwise
...
timestamps cannot be parsed in some locales.
2002-07-14 16:27:15 +00:00
Pavel Roskin
bb989f677a
* editdraw.c (edit_draw_this_line): Fix setting MOD_ABNORMAL
...
attribute.
(print_to_widget): Fix displaying non-printable characters with
ncurses. Set color for every character even if syntax
highlighting is not compiled - it's needed to reset color after
non-printable characters.
2002-07-14 07:49:24 +00:00
Pavel Roskin
a2f136fdc3
s/ommited/omitted/
2002-07-14 06:36:07 +00:00
Pavel Roskin
4655fbbb6b
* editdraw.c (edit_status): Use EDITOR_NORMAL_COLOR instead of
...
NORMAL_COLOR.
* syntax.c (edit_get_syntax_color) [!HAVE_SYNTAXH]: Likewise.
2002-07-14 06:17:02 +00:00
Pavel Roskin
0ce1cd7354
* Makefile.am (AM_CPPFLAGS): Remove REGEX_MALLOC, it's now in
...
configure.in.
2002-07-13 19:11:03 +00:00
Pavel Roskin
81db2df680
* acinclude.m4 (AC_EXT2_UNDEL): Add ext2fs libraries to MC_LIBS,
...
not to LIBS.
* configure.in: Fix breakage in ncurses headers check from the
previous commit. Simplify other instances of AC_CHECK_HEADERS.
Define REGEX_MALLOC here.
2002-07-13 19:09:10 +00:00
Pavel Roskin
4f4e0c2d2e
* tty.h: Use standard autoconf defines to determine which
...
ncurses header to include. Eliminate RENAMED_NCURSES.
2002-07-13 05:13:07 +00:00
Pavel Roskin
05364f344b
* acinclude.m4 (AC_NCURSES): Remove.
...
* configure.in: Use AC_CHECK_HEADERS to find ncurses headers and
AC_CHECK_LIB to check existance of ncurses library. Eliminate
variables force_ncurses and search_ncurses.
2002-07-13 05:10:41 +00:00
Pavel Roskin
da27ec10cd
* fish.c (file_store): Reduce input block size to 256 bytes,
...
otherwise dd gets partial blocks.
2002-07-13 01:10:24 +00:00