1 2001-06-01 Pavel Roskin <proski@gnu.org>
3 * gtkedit.h: Warning fix - use stricter declarations for
4 destroy_me and destroy_me_user_data.
6 2001-05-31 Pavel Roskin <proski@gnu.org>
8 * Makefile.in: Define HAVE_X and HAVE_GNOME, not just GTK -
9 header files are using them.
11 * editdraw.c (edit_render) [GTK]: Revert previous patch, it
14 2001-05-31 Andrew V. Samoilov <sav@bcs.zp.ua>
16 * editdraw.c (edit_status): Use strcpy (s, ) instead of
19 (set_color) [MIDNIGHT]: Became a macro.
20 (render_edit_text) [defined(MIDNIGHT) || defined(GTK)]: Warning fix.
21 (edit_render) [GTK]: Eliminate win variable.
22 (key_pending) [!GTK]: Warning fix.
24 2001-05-30 Pavel Roskin <proski@gnu.org>
26 * editdraw.c (status_string): Use is_printable(). Declare
27 static. Eliminate intermediate buffer. Use memset() for filling.
28 Print byte as unsigned. Use C notation for hex numbers.
30 * editdraw.c (status_string): Don't print non-printable chars.
31 Better formatting. Print "<EOF>" at the end of file instead of
32 -1. Use snprintf instead of sprintf.
34 2001-05-30 Andrew V. Samoilov <sav@bcs.zp.ua>
36 * syntax.c (open_include_file) [MIDNIGHT]: Don't hardcode location
37 of syntax file(s) with LIBDIR, use mc_home instead.
38 From Ludovic Drolez <ludovic.drolez@freealter.com>.
40 (syntax_text): Use perl.syntax to highlight perl modules (.pm).
42 2001-05-18 Pavel Roskin <proski@gnu.org>
44 * editcmd.c (edit_replace_prompt): Warning fix.
46 2001-02-26 Pavel Roskin <proski@gnu.org>
48 * editcmd.c (edit_delete_macro_cmd) [MIDNIGHT]: Don't use
49 CK_Macro on the argument to edit_delete_macro().
51 * edit.c (edit_init_file): Remove, it's useless. All the
52 necessary files should be created when needed.
53 * edit.h: Remove declaration of edit_init_file().
55 2000-11-01 Andrew V. Samoilov <sav@bcs.zp.ua>
57 * editcmd.c (canonicalize_pathname) [GTK]: memory leaking fixed
59 2000-10-30 Pavel Roskin <proski@gnu.org>
61 * editcmd.c (canonicalize_pathname) [GTK]: Make the argument
63 (edit_split_filename) [GTK]: Make the second argument constant
64 to match the declaration.
66 2000-10-30 Andrew V. Samoilov <sav@bcs.zp.ua>
68 * editcmd.c (edit_save_file): better error handling on writting
70 (edit_sort_cmd): saved sort options proposed in dialog
72 edit.h, editcmd.c: declaration for edit_save_block () added
74 (edit_split_filename): f constified
76 * edit.c (edit_init) [ENABLE_NLS]: option_whole_chars_search
77 expanded by national letters using current locale on first call
79 (edit_file_is_open) [MIDNIGHT]: all occurences and related code
82 (edit_execute_cmd): typo in error message fixed
84 2000-09-30 Pavel Roskin <proski@gnu.org>
86 * libgettext.h: Removed, shouldn't be here.
87 * Makefile.in: Adjusted to remove libgettext.h
89 2000-09-15 Andrew V. Samoilov <sav@bcs.zp.ua>
91 * editcmd.c (edit_delete_macro, edit_(load|save)_macro_cmd): don't
92 translate keywords written to macro file or macro don't work, at least
93 for Cyrillic. Made this as separate commit, so, if it seriously breaks
94 compatibility it's easy to revert it.
96 2000-09-15 Andrew V. Samoilov <sav@bcs.zp.ua>
98 * editcmd.c (edit_save_file): fopen()+fwrite()+fclose() replaced
99 by open()+write()+close() to restore possibility to edit files
100 over Midnight Commander's VFSes
102 (edit_replace_cmd) [MIDNIGHT]: some more right algorithm to calculate
103 menu coordinates used. I don't like if menu hides replaced text.
105 (edit_goto_cmd): Memory leaking fixed when f is empty string
107 2000-09-07 Andrew V. Samoilov <sav@bcs.zp.ua>
109 * edit.c (check_file_access) [MIDNIGHT,GTK]: error message localized;
110 some cosmetics changes to avoid annoying warnings
112 * editcmd.c (edit_save_file): pclose returns 0 on success,
113 file fclose()d when fwrite fails
115 (pipe_mail): malloc () + sprintf () replaced by g_strdup_printf ()
117 * syntax.c (syntax_text): Makefile replaced by [Mm]akefile to cover
118 makefile and GNUmakefile
119 (upgrade_syntax_file): infinitive loop fixed when rule file
120 is outdated but it cannot be unlinked/overwritten
122 2000-08-30 Pavel Roskin <proski@gnu.org>
124 * editwidget.c [!MIDNIGHT]: include xdnd.h
125 * Makefile.in: distribute xdnd.h
127 2000-08-18 Pavel Roskin <proski@gnu.org>
129 * Makefile.in: adjusted list of distributed files.
130 Added rule for rebuilding Makefile
132 2000-08-08 Pavel Roskin <proski@gnu.org>
134 * gtkedit.c [GTK]: don't include mousemark.h
135 * gtkedit.h [GTK]: likewise
137 2000-08-03 Pavel Roskin <proski@gnu.org>
139 * mousemark.c, mousemark.h: removed
140 * Makefile.in: don't distribute mousemark.h
141 * gtkedit.c [MIDNIGHT]: don't include mousemark.h
142 * gtkedit.h [MIDNIGHT]: likewise
144 2000-07-20 Andrew V. Samoilov <sav@bcs.zp.ua>
146 * gtkedit/editcmd.c (edit_save_file): check fclose()s return value
147 to prevent loss of data
148 (edit_block_process_cmd): don't translate empty string
150 * gtkedit/edit.h (edit_get_write_filter, edit_write_stream,
151 edit_init_file): added declarations
153 * edit.c (edit_filters): constified
154 (edit_get_write_filter): filename constified
155 (user_menu): don't translate empty string
157 * syntax.c (syntax_text): constified
158 (upgrade_syntax_file): syntax_line constified, f closed after use