From 8e55edad63526df3f1fad81b82624c9fe93e8e30 Mon Sep 17 00:00:00 2001 From: BST 1999 Alex Roberts Date: Mon, 24 May 1999 19:13:42 +0000 Subject: [PATCH] Released 0.5.3 Mon May 24 19:50:58 BST 1999 Alex Roberts * Released 0.5.3 * makeconfig.pl: Ok, time for release.. changed version to 0.5.3. * NEWS: Added ANNOUNCE message. * README.plugins: Added documentation for the Man Page and Time plugins. * src/gE_prefs.[ch]: (gE_get_settings) Added new check, for running gEdit the first time, now we dont segfault when gEdit starts with no prefs file. (Thanks to Kjartan Maraas for spotting that one). --- ChangeLog | 14 ++++++++++++++ NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ README.plugins | 12 +++++++++++- gedit/gE_prefs.c | 19 ++++++++++++++++--- gedit/gE_prefs.h | 3 ++- makeconfig.pl | 2 +- src/gE_prefs.c | 19 ++++++++++++++++--- src/gE_prefs.h | 3 ++- 8 files changed, 105 insertions(+), 10 deletions(-) diff --git a/ChangeLog b/ChangeLog index dc4ff7dd0..53a64244c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +Mon May 24 19:50:58 BST 1999 Alex Roberts + + * Released 0.5.3 + + * makeconfig.pl: Ok, time for release.. changed version to 0.5.3. + + * NEWS: Added ANNOUNCE message. + + * README.plugins: Added documentation for the Man Page and Time plugins. + + * src/gE_prefs.[ch]: (gE_get_settings) Added new check, for running gEdit + the first time, now we dont segfault when gEdit starts with no prefs file. + (Thanks to Kjartan Maraas for spotting that one). + 1999-05-23 00:22:46 Alex Roberts * README: Updated for 0.5.3. Plus, some minor cosmetic updates. diff --git a/NEWS b/NEWS index 0b45b345b..7c95d4266 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,46 @@ +ANNOUNCE - 0.5.3 (1999-05-24) +---------------- +Hi, I am announcing here the release of gEdit 0.5.3 - A small but powerful text +editor for Gnome. To run this version of gEdit you require at least Gtk+ 1.2.3 +and Gnome 1.0.9. We now have full integration with the Gnome environment. This +release is a lot more stable than 0.5.2, many of the wierd and wonderful bugs +that cropped up have now been dealt with and I am happy to say this release is +as stable as 0.5.1. Yes, there still are bugs, but nothing to affect day-to-day +usage. This release also brings in new features. + + * File Revert, so you can bring back the stored copy of a file, quickly + and easily. + + * Customisable Window Size settings, so now you can decide how big or + small the window is when you start gEdit (This has been a very much + asked for feature). + + * Customisable scrollbars, finally implemented this long time requested + feature - Scrollbar is invisible until text overflows the widget, is + the default now (instead of having it visible all the time). + + * New plugins! + These include: + * "Insert Time" - To insert the current date and time + into the current document. + * "Man Viewer" - This lets you look up man pages within gEdit. + * "Wordcount" - This counts the number of characters, words and + paragraphs in the current document. + + * Numerous important bug fixes, increasing stability since 0.5.2. + Thanks to users for finding many of the little, more sneeky, bugs. + (The ChangeLog file documents these many fixes). + +Source tarballs are available for download from http://gedit.pn.org; RPMs will be +available (As soon as some are built). + +Any comments, bugs, etc. can be directed to me or (This is +preferred) the mailing list, information is available at the web site. + +Thanks +-- +Alex Roberts + ANNOUNCE - 0.5.2 (1999-05-09) ---------------- diff --git a/README.plugins b/README.plugins index 2d0ba50f9..35fc1796f 100644 --- a/README.plugins +++ b/README.plugins @@ -1,4 +1,4 @@ -gEdit Plugins - v0.5.2 +gEdit Plugins - v0.5.3 For information on developing plugins, read plugins/plugin_howto. Currently, all plugins are stored in "/usr/local/libexec/go/plugins", @@ -95,3 +95,13 @@ Written By: Chris Lahey * Dumps the number of Characters, Words and Paragraphs in the current document out to STDOUT. (Note - Wouldnt a GUI interface be better than outputting to STDOUT? -Alex) + +Man: +Written By: Alex Roberts + + * Lets you view Man pages within gEdit. + +Time: +Written By: Alex Roberts + + * Inserts the current date/time into the current document. diff --git a/gedit/gE_prefs.c b/gedit/gE_prefs.c index f69252481..136edba20 100644 --- a/gedit/gE_prefs.c +++ b/gedit/gE_prefs.c @@ -65,13 +65,17 @@ gE_save_settings() gE_prefs_set_char ("print command", "lpr -rs %s"); else gE_prefs_set_char ("print command", settings->print_cmd); - + + if (!settings->run) + settings->run = TRUE; + gE_prefs_set_int ("run", (gint) settings->run); } void gE_get_settings() { /* settings->tab_pos = gE_prefs_get_int("tab pos");*/ + settings->run = gE_prefs_get_int ("run"); settings->show_status = gE_prefs_get_int("show statusbar"); settings->have_toolbar = gE_prefs_get_int("toolbar"); settings->have_tb_text = gE_prefs_get_int("tb text"); @@ -110,6 +114,15 @@ void gE_get_settings() /*bOrK gtk_notebook_set_tab_pos(GTK_NOTEBOOK(w->notebook), w->tab_pos);*/ - if (settings->show_status == FALSE) - gtk_widget_hide (GTK_WIDGET (GNOME_APP(mdi->active_window)->statusbar)); + if (settings->run) + { + if (settings->show_status == FALSE) + gtk_widget_hide (GTK_WIDGET (GNOME_APP(mdi->active_window)->statusbar)); + } + else + { + settings->show_status = TRUE; + gE_prefs_set_int ("show statusbar", (gboolean) settings->show_status); + } + } diff --git a/gedit/gE_prefs.h b/gedit/gE_prefs.h index 4199d6331..294fbb058 100644 --- a/gedit/gE_prefs.h +++ b/gedit/gE_prefs.h @@ -45,7 +45,8 @@ typedef struct _gE_preference { gint scrollbar; gint width, height; - + + gint run; /* Flag to see if this is the first time gEdit is run */ } gE_preference; extern gE_preference *settings; diff --git a/makeconfig.pl b/makeconfig.pl index 984c146c1..23ce2c0bf 100755 --- a/makeconfig.pl +++ b/makeconfig.pl @@ -12,7 +12,7 @@ print MAKEFILE << 'EOF'; dnl This is a generated file. Please see makeconfig.pl. AC_INIT(src/gedit.c) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE(gedit, 0.5.3pre) +AM_INIT_AUTOMAKE(gedit, 0.5.3) AM_MAINTAINER_MODE AM_ACLOCAL_INCLUDE(macros) diff --git a/src/gE_prefs.c b/src/gE_prefs.c index f69252481..136edba20 100644 --- a/src/gE_prefs.c +++ b/src/gE_prefs.c @@ -65,13 +65,17 @@ gE_save_settings() gE_prefs_set_char ("print command", "lpr -rs %s"); else gE_prefs_set_char ("print command", settings->print_cmd); - + + if (!settings->run) + settings->run = TRUE; + gE_prefs_set_int ("run", (gint) settings->run); } void gE_get_settings() { /* settings->tab_pos = gE_prefs_get_int("tab pos");*/ + settings->run = gE_prefs_get_int ("run"); settings->show_status = gE_prefs_get_int("show statusbar"); settings->have_toolbar = gE_prefs_get_int("toolbar"); settings->have_tb_text = gE_prefs_get_int("tb text"); @@ -110,6 +114,15 @@ void gE_get_settings() /*bOrK gtk_notebook_set_tab_pos(GTK_NOTEBOOK(w->notebook), w->tab_pos);*/ - if (settings->show_status == FALSE) - gtk_widget_hide (GTK_WIDGET (GNOME_APP(mdi->active_window)->statusbar)); + if (settings->run) + { + if (settings->show_status == FALSE) + gtk_widget_hide (GTK_WIDGET (GNOME_APP(mdi->active_window)->statusbar)); + } + else + { + settings->show_status = TRUE; + gE_prefs_set_int ("show statusbar", (gboolean) settings->show_status); + } + } diff --git a/src/gE_prefs.h b/src/gE_prefs.h index 4199d6331..294fbb058 100644 --- a/src/gE_prefs.h +++ b/src/gE_prefs.h @@ -45,7 +45,8 @@ typedef struct _gE_preference { gint scrollbar; gint width, height; - + + gint run; /* Flag to see if this is the first time gEdit is run */ } gE_preference; extern gE_preference *settings; -- GitLab