GnmFunc: make this a GObject.
commit8dd9f9c48a8317e3ae6982596a7b7d93faa691e9
authorMorten Welinder <terra@gnome.org>
Fri, 25 May 2018 01:56:20 +0000 (24 21:56 -0400)
committerMorten Welinder <terra@gnome.org>
Fri, 25 May 2018 01:56:20 +0000 (24 21:56 -0400)
tree4f35c81e21db2bbe3bb15faaf2abaf4511df2e35
parentfe29351b76f89151f9200cd04d3ab5ef008e0e4f
GnmFunc: make this a GObject.

Change GnmFunc from a boxed type with weird ref-counting to a proper
GObject with normal ref-counting, but also usage counting.

Function descriptor tables in plugins lose two pointers that almost
nobody was using: usage notifer (use signal notify::in-use instead) and
the link notifying (use signal link-dep instead).

There is still room for plenty of cleanup here.
56 files changed:
NEWS
plugins/excelplugins/excelplugins.c
plugins/fn-christian-date/functions.c
plugins/fn-complex/functions.c
plugins/fn-database/functions.c
plugins/fn-date/functions.c
plugins/fn-derivatives/options.c
plugins/fn-eng/functions.c
plugins/fn-erlang/functions.c
plugins/fn-financial/functions.c
plugins/fn-hebrew-date/functions.c
plugins/fn-info/functions.c
plugins/fn-logical/functions.c
plugins/fn-lookup/functions.c
plugins/fn-math/functions.c
plugins/fn-numtheory/numtheory.c
plugins/fn-r/functions.c
plugins/fn-r/generate
plugins/fn-random/functions.c
plugins/fn-stat/functions.c
plugins/fn-string/functions.c
plugins/fn-tsa/functions.c
plugins/python-loader/py-gnumeric.c
plugins/python-loader/python-loader.c
plugins/sample_datasource/sample_datasource.c
src/consolidate.c
src/dependent.c
src/dialogs/dialog-function-select.c
src/expr.c
src/func-builtin.c
src/func.c
src/func.h
src/gnm-marshalers.list
src/gnm-plugin.c
src/gnm-plugin.h
src/gnumeric-fwd.h
src/gutils.c
src/sheet.c
src/tools/analysis-anova.c
src/tools/analysis-auto-expression.c
src/tools/analysis-chi-squared.c
src/tools/analysis-exp-smoothing.c
src/tools/analysis-frequency.c
src/tools/analysis-histogram.c
src/tools/analysis-kaplan-meier.c
src/tools/analysis-normality.c
src/tools/analysis-one-mean-test.c
src/tools/analysis-principal-components.c
src/tools/analysis-sign-test.c
src/tools/analysis-signed-rank-test.c
src/tools/analysis-tools.c
src/tools/analysis-wilcoxon-mann-whitney.c
src/tools/random-generator-cor.c
src/wbc-gtk.c
src/widgets/gnm-expr-entry.c
src/workbook-view.c