📄 changelog
字号:
2000-10-17 Chema Celorio <chema@celorio.com> * prefs.c (gedit_prefs_save_settings): quick fix to not crash when gedit is beeing closed thru the window manager. /me opens the brown paper bag drawer2000-10-16 Chema Celorio <chema@celorio.com> * search.c (gedit_replace_all_execute): fix a crash when replacing all. (gmorten found it). * recent.c (gedit_recent_update_menus): rewrite, fix recent items bugs. (gedit_recent_add_menu_item): implement (gedit_recent_remove): clean * prefs.h (struct _Preferences): remove settings->num_recent, we have recent file list, and we know the size of the list. * recent.c (gedit_recent_update_menus): don't return if list == NULL. This was causing a crash. * menus.c: clean the file, remove unused stuff add ifndef's for stuff that is disabled * menus.h: ditto2000-10-15 Chema Celorio <chema@celorio.com> * dialogs/dialog-prefs.c (apply_cb): fix a crash when starting with a clean ~/.gnome/gedit. You Shall strdup a string you plan to free.2000-10-15 Chema Celorio <chema@celorio.com> * menus.c: renamed some public functions prepending gedit_ to their names * search.h: clean and leave only the functions that are called. * search.c: make this struct private, move from .h to .c start cleaning this file too. * document.h (struct _GeditDocument): ditto. Rename from Document to GeditDocument * view.h (struct _GeditView): start to clean this mess. This struct is much smaller now. Rename from View to GeditView * view.c (gedit_view_get_type): start cleaning this file. Adding function descriptions and removing the nonsense code. * file.c (file_revert_cb): kill a memleak when reverting documents. (gedit_file_open): do not allow doc->filename & fname to point at the same location. We might free doc->filename inside.2000-10-15 Chema Celorio <chema@celorio.com> * undo.c (gedit_undo_add): allow adding 0 size undo elements. The user might replace "foo" with "". * prefs.c (gedit_prefs_save_settings): only save the window size when the window is not maximized. * dialogs/dialogs.h: prepend gedit_ to all the functions. Rename the references to this function names. * dialogs/dialog-replace.c (gedit_find_again): implement find again * undo.c (gedit_undo_check_size): when removing undo objects from the stack verify that we remove pairs of replaces together. We where leaving half of an undo state in the stack * search.c (gedit_search_replace_all_execute): limit the size that the buffer can grow to. Gedit pukes on large g_reallocs.2000-10-14 Chema Celorio <chema@celorio.com> * search.c (gedit_search_replace_all_execute): grow the buffer using levien's method (<<=1). This helps gedit to not crash when allocating for large buffers. * view.c (gedit_view_init): remove the panned window again2000-10-14 Chema Celorio <chema@celorio.com> * dialogs/dialog-replace.c: rewrite, use coolio gnome-dialog functions. This code looks so much cleaner. * view.c (gedit_view_delete): fix a problem that was causing replace all to really suck. * search.c (gedit_search_replace_all_execute): constify & fix a small bug that was causing a warning to be emited * view.c (gedit_view_set_window_position_from_lines): fine tune * search.c (search_text_execute): constify * undo.c (gedit_undo_add): constify (gedit_undo_merge): constify (struct _GeditUndoInfo): make this struct private to undo.c : remove <gnome.h> * document.c (gedit_document_replace_text): constify * dialogs/dialog-prefs.c: remove g_print * print.c: ditto2000-10-13 Yuri Syrota <rasta@renome.rovno.ua> * file.c: replace "0pplication" with "application" (syntax error in message) 2000-10-10 Chema Celorio <chema@celorio.com> * prefs.h (struct _Preferences): print_lines was marked as ": 1" and the print lines function did not worked. Fix. * file.c (gedit_file_open_ok_sel): if there aren't any selected files. Open the file specified in the entry * plugin.c (gedit_plugin_guess_program_location): kill 3 leaks gnoem_config_get_string returns g_malloc'ed strings (gedit_plugin_program_location_change): mem leak (gedit_plugin_program_location_get): another one * file.c (gedit_file_selector_key_event): if the user hits ESC in the open or save dialog, destroy the dialog * search.c (file_info_cb): kill another memleak * commands.c (tab_right_cb): use left,bottom & right. Not lft,btm &rgt * dialogs/dialog-goto-line.c: rewrite. Actually understand gnome_dialog and use it.2000-10-10 Kjartan Maraas <kmaraas@gnome.org> * dialogs/dialog-prefs.c: Changed to really work with gnome_help_pbox_display(). 2000-10-09 Chema Celorio <chema@celorio.com> * dialogs/dialog-goto-line.c: the goto line dialog is no longer public kill memleaks and clean the file a bit * plugin.c (gedit_plugins_menu_add): kill 2 strings that we where leaking * recent.c (gedit_recent_update_menus): kill a mem-leak * view.c (gedit_view_class_init): After months of not beeing able to sleep well over this bug. Killed this mother fucker ! I wached this bug ask for forgiveness before squashing it to the floor. Close : #14756, #5260, #12325, #13576, #14104, #14204, #15528, #15669, #15746, #16197, #20325; * file.c (gedit_file_open): allow the opening of 0 bytes files, users have requested this feature. (gedit_file_save): allow the user to save 0 bytes files make open_file_selector private and static (file_open_cb): Implement multiple file opening (gedit_file_selector_get_filenames): (gedit_file_open_ok_sel): 2000-10-08 Chema Celorio <chema@celorio.com> * print.c: clean 2000-10-07 Kjartan Maraas <kmaraas@gnome.org> * dialogs/dialog-prefs.c: (dialog_prefs_impl): Use gnome_help_pbox_display() instead of gnome_help_pbox_goto() to make sure the help comes up in the gnome-help-browser. 2000-09-08 Chema Celorio <chema@celorio.com> * view.c (gedit_view_refresh_line_hack): finally fixed the problem when deleting a complete line of text. close bug #198622000-08-31 Chema Celorio <chema@celorio.com> * file.c (gedit_file_save): add more checks to improve robustness * window.c (gedit_window_new): no need to load the icon here. * gedit.c (main): use new icon * view.c (gedit_views_insert): if text length <1, return2000-08-30 Chema Celorio <chema@celorio.com> Fixed small bugs/issues here & there * file.c (gedit_view_insert_if_mapped): after more than 10 hrs. finaly fixed the crash reported in #19044: program crashed #20097: gedit DnD crash #20743: crashes when opening DOS file #22287: (crash during mime) loaded a temp file from gftp. bryce weiner <cogburn@fuse.net>. It is based on a semi-hacky soltuion, but users want a stable editor.2000-07-09 Chema Celorio <chema@celorio.com> * file.c (gedit_file_save): fix 161432000-07-07 Chema Celorio <chema@celorio.com> * plugin.c (gedit_plugin_load): do not "_(" mark warning messages for translation2000-07-06 Chema Celorio <chema@celorio.com> * view.c (doc_insert_text_real_cb): new function to fix #16374. We cant assume that a parameter that is not passed to a funciton will be TRUE. * document.c (gedit_document_insert_text): call doc_insert_text_real_cb same for the _delete_ function2000-07-05 Chema Celorio <chema@celorio.com> * search.c (file_info_cb): added total size to the dialog2000-07-05 Chema Celorio <chema@celorio.com> * search.c (file_info_cb): kill compile warning * view.c (gedit_view_init): fix the code a bit2000-07-05 Chema Celorio <chema@celorio.com> * view.c (gedit_view_init): try to fix the speed problems with sucky themes. I think they are gone, but we need to verify it.2000-07-02 <phoenix@nova.es> * search.c (count_lines_cb): This function is reform . add file_info () * search.c (file_info): Add new function . Return -> total chars , total words , total lines , total paragraphs ....2000-07-01 Chema Celorio <chema@celorio.com> * window.c (gedit_window_set_view_menu_sensitivity): set the sensitivity of the revert menu item * view.c (gedit_view_changed_cb): set sentivity of the add/remove view menu * dialogs/dialog-prefs.c (apply_cb): we where not setting tab_pos. set tab pos after apply.2000-06-30 <chema@celorio.com> * plugin.h (struct _PluginData): add long_desc * dialogs/dialog-plugins.c: (gedit_plugin_manager_item_clicked): use pd->long_desc v.s. pd->desc2000-06-30 <chema@celorio.com> * dialogs/dialog-plugins.c: find a work arround for the crash.2000-06-29 Chema Celorio <chema@celorio.com> * document.c (gedit_document_set_title): fix leak.2000-06-29 Chema Celorio <chema@celorio.com> * dialogs/dialog-plugins.c: remove g_print's * document.c: Do not free docname. back Charles commit.2000-06-29 Chema Celorio <chema@celorio.com> * view.c (gedit_view_add_cb): call set_view_menu_sensitivity after adding a view (gedit_view_remove): call set_view_menu_sensitivity after removing a view * plugin.c (gedit_plugin_load): add installed_by_default code. * plugin.h (struct _PluginData): ditto2000-06-29 Charles Kerr <charles@skywalker.ou.edu> * document.c (gedit_document_set_title): small memory leak fixed: g_free docname before exiting the function2000-06-28 Chema Celorio <chema@celorio.com> * dialogs/dialog-plugins.c (gedit_plugin_manager_item_clicked): add the plugin description in the plugin manager when the plugin name is clicked.2000-06-27 Chema Celorio <chema@celorio.com> * view.c (gedit_view_load_widgets): fix a ugly piece of code. * window.c (gedit_window_set_view_menu_sensitivity): new function.2000-06-26 Chema Celorio <chema@celorio.com> * plugin.c (gedit_plugin_save_settings): save the plugins that are installed * prefs.c (gedit_prefs_save_settings): call gedit_plugin_save_settings2000-06-26 Chema Celorio <chema@celorio.com> * dialogs/dialog-plugins.c (gedit_plugin_manager_create): new function (gedit_plugin_manager_clicked): new func (gedit_plugin_manager_destroy): new func (gedit_plugin_manager_item_remove_all): new func (gedit_plugin_manager_item_add_all): (gedit_plugin_manager_item_remove): (gedit_plugin_manager_item_add): (gedit_plugin_manager_item_load): (gedit_plugin_clist_compare_function): (gedit_plugin_lists_freeze): (gedit_plugin_lists_thaw): * plugin.c (gedit_plugins_menu_add): plugin manager stuff * plugin.h: ditto2000-06-25 Chema Celorio <chema@celorio.com> * window.c (gedit_window_set_widgets_sensitivity): set sensitity of the plugins menu items. * plugin.h (struct _PluginData): add menu_item and needs_a_document.2000-06-25 Chema Celorio <chema@celorio.com> * utils.c (gedit_utils_error_dialog): new function (gedit_utils_delete_temp): new function [unfinished] (gedit_utils_create_temp_from_doc): new function2000-06-22 Chema Celorio <chema@celorio.com> * view.c (gedit_view_get_position): fix a bug in which the text position will not get updated in the text widget when the position is changed with the mouse.2000-06-22 Chema Celorio <chema@celorio.com> * plugin.c (gedit_plugin_program_location_get): clean g_prints * dialogs/dialog-plugins.c: ditto2000-06-21 Chema Celorio <chema@celorio.com> * utils.h: remove the defines used for accesing the toolbar/menus. * view.c (gedit_view_load_widgets): call gnome_mdi_get[menubar/toolbar] to get the menu/tooblar UI_INFO * window.c (gedit_window_set_widgets_sensitivity): ditto2000-06-21 Chema Celorio <chema@celorio.com> * search.c (gedit_search_replace_all_execute): add sanity check * window.c (gedit_window_set_widgets_sensitivity): fix a bug 2000-06-20 Chema Celorio <chema@celorio.com> * dialogs/dialog-replace.c (replace_text_clicked_cb): fix a bug adjust start_position after a replace * plugin.c (gedit_plugin_program_location_get): fix (gedit_plugin_program_location_clear): new2000-06-20 Chema Celorio <chema@celorio.com> * plugin.h: add prototype * plugin.c (gedit_plugin_program_location_get): new func. (gedit_plugin_guess_program_location): new, func. * dialogs/dialog-plugins.c (gedit_plugin_program_location_dialog): new file new function. Move the code from the email plugin to here so that it can be reused. * window.c (gedit_window_set_widgets_sensitivity): fix a bug that made the new documents unshade the undo && redo items. * dialogs/dialog-prefs.c (apply_cb): raise the props box * window.c (gedit_window_refresh_all): fix small bug2000-06-20 Chema Celorio <chema@celorio.com> * window.c (gedit_window_set_widgets_sensitivity): new function that turns on and off the sensitivty of the menus & toolbar items. * file.c (file_close_cb): turn off sensitivty of toolbar and menu items ( that need a document to work) (file_close_all_cb): ditto * document.c (gedit_document_new_with_file): turn toolbar and menu items sensitivity on (gedit_document_new_with_title): ditto (gedit_document_new): ditto * window.c (gedit_window_refresh_all): fix a crash that happened when apply was clicked in the prefs box and there where no documents open.2000-06-19 Chema Celorio <chema@celorio.com> * window.c (gedit_window_refresh_all): queue_resize the toolbar when setting to system settings and system setings = ICONS_ONLY2000-06-19 Chema Celorio <chema@celorio.com> * window.c (gedit_window_refresh_all): fix the bug in which the toolbars will no get loaded when the mdi_mode is changed.2000-06-18 Chema Celorio <chema@celorio.com>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -