Commit Graph

4989 Commits

Author SHA1 Message Date
Pavel Roskin
30503bef51 * extfs/Makefile.am: Add uzip to EXTFS_OUT. 2002-12-01 20:25:54 +00:00
Pavel Roskin
71c43fd0f2 Finish work on position saving. 2002-12-01 08:46:19 +00:00
Pavel Roskin
1573a9581f * cmd.c (do_edit_at_line): Set line to 0 to allow the editor to
decide if the user cares about the initial line or not.
* main.c: Set edit_one_file_start_line to 0 initially.
2002-12-01 08:18:17 +00:00
Pavel Roskin
9fdebd7295 Update, fix some translations. 2002-12-01 06:55:30 +00:00
Pavel Roskin
2548ea0e7c Use normal capitalization in English text in the editor menu. 2002-12-01 06:33:58 +00:00
Pavel Roskin
5c0e8be6ca "Privatize" font-related defines. 2002-11-30 19:59:02 +00:00
Pavel Roskin
dd7f5798fa * edit.h: Remove "dir" field in WEdit - it's always an empty
string.  Adjust all dependencies.
2002-11-30 19:50:51 +00:00
Pavel Roskin
9a4513aceb * editcmd.c (edit_get_save_file): Remove first argument, it's
unused.
(edit_get_save_file): Likewise.
2002-11-30 18:49:20 +00:00
Pavel Roskin
75fbf0b2f5 * syntax.c: Make structures key_word, context_rule and
_syntax_marker opaque.
2002-11-30 18:07:42 +00:00
Pavel Roskin
41fbb5099f * edit.c: Use g_malloc() and g_free() on buffers1 and buffers2.
Eliminate CMalloc.
(edit_get_buffer_as_text): Remove, it's unused.
2002-11-30 17:53:12 +00:00
Pavel Roskin
29f1543919 * editcmd.c (edit_set_search_parameters): Use g_malloc().
(edit_complete_word_cmd): Use g_free().
2002-11-30 17:41:07 +00:00
Pavel Roskin
b628d515c0 * edit.h: Don't define HAVE_SYNTAXH.
* syntax.c: Syntax highlighting is no more optional.
(edit_check_spelling): Remove.
2002-11-30 02:29:43 +00:00
Pavel Roskin
c63d61600a * editoptions.c (edit_options_dialog): Add "Save file position"
option, make "Syntax highlighting" unconditional.
2002-11-30 00:41:47 +00:00
Pavel Roskin
dc52e8e66a * setup.c: Add option_save_position to the options table. 2002-11-30 00:37:14 +00:00
Pavel Roskin
527cb0c64c * edit.c: First part of the position saving code.
(edit_move_to_column): New function.
2002-11-30 00:35:07 +00:00
Andrew V. Samoilov
085f43fc8d * editoptions.c (edit_options_dialog): Use g_free() to release
variables allocated in quick_dialog().
2002-11-29 08:28:51 +00:00
Andrew V. Samoilov
488f984e02 Remove SWATDIR definition 2002-11-29 06:57:36 +00:00
Andrew V. Samoilov
0c8d67946b Add configure.mc 2002-11-29 06:40:37 +00:00
Andrew V. Samoilov
241aac0cbe * autogen.sh: Use $srcdir/configure.mc instead of $srcdir/configure
if first one exists and is executable.
2002-11-29 06:39:41 +00:00
Pavel Roskin
6bf01d1155 Remove old mc sources in the RPM build directory. 2002-11-29 06:13:47 +00:00
Pavel Roskin
c3f5696cca * tree.c: Make struct WTree opaque. Remove "done" flag - it's
broken by design.
(tree_selected_name): New function, return name of the currently
selected entry.  Use it where WTree is opaque.
* boxes.c (tree_callback): Don't check for the "done" flag - it
causes closing the dialog on any key after mouse selection.
2002-11-29 04:55:06 +00:00
Pavel Roskin
e0e20526b2 * user.h: Don't include edit/edit-widget.h.
* user.c: Include edit/edit-widget.h and edit/edit.h.
2002-11-29 03:03:53 +00:00
Pavel Roskin
18de4488e3 * edit-widget.h: Move typedef WEdit and file names ...
* edit.h: ... here.  Don't include edit-widget.h.  Adjust all
dependencies.
2002-11-29 03:01:06 +00:00
Pavel Roskin
effd36c053 * configure.in: Determine which help translations user wants to
install, based on USE_NLS, LINGUAS and ALL_LINGUAS.
* doc/Makefile.am: Set SUBDIR to the list of the requested
translations.
2002-11-29 00:46:09 +00:00
Pavel Roskin
e06b8d8704 Add uzip. 2002-11-28 23:39:50 +00:00
Pavel Roskin
62f3f2d97d * acinclude.m4 (MC_EXTFS_CHECKS): New macro.
(MC_WITH_VFS): Call MC_EXTFS_CHECKS.
* configure.in: Generate vfs/extfs/uzip.
* vfs/extfs/uzip: Move to vfs/extfs/uzip.in.
* vfs/extfs/Makefile.am: Corresponding adjustments.
2002-11-28 22:59:43 +00:00
Pavel Roskin
935b5f8bc7 * slint.c (getch): Return -1, not SLANG_GETKEY_ERROR, otherwise
get_key_code() crashes when calling isalpha().
2002-11-28 21:35:49 +00:00
Pavel Roskin
e9067abfaf * sldisply.c: Fix for the previous patch. Only swap colors if
setf and setb are not empty.
Reported by Andras Barthazi <andras@barthazi.hu>
2002-11-28 20:35:34 +00:00
Pavel Roskin
8ba045461d * color.c (mc_init_pair) [HAVE_SLANG]: Pass "default", not NULL
to SLtt_set_color() - it fixes transparency with the latest
versions of S-Lang.  Treat foreground like background.
2002-11-28 18:57:05 +00:00
Pavel Roskin
759125c6c7 * syntax/sql.syntax: Add highlighting for dot and backticks. 2002-11-26 21:48:20 +00:00
Marco Ciampa
26654b3f5e last little fixies due to work too late at light :-( (just small italian style fixies, not commands) 2002-11-26 00:28:54 +00:00
Marco Ciampa
e4bb2e68d9 All file compared and corrected with /doc/mc.1.in. 2002-11-25 23:49:00 +00:00
Andrew V. Samoilov
486038e9b4 * editoptions.c (edit_options_dialog): Clean up and use g_snprintf()
instead of sprintf().
2002-11-23 17:26:55 +00:00
Pavel Roskin
505bed0ac9 Add for 4.6.1:
Find file dialog should not be closed if the regex is invalid.  Make it
possible to search for string verbatim.
2002-11-20 17:01:10 +00:00
Pavel Roskin
c0cd0ff9ec * main.c: Eliminate finish_program variable - mc can now exit
immediately.
2002-11-20 15:54:33 +00:00
Marco Ciampa
4d6c31505b Left & Right Menu page updated... 2002-11-19 23:50:10 +00:00
Andrew V. Samoilov
307e634147 Use first parameter as backup_suffix if backup_suffix is unset or empty 2002-11-19 18:56:52 +00:00
Pavel Roskin
a5c1f136d5 Add:
Crash in isalpha() in key.c is c=0xFFFF.
2002-11-18 21:39:54 +00:00
Pavel Roskin
1544c641e2 * screen.c (do_select): Mark panel as dirty. 2002-11-17 07:14:56 +00:00
Pavel Roskin
7cbd1dd863 * boxes.c (init_disp_bits_box): Make static. 2002-11-17 06:45:24 +00:00
Pavel Roskin
9e20efe375 * configure.in: Move check for pwdauth() to MC_MCSERVER_CHECKS.
* acinclude.m4 (MC_MCSERVER_CHECKS): If using crypt(), check for
shadow password support.
2002-11-17 05:44:21 +00:00
Pavel Roskin
7ba4aacd85 * mcserv.c (do_classic_auth): Restore support for shadow
passwords.  Use crypt() instead of pw_encrypt() - the later is
missing on Slackware 8.0.  Reported by
Christian Laubscher <christian.laubscher@tiscalinet.ch>
2002-11-17 05:38:29 +00:00
Pavel Roskin
f2331eeafc Remove:
Restore shadow password support in mcserv.
(won't be done)
2002-11-17 01:25:02 +00:00
Pavel Roskin
56d650bbf1 * Makefile.am: Consolidate mcserv libraries into MCSERVLIBS. 2002-11-17 01:00:42 +00:00
Pavel Roskin
fc66f7adb3 * acinclude.m4 (MC_MCSERVER_CHECKS): Don't limit PAM check to
Linux.  Use AC_SEARCH_LIBS to find crypt().  Consolidate mcserv
libraries into MCSERVLIBS.
2002-11-17 00:54:59 +00:00
Pavel Roskin
ac96da0a1d * configure.in: Move all mcserv related checks ...
* acinclude.m4 (MC_MCSERVER_CHECKS): ... here.
2002-11-16 22:56:50 +00:00
Pavel Roskin
7b4387975b * main.c (main): Don't call subshell_get_console_attributes() if
the subshell is disabled from the command line.
2002-11-15 21:41:57 +00:00
Pavel Roskin
f75a648b3f Autoconf 2.56 released - use it. 2002-11-15 17:51:09 +00:00
Pavel Roskin
0c38cb416a with_glib2 is gone, remove it. 2002-11-15 17:39:07 +00:00
Pavel Roskin
aa1573f046 * configure.in: Fully enable glib2. Update the documentation. 2002-11-15 17:37:53 +00:00