mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 21:06:52 +03:00
bd90155537
* editcmd.c (edit_save_file): fopen()+fwrite()+fclose() replaced by open()+write()+close() to restore possibility to edit files over Midnight Commander's VFSes (edit_replace_cmd) [MIDNIGHT]: some more right algorithm to calculate menu coordinates used. I don't like if menu hides replaced text. (edit_goto_cmd): Memory leaking fixed when f is empty string
64 lines
2.0 KiB
Plaintext
64 lines
2.0 KiB
Plaintext
2000-09-15 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
|
|
* editcmd.c (edit_save_file): fopen()+fwrite()+fclose() replaced
|
|
by open()+write()+close() to restore possibility to edit files
|
|
over Midnight Commander's VFSes
|
|
|
|
(edit_replace_cmd) [MIDNIGHT]: some more right algorithm to calculate
|
|
menu coordinates used. I don't like if menu hides replaced text.
|
|
|
|
(edit_goto_cmd): Memory leaking fixed when f is empty string
|
|
|
|
2000-09-07 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
|
|
* edit.c (check_file_access) [MIDNIGHT,GTK]: error message localized;
|
|
some cosmetics changes to avoid annoying warnings
|
|
|
|
* editcmd.c (edit_save_file): pclose returns 0 on success,
|
|
file fclose()d when fwrite fails
|
|
|
|
(pipe_mail): malloc () + sprintf () replaced by g_strdup_printf ()
|
|
|
|
* syntax.c (syntax_text): Makefile replaced by [Mm]akefile to cover
|
|
makefile and GNUmakefile
|
|
(upgrade_syntax_file): infinitive loop fixed when rule file
|
|
is outdated but it cannot be unlinked/overwritten
|
|
|
|
2000-08-30 Pavel Roskin <proski@gnu.org>
|
|
|
|
* editwidget.c [!MIDNIGHT]: include xdnd.h
|
|
* Makefile.in: distribute xdnd.h
|
|
|
|
2000-08-18 Pavel Roskin <proski@gnu.org>
|
|
|
|
* Makefile.in: adjusted list of distributed files.
|
|
Added rule for rebuilding Makefile
|
|
|
|
2000-08-08 Pavel Roskin <proski@gnu.org>
|
|
|
|
* gtkedit.c [GTK]: don't include mousemark.h
|
|
* gtkedit.h [GTK]: likewise
|
|
|
|
2000-08-03 Pavel Roskin <proski@gnu.org>
|
|
|
|
* mousemark.c, mousemark.h: removed
|
|
* Makefile.in: don't distribute mousemark.h
|
|
* gtkedit.c [MIDNIGHT]: don't include mousemark.h
|
|
* gtkedit.h [MIDNIGHT]: likewise
|
|
|
|
2000-07-20 Andrew V. Samoilov <sav@bcs.zp.ua>
|
|
|
|
* gtkedit/editcmd.c (edit_save_file): check fclose()s return value
|
|
to prevent loss of data
|
|
(edit_block_process_cmd): don't translate empty string
|
|
|
|
* gtkedit/edit.h (edit_get_write_filter, edit_write_stream,
|
|
edit_init_file): added declarations
|
|
|
|
* edit.c (edit_filters): constified
|
|
(edit_get_write_filter): filename constified
|
|
(user_menu): don't translate empty string
|
|
|
|
* syntax.c (syntax_text): constified
|
|
(upgrade_syntax_file): syntax_line constified, f closed after use
|