1 message traslated & old msgs cleanup
[midnight-commander.git] / gtkedit / ChangeLog
blobf4a7dafa6a5edfb4b9e845631e6162ccacf6439e
1 2001-07-29  Pavel Roskin  <proski@gnu.org>
3         * syntax.c (syntax_text): Add support for S-Lang.
5 2001-07-28  Pavel Roskin  <proski@gnu.org>
7         * editcmd.c (menu_save_mode_cmd): Resurrect i18n code lost in
8         the last resync with Cooledit.
9         Reported by David Martin <dmartina@excite.es>
11         * gtkedit.c (gtk_edit_delete_cb): Handler for "delete_event".
12         (edit): Connect it.
14 2001-07-27  Pavel Roskin  <proski@gnu.org>
16         * edit.c: Fix include.
18 2001-07-20  Pavel Roskin  <proski@gnu.org>
20         * syntax.c (open_include_file) [GTK]: Use mc_home instead of
21         LIBDIR.
23 2001-07-19  Pavel Roskin  <proski@gnu.org>
25         * editcmd.c (edit_canonicalize_pathname): Don't ever use
26         getwd(), use g_get_current_dir() instead.
28         * editoptions.c (edit_options_dialog): Call edit_load_syntax()
29         if user turned syntax highlighting off to unload the rules.
31 2001-07-17  Pavel Roskin  <proski@gnu.org>
33         * edit.h [MIDNIGHT]: Declare wedit.
34         * editmenu.c: Remove wedit declaration.
35         * editoptions.c (edit_options_dialog): Load syntax rules if user
36         turned syntax highlighting on.
37         * syntax.c (edit_load_syntax): Don't load rules if syntax
38         highlighting is disabled.
40 2001-07-13  Pavel Roskin  <proski@gnu.org>
42         * editoptions.c (edit_options_dialog): Allow numbers for tab
43         spacing. Reported by mharris@redhat.com.
44         http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=34852
46         * editcmd.c (menu_save_mode_cmd): Give meaningful names to the
47         input fields instead of "i" so that they have separate history.
48         * editoptions.c (edit_options_dialog): Likewise.
50 2001-07-11  Pavel Roskin  <proski@gnu.org>
52         * editdraw.c (status_string): Use g_snprintf() instead of
53         snprintf().
54         From Libor Motyèka <l_motycka@ortex.cz>
56 2001-07-10  Pavel Roskin  <proski@gnu.org>
58         * gtkeditkey.c (edit_translate_key): When processing bindings
59         with Alt check that Shift is not pressed - it's handled later.
61 2001-07-05  Pavel Roskin  <proski@gnu.org>
63         * editdraw.c: Comment fixes.
65 2001-06-26  Pavel Roskin  <proski@gnu.org>
67         * edit-widget.h (editor_widget): Rename `stat' to `stat1' to
68         avoid problems on Solaris with 64-bit file access, when `stat'
69         is a macro. All users adjusted.
70         Reported by Maksym Polyakov <polyama@yahoo.com>.
72 2001-06-25  Pavel Roskin  <proski@gnu.org>
74         * gtkedit.c: Remove home_dir - it's declared in main.c.
76 2001-06-15  Pavel Roskin  <proski@gnu.org>
78         * editcmd.c (canonicalize_pathname) [GTK]: Rename to ...
79         (edit_canonicalize_pathname): ... this to avoid namespace clash.
80         * edit.h [MIDNIGHT]: Include "src/cmd.h" and "src/user.h".
81         Remove declarations duplicating "src/user.h".
82         [GTK]: Include "src/dialog.h" and "src/util.h".
84         * editmenu.c (edit_wrap_cmd): Fix declaration.
85         (edit_about_cmd): Likewise.
86         * editwidget.c (get_key_state): Likewise.
88         * editcmd.c (edit_quit_cmd): Don't use strcmp on the result of
89         gtk_dialog_cauldron() since it's NULL if the dialog has been
90         closed without using buttons.
92         * edit.c (edit_execute_cmd): Put time format to a variable to
93         avoid gcc warning about Y2K issues with %c in strftime().
95 2001-06-14  Pavel Roskin  <proski@gnu.org>
97         * edit.c: Declare cmd_F* static. Comment out cmd_F9.
99         * edit.c: Use indented #error for compatibility with old C
100         compilers.
102 2001-06-13  Pavel Roskin  <proski@gnu.org>
104         * edit.c (edit_execute_cmd) [GTK]: Disable user menu - it
105         doesn't work.
106         (user_menu) [GTK]: Disable.
107         * gtkedit.c (tb_items): Use complete words. Disable pull-down
108         menu.
110 2001-06-09  Pavel Roskin  <proski@gnu.org>
112         * editcmd.c (catstrs): Use interactive_display() without
113         specifying the help file.
114         From Andrew V. Samoilov.
116 2001-06-08  Andrew V. Samoilov  <sav@bcs.zp.ua>
118         * editcmd.c [HAVE_CHARSET]: Really include charset.h.
119         * editmenu.c (edit_wrap_cmd): Memory leaking fixed.
121 2001-06-05  Pavel Roskin  <proski@gnu.org>
123         * edit.c [HAVE_CHARSET]: Include charsets.h and selcodepage.h.
124         * editcmd.c [HAVE_CHARSET]: Add charset conversion support.
125         * editdraw.c [HAVE_CHARSET]: Likewise.
126         From Walery Studennikov <hqsoftware@mail.ru>.
128 2001-06-01  Pavel Roskin  <proski@gnu.org>
130         * gtkedit.h: Warning fix - use stricter declarations for
131         destroy_me and destroy_me_user_data.
133 2001-05-31  Pavel Roskin  <proski@gnu.org>
135         * Makefile.in: Define HAVE_X and HAVE_GNOME, not just GTK -
136         header files are using them.
138         * editdraw.c (edit_render) [GTK]: Revert previous patch, it
139         broke compilation.
141 2001-05-31  Andrew V. Samoilov  <sav@bcs.zp.ua>
143         * editdraw.c (edit_status): Use strcpy (s, ) instead of
144         sprintf (s, "%s", ).
146         (set_color) [MIDNIGHT]: Became a macro.
147         (render_edit_text) [defined(MIDNIGHT) || defined(GTK)]: Warning fix.
148         (edit_render) [GTK]: Eliminate win variable.
149         (key_pending) [!GTK]: Warning fix.
151 2001-05-30  Pavel Roskin  <proski@gnu.org>
153         * editdraw.c (status_string): Use is_printable(). Declare
154         static. Eliminate intermediate buffer. Use memset() for filling.
155         Print byte as unsigned. Use C notation for hex numbers.
157         * editdraw.c (status_string): Don't print non-printable chars.
158         Better formatting. Print "<EOF>" at the end of file instead of
159         -1. Use snprintf instead of sprintf.
161 2001-05-30  Andrew V. Samoilov  <sav@bcs.zp.ua>
163         * syntax.c (open_include_file) [MIDNIGHT]: Don't hardcode location
164         of syntax file(s) with LIBDIR, use mc_home instead.
165         From Ludovic Drolez <ludovic.drolez@freealter.com>.
167         (syntax_text): Use perl.syntax to highlight perl modules (.pm).
169 2001-05-18  Pavel Roskin  <proski@gnu.org>
171         * editcmd.c (edit_replace_prompt): Warning fix.
173 2001-02-26  Pavel Roskin  <proski@gnu.org>
175         * editcmd.c (edit_delete_macro_cmd) [MIDNIGHT]: Don't use
176         CK_Macro on the argument to edit_delete_macro().
178         * edit.c (edit_init_file): Remove, it's useless. All the
179         necessary files should be created when needed.
180         * edit.h: Remove declaration of edit_init_file().
182 2000-11-01  Andrew V. Samoilov <sav@bcs.zp.ua>
184         * editcmd.c (canonicalize_pathname) [GTK]: memory leaking fixed
186 2000-10-30  Pavel Roskin  <proski@gnu.org>
188         * editcmd.c (canonicalize_pathname) [GTK]: Make the argument
189         constant.
190         (edit_split_filename) [GTK]: Make the second argument constant
191         to match the declaration.
193 2000-10-30  Andrew V. Samoilov <sav@bcs.zp.ua>
195         * editcmd.c (edit_save_file): better error handling on writting
197         (edit_sort_cmd): saved sort options proposed in dialog
199         edit.h, editcmd.c: declaration for edit_save_block () added
201         (edit_split_filename): f constified
203         * edit.c (edit_init) [ENABLE_NLS]: option_whole_chars_search
204         expanded by national letters using current locale on first call
206         (edit_file_is_open) [MIDNIGHT]: all occurences and related code
207         are commented
209         (edit_execute_cmd): typo in error message fixed
211 2000-09-30  Pavel Roskin  <proski@gnu.org>
213         * libgettext.h: Removed, shouldn't be here.
214         * Makefile.in: Adjusted to remove libgettext.h
216 2000-09-15  Andrew V. Samoilov  <sav@bcs.zp.ua>
218         * editcmd.c (edit_delete_macro, edit_(load|save)_macro_cmd): don't
219         translate keywords written to macro file or macro don't work, at least
220         for Cyrillic. Made this as separate commit, so, if it seriously breaks
221         compatibility it's easy to revert it.
223 2000-09-15  Andrew V. Samoilov  <sav@bcs.zp.ua>
225         * editcmd.c (edit_save_file): fopen()+fwrite()+fclose() replaced
226         by open()+write()+close() to restore possibility to edit files
227         over Midnight Commander's VFSes
229         (edit_replace_cmd) [MIDNIGHT]: some more right algorithm to calculate
230         menu coordinates used. I don't like if menu hides replaced text.
232         (edit_goto_cmd): Memory leaking fixed when f is empty string
234 2000-09-07  Andrew V. Samoilov  <sav@bcs.zp.ua>
236         * edit.c (check_file_access) [MIDNIGHT,GTK]: error message localized;
237         some cosmetics changes to avoid annoying warnings
239         * editcmd.c (edit_save_file): pclose returns 0 on success,
240         file fclose()d when fwrite fails
242         (pipe_mail): malloc () + sprintf () replaced by g_strdup_printf ()
244         * syntax.c (syntax_text): Makefile replaced by [Mm]akefile to cover
245         makefile and GNUmakefile
246         (upgrade_syntax_file): infinitive loop fixed when rule file
247         is outdated but it cannot be unlinked/overwritten
249 2000-08-30  Pavel Roskin  <proski@gnu.org>
251         * editwidget.c [!MIDNIGHT]: include xdnd.h
252         * Makefile.in: distribute xdnd.h
254 2000-08-18  Pavel Roskin  <proski@gnu.org>
256         * Makefile.in: adjusted list of distributed files.
257         Added rule for rebuilding Makefile
259 2000-08-08  Pavel Roskin <proski@gnu.org>
261         * gtkedit.c [GTK]: don't include mousemark.h
262         * gtkedit.h [GTK]: likewise
264 2000-08-03  Pavel Roskin <proski@gnu.org>
266         * mousemark.c, mousemark.h: removed
267         * Makefile.in: don't distribute mousemark.h
268         * gtkedit.c [MIDNIGHT]: don't include mousemark.h
269         * gtkedit.h [MIDNIGHT]: likewise
271 2000-07-20  Andrew V. Samoilov  <sav@bcs.zp.ua>
273         * gtkedit/editcmd.c (edit_save_file): check fclose()s return value
274         to prevent loss of data
275         (edit_block_process_cmd): don't translate empty string
277         * gtkedit/edit.h (edit_get_write_filter, edit_write_stream,
278         edit_init_file): added declarations
280         * edit.c (edit_filters): constified
281         (edit_get_write_filter): filename constified
282         (user_menu): don't translate empty string
284         * syntax.c (syntax_text): constified
285         (upgrade_syntax_file): syntax_line constified, f closed after use