goffice r2220 - in trunk: . plugins plugins/plot_boxes plugins/plot_distrib
- From: jbrefort svn gnome org
- To: svn-commits-list gnome org
- Subject: goffice r2220 - in trunk: . plugins plugins/plot_boxes plugins/plot_distrib
- Date: Sat, 13 Sep 2008 07:17:34 +0000 (UTC)
Author: jbrefort
Date: Sat Sep 13 07:17:34 2008
New Revision: 2220
URL: http://svn.gnome.org/viewvc/goffice?rev=2220&view=rev
Log:
2008-09-13 Jean Brefort <jean brefort normalesup org>
* configure.in: renamed plot_boxes to plot_distrib.
* plugins/Makefile.am: ditto.
* plugins/plot_boxes/.gitignore: ditto.
* plugins/plot_boxes/Makefile.am: ditto.
* plugins/plot_boxes/go-distribution-prefs.c: ditto.
* plugins/plot_boxes/go-distribution-prefs.h: ditto.
* plugins/plot_boxes/gog-boxplot-prefs.glade: ditto.
* plugins/plot_boxes/gog-boxplot.c: ditto.
* plugins/plot_boxes/gog-boxplot.h: ditto.
* plugins/plot_boxes/gog-histogram.c: ditto.
* plugins/plot_boxes/gog-histogram.h: ditto.
* plugins/plot_boxes/gog-probability-plot.c: ditto.
* plugins/plot_boxes/gog-probability-plot.h: ditto.
* plugins/plot_boxes/plot-types.xml.in: ditto.
* plugins/plot_boxes/plugin.xml.in: ditto.
* plugins/plot_distrib/go-distribution-prefs.c: fixed a warning.
* plugins/plot_distrib/gog-boxplot.c: fixed a warning.
* plugins/plot_distrib/gog-probability-plot.c: fixed a warning.
* plugins/plot_distrib/plugin.c: added missing file.
Added:
trunk/plugins/plot_distrib/
trunk/plugins/plot_distrib/.gitignore (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/.gitignore
trunk/plugins/plot_distrib/Makefile.am (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/Makefile.am
trunk/plugins/plot_distrib/go-distribution-prefs.c (contents, props changed)
- copied, changed from r2218, /trunk/plugins/plot_boxes/go-distribution-prefs.c
trunk/plugins/plot_distrib/go-distribution-prefs.h (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/go-distribution-prefs.h
trunk/plugins/plot_distrib/gog-boxplot-prefs.glade (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/gog-boxplot-prefs.glade
trunk/plugins/plot_distrib/gog-boxplot.c (contents, props changed)
- copied, changed from r2218, /trunk/plugins/plot_boxes/gog-boxplot.c
trunk/plugins/plot_distrib/gog-boxplot.h (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/gog-boxplot.h
trunk/plugins/plot_distrib/gog-histogram.c (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/gog-histogram.c
trunk/plugins/plot_distrib/gog-histogram.h (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/gog-histogram.h
trunk/plugins/plot_distrib/gog-probability-plot.c (contents, props changed)
- copied, changed from r2218, /trunk/plugins/plot_boxes/gog-probability-plot.c
trunk/plugins/plot_distrib/gog-probability-plot.h (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/gog-probability-plot.h
trunk/plugins/plot_distrib/plot-types.xml.in (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/plot-types.xml.in
trunk/plugins/plot_distrib/plugin.c
trunk/plugins/plot_distrib/plugin.xml.in (props changed)
- copied unchanged from r2218, /trunk/plugins/plot_boxes/plugin.xml.in
Removed:
trunk/plugins/plot_boxes/
Modified:
trunk/ChangeLog
trunk/INSTALL
trunk/configure.in
trunk/plugins/Makefile.am
Modified: trunk/INSTALL
==============================================================================
--- trunk/INSTALL (original)
+++ trunk/INSTALL Sat Sep 13 07:17:34 2008
@@ -2,7 +2,7 @@
*************************
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005,
-2006 Free Software Foundation, Inc.
+2006, 2007 Free Software Foundation, Inc.
This file is free documentation; the Free Software Foundation gives
unlimited permission to copy, distribute and modify it.
@@ -67,6 +67,9 @@
all sorts of other programs in order to regenerate files that came
with the distribution.
+ 6. Often, you can also type `make uninstall' to remove the installed
+ files again.
+
Compilers and Options
=====================
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Sep 13 07:17:34 2008
@@ -570,7 +570,7 @@
plugins/plot_radar/Makefile
plugins/plot_xy/Makefile
plugins/plot_surface/Makefile
-plugins/plot_boxes/Makefile
+plugins/plot_distrib/Makefile
plugins/reg_linear/Makefile
plugins/reg_logfit/Makefile
plugins/smoothing/Makefile
Modified: trunk/plugins/Makefile.am
==============================================================================
--- trunk/plugins/Makefile.am (original)
+++ trunk/plugins/Makefile.am Sat Sep 13 07:17:34 2008
@@ -4,7 +4,7 @@
plot_xy \
plot_radar \
plot_surface \
- plot_boxes \
+ plot_distrib \
reg_linear \
reg_logfit \
smoothing
Copied: trunk/plugins/plot_distrib/go-distribution-prefs.c (from r2218, /trunk/plugins/plot_boxes/go-distribution-prefs.c)
==============================================================================
--- /trunk/plugins/plot_boxes/go-distribution-prefs.c (original)
+++ trunk/plugins/plot_distrib/go-distribution-prefs.c Sat Sep 13 07:17:34 2008
@@ -93,7 +93,6 @@
{
GtkListStore *model;
GtkCellRenderer *renderer;
- GtkTreeViewColumn *column;
GtkTreeIter iter;
GParamSpec **props;
int n, i, j;
Copied: trunk/plugins/plot_distrib/gog-boxplot.c (from r2218, /trunk/plugins/plot_boxes/gog-boxplot.c)
==============================================================================
--- /trunk/plugins/plot_boxes/gog-boxplot.c (original)
+++ trunk/plugins/plot_distrib/gog-boxplot.c Sat Sep 13 07:17:34 2008
@@ -21,6 +21,7 @@
#include <goffice/goffice-config.h>
#include "gog-boxplot.h"
+#include <goffice/app/go-plugin.h>
#include <goffice/graph/gog-series-impl.h>
#include <goffice/graph/gog-view.h>
#include <goffice/graph/gog-renderer.h>
Copied: trunk/plugins/plot_distrib/gog-probability-plot.c (from r2218, /trunk/plugins/plot_boxes/gog-probability-plot.c)
==============================================================================
--- /trunk/plugins/plot_boxes/gog-probability-plot.c (original)
+++ trunk/plugins/plot_distrib/gog-probability-plot.c Sat Sep 13 07:17:34 2008
@@ -284,7 +284,6 @@
static void
gog_probability_plot_dataset_dims (GogDataset const *set, int *first, int *last)
{
- GogProbabilityPlot const *plot = GOG_PROBABILITY_PLOT (set);
*first = 0;
*last = 1;
}
Added: trunk/plugins/plot_distrib/plugin.c
==============================================================================
--- (empty file)
+++ trunk/plugins/plot_distrib/plugin.c Sat Sep 13 07:17:34 2008
@@ -0,0 +1,58 @@
+/* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
+/*
+ * plot_distrib/plugin.c :
+ *
+ * Copyright (C) 2005-2008 Jean Brefort (jean brefort normalesup org)
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Library General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#include <goffice/goffice-config.h>
+#include <goffice/app/module-plugin-defs.h>
+
+GOFFICE_PLUGIN_MODULE_HEADER;
+
+/* Plugin initialization */
+void gog_box_plot_register_type (GTypeModule *module);
+void gog_box_plot_view_register_type (GTypeModule *module);
+void gog_box_plot_series_register_type (GTypeModule *module);
+void gog_histogram_plot_register_type (GTypeModule *module);
+void gog_histogram_plot_series_register_type (GTypeModule *module);
+void gog_histogram_plot_view_register_type (GTypeModule *module);
+void gog_histogram_series_view_register_type (GTypeModule *module);
+void gog_probability_plot_register_type (GTypeModule *module);
+void gog_probability_plot_series_register_type (GTypeModule *module);
+void gog_probability_plot_view_register_type (GTypeModule *module);
+
+G_MODULE_EXPORT void
+go_plugin_init (GOPlugin *plugin, GOCmdContext *cc)
+{
+ GTypeModule *module = go_plugin_get_type_module (plugin);
+ gog_box_plot_register_type (module);
+ gog_box_plot_view_register_type (module);
+ gog_box_plot_series_register_type (module);
+ gog_histogram_plot_register_type (module);
+ gog_histogram_plot_view_register_type (module);
+ gog_histogram_plot_series_register_type (module);
+ gog_histogram_series_view_register_type (module);
+ gog_probability_plot_register_type (module);
+ gog_probability_plot_view_register_type (module);
+ gog_probability_plot_series_register_type (module);
+}
+
+G_MODULE_EXPORT void
+go_plugin_shutdown (GOPlugin *plugin, GOCmdContext *cc)
+{
+}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]