📄 changelog
字号:
2001-03-18 Chema Celorio <chema@celorio.com> * release 0.9.62001-03-10 Chema Celorio <chema@celorio.com> * gedit.c (options): debug-window should set debug_window. Thanks Gary Benson <garyb@ee.bath.ac.uk> for pointing this out2001-03-18 Chema Celorio <chema@celorio.com> * menus.c (toolbar_data): uncomment the Exit menu ;-)2001-03-09 Paolo Maggi <maggi@athena.polito.it> * file.c (gedit_file_open): bug fix2001-03-07 Paolo Maggi <maggi@athena.polito.it> * menus.c: litte menus and toolbar reorganization * dialogs/dialog-replace.c (search_not_found_notify): "Text not found" string replaced with "Search string not found" * dialogs/prefs.glade: added accelletators2001-03-03 Jason Leach <jasonleach@usa.net> * file.c (gedit_file_open): Update for gnome-vfs-0.6.2 by changing gnome_vfs_file_info_init() to gnome_vfs_file_info_new() and adjusting a few other small things.2001-02-28 Chema Celorio <chema@celorio.com> * print.c (gedit_print): handle canceled and hittin print on the print preview window ok. * print-doc.c (gedit_print_document_determine_lines): remove debugin output2001-02-25 Chema Celorio <chema@celorio.com> * print-doc.c (gedit_print_document): clean the code a bit. But it really need a rewrite * print-util.c (gedit_print_progress_clicked): implement. Printing can now be canceled * print.c (gedit_print): run verify fonts (gedit_print): actually print2001-02-25 Chema Celorio <chema@celorio.com> * print.h: add progress_bar * progress_dialog * print-util.c (gedit_print_progress_start): implement. (gedit_print_progress_tick): implement (gedit_print_progress_end): implement 2001-02-24 Chema Celorio <chema@celorio.com> * print-doc.c: move all the actual printing code here. print.c is the glue between gedit & gnome-print. This code is butt ugly. It has my name, but I didn't write it ;-)! * print-util.c: new file * print-doc.h: ditto * print-util.h: ditto * print.c: full rewrite. I need no longer to hide the fact that i wrote this code. * Makefile.am: add print-doc.[ch] & print-util.[ch] * menus.c (popup_menu): the priting functions where renamed. update. * window.c (gedit_window_set_widgets_sensitivity): ditto * document.h (GEDIT_IS_DOCUMENT): the macro should be GEDIT_IS_DOCUMENT * view.c (gedit_view_get_document): Implement * document.c (gedit_document_set_undo): use new macro GEDIT_IS_DOCUMENT2001-02-20 Paolo Maggi <maggi@athena.polito.it> * dialogs/dialogs.h: modified gedit_plugin_program_location_dialog prototype * dialogs/dialog-plugins.c (gedit_plugin_program_location_dialog): added two parameters * dialogs/dialog-plugins.c: * dialogs/program.glade: * plugin-manager.glade: embellishment of the dialogs * plugin.c (gedit_plugin_program_location_get): use the modified gedit_plugin_program_location_dialog 2001-02-19 Paolo Maggi <maggi@athena.polito.it> * document.c (gedit_document_set_readonly): now uses g_return_if_fail instead of g_assert (gedit_document_get_tab_name): now uses g_return_val_if_fail instead of g_assert * recent.c (gedit_recent_update_all_windows): now uses g_return_if_fail instead of g_assert * window.c (gedit_window_set_widgets_sensitivity_ro): g_asserts removed * dialogs/dialog-replace.c (dialog_display_messages): fix typo2001-02-15 Paolo Maggi <maggi@athena.polito.it> * file.c (gedit_file_open): flash a message on the status bar reporting the name of the file is going to be loaded * gedit.c (main): now gedit_document_load is called after the gtk main loop is started * window.h: added new macro MSGBAR_LOADING_FILE2001-02-13 Paolo Maggi <maggi@athena.polito.it> * document.c (gedit_document_load): stupid bug fixed when loading files with escaped name.2001-02-13 Paolo Maggi <maggi@athena.polito.it> * document.c (gedit_document_get_tab_name)(gedit_document_load) (gedit_document_set_title): * file.c (gedit_file_open)(gedit_file_save_as)(gedit_file_save) (gedit_file_save_as_ok_sel) * print.c (print_set_pji): * recent.c (gedit_recent_add_menu_item) : added support for escaped file names and URIs2001-02-13 Paolo Maggi <maggi@athena.polito.it> * file.c (gedit_file_open): now uses g_return_val_if_fail instead of g_assert (gedit_file_open_ok_sel): now uses g_return_if_fail instead of g_assert * document.c (gedit_document_load): now uses g_return_val_if_fail instead of g_assert2001-02-12 Paolo Maggi <maggi@athena.polito.it> * file.c (gedit_file_save_as_ok_sel): remove g_assert that crashed gedit when exiting and saving a file. (file_save_document): before saving a document raise one of its views. * document.c (remove_child_cb): before removing a mdi child raise a view if the document is changed. 2001-02-11 Chema Celorio <chema@celorio.com> * file.c (gedit_file_save_as_ok_sel): remove g_asserts that where crashing then exiting gedit and saving a file. * view.c (gedit_view_set_tab_size): implement (gedit_view_init): call _set_tab_size after creating the gtk_text widget. * window.c (gedit_window_refresh_all): call set_tab_size * prefs.c (gedit_prefs_load_settings): tab size. Save load and add to struct. * dialogs/dialog-prefs.c (apply_cb): support for tab size * window.c (gedit_window_refresh_all): add a tab size changed parameter * file.c: remove message to translators2001-02-07 Paolo Maggi <maggi@athena.polito.it> * dialogs/dialog-uri.c (open_button_pressed): hide dlg before trying to load file from URI2001-02-07 Paolo Maggi <maggi@athena.polito.it> * view.c (gedit_view_init): the same popup menu is attached to all the wiews * window.c (gedit_window_set_widgets_sensitivity_ro): fix * dialogs/dialog-uri.c (dialog_open_uri_get_dialog)(open_button_pressed): now uri history is not saved2001-02-05 Paolo Maggi <maggi@athena.polito.it> * file.c: new variable save_all_flag, new enum GeditSaveAllFlagStates (save_all_continue): new function (gedit_file_save_as): now it saves the right file and the save as dialog is modal (gedit_file_save): active a document's view before saving the document (file_save_all): now it really saves all the modified files (file_open_cb): now the open dialog is modal (gedit_file_save_as_ok_sel): call file_save_all when needed * dialogs/dialog-uri.c (dialog_open_uri_get_dialog): the open from uri dialog is modal2001-02-02 Paolo Maggi <maggi@athena.polito.it> * file.c (file_save_all_cb): only call file_save_all (file_save_all): new function (gedit_file_save_as): show file name in the save as dialog * file.h: added definition of file_save_all * window.c (gedit_window_set_widgets_sensitivity_ro): now it does not set "Save All" menu item sensitivity * document.c (gedit_document_set_readonly): set doc->changed to FALSE (gedit_document_get_tab_name): add the 'star' parameter (remove_child_cb): little code reorganization (gedit_document_set_title): now the title contains also the path of the file * document.h: added the 'star' parameter to gedit_document_get_tab_name * print.c(print_set_pji): new title for the preview window * search.c (gedit_file_info_cb): now it uses the new gedit_document_get_tab_name * view.c (gedit_view_set_readonly): now it uses the new gedit_document_get_tab_name (gedit_view_text_changed_cb): now it changes the tab name when a document is modified * dialogs/dialog-uri.c (open_button_pressed): set ro sensitivity when needed2001-01-30 Paolo Maggi <maggi@athena.polito.it> * document.c: #included <libgnomevfs/gnome-vfs.h> (gedit_document_load): re-written to use gnome-vfs * file.c: #include <libgnomevfs/gnome-vfs.h> and "dialogs/dialogs.h" #defined PREALLOCATED_BUF_LEN (gedit_file_open): re-written to use gnome-vfs (uri_open_cb): new function (gedit_file_open_ok_sel): check if gedit_document_current() != NULL before setting readonly flag * file.h: added definition of uri_open_cb * gedit.c: #included <libgnomevfs/gnome-vfs.h> (main): initialize gnome-vfs * menus.c: added item "Open from _URI..." in File menu * dialogs/uri.glade: new file * dialogs/uri.glade.h: new file * dialogs/dialog-uri.c: new file * dialogs/Makefile.am: new files added * dialogs/dialogs.h: added definition of gedit_dialog_open_uri 2001-01-26 Paolo Maggi <maggi@athena.polito.it> * menus.c: added a separator in the toolbar2001-01-26 Paolo Maggi <maggi@athena.polito.it> * plugin.h: new field modify_an_existing_doc * plugin.c (gedit_plugin_load) : default setting for modify_an_existing_doc is FALSE * window.h: * window.c: new function gedit_window_set_widgets_sensitivity_ro * file.c (gedit_file_save_as_ok_sel)(gedit_file_open_ok_sel) * document.c (gedit_document_load ) * recent.c (recent_cb) * view.c (gedit_view_changed_cb)(gedit_view_add_cb)(gedit_view_remove): correctly set menu and toolbar item sensitivity when a read only file is opened (or saved)2000-12-14 Alex Roberts <bse@bakterium.com> * prefs.c (gedit_prefs_save_settings): only save the run flag if it's FALSE. we really dont need to save it each time we save. * file.c: added missing semicolon to the message. now it actually compile ;)2000-11-28 Chema Celorio <chema@celorio.com> * file.c: add message for Translators2000-11-20 Chema Celorio <chema@celorio.com> * new branch: HEAD is going to get ported to the new text widget and gnome-vfs. This is the unstable branch of gedit. 2000-11-22 Paolo Maggi <maggi@athena.polito.it> * menus.c: litte menus and toolbar reorganization * plugin.c (gedit_plugins_menu_add): add an icon to the "Manager..." menu entry * dialogs/replace.glade: cosmetic layout changes2000-11-20 Chema Celorio <chema@celorio.com> * dialogs/about.glade: Added paolo and roberto to the about box. * prefs.c (gedit_prefs_load_settings): fix a crash.2000-11-20 Paolo Maggi <maggi@athena.polito.it> * recent.c (recent_cb): when needed update the recent file menu in all open windows2000-11-18 Paolo Maggi <maggi@athena.polito.it> * plugin.c: #defined DATA_PLUGINS_TO_REMOVE (gedit_plugins_menu_add): fix problems when used with more than one toplevel windows; remove old broken code * plugin.h: menu_item attribute commented because it is not needed * window.c (gedit_window_set_widgets_sensitivity): fix problems withplugins sensitivity; remove old broken code (gedit_window_set_plugins_menu_sensitivity): new method * window.h: new method gedit_window_set_plugins_menu_sensitivity * dialogs/dialog-plugins.c: #included <string.h> to fix warnings (gedit_plugin_manager_clicked): set plugins menu sensitivity * undo.c: #included <string.h> to fix warnings * dialogs/dialog-replace.c: #included <string.h> to fix warnings (dialog_display_messages): fix warning * dialogs/dialog-prefs.c: #included <string.h> to fix warnings2000-11-17 Paolo Maggi <maggi@athena.polito.it> * recent.c: #defined DATA_ITEMS_TO_REMOVE (gedit_recent_update_menus): fix recent items bugs. Now the right number of items are removed from menu (gedit_recent_update_all_windows): new method (gedit_recent_update): documentation modified * recent.h: new method gedit_recent_update_all_windows * file.c (gedit_file_open): now it uses gedit_recent_update_all_windows in place of gedit_recent_update (gedit_file_save_as_ok_sel): now it uses gedit_recent_update_all_windows in place of gedit_recent_update2000-10-30 Chema Celorio <chema@celorio.com> * recent.c (gedit_recent_update_menus): add a comment for tranlators2000-10-28 Chema Celorio <chema@celorio.com> * window.c (gedit_window_set_view_menu_sensitivity): add some g_return_ and GTK_IS_WIDGET to avoid a crash. (gedit_window_set_widgets_sensitivity): ditto2000-10-28 Chema Celorio <chema@celorio.com> * print.c (g_unichar_to_utf8): new function temp. (print_show_iso8859_1): new function so that we can print with the new gnome-print. Remove when we use unicode internally (print_ps_line): use new function for show2000-10-21 Chema Celorio <chema@celorio.com> * view.c (gedit_view_set_font): memleak (gedit_view_destroy): new method (gedit_view_finalize): remove * document.c (gedit_document_destroy): memleak * recent.c (gedit_recent_add_menu_item): memleak2000-10-20 Chema Celorio <chema@celorio.com> * search.c (gedit_search_pos_to_line): rename from pos_to_line (gedit_replace_all_execute): add a parameter to cursor position * dialogs/dialog-replace.c (action_replace_all): set the window and cursor position after replace all.2000-10-20 Chema Celorio <chema@celorio.com> * dialogs/dialog-replace.c (action_replace_all): use g_doc_replace_text v.s. using g_doc_delte + g_doc_insert so that undo is a 1 step process2000-10-20 Chema Celorio <chema@celorio.com> * search.c (gedit_replace_all_execute): I need to write 100 pages of "I shall not use unsigned numbers ..."2000-10-20 Chema Celorio <chema@celorio.com> * search.c (gedit_search_execute): kill a warning (gedit_replace_all_execute): fix a stupid crash * dialogs/dialog-replace.c (action_replace_all): fix #29036 (action_find): kill a warning
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -