Pavel Roskin
dceb3b50d4
* editcmd.c: Include dialog.h.
...
Reported by Frédéric L. W. Meunier <lists@pervalidus.net>
2002-12-04 07:20:19 +00:00
Pavel Roskin
b3e7c2476e
Add new test - "minimal code coverage + editor".
...
Thanks to Frédéric L. W. Meunier" <lists@pervalidus.net>
2002-12-04 07:04:00 +00:00
Pavel Roskin
51c6751434
Comment fix - explain trailing colon.
2002-12-04 06:25:16 +00:00
Andrew V. Samoilov
7b75eaf984
* extfs.c (open_archive): Don't use open_error_pipe() and
...
close_error_pipe() - it gets stuck on output that exceeds 4
kilobytes.
2002-12-03 12:24:37 +00:00
Marco Ciampa
251d08f0d9
Reverting on "save file position" after ml clarification...
2002-12-03 11:31:09 +00:00
Marco Ciampa
8a10cc578f
Save cursor position string added.
2002-12-02 22:27:23 +00:00
Pavel Roskin
8f567886af
Done:
...
Don't allow stdout and stderr from extfs scripts pollute the screen.
2002-12-01 20:37:08 +00:00
Pavel Roskin
474ff43316
* extfs.c (open_archive): Use open_error_pipe() and close_error_pipe()
...
to prevent stderr from extfs scripts pollute the screen.
(extfs_cmd): New function to run extfs scripts and handle stderr in one
place.
(extfs_open): Use extfs_cmd().
(extfs_close): Likewise.
(extfs_unlink): Likewise.
(extfs_mkdir): Likewise.
(extfs_rmdir): Likewise.
2002-12-01 20:35:15 +00:00
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