Commit ca8fd19d authored by Morten Welinder's avatar Morten Welinder

Make fn-string a plugin.

parent a7981d9d
......@@ -37,7 +37,9 @@ Morten:
* Plug gigantic leak in parser.
* Improve gnumeric-expr-entry's utf8 support and speed.
* Plug various little leaks.
* Make fn-date a plugin.
* Make fn-eng a plugin.
* Make fn-string a plugin.
--------------------------------------------------------------------------
Gnumeric 1.1.2
......
......@@ -644,6 +644,7 @@ plugins/Makefile
plugins/numtheory/Makefile
plugins/fn-date/Makefile
plugins/fn-eng/Makefile
plugins/fn-string/Makefile
plugins/derivatives/Makefile
plugins/sc/Makefile
plugins/sylk/Makefile
......
......@@ -51,7 +51,7 @@ endif
SUBDIRS_FILE_FORMATS = $(EXCEL_DIR) lotus-123 oleo sc sylk xbase html dif \
xml_sax applix mps $(GNOME_GLOSSARY_DIR) $(PSICONV_DIR)
SUBDIRS_FUNCTIONS = numtheory fn-date fn-eng derivatives \
SUBDIRS_FUNCTIONS = numtheory fn-date fn-eng fn-string derivatives \
$(PYTHON_DIR) $(PERL_DIR) $(GUILE_DIR) $(GB_DIR) \
$(GDA_DIR) $(PYFUNC_DIR)
......
Makefile.in
Makefile
.deps
.libs
*.lo
*.la
plugin.xml
INCLUDES = \
-DGNOMELOCALEDIR=\""$(datadir)/locale"\" \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(GNUMERIC_CFLAGS)
gnumeric_plugin_fnstringdir = $(gnumeric_plugindir)/fn-string
xmldir = $(gnumeric_plugin_fnstringdir)
gnumeric_plugin_fnstring_LTLIBRARIES = plugin.la
plugin_la_LDFLAGS = -module -avoid-version
plugin_la_SOURCES = functions.c
xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@
EXTRA_DIST = $(xml_in_files)
DISTCLEANFILES = $(xml_DATA)
<?xml version="1.0"?>
<plugin id="Gnumeric_fnstring">
<information>
<_name>String Functions</_name>
<_description>Functions for manipulating strings</_description>
</information>
<loader type="g_module">
<attribute name="module_file" value="plugin.la"/>
</loader>
<services>
<service type="function_group" id="string">
<_category>String</_category>
<functions>
<function name="char"/>
<function name="clean"/>
<function name="code"/>
<function name="concatenate"/>
<function name="dollar"/>
<function name="exact"/>
<function name="find"/>
<function name="fixed"/>
<function name="left"/>
<function name="len"/>
<function name="lower"/>
<function name="proper"/>
<function name="mid"/>
<function name="replace"/>
<function name="rept"/>
<function name="right"/>
<function name="search"/>
<function name="substitute"/>
<function name="t"/>
<function name="text"/>
<function name="trim"/>
<function name="upper"/>
<function name="value"/>
</functions>
</service>
</services>
</plugin>
......@@ -17,6 +17,8 @@ plugins/fn-date/functions.c
plugins/fn-date/plugin.xml.in
plugins/fn-eng/functions.c
plugins/fn-eng/plugin.xml.in
plugins/fn-string/functions.c
plugins/fn-string/plugin.xml.in
plugins/gb/plugin.c
plugins/gb/plugin.xml.in
plugins/gda/plugin-gda.c
......@@ -179,7 +181,6 @@ src/functions/fn-lookup.c
src/functions/fn-math.c
src/functions/fn-sheet.c
src/functions/fn-stat.c
src/functions/fn-string.c
src/gnumeric-canvas.c
src/gnumeric-graph.c
src/gnumeric-pane.c
......
......@@ -37,7 +37,6 @@ static SymbolTable *global_symbol_table = NULL;
extern void math_functions_init (void);
extern void sheet_functions_init (void);
extern void string_functions_init (void);
extern void stat_functions_init (void);
extern void finance_functions_init (void);
extern void lookup_functions_init (void);
......@@ -52,7 +51,6 @@ functions_init (void)
math_functions_init ();
sheet_functions_init ();
string_functions_init ();
stat_functions_init ();
finance_functions_init ();
lookup_functions_init ();
......
......@@ -15,5 +15,4 @@ libfunctions_a_SOURCES = \
fn-lookup.c \
fn-math.c \
fn-sheet.c \
fn-stat.c \
fn-string.c
fn-stat.c
This diff is collapsed.
......@@ -3966,7 +3966,7 @@ cb_select_auto_expr (GtkWidget *widget, GdkEventButton *event, Workbook *wbcg)
*
* eg tolower ('I') != 'i'
* Which would break function lookup when looking up for funtion 'selectIon'
* when it wa sregistered as 'selection'
* when it was registered as 'selection'
*
* WARNING * WARNING * WARNING
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment