Pavel Roskin
689c3fb9ac
Replace "Can't" with "Cannot" everywhere.
2001-08-14 00:55:34 +00:00
Pavel Roskin
4aa3940f6b
* edit.c: Handle CK_Shell.
...
* editcmddef.h: Define CK_Shell.
* editmenu.c (FileMenu): Remove C-o from the "Open file..."
item.
(FileMenuEmacs): Likewise.
2001-08-12 18:02:56 +00:00
Andrew V. Samoilov
bc9de7931f
* editcmd.c (edit_replace_prompt): Fix menu location calculation.
2001-08-06 15:27:47 +00:00
Pavel Roskin
3b3357e070
* editcmd.c (edit_save_file): Temporarily disable safe save
...
and backups on remote VFS because it doesn't work. Use
mc_mkstemps() instead of tempnam().
2001-08-01 21:54:59 +00:00
Pavel Roskin
7e625c9153
* edit/Makefile.in: Allow running "make install" before "make all".
...
* gtkedit/Makefile.in: Likewise.
2001-08-01 16:17:52 +00:00
Pavel Roskin
f7c5a5fea2
* syntax.c (syntax_text): Add support for S-Lang.
2001-07-29 14:52:05 +00:00
Pavel Roskin
854918c1f8
* editcmd.c (menu_save_mode_cmd): Resurrect i18n code lost in
...
the last resync with Cooledit.
Reported by David Martin <dmartina@excite.es>
2001-07-28 14:52:05 +00:00
Pavel Roskin
bcb919b457
* gtkedit.c (gtk_edit_delete_cb): Handler for "delete_event".
...
(edit): Connect it.
2001-07-28 06:50:02 +00:00
Pavel Roskin
babf238550
* edit.c: Fix include.
2001-07-27 21:10:42 +00:00
Pavel Roskin
72d0112151
* syntax.c (open_include_file) [GTK]: Use mc_home instead of
...
LIBDIR.
2001-07-20 14:45:30 +00:00
Pavel Roskin
6f8e77f1fb
* editcmd.c (edit_canonicalize_pathname): Don't ever use
...
getwd(), use g_get_current_dir() instead.
2001-07-20 03:38:31 +00:00
Pavel Roskin
27f3c8c8ed
* editoptions.c (edit_options_dialog): Call edit_load_syntax()
...
if user turned syntax highlighting off to unload the rules.
2001-07-19 19:54:45 +00:00
Pavel Roskin
9d94a3fbc8
* edit.h [MIDNIGHT]: Declare wedit.
...
* editmenu.c: Remove wedit declaration.
* editoptions.c (edit_options_dialog): Load syntax rules if user
turned syntax highlighting on.
* syntax.c (edit_load_syntax): Don't load rules if syntax
highlighting is disabled.
2001-07-17 21:38:49 +00:00
Pavel Roskin
6c0249ad0e
* editoptions.c (edit_options_dialog): Allow numbers for tab
...
spacing. Reported by mharris@redhat.com .
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=34852
2001-07-13 23:03:11 +00:00
Pavel Roskin
83d110c9a1
* editcmd.c (menu_save_mode_cmd): Give meaningful names to the
...
input fields instead of "i" so that they have separate history.
* editoptions.c (edit_options_dialog): Likewise.
2001-07-13 22:45:12 +00:00
Pavel Roskin
72a33a6190
* editdraw.c (status_string): Use g_snprintf() instead of
...
snprintf().
From Libor Motyka <l_motycka@ortex.cz>
2001-07-11 15:01:03 +00:00
Pavel Roskin
67ffae6ff2
* editdraw.c (status_string): Use g_snprintf() instead of
...
snprintf().
From Libor Motyka <l_motycka@ortex.cz>
2001-07-11 14:55:36 +00:00
Pavel Roskin
ca73acb9bc
* gtkeditkey.c (edit_translate_key): When processing bindings
...
with Alt check that Shift is not pressed - it's handled later.
2001-07-10 19:20:45 +00:00
Pavel Roskin
0c08ee1fdd
* edit/Makefile.in: Make edit.o depend on edit_key_translator.c.
...
* edit/edit_key_translator.c (cooledit_key_map): Add support
for bracket matching on Alt-B.
* gtkedit/gtkeditkey.c: Likewise.
From Steef Boerrigter <sxmboer@sci.kun.nl>
2001-07-10 15:05:55 +00:00
Pavel Roskin
13959da45a
Comment fix.
2001-07-10 14:33:59 +00:00
Pavel Roskin
042380d3a0
* editdraw.c: Comment fixes.
2001-07-05 15:19:34 +00:00
Pavel Roskin
3ec7c60591
* edit-widget.h (editor_widget): Rename stat' to
stat1' to
...
avoid problems on Solaris with 64-bit file access, when `stat'
is a macro. All users adjusted.
Reported by Maksym Polyakov <polyama@yahoo.com>.
2001-06-26 15:52:12 +00:00
Pavel Roskin
1ff97987c0
* gtkedit.c: Remove home_dir - it's declared in main.c.
2001-06-25 19:07:52 +00:00
Pavel Roskin
2383b3f7c1
* editcmd.c (canonicalize_pathname) [GTK]: Rename to ...
...
(edit_canonicalize_pathname): ... this to avoid namespace clash.
* edit.h [MIDNIGHT]: Include "src/cmd.h" and "src/user.h".
Remove declarations duplicating "src/user.h".
[GTK]: Include "src/dialog.h" and "src/util.h".
2001-06-15 23:43:21 +00:00
Pavel Roskin
ed77566cf2
* editmenu.c (edit_wrap_cmd): Fix declaration.
...
(edit_about_cmd): Likewise.
* editwidget.c (get_key_state): Likewise.
2001-06-15 22:06:11 +00:00
Pavel Roskin
e81a25e50f
* editcmd.c (edit_quit_cmd): Don't use strcmp on the result of
...
gtk_dialog_cauldron() since it's NULL if the dialog has been
closed without using buttons.
2001-06-15 07:35:59 +00:00
Pavel Roskin
0a2a50de04
* edit.c (edit_execute_cmd): Put time format to a variable to
...
avoid gcc warning about Y2K issues with %c in strftime().
2001-06-15 06:21:35 +00:00
Pavel Roskin
6abe9e7249
* edit.c: Declare cmd_F* static. Comment out cmd_F9.
2001-06-14 21:07:58 +00:00
Pavel Roskin
b341c86ca4
* edit.c: Use indented #error for compatibility with old C
...
compilers.
2001-06-14 15:33:24 +00:00
Pavel Roskin
6d83120d2f
* edit.c (edit_execute_cmd) [GTK]: Disable user menu - it
...
doesn't work.
(user_menu) [GTK]: Disable.
* gtkedit.c (tb_items): Use complete words. Disable pull-down
menu.
2001-06-13 07:49:39 +00:00
Pavel Roskin
97b1ab977f
* editcmd.c (catstrs): Use interactive_display() without
...
specifying the help file.
From Andrew V. Samoilov.
2001-06-09 07:24:04 +00:00
Andrew V. Samoilov
fbd1a3f367
* editcmd.c [HAVE_CHARSET]: Really include charset.h.
...
* editmenu.c (edit_wrap_cmd): Memory leaking fixed.
2001-06-08 07:22:28 +00:00
Pavel Roskin
c645d780c7
* edit.c [HAVE_CHARSET]: Include charsets.h and selcodepage.h.
...
* editcmd.c [HAVE_CHARSET]: Add charset conversion support.
* editdraw.c [HAVE_CHARSET]: Likewise.
From Walery Studennikov <hqsoftware@mail.ru>.
2001-06-05 23:02:08 +00:00
Pavel Roskin
5386a6375f
* gtkedit.h: Warning fix - use stricter declarations for
...
destroy_me and destroy_me_user_data.
2001-06-02 01:37:23 +00:00
Pavel Roskin
91eba7d5ca
* Makefile.in: Define HAVE_X and HAVE_GNOME, not just GTK -
...
header files are using them.
2001-06-01 00:17:03 +00:00
Andrew V. Samoilov
daa8e84176
(key_pending) [!GTK]: Warning fix.
2001-05-31 00:43:04 +00:00
Pavel Roskin
cd8d6460bd
* editdraw.c (edit_render) [GTK]: Revert previous patch, it
...
broke compilation.
2001-05-31 00:06:22 +00:00
Andrew V. Samoilov
b5210e40f6
* editdraw.c (edit_status): Use strcpy (s, ) instead of
...
sprintf (s, "%s", ).
(set_color) [MIDNIGHT]: Became a macro.
(render_edit_text) [!defined(MIDNIGHT) && !defined(GTK)]: Warning fix.
(edit_render) [GTK]: Eliminate win variable.
2001-05-30 23:32:41 +00:00
Pavel Roskin
6c7bd41428
* editdraw.c (status_string): Use is_printable(). Declare
...
static. Eliminate intermediate buffer. Use memset() for filling.
Print byte as unsigned. Use C notation for hex numbers.
2001-05-30 17:18:28 +00:00
Pavel Roskin
c9b27ea6eb
* editdraw.c (status_string): Don't print non-printable chars.
...
Better formatting. Print "<EOF>" at the end of file instead of
-1. Use snprintf instead of sprintf.
2001-05-30 15:48:26 +00:00
Andrew V. Samoilov
733c2dd05e
* syntax.c (open_include_file) [MIDNIGHT]: Don't hardcode location
...
of syntax file(s) with LIBDIR, use mc_home instead.
From Ludovic Drolez <ludovic.drolez@freealter.com>.
(syntax_text): Use perl.syntax to highlight perl modules (.pm).
2001-05-30 12:35:16 +00:00
Pavel Roskin
b0593ec1e2
* Make.common.in: Remove obsolete dependency tracking system.
...
* configure.in: Likewise.
* edit/Makefile.in: Likewise.
* gnome/Makefile.in: Likewise.
* gtkedit/Makefile.in: Likewise.
* slang/Makefile.in: Likewise.
* src/Makefile.in: Likewise.
* vfs/Make-mc.in: Likewise.
* src/depend.awk: Remove.
2001-05-27 04:34:12 +00:00
Pavel Roskin
59d332e0d9
* gtkedit/syntax.c (syntax_text): Add support for Octave files.
...
* syntax/octave.syntax: New file. From Walery Studennikov.
* syntax/Makefile.am: Add octave.syntax.
2001-05-26 22:40:09 +00:00
Pavel Roskin
8841b6cc5f
* editcmd.c (edit_replace_prompt): Warning fix.
2001-05-18 19:25:23 +00:00
Pavel Roskin
bb912def1a
* gtkedit/editcmd.c: Remove support for XView layout attributes.
...
* gtkedit/editoptions.c: Likewise.
* pc/chmod.c: Likewise.
* pc/drive.c: Likewise.
* src/boxes.c: Likewise.
* src/chmod.c: Likewise.
* src/dlg.c: Likewise.
* src/dlg.h: Likewise.
* src/filegui.c: Likewise.
* src/find.c: Likewise.
* src/hotlist.c: Likewise.
* src/layout.c: Likewise.
* src/listmode.c: Likewise.
* src/main.c: Likewise.
* src/option.c: Likewise.
* src/panelize.c: Likewise.
* src/wtools.c: Likewise.
* src/wtools.h: Likewise.
* vfs/smbfs.c: Likewise.
2001-04-06 21:48:11 +00:00
Pavel Roskin
a5dde470ec
* editcmd.c (edit_delete_macro_cmd) [MIDNIGHT]: Don't use
...
CK_Macro on the argument to edit_delete_macro().
2001-02-26 19:51:56 +00:00
Pavel Roskin
2b8b56ddb2
* edit.c (edit_init_file): Remove, it's useless. All the
...
necessary files should be created when needed.
* edit.h: Remove declaration of edit_init_file().
2001-02-26 16:59:42 +00:00
Pavel Roskin
1f6ffaab0a
* gtkedit/edit.h: Only include malloc.h if STDC_HEADERS is not
...
defined to prevent warnings on OpenBSD 2.7.
* slang/jdmacros.h: Likewise.
* src/mad.h: Likewise.
* src/poptalloca.h: Likewise.
2001-02-20 17:57:23 +00:00
Pavel Roskin
7bee992ba2
* configure.in: Don't create a faked malloc.h.
...
* gtkedit/edit.h: Don't assume that malloc.h always exists.
* src/mad.h: Likewise.
2001-01-13 08:09:14 +00:00
Pavel Roskin
d1fcdbf64a
* edit/Makefile.in: Don't install or uninstall mcedit -
...
it cannot be installed before mc on systems without symlinks.
* gtkedit/Makefile.in: Likewise.
* src/Makefile.in: Install mcedit (if enabled) and mcview.
Uninstall them.
2001-01-11 16:48:13 +00:00