[gnumeric] Whitespace.
- From: Morten Welinder <mortenw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnumeric] Whitespace.
- Date: Mon, 2 May 2011 14:19:43 +0000 (UTC)
commit 8d3cdceee2be770f66a9dc8e9004e8fb5f63923b
Author: Morten Welinder <terra gnome org>
Date: Mon May 2 10:19:28 2011 -0400
Whitespace.
Makefile.am | 2 +-
NEWS | 28 +-
OChangeLog-2000-02-23 | 324 ++++++++++----------
OChangeLog-2000-10-10 | 260 ++++++++--------
OChangeLog-2001-06-26 | 94 +++---
OChangeLog-2002-01-22 | 22 +-
OChangeLog-2003-12-23 | 138 ++++----
OChangeLog-2005-11-14 | 116 ++++----
component/Gnumeric-embed.xml.in | 4 +-
configure.in | 6 +-
doc/developer/Makefile.am | 2 +-
idl/Makefile.am | 4 +-
plugins/corba/Makefile.am | 4 +-
plugins/excel/ms-excel-read.c | 4 +-
plugins/excel/xlsx-read-drawing.c | 14 +-
plugins/excel/xlsx-read.c | 2 +-
plugins/excel/xlsx-write-drawing.c | 8 +-
plugins/excel/xlsx-write.c | 2 +-
plugins/excelplugins/excelplugins.c | 4 +-
plugins/fn-complex/ChangeLog | 2 +-
plugins/fn-lookup/ChangeLog | 2 +-
plugins/fn-math/ChangeLog | 2 +-
plugins/fn-math/functions.c | 2 +-
plugins/fn-stat/ChangeLog | 2 +-
plugins/fn-tsa/Makefile.am | 4 +-
plugins/fn-tsa/plugin.xml.in | 2 +-
plugins/html/ChangeLog | 2 +-
plugins/html/Makefile.am | 2 +-
plugins/html/latex.c | 4 +-
plugins/html/plugin.xml.in | 2 +-
plugins/openoffice/ChangeLog | 32 +-
plugins/openoffice/openoffice-read.c | 84 +++---
plugins/openoffice/openoffice-write.c | 74 +++---
plugins/paradox/ChangeLog | 2 +-
plugins/paradox/paradox.c | 2 +-
plugins/python-loader/Makefile.am | 2 +-
schemas/Makefile.am | 2 +-
schemas/gnumeric-dialogs.schemas.in | 6 +-
.../org.gnome.gnumeric.dialogs.gschema.xml.in.in | 6 +-
src/GNOME_Gnumeric-gtk.xml.in | 4 +-
src/HILDON_Gnumeric-gtk.xml.in | 4 +-
src/Makefile.am | 4 +-
src/commands.c | 4 +-
src/commands.h | 2 +-
src/cut-n-paste-code/Makefile.am | 2 +-
src/dead-kittens.h | 2 +-
src/dialogs/ChangeLog | 2 +-
src/dialogs/dialog-analysis-tool-chi-squared.c | 2 +-
src/dialogs/dialog-analysis-tool-frequency.c | 4 +-
src/dialogs/dialog-analysis-tool-kaplan-meier.c | 2 +-
src/dialogs/dialog-analysis-tool-normality.c | 4 +-
.../dialog-analysis-tool-principal-components.c | 2 +-
src/dialogs/dialog-analysis-tool-sign-test.c | 2 +-
.../dialog-analysis-tool-wilcoxon-mann-whitney.c | 2 +-
src/dialogs/dialog-analysis-tools.c | 10 +-
src/dialogs/dialog-autofilter.c | 56 ++--
src/dialogs/dialog-consolidate.c | 2 +-
src/dialogs/dialog-define-names.c | 2 +-
src/dialogs/dialog-doc-metadata.c | 2 +-
src/dialogs/dialog-quit.c | 28 +-
src/dialogs/dialog-stf-csv-page.c | 2 +-
src/dialogs/dialog-stf-format-page.c | 2 +-
src/go-data-cache-field.c | 6 +-
src/gui-clipboard.c | 4 +-
src/item-grid.c | 2 +-
src/pattern.c | 8 +-
src/sheet-control-gui.c | 6 +-
src/sheet-style.c | 333 ++++++++++----------
src/sort.c | 12 +-
src/stf-export.c | 2 +-
src/stf.c | 6 +-
src/tools/ChangeLog | 6 +-
src/tools/analysis-exp-smoothing.c | 8 +-
src/tools/analysis-histogram.c | 6 +-
src/tools/analysis-tools.c | 54 ++--
src/value.c | 24 +-
src/wbc-gtk.c | 2 +-
src/widgets/ChangeLog | 6 +-
src/widgets/gnumeric-expr-entry.c | 4 +-
tools/win32/moduleset.in | 2 +-
80 files changed, 956 insertions(+), 955 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index d43561a..f374e87 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -56,7 +56,7 @@ uninstall-local:
rm -f $(DESTDIR)$(configexecincludedir)/gnumeric-features.h
dist-hook:
mkdir $(distdir)/samples
- cp $(srcdir)/samples/*gnumeric $(distdir)/samples
+ cp $(srcdir)/samples/*gnumeric $(distdir)/samples
## It seems the following overrides can be simplified:
## distcleancheck_listfiles = find . -type f -print | grep -v 'omf\.out' | grep -v '^\./doc'
diff --git a/NEWS b/NEWS
index f5fdfca..8f80f31 100644
--- a/NEWS
+++ b/NEWS
@@ -22,15 +22,15 @@ Andreas:
* Allow function tooltips to be closed temporarily [#641355]
* Import & export list validation from and to ODF files. [#640701]
* Minor histogram improvements.
- * Fix import of LibreOffice created xlsx files using shared formulas.
+ * Fix import of LibreOffice created xlsx files using shared formulas.
[#642850]
- * Fix crash on resaving LibreOffice created xlsx files with unauthored
+ * Fix crash on resaving LibreOffice created xlsx files with unauthored
comments. [#642850]
* Trigger configurable text importer on paste of tabs. [#395631]
* Fix ctrl-end in presence of hidden rows. [#643971]
* Fix import of dbf files with more than 65536 rows. [#644189]
* Export workbook-scoped named expressions and ranges to ODF.
- * Improve reading of named expressions from ODF files.
+ * Improve reading of named expressions from ODF files.
* Fix weighted and Spencer moving averages crashes. [#645722]
Jean:
@@ -106,7 +106,7 @@ Andreas:
* Add argument to FOURIER to separate parts.
* Extend TREND function to handle multiple regression. [#630085]
* Fix selection for sheet object lists and combos. [#631322]
- * Preserve selection for sheet object lists when we change
+ * Preserve selection for sheet object lists when we change
content. [#631327]
* Add option to sheet object lists and combos to enter values
rather than index. [#629333]
@@ -140,8 +140,8 @@ Morten:
Sameer Morar:
* Add key combinations to move sheets. [#634139]
- * Modify quit dialog to be able to discard multiple files without
- saving. [#527133]
+ * Modify quit dialog to be able to discard multiple files without
+ saving. [#527133]
--------------------------------------------------------------------------
Gnumeric 1.10.11
@@ -271,7 +271,7 @@ Andreas:
* New functions DATE2HDATE, DATE2HDATE_HEB and DATE2JULIAN.
* Add hyperlink and comment removal menu items.
* Add merge and unmerge menu items.
- * Add menu item to autofit column width or row height based on the
+ * Add menu item to autofit column width or row height based on the
selection only. [#125595]
* Add autofit actions to cell context menu.
* Add new function ARRAY. [#570689]
@@ -279,16 +279,16 @@ Andreas:
* Add menu item to wrap SORT around an existing range.
* Show the number of rows filtered by the auto filter. [#346002]
* Improve function tooltips. [#623322]
- * Improve expression entry range selection.
+ * Improve expression entry range selection.
[#80725][#624288][#624289][#624581]
- * Add preference setting to disable the extension check for the
+ * Add preference setting to disable the extension check for the
configurable text exporter. [#594151]
- * Add optional marker to indicate that a cell contains an expression.
+ * Add optional marker to indicate that a cell contains an expression.
[#55124]
* Add merge and unmerge items to the cell context menu.
* Permit double-clicking of functions in the function selector.
* Allow single merge to single merge copying. [#87296]
- * Make the font style buttons override the character attributes.
+ * Make the font style buttons override the character attributes.
[#163410]
* Provide name completion (F4) when entering functions. [#587084]
* Implement access to the function selector to paste function
@@ -298,7 +298,7 @@ Andreas:
* Fix undo of Clear->All and Clear->Comments. [#625151][#623803]
* Add menu items to allow clearing of filtered rows only.
* Fix editing of hyperlinks.
- * Work around OOo's failure to correctly define its named ranges.
+ * Work around OOo's failure to correctly define its named ranges.
[#625332]
* Remove range hightlighting while not editing expressions. [#625361]
* Reduce the size of the text import dialog. [#625281]
@@ -359,12 +359,12 @@ Gnumeric 1.10.6
Andreas:
* Add Wilcoxon Signed Rank Test tools for one and two populations.
* Fix spin button handling in various tool dialogs. [#619971]
- * Redesign define-named-expressions dialog. [#465840]
+ * Redesign define-named-expressions dialog. [#465840]
* Add paste-names dialog. [#613325]
* Make changing the scope of a named expression undoable.
* Add search tool to paste- and define-names dialogs. [#465840]
* Check whether defined names are in use before deleting them.
- * Add option to the regression tool to allow for multiple Y.
+ * Add option to the regression tool to allow for multiple Y.
[#620505]
* Ensure that names cannot be mistaken as cell references.
[#409997]
diff --git a/OChangeLog-2000-02-23 b/OChangeLog-2000-02-23
index d99bea5..902b59e 100644
--- a/OChangeLog-2000-02-23
+++ b/OChangeLog-2000-02-23
@@ -45,14 +45,14 @@
2000-02-23 Dom Lachowicz <dominicl seas upenn edu>
* src/plugin.[ch]: Additions to API -- Made struct _PluginData private
- Added field 'initialized' to PluginData to keep track of whether
+ Added field 'initialized' to PluginData to keep track of whether
the plugin has gone through init yet or not
Added field 'descr' - a paragraph description of the plugin
plugin_load() - Updated to use initialized field
New function: static void plugin_close() - shuts down plugin
Updated plugin_load() and plugin_unload() to use plugin_close() --
lots of duplicated code
- New functions to reflect new privateness of PluginData struct:
+ New functions to reflect new privateness of PluginData struct:
plugin_data_init()
plugin_data_get_filename()
plugin_data_get_title()
@@ -161,7 +161,7 @@
(dialog_data_analysis): Do not destroy if gnumeric_dialog_run
returns -1.
- * src/dialogs/autosave.glade, src/dialogs/autosave.glade.h :
+ * src/dialogs/autosave.glade, src/dialogs/autosave.glade.h :
Accelerator for "minutes" field.
* src/dialogs/autocorrect-exceptions.glade,
@@ -204,9 +204,9 @@
* src/dialogs/dialog-stf-csv-page.c :
(csv_page_prepare) : csv_page_custom_toggled was called twice, removed one.
- * src/stf.c, src/dialogs/dialog-stf.c, src/dialogs/dialog-stf-main-page.c,
- * src/dialogs/dialog-stf-csv-page.c, src/dialogs/dialog-stf-fixed-page.c,
- * src/dialogs/dialog-stf-format-page.c, src/dialogs/dialog-stf-preview.c
+ * src/stf.c, src/dialogs/dialog-stf.c, src/dialogs/dialog-stf-main-page.c,
+ * src/dialogs/dialog-stf-csv-page.c, src/dialogs/dialog-stf-fixed-page.c,
+ * src/dialogs/dialog-stf-format-page.c, src/dialogs/dialog-stf-preview.c
Fixed incorrect comments and added function comment headers where they
didn't exist. Also moved some includes.
@@ -274,7 +274,7 @@
2000-02-20 Tuomas Kuosmanen <tigert gimp org>
* src/pixmaps/graphic.xpm: New icon for the "add graph" -button
- requested by miguel
+ requested by miguel
(hello fellow finn below btw :)
@@ -349,7 +349,7 @@
2000-02-18 Almer. S. Tigelaar. <almer1 dds nl>
* /src/dialogs/dialog-stf.glade :
- Corrected a minor spelling error on the first page of
+ Corrected a minor spelling error on the first page of
the druid.
2000-02-19 Jukka-Pekka Iivonen <iivonen iki fi>
@@ -381,8 +381,8 @@
stf-fixed.c. These supersede those two units.
* dialog-stf.c, dialog-stf.h, dialog-stf-csv-page.c, dialog-stf-fixed-page.c :
- Altered so they use the new stf-parse.[ch] instead of stf-separated.c
- and stf-fixed.c.
+ Altered so they use the new stf-parse.[ch] instead of stf-separated.c
+ and stf-fixed.c.
* dialog-stf-main-page.c
Now allows you to select both the line to start _and_ the line to stop
@@ -546,7 +546,7 @@
2000-02-18 Miguel de Icaza <miguel gnu org>
- * configure.in (EXTRA_GNOME_CFLAGS): Remove stf plugin from here.
+ * configure.in (EXTRA_GNOME_CFLAGS): Remove stf plugin from here.
* plugins/Makefile.am (SUBDIRS): And from here.
* src/stf.c (stf_open_and_read): Use malloc instead of g_malloc0
@@ -659,7 +659,7 @@
(struct CommandContextClass): Call message parameter to methods
"message".
(command_context_push_template, command_context_pop_template):
- Declare.
+ Declare.
* src/command-context.c (command_context_push_template): New
function. Push a printf template for error messages to stack.
@@ -672,7 +672,7 @@
* src/command-context-corba.c (ccc_error_plugin_problem,
ccc_error_read, ccc_error_save): Call message parameter
- "message".
+ "message".
* src/command-context-gui.c (ccg_error_plugin_problem,
ccg_error_read, ccg_error_save): Ditto.
@@ -1051,7 +1051,7 @@
* src/workbook.c (dialog_autosave_callback): Moved autosave code
here.
(workbook_autosave_cancel): Cancels autosaving.
- (workbook_autosave_set):
+ (workbook_autosave_set):
* src/dialogs/dialog-autosave.c (dialog_autosave): Change the
order here.
@@ -1255,7 +1255,7 @@
Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
- * gnumeric.spec.in: Added in some logic to autogenerate the
+ * gnumeric.spec.in: Added in some logic to autogenerate the
catalog's file spec.
2000-01-30 Jody Goldberg <jgoldberg home com>
@@ -1363,7 +1363,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
workbook_save_as, workbook_save): Add command context
(workbook_try_read): Remove msg paramenter
- * src/dialogs/dialog-autosave.c (dialog_autosave_callback):
+ * src/dialogs/dialog-autosave.c (dialog_autosave_callback):
ditto
* src/command-context.[ch] (gnumeric_error_read,
@@ -1425,7 +1425,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
2000-01-27 Jody Goldberg <jgoldberg home com>
- * *.c : convert to using Workbook::current_sheet rather than
+ * *.c : convert to using Workbook::current_sheet rather than
workbook_get_current_sheet.
* src/workbook.c : Add a current_sheet member to Workbook.
@@ -1446,7 +1446,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/gnumeric-sheet.[ch] (gnumeric_sheet_cursor_set) : Delete.
The scrollbars reflect the visible range, not the cursor cell.
- * src/item-cursor.c (item_cursor_set_bounds_visibly) : Remove call to
+ * src/item-cursor.c (item_cursor_set_bounds_visibly) : Remove call to
gnumeric_sheet_cursor_set.
* src/workbook-format-toolbar.c (workbook_create_format_toolbar) : std
@@ -1591,7 +1591,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
2000-01-23 Miguel de Icaza <miguel gnu org>
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Handle
- GDK_ISO_Left_Tab and GDK_KP_Tab as well, per Chris' suggestion.
+ GDK_ISO_Left_Tab and GDK_KP_Tab as well, per Chris' suggestion.
2000-01-23 Jon K Hellan <hellan acm org>
@@ -1603,7 +1603,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-autocorrect.c (dialog_autocorrect): Make
<Ret> in entry fields invoke default.
- (dialog_autocorrect, exceptions_callback):
+ (dialog_autocorrect, exceptions_callback):
* src/dialogs/autocorrect-exceptions.glade: Set initial focus to
text entry field. Make OK the default. Do not show column headers
@@ -1809,7 +1809,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/font-sel.glade.h, src/dialogs/font-sel.glade: Fix
typo in preview text
- * src/dialogs/dialog-printer-setup.c (do_setup_main_dialog):
+ * src/dialogs/dialog-printer-setup.c (do_setup_main_dialog):
Set Initial focus for print setup dialog.
* src/workbook.c (workbook_can_close): Yes/No dialog: Give cancel
@@ -1824,7 +1824,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Modularize a
bit more for the sort dialog. Use GLADE_FILE macro.
- (dialog_cell_sort_ok): New function connected to the sort
+ (dialog_cell_sort_ok): New function connected to the sort
dialog ok button. Builds the clause data and then calls cmd_sort.
(dialog_cell_sort_adv): Use GLADE_FILE macro.
(clip_range_to_finite): New function, reduces an infinite range to
@@ -1843,7 +1843,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(sort_qsort_func): The former qsort_func function from
dialog_cell_sort.c.
(sort_qsort_func2): Quicksort function for undo.
- (sort_range): Performs the sort. Much the same as the
+ (sort_range): Performs the sort. Much the same as the
sort_cell_range function that was in dialog_cell_sort.c.
Sorts the data of a CmdSort object, creating it if necessary.
Takes the quicksort function to call as an argument.
@@ -1852,7 +1852,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/ranges.h: Prototype range_name.
- * src/ranges.c (range_name): New function that returns a
+ * src/ranges.c (range_name): New function that returns a
const char * to "A1:B5" type range name.
2000-01-19 Jody Goldberg <jgoldberg home com>
@@ -2209,11 +2209,11 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
2000-01-14 Jon K Hellan <hellan acm org>
- * src/functions/fn-financial.c (help_disc): Fix typo
+ * src/functions/fn-financial.c (help_disc): Fix typo
* src/plugin.c (plugin_load): Include context when calling
init_plugin. "data" was freed to early
-
+
2000-01-14 Morten Welinder <terra diku dk>
* configure.in (GTK+, libglade, gnome-print): Fix version checks.
@@ -2290,7 +2290,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/functions(fn-eng.c fn-financial.c fn-logical.c
fn-lookup.c fn-math.c fn-sheet.c fn-stat.c fn-string.c):
Applied patches from Valek Filippov <frob df ru> ---
- correcting format of the function descr. messages.
+ correcting format of the function descr. messages.
2000-01-13 Jukka-Pekka Iivonen <iivonen iki fi>
@@ -2751,7 +2751,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/workbook.c (workbook_menu_edit): add menu oiption for toggling
the display of formulas
- (toggle_formuals_cmd,cb_cell_rerender): new function to toggle the
+ (toggle_formuals_cmd,cb_cell_rerender): new function to toggle the
display of formulas
(workbook_new): initialize the display formulas option
@@ -2760,8 +2760,8 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
2000-01-02 Martin Sheppard <martin sheppard iname com>
* src/parser.{c,y} (yylex) : fixed so that while parsing a formula,
- a quoted function is convered to a string token rather than a
- function call token. i.e. so that things like "sin" work properly in
+ a quoted function is convered to a string token rather than a
+ function call token. i.e. so that things like "sin" work properly in
formulas.
2000-01-03 Martin Sheppard <martin sheppard iname com>
@@ -2834,7 +2834,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
never actually linked into the ExprTree, we are only interested in
them to pull a couple of integers from it. We now release them
after we construct the formula. This fixes the leaks reported by
- Morten.
+ Morten.
2000-01-02 Jody Goldberg <jgoldberg home com>
@@ -2863,7 +2863,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
2000-01-01 Miguel de Icaza <miguel gnu org>
* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet): Use
- application_clipboar_unant here.
+ application_clipboar_unant here.
(gnumeric_sheet_key_mode_object): ditto.
* src/sheet.c (sheet_start_editing_at_cursor): ditto.
@@ -2880,10 +2880,10 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
named defines instead of arbitrary constants. Please, no magic
constants ever in Gnumeric guys.
- * src/application.c:
+ * src/application.c:
* src/workbook-private.h: Move the menu_item fields to
- workbook_private.
+ workbook_private.
2000-01-01 Jody Goldberg <jgoldberg home com>
@@ -3030,7 +3030,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/plugin.c (load_all_plugins) : Search in a version specific
directory.
- * plugins/*/Makefile.am : Install in
+ * plugins/*/Makefile.am : Install in
<prefix>/lib/gnumeric/plugins/${VERSION}
to decrease the number of silly version problems.
Adjust the plugin names to follow the convention
@@ -3042,18 +3042,18 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-12-23 JP Rosevear <jpr arcavia com>
- * src/plugin-manager.c (plugin_manager_new): Use a gnome_dialog and
+ * src/plugin-manager.c (plugin_manager_new): Use a gnome_dialog and
stock icons
- (row_cb): Use gnome_dialog_set_sensitive instead of
+ (row_cb): Use gnome_dialog_set_sensitive instead of
gtk_widget_set_sensitive
- * src/dialogs/dialog-analysis-tools.c (dialog_data_analysis): Use
+ * src/dialogs/dialog-analysis-tools.c (dialog_data_analysis): Use
stock ok item for ok button
1999-12-22 JP Rosevear <jpr arcavia com>
* src/ranges.c (range_intersection): change interface to take a range
- pointer for the result and return a boolean dictating whether or not
+ pointer for the result and return a boolean dictating whether or not
the ranges actually intersect
* src/ranges.h : update for new range_intersection interface
@@ -3208,7 +3208,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/about.c (dialog_about): add Jon.
1999-12-17 Jon K Hellan <hellan acm org>
-
+
* src/sheet.c (sheet_get_default_external_col_width): New
function. Get default column width in units, including margins.
(sheet_get_default_external_row_height): New function. Get default
@@ -3219,7 +3219,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
units, including margins.
* src/sheet.h: Declare new functions in sheet.c
-
+
1999-12-18 Michael Meeks <mmeeks gnu org>
* src/dialogs/dialog-cell-sort.c (dialog_cell_sort): add command context.
@@ -3263,7 +3263,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/regression.c (linear_solve): Fixed adjusted R^2 bug (hopefully).
* src/functions/fn-stat.c (gnumeric_linest, gnumeric_logest) Added
beginning support for 3+ dimensional regressions in linest and logest.
- * src/analysis-tools.c (regression_tool) Documented Excel bugs with
+ * src/analysis-tools.c (regression_tool) Documented Excel bugs with
no-intercept regressions that I didn't/can't mimic.
1999-12-16 Morten Welinder <terra diku dk>
@@ -3397,11 +3397,11 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-12-14 Andrew Chatham <andrew chatham duke edu>
- * src/regression.c (general_linear_regression): Now uses LUP
+ * src/regression.c (general_linear_regression): Now uses LUP
decomposition and provides more statistics
- * src/analysis-tools.c (regression_tool)
+ * src/analysis-tools.c (regression_tool)
* src/dialogs/tools.h
- * src/dialogs/dialog-analysis-tools.c (dialog_regression_tool):
+ * src/dialogs/dialog-analysis-tools.c (dialog_regression_tool):
Regression tool works with multidimensional data, outputs more
statistics.
@@ -3422,7 +3422,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-12-12 Tuomas Kuosmanen <tigert gimp org>
- * src/pixmaps/bucket.xpm
+ * src/pixmaps/bucket.xpm
* src/pixmaps/font.xpm: New icons that are both the same size..
1999-12-11 Michael Meeks <mmeeks gnu org>
@@ -3474,7 +3474,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/style.h: Declare style_font_equal, style_font_hash_func.
* src/style.c (style_font_equal): Make non-static and rename from
- font_equal.
+ font_equal.
(style_font_hash_func): Make non-static and rename from font_hash
(style_init): Use new names for font_hash, font_equal.
@@ -3592,7 +3592,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* plugins/guile/gnumeric_startup.scm: We now load the scheme
functions from the new file functions.scm
- * plugins/guile/functions.scm: The guile functions and their
+ * plugins/guile/functions.scm: The guile functions and their
registration are now located in this file.
(=FIBO(num)): Added fibonacci formula.
@@ -3864,7 +3864,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/style.c (style_color_ref) : Remove warning and return NULL.
- * src/dialogs/dialog-cell-sort.c (dialog_cell_sort) :
+ * src/dialogs/dialog-cell-sort.c (dialog_cell_sort) :
Add braces around an ambiguous else.
* src/file.c (workbook_import) : NULL the returned workbook
@@ -3893,7 +3893,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-11-16 Miguel de Icaza <miguel gnu org>
* src/mstyle.c: Define mstyle properly; Kill MSTYLE_ELEMENTS
- macro.
+ macro.
Kill PrivateStyle.
(mstyle_copy): Use sensible names;
(mstyle_set_format): Implement.
@@ -4091,7 +4091,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
ans set default to '$'.
From Jon K Hellan <hellan acm org>
- * src/dialogs/cell-format.glade:
+ * src/dialogs/cell-format.glade:
Use descriptive names for notebook pages.
Change accelerators, should remove conflicts within pages.
Remove explicit width for format_general_label.
@@ -4101,14 +4101,14 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
format_negative_scroll: Set vscrollbar_policy to GTK_POLICY_AUTOMATIC.
format_list_scroll: Set hscrollbar_policy to GTK_POLICY_NEVER.
- * src/dialogs/dialog-cell-format.c:
+ * src/dialogs/dialog-cell-format.c:
Change spelling from "seperator" to "separator".
(fmt_dialog_init_format_page):
(fmt_dialog_enable_widgets): Also hide and show F_NEGATIVE_SCROLL.
- (cb_format_list_size_allocate):
+ (cb_format_list_size_allocate):
Make the selected line visible when we know our geometry.
(fmt_dialog_init_format_page): Set negative clist title passive.
- (fmt_dialog_init_format_page):
+ (fmt_dialog_init_format_page):
Call cb_format_changed to update display if "general" is displayed.
(set_initial_focus): Set initial focus
(fmt_dialog_impl): Set dialog title, set initial focus
@@ -4119,7 +4119,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-11-12 Michael Meeks <mmeeks gnu org>
- * src/workbook.c (workbook_attach_sheet): Attach the
+ * src/workbook.c (workbook_attach_sheet): Attach the
editable_label pointer to the sheet tab.
(workbook_rename_sheet): Fix _really_ broken label setting code #3134.
@@ -4327,31 +4327,31 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/summary.c (summary_item_new_short) : New function.
- * src/summary.c (summary_item_as_text) : Now processes the new summary
+ * src/summary.c (summary_item_as_text) : Now processes the new summary
types (SUMMARY_BOOLEAN, SUMMARY_SHORT, SUMMARY_TIME).
- * src/summary.c (summary_item_free) : Now processes the new summary
+ * src/summary.c (summary_item_free) : Now processes the new summary
types (SUMMARY_BOOLEAN, SUMMARY_SHORT, SUMMARY_TIME).
-
+
* src/summary.h : Added new enums to SummaryItemType (SUMMARY_BOOLEAN,
SUMMARY_SHORT, SUMMARY_TIME). Added new enums to SummaryItemBuiltin
to summary all the summary items. Added two new fields (short_i and
boolean) the v union within the _SummaryItem struct. Added prototypes
for the new public functions.
-
+
* src/dialogs/dialog-summary.c (summary_get): Field names are construct-
ed from the name in summary_item_name[] with "glade_" prefixed.
* src/dialogs/dialog-summary.c (summary_put): Field names are construct-
ed from the name in summary_item_name[] with "glade_" prefixed.
- * src/dialogs/dialog-summary.c (dialog_summary_update) : Added new
+ * src/dialogs/dialog-summary.c (dialog_summary_update) : Added new
summary field - Company.
-
+
* src/dialogs/summary.glade : Added new summary field - Company.
-
+
* src/dialogs/summary.glade.h : Added new summary field - Company.
-
+
1999-11-08 Michael Meeks <mmeeks gnu org>
* src/sheet-style.c (sheet_selection_apply_border_cb): Update
@@ -4383,7 +4383,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-cell-format.c (cb_fmt_dialog_dialog_apply):
replace call to height_update.
- * src/workbook-format-toolbar.c (change_font_size_in_selection_cmd):
+ * src/workbook-format-toolbar.c (change_font_size_in_selection_cmd):
Replace call.
1999-11-07 Jody Goldberg <jgoldberg home com>
@@ -4420,7 +4420,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-cell-format.c (cb_fmt_dialog_dialog_apply): hack
out height_update.
- * src/workbook-format-toolbar.c (change_font_size_in_selection_cmd):
+ * src/workbook-format-toolbar.c (change_font_size_in_selection_cmd):
remove call.
1999-11-07 Jody Goldberg <jgoldberg home com>
@@ -4548,7 +4548,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-11-03 Miguel de Icaza <miguel gnu org>
- * src/expr.c (eval_range): Removed parsed node from here too.
+ * src/expr.c (eval_range): Removed parsed node from here too.
(eval_range): Removed computation logic from here.
(eval_expr_real): ditto.
@@ -4610,10 +4610,10 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
save. Clean marking of sheet moved from xml-io.c to here.
* src/xml-io.c (xml_sheet_write, gnumeric_xml_read_sheet,
- gnumeric_xml_write_sheet):
+ gnumeric_xml_write_sheet):
Dirty/clean marking of sheet moved out.
- * src/corba-workbook.c (Workbook_save_to):
+ * src/corba-workbook.c (Workbook_save_to):
Mark saved sheet clean. FIXME: Failure to save still ignored.
1999-11-03 Michael Meeks <mmeeks gnu org>
@@ -4700,14 +4700,14 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-11-01 Miguel de Icaza <miguel gnu org>
* src/item-bar.c (item_bar_draw): Optimize.
- (is_pointer_on_division): Bug fix for boundary condition.
+ (is_pointer_on_division): Bug fix for boundary condition.
(get_col_from_pos): ditto.
1999-10-30 Miguel de Icaza <miguel gnu org>
* src/print-preview.c (preview_canvas_event): Reversed the delta
computation, to make the scrolling follow what federico
- suggested.
+ suggested.
* src/workbook-format-toolbar.c: Change the money format to
include decimals.
@@ -4968,7 +4968,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/cellspan.c (cell_register_span): Create the span if required.
* src/sheet.c (sheet_destroy_contents): Remove debugging messages.
- (sheet_row_new): Row spans are now created on demand.
+ (sheet_row_new): Row spans are now created on demand.
* src/xml-io.c (xml_get_print_hf): Plug memory leak.
(xml_get_print_hf): More leak fixes.
@@ -4976,7 +4976,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/mstyle.c (mstyle_verify): Fixed.
* src/sheet.c (sheet_destroy_contents): Change the routine that
- destroys the cells.
+ destroys the cells.
(destroy_sheet_cell_cb): Proper cell destruction code.
(cb_free_cell): Make this routine free the cell *CORRECTLY*.
Please, do not break the code like this in the future.
@@ -4984,7 +4984,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/workbook.c (sheet_action_delete_sheet): Do not destroy the
sheet here.
(workbook_detach_sheet): Destroy the sheet here, before queuing a
- recalc.
+ recalc.
(workbook_do_destroy): Do not kill the sheet here.
1999-10-24 Michael Meeks <mmeeks gnu org>
@@ -5078,7 +5078,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-10-23 Michael Meeks <mmeeks gnu org>
- * src/corba-sheet.c (Sheet_cell_get_pattern, Sheet_cell_set_pattern):
+ * src/corba-sheet.c (Sheet_cell_get_pattern, Sheet_cell_set_pattern):
implement.
* src/sheet-style.c (sheet_unique_cb): Re-clip against selection
@@ -5102,7 +5102,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/Makefile.am (Gnumeric-impl.o): Do not use BUILT_SOURCES as
suggested by Tom.
- ($(GNUMERIC_CORBA_GENERATED)): Removed ugly hack
+ ($(GNUMERIC_CORBA_GENERATED)): Removed ugly hack
* src/selection.c (cb_set_row_height): Include the fix from the
pre-style change
@@ -5256,13 +5256,13 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/sheet.c (sheet_update_controls): update.
- * src/dialogs/dialog-cell-format.c (create_number_format_page),
+ * src/dialogs/dialog-cell-format.c (create_number_format_page),
(apply_number_formats, create_align_page, apply_align_format),
(create_font_page, apply_font_format, set_color_picker_from_style),
(create_coloring_page, apply_coloring_format, cell_properties_apply):
hack to new 'helper' functions.
- * src/sheet-style.c (sheet_style_cache_lookup),
+ * src/sheet-style.c (sheet_style_cache_lookup),
(sheet_style_cache_add, sheet_style_compute): Update.
(sheet_selection_get_uniq_style, sheet_uniq_cb): Break badly.
@@ -5352,14 +5352,14 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/sheet-style.c (sheet_style_cache_add): fixup cache flush on huge
caches.
- * src/print-cell.c (print_empty_cell):
+ * src/print-cell.c (print_empty_cell):
* src/mstyle.c (render_merge): kill. (mstyle_list_check_sorted): rename.
* src/sheet-style.c (sheet_style_compute, sheet_uniq_cb): Add checks for
sortedness kill redundant return.
- * src/item-grid.c (item_grid_paint_empty_cell):
+ * src/item-grid.c (item_grid_paint_empty_cell):
* src/cell.c (cell_get_style): zoom.
@@ -5627,7 +5627,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
in-line border structure.
* src/style.c (style_hash, style_compare): kill
- (style_new, style_mstyle_new, style_destroy, style_duplicate):
+ (style_new, style_mstyle_new, style_destroy, style_duplicate):
remove old border (style_merge_to): cull.
(border_hash, style_init, style_shutdown): kill border bits.
(border_equal): ditto.
@@ -5675,18 +5675,18 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-10-07 Jon K Hellan <Jon K Hellan item ntnu no>
- * dialog-cell-format.c
- (create_number_format_page, create_font_page):
+ * dialog-cell-format.c
+ (create_number_format_page, create_font_page):
Make <Enter> in entry fields invoke default button
- * dialog-cell-format.c
- (format_find): Select line in categorylist.
+ * dialog-cell-format.c
+ (format_find): Select line in categorylist.
(format_number_select_row): Initial list selection happens before
property box is created, so check before notifying it.
- * dialog-cell-format.c
+ * dialog-cell-format.c
(dialog_cell_format): Initial focus.
- (dialog_cell_format, struct cell_format_pages):
+ (dialog_cell_format, struct cell_format_pages):
New signature for create_page.
(create_number_format_page, create_align_page, create_font_page,
create_coloring_page): New out parameter focus_widget: The widget
@@ -5738,7 +5738,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-cell-format.c (set_color_picker_from_style): created.
(create_coloring_page): simplify & update.
- (apply_coloring_format):
+ (apply_coloring_format):
1999-10-04 Michael Meeks <michael nuclecu unam mx>
@@ -5804,7 +5804,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/functions/fn-information.c (gnumeric_cell): cell_get_style.
- * src/sheet.c (zoom_cell_style): kill for now. (sheet_cell_add):
+ * src/sheet.c (zoom_cell_style): kill for now. (sheet_cell_add):
hack more.
* src/cell.h: kill public style element.
@@ -5830,7 +5830,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/sheet.h: move range dependant Style bits here + include glib.h
- * src/style.h: Split typedefs from enum's & structs
+ * src/style.h: Split typedefs from enum's & structs
1999-09-27 Michael Meeks <michael nuclecu unam mx>
@@ -5865,7 +5865,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
From : Jon K Hellan <Jon K Hellan item ntnu no>
- * src/dialogs/dialog-zoom.glade: Place sheet list inside frame.
+ * src/dialogs/dialog-zoom.glade: Place sheet list inside frame.
Use frame label, not list column label.
Add padding.
Use 0 height drawing area to set minimum width of spin button.
@@ -5908,7 +5908,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
gnumeric/gnumeric-bonobo executable name.
* src/sheet-object-item.c: Updated to fit with the new Bonobo
- changes.
+ changes.
1999-10-06 Jody Goldberg <jgoldberg home com>
@@ -5923,16 +5923,16 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
From : Jon K Hellan <Jon K Hellan item ntnu no>
- * src/dialogs/dialog-printer.c (gnumeric_printer_dialog_run):
+ * src/dialogs/dialog-printer.c (gnumeric_printer_dialog_run):
Workbook: New parameter
Set initial focus.
Make <Enter> in entry fields invoke default button.
Specify the app as the parent.
- * src/dialogs/dialog-printer.h (gnumeric_printer_dialog_run):
+ * src/dialogs/dialog-printer.h (gnumeric_printer_dialog_run):
Change signature
- * src/print.c (sheet_print):
+ * src/print.c (sheet_print):
gnumeric_printer_dialog_run has new signature
* src/dialogs/dialog-sovler.c (add_strings_to_glist): Remove
@@ -5940,7 +5940,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(dialog_solver_options, dialog_solver): Add missing "_()"
* src/dialogs/utils-dialog.c: New file
- (ut_dia_entry_new_with_max_length, ut_dia_entry_new):
+ (ut_dia_entry_new_with_max_length, ut_dia_entry_new):
Create entry fields where <Enter> activates the default button
(hbox_pack_label_and_entry): Move from dialog-analysis-tools.c
(add_strings_to_glist): Move from dialog-solver.c
@@ -5948,26 +5948,26 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/utils-dialog.h: New file
(hbox_pack_label_and_entry, add_strings_to_glist): Move from tools.h
- * src/dialogs/dialog-cell-comment.c (dialog_cell_comment):
+ * src/dialogs/dialog-cell-comment.c (dialog_cell_comment):
Make OK button the default.
- * src/dialogs/dialog-cell-sort.c (order_box_new):
+ * src/dialogs/dialog-cell-sort.c (order_box_new):
Make <Enter> in entry field invoke default button.
- * src/dialogs/dialog-define-names.c (dialog_define_names):
+ * src/dialogs/dialog-define-names.c (dialog_define_names):
Make <Enter> in entry field invoke default button.
Specify the app as the parent.
* src/dialogs/names.glade: ok button needs "can_default".
- * src/dialogs/dialog-summary.c (dialog_summary_update):
+ * src/dialogs/dialog-summary.c (dialog_summary_update):
Make <Enter> in entry fields invoke default button.
* src/dialogs/summary.glade: Make OK button the default.
Change widget names used by program to avoid inadvertent
- translation.
+ translation.
- * src/dialogs/dialog-analysis-tools.c
+ * src/dialogs/dialog-analysis-tools.c
(new_dialog): Make OK button the default
(dialog_data_analysis): Initial focus and selection, Make OK button
the default.
@@ -5975,14 +5975,14 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
<Enter> in entry field invoke default button
(hbox_pack_label_and_entry): Move to utils-dialog.c
(dialog_random_tool): Replace pack_label_and_entry with
- hbox_pack_label_and_entry
+ hbox_pack_label_and_entry
(pack_label_and_entry): Remove
- * src/dialogs/dialog-goal-seek.c (dialog_found_solution,
+ * src/dialogs/dialog-goal-seek.c (dialog_found_solution,
dialog_goal_seek): Make OK button the default
(dialog_goal_seek): Make <Enter> in entry field invoke default button.
- * src/dialogs/dialog-paste-special.c (dialog_paste_special):
+ * src/dialogs/dialog-paste-special.c (dialog_paste_special):
Initial focus
1999-10-05 Jody Goldberg <jgoldberg home com>
@@ -5999,7 +5999,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-{insert,delete}-cells.c : Switch from using
Cauldron to using libglade.
- * src/plugin-manager.c (plugin_manager_new):
+ * src/plugin-manager.c (plugin_manager_new):
Go away on <Esc>, set initial focus.
* src/dialogs/sheet-rename.glade: Made OK button default.
@@ -6011,7 +6011,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/workbook.c (workbook_rename_sheet): Update notebook label
- * src/workbook-cmd-format.c
+ * src/workbook-cmd-format.c
(workbook_cmd_format_column_width,
workbook_cmd_format_row_height): Off by one error.
@@ -6026,7 +6026,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-30 Miguel de Icaza <miguel gnu org>
* src/Gnumeric-value.idl: New file, move the value structure
- definition here.
+ definition here.
* src/Gnumeric.idl: Add new interface for data access.
@@ -6284,7 +6284,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
From : Jon K Hellan <Jon K Hellan item ntnu no>
- * src/dialogs/dialog-zoom.glade: Place sheet list inside frame.
+ * src/dialogs/dialog-zoom.glade: Place sheet list inside frame.
Use frame label, not list column label.
Add padding.
Use 0 height drawing area to set minimum width of spin button.
@@ -6327,7 +6327,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
gnumeric/gnumeric-bonobo executable name.
* src/sheet-object-item.c: Updated to fit with the new Bonobo
- changes.
+ changes.
1999-10-06 Jody Goldberg <jgoldberg home com>
@@ -6342,16 +6342,16 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
From : Jon K Hellan <Jon K Hellan item ntnu no>
- * src/dialogs/dialog-printer.c (gnumeric_printer_dialog_run):
+ * src/dialogs/dialog-printer.c (gnumeric_printer_dialog_run):
Workbook: New parameter
Set initial focus.
Make <Enter> in entry fields invoke default button.
Specify the app as the parent.
- * src/dialogs/dialog-printer.h (gnumeric_printer_dialog_run):
+ * src/dialogs/dialog-printer.h (gnumeric_printer_dialog_run):
Change signature
- * src/print.c (sheet_print):
+ * src/print.c (sheet_print):
gnumeric_printer_dialog_run has new signature
* src/dialogs/dialog-sovler.c (add_strings_to_glist): Remove
@@ -6359,7 +6359,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(dialog_solver_options, dialog_solver): Add missing "_()"
* src/dialogs/utils-dialog.c: New file
- (ut_dia_entry_new_with_max_length, ut_dia_entry_new):
+ (ut_dia_entry_new_with_max_length, ut_dia_entry_new):
Create entry fields where <Enter> activates the default button
(hbox_pack_label_and_entry): Move from dialog-analysis-tools.c
(add_strings_to_glist): Move from dialog-solver.c
@@ -6367,26 +6367,26 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/utils-dialog.h: New file
(hbox_pack_label_and_entry, add_strings_to_glist): Move from tools.h
- * src/dialogs/dialog-cell-comment.c (dialog_cell_comment):
+ * src/dialogs/dialog-cell-comment.c (dialog_cell_comment):
Make OK button the default.
- * src/dialogs/dialog-cell-sort.c (order_box_new):
+ * src/dialogs/dialog-cell-sort.c (order_box_new):
Make <Enter> in entry field invoke default button.
- * src/dialogs/dialog-define-names.c (dialog_define_names):
+ * src/dialogs/dialog-define-names.c (dialog_define_names):
Make <Enter> in entry field invoke default button.
Specify the app as the parent.
* src/dialogs/names.glade: ok button needs "can_default".
- * src/dialogs/dialog-summary.c (dialog_summary_update):
+ * src/dialogs/dialog-summary.c (dialog_summary_update):
Make <Enter> in entry fields invoke default button.
* src/dialogs/summary.glade: Make OK button the default.
Change widget names used by program to avoid inadvertent
- translation.
+ translation.
- * src/dialogs/dialog-analysis-tools.c
+ * src/dialogs/dialog-analysis-tools.c
(new_dialog): Make OK button the default
(dialog_data_analysis): Initial focus and selection, Make OK button
the default.
@@ -6394,14 +6394,14 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
<Enter> in entry field invoke default button
(hbox_pack_label_and_entry): Move to utils-dialog.c
(dialog_random_tool): Replace pack_label_and_entry with
- hbox_pack_label_and_entry
+ hbox_pack_label_and_entry
(pack_label_and_entry): Remove
- * src/dialogs/dialog-goal-seek.c (dialog_found_solution,
+ * src/dialogs/dialog-goal-seek.c (dialog_found_solution,
dialog_goal_seek): Make OK button the default
(dialog_goal_seek): Make <Enter> in entry field invoke default button.
- * src/dialogs/dialog-paste-special.c (dialog_paste_special):
+ * src/dialogs/dialog-paste-special.c (dialog_paste_special):
Initial focus
1999-10-05 Jody Goldberg <jgoldberg home com>
@@ -6418,7 +6418,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialogs/dialog-{insert,delete}-cells.c : Switch from using
Cauldron to using libglade.
- * src/plugin-manager.c (plugin_manager_new):
+ * src/plugin-manager.c (plugin_manager_new):
Go away on <Esc>, set initial focus.
* src/dialogs/sheet-rename.glade: Made OK button default.
@@ -6430,7 +6430,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/workbook.c (workbook_rename_sheet): Update notebook label
- * src/workbook-cmd-format.c
+ * src/workbook-cmd-format.c
(workbook_cmd_format_column_width,
workbook_cmd_format_row_height): Off by one error.
@@ -6445,7 +6445,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-30 Miguel de Icaza <miguel gnu org>
* src/Gnumeric-value.idl: New file, move the value structure
- definition here.
+ definition here.
* src/Gnumeric.idl: Add new interface for data access.
@@ -6609,7 +6609,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-26 Miguel de Icaza <miguel gnu org>
* src/sheet-object.c (sheet_set_mode_type): Protect Bonobo code
- from being included if we dont have Bonobo.
+ from being included if we dont have Bonobo.
* src/Makefile.am: reverted changes from the libole2 code.
@@ -6643,7 +6643,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
during the lifetime of the mode.
* src/sheet-object-item.c: New sheet-object type. This one is
- used for embedding Bonobo-based CanvasItems.
+ used for embedding Bonobo-based CanvasItems.
1999-09-25 Lauris Kaplinski <lauris ariman ee>
@@ -6742,7 +6742,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/print-preview.c (print_preview_print_done): Close the
context here so we have information available in the ->size
- field.
+ field.
1999-09-23 Morten Welinder <terra diku dk>
@@ -6782,7 +6782,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
the cell-draw code, better to keep our own).
TODO: queue an update on the regions with changed style. Wonder
- why this is not being done automatically. Need to check.
+ why this is not being done automatically. Need to check.
* src/widgets/widget-color-combo.c (color_combo_construct): Fix
visuals for working with Imlib properly.
@@ -6806,7 +6806,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(apply_style_to_selection): Big nice wrapper.
(change_font_size_in_selection_cmd): Implement.
- * src/pixmaps.h: Removed GNUMERIC_TEST_ACTIVE_OBJECT for release.
+ * src/pixmaps.h: Removed GNUMERIC_TEST_ACTIVE_OBJECT for release.
* src/workbook-format-toolbar.c: More toolbar work, now we have
color selectors for foreground and background.
@@ -6814,7 +6814,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/workbook.c: Split the format toolbar
* src/workbook-format-toolbar.[ch]: Now they contain the
- format-toolbar code.
+ format-toolbar code.
* src/sheet-object-graphic.c (sheet_object_filled_realize): Width
is now in points, not pixels.
@@ -6823,7 +6823,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
extensible ComboBox for Gtk.
* src/widgets/color-combo.[ch]: New files, they implement the
- ColorCombo box.
+ ColorCombo box.
1999-09-21 Michael Meeks <michael nuclecu unam mx>
@@ -6841,7 +6841,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/sheet-object-widget.c (sheet_object_widget_construct): set press.
- * src/sheet-object.c (sheet_object_event, sheet_object_make_current):
+ * src/sheet-object.c (sheet_object_event, sheet_object_make_current):
remove redundant 'Sheet' argument.
(control_point_handle_event): Add make_current to button press.
(sheet_object_start_editing): clean + setup cursor data.
@@ -6985,8 +6985,8 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
column information. Fix the routine.
* src/workbook-cmd-format.c (workbook_cmd_format_column_auto_fit):
- (workbook_cmd_format_column_width):
- (workbook_cmd_format_row_auto_fit):
+ (workbook_cmd_format_column_width):
+ (workbook_cmd_format_row_auto_fit):
(workbook_cmd_format_row_height): Fix the range being scanned to
be inclusive.
@@ -7039,7 +7039,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/workbook.c (create_format_toolbar): Make the size of the
entry line onloy fit four zeros.
(workbook_feedback_set): set the font even if no cached value
- exists.
+ exists.
1999-09-17 Jukka-Pekka Iivonen <iivonen iki fi>
@@ -7161,7 +7161,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-15 Michael Meeks <michael nuclecu unam mx>
* src/sheet-object.c (window_to_world): Remove.
- (sheet_motion_notify, sheet_button_release, sheet_object_drop_file):
+ (sheet_motion_notify, sheet_button_release, sheet_object_drop_file):
clean to use gnome_canvas_window_to_world.
* src/sheet-view.c (sheet_view_construct, (filenames_dropped): move
@@ -7183,7 +7183,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-14 Miguel de Icaza <miguel gnu org>
* src/workbook.c: Split toolbars into mulitple toolbars; Add a
- private field to Workbook structure.
+ private field to Workbook structure.
Change the toolbar setup to have multiple dock-items.
* src/format.c: Initialize this to NULL.
@@ -7359,7 +7359,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-11 Miguel de Icaza <miguel gnu org>
* src/workbook.c (workbook_delete_event): Fix the delete_event
- setup.
+ setup.
1999-09-11 Jody Goldberg <jgoldberg home com>
@@ -7390,7 +7390,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-10 Miguel de Icaza <miguel nuclecu unam mx>
* src/corba-sheet.c: Updated to the new sheet selection API
- changes.
+ changes.
* src/gnumeric-sheet.c (destroy_item_editor): Removed FIXME
comment. More fixing from Federico's talk
@@ -7407,7 +7407,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/sheet-object.c (window_to_world): Added debug.
- * src/widgets/widget-editable-label.c (el_start_editing):
+ * src/widgets/widget-editable-label.c (el_start_editing):
* src/workbook.c (sheet_label_text_changed_signal): Return focus
to the main sheet when finished.
@@ -7444,7 +7444,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(sheet_object_destroy_control_points): Changed _unref to _destroy nailing
scads of warnings.
- * src/sheet-object-container.c (sheet_object_container_destroy_views):
+ * src/sheet-object-container.c (sheet_object_container_destroy_views):
ditto.
* src/sheet-object-container.c (sheet_object_container_land): Get
@@ -7591,7 +7591,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-03 Miguel de Icaza <miguel gnu org>
* src/dialogs/dialog-printer-setup.c (draw_margins): Added margin
- display preview.
+ display preview.
* src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out
and move are now toggle buttons.
@@ -7672,7 +7672,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-05 Miguel de Icaza <miguel gnu org>
* src/print-preview.c (preview_canvas_event): Add an event handler
- for the preview canvas.
+ for the preview canvas.
Make the drag action on MOVE mode move the canvas.
(zoom_state): new routine, controls the toolbar widget display.
@@ -7697,7 +7697,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
empty cells with the correct attributes.
Only enabled if you use set gnumeric debugging flag above 1. I do
- have some issues with selection drawing.
+ have some issues with selection drawing.
1999-09-05 Richard Hestilow <hestgray ionet net>
@@ -7706,7 +7706,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-09-03 Miguel de Icaza <miguel gnu org>
* src/dialogs/dialog-printer-setup.c (draw_margins): Added margin
- display preview.
+ display preview.
* src/print-preview.c (preview_zoom_out_cmd): Zoom-in, zoom-out
and move are now toggle buttons.
@@ -7889,7 +7889,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-08-21 Miguel de Icaza <miguel gnu org>
* src/workbook.c (workbook_new_with_sheets): Fixed hardcoded
- buffer.
+ buffer.
1999-08-20 Jukka-Pekka Iivonen <iivonen iki fi>
@@ -7932,7 +7932,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(create_graphic_cmd): temporarily bind this to
Generic Bonobo object insertion.
(cb_sheet_check_dirty): Make the dialog parent be the workbook
- window.
+ window.
* src/workbook.h (Workbook): Include a GnomeUIHandler.
@@ -7940,7 +7940,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
and update it to match the latest Bonobo developments.
* src/sheet.h (Sheet): Include a pointer to the active object
- frame.
+ frame.
* src/sheet-object.c (sheet_set_mode_type): Do deactivation of
Bonobo frames here.
@@ -7958,7 +7958,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(sheet_object_container_land): Do object selection here for now.
Support both PersistStream and PersistFile
- * src/sheet-object.c:
+ * src/sheet-object.c:
* src/workbook.c (cb_sheet_check_dirty): Bind the dialog to the
main window.
@@ -7971,7 +7971,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-08-19 Miguel de Icaza <miguel nuclecu unam mx>
* src/cell.c (cell_content_changed): Ok, Paolo corrected me. This
- is not what he wanted.
+ is not what he wanted.
1999-08-16 Michael Meeks <michael imaginator com>
@@ -7987,7 +7987,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-08-17 Miguel de Icaza <miguel nuclecu unam mx>
* src/workbook.c (workbook_class_init): Added cell_content_changed
- signal.
+ signal.
(workbook_do_destroy): Do not enable widgets to be focused.
* src/cell.c (cell_content_changed): Calls workbook_cell_changed.
@@ -8288,7 +8288,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/cell.c (calc_text_dimensions): Made static.
(queue_cell): Killed dependency_deep_frozen routines, this was
- archaic code.
+ archaic code.
(cell_formula_changed): Made static.
* src/sheet-autofill.c (autofill_register_list): Make static.
@@ -8328,7 +8328,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
(WorkbookFactory_create_object): and here.
1999-08-03 Robert Brady <rwb197 ecs soton ac uk>
-
+
* gnumeric.spec.in, README: require gnome-print 0.3 or greater.
(BUGFIX #1829)
@@ -8686,8 +8686,8 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/cell.h: Added prototypes.
- * src/cell.c (cell_content_changed, cell_formula_changed):
- (cell_deep_thaw_dependencies, cell_deep_freeze_dependencies):
+ * src/cell.c (cell_content_changed, cell_formula_changed):
+ (cell_deep_thaw_dependencies, cell_deep_freeze_dependencies):
Added optimisation for load/save stuff.
1999-07-25 Michael Meeks <michael edenproject org>
@@ -8722,13 +8722,13 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
* src/dialog-define-names.c: Major fixups, killed obscure bug
cause by freeing a copy of a list I passed to gtk_list_append_items.
- * src/expr.c (expr_parse_string, do_expr_decode_tree):
- (expr_decode_tree): Updated to new
+ * src/expr.c (expr_parse_string, do_expr_decode_tree):
+ (expr_decode_tree): Updated to new
* src/expr-name.c (expr_name_create): Added for convenience.
(expr_name_value): Updated to new PP scheme
- * src/cell.c (cell_set_formula, cell_get_text, cell_get_content):
+ * src/cell.c (cell_set_formula, cell_get_text, cell_get_content):
Update to new ParsePosition scheme.
* src/expr.c (parse_pos_init, parse_pos_cell): Created.
@@ -8806,7 +8806,7 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-07-21 Richard Hestilow <hestgray ionet net>
- * gnumeric.gnorba: Fix "Embeddable" typo
+ * gnumeric.gnorba: Fix "Embeddable" typo
(was IDL:/GNOME/Embeddable, should have been IDL:GNOME/Embeddable)
1999-07-21 Michael Meeks <michael edenproject org>
@@ -9030,13 +9030,13 @@ Sun Jan 30 15:40:50 EST 2000 Gregory McLean <gregm comstar net>
1999-07-11 Raja R Harinath <harinath cs umn edu>
- * configure.in: Don't use `foo >& /dev/null' style redirection,
+ * configure.in: Don't use `foo >& /dev/null' style redirection,
use `foo > /dev/null 2>&1'.
1999-07-11 Miguel de Icaza <miguel gnu org>
* src/dialog-cell-format.c (apply_font_format): Use the
- FontSelector here.
+ FontSelector here.
* src/widget-font-selector.c (reload_preview): New approach for
font loading, by using the scale explicitly I got it to work ;-).
diff --git a/OChangeLog-2000-10-10 b/OChangeLog-2000-10-10
index 3195649..e671fa9 100644
--- a/OChangeLog-2000-10-10
+++ b/OChangeLog-2000-10-10
@@ -119,7 +119,7 @@
2000-10-01 Almer S. Tigelaar <almer1 dds nl>
* templates/autoformat/, templates/autoformat/Makefile.am:
- Remove subdirectories, convert into a flat directory with structured
+ Remove subdirectories, convert into a flat directory with structured
filenames.
* configure.in:
@@ -313,7 +313,7 @@
* configure.in: Create an IDL_FLAGS variable with various paths based
on GNOME_PATH
- * idl/Makefile.am: Use IDL_FLAGS
+ * idl/Makefile.am: Use IDL_FLAGS
2000-09-23 Almer S. Tigelaar <almer1 dds nl>
@@ -322,7 +322,7 @@
or NULL if the data is valid.
* src/clipboard.c:
- (stf_read_workbook): Adjust to cope with the new
+ (stf_read_workbook): Adjust to cope with the new
stf_parse_is_valid_data.
* src/stf.c:
@@ -1054,7 +1054,7 @@
2000-09-10 Almer S. Tigelaar <almer1 dds nl>
- * src/dialogs/dialog-stf.h: Limit the number of lines
+ * src/dialogs/dialog-stf.h: Limit the number of lines
displayed in the preview. This is a temporary solution for
bug #23426.
@@ -1114,11 +1114,11 @@
* src/workbook.c: Add/Modify -> Add\\Modify for now.
* src/workbook-view.c (workbook_view_set_title): use get_toplevel
- (workbook_view_set_size):
+ (workbook_view_set_size):
* src/workbook-private.h: add a main_vbox to put toolbars into.
- * src/workbook-format-toolbar.c (workbook_create_format_toolbar):
+ * src/workbook-format-toolbar.c (workbook_create_format_toolbar):
hack for non-bonobized toolbars.
* src/workbook.c (workbook_show, workbook_hide, workbook_get_toplevel):
@@ -1237,7 +1237,7 @@
for controlling autoformat dialog.
* src/sheet-view.c:
- (sheet_view_get_style_font): Modify to accept a
+ (sheet_view_get_style_font): Modify to accept a
NULL sheet. (defaults to zoomlevel 1)
* src/workbook.c:
@@ -1326,7 +1326,7 @@
2000-08-31 Jon K Hellan <hellan acm org>
* src/Makefile.am: Remove ref to non-existent graph-series.c to
- make the build work again.
+ make the build work again.
2000-08-30 Jody Goldberg <jgoldberg home com>
@@ -1625,7 +1625,7 @@
2000-08-14 Jody Goldberg <jgoldberg home com>
- * src/print-cell.c (print_cell) : Sync with
+ * src/print-cell.c (print_cell) : Sync with
* src/cell-draw.c (cell_draw) : and clear out a few usages of
Cell:{row,col})_info.
@@ -1634,7 +1634,7 @@
2000-08-12 Jody Goldberg <jgoldberg home com>
- * configure.in : Bump bonobo version.
+ * configure.in : Bump bonobo version.
* README : Ditto.
2000-08-12 Jody Goldberg <jgoldberg home com>
@@ -2098,8 +2098,8 @@
* src/bonobo-io.c (write_stream_to_storage): implement.
(write_mem_to_storage): implement.
(create_xml_bonobo_stream): create.
- (xml_input_read_cb):
- (xml_input_close_cb):
+ (xml_input_read_cb):
+ (xml_input_close_cb):
(hack_xmlSAXParseFile): copy from libxml.
* src/sheet-object.c (sheet_object_drop_file): update; this should
@@ -2112,7 +2112,7 @@
* src/sheet-object.c (create_object): rename the one use.
- * src/sheet-object-container.c (sheet_object_container_new_from_object_id):
+ * src/sheet-object-container.c (sheet_object_container_new_from_object_id):
remove activation logic.
* src/sheet-object-bonobo.c (sheet_object_bonobo_destroy): free
@@ -2203,7 +2203,7 @@
* src/dialogs/dialog-stf.glade:
Add clear and autodiscovery buttons
- * src/dialogs/dialog-stf-fixed-page.c:
+ * src/dialogs/dialog-stf-fixed-page.c:
(fixed_page_autodiscover): Autodiscovery routine.
(fixed_page_clear_clicked): Clear click handler
(fixed_page_auto_clicked): Autodiscovery click handler
@@ -2256,7 +2256,7 @@
* src/dialogs/tools.h: Related changes.
- * src/dialogs/analysis-tools.glade,
+ * src/dialogs/analysis-tools.glade,
src/dialogs/dialog-analysis-tools.c: Added dialogs for `Histogram'
and `Fourier Analysis' tools. The later is not implemented yet.
@@ -2270,7 +2270,7 @@
* src/dialogs/analysis-tools.glade: Added dialog for the new
tool. Fixed the `Correlation' dialog.
- * src/dialogs/dialog-analysis-tools.c: Added
+ * src/dialogs/dialog-analysis-tools.c: Added
dialog_anova_two_factor_without_r_tool().
* src/dialogs/tools.h: Related changes.
@@ -2314,7 +2314,7 @@
* src/embeddable-grid.c (EmbeddableGridFactory_init): Use
consistent names.
- * gnumeric.gnorba: Make server names consistent
+ * gnumeric.gnorba: Make server names consistent
* gnumeric.oafinfo: Make server names consistent
@@ -2359,9 +2359,9 @@
* src/workbook.c (wb_edit_key_pressed) : Ditto.
2000-06-28 Arturo Tena <arturo directmail org>
-
+
* configure.in: Improve libole2 detection.
-
+
2000-06-29 Jody Goldberg <jgoldberg home com>
* src/parser.y : Add 'string_opt_quote' and use it in a few
@@ -2470,7 +2470,7 @@
2000-06-22 Miguel de Icaza <miguel helixcode com>
* src/sheet-object-item.c (sheet_object_item_new): Add OAF support
- here.
+ here.
2000-06-27 JP Rosevear <jpr arcavia com>
@@ -2509,7 +2509,7 @@
and then in the other direction.
(find_index_linear): Do a linear search on a range or array.
(find_index_bisection): Do a bisection search on a range or array
- that also follows excel rules for for handling type mismatches
+ that also follows excel rules for for handling type mismatches
during the search and finding the first and last item matching
the search.
(gnumeric_vlookup): Use new functions and implement undocumented
@@ -2714,7 +2714,7 @@
* src/workbook-format-toolbar.c (money_format) : Correct.
(do_sheet_selection_apply_number_format) : Decrease hackishness and
- improve docs for the formats.
+ improve docs for the formats.
2000-06-13 Jody Goldberg <jgoldberg home com>
@@ -2840,7 +2840,7 @@
* src/workbook.c (sort_cmd): Adjust if the range to be sorted
has a header.
- * NEWS: Update.
+ * NEWS: Update.
* src/ranges.h: New prototype.
@@ -2990,7 +2990,7 @@
* src/commands.c (cmd_set_text): Update code.
* src/workbook-edit.c (workbook_auto_complete_destroy): Simplify
- test here.
+ test here.
2000-06-06 Jody Goldberg <jgoldberg home com>
@@ -3020,7 +3020,7 @@
(sort_permute_is_set): Find if a a bit in a bit array is set
(sort_permute_set): Set a bit in a bit array
(sort_permute_find): Find a given number in a permutation array
- (sort_qsort): Produce a permutation index for sorting rows or cols
+ (sort_qsort): Produce a permutation index for sorting rows or cols
(sort_swap): Swap two entries in the permutation index
(sort_compare_sets): Compare two sets of cells
(sort_compare_cells): Compare two cells
@@ -3057,14 +3057,14 @@
Change prototype to use GtkEntry instead of GtkWidget.
* src/workbook-edit.c (workbook_finish_editing): Changed direct access to
- workbook->private_entry to workbook_get_entry.
+ workbook->private_entry to workbook_get_entry.
(entry_changed): ditto.
(workbook_start_editing_at_cursor): ditto.
(workbook_editing_expr): ditto.
(workbook_edit_get_display_text): ditto.
* src/workbook.c (autosum_cmd): Changed direct access to
- workbook->private_entry to workbook_get_entry.
+ workbook->private_entry to workbook_get_entry.
(do_focus_sheet): ditto.
(wb_edit_key_pressed): ditto.
(workbook_setup_edit_area): ditto.
@@ -3081,7 +3081,7 @@
for the editing facilities
* src/item-edit.c (item_edit_set_arg): removed auto complete code
- from here.
+ from here.
2000-06-03 Miguel de Icaza <miguel helixcode com>
@@ -3091,7 +3091,7 @@
workbook_set_entry prototype.
* src/workbook.c (workbook_start_editing_at_cursor): Moved
- autocomplete here.
+ autocomplete here.
* src/workbook.h: Removed warning. #include <config.h> is a
mandatory header file in every C file. A correct approach is to
@@ -3279,7 +3279,7 @@
2000-06-01 Kenneth Christiansen <kenneth gnu org>
- * po/desk.pl, po/update.pl: Two new scripts for helping
+ * po/desk.pl, po/update.pl: Two new scripts for helping
translation/i18n maintainance of Gnumeric
* po/README.tools: Added readme file, which explains the
@@ -3467,9 +3467,9 @@
2000-05-27 Almer. S. Tigelaar. <almer1 dds nl>
- * src/dialogs/stf-parse.c:
+ * src/dialogs/stf-parse.c:
(stf_parse_options_set_trim_spaces): New function.
- (stf_parse_csv_cell): Modified so it can trim spaces in
+ (stf_parse_csv_cell): Modified so it can trim spaces in
several ways
(stf_parse_fixed_cell): Ditto.
(stf_parse_get_longest_row_width) : Fixed small bug which
@@ -3491,11 +3491,11 @@
options struct.
* src/dialogs/dialog-stf-fixed-page.c:
- (stf_dialog_fixed_page_prepare): Now sets the trim member of the
+ (stf_dialog_fixed_page_prepare): Now sets the trim member of the
parse options struct.
- (stf_dialog_fixed_page_prepare): Did not honor the from/to line
+ (stf_dialog_fixed_page_prepare): Did not honor the from/to line
settings.
- (fixed_page_remove_clicked): Added gnumeric_clist_moveto to make
+ (fixed_page_remove_clicked): Added gnumeric_clist_moveto to make
selection visible.
(fixed_page_add_clicked): Ditto.
@@ -3740,7 +3740,7 @@
* src/workbook-format-toolbar.c (workbook_create_format_toolbar):
Enable tooltips for combo boxes. We do this by using
- gnumeric_toolbar_{insert|append}_with_eventbox instead of
+ gnumeric_toolbar_{insert|append}_with_eventbox instead of
gtk_toolbar_{insert|append}_widget.
* src/workbook.c (workbook_create_standard_toobar): Ditto
@@ -4058,7 +4058,7 @@
Use gnumeric_clist_make_selection_visible to ensure that list rows
are visible.
- * src/dialogs/dialog-sheet-order.c (dialog_sheet_order_impl):
+ * src/dialogs/dialog-sheet-order.c (dialog_sheet_order_impl):
s/list rows/current sheet/
* src/gnumeric-util.c (clist_moveto): New helper function scroll
@@ -4209,7 +4209,7 @@
* src/dialogs/dialog-goto-cell.c (dialog_goto_cell): Remove
buttons which do not do anything yet.
-
+
2000-05-07 Jon K Hellan <hellan acm org>
* src/workbook.c (yield_focus): New callback: Give up focus when
@@ -4229,7 +4229,7 @@
superseded by gnome-print dialogs. Remove.
* src/print.c (sheet_print): Make print button default. Add
- accelerators.
+ accelerators.
* configure.in: Depend on gnome-print >= 0.19
@@ -4329,12 +4329,12 @@
* src/cell.c (cell_relocate): update for expr_rewrite.
* src/eval.c (dependancy_data_destroy): rename to (sheet_deps_destroy),
- (invalidate_refs): re-write. (dependency_single_destroy, dependency_range_destroy):
+ (invalidate_refs): re-write. (dependency_single_destroy, dependency_range_destroy):
implement for non-intersheet deps. (workbook_deps_destroy): implement.
* src/expr.c (expr_relocate): renamed to (expr_rewrite): update,
add sheet re-writing. Fix serious bug with OPER_CONSTANT drop through
- to OPER_ARRAY. (cellrange_relocate): split out. (cellref_relocate):
+ to OPER_ARRAY. (cellrange_relocate): split out. (cellref_relocate):
update for structure pos.
* src/expr.h: create ExprRewriteInfo.
@@ -4579,7 +4579,7 @@
* src/sheet-object.c (sheet_set_mode_type_full): oafize.
- * src/sheet-object-container.c (sheet_object_container_new_from_goadid):
+ * src/sheet-object-container.c (sheet_object_container_new_from_goadid):
ditto.
* src/sheet.c (sheet_insert_object): always launch via.
@@ -4632,7 +4632,7 @@
* */Makefile.am:
Removed -DGNUMERIC_VERSION, now located in config.h
- * src/functions/Makefile.am, src/dialogs/Makefile.am :
+ * src/functions/Makefile.am, src/dialogs/Makefile.am :
VERSION changed to gnumeric_version.
* plugins/excel/libole2/Makefile.am, plugins/guile/Makefile.am :
@@ -4671,25 +4671,25 @@
2000-04-29 Almer. S. Tigelaar. <almer1 dds nl>
- * src/stf-export.[ch] : New,
+ * src/stf-export.[ch] : New,
low-level stf-export code.
- * src/dialogs/dialog-stf-export.glade : New,
+ * src/dialogs/dialog-stf-export.glade : New,
stf export dialog.
- * src/dialogs/dialog-stf-export.glade.h : New,
+ * src/dialogs/dialog-stf-export.glade.h : New,
stf export dialog strings.
- * src/dialogs/dialog-stf-export.[ch] : New,
+ * src/dialogs/dialog-stf-export.[ch] : New,
top-level controlling code for the stf export dialog.
- * src/dialogs/dialog-stf-export-private.h : New,
+ * src/dialogs/dialog-stf-export-private.h : New,
private declarations for the stf exporter.
- * src/dialogs/dialog-stf-export-format-page.c : New,
+ * src/dialogs/dialog-stf-export-format-page.c : New,
controlling code for the format page of the stf export dialog
- * src/dialogs/dialog-stf-export-sheet-page.c : New,
+ * src/dialogs/dialog-stf-export-sheet-page.c : New,
controlling code for the sheet page of the stf export dialog
* src/Makefile.am : Updated to include new files
@@ -4743,7 +4743,7 @@
2000-04-27 JP Rosevear <jpr arcavia com>
- * Makefile.am: Delete old gnumeric-config generation.
+ * Makefile.am: Delete old gnumeric-config generation.
* gnumeric-config.in: Use new variables exported from autoconf.
@@ -4786,9 +4786,9 @@
2000-04-27 Jon K Hellan <hellan acm org>
- * src/rendered-value.c (cell_rendered_height):
+ * src/rendered-value.c (cell_rendered_height):
(cell_rendered_height): Check for null pointers. Zoomed sheets
- with dangling references would segfault.
+ with dangling references would segfault.
2000-04-27 Jody Goldberg <jgoldberg home com>
@@ -4864,7 +4864,7 @@
* src/item-edit.c (item_edit_draw_text): Take a GtkStyle instead
of a GdkGC.
- * src/item-grid.c (create_popup_menu): Remove unrequired code.
+ * src/item-grid.c (create_popup_menu): Remove unrequired code.
2000-04-25 Morten Welinder <terra diku dk>
@@ -4979,12 +4979,12 @@
2000-04-22 Almer. S. Tigelaar. <almer1 dds nl>
- Fixed Bug #9007
+ Fixed Bug #9007
Note : Does not fix the mouse click problem, just the focus
problem
- * src/workbook.c
- (workbook_attach_sheet) : Attaches a signal handler for
+ * src/workbook.c
+ (workbook_attach_sheet) : Attaches a signal handler for
the "editing_stopped" signal of the editable label.
(sheet_label_editing_stopped_signal) : The signal handler
of the "editing_stopped" signal.
@@ -5036,12 +5036,12 @@
a version of the Euro. It uses an iso_8859_15 encoding
which is not commonly available.
- * src/corba-sheet.c (Sheet_cell_set_value):
+ * src/corba-sheet.c (Sheet_cell_set_value):
cell_set_value -> sheet_cell_set_value
2000-04-20 Matt Wilson <msw redhat com>
- * src/corba-sheet.c (Sheet_cell_set_value):
+ * src/corba-sheet.c (Sheet_cell_set_value):
sheet_cell_set_value -> cell_set_value
* src/corba-sheet.c: include cell-comment.h, rendered-value.h
@@ -5188,7 +5188,7 @@
Cell::{row,col} -> Cell::{row,col}_info
cell_get_text -> cell_get_entered_text
cell_get_content -> cell_get_entered_text
- cell_name -> cell_coord_name
+ cell_name -> cell_coord_name
cell_get_formatted_val -> cell_get_rendered_text
cell_get_content -> cell_get_entered_text
@@ -5221,7 +5221,7 @@
2000-04-18 Almer. S. Tigelaar. <almer1 dds nl>
* src/dialogs/dialog-stf-format-page.c
- (stf_dialog_format_page_init) : Created an stf options struct
+ (stf_dialog_format_page_init) : Created an stf options struct
which was never freed or used
* src/dialogs/dialog-stf-preview.c
@@ -5298,7 +5298,7 @@
2000-04-15 Miguel de Icaza <miguel gnu org>
* src/print.c (print_headers): Use black for printing the
- headers and footers.
+ headers and footers.
2000-04-14 Karl EICHWALDER <ke suse de>
@@ -5317,7 +5317,7 @@
* renamed utils.h to gutils.h to avoid the compilation problem on
some Unices (yes, fixing the Makefile would have done it, but
utils.h was still a lame name; Of course gutils.h is not any
- better, but it is now don).
+ better, but it is now don).
2000-04-14 Michael Meeks <michael helixcode com>
@@ -5422,20 +5422,20 @@
* src/sheet.h: Rename member "private" -> "priv" in case anyone in the
future writes a plugin / module written in C++
-
+
* src/sheet.c (sheet_new, sheet_flag_status_update_cell,
sheet_flag_status_update_page, sheet_update, sheet_destroy,
sheet_set_edit_pos, sheet_insert_cols, sheet_delete_cols,
sheet_insert_rows, sheet_delete_rows, sheet_restore_row_col_sizes,
sheet_col_set_size_pts, sheet_col_set_size_pixels,
sheet_row_set_size_pts, sheet_row_set_size_pixels): Same
-
+
* src/corba-sheet.c (sheet_corba_setup, sheet_corba_shutdown): Same
-
+
* src/corba-workbook.c (corba_sheet): Same
-
+
* src/embeddable-grid.c (Grid_get_sheet): Same
-
+
* src/sheet-vector.c (sheet_vector_attach, sheet_vector_detach,
sheet_vectors_cell_changed, sheet_vectors_shutdown): Same
@@ -5479,18 +5479,18 @@
* src/main.c : Add main.h
2000-04-03 Dom Lachowicz <dominicl seas upenn edu>
-
+
* src/workbook.c (sheet_action_reorder_sheet): Right click on a
sheet tab, and if there's more than one sheet, you'll get an
option to bring up the re-order sheets dialog
-
+
* src/dialogs/dialog-plugin-manager.c (refresh_right_frame) : Do not
override default fonts and colours.
-
+
* src/dialogs/sheet-order.glade,
* src/dialogs/sheet-order.glade.h,
* src/dialogs/dialog-sheet-order.c (row_cb, delete_clicked_cb,
- up_clicked_cb, down_clicked_cb, close_clicked_cb,
+ up_clicked_cb, down_clicked_cb, close_clicked_cb,
dialog_sheet_order_impl) : Improve look by moving buttons to the
right edge rather than using stock buttons on the bottom and side.
@@ -5813,13 +5813,13 @@
* src/print.c (print_sheet_range): Now the routine returns the
number of pages printed, and can be directed not to generate
- actual output.
+ actual output.
(print_sheet_range): Do column/row fitting for the other printing
order as well.
(compute_sheet_pages): Support both empty-page printing, and non
empty-page printing.
(print_page): Can now print and detect if there is anything to
- print.
+ print.
2000-04-05 Jody Goldberg <jgoldberg home com>
@@ -5981,7 +5981,7 @@
* src/workbook.c (change_zoom_in_current_sheet_cb): No longer call
change_displayed_zoom_cb, sheet_set_zoom_factor will call it
- indirectly.
+ indirectly.
* src/workbook.[ch] (workbook_class_init,
workbook_focus_current_sheet, workbook_create_standard_toobar):
@@ -6088,7 +6088,7 @@
* src/sheet-style.c (re_dimension_cells_cb) : Adjust to new calling
convention for cell_calc_dimensions.
- * src/item-edit.c : Major rework to behave better at margins,
+ * src/item-edit.c : Major rework to behave better at margins,
correctly handle cells whose display contents span differently than
their displayed values, multi-line display mechanics, and a blinking
cursor :-)
@@ -6147,7 +6147,7 @@
Guys. If you add a .glade file, PLEASE make sure you add the
.glade.h file. This is just embarassing to see all of these
releases done just because nobody ever cares to add the files
- properly.
+ properly.
2000-03-27 Nick Lamb <njl195 zepler org uk>
@@ -6268,7 +6268,7 @@
2000-03-24 Miguel de Icaza <miguel helixcode com>
* src/file.c (workbook_import): Destroy the toplevel not the
- hack_dialog.
+ hack_dialog.
* src/dialogs/dialog-stf.c (dialog_stf_druid_page_cancel): Quit
the event loop. Should fix #cd 7782
@@ -6310,7 +6310,7 @@
workbook attribute dialog.
(dialog_workbook_attr): Basic preparation.
(attr_dialog_impl): Setup the dialog and display it.
- (attr_dialog_init_view_page): Initialize the view tab of
+ (attr_dialog_init_view_page): Initialize the view tab of
the workbook.
(cb_show_hsb_toggled): Widget callback
(cb_show_vsb_toggled): ditto
@@ -6323,7 +6323,7 @@
* src/dialogs/dialogs.h: Define new dialog function.
- * src/workbook.c : Update menus for new workbook dialog under
+ * src/workbook.c : Update menus for new workbook dialog under
the format menu and remove now unused callbacks.
(workbook_get_arg): Put breaks in so we don't get
stupid errors.
@@ -6347,15 +6347,15 @@
2000-03-24 Jody Goldberg <jgoldberg home com>
- * src/gnumeric-sheet.c (gnumeric_sheet_set_left_col):
+ * src/gnumeric-sheet.c (gnumeric_sheet_set_left_col):
Fix cut-n-paste-o.
2000-03-24 Tuomas Kuosmanen <tigert gimp org>
* src/pixmaps/function_selector.xpm: New pixmap for Function
- Selection Wizard
+ Selection Wizard
- * src/pixmaps/sort-ascending.xpm
+ * src/pixmaps/sort-ascending.xpm
* src/pixmaps/sort-descending.xpm: New versions of the sort icons,
we dont sort by numeric value so we dont want to use 123 in the icon
either. Instead we use A..Z and Z..A.
@@ -6475,7 +6475,7 @@
(file_format_unregister_save): Set level to manual for workbooks
which had this saver set.
(cb_unregister_save): New function. Helper for
- file_format_unregister_save.
+ file_format_unregister_save.
(workbook_read): Set save info. Tag as new.
(workbook_import): No longer set needs_name - importer will have
set file_format_level.
@@ -6524,12 +6524,12 @@
(xml_arg_get): Get a string representing an arg's value.
(xml_write_attributes): Create the list of attributes.
(xml_free_arg_list): Function to free the args in a GList.
- (xml_read_attributes): Read the attributes back in from the
+ (xml_read_attributes): Read the attributes back in from the
xml tree.
(xml_workbook_read): Read the workbook attributes in and set them.
(xml_workbook_write): Write out the workbook attributes.
- * src/workbook.c (workbook_class_init): Add three args, the h & v
+ * src/workbook.c (workbook_class_init): Add three args, the h & v
scrollbars and the notebook tab. Override parent set_arg and get_arg
functions.
(workbook_set_arg): New function to handle arg setting.
@@ -6537,7 +6537,7 @@
(workbook_set_attributev): Set a whole list of args for the object.
(workbook_get_attributev): Return an array of args for the workbook.
- * src/workbook.c (sort_cmd): Sort all the columns in order so
+ * src/workbook.c (sort_cmd): Sort all the columns in order so
that ties are broken nicely (pointed out by meeks)
2000-03-22 Jody Goldberg <jgoldberg home com>
@@ -6622,7 +6622,7 @@
2000-03-21 Miguel de Icaza <miguel helixcode com>
* src/utils.c (parse_cell_name_or_range): Allow for parsing to be
- non-strict.
+ non-strict.
* src/ranges.c (range_parse): Allow for parsing to be non-strict.
@@ -6677,7 +6677,7 @@
2000-03-18 JP Rosevear <jpr arcavia com>
- * src/pixmaps: Added sort-ascend.xpm, sort-descend.xpm,
+ * src/pixmaps: Added sort-ascend.xpm, sort-descend.xpm,
insert-bonobo-component.xpm
* src/pixmaps.h: Include new xpms.
@@ -6686,7 +6686,7 @@
(sort_ascend_cmd): ditto
(sort_descend_cmd): ditto
- * src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Duh,
+ * src/dialogs/dialog-cell-sort.c (dialog_cell_sort): Duh,
pass the parameters in the correct order.
* src/workbook-format-toolbar.c: Move sort commands to workbook.c
@@ -6700,7 +6700,7 @@
2000-03-13 Miguel de Icaza <miguel helixcode com>
* src/sheet-vector.c (sheet_vectors_cell_changed): Change NULL to
- CORBA_OBJECT_NIL
+ CORBA_OBJECT_NIL
* src/sheet-object-bonobo.c (sheet_object_bonobo_load_from_file):
Use the new IDL:Bonobo interface name, not the IDL:GNOME one
@@ -6709,22 +6709,22 @@
* src/sheet-object.c (sheet_set_mode_type): Temporary hack to get
the graphics working under 1:20 hours when my battery runs out of
- power.
+ power.
* src/sheet-object-container.c
(sheet_object_container_new_from_goadid): Renamed from
sheet_object_container_new
(sheet_object_container_new): Now takes a BonoboObjectClient as an
- argument.
+ argument.
2000-03-12 Miguel de Icaza <miguel helixcode com>
* src/sheet-vector.c (impl_vector_get_numbers): Increment idx
- here;
+ here;
(impl_vector_get_vec_values): ditto.
(impl_vector_get_numbers): Use the proper values for the columns
- row.
+ row.
(impl_vector_get_vec_values): ditto.
* src/clipboard.c (x_clipboard_bind_workbook): Fix memory leak.
@@ -6739,7 +6739,7 @@
1. Bonobo won't let you make 2 entries with the same label in the
same menu. But that's what happens if you e.g. access
worksheets with the same name from 2 different directories.
- 2. The numbers are useful accelerators.
+ 2. The numbers are useful accelerators.
This means that when a new item is added, all existing entries get
a new number. We access them via the label, so we have to remove
all the old list entries and make a new list.
@@ -6798,14 +6798,14 @@
* src/ranges.h: Prototype range_clip_to_finite.
- * src/workbook-format-toolbar.c (sort_cmd): Sort the current
+ * src/workbook-format-toolbar.c (sort_cmd): Sort the current
selection if simple.
(sort_ascend_cmd): Call sort_cmd with asc=0.
(sort_descend_cmd): Call sort_cmd with asc=1.
* src/workbook-format-toolbar.c : Add sort ascend/descend buttons.
- (sort_ascend_cmd): New toolbar callback function to sort
- selection in ascending order.
+ (sort_ascend_cmd): New toolbar callback function to sort
+ selection in ascending order.
(sort_descend_cmd): New toolbar callback function to sort
selection in descending order.
@@ -6830,7 +6830,7 @@
* idl/Makefile.am, idl/Graph.idl, idl/Gnumeric.idl: Moved IDL
files here, and create the libGnumeric.a and libGraph.a libraries
- here.
+ here.
2000-03-11 Jody Goldberg <jgoldberg home com>
@@ -6968,8 +6968,8 @@
2000-03-08 Jon K Hellan <hellan acm org>
- * src/corba-workbook-factory.c (WorkbookFactory_supports):
- (GNOME_Gnumeric_WorkbookFactory__create):
+ * src/corba-workbook-factory.c (WorkbookFactory_supports):
+ (GNOME_Gnumeric_WorkbookFactory__create):
Bonobo::GenericFactory::supports has been renamed to
Bonobo::GenericFactory::manufactures. Replace supports with
manufactures.
@@ -6986,7 +6986,7 @@
it is used in that scope. The solution is to scope the outer
identifiers explicitly:
(GNOME::Gnumeric::Sheet::cell_set_value): Change Value to
- Gnumeric::Value.
+ Gnumeric::Value.
(GNOME::Gnumeric::Workbook::parse): Change Sheet to
Gnumeric::Sheet.
@@ -7015,33 +7015,33 @@
* src/xml-io.c, src/xml-io.h :
Added some functions for the gnumeric clipboard xml format.
- (gnumeric_xml_read_selection_clipboard) :
- For reading xml data from the clipboard
- (gnumeric_xml_write_selection_clipboard) :
- For writing xml data to the clipboard
- (xml_read_selection_clipboard) :
+ (gnumeric_xml_read_selection_clipboard) :
+ For reading xml data from the clipboard
+ (gnumeric_xml_write_selection_clipboard) :
+ For writing xml data to the clipboard
+ (xml_read_selection_clipboard) :
For reading xml data from the clipboard, does the dirty work
- (xml_write_selection_clipboard) :
+ (xml_write_selection_clipboard) :
For writing xml data to the clipboard, does the dirty work
- (xml_read_cell_copy) :
- Similar to xml_read_cell, but returns a CellCopy* instead
+ (xml_read_cell_copy) :
+ Similar to xml_read_cell, but returns a CellCopy* instead
of a Cell*
- (xml_write_cell_and_position) :
- Similar to old xml_write_cell but allows you to set the col and
+ (xml_write_cell_and_position) :
+ Similar to old xml_write_cell but allows you to set the col and
row manually
(xml_write_cell) :
- Calls upon xml_write_cell_and_position, but takes the col and row
+ Calls upon xml_write_cell_and_position, but takes the col and row
from the ColRowInfo members of type Cell.
(xml_read_style_region_ex) :
- Read the xml data and returns an mstyle and a range. Does
+ Read the xml data and returns an mstyle and a range. Does
_NOT_ attach this to a sheet.
(xml_read_style_region) :
- calls upon xml_read_style_region_ex and attaches the mstyle
+ calls upon xml_read_style_region_ex and attaches the mstyle
to a sheet
* src/cell.h
New cellcopy type added CELL_COPY_TYPE_AND_COMMENT, if a
- cellcopy is of this type the comments will be put in
+ cellcopy is of this type the comments will be put in
cellcopy.comment
* src/clipboard.c
@@ -7051,7 +7051,7 @@
Modified so it support the TARGETS and GNUMERIC XML atoms and renders
the gnumeric clipboard xml format
(x_selection_handler) :
- Now it can render theselection to ASCII text and gnumeric clipboard xml
+ Now it can render theselection to ASCII text and gnumeric clipboard xml
format.
(x_clipboard_bind_workbook) :
Registers the new GNUMERIC XML atom that enables other instances of
@@ -7193,7 +7193,7 @@
2000-03-02 Jon K Hellan <hellan acm org>
- * doc/python-gnumeric.txt: Updated documentation
+ * doc/python-gnumeric.txt: Updated documentation
* src/func.h: Make FunctionCategory.name a String * instead of
gchar *. This was necessary to allow user defined categories.
@@ -7219,7 +7219,7 @@
* src/dialogs/dialog-stf.c
(dialog_stf_editables_enter) :
Disabled "enter activates default button" for the TextIndicator
- field on the csv page. This would case the page to cycle, which
+ field on the csv page. This would case the page to cycle, which
is ok, but it also caused the dropdown option to pop-up on the
next page, which is not ok.
@@ -7245,7 +7245,7 @@
fields activate default.
(dialog_stf): Use dialog_stf_editables_enter,
dialog_stf_set_initial_keyboard_focus. Make "next" button the
- default button. Make window a child of the workbook window.
+ default button. Make window a child of the workbook window.
* src/dialogs/dialog-stf-format-page.c (format_page_init): Make
format list titles passive.
@@ -7255,7 +7255,7 @@
* src/clipboard.c (x_selection_to_cell_region): Add command
context to interface. Use it when calling dialog_stf.
- (x_selection_to_cell_region):
+ (x_selection_to_cell_region):
(x_selection_received): Call x_selection_to_cell_region with
workbook_command_context_gui.
@@ -7285,10 +7285,10 @@
2000-03-01 Michael Meeks <michael helixcode com>
* configure.in: Bump required ver. of gnome-print.
-
+
* src/style.c (style_font_get_height): hack for new gnome-print
to kill annoying warning.
-
+
2000-03-01 Jon K Hellan <hellan acm org>
* src/dialogs/cell-format.glade: Enable underline in fonts pane.
@@ -7378,7 +7378,7 @@
* src/gnumeric-util.[ch] (gnumeric_set_transient): New
function. Make the window a child of the workbook in the command
- context, if there is one.
+ context, if there is one.
(gnumeric_editable_enters): New function. Like
gnome_dialog_editable_enters, but not just for GnomeDialogs.
@@ -7503,19 +7503,19 @@
precision.
2000-02-24 Dom Lachowicz <dominicl seas upenn edu>
-
+
* src/functions/fn-eng.c (convert): catch DIV0
-
+
* src/functions/fn-financial.c (gnumeric_accrint), (gnumeric_accrintm),
(gnumeric_intrate), (gnumeric_disc), (gnumeric_db),
(gnumeric_ddb), (gnumeric_mirr), (gnumeric_pv): More errors.
-
+
* src/function/fn-math.c (gnumeric_quotient): ditto.
-
+
* src/function/fn-stat.c (callback_function_stat),
(callback_function_chitest_theoretical, gnumeric_betadist),
(gnumeric_confidence, gnumeric_ftest): ditto.
-
+
2000-02-27 Jukka-Pekka Iivonen <iivonen iki fi>
* src/solver-lp.c, src/dialogs/dialog-solver.c: Constraints can
diff --git a/OChangeLog-2001-06-26 b/OChangeLog-2001-06-26
index 1f31ddf..cdedbad 100644
--- a/OChangeLog-2001-06-26
+++ b/OChangeLog-2001-06-26
@@ -48,21 +48,21 @@
* src/complete.c: #include <stdlib.h> for abort.
2001-06-21 Almer S. Tigelaar <almer gnome org>
-
+
* src/gnumeric-sheet.c (border_mutate): New, toggles
borders around regions.
-
+
(gnumeric_sheet_key_mode_sheet):
Make Ctrl+Backspace center on the active cell.
Add support for Locked scrolling with the arrow keys, home and end.
Add support for Ctrl+Shift ~, $, %, ^, #, @, !, & and _ shortcut keys
for formatting and border mutations.
-
+
* src/workbook-control-gui.c, src/GNOME_Gnumeric.xml:
Change keybinding of Goto Cell from Ctrl+G to F5.
Set keybinding of Search&Replace to F6.
Set keybinding of Define Names to Ctrl+F3
-
+
2001-06-20 Almer S. Tigelaar <almer gnome org>
* src/workbook-control-gui.c (wbcg_claim_selection):
@@ -83,7 +83,7 @@
* src/commands.c (cmd_search_replace_do_cell) : Adjust to ref
semantics change.
-
+
* src/number-match.c (format_match) : do not add a ref to the
resulting format.
@@ -101,7 +101,7 @@
dates.
2001-06-19 Almer S. Tigelaar <almer gnome org>
-
+
* src/item-cursor.c (item_cursor_tip_setstatus): New function.
(cb_move_cursor): Call item_cursor_tip_setstatus.
(item_cursor_do_drop): Clear the status text.
@@ -214,7 +214,7 @@
(count_io_progress_set): Added "step" argument, initialize extra
struct fields: last, current, step.
(count_io_progress_update): Take value increase as an argument, not
- value itself. Return immediately if value hasn't changed enough.
+ value itself. Return immediately if value hasn't changed enough.
(value_io_progress_set, value_io_progress_update,
workbook_io_progress_set, workbook_io_progress_update): New. Two
additional helpers, "workbook" should be very useful when saving
@@ -534,36 +534,36 @@
a row number to a string.
(rows_name): Idem, but for a start/end range.
(row_name_internal): Utility routine.
-
+
* src/colrow.c (colrow_string_build): Remove.
(colrow_index_list_to_string): Use rows_name
and cols_name.
-
+
* src/cmd-edit.c (cmd_shift_rows): Use rows_name.
-
+
* src/commands.c (cmd_insert_rows): Idem.
(cmd_delete_cols): Beautify.
(cmd_delete_rows): Beautify and use rows_name.
-
+
* src/eval.c (dump_range_dep): Use row_name.
-
+
* src/item-bar.c (get_row_name): Deprecated, remove.
(item_bar_draw): Use row_name.
-
+
* src/item-cursor.c (item_cursor_tip_setlabel): Idem.
-
+
* src/item-grid.c (item_grid_draw): Idem.
-
+
* src/ranges.c (range_name): Idem.
(range_dump): Idem.
-
+
* src/selection.c (reference_append): Idem.
(selection_get_ranges): Idem.
(cb_range_to_string): Idem.
-
+
* src/sheet-control-gui.c (scg_redraw_cell_region): Idem.
(vertical_scroll_offset_changed): Idem.
-
+
* src/value-sheet.c (value_dump): Idem.
(encode_cellref): Idem.
@@ -615,12 +615,12 @@
(cmd_group_redo): Idem.
(cmd_group_destroy): Idem.
(cmd_group): Idem.
-
+
* src/workbook-control-gui.c (cb_data_group): Implement.
(cb_data_ungroup): Idem.
(group_ungroup_colrow): Utility function to determine if
columns or rows need to be grouped/ungrouped.
-
+
* src/sheet.[ch] (sheet_col_row_group_ungroup): New, high level routine
for adjusting outlines.
(sheet_col_row_fit_gutter): Dynamically adjust gutter size.
@@ -628,9 +628,9 @@
(sheet_col_row_can_group): Query if a range of cols/rows
can actually group/ungroup.
(sheet_col_row_set_outline_level): Deprecated, remove.
-
+
* src/colrow.[ch] (colrow_set_outline): Set outline on a col/row.
-
+
* src/GNOME_Gnumeric.xml: DataOutlineUnGroup change to
DataOutlineUngroup.
@@ -758,7 +758,7 @@
have been made virtual.
* src/sheet-control-gui.c: Include sheet-control-gui-priv.h instead
- of sheet-control-gui.h.
+ of sheet-control-gui.h.
Casts and temp variables because:
- virtual scg methods now take a SheetControl parameter.
- sheet member now lives in SheetControl.
@@ -829,7 +829,7 @@
* src/sheet-object-graphic.c: Ditto.
* src/gnumeric-sheet.c: Include sheet-control-gui-priv.h instead
- of sheet-control-gui.h.
+ of sheet-control-gui.h.
Casts and temp variables because:
- virtual scg methods now take a SheetControl parameter.
- sheet now lives in SheetControl.
@@ -853,7 +853,7 @@
* src/workbook-control-gui.c: Ditto.
* src/workbook-object-toolbar.c: Ditto, but don't include
- sheet-control-gui-priv.h
+ sheet-control-gui-priv.h
* src/sheet-object.c (sheet_object_realize): Cast control to
SheetControlGUI.
@@ -873,13 +873,13 @@
Macros moved to file-priv.h.
* src/file-priv.h
- (struct _GnumFileOpenerClass::probe):
+ (struct _GnumFileOpenerClass::probe):
(GNUM_FILE_OPENER_CLASS, IS_GNUM_FILE_OPENER_CLASS,
GNUM_FILE_SAVER_CLASS, IS_GNUM_FILE_SAVER_CLASS):
Macros moved from file.h.
* src/file.c
- (gnum_file_opener_probe_real, gnum_file_opener_probe):
+ (gnum_file_opener_probe_real, gnum_file_opener_probe):
Added FileProbeLevel argument.
* src/workbook-view.c
@@ -919,12 +919,12 @@
(cell_queue_recalc) : no need to queue non expression cells.
2001-05-27 Nathan Cullen <furyu fuse net>
-
+
* src/history.c (history_menu_insert_separator): Fixed keyboard
navigation problem in non-bonobo build with separator for recently
opened files. There was an "invisible" separator item so you needed
to arrow down twice to get from "Print Preview" to the first file.
-
+
2001-05-27 Jody Goldberg <jgoldberg home com>
* src/expr.c (eval_expr_real) : recurse for arrays too.
@@ -992,10 +992,10 @@
sheet-control-priv.h
* src/sheet-control.c: New file. Stub base class for
- SheetControlGUI.
+ SheetControlGUI.
* src/sheet-control.h: Strip down even more from existing stub in
- CVS.
+ CVS.
* src/sheet-control-priv.h: New file. Private header for
SheetControl.
@@ -1148,7 +1148,7 @@
(sheet_cell_set_expr) : ditto.
(sheet_cell_set_value) : ditto.
(colrow_move) : ditto.
- (sheet_destroy_contents) :
+ (sheet_destroy_contents) :
s/dependent_unqueue_recalc_sheet/dependent_unqueue_sheet/
* src/cmd-edit.c (cmd_select_cur_row) : Make behavior match XL.
@@ -1274,7 +1274,7 @@
* src/workbook-control-gui.c (workbook_control_gui_init):
Initialize wbcg->toolbar_is_sensitive.
- * src/workbook-edit.c (workbook_edit_toolbars_set_sensitive): Use
+ * src/workbook-edit.c (workbook_edit_toolbars_set_sensitive): Use
wbcg->toolbar_is_sensitive instead of static is_sensitive.
2001-05-21 Zbigniew Chyla <cyba gnome pl>
@@ -1448,7 +1448,7 @@
direcly. Objects that are rubber banded directly have already been attached to
a sheet.
(sheet_object_begin_creation): if we are rubber_banding_direclty the object,
- attach it to a sheet.
+ attach it to a sheet.
* src/sheet-object-widget.c (sheet_widget_checkbox_destroy): check if
the dependent has been linked before unlinking. We might have created
@@ -1488,7 +1488,7 @@
Now it should be really fixed.
2001-05-19 Almer S. Tigelaar <almer gnome org>
-
+
* src/workbook-edit.c (wbcg_edit_attach_guru):
Guard against two anted region on the same sheet.
@@ -1558,22 +1558,22 @@
(sheet_range_set_text) : set the bounding box.
2001-05-15 Jon K Hellan <hellan acm org>
-
+
* src/workbook-control.h: Define menu state enums for print setup,
search/replace and define names and a define for the lot.
-
- * src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
+
+ * src/workbook-control-gui-priv.h (struct _WorkbookControlGUI):
Add menu_item_print_setup, menu_item_search_replace,
menu_item_define_name members.
-
+
* src/workbook-edit.c (workbook_edit_attach_guru,
workbook_edit_detach_guru): Update Update print setup,
search/replace and define names sensitivity according to whether
or not we have guru.
-
+
* src/workbook-control-gui.c (wbcg_menu_state_update): Ditto. This
is where it's actually implemented.
-
+
2001-05-15 Almer S. Tigelaar <almer gnome org>
* src/sheet-control-gui.c (vertical_scroll_offset_changed): Sync
@@ -1631,7 +1631,7 @@
2001-05-14 Miguel de Icaza <miguel ximian com>
* src/sheet-control-gui.c: Removed support routines that used the
- Excel-like toolbar. I got fed up with it.
+ Excel-like toolbar. I got fed up with it.
(scg_construct): Use regular Gtk scrollbars. Connect to value
changed to reflect the state of the scrollbar on the spreadsheet
inmediately instead of doing the broken Excel behaviour.
@@ -1643,7 +1643,7 @@
Resolve warning.
2001-05-13 Almer S. Tigelaar <almer gnome org>
-
+
* src/colrow.c (colrow_save_sizes): Use float.
(colrow_restore_sizes): Use float.
(colrow_restore_sizes_group): Walk the selections
@@ -1708,10 +1708,10 @@
initialization of LC_* from the environment.
2001-05-11 Jon K Hellan <hellan acm org>
-
+
* src/sheet-control-gui.c (scg_rangesel_changed): Improve handling
of merged cells. Freeze expr entry display until final range is found.
-
+
2001-05-10 Jody Goldberg <jgoldberg home com>
* src/workbook.c (workbook_sheet_delete) : Clear the combos as well as
@@ -1948,7 +1948,7 @@
on existing toolbars.
2001-05-07 Almer S. Tigelaar <almer gnome org>
-
+
* src/parser.y (gnumeric_expr_parser): Display which
token caused the parse error. And display more detailed
error messages for paren matching errors using
@@ -1957,7 +1957,7 @@
(check_parens): Renamed from find_bracket. Replace bracket
with paren everywhere for consistency.
(yylex): Kill paren matching here.
-
+
2001-05-07 Morten Welinder <terra diku dk>
* src/item-grid.c (drag_start): Plug leak.
diff --git a/OChangeLog-2002-01-22 b/OChangeLog-2002-01-22
index 53cf1b6..f24514d 100644
--- a/OChangeLog-2002-01-22
+++ b/OChangeLog-2002-01-22
@@ -61,7 +61,7 @@
2002-01-19 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/workbook-control-gui.c : new cb_tool_... functions, add
+ * src/workbook-control-gui.c : new cb_tool_... functions, add
analysis tools menu to non-bonobo menu section, define
BONOBO_UI_UNSAFE_VERBs for all analysis tools
(cb_tools_data_analysis) : deleted
@@ -71,7 +71,7 @@
* src/datetime.c (datetime_g_free): New function to free
GDate. Can be called with NULL without complaining.
- (coupdays, coupdaybs, coupdaysnc):
+ (coupdays, coupdaybs, coupdaysnc):
* src/sheet-autofill.c (autofill_compute_delta, autofill_cell):
Use datetime_g_free instead of g_date_free.
@@ -87,10 +87,10 @@
2002-01-18 Andreas J. Guelzow <aguelzow taliesin ca>
* src/datetime.c (adjust_dates_basis) : removed
- (days_between_BASIS_MSRB_30_360) : new, calculate delta for
+ (days_between_BASIS_MSRB_30_360) : new, calculate delta for
BASIS_MSRB_30_360
(days_between_BASIS_30E_360) : new, calculate delta for BASIS_30E_360
- (days_between_BASIS_30Ep_360) : new, calculate delta for
+ (days_between_BASIS_30Ep_360) : new, calculate delta for
BASIS_30Ep_360
(days_between_basis) : replaces days_between_dep_basis, extremely
simplified
@@ -139,7 +139,7 @@
* src/datetime.c : change oem to eom
(days_between_dep_basis) : fix basis == 0, add `in_order' flag
(adjust_dates_basis) : fix basis == 0
- (coupdays) : fix basis == 2, 3 and partially fix to
+ (coupdays) : fix basis == 2, 3 and partially fix to
basis == 1
2002-01-15 Morten Welinder <terra diku dk>
@@ -157,9 +157,9 @@
2002-01-15 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/datetime.c (coup_cd_xl) : new function (XL compatible
+ * src/datetime.c (coup_cd_xl) : new function (XL compatible
implementation of coup_cd.
- (coupdays) : add xl boolean parameter, call coup_cd or coup_cd_xl
+ (coupdays) : add xl boolean parameter, call coup_cd or coup_cd_xl
depending on xl.
(coupdaybs) : ditto
(coupdaysnc) : ditto
@@ -285,7 +285,7 @@
2002-01-10 Jon K Hellan <hellan acm org>
* src/datetime.c (datetime_isoweeknum): Added. Return the ISO 8601
- week number of date.
+ week number of date.
(datetime_weeknum): Added. Return week number of date according to
method.
@@ -375,7 +375,7 @@
2002-01-03 J.H.M. Dassen (Ray) <jdassen debian org>
- * src/auto-correct.c (autocorrect_tool) : casts to deal with character
+ * src/auto-correct.c (autocorrect_tool) : casts to deal with character
(un)signedness.
* src/format.c (format_entry_dtor) : switch to gchar to deal with
character (un)signeness.
@@ -402,9 +402,9 @@
* src/sheet.c (sheet_name_quote) : type change
* src/sheet-object.c (sheet_object_read_xml) : casts
* src/sheet-object.c (sheet_object_write_xml) : casts
- * src/sheet-object-cell-comment.c (cell_comment_read_xml) : type
+ * src/sheet-object-cell-comment.c (cell_comment_read_xml) : type
changes; casts
- * src/sheet-object-widget.c (sheet_widget_label_read_xml) : type
+ * src/sheet-object-widget.c (sheet_widget_label_read_xml) : type
changes; casts
* src/sheet-object-widget.c (sheet_widget_frame_read_xml) : ditto
* src/sheet-object-widget.c (sheet_widget_button_read_xml) : ditto
diff --git a/OChangeLog-2003-12-23 b/OChangeLog-2003-12-23
index 35dec8e..7a337ec 100644
--- a/OChangeLog-2003-12-23
+++ b/OChangeLog-2003-12-23
@@ -25,7 +25,7 @@
2003-12-21 Andreas J. Guelzow <aguelzow taliesin ca>
http://bugzilla.gnome.org/show_bug.cgi?id=129049
- * src/session.c (interaction_function): stick dialogs and workbook
+ * src/session.c (interaction_function): stick dialogs and workbook
windows to ensure they are visible for logout conversation
2003-12-21 Andreas J. Guelzow <aguelzow taliesin ca>
@@ -52,7 +52,7 @@
2003-12-20 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gui-util.c (gnumeric_popup_menu): handle NULL event.
-
+
2003-12-19 Jon K Hellan <hellan acm org>
* src/format-template.c (format_template_new): Use gnm_get_real_name.
@@ -126,7 +126,7 @@
http://bugzilla.gnome.org/show_bug.cgi?id=128166
* src/commands.c (cmd_reorganize_sheets_undo): dirty workbook
(cmd_reorganize_sheets_redo): ditto
-
+
2003-12-01 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gnumeric-gconf.c (gnm_conf_init_essential): add
@@ -145,7 +145,7 @@
2003-11-25 Andreas J. Guelzow <aguelzow taliesin ca>
* src/print.c (print_job_info_destroy): plug leak
-
+
2003-11-24 Jody Goldberg <jody gnome org>
* src/sheet.c (sheet_colrow_group_ungroup) : when adding a group
@@ -177,8 +177,8 @@
2003-11-18 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/print-info.c (print_info_new): disable page setup continuity
- again. The bug seems to be still in libgnomeprint 2.4.x (it is gone
+ * src/print-info.c (print_info_new): disable page setup continuity
+ again. The bug seems to be still in libgnomeprint 2.4.x (it is gone
from 2.5.x, at least so it seems).
2003-11-17 Andreas J. Guelzow <aguelzow taliesin ca>
@@ -288,13 +288,13 @@
(gnm_conf_init_extra): call gnm_conf_init_printer_decoration_font
rather than doing the work itself.
(gnm_conf_shutdown): new
- * src/gnumeric-gconf.h: printer_decoration_font replaces
- printer_decoration_font_*
- * src/libgnumeric.c (gnm_common_init): gnm_conf_init requires
+ * src/gnumeric-gconf.h: printer_decoration_font replaces
+ printer_decoration_font_*
+ * src/libgnumeric.c (gnm_common_init): gnm_conf_init requires
mstyle_init
(gnm_shutdown): call gnm_conf_shutdown
- * src/print.c (print_job_info_get): printer_decoration_font replaces
- printer_decoration_font_*
+ * src/print.c (print_job_info_get): printer_decoration_font replaces
+ printer_decoration_font_*
2003-11-02 J.H.M. Dassen (Ray) <jdassen debian org>
@@ -341,7 +341,7 @@
* src/gnumeric-gconf-priv.h: new keys:
PRINTSETUP_GCONF_HF_FONT_NAME, PRINTSETUP_GCONF_HF_FONT_SIZE,
PRINTSETUP_GCONF_HF_FONT_BOLD, PRINTSETUP_GCONF_HF_FONT_ITALIC
- * src/gnumeric-gconf.c (gnm_conf_init_extras): initialize new fields
+ * src/gnumeric-gconf.c (gnm_conf_init_extras): initialize new fields
* src/gnumeric-gconf.h: new fields for preference structure
* src/print.c (print_job_info_get): use preference info and fallback
fonts
@@ -451,7 +451,7 @@
2003-10-08 Jody Goldberg <jody gnome org>
- * configure.in : post release version bump
+ * configure.in : post release version bump
2003-10-08 Jody Goldberg <jody gnome org>
@@ -588,7 +588,7 @@
2003-09-22 Morten Welinder <terra gnome org>
* src/format.c (format_boolean): Use function.
- (format_value_gstring): Use format_boolean.
+ (format_value_gstring): Use format_boolean.
* src/number-match.c (format_match_simple): Ditto.
* src/value-sheet.c (value_dump): Ditto.
@@ -638,7 +638,7 @@
2003-09-15 Jon K Hellan <hellan acm org>
- * configure.in: Require libgsf-gnome-1 >= 1.8.2. No big deal, we
+ * configure.in: Require libgsf-gnome-1 >= 1.8.2. No big deal, we
were already requiring libgsf-1 >= 1.8.2 elsewhere.
Remove big bad "unstable branch" warning.
@@ -672,7 +672,7 @@
2003-09-14 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/gui-file.c (make_format_chooser): expect to receive the
+ * src/gui-file.c (make_format_chooser): expect to receive the
correct list of formats.
(gui_file_save_as): filter out FILE_SAVE_RANGE savers
@@ -684,7 +684,7 @@
2003-09-13 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/print-info.c (render_path): &[PATH] should not include
+ * src/print-info.c (render_path): &[PATH] should not include
basename
2003-09-13 Andreas J. Guelzow <aguelzow taliesin ca>
@@ -693,7 +693,7 @@
* src/print-info.c (render_tab): simplify default name
(render_file): show basename only and provide default
(render_path): new
- (render_opcode): remove unused code, don't strip and
+ (render_opcode): remove unused code, don't strip and
forget subformatting, don't use g_ascii_strcasecmp on
tranlated text.
@@ -866,7 +866,7 @@
2003-08-27 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/gui-util.c (gnm_pixbuf_intelligent_scale): use height and
+ * src/gui-util.c (gnm_pixbuf_intelligent_scale): use height and
width arguments
* src/gui-util.h (gnm_pixbuf_intelligent_scale): ditto
* src/workbook-control-gui.c: add #include
@@ -918,22 +918,22 @@
(selchanged_foreach) : deleted
(cb_file_open_selchanged) : deleted
* src/gui-util.h (gnumeric_dialog_image_file_selection): deleted
- * src/workbook-control-gui.c (cb_insert_image): use
+ * src/workbook-control-gui.c (cb_insert_image): use
preview_file_selection_new and not
gnumeric_dialog_image_file_selection
-
+
2003-08-25 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gui-util.c (gnumeric_dialog_file_selection):
watch for NULL wbcg
-
+
2003-08-25 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gui-util.c (selchanged_foreach): new
(cb_file_open_selchanged): new
(gnumeric_dialog_image_file_selection): new
* src/gui-util.h (gnumeric_dialog_image_file_selection): new
- * src/workbook-control-gui.c (cb_insert_image): use
+ * src/workbook-control-gui.c (cb_insert_image): use
gnumeric_dialog_image_file_selection
2003-08-25 Andreas J. Guelzow <aguelzow taliesin ca>
@@ -941,7 +941,7 @@
* src/GNOME_Gnumeric.xml: enable DataImportText
* src/gui-file.c (gui_file_open): add format argument
(file_opener_find_by_id): new
- * src/gui-file.h (gui_file_open): add format argument
+ * src/gui-file.h (gui_file_open): add format argument
* src/workbook-control-gui.c: enable DataImportText
(cb_file_open): add argument to gui_file_open
(cb_data_import_text): enable and implement
@@ -985,7 +985,7 @@
2003-08-23 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c (cmd_so_graph_config_redo): use
+ * src/commands.c (cmd_so_graph_config_redo): use
sheet_object_graph_set_gog
(cmd_so_graph_config_undo): ditto
(cmd_so_graph_config): initialize me->first_time
@@ -997,10 +997,10 @@
2003-08-23 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c
+ * src/commands.c
(cmd_reorganize_sheets_delete_get_this_sheet_info): do not
exclude graphs
-
+
2003-08-23 Andreas J. Guelzow <aguelzow taliesin ca>
* src/commands.c (cmd_so_graph_config*): new
@@ -1133,7 +1133,7 @@
2003-08-12 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/workbook-control.c (wb_control_parse_and_jump): make the range
+ * src/workbook-control.c (wb_control_parse_and_jump): make the range
also visible
2003-08-12 Morten Welinder <terra gnome org>
@@ -1150,7 +1150,7 @@
(sheet_filter_insdel_colrow) : and here. Only add a new field if a
col is inserted in the midst of a filter range. Inserting before or
after just ignores moves them.
-
+
(gnm_filter_add_field) : fix inserting fields in the middle.
* src/sheet.c (sheet_update_only_grid) : regenerate the menu here if
@@ -1172,7 +1172,7 @@
2003-08-09 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/sheet-object-graphic.c: replace helpfile address
+ * src/sheet-object-graphic.c: replace helpfile address
with #define from help.h
* src/sheet-object-widget.c: ditto
@@ -1180,7 +1180,7 @@
* src/sheet-filter.c (cb_filter_blanks): hide non-blanks
(cb_filter_non_blanks): hide blanks
-
+
2003-08-08 Andreas J. Guelzow <aguelzow taliesin ca>
* src/session.c: new
@@ -1194,16 +1194,16 @@
2003-08-07 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c
+ * src/commands.c
(cmd_reorganize_sheets_delete_get_this_sheet_info):
save sheet object and colrow info
(cmd_reorganize_sheets_delete_recreate_sheet): also
recreate sheet objects and set colrow info
- (cmd_reorganize_sheets_delete_free): free sheet object
+ (cmd_reorganize_sheets_delete_free): free sheet object
and colrow info
(cmd_reorganize_sheets): increade command size if sheets
are being deleted.
-
+
2003-08-06 Andreas J. Guelzow <aguelzow taliesin ca>
* src/commands.c (cmd_reorganize_sheets): add
@@ -1252,7 +1252,7 @@
2003-08-05 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c (cmd_text_to_columns_impl): save sheet
+ * src/commands.c (cmd_text_to_columns_impl): save sheet
index and update sheet pointer
2003-08-04 Andreas J. Guelzow <aguelzow taliesin ca>
@@ -1262,7 +1262,7 @@
2003-08-04 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c (cmd_analysis_tool_undo): call
+ * src/commands.c (cmd_analysis_tool_undo): call
dao_update_sheet_pointer before causing the sheet pointer to
be used
(cmd_analysis_tool_redo): ditto
@@ -1275,7 +1275,7 @@
2003-08-04 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c (cmd_ins_del_colrow*): use sheet info in
+ * src/commands.c (cmd_ins_del_colrow*): use sheet info in
me->cmd,sheet
(cmd_resize_colrow): ditto
(cmd_colrow_std_size): ditto
@@ -1343,7 +1343,7 @@
2003-08-01 Andreas J. Guelzow <aguelzow taliesin ca>
http://bugzilla.gnome.org/show_bug.cgi?id=118830
- * src/sheet.c (sheet_dup): convert to zoom factor 1 before
+ * src/sheet.c (sheet_dup): convert to zoom factor 1 before
duplicating
2003-08-01 Morten Welinder <terra gnome org>
@@ -1358,10 +1358,10 @@
* src/workbook-control-gui.c (sheet_action_clone_sheet):
use cmd_clone_sheet
(cb_edit_duplicate_sheet): use cmd_clone_sheet
-
+
2003-07-31 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/commands.c: switch from sheet pointer to sheet indices
+ * src/commands.c: switch from sheet pointer to sheet indices
throughout
(cmd_reorganize_sheets_delete_sheets): deleted
(cmd_reorganize_sheets_delete_get_this_sheet_info): new
@@ -1384,9 +1384,9 @@
(sheet_action_clone_sheet): temporarily append clone sheet (rather
than insert) to protect the undo-chain
(cb_edit_duplicate_sheet): ditto
- (cb_sheet_label_drag_data_received): change arguments to
+ (cb_sheet_label_drag_data_received): change arguments to
cmd_reorganize_sheets
- * src/workbook.c (workbook_sheet_by_index): handle index -1
+ * src/workbook.c (workbook_sheet_by_index): handle index -1
separately
(workbook_sheet_reorder): drop last argument
(workbook_sheet_reorder_by_idx): new
@@ -1394,7 +1394,7 @@
(workbook_sheet_rename): new
(workbook_sheet_rename_check): new
(workbook_sheet_change_protection): new
- (workbook_sheet_reorganize): delete
+ (workbook_sheet_reorganize): delete
* src/workbook.h (workbook_sheet_reorder): drop last argument
(workbook_sheet_reorder_by_idx): new
(workbook_sheet_recolor): new
@@ -1441,10 +1441,10 @@
2003-07-30 Andreas J. Guelzow <aguelzow taliesin ca>
* samples/test-math.gnumeric: add apostrophes around PASS and NO.
-
+
2003-07-30 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/workbook-control-gui.c: Change verb name ToolsScenario to
+ * src/workbook-control-gui.c: Change verb name ToolsScenario to
ToolsScenarioAdd
2003-07-28 Jody Goldberg <jody gnome org>
@@ -1505,10 +1505,10 @@
* src/commands.c (cmd_text_to_columns*): new
* src/commands.h (cmd_text_to_columns): new
- * src/gui-clipboard.c
+ * src/gui-clipboard.c
(text_to_cell_region): use stf_dialog_result_attach_formats_to_cr
* src/stf.c (stf_text_to_columns) use stf_parse_region and
- stf_dialog_result_attach_formats_to_cr rather than
+ stf_dialog_result_attach_formats_to_cr rather than
stf_store_results
2003-07-22 Jody Goldberg <jody gnome org>
@@ -1526,7 +1526,7 @@
2003-07-21 Andreas J. Guelzow <aguelzow taliesin ca>
http://bugzilla.gnome.org/show_bug.cgi?id=117409
- * src/stf-parse.c (stf_parse_region): fix one-off error in
+ * src/stf-parse.c (stf_parse_region): fix one-off error in
number of columns
2003-07-21 Morten Welinder <terra gnome org>
@@ -1802,7 +1802,7 @@
2003-07-06 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/stf-parse.c (stf_parse_sheet): no col_import_array means
+ * src/stf-parse.c (stf_parse_sheet): no col_import_array means
we want to import all columns
(stf_parse_region): ditto
* src/stf.c (stf_apply_formats): ditto
@@ -1817,7 +1817,7 @@
* src/GNOME_Gnumeric.xml: clean up the sheet insert/append issue
* src/workbook-control-gui.c: ditto
- (cb_insert_sheet): insert the sheet after the current sheet
+ (cb_insert_sheet): insert the sheet after the current sheet
rather than append
(cb_append_sheet): append a new sheet
(sheet_action_add_sheet): use cmd_... via cb_append_sheet rather
@@ -1829,7 +1829,7 @@
* src/gui-clipboard.c: change dialogresult->formats to
dialogresult->parseoptions->formats thoughout
* src/stf-parse.c (stf_parse_options_new): initialize formats
- (stf_parse_options_free (stf_parse_region): rewrite
+ (stf_parse_options_free (stf_parse_region): rewrite
* src/stf-parse.h: add formats list to parseoptions
* src/stf.c (stf_store_results): split into stf_store_results
and stf_apply_formats
@@ -1844,16 +1844,16 @@
2003-07-05 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/GNOME_Gnumeric.xml: adding ellipses to the stat analysis
+ * src/GNOME_Gnumeric.xml: adding ellipses to the stat analysis
menu items
* src/workbook-control-gui.c: ditto
2003-07-04 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/GNOME_Gnumeric.xml: fix tooltip inconsistence and
+ * src/GNOME_Gnumeric.xml: fix tooltip inconsistence and
add stock item to delete
* src/workbook-control-gui.c: ditto
-
+
2003-07-04 Rodrigo Moya <rodrigo gnome-db org>
* configure.in: require libgnomedb CVS version, for
@@ -1881,8 +1881,8 @@
2003-07-03 Jon K Hellan <hellan acm org>
- * src/sheet-object-graphic.c (sheet_object_graphic_user_config)
- (sheet_object_filled_user_config)
+ * src/sheet-object-graphic.c (sheet_object_graphic_user_config)
+ (sheet_object_filled_user_config)
(sheet_object_filled_user_config): Turn off color combo
tearoff behaviour in dialogs.
@@ -1992,7 +1992,7 @@
* src/stf-parse.c (stf_parse_options_new): initialize new fields
(stf_parse_options_free): free new fields
(stf_parse_csv_line): show all columns
- (stf_parse_sheet): only store selected rows (and formats vary within
+ (stf_parse_sheet): only store selected rows (and formats vary within
each row!)
* src/stf-parse.h: add col_import_array to parse_options
* src/stf.c (stf_store_results): apply only the format of selected
@@ -2053,7 +2053,7 @@
2003-06-25 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/func-builtin.c: change category name to match previous change
+ * src/func-builtin.c: change category name to match previous change
in fn-math plugin
2003-06-25 Jon K Hellan <hellan acm org>
@@ -2129,7 +2129,7 @@
* src/main-application.c (warn_about_ancient_gnumerics): change
Gnumeric URL
-
+
2003-06-23 Morten Welinder <terra gnome org>
* src/item-edit.c (item_edit_event): Use gnm_widget_set_cursor.
@@ -2184,7 +2184,7 @@
* src/gnumeric-gconf.h (gnm_gconf_set_printer_footer): new
(gnm_gconf_set_printer_header): new
(GnmAppPrefs): add header and footer fields
- * src/print-info.c (print_info_save): save footer and header to
+ * src/print-info.c (print_info_save): save footer and header to
gconf
(print_info_new): read footer and header to gconf
@@ -2238,7 +2238,7 @@
2003-06-20 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/print-info.c (print_info_new): set up (but disable) load of
+ * src/print-info.c (print_info_new): set up (but disable) load of
print-config from configuration string
* src/print.c (print_job_info_set_one_time_defaults): delete
(print_job_info_save_one_time_defaults): delete
@@ -2320,7 +2320,7 @@
2003-06-18 Andreas J. Guelzow <aguelzow taliesin ca>
* src/print-info.c (print_info_new): preserve the locale across
- the call to gnome_print_config_default.
+ the call to gnome_print_config_default.
(A workaround for a library bug.)
2003-06-17 Morten Welinder <terra gnome org>
@@ -2392,11 +2392,11 @@
* src/workbook-control-gui.c: Correct the description of the mean
test.
* src/GNOME_Gnumeric.xml: ditto
-
+
2003-06-12 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/workbook-control-gui.c: Improve the description of the mean
- test.
+ * src/workbook-control-gui.c: Improve the description of the mean
+ test.
2003-06-11 Jody Goldberg <jody gnome org>
@@ -2413,7 +2413,7 @@
* src/workbook-control-gui.c: ditto
* src/sheet-control-gui.c: change pop-up Add/Modify comment to
Edit Comment
-
+
2003-06-11 Andreas J. Guelzow <aguelzow taliesin ca>
* schemas/gnumeric-plugins.schemas.in: new
@@ -2466,7 +2466,7 @@
2003-06-11 Andreas J. Guelzow <aguelzow taliesin ca>
http://bugzilla.gnome.org/show_bug.cgi?id=114777
- * src/stf-export.c (stf_export_cell): quote content before
+ * src/stf-export.c (stf_export_cell): quote content before
converting it into some other encoding. (fix leaks on the side)
2003-06-10 Jody Goldberg <jody gnome org>
@@ -2751,12 +2751,12 @@
For Emmanuel Pacaud <emmanuel pacaud univ-poitiers fr>
http://bugzilla.gnome.org/show_bug.cgi?id=112713
- * src/gui-utils.[ch]
+ * src/gui-utils.[ch]
(gnumeric_button_new_with_stock_image) : new
(gnumeric_add_dialog_button) : new
(gnumeric_message_dialog_new) : new
* src/workbook-control-gui.c
- (workbook_close_if_user_permits) : build a HIG compliant
+ (workbook_close_if_user_permits) : build a HIG compliant
confirmation dialog
2003-06-03 Jody Goldberg <jody gnome org>
diff --git a/OChangeLog-2005-11-14 b/OChangeLog-2005-11-14
index 9d01883..5da6a09 100644
--- a/OChangeLog-2005-11-14
+++ b/OChangeLog-2005-11-14
@@ -305,7 +305,7 @@
2005-09-26 Jody Goldberg <jody gnome org>
* src/workbook-control-gui.c (show_gui) : protection against scg == NULL
- Wallenbach-Formulas2003/chap17/thermometer chart.xls
+ Wallenbach-Formulas2003/chap17/thermometer chart.xls
(disconnect_sheet_signals) : no need to warn when shutting down hidden
sheets.
@@ -597,7 +597,7 @@
* src/sheet.c (sheet_destroy_contents): Move sheet object
destruction here.
- (sheet_finalize): From here.
+ (sheet_finalize): From here.
2005-08-12 Morten Welinder <terra gnome org>
@@ -718,7 +718,7 @@
2005-07-26 Ivan, Wong Yat Cheung <email ivanwong info>
- * src/style.c (style_font_new_simple): use
+ * src/style.c (style_font_new_simple): use
pango_font_description_copy() so that we store the exact
font description we pass to pango. Partially Fix #161027.
@@ -783,7 +783,7 @@
2005-07-15 Jon K Hellan <hellan acm org>
* src/main-application.c (gnumeric_arg_parse): Call
- gnome_authentication_manager_init.
+ gnome_authentication_manager_init.
2005-07-14 Jon K Hellan <hellan acm org>
@@ -887,7 +887,7 @@
SHIFT is pressed, state given by widget parent window.
* src/sheet-control-gui.c (scg_drag_receive_same_scg): ditto.
(scg_objects_nudge): fix typo.
-
+
2005-06-22 Jody Goldberg <jody gnome org>
* src/Makefile.am : enable pango-test
@@ -1721,7 +1721,7 @@
* src/sheet-object.[ch]: Add sheet_object_get_target_list.
- * src/sheet-object-image.c (sheet_object_image_get_target_list):
+ * src/sheet-object-image.c (sheet_object_image_get_target_list):
New. Gets targets object is able render itself as.
(soi_imageable_init): Register get_target_list virtual.
@@ -1854,7 +1854,7 @@
* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char[]"
- to get rid of some warnings (unless we are on OS/2).
+ to get rid of some warnings (unless we are on OS/2).
* src/libgnumeric.c: Likewise.
2005-04-18 Stepan Kasal <kasal ucw cz>
@@ -1901,7 +1901,7 @@
* src/sheet-control-gui.c (scg_drag_receive_uri_list): Handle a
bunch of extra mime types for dropped files.
- (scg_drag_receive_cellregion,
+ (scg_drag_receive_cellregion,
(scg_drag_receive_same_proc_other_scg,
(scg_drag_send_clipboard_objects): Check that cell region is non
null before using it.
@@ -2021,7 +2021,7 @@
2005-04-02 Jean Brefort <jean brefort normalesup org>
- * src/style.c: (style_init), (style_shutdown): removed calls to
+ * src/style.c: (style_init), (style_shutdown): removed calls to
number_format_init/shutdown (moved to goffice).
2005-04-01 Steve Murphy <murf e-tools com>
@@ -2035,13 +2035,13 @@
2005-04-01 Jon K Hellan <hellan acm org>
- * src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom)
+ * src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom)
(gnm_so_polygon_write_xml_sax): Fix warnings.
2005-04-01 Jon K Hellan <hellan acm org>
* src/workbook-control-gui.c (wbcg_sheet_add): Make the
- GNUMERIC_SHEET target GTK_TARGET_SAME_APP.
+ GNUMERIC_SHEET target GTK_TARGET_SAME_APP.
(cb_wbcg_drag_data_received): Added source_widget parameter.
* src/sheet-object.c (sheet_object_rubber_band_directly): Always
@@ -2050,12 +2050,12 @@
* src/gnumeric-pane.c (drag_types_in, drag_types_out):
New. Supported drag targets.
(cb_pane_drag_data_received): Pass source widget to
- scg_drag_data_received.
+ scg_drag_data_received.
(cb_gnm_pane_drag_data_get): New. drag-data-get callback.
(cb_gnm_pane_drag_motion): New. drag-motion callback.
(cb_gnm_pane_drag_leave): New. drag-leave callback.
(gnm_pane_drag_dest_init): New. Factor out of gnm_pane_init and
- Connect drag-data-get, drag-motion and drag-leave callbacks.
+ Connect drag-data-get, drag-motion and drag-leave callbacks.
(gnm_pane_init): Use it.
(gnm_pane_objects_drag): New. Factored out of gnm_pane_object_move.
(gnm_pane_object_move): Use it.
@@ -2199,7 +2199,7 @@
gnm_app_clipboard_cut_copy_obj.
* src/application.c (gnm_app_clipboard_cut_copy_obj): Use
- clipboard_copy_obj.
+ clipboard_copy_obj.
2005-03-28 Morten Welinder <terra gnome org>
@@ -2247,9 +2247,9 @@
2005-03-23 Jon K Hellan <hellan acm org>
- * src/sheet-object-graph.c (sheet_object_graph_write_image):
+ * src/sheet-object-graph.c (sheet_object_graph_write_image):
New. Implements SheetObjectImageable. Extracted from
- sog_cb_save_as.
+ sog_cb_save_as.
(sog_cb_save_as): Use sheet_object_write_image.
(sog_imageable_init): SheetObjectImageable gobject voodoo.
@@ -2302,7 +2302,7 @@
* configure.in: AC_PREREQ(2.54)
- don't default to --without-gtk even if the reqs are not met;
- fail if someone tries --with-python=/path;
- - when searching for $PYTHON, try python2.4 and such;
+ - when searching for $PYTHON, try python2.4 and such;
- don't generate stamp.h; the issue is solved by Automake 1.7.2;
see info '(autoconf)Automatic Remaking' for details.
* stamp.h.in: Nuke.
@@ -2409,7 +2409,7 @@
* src/sheet-object-image.c (sheet_object_image_write_image):
New. Implements SheetObjectImageable. Extracted from
- soi_cb_save_as.
+ soi_cb_save_as.
(soi_cb_save_as): Use sheet_object_write_image.
(soi_imageable_init): SheetObjectImageable gobject voodoo.
@@ -2518,9 +2518,9 @@
2005-03-04 Emmanuel Pacaud <emmanuel pacaud univ-poitiers fr>
- * src/sheet-control-gui.c (apply_move): don't get rtl flag from
+ * src/sheet-control-gui.c (apply_move): don't get rtl flag from
gcanvas, since it can be not fully initialized.
-
+
2005-03-03 Jon K Hellan <hellan acm org>
* src/session.c (interaction_function): Deiconify toplevel before
@@ -2592,7 +2592,7 @@
2005-02-23 Jon K Hellan <hellan acm org>
- * src/workbook-control-gui.c (cb_sheet_label_drag_data_received,
+ * src/workbook-control-gui.c (cb_sheet_label_drag_data_received,
cb_sheet_label_drag_leave, cb_sheet_label_drag_motion): Don't
crash or complain if drag source is in a different process.
@@ -2704,7 +2704,7 @@
2005-02-06 Jean Brefort <jean brefort normalesup org>
* src/sheet-object-widget.c: (cb_adjustment_value_changed): avoid
- recalculation on update, fixes #166085.
+ recalculation on update, fixes #166085.
(sheet_widget_adjustment_init_full),
(cb_adjustment_config_ok_clicked),
(sheet_widget_adjustment_write_xml_sax),
@@ -2787,7 +2787,7 @@
2005-01-27 Emmanuel Pacaud <emmanuel pacaud univ-poitiers fr>
- * src/gnumeric-canvas.c (gnm_canvas_key_mode_object): delta is
+ * src/gnumeric-canvas.c (gnm_canvas_key_mode_object): delta is
1.0 / FooCanvas::pixels_per_unit for correct behaviour when zoom is !=
100 %
@@ -2856,7 +2856,7 @@
with feedback from scg_object_drags. With snap to grid real move can
be different than what asked.
(cb_slide_handler): update call to gnm_pane_object_move.
- (cb_control_point_event): update call to scg_object_drag.
+ (cb_control_point_event): update call to scg_object_drag.
Pass shift state to gnm_pane_object_move.
* src/sheet-control-gui.c (snap_pos_to_grid): new.
(snap_to_grid): new.
@@ -3125,7 +3125,7 @@
adding extension.
(gui_file_save_as): don't exit when file exists and
user do not want to overwrite. Back to the file chooser instead.
-
+
2005-01-12 Jody Goldberg <jody gnome org>
* src/wbcg-actions.c (cb_help_docs) : minor warning suppression
@@ -3326,7 +3326,7 @@
print_info_set_paper_height, print_info_get_paper_width,
print_info_get_paper_height): New, get and set functions for
paper_width and paper_height.
- * src/print-info.c (print_info_free, print_info_new, print_info_dup):
+ * src/print-info.c (print_info_free, print_info_new, print_info_dup):
Extended to handle the two fields added to struct PrintInformation.
2004-12-10 Jody Goldberg <jody gnome org>
@@ -3555,14 +3555,14 @@
2004-11-07 J.H.M. Dassen (Ray) <jdassen debian org>
* configure.in: Call the "make" command for PY_EXTRA_LIBS with "-s".
- Without it, out-of-source builds have problems due to interference
+ Without it, out-of-source builds have problems due to interference
from make printing entering/leaving directory messages.
* configure.in: Corrected $(GNUMERIC_PLUGIN_LDFLAGS) to
$GNUMERIC_PLUGIN_LDFLAGS.
2004-11-07 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/gnumeric-gconf.c (go_conf_get_short_desc) return
+ * src/gnumeric-gconf.c (go_conf_get_short_desc) return
NULL if we don't have a desription
(go_conf_get_long_desc): ditto
@@ -3596,14 +3596,14 @@
(gnm_gconf_set_unfocused_rs): new
(gnm_gconf_set_num_recent_functions): new
(gnm_gconf_set_prefer_clipboard): new
-
+
2004-11-06 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gnumeric-gconf.h (gnm_gconf_set_gui_resolution_h): new
(gnm_gconf_set_gui_resolution_v): new
* src/gnumeric-gconf.c (gnm_gconf_set_gui_resolution_h): new
(gnm_gconf_set_gui_resolution_v): new
-
+
2004-11-05 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gnumeric-gconf.h (gnm_gconf_set_file_overwrite): new
@@ -3646,7 +3646,7 @@
2004-11-05 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/gnumeric-gconf.c (gnm_gconf_set_default_font_name): avoid
+ * src/gnumeric-gconf.c (gnm_gconf_set_default_font_name): avoid
warning
2004-11-02 Stepan Kasal <kasal ucw cz>
@@ -3706,7 +3706,7 @@
(gnm_gconf_set_default_font_name): new
(gnm_gconf_set_default_font_bold): new
(gnm_gconf_set_default_font_italic): new
-
+
2004-11-03 Jody Goldberg <jody gnome org>
* configure.in : fix the python test and sync it with the perl test
@@ -3766,12 +3766,12 @@
* src/gui-util.h (gnm_iter_search_t): new type
(gnm_tree_model_iter_prev): new
* src/gui-util.c (gnm_tree_model_iter_prev): new
-
+
2004-10-30 Stepan Kasal <kasal ucw cz>
A cleanup of ssconvert; don't require Gnome.
- * src/ssconvert.c (list_them): New general function which lists
+ * src/ssconvert.c (list_them): New general function which lists
importers or exporters.
(convert): New function; the main functionality moved here.
(mail): Use the above functions; call gsf_init and don't use
@@ -3888,7 +3888,7 @@
* plugins/excel/ms-chart.c (BC_R): handle dash_type property.
(ms_excel_chart_read): use GO_LINE_NONE ofr invisible lines.
-
+
2004-10-27 Morten Welinder <terra gnome org>
* src/complex.c (complex_div, complex_sqrt): Improve accuracy.
@@ -3920,7 +3920,7 @@
Don't crash but warn when no load_base method.
* src/plugin-service.c: (plugin_service_function_group_func_desc_load)
Don't crash but warn when no func_desc_load method.
-
+
2004-10-21 Morten Welinder <terra gnome org>
* src/mathfunc.c (logfbit): Make global.
@@ -3942,7 +3942,7 @@
(stf_parse_sheet): set cols_exceeded
* src/stf-parse.h: add cols_exceeded to StfParseOptions_t
* src/stf.c (stf_apply_formats): remove warning
- (stf_read_workbook_auto_csvtab): show warning if
+ (stf_read_workbook_auto_csvtab): show warning if
cols_exceeded is set.
2004-10-21 Yukihiro Nakai <nakai gnome gr jp>
@@ -3954,14 +3954,14 @@
2004-10-20 Andreas J. Guelzow <aguelzow taliesin ca>
- * schemas/gnumeric-general.schemas.in: change recalclag
+ * schemas/gnumeric-general.schemas.in: change recalclag
description
2004-10-20 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/stf-parse.c (stf_parse_options_new): initialize
+ * src/stf-parse.c (stf_parse_options_new): initialize
col_import_array_len
- (stf_parse_sheet): make sure we don't index beyond the end
+ (stf_parse_sheet): make sure we don't index beyond the end
of the col_import_array
(stf_parse_region): ditto
* src/stf.c (stf_apply_formats): ditto
@@ -4089,7 +4089,7 @@
* src/sheet-object-widget.c : Add a ToggleButton type.
(sheet_widget_checkbox_get_ref) : weaken to allow relative references
and assume they are relative to A1.
- (sheet_widget_adjustment_get_ref) :
+ (sheet_widget_adjustment_get_ref) :
2004-10-10 Jody Goldberg <jody gnome org>
@@ -4655,7 +4655,7 @@
2004-09-08 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/wbcg-actions.c: Correct Z-Test menu item description and
+ * src/wbcg-actions.c: Correct Z-Test menu item description and
title. We do not allow large sample calculations.
2004-09-07 Jody Goldberg <jody gnome org>
@@ -4681,7 +4681,7 @@
* src/wbcg-actions.c (cb_edit_search_replace_query): Ditto.
* src/workbook-control-gui.c (wbcg_error_error) Ditto.
- (wbcg_close_if_user_permits):
+ (wbcg_close_if_user_permits):
2004-09-06 Jody Goldberg <jody gnome org>
@@ -4844,7 +4844,7 @@
2004-08-27 Jon K Hellan <hellan acm org>
http://bugzilla.gnome.org/show_bug.cgi?id=151152
-
+
* src/workbook-control-gui.c (wbcg_close_if_user_permits): Define
responses GNM_RESPONSE_SAVE_ALL, GNM_RESPONSE_DISCARD_ALL. These
are negative, to work with druid logic in gnumeric_dialog_run.
@@ -4853,7 +4853,7 @@
* src/gui-file.c (gui_wb_view_show): New. Factored out of
gui_file_read. Show view in a wbcg. Use current or new wbcg
- according to policy.
+ according to policy.
(gui_file_read): Use it.
2004-08-26 Morten Welinder <terra gnome org>
@@ -5129,7 +5129,7 @@
2004-07-27 Andreas J. Guelzow <aguelzow taliesin ca>
* configure.in: use AM_PROG_LEX rather than AC_PROG_LEX
-
+
2004-07-27 Jody Goldberg <jody gnome org>
* src/wbc-gtk.c (cb_regenerate_window_menu) : new.
@@ -5350,7 +5350,7 @@
2004-07-07 Andreas J. Guelzow <aguelzow taliesin ca>
- * src/gnumeric-gconf.c (go_conf_get_short_desc): Check for NULL
+ * src/gnumeric-gconf.c (go_conf_get_short_desc): Check for NULL
pointer
(go_conf_get_long_desc): ditto
@@ -5505,7 +5505,7 @@
* src/gui-file.c (gui_file_read, do_save_as, go_file_is_writable):
Changed to take uri. All callers changed.
-
+
* src/workbook-view.c (wb_view_new_from_uri): Renamed from
wb_view_new_from_file and adapted to take uri. All callers
changed.
@@ -5593,12 +5593,12 @@
* src/commands.h (cmd_reorganize_sheets): add arguments
* src/commands.c: add NULL arguments to all calls to
cmd_reorganize_sheets throughout.
- (cmd_reorganize_sheets_*): handle visibility changes
+ (cmd_reorganize_sheets_*): handle visibility changes
* src/sheet.h (sheet_set_visibility): new
(sheet): add is_visible field
* src/sheet.c (sheet_set_visibility): new
(sheet_new): initalize is_visible field
- * src/workbook-control-gui.c: add NULL arguments to all calls to
+ * src/workbook-control-gui.c: add NULL arguments to all calls to
cmd_reorganize_sheets
* src/workbook.h (workbook_sheet_change_visibility): new
* src/workbook.c (workbook_sheet_change_visibility): new
@@ -5633,9 +5633,9 @@
2004-05-11 Andreas J. Guelzow <aguelzow taliesin ca>
http://bugzilla.gnome.org/show_bug.cgi?id=142836
- * src/stf.c (stf_write_csv): use current sheet rather than first
- sheet.
-
+ * src/stf.c (stf_write_csv): use current sheet rather than first
+ sheet.
+
2004-05-17 Morten Welinder <terra gnome org>
* src/sheet-autofill.c (autofill_cell): Handle default case, just
@@ -6095,7 +6095,7 @@
* src/graph.c (gnm_go_data_vector_load_values): changed initial maximum
from G_MINDOUBLE to - G_MAXDOUBLE.
-
+
2004-03-13 Christopher James Lahey <clahey ximian com>
* configure.in: Added
@@ -6378,7 +6378,7 @@
2004-02-01 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gui-util.c (gu_delete_handler): new
- (gnumeric_dialog_file_selection): catch window manager deletion
+ (gnumeric_dialog_file_selection): catch window manager deletion
of the dialog.
2004-01-28 Jody Goldberg <jody gnome org>
@@ -6396,7 +6396,7 @@
2004-01-28 Andreas J. Guelzow <aguelzow taliesin ca>
* src/gnumeric-gconf-priv.h: add many more printing related keys
- * src/gnumeric-gconf.c (gnm_conf_init_essential): initialize
+ * src/gnumeric-gconf.c (gnm_conf_init_essential): initialize
printing variables from gconf
(gnm_gconf_set_print_center_horizontally): implement
(gnm_gconf_set_print_center_vertically): implement
@@ -6435,7 +6435,7 @@
(gnm_gconf_set_print_repeat_left): new stub
(gnm_gconf_set_print_tb_margins): new stub
(gnm_gconf_set_print_header_formats): new stub
- * src/gnumeric-gconf.h: various new functions (see above) and
+ * src/gnumeric-gconf.h: various new functions (see above) and
fields to the pref structure.
* src/print-info.c: remove dependence on libgnome/gnome-config.h
(load_margin): deleted
@@ -6559,7 +6559,7 @@
http://bugzilla.gnome.org/show_bug.cgi?id=131343
* src/print.c (print_job_info_update_from_config): new
- (print_job_info_get): move some code into
+ (print_job_info_get): move some code into
print_job_info_update_from_config
(sheet_print): call print_job_info_update_from_config after the
user may have changed the paper info in the print dialog.
diff --git a/component/Gnumeric-embed.xml.in b/component/Gnumeric-embed.xml.in
index 1a660d3..fb2d918 100644
--- a/component/Gnumeric-embed.xml.in
+++ b/component/Gnumeric-embed.xml.in
@@ -62,7 +62,7 @@
<menuitem action="EditComment"/>
<menuitem action="EditHyperlink"/>
<menuitem action="EditNames"/>
- </menu>
+ </menu>
<separator name="edit-sep3"/>
<menuitem action="EditFind"/>
<menuitem action="EditReplace"/>
@@ -119,7 +119,7 @@
<menuitem action="SheetInsert"/>
<separator/>
<menuitem action="ChartGuru"/>
-<!-- These don't work yet for Gnome 2
+<!-- These don't work yet for Gnome 2
<menuitem action="InsertComponent" />
<menuitem action="InsertShapedComponent" />
<separator/>
diff --git a/configure.in b/configure.in
index 7d7916b..3587b75 100644
--- a/configure.in
+++ b/configure.in
@@ -127,7 +127,7 @@ CPPFLAGS=${_cppflags}
LDFLAGS=${_ldflags}
dnl **********
-dnl * Goffice
+dnl * Goffice
dnl **********
# Goffice releases are parallel installable, which do we depend on
GOFFICE_API_VER="0.8"
@@ -198,7 +198,7 @@ else
ui_msg="Gtk"
PKG_CHECK_MODULES(GTK, [$libspreadsheet_gtk_reqs])
PKG_CHECK_MODULES(GTK, [$gnumeric_gtk_reqs])
-fi
+fi
if test "x$gnumeric_with_gtk" = xtrue ; then
AC_DEFINE(GNM_WITH_GTK, 1, [Define if UI is built])
@@ -636,7 +636,7 @@ dnl We use a more straightforward approach for po-functions:
dnl 1) We create POTFILES immediately here.
dnl 2) We let config.status to create Makefile.in.
dnl 3) We use AC_CONFIG_COMMANDS to create Makefile.
-dnl
+dnl
[# Create po-functions/POTFILES:
if test -d po-functions; then
rm -f po-functions/POTFILES
diff --git a/doc/developer/Makefile.am b/doc/developer/Makefile.am
index ef0527a..b8d1a12 100644
--- a/doc/developer/Makefile.am
+++ b/doc/developer/Makefile.am
@@ -20,4 +20,4 @@ starting-with-python.html \
stf-export.txt \
stf-parser.txt \
translating.sgml \
-writing-functions.sgml
+writing-functions.sgml
diff --git a/idl/Makefile.am b/idl/Makefile.am
index a0785c6..523d37e 100644
--- a/idl/Makefile.am
+++ b/idl/Makefile.am
@@ -29,7 +29,7 @@ nodist_libGnumericIDL_a_SOURCES = \
$(GNUMERIC_GENERATED) \
$(EVOLUTION_GENERATED)
-stamp_Gnumeric_idl: $(srcdir)/GNOME_Gnumeric.idl
+stamp_Gnumeric_idl: $(srcdir)/GNOME_Gnumeric.idl
$(ORBIT_IDL) -I$(srcdir) $< && touch $@
$(GNUMERIC_GENERATED): stamp_Gnumeric_idl
@@ -44,7 +44,7 @@ $(EVOLUTION_GENERATED): stamp_evolution_idl
endif
idldir = $(gnumeric_datadir)/idl
-idl_DATA = GNOME_Gnumeric.idl
+idl_DATA = GNOME_Gnumeric.idl
EXTRA_DIST = $(idl_DATA)
diff --git a/plugins/corba/Makefile.am b/plugins/corba/Makefile.am
index b659bd3..15906ff 100644
--- a/plugins/corba/Makefile.am
+++ b/plugins/corba/Makefile.am
@@ -24,13 +24,13 @@ nodist_corba_la_SOURCES = \
# A hint is needed to build the header first:
BUILT_SOURCES = GNOME_Gnumeric.h
-stamp_Gnumeric_idl: $(srcdir)/GNOME_Gnumeric.idl
+stamp_Gnumeric_idl: $(srcdir)/GNOME_Gnumeric.idl
$(ORBIT_IDL) -I$(srcdir) $< && touch $@
$(nodist_corba_la_SOURCES): stamp_Gnumeric_idl
idldir = $(gnumeric_datadir)/idl
-idl_DATA = GNOME_Gnumeric.idl
+idl_DATA = GNOME_Gnumeric.idl
xml_in_files = plugin.xml.in
xml_DATA = $(xml_in_files:.xml.in=.xml)
diff --git a/plugins/excel/ms-excel-read.c b/plugins/excel/ms-excel-read.c
index 8a9fede..5316ab7 100644
--- a/plugins/excel/ms-excel-read.c
+++ b/plugins/excel/ms-excel-read.c
@@ -1670,8 +1670,8 @@ excel_read_FONT (BiffQuery *q, GnmXLImporter *importer)
d (1, g_printerr ("Insert font '%s' (%d) size %d pts color %d\n",
fd->fontname, fd->index, fd->height / 20, fd->color_idx););
d (3, g_printerr ("Font color = 0x%x\n", fd->color_idx););
-
- g_hash_table_insert (importer->font_data,
+
+ g_hash_table_insert (importer->font_data,
GINT_TO_POINTER (fd->index), fd);
}
diff --git a/plugins/excel/xlsx-read-drawing.c b/plugins/excel/xlsx-read-drawing.c
index eaf8ad7..81c2c1f 100644
--- a/plugins/excel/xlsx-read-drawing.c
+++ b/plugins/excel/xlsx-read-drawing.c
@@ -476,7 +476,7 @@ xlsx_axis_start (GsfXMLIn *xin, xmlChar const **attrs)
static void
xlsx_axis_crosses_at (GsfXMLIn *xin, xmlChar const **attrs)
{
- /* This element specifies where on the axis the perpendicular axis crosses.
+ /* This element specifies where on the axis the perpendicular axis crosses.
The units are dependent on the type of axis.
When specified as a child element of valAx, the value is a decimal number on the value axis. When specified as a
child element of dateAx, the date is defined as a integer number of days relative to the base date of the current
@@ -994,7 +994,7 @@ xlsx_chart_grad_stop (GsfXMLIn *xin, xmlChar const **attrs)
for (; attrs != NULL && attrs[0] && attrs[1] ; attrs += 2)
if (attr_int (xin, attrs, "pos", &pos)) {
if (pos <= 50000) {
- /* FIXME: use betstate->auto_colorter gradients
+ /* FIXME: use betstate->auto_colorter gradients
* for now, we only support stops at 0 and 1 */
state->gocolor = &state->cur_style->fill.pattern.back;
state->auto_color = &state->cur_style->fill.auto_back;
@@ -1436,7 +1436,7 @@ GSF_XML_IN_NODE_FULL (START, CHART_SPACE, XL_NS_CHART, "chartSpace", GSF_XML_NO_
GSF_XML_IN_NODE (VAL_AXIS, VAL_AXIS_CROSSBETWEEN, XL_NS_CHART, "crossBetween", GSF_XML_NO_CONTENT, NULL, NULL),
GSF_XML_IN_NODE (VAL_AXIS, SHAPE_PR, XL_NS_CHART, "spPr", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd Def */
GSF_XML_IN_NODE (VAL_AXIS, TEXT_PR, XL_NS_CHART, "txPr", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd Def */
-
+
GSF_XML_IN_NODE_FULL (PLOTAREA, DATE_AXIS, XL_NS_CHART, "dateAx", GSF_XML_NO_CONTENT, FALSE, TRUE,
&xlsx_axis_start, &xlsx_axis_end, XLSX_AXIS_DATE),
GSF_XML_IN_NODE (DATE_AXIS, AXIS_AUTO, XL_NS_CHART, "auto", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd Def */
@@ -1455,7 +1455,7 @@ GSF_XML_IN_NODE_FULL (START, CHART_SPACE, XL_NS_CHART, "chartSpace", GSF_XML_NO_
GSF_XML_IN_NODE (DATE_AXIS, VAL_AXIS_TICKLBLPOS, XL_NS_CHART, "tickLblPos", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd Def */
GSF_XML_IN_NODE (DATE_AXIS, SHAPE_PR, XL_NS_CHART, "spPr", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd Def */
GSF_XML_IN_NODE (DATE_AXIS, TEXT_PR, XL_NS_CHART, "txPr", GSF_XML_NO_CONTENT, NULL, NULL), /* 2nd Def */
-
+
GSF_XML_IN_NODE (PLOTAREA, LAYOUT, XL_NS_CHART, "layout", GSF_XML_NO_CONTENT, NULL, NULL),
GSF_XML_IN_NODE (LAYOUT, LAST_LAYOUT, XL_NS_CHART, "lastLayout", GSF_XML_NO_CONTENT, NULL, NULL),
GSF_XML_IN_NODE (LAST_LAYOUT, LAYOUT_X, XL_NS_CHART, "x", GSF_XML_NO_CONTENT, NULL, NULL),
@@ -1789,7 +1789,7 @@ xlsx_draw_anchor_start (GsfXMLIn *xin, xmlChar const **attrs)
XLSXReadState *state = (XLSXReadState *)xin->user_state;
g_return_if_fail (state->so == NULL);
-
+
memset ((gpointer)state->drawing_pos, 0, sizeof (state->drawing_pos));
state->drawing_pos_flags = 0;
}
@@ -1939,7 +1939,7 @@ xlsx_blip_start (GsfXMLIn *xin, xmlChar const **attrs)
sheet_object_image_set_image (SHEET_OBJECT_IMAGE (state->so),
gsf_open_pkg_rel_get_type (rel), data, size, FALSE);
}
-
+
}
static GsfXMLInNode const xlsx_drawing_dtd[] = {
@@ -2164,7 +2164,7 @@ xlsx_sheet_drawing (GsfXMLIn *xin, xmlChar const **attrs)
******************************************************************************/
/* define an approximate horizontal scale factor to align controls with cells */
-#define XLSX_SHEET_HSCALE 1.165
+#define XLSX_SHEET_HSCALE 1.165
static void
xlsx_vml_group (GsfXMLIn *xin, xmlChar const **attrs)
diff --git a/plugins/excel/xlsx-read.c b/plugins/excel/xlsx-read.c
index e3bad14..1d4315e 100644
--- a/plugins/excel/xlsx-read.c
+++ b/plugins/excel/xlsx-read.c
@@ -182,7 +182,7 @@ typedef struct {
/* Legacy drawing state */
double grp_offset[4];
GSList *grp_stack;
-
+
/* Charting state */
GogGraph *graph;
GogChart *chart;
diff --git a/plugins/excel/xlsx-write-drawing.c b/plugins/excel/xlsx-write-drawing.c
index 3b24f6f..a070cf6 100644
--- a/plugins/excel/xlsx-write-drawing.c
+++ b/plugins/excel/xlsx-write-drawing.c
@@ -115,7 +115,7 @@ static void
xlsx_write_rgbarea (GsfXMLOut *xml, GOColor color)
{
char *buf = g_strdup_printf ("%06x", (guint) color >> 8);
- int alpha = GO_COLOR_UINT_A (color);
+ int alpha = GO_COLOR_UINT_A (color);
gsf_xml_out_start_element (xml, "a:srgbClr");
gsf_xml_out_add_cstr_unchecked (xml, "val", buf);
g_free (buf);
@@ -142,7 +142,7 @@ xlsx_write_go_style (GsfXMLOut *xml, GOStyle *style)
xlsx_write_rgbarea (xml, style->line.color);
gsf_xml_out_end_element (xml);
}
-
+
gsf_xml_out_end_element (xml);
}
if ((style->interesting_fields & GO_STYLE_FILL) &&
@@ -244,7 +244,7 @@ xlsx_write_chart (XLSXWriteState *state, GsfOutput *chart_part, SheetObject *so)
gsf_xml_out_start_element (xml, "c:overlap");
gsf_xml_out_add_int (xml, "val", overlap_percentage);
gsf_xml_out_end_element (xml);
-
+
gsf_xml_out_start_element (xml, "c:gapWidth");
gsf_xml_out_add_int (xml, "val", gap_percentage);
gsf_xml_out_end_element (xml);
@@ -309,7 +309,7 @@ xlsx_write_chart (XLSXWriteState *state, GsfOutput *chart_part, SheetObject *so)
(use_splines?
(has_markers? "smoothMarker": "smooth"):
(has_markers? "lineMarker": "line")):
- (has_markers? "markers": "none");
+ (has_markers? "markers": "none");
use_xy = TRUE;
gsf_xml_out_start_element (xml, "c:scatterChart");
xlsx_write_chart_cstr_unchecked (xml, "c:scatterStyle", style);
diff --git a/plugins/excel/xlsx-write.c b/plugins/excel/xlsx-write.c
index 8e04c05..9a7057f 100644
--- a/plugins/excel/xlsx-write.c
+++ b/plugins/excel/xlsx-write.c
@@ -1038,7 +1038,7 @@ xlsx_write_comments (XLSXWriteState *state, GsfOutput *sheet_part, GSList *objec
gsf_xml_out_add_cstr_unchecked (xml, "ref", range_as_string (&anchor->cell_bound));
authorname = cell_comment_author_get (CELL_COMMENT (ptr->data));
if (authorname != NULL)
- gsf_xml_out_add_uint (xml, "authorId",
+ gsf_xml_out_add_uint (xml, "authorId",
GPOINTER_TO_UINT (g_hash_table_lookup (authors, authorname)));
gsf_xml_out_start_element (xml, "text");
/* Save text as rich text */
diff --git a/plugins/excelplugins/excelplugins.c b/plugins/excelplugins/excelplugins.c
index 52e5f01..e6a81df 100644
--- a/plugins/excelplugins/excelplugins.c
+++ b/plugins/excelplugins/excelplugins.c
@@ -993,9 +993,9 @@ scan_for_XLLs_and_register_functions (const gchar *dir_name)
} else {
GO_SLIST_PREPEND (XLLs,xll);
/* xgettext : %lu gives the number of functions. This is input to ngettext. */
- g_message (ngettext("Loaded %lu function from XLL/DLL/SO %s.",
+ g_message (ngettext("Loaded %lu function from XLL/DLL/SO %s.",
"Loaded %lu functions from XLL/DLL/SO %s.",
- xll->number_of_functions),
+ xll->number_of_functions),
xll->number_of_functions, full_entry_name);
}
}
diff --git a/plugins/fn-complex/ChangeLog b/plugins/fn-complex/ChangeLog
index 92bb93a..42013cc 100644
--- a/plugins/fn-complex/ChangeLog
+++ b/plugins/fn-complex/ChangeLog
@@ -8,7 +8,7 @@
(help_imcsc): ditto
(help_imcot): ditto
(help_imexp): add example
-
+
2011-02-02 Morten Welinder <terra gnome org>
* Release 1.10.13
diff --git a/plugins/fn-lookup/ChangeLog b/plugins/fn-lookup/ChangeLog
index 014bd2f..db9bbac 100644
--- a/plugins/fn-lookup/ChangeLog
+++ b/plugins/fn-lookup/ChangeLog
@@ -13,7 +13,7 @@
2010-11-24 Andreas J. Guelzow <aguelzow pyrshep ca>
* plugins/fn-lookup/functions.c (help_vlookup): fix fn_note
- (help_hlookup): fix description
+ (help_hlookup): fix description
2010-10-01 Morten Welinder <terra gnome org>
diff --git a/plugins/fn-math/ChangeLog b/plugins/fn-math/ChangeLog
index 823dda7..6c5ee40 100644
--- a/plugins/fn-math/ChangeLog
+++ b/plugins/fn-math/ChangeLog
@@ -18,7 +18,7 @@
2011-01-23 Andreas J. Guelzow <aguelzow pyrshep ca>
* functions.c (help_atan2): fix order of arguments
-
+
2010-11-25 Morten Welinder <terra gnome org>
* Release 1.10.12
diff --git a/plugins/fn-math/functions.c b/plugins/fn-math/functions.c
index cab5727..702eb14 100644
--- a/plugins/fn-math/functions.c
+++ b/plugins/fn-math/functions.c
@@ -1870,7 +1870,7 @@ gnumeric_sign (GnmFuncEvalInfo *ei, GnmValue const * const *argv)
/***************************************************************************/
static GnmFuncHelp const help_sqrtpi[] = {
- { GNM_FUNC_HELP_NAME, F_("SQRTPI:the square root of @{x} times "
+ { GNM_FUNC_HELP_NAME, F_("SQRTPI:the square root of @{x} times "
"\xcf\x80")},
{ GNM_FUNC_HELP_ARG, F_("x:non-negative number")},
{ GNM_FUNC_HELP_EXCEL, F_("This function is Excel compatible.") },
diff --git a/plugins/fn-stat/ChangeLog b/plugins/fn-stat/ChangeLog
index 041091c..5688282 100644
--- a/plugins/fn-stat/ChangeLog
+++ b/plugins/fn-stat/ChangeLog
@@ -5,7 +5,7 @@
2011-04-08 Andreas J. Guelzow <aguelzow pyrshep ca>
* functions.c (gnumeric_ssmedian): fix typo
-
+
2011-03-24 Morten Welinder <terra gnome org>
* Release 1.10.14
diff --git a/plugins/fn-tsa/Makefile.am b/plugins/fn-tsa/Makefile.am
index 5c158c9..b675ff8 100644
--- a/plugins/fn-tsa/Makefile.am
+++ b/plugins/fn-tsa/Makefile.am
@@ -3,11 +3,11 @@ AM_CPPFLAGS = \
-I$(top_srcdir)/src -I$(top_builddir)/src \
$(GNUMERIC_CFLAGS)
-
+
gnumeric_plugin_fn_tsadir = $(gnumeric_plugindir)/fn-tsa
xmldir = $(gnumeric_plugin_fn_tsadir)
-gnumeric_plugin_fn_tsa_LTLIBRARIES = plugin.la
+gnumeric_plugin_fn_tsa_LTLIBRARIES = plugin.la
plugin_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS)
plugin_la_SOURCES = \
functions.c
diff --git a/plugins/fn-tsa/plugin.xml.in b/plugins/fn-tsa/plugin.xml.in
index 97a3385..36ebf54 100644
--- a/plugins/fn-tsa/plugin.xml.in
+++ b/plugins/fn-tsa/plugin.xml.in
@@ -17,5 +17,5 @@
<function name="fourier"/>
</functions>
</service>
- </services>
+ </services>
</plugin>
diff --git a/plugins/html/ChangeLog b/plugins/html/ChangeLog
index d2f15a4..e7c93e6 100644
--- a/plugins/html/ChangeLog
+++ b/plugins/html/ChangeLog
@@ -11,7 +11,7 @@
* latex.c (file_saver_sheet_get_extent): new
(latex_file_save): use file_saver_sheet_get_extent
(latex_table_file_save): use file_saver_sheet_get_extent
-
+
2010-11-25 Morten Welinder <terra gnome org>
* Release 1.10.12
diff --git a/plugins/html/Makefile.am b/plugins/html/Makefile.am
index 0d0a7db..00a1f1e 100644
--- a/plugins/html/Makefile.am
+++ b/plugins/html/Makefile.am
@@ -12,7 +12,7 @@ html_la_SOURCES = \
html.h html.c html_read.c \
latex.h latex.c \
roff.h roff.c \
- font.h font.c
+ font.h font.c
#No longer used now that printing is available.
#epsf.h epsf.c ps.h ps.c
diff --git a/plugins/html/latex.c b/plugins/html/latex.c
index 3964c8a..d5a8799 100644
--- a/plugins/html/latex.c
+++ b/plugins/html/latex.c
@@ -1167,8 +1167,8 @@ latex2e_print_hhline (GsfOutput *output, GnmStyleBorderType *clines, int n, GnmS
static GnmRange
file_saver_sheet_get_extent (Sheet *sheet)
{
- GnmRangeRef *range
- = g_object_get_data (G_OBJECT (sheet->workbook),
+ GnmRangeRef *range
+ = g_object_get_data (G_OBJECT (sheet->workbook),
"ssconvert-range");
if (range) {
Sheet *start_sheet, *end_sheet;
diff --git a/plugins/html/plugin.xml.in b/plugins/html/plugin.xml.in
index 00d8251..f302dcf 100644
--- a/plugins/html/plugin.xml.in
+++ b/plugins/html/plugin.xml.in
@@ -37,7 +37,7 @@
<_description>XHTML (*.html)</_description>
</information>
</service>
- <service type="file_saver" id="xhtml_range"
+ <service type="file_saver" id="xhtml_range"
save_scope="range"
file_extension="html" format_level="write_only">
<information>
diff --git a/plugins/openoffice/ChangeLog b/plugins/openoffice/ChangeLog
index 579537a..1387b04 100644
--- a/plugins/openoffice/ChangeLog
+++ b/plugins/openoffice/ChangeLog
@@ -11,7 +11,7 @@
2011-03-14 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (oo_table_end): set sheet to NULL
- (oo_named_expr): handle missing base and expression name
+ (oo_named_expr): handle missing base and expression name
spaces
(opendoc_content_dtd): connect named-expressions element to
table
@@ -21,33 +21,33 @@
2011-03-13 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_write_named_expression): new
- (odf_write_content): call odf_write_named_expression as
+ (odf_write_content): call odf_write_named_expression as
appropriate
(odf_write_gnm_settings): use odf_add_bool
2011-02-16 Andreas J. Guelzow <aguelzow pyrshep ca>
- * openoffice-read.c (odf_validation_new_list): also read
+ * openoffice-read.c (odf_validation_new_list): also read
expressions as allowed in ODF1.2
- (odf_validations_translate): add a few stubs for other
+ (odf_validations_translate): add a few stubs for other
validation types.
- * openoffice-write.c (odf_write_objects): don't write
+ * openoffice-write.c (odf_write_objects): don't write
validation combos
(odf_write_cell): write validation name
(odf_validation_general_attributes): new
(odf_validation_in_list): new
(odf_print_spreadsheet_content_validations): new
(odf_print_spreadsheet_content_prelude): connect the above
-
+
2011-02-15 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (odf_validation_t): add field
(odf_validation_new_list): new
- (odf_validations_translate): call odf_validation_new_list
+ (odf_validations_translate): call odf_validation_new_list
if applicable
(odf_validation_new): initialize new field
(odf_validation): determine name space
-
+
2011-02-14 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-read.c (odf_validations_translate): new
@@ -58,34 +58,34 @@
(oo_cell_start): read validation name
(opendoc_content_dtd): connect odf_validation
(openoffice_file_open): initialize and free validation hash
-
+
2011-02-02 Morten Welinder <terra gnome org>
* Release 1.10.13
2010-12-11 Andreas J. Guelzow <aguelzow pyrshep ca>
- * openoffice-read.c (oo_cellref_parse): enlarge the sheet if we
+ * openoffice-read.c (oo_cellref_parse): enlarge the sheet if we
encounter a reference off the sheet.
2010-11-30 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_write_cell): Write office:string-value.
The element content may differ also for strings depending on format.
- * openoffice-read.c (oo_cell_start): ODF uses office:string-value,
+ * openoffice-read.c (oo_cell_start): ODF uses office:string-value,
while oldstyle OOo uses table:string-value.
(odf_text_content): new
(styles_dtd): connect handlers for children of number:text-style
-
+
2010-11-30 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_write_style_goformat_name): also write
data styles for text formats
-
+
2010-11-30 Andreas J. Guelzow <aguelzow pyrshep ca>
- * openoffice-read.c (styles_dtd): connect style:map handling to
- number:text-style since OOo seems to use maps attached to
+ * openoffice-read.c (styles_dtd): connect style:map handling to
+ number:text-style since OOo seems to use maps attached to
number:text-style to render dates that it flagged as numbers.
2010-11-25 Morten Welinder <terra gnome org>
@@ -95,7 +95,7 @@
2010-11-17 Andreas J. Guelzow <aguelzow pyrshep ca>
* plugin.xml.in: we are supporting ots not odt files. [#635111]
-
+
2010-11-05 Andreas J. Guelzow <aguelzow pyrshep ca>
* openoffice-write.c (odf_write_sheet): get the correct extent
diff --git a/plugins/openoffice/openoffice-read.c b/plugins/openoffice/openoffice-read.c
index 3a41e28..3cddad2 100644
--- a/plugins/openoffice/openoffice-read.c
+++ b/plugins/openoffice/openoffice-read.c
@@ -1146,7 +1146,7 @@ two_quotes :
if (ss->max_cols <= ref->col || ss->max_rows <= ref->row)
return start;
}
-
+
if (ref->col_relative)
ref->col -= pp->eval.col;
if (ref->row_relative)
@@ -1405,11 +1405,11 @@ odf_validation_new_list (GsfXMLIn *xin, odf_validation_t *val)
OOParseState *state = (OOParseState *)xin->user_state;
GnmValidation *validation = NULL;
char *start, *end;
- GString *str;
+ GString *str;
GnmExprTop const *texpr = NULL;
GnmParsePos pp;
-
+
start = strchr (val->condition, '(');
end = strrchr (val->condition, ')');
@@ -1419,13 +1419,13 @@ odf_validation_new_list (GsfXMLIn *xin, odf_validation_t *val)
pp = state->pos;
if (val->base_cell_address != NULL) {
char *tmp = g_strconcat ("[", val->base_cell_address, "]", NULL);
- texpr = oo_expr_parse_str
+ texpr = oo_expr_parse_str
(xin, tmp, &pp,
- GNM_EXPR_PARSE_FORCE_EXPLICIT_SHEET_REFERENCES,
+ GNM_EXPR_PARSE_FORCE_EXPLICIT_SHEET_REFERENCES,
FORMULA_OPENFORMULA);
g_free (tmp);
if (texpr != NULL) {
- if (GNM_EXPR_GET_OPER (texpr->expr) ==
+ if (GNM_EXPR_GET_OPER (texpr->expr) ==
GNM_EXPR_OP_CELLREF) {
GnmCellRef const *ref = &texpr->expr->cellref.ref;
parse_pos_init (&pp, state->pos.wb, ref->sheet,
@@ -1444,8 +1444,8 @@ odf_validation_new_list (GsfXMLIn *xin, odf_validation_t *val)
g_string_append_len (str, start + 1, end - start - 1);
}
- texpr = oo_expr_parse_str (xin, str->str, &pp,
- GNM_EXPR_PARSE_DEFAULT,
+ texpr = oo_expr_parse_str (xin, str->str, &pp,
+ GNM_EXPR_PARSE_DEFAULT,
val->f_type);
if (texpr != NULL)
@@ -1453,11 +1453,11 @@ odf_validation_new_list (GsfXMLIn *xin, odf_validation_t *val)
VALIDATION_TYPE_IN_LIST,
VALIDATION_OP_NONE,
NULL, NULL,
- texpr,
+ texpr,
NULL,
val->allow_blank,
val->use_dropdown);
-
+
g_string_free (str, TRUE);
return validation;
@@ -1471,38 +1471,38 @@ odf_validations_translate (GsfXMLIn *xin, char const *name)
GnmValidation *validation = NULL;
if (val == NULL) {
- oo_warning
- (xin, _("Undefined validation style encountered: %s"),
+ oo_warning
+ (xin, _("Undefined validation style encountered: %s"),
name);
return NULL;
}
-
+
if (val->condition != NULL && val->f_type != FORMULA_NOT_SUPPORTED) {
-
+
if (g_str_has_prefix (val->condition, "cell-content-is-in-list"))
validation = odf_validation_new_list (xin, val);
- else if (g_str_has_prefix (val->condition,
+ else if (g_str_has_prefix (val->condition,
"cell-content-text-length()"))
/* validation = odf_validation_new_ (xin, val) */;
- else if (g_str_has_prefix (val->condition,
+ else if (g_str_has_prefix (val->condition,
"cell-content-text-length-is-between"))
/* validation = odf_validation_new_ (xin, val) */;
- else if (g_str_has_prefix
- (val->condition,
+ else if (g_str_has_prefix
+ (val->condition,
"cell-content-text-length-is-not-between"))
/* validation = odf_validation_new_ (xin, val) */;
- else if (g_str_has_prefix
- (val->condition,
+ else if (g_str_has_prefix
+ (val->condition,
"cell-content-is-decimal-number () and"))
/* validation = odf_validation_new_ (xin, val) */;
- else if (g_str_has_prefix
- (val->condition,
+ else if (g_str_has_prefix
+ (val->condition,
"cell-content-is-whole-number() and"))
/* validation = odf_validation_new_ (xin, val) */;
- else if (g_str_has_prefix (val->condition,
+ else if (g_str_has_prefix (val->condition,
"cell-content-is-date() and"))
/* validation = odf_validation_new_ (xin, val) */;
- else if (g_str_has_prefix (val->condition,
+ else if (g_str_has_prefix (val->condition,
"cell-content-is-time() and "))
/* validation = odf_validation_new_ (xin, val) */;
else if (g_str_has_prefix (val->condition, "is-true-formula"))
@@ -1513,9 +1513,9 @@ odf_validations_translate (GsfXMLIn *xin, char const *name)
if (NULL == (err = validation_is_ok (validation)))
return validation;
else {
- oo_warning (xin,
+ oo_warning (xin,
_("Ignoring invalid data "
- "validation because : %s"),
+ "validation because : %s"),
_(err->message));
validation_unref (validation);
return NULL;
@@ -1572,7 +1572,7 @@ odf_validation (GsfXMLIn *xin, xmlChar const **attrs)
validation->f_type = odf_get_formula_type (xin, &cond);
validation->condition = g_strdup (cond);
} else if (oo_attr_bool (xin, attrs,
- OO_NS_TABLE, "allow-empty-cell",
+ OO_NS_TABLE, "allow-empty-cell",
&validation->allow_blank)) {
} else if (oo_attr_enum (xin, attrs, OO_NS_TABLE, "display-list", dropdown_types, &tmp)) {
validation->use_dropdown = (tmp == 1);
@@ -2082,8 +2082,8 @@ oo_cell_start (GsfXMLIn *xin, xmlChar const **attrs)
val = value_new_float (secs / (gnm_float)86400);
has_time = TRUE;
}
- } else if (gsf_xml_in_namecmp (xin, CXML2C (attrs[0]),
- (state->ver == OOO_VER_OPENDOC) ? OO_NS_OFFICE : OO_NS_TABLE,
+ } else if (gsf_xml_in_namecmp (xin, CXML2C (attrs[0]),
+ (state->ver == OOO_VER_OPENDOC) ? OO_NS_OFFICE : OO_NS_TABLE,
"string-value"))
val = value_new_string (CXML2C (attrs[1]));
else if (oo_attr_float (xin, attrs,
@@ -2156,7 +2156,7 @@ oo_cell_start (GsfXMLIn *xin, xmlChar const **attrs)
gnm_style_ref (style);
}
- if ((validation_name != NULL) &&
+ if ((validation_name != NULL) &&
(NULL != (validation = odf_validations_translate (xin, validation_name)))) {
if (style == NULL)
style = gnm_style_new_default ();
@@ -4733,43 +4733,43 @@ oo_named_expr (GsfXMLIn *xin, xmlChar const **attrs)
/* Note that base_str is not required */
if (base_str != NULL) {
char *tmp = g_strconcat ("[", base_str, "]", NULL);
-
- texpr = oo_expr_parse_str
+
+ texpr = oo_expr_parse_str
(xin, tmp, &pp,
- GNM_EXPR_PARSE_FORCE_EXPLICIT_SHEET_REFERENCES,
+ GNM_EXPR_PARSE_FORCE_EXPLICIT_SHEET_REFERENCES,
FORMULA_OPENFORMULA);
g_free (tmp);
-
+
if (texpr == NULL ||
- GNM_EXPR_GET_OPER (texpr->expr)
+ GNM_EXPR_GET_OPER (texpr->expr)
!= GNM_EXPR_OP_CELLREF) {
oo_warning (xin, _("expression '%s' @ '%s' "
"is not a cellref"),
name, base_str);
} else {
- GnmCellRef const *ref =
+ GnmCellRef const *ref =
&texpr->expr->cellref.ref;
parse_pos_init (&pp, state->pos.wb, ref->sheet,
ref->col, ref->row);
}
if (texpr != NULL)
gnm_expr_top_unref (texpr);
-
+
}
f_type = odf_get_formula_type (xin, &expr_str);
if (f_type == FORMULA_NOT_SUPPORTED) {
- oo_warning
+ oo_warning
(xin, _("Expression '%s' has "
- "unknown namespace"),
+ "unknown namespace"),
expr_str);
} else {
-
+
/* Note that an = sign is only required if a */
/* name space is given. */
if (*expr_str == '=')
expr_str++;
-
+
texpr = oo_expr_parse_str (xin, expr_str,
&pp, GNM_EXPR_PARSE_DEFAULT,
f_type);
@@ -4777,7 +4777,7 @@ oo_named_expr (GsfXMLIn *xin, xmlChar const **attrs)
pp.sheet = state->pos.sheet;
if (pp.sheet == NULL && scope != NULL)
pp.sheet = workbook_sheet_by_name (pp.wb, scope);
- expr_name_add (&pp, name, texpr, NULL,
+ expr_name_add (&pp, name, texpr, NULL,
TRUE, NULL);
}
}
diff --git a/plugins/openoffice/openoffice-write.c b/plugins/openoffice/openoffice-write.c
index f419a4a..902be7b 100644
--- a/plugins/openoffice/openoffice-write.c
+++ b/plugins/openoffice/openoffice-write.c
@@ -2799,7 +2799,7 @@ odf_write_empty_cell (GnmOOExport *state, int num, GnmStyle const *style, GSList
TABLE "content-validation-name", vname);
g_free (vname);
}
-
+
}
odf_write_objects (state, objects);
gsf_xml_out_end_element (state->xml); /* table-cell */
@@ -3738,16 +3738,16 @@ static void
odf_validation_general_attributes (GnmOOExport *state, GnmValidation const *val)
{
char *name = g_strdup_printf ("VAL-%p", val);
-
+
gsf_xml_out_add_cstr (state->xml, TABLE "name", name);
g_free (name);
odf_add_bool (state->xml, TABLE "allow-empty-cell", val->allow_blank);
- gsf_xml_out_add_cstr (state->xml, TABLE "display-list",
+ gsf_xml_out_add_cstr (state->xml, TABLE "display-list",
val->use_dropdown ? "unsorted" : "none");
}
static void
-odf_validation_in_list (GnmOOExport *state, GnmValidation const *val,
+odf_validation_in_list (GnmOOExport *state, GnmValidation const *val,
Sheet *sheet, GnmStyleRegion const *sr)
{
GnmExprTop const *texpr;
@@ -3756,15 +3756,15 @@ odf_validation_in_list (GnmOOExport *state, GnmValidation const *val,
GnmCellRef ref;
GString *str;
- gnm_cellref_init (&ref, sheet,
- sr->range.start.col,
+ gnm_cellref_init (&ref, sheet,
+ sr->range.start.col,
sr->range.start.row, TRUE);
texpr = gnm_expr_top_new (gnm_expr_new_cellref (&ref));
- parse_pos_init (&pp, (Workbook *)state->wb, sheet,
- sr->range.start.col,
+ parse_pos_init (&pp, (Workbook *)state->wb, sheet,
+ sr->range.start.col,
sr->range.start.row);
formula = gnm_expr_top_as_string (texpr, &pp, state->conv);
- gsf_xml_out_add_cstr (state->xml, TABLE "base-cell-address",
+ gsf_xml_out_add_cstr (state->xml, TABLE "base-cell-address",
odf_strip_brackets (formula));
g_free (formula);
gnm_expr_top_unref (texpr);
@@ -3785,7 +3785,7 @@ odf_print_spreadsheet_content_validations (GnmOOExport *state)
{
gboolean element_written = FALSE;
int i;
-
+
for (i = 0; i < workbook_sheet_count (state->wb); i++) {
Sheet *sheet = workbook_sheet_by_index (state->wb, i);
GnmStyleList *list, *l;
@@ -3798,15 +3798,15 @@ odf_print_spreadsheet_content_validations (GnmOOExport *state)
if (val->type == VALIDATION_TYPE_IN_LIST) {
if (!element_written) {
- gsf_xml_out_start_element
+ gsf_xml_out_start_element
(state->xml, TABLE "content-validations");
element_written = TRUE;
}
- gsf_xml_out_start_element (state->xml,
+ gsf_xml_out_start_element (state->xml,
TABLE "content-validation");
odf_validation_general_attributes (state, val);
odf_validation_in_list (state, val, sheet, sr);
- gsf_xml_out_end_element (state->xml);
+ gsf_xml_out_end_element (state->xml);
/* </table:content-validation> */
}
}
@@ -3860,7 +3860,7 @@ odf_write_named_expression (gpointer key, GnmNamedExpr *nexpr, GnmOOExport *stat
GnmCellRef ref;
GnmExprTop const *texpr;
Sheet *sheet;
-
+
g_return_if_fail (nexpr != NULL);
sheet = nexpr->pos.sheet;
@@ -3868,21 +3868,21 @@ odf_write_named_expression (gpointer key, GnmNamedExpr *nexpr, GnmOOExport *stat
sheet = workbook_sheet_by_index (state->wb, 0);
name = expr_name_name (nexpr);
- is_range = nexpr->texpr && !expr_name_is_placeholder (nexpr)
+ is_range = nexpr->texpr && !expr_name_is_placeholder (nexpr)
&& gnm_expr_top_is_rangeref (nexpr->texpr);
if (is_range) {
gsf_xml_out_start_element (state->xml, TABLE "named-range");
gsf_xml_out_add_cstr (state->xml, TABLE "name", name);
-
+
formula = gnm_expr_top_as_string (nexpr->texpr,
&nexpr->pos,
state->conv);
gsf_xml_out_add_cstr (state->xml, TABLE "cell-range-address",
odf_strip_brackets (formula));
g_free (formula);
-
- gnm_cellref_init (&ref, sheet, nexpr->pos.eval.col,
+
+ gnm_cellref_init (&ref, sheet, nexpr->pos.eval.col,
nexpr->pos.eval.row, FALSE);
texpr = gnm_expr_top_new (gnm_expr_new_cellref (&ref));
formula = gnm_expr_top_as_string (texpr, &nexpr->pos, state->conv);
@@ -3891,22 +3891,22 @@ odf_write_named_expression (gpointer key, GnmNamedExpr *nexpr, GnmOOExport *stat
odf_strip_brackets (formula));
g_free (formula);
gnm_expr_top_unref (texpr);
-
+
gsf_xml_out_add_cstr_unchecked
- (state->xml, TABLE "range-usable-as",
+ (state->xml, TABLE "range-usable-as",
"print-range filter repeat-row repeat-column");
-
- if (nexpr->pos.sheet != NULL && state->with_extension
+
+ if (nexpr->pos.sheet != NULL && state->with_extension
&& (get_gsf_odf_version () < 102))
- gsf_xml_out_add_cstr (state->xml, GNMSTYLE "scope",
+ gsf_xml_out_add_cstr (state->xml, GNMSTYLE "scope",
nexpr->pos.sheet->name_unquoted);
gsf_xml_out_end_element (state->xml); /* </table:named-range> */
} else {
- gsf_xml_out_start_element
+ gsf_xml_out_start_element
(state->xml, TABLE "named-expression");
gsf_xml_out_add_cstr (state->xml, TABLE "name", name);
-
+
formula = gnm_expr_top_as_string (nexpr->texpr,
&nexpr->pos,
state->conv);
@@ -3917,8 +3917,8 @@ odf_write_named_expression (gpointer key, GnmNamedExpr *nexpr, GnmOOExport *stat
} else
gsf_xml_out_add_cstr (state->xml, TABLE "expression", formula);
g_free (formula);
-
- gnm_cellref_init (&ref, sheet, nexpr->pos.eval.col,
+
+ gnm_cellref_init (&ref, sheet, nexpr->pos.eval.col,
nexpr->pos.eval.row, FALSE);
texpr = gnm_expr_top_new (gnm_expr_new_cellref (&ref));
formula = gnm_expr_top_as_string (texpr, &nexpr->pos, state->conv);
@@ -3928,11 +3928,11 @@ odf_write_named_expression (gpointer key, GnmNamedExpr *nexpr, GnmOOExport *stat
g_free (formula);
gnm_expr_top_unref (texpr);
- if (nexpr->pos.sheet != NULL && state->with_extension
+ if (nexpr->pos.sheet != NULL && state->with_extension
&& (get_gsf_odf_version () < 102))
- gsf_xml_out_add_cstr (state->xml, GNMSTYLE "scope",
+ gsf_xml_out_add_cstr (state->xml, GNMSTYLE "scope",
nexpr->pos.sheet->name_unquoted);
-
+
gsf_xml_out_end_element (state->xml); /* </table:named-expression> */
}
}
@@ -4043,7 +4043,7 @@ odf_write_content (GnmOOExport *state, GsfOutput *child)
}
if (state->wb->names != NULL) {
gsf_xml_out_start_element (state->xml, TABLE "named-expressions");
- workbook_foreach_name
+ workbook_foreach_name
(state->wb, (get_gsf_odf_version () > 101),
(GHFunc)&odf_write_named_expression, state);
gsf_xml_out_end_element (state->xml); /* </table:named-expressions> */
@@ -5160,21 +5160,21 @@ odf_write_plot_style (GnmOOExport *state, GogObject const *plot)
if (state->with_extension) {
if (0 == strcmp ( "XLSurfacePlot", plot_type))
- odf_add_bool (state->xml, GNMSTYLE "multi-series",
+ odf_add_bool (state->xml, GNMSTYLE "multi-series",
TRUE);
odf_write_plot_style_bool (state->xml, plot, klass,
"outliers", GNMSTYLE "outliers");
odf_write_plot_style_double (state->xml, plot, klass,
- "radius-ratio", GNMSTYLE
+ "radius-ratio", GNMSTYLE
"radius-ratio");
-
+
odf_write_plot_style_bool (state->xml, plot, klass,
- "vary-style-by-element",
+ "vary-style-by-element",
GNMSTYLE "vary-style-by-element");
-
+
odf_write_plot_style_bool (state->xml, plot, klass,
- "show-negatives",
+ "show-negatives",
GNMSTYLE "show-negatives");
}
diff --git a/plugins/paradox/ChangeLog b/plugins/paradox/ChangeLog
index 68eb60c..1f90038 100644
--- a/plugins/paradox/ChangeLog
+++ b/plugins/paradox/ChangeLog
@@ -5,7 +5,7 @@
2011-02-08 Andreas J. Guelzow <aguelzow pyrshep ca>
* paradox.c (paradox_file_save): use ngettext
-
+
2011-02-02 Morten Welinder <terra gnome org>
* Release 1.10.13
diff --git a/plugins/paradox/paradox.c b/plugins/paradox/paradox.c
index 043e824..7c2d06f 100644
--- a/plugins/paradox/paradox.c
+++ b/plugins/paradox/paradox.c
@@ -532,7 +532,7 @@ paradox_file_save (GOFileSaver const *fs, GOIOContext *io_context,
if (nlen > pxf[i].px_flen)
/* xgettext : last %d gives the number of characters.*/
/* This is input to ngettext. */
- g_warning
+ g_warning
(ngettext
("Field %d in line %d has possibly "
"been cut off. Data has %d character.",
diff --git a/plugins/python-loader/Makefile.am b/plugins/python-loader/Makefile.am
index 9c40e5a..c8bd911 100644
--- a/plugins/python-loader/Makefile.am
+++ b/plugins/python-loader/Makefile.am
@@ -10,7 +10,7 @@ gnumeric_plugin_python_loaderdir = $(gnumeric_plugindir)/python-loader
xmldir = $(gnumeric_plugin_python_loaderdir)
gnumeric_plugin_python_loader_LTLIBRARIES = python_loader.la
-python_loader_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS) $(GNM_PY_LDFLAGS)
+python_loader_la_LDFLAGS = -module $(GNUMERIC_PLUGIN_LDFLAGS) $(GNM_PY_LDFLAGS)
python_loader_la_LIBADD = $(GNM_PY_LIBADD)
python_loader_la_SOURCES = \
python-loader.h \
diff --git a/schemas/Makefile.am b/schemas/Makefile.am
index 4635940..04b6c87 100644
--- a/schemas/Makefile.am
+++ b/schemas/Makefile.am
@@ -1,4 +1,4 @@
-schema_in_files = gnumeric-dialogs.schemas.in gnumeric-general.schemas.in gnumeric-plugins.schemas.in
+schema_in_files = gnumeric-dialogs.schemas.in gnumeric-general.schemas.in gnumeric-plugins.schemas.in
if WITH_GCONF
schemadir = @GCONF_SCHEMA_FILE_DIR@
schema_DATA = $(schema_in_files:.schemas.in=.schemas)
diff --git a/schemas/gnumeric-dialogs.schemas.in b/schemas/gnumeric-dialogs.schemas.in
index 04ad35a..c19ff6e 100644
--- a/schemas/gnumeric-dialogs.schemas.in
+++ b/schemas/gnumeric-dialogs.schemas.in
@@ -207,7 +207,7 @@
<default>[,&\[TAB\],]</default>
<locale name="C">
<short>Page Header</short>
- <long>The default page header for new documents that can be modified using the
+ <long>The default page header for new documents that can be modified using the
page setup dialog.</long>
</locale>
</schema>
@@ -220,7 +220,7 @@
<default>[,Page &\[PAGE\],]</default>
<locale name="C">
<short>Page Footer</short>
- <long>The default page footer for new documents that can be modified using the
+ <long>The default page footer for new documents that can be modified using the
page setup dialog.</long>
</locale>
</schema>
@@ -743,4 +743,4 @@
</schema>
</schemalist>
</gconfschemafile>
-
+
diff --git a/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in b/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in
index c4063fc..d4f5af7 100644
--- a/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in
+++ b/schemas/org.gnome.gnumeric.dialogs.gschema.xml.in.in
@@ -101,13 +101,13 @@
<key name="header" type="as">
<default>['','&\[TAB\]','']</default>
<_summary>Page Header</_summary>
- <_description>The default page header for new documents that can be modified using the
+ <_description>The default page header for new documents that can be modified using the
page setup dialog.</_description>
</key>
<key name="footer" type="as">
<default>['','Page &\[PAGE\]','']</default>
<_summary>Page Footer</_summary>
- <_description>The default page footer for new documents that can be modified using the
+ <_description>The default page footer for new documents that can be modified using the
page setup dialog.</_description>
</key>
<key name="hf-font-size" type="d">
@@ -355,4 +355,4 @@
<_description>This is the default error behavior of Search & Replace indicated by an integer from 0 to 4.</_description>
</key>
</schema>
-</schemalist>
+</schemalist>
diff --git a/src/GNOME_Gnumeric-gtk.xml.in b/src/GNOME_Gnumeric-gtk.xml.in
index 7563005..89c3ab3 100644
--- a/src/GNOME_Gnumeric-gtk.xml.in
+++ b/src/GNOME_Gnumeric-gtk.xml.in
@@ -63,7 +63,7 @@
<menuitem action="EditComment"/>
<menuitem action="EditHyperlink"/>
<menuitem action="EditNames"/>
- </menu>
+ </menu>
<separator name="edit-sep3"/>
<menuitem action="EditFind"/>
<menuitem action="EditReplace"/>
@@ -120,7 +120,7 @@
<menuitem action="SheetInsert"/>
<separator/>
<menuitem action="ChartGuru"/>
-<!-- These don't work yet for Gnome 2
+<!-- These don't work yet for Gnome 2
<menuitem action="InsertComponent" />
<menuitem action="InsertShapedComponent" />
<separator/>
diff --git a/src/HILDON_Gnumeric-gtk.xml.in b/src/HILDON_Gnumeric-gtk.xml.in
index 2c253fe..01b623e 100644
--- a/src/HILDON_Gnumeric-gtk.xml.in
+++ b/src/HILDON_Gnumeric-gtk.xml.in
@@ -74,7 +74,7 @@
<menuitem action="EditComment"/>
<menuitem action="EditHyperlink"/>
<menuitem action="EditNames"/>
- </menu>
+ </menu>
<separator name="edit-sep3"/>
<menuitem action="EditFind"/>
<menuitem action="EditReplace"/>
@@ -129,7 +129,7 @@
<menuitem action="SheetInsert"/>
<separator/>
<menuitem action="ChartGuru"/>
-<!-- These don't work yet for Gnome 2
+<!-- These don't work yet for Gnome 2
<menuitem action="InsertComponent" />
<menuitem action="InsertShapedComponent" />
<separator/>
diff --git a/src/Makefile.am b/src/Makefile.am
index 9e21083..8dff92b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -370,7 +370,7 @@ if WITH_NATIVE_WIN32
endif
if WITH_WIN32
-libspreadsheet.def: local.def
+libspreadsheet.def: local.def
echo EXPORTS > $@ && \
cat $^ | sort >> $@
@@ -395,7 +395,7 @@ stamp-local.def: $(libspreadsheet_include_HEADERS) Makefile $(top_srcdir)/tools/
&& (cmp -s xgen-localdef.2 local.def || \
cp xgen-localdef.2 local.def) \
&& rm -f xgen-localdef.1 xgen-localdef.2 \
- && echo timestamp > $@
+ && echo timestamp > $@
endif
diff --git a/src/commands.c b/src/commands.c
index cfcc930..0a7f556 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -806,7 +806,7 @@ cmd_set_text_full_check_markup (GnmCellIter const *iter, PangoAttrList *markup)
static gboolean
cmd_set_text_full (WorkbookControl *wbc, GSList *selection, GnmEvalPos *ep,
- char const *new_text, PangoAttrList *markup,
+ char const *new_text, PangoAttrList *markup,
gboolean autocorrect)
{
GSList *l;
@@ -898,7 +898,7 @@ cmd_set_text_full (WorkbookControl *wbc, GSList *selection, GnmEvalPos *ep,
char *corrected;
gboolean same_text = TRUE;
gboolean same_markup = TRUE;
-
+
if (new_text == NULL)
corrected = NULL;
else if (autocorrect)
diff --git a/src/commands.h b/src/commands.h
index 4b310f3..58c613e 100644
--- a/src/commands.h
+++ b/src/commands.h
@@ -126,7 +126,7 @@ gboolean cmd_set_comment (WorkbookControl *wbc, Sheet *sheet,
gboolean cmd_analysis_tool (WorkbookControl *wbc, Sheet *sheet,
data_analysis_output_t *dao, gpointer specs,
- analysis_tool_engine engine,
+ analysis_tool_engine engine,
gboolean always_take_ownership);
gboolean cmd_merge_data (WorkbookControl *wbc, Sheet *sheet,
diff --git a/src/cut-n-paste-code/Makefile.am b/src/cut-n-paste-code/Makefile.am
index 150a20f..741f850 100644
--- a/src/cut-n-paste-code/Makefile.am
+++ b/src/cut-n-paste-code/Makefile.am
@@ -1 +1 @@
-SUBDIRS =
+SUBDIRS =
diff --git a/src/dead-kittens.h b/src/dead-kittens.h
index ce527de..20f2e4e 100644
--- a/src/dead-kittens.h
+++ b/src/dead-kittens.h
@@ -1635,7 +1635,7 @@
do { \
if ((t)) GTK_WIDGET_SET_FLAGS ((w), GTK_CAN_FOCUS); \
else GTK_WIDGET_UNSET_FLAGS ((w), GTK_CAN_FOCUS); \
- } while (0)
+ } while (0)
#endif
#ifndef HAVE_GTK_WIDGET_GET_REALIZED
diff --git a/src/dialogs/ChangeLog b/src/dialogs/ChangeLog
index bf1efee..04affdf 100644
--- a/src/dialogs/ChangeLog
+++ b/src/dialogs/ChangeLog
@@ -12,7 +12,7 @@
2011-04-10 Andreas J. Guelzow <aguelzow pyrshep ca>
- * dialog-autofilter.c (cb_top10_count_changed): clarify the meaning
+ * dialog-autofilter.c (cb_top10_count_changed): clarify the meaning
of the percentage option
2011-04-10 Andreas J. Guelzow <aguelzow pyrshep ca>
diff --git a/src/dialogs/dialog-analysis-tool-chi-squared.c b/src/dialogs/dialog-analysis-tool-chi-squared.c
index 0c13a10..f8608cd 100644
--- a/src/dialogs/dialog-analysis-tool-chi-squared.c
+++ b/src/dialogs/dialog-analysis-tool-chi-squared.c
@@ -103,7 +103,7 @@ chi_squared_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
if (!cmd_analysis_tool (data->wbc, state->base.sheet,
- dao, data, analysis_tool_chi_squared_engine,
+ dao, data, analysis_tool_chi_squared_engine,
TRUE))
gtk_widget_destroy (state->base.dialog);
diff --git a/src/dialogs/dialog-analysis-tool-frequency.c b/src/dialogs/dialog-analysis-tool-frequency.c
index 20f3404..65e48f0 100644
--- a/src/dialogs/dialog-analysis-tool-frequency.c
+++ b/src/dialogs/dialog-analysis-tool-frequency.c
@@ -182,9 +182,9 @@ frequency_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
w = go_gtk_builder_get_widget (state->base.gui, "exact-button");
data->exact = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
- if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
+ if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
state->base.sheet,
- dao, data, analysis_tool_frequency_engine,
+ dao, data, analysis_tool_frequency_engine,
TRUE))
gtk_widget_destroy (state->base.dialog);
diff --git a/src/dialogs/dialog-analysis-tool-kaplan-meier.c b/src/dialogs/dialog-analysis-tool-kaplan-meier.c
index 0a2fb18..f3440d5 100644
--- a/src/dialogs/dialog-analysis-tool-kaplan-meier.c
+++ b/src/dialogs/dialog-analysis-tool-kaplan-meier.c
@@ -292,7 +292,7 @@ kaplan_meier_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
data->std_err = gtk_toggle_button_get_active (
GTK_TOGGLE_BUTTON (state->std_error_button));
- if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
+ if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
state->base.sheet,
dao, data, analysis_tool_kaplan_meier_engine,
TRUE))
diff --git a/src/dialogs/dialog-analysis-tool-normality.c b/src/dialogs/dialog-analysis-tool-normality.c
index ebb02c8..95c3e27 100644
--- a/src/dialogs/dialog-analysis-tool-normality.c
+++ b/src/dialogs/dialog-analysis-tool-normality.c
@@ -161,9 +161,9 @@ normality_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
w = go_gtk_builder_get_widget (state->base.gui, "normalprobabilityplot");
data->graph = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
- if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
+ if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
state->base.sheet,
- dao, data, analysis_tool_normality_engine,
+ dao, data, analysis_tool_normality_engine,
TRUE))
gtk_widget_destroy (state->base.dialog);
diff --git a/src/dialogs/dialog-analysis-tool-principal-components.c b/src/dialogs/dialog-analysis-tool-principal-components.c
index 531bbec..e161123 100644
--- a/src/dialogs/dialog-analysis-tool-principal-components.c
+++ b/src/dialogs/dialog-analysis-tool-principal-components.c
@@ -123,7 +123,7 @@ principal_components_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
data->labels = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
if (cmd_analysis_tool (WORKBOOK_CONTROL (state->wbcg), state->sheet,
- dao, data,
+ dao, data,
analysis_tool_principal_components_engine,
TRUE)) {
char *text;
diff --git a/src/dialogs/dialog-analysis-tool-sign-test.c b/src/dialogs/dialog-analysis-tool-sign-test.c
index 8a70fbe..d7218f7 100644
--- a/src/dialogs/dialog-analysis-tool-sign-test.c
+++ b/src/dialogs/dialog-analysis-tool-sign-test.c
@@ -332,7 +332,7 @@ sign_test_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
? analysis_tool_sign_test_engine
: analysis_tool_signed_rank_test_engine;
- if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
+ if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
state->base.sheet,
dao, data, engine, TRUE))
gtk_widget_destroy (state->base.dialog);
diff --git a/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c b/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c
index 09071ad..8a959ee 100644
--- a/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c
+++ b/src/dialogs/dialog-analysis-tool-wilcoxon-mann-whitney.c
@@ -143,7 +143,7 @@ wilcoxon_mann_whitney_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
data->labels = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (w));
if (cmd_analysis_tool (WORKBOOK_CONTROL (state->wbcg), state->sheet,
- dao, data,
+ dao, data,
analysis_tool_wilcoxon_mann_whitney_engine, TRUE)) {
char *text;
text = g_strdup_printf (
diff --git a/src/dialogs/dialog-analysis-tools.c b/src/dialogs/dialog-analysis-tools.c
index 642188c..f5bfd41 100644
--- a/src/dialogs/dialog-analysis-tools.c
+++ b/src/dialogs/dialog-analysis-tools.c
@@ -419,7 +419,7 @@ dialog_tool_init (GenericToolState *state,
"top-attach", &top_attach,
"bottom-attach", &bottom_attach,
NULL);
-
+
gtk_table_attach (table, GTK_WIDGET (state->input_entry),
right_attach, right_attach + 1,
top_attach, bottom_attach,
@@ -1352,7 +1352,7 @@ ttest_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
switch (state->invocation) {
case TTEST_PAIRED:
- if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
+ if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
state->base.sheet,
dao, data, analysis_tool_ttest_paired_engine,
TRUE))
@@ -2344,11 +2344,11 @@ regression_tool_regression_radio_toggled_cb (G_GNUC_UNUSED
gtk_toggle_button_set_active
(GTK_TOGGLE_BUTTON (state->switch_variables_check),
FALSE);
-
+
gtk_toggle_button_set_active
(GTK_TOGGLE_BUTTON (state->residuals_check), !simple);
gtk_widget_set_sensitive (state->residuals_check, !simple);
-
+
}
static void
@@ -2518,7 +2518,7 @@ exp_smoothing_tool_ok_clicked_cb (G_GNUC_UNUSED GtkWidget *button,
data->es_type = gnm_gui_group_value (state->base.gui, exp_smoothing_group);
if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg), state->base.sheet,
- dao, data, analysis_tool_exponential_smoothing_engine,
+ dao, data, analysis_tool_exponential_smoothing_engine,
TRUE))
gtk_widget_destroy (state->base.dialog);
diff --git a/src/dialogs/dialog-autofilter.c b/src/dialogs/dialog-autofilter.c
index 8d9c7cd..19412bd 100644
--- a/src/dialogs/dialog-autofilter.c
+++ b/src/dialogs/dialog-autofilter.c
@@ -65,7 +65,7 @@ static char const * const type_group[] = {
static GnmFilterOp
autofilter_get_type (AutoFilterState *state)
{
- return (GNM_FILTER_OP_TYPE_BUCKETS |
+ return (GNM_FILTER_OP_TYPE_BUCKETS |
gnm_gui_group_value (state->gui, type_group));
}
@@ -150,15 +150,15 @@ cb_autofilter_ok (G_GNUC_UNUSED GtkWidget *button,
GnmFilterOp op1;
GnmValue *v1 = map_op (state, &op1, "op1", "value1");
if (op1 != GNM_FILTER_UNUSED) {
- w = go_gtk_builder_get_widget (state->gui,
+ w = go_gtk_builder_get_widget (state->gui,
"and_button");
- cond = gnm_filter_condition_new_double
+ cond = gnm_filter_condition_new_double
(op0, v0,
- gtk_toggle_button_get_active
+ gtk_toggle_button_get_active
(GTK_TOGGLE_BUTTON (w)),
op1, v1);
} else
- cond = gnm_filter_condition_new_single
+ cond = gnm_filter_condition_new_single
(op0, v0);
}
} else {
@@ -168,9 +168,9 @@ cb_autofilter_ok (G_GNUC_UNUSED GtkWidget *button,
w = go_gtk_builder_get_widget (state->gui, "item_count");
count = gtk_spin_button_get_value (GTK_SPIN_BUTTON (w));
- cond = gnm_filter_condition_new_bucket
- (!(op & GNM_FILTER_OP_BOTTOM_MASK),
- !(op & GNM_FILTER_OP_PERCENT_MASK),
+ cond = gnm_filter_condition_new_bucket
+ (!(op & GNM_FILTER_OP_BOTTOM_MASK),
+ !(op & GNM_FILTER_OP_PERCENT_MASK),
count);
}
if (cond != NULL)
@@ -205,9 +205,9 @@ cb_top10_count_changed (GtkSpinButton *button,
w = go_gtk_builder_get_widget (state->gui, type_group[0]);
/* xgettext : %d gives the number of items in the autofilter. */
/* This is input to ngettext. */
- label = g_strdup_printf (ngettext ("Show the largest item",
- "Show the %3d largest items",
- cval),
+ label = g_strdup_printf (ngettext ("Show the largest item",
+ "Show the %3d largest items",
+ cval),
cval);
gtk_button_set_label (GTK_BUTTON (w),label);
g_free(label);
@@ -215,9 +215,9 @@ cb_top10_count_changed (GtkSpinButton *button,
w = go_gtk_builder_get_widget (state->gui, type_group[1]);
/* xgettext : %d gives the number of items in the autofilter. */
/* This is input to ngettext. */
- label = g_strdup_printf (ngettext ("Show the smallest item",
- "Show the %3d smallest items",
- cval),
+ label = g_strdup_printf (ngettext ("Show the smallest item",
+ "Show the %3d smallest items",
+ cval),
cval);
gtk_button_set_label (GTK_BUTTON (w),label);
g_free(label);
@@ -228,9 +228,9 @@ cb_top10_count_changed (GtkSpinButton *button,
w = go_gtk_builder_get_widget (state->gui, type_group[2]);
/* xgettext : %d gives the percentage of the data range in the autofilter. */
/* This is input to ngettext. */
- label = g_strdup_printf
- (ngettext ("Show the items in the top %3d%% of the data range",
- "Show the items in the top %3d%% of the data range", val),
+ label = g_strdup_printf
+ (ngettext ("Show the items in the top %3d%% of the data range",
+ "Show the items in the top %3d%% of the data range", val),
val);
gtk_button_set_label (GTK_BUTTON (w),label);
g_free(label);
@@ -238,9 +238,9 @@ cb_top10_count_changed (GtkSpinButton *button,
w = go_gtk_builder_get_widget (state->gui, type_group[3]);
/* xgettext : %d gives the percentage of the data range in the autofilter. */
/* This is input to ngettext. */
- label = g_strdup_printf
- (ngettext ("Show the items in the bottom %3d%% of the data range",
- "Show the items in the bottom %3d%% of the data range", val),
+ label = g_strdup_printf
+ (ngettext ("Show the items in the bottom %3d%% of the data range",
+ "Show the items in the bottom %3d%% of the data range", val),
val);
gtk_button_set_label (GTK_BUTTON (w),label);
g_free(label);
@@ -256,13 +256,13 @@ cb_top10_type_changed (G_GNUC_UNUSED GtkToggleButton *button,
GtkWidget *spin = go_gtk_builder_get_widget (state->gui, "item_count");
GtkWidget *label = go_gtk_builder_get_widget (state->gui, "cp-label");
- if (op == GNM_FILTER_OP_TOP_N_PERCENT ||
+ if (op == GNM_FILTER_OP_TOP_N_PERCENT ||
op == GNM_FILTER_OP_BOTTOM_N_PERCENT) {
gtk_spin_button_set_range (GTK_SPIN_BUTTON (spin), 1.,
100.);
gtk_label_set_text (GTK_LABEL (label), _("Percentage:"));
} else {
- gtk_spin_button_set_range
+ gtk_spin_button_set_range
(GTK_SPIN_BUTTON (spin), 1.,
range_height(&(state->filter->r)) - 1);
gtk_label_set_text (GTK_LABEL (label), _("Count:"));
@@ -320,7 +320,7 @@ dialog_auto_filter_get_col_name (GnmCell *cell, int col, int len)
gchar *label;
char *content = gnm_cell_get_rendered_text (cell);
if (g_utf8_strlen (content, -1) > len) {
- char *end = g_utf8_find_prev_char
+ char *end = g_utf8_find_prev_char
(content, content + len + 1 - strlen (UNICODE_ELLIPSIS));
strcpy (end, UNICODE_ELLIPSIS);
}
@@ -367,7 +367,7 @@ dialog_auto_filter_expression (WBCGtk *wbcg,
if (cell == NULL || gnm_cell_is_blank (cell))
label = g_strdup_printf (_("Column %s"), col_name (col));
- else
+ else
label = dialog_auto_filter_get_col_name (cell, col, len);
gtk_label_set_text
@@ -467,7 +467,7 @@ dialog_auto_filter (WBCGtk *wbcg,
if (cell == NULL || gnm_cell_is_blank (cell))
label = g_strdup_printf (_("Column %s"), col_name (col));
- else
+ else
label = dialog_auto_filter_get_col_name (cell, col, len);
gtk_label_set_text
@@ -498,7 +498,7 @@ dialog_auto_filter (WBCGtk *wbcg,
gtk_spin_button_set_value (GTK_SPIN_BUTTON (w), cond->count);
} else {
w = go_gtk_builder_get_widget (state->gui, "items-largest");
- gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), TRUE);
+ gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (w), TRUE);
w = go_gtk_builder_get_widget (state->gui, "item_count");
gtk_spin_button_set_value (GTK_SPIN_BUTTON (w), 1);
}
@@ -508,7 +508,7 @@ dialog_auto_filter (WBCGtk *wbcg,
G_CALLBACK (cb_top10_count_changed), state);
cb_top10_count_changed (GTK_SPIN_BUTTON (w), state);
cb_top10_type_changed (NULL, state);
- gtk_spin_button_set_value (GTK_SPIN_BUTTON (w),
+ gtk_spin_button_set_value (GTK_SPIN_BUTTON (w),
range_height(&(state->filter->r))/2);
rb = type_group;
@@ -519,7 +519,7 @@ dialog_auto_filter (WBCGtk *wbcg,
G_CALLBACK (cb_top10_type_changed), state);
rb++;
}
-
+
w = go_gtk_builder_get_widget (state->gui, "ok_button");
g_signal_connect (G_OBJECT (w),
diff --git a/src/dialogs/dialog-consolidate.c b/src/dialogs/dialog-consolidate.c
index b3b0c2d..ad85ae6 100644
--- a/src/dialogs/dialog-consolidate.c
+++ b/src/dialogs/dialog-consolidate.c
@@ -317,7 +317,7 @@ cb_consolidate_ok_clicked (GtkWidget *button, ConsolidateState *state)
if (consolidate_check_destination (cs, dao)) {
if (!cmd_analysis_tool (WORKBOOK_CONTROL (state->base.wbcg),
state->base.sheet,
- dao, cs, tool_consolidate_engine,
+ dao, cs, tool_consolidate_engine,
FALSE) &&
(button == state->base.ok_button))
gtk_widget_destroy (state->base.dialog);
diff --git a/src/dialogs/dialog-define-names.c b/src/dialogs/dialog-define-names.c
index c5dfdb4..10389d4 100644
--- a/src/dialogs/dialog-define-names.c
+++ b/src/dialogs/dialog-define-names.c
@@ -1254,7 +1254,7 @@ name_guru_init (NameGuruState *state, WBCGtk *wbcg, gboolean is_paste_dialog)
/* a candidate for merging into attach guru */
gnumeric_keyed_dialog (state->wbcg, GTK_WINDOW (state->dialog),
- is_paste_dialog ? PASTE_NAMES_KEY
+ is_paste_dialog ? PASTE_NAMES_KEY
: DEFINE_NAMES_KEY);
go_gtk_nonmodal_dialog (wbcg_toplevel (state->wbcg),
GTK_WINDOW (state->dialog));
diff --git a/src/dialogs/dialog-doc-metadata.c b/src/dialogs/dialog-doc-metadata.c
index d41246f..ead4311 100644
--- a/src/dialogs/dialog-doc-metadata.c
+++ b/src/dialogs/dialog-doc-metadata.c
@@ -611,7 +611,7 @@ dialog_doc_metadata_set_gsf_prop (DialogDocMetaData *state,
if (val_type != G_TYPE_INVALID) {
GValue *doc_prop_value;
-
+
/* Create a new Value */
doc_prop_value = g_new0 (GValue, 1);
diff --git a/src/dialogs/dialog-quit.c b/src/dialogs/dialog-quit.c
index 18e67c3..6c3c370 100644
--- a/src/dialogs/dialog-quit.c
+++ b/src/dialogs/dialog-quit.c
@@ -137,7 +137,7 @@ cb_toggled_save (GtkCellRendererToggle *cell,
} else {
g_warning ("Did not get a valid iterator");
}
-
+
gtk_tree_path_free (path);
}
@@ -146,7 +146,7 @@ set_all (GtkTreeModel *model, gboolean value)
{
GtkTreeIter iter;
gboolean ok = gtk_tree_model_get_iter_first (model, &iter);
-
+
while (ok) {
gtk_list_store_set (GTK_LIST_STORE (model), &iter,
QUIT_COL_CHECK, value, -1);
@@ -173,7 +173,7 @@ cb_list_row_changed_save_sensitivity (GtkListStore *list, GtkTreePath *path_stri
GtkTreeIter *iter, GtkWidget *widget)
{
GtkTreeModel *model = GTK_TREE_MODEL (list);
-
+
if (files_set (model) == TRUE)
gtk_widget_set_sensitive (GTK_WIDGET (widget), TRUE);
else
@@ -181,9 +181,9 @@ cb_list_row_changed_save_sensitivity (GtkListStore *list, GtkTreePath *path_stri
}
static void
-cb_list_row_changed_discard_sensitivity (GtkListStore *list,
+cb_list_row_changed_discard_sensitivity (GtkListStore *list,
GtkTreePath *path_string,
- GtkTreeIter *iter,
+ GtkTreeIter *iter,
GtkWidget *widget)
{
GtkTreeModel *model = GTK_TREE_MODEL (list);
@@ -225,19 +225,19 @@ show_quit_dialog (GList *dirty, WBCGtk *wbcg)
GTK_STOCK_DELETE,
GTK_RESPONSE_NO);
go_widget_set_tooltip_text (GTK_WIDGET (button), _("Discard changes in all files"));
-
+
if (multiple)
g_signal_connect (G_OBJECT (list),
"row-changed",
G_CALLBACK (cb_list_row_changed_discard_sensitivity),
GTK_WIDGET (button));
-
+
button = go_gtk_dialog_add_button (GTK_DIALOG (dialog),
_("Don't Quit"),
GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL);
go_widget_set_tooltip_text (button, _("Resume editing"));
-
+
if (multiple) {
button = go_gtk_dialog_add_button (GTK_DIALOG (dialog),
_("_Save Selected"),
@@ -245,7 +245,7 @@ show_quit_dialog (GList *dirty, WBCGtk *wbcg)
GTK_RESPONSE_OK);
go_widget_set_tooltip_text (GTK_WIDGET (button),
_("Save selected documents and then quit"));
-
+
g_signal_connect (G_OBJECT (list),
"row-changed",
G_CALLBACK (cb_list_row_changed_save_sensitivity),
@@ -257,7 +257,7 @@ show_quit_dialog (GList *dirty, WBCGtk *wbcg)
GTK_RESPONSE_OK);
go_widget_set_tooltip_text (button, _("Save document"));
}
-
+
scrollw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrollw),
GTK_SHADOW_IN);
@@ -275,19 +275,19 @@ show_quit_dialog (GList *dirty, WBCGtk *wbcg)
GTK_STOCK_SELECT_ALL);
go_widget_set_tooltip_text (GTK_WIDGET (button),
_("Select all documents for saving"));
-
+
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (cb_select_all),
list);
-
+
gtk_box_pack_end (GTK_BOX (hbox),
GTK_WIDGET (button), FALSE, TRUE, 0);
-
+
button = go_gtk_button_new_with_stock (_("_Clear Selection"),
GTK_STOCK_CLEAR);
go_widget_set_tooltip_text (GTK_WIDGET(button),
_("Unselect all documents for saving"));
-
+
g_signal_connect (G_OBJECT (button), "clicked",
G_CALLBACK (cb_clear_all),
list);
diff --git a/src/dialogs/dialog-stf-csv-page.c b/src/dialogs/dialog-stf-csv-page.c
index 8830214..96dcd38 100644
--- a/src/dialogs/dialog-stf-csv-page.c
+++ b/src/dialogs/dialog-stf-csv-page.c
@@ -238,7 +238,7 @@ stf_dialog_csv_page_init (GtkBuilder *gui, StfDialogData *pagedata)
pagedata->csv.csv_2x_indicator = GTK_CHECK_BUTTON (go_gtk_builder_get_widget (gui, "csv_2x_indicator"));
pagedata->csv.csv_textindicator = go_gtk_builder_get_widget (gui, "csv_textindicator");
pagedata->csv.csv_textfield = GTK_ENTRY (gtk_bin_get_child (GTK_BIN (pagedata->csv.csv_textindicator)));
-
+
pagedata->csv.csv_duplicates = GTK_CHECK_BUTTON (go_gtk_builder_get_widget (gui, "csv_duplicates"));
pagedata->csv.csv_trim_seps = GTK_CHECK_BUTTON (go_gtk_builder_get_widget (gui, "csv_trim_seps"));
pagedata->csv.csv_data_container = go_gtk_builder_get_widget (gui, "csv_data_container");
diff --git a/src/dialogs/dialog-stf-format-page.c b/src/dialogs/dialog-stf-format-page.c
index 4fb88ed..67b04f0 100644
--- a/src/dialogs/dialog-stf-format-page.c
+++ b/src/dialogs/dialog-stf-format-page.c
@@ -103,7 +103,7 @@ tree_view_clamp_column_visible (GtkTreeView *tree_view,
GtkAllocation ba;
gtk_widget_get_allocation (button, &ba);
-
+
if (hval + hps < ba.x + ba.width)
gtk_adjustment_set_value (hadjustment,
ba.x + ba.width - hps);
diff --git a/src/go-data-cache-field.c b/src/go-data-cache-field.c
index e72c98d..80c4ac2 100644
--- a/src/go-data-cache-field.c
+++ b/src/go-data-cache-field.c
@@ -218,13 +218,13 @@ go_data_cache_field_get_val (GODataCacheField const *field, unsigned int record_
case GO_DATA_CACHE_FIELD_TYPE_INLINE:
return *((GOVal **)p);
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I8:
- idx = *(guint8 *)p;
+ idx = *(guint8 *)p;
break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I16:
- idx = *(guint16 *)p;
+ idx = *(guint16 *)p;
break;
case GO_DATA_CACHE_FIELD_TYPE_INDEXED_I32:
- idx = *(guint32 *)p;
+ idx = *(guint32 *)p;
break;
default:
g_warning ("unknown field type %d", field->ref_type);
diff --git a/src/gui-clipboard.c b/src/gui-clipboard.c
index 49f8b50..f9a00f5 100644
--- a/src/gui-clipboard.c
+++ b/src/gui-clipboard.c
@@ -211,7 +211,7 @@ text_content_received (GtkClipboard *clipboard, GtkSelectionData *sel,
if (gtk_selection_data_get_length (sel) < 0) {
;
} else if (target == gdk_atom_intern (UTF8_ATOM_NAME, FALSE)) {
- content = text_to_cell_region (wbcg, (const char *)gtk_selection_data_get_data (sel),
+ content = text_to_cell_region (wbcg, (const char *)gtk_selection_data_get_data (sel),
gtk_selection_data_get_length (sel), "UTF-8", TRUE);
} else if (target == gdk_atom_intern (CTEXT_ATOM_NAME, FALSE)) {
/* COMPOUND_TEXT is icky. Just let GTK+ do the work. */
@@ -222,7 +222,7 @@ text_content_received (GtkClipboard *clipboard, GtkSelectionData *sel,
char const *locale_encoding;
g_get_charset (&locale_encoding);
- content = text_to_cell_region (wbcg, (const char *)gtk_selection_data_get_data (sel),
+ content = text_to_cell_region (wbcg, (const char *)gtk_selection_data_get_data (sel),
gtk_selection_data_get_length (sel), locale_encoding, FALSE);
}
if (content) {
diff --git a/src/item-grid.c b/src/item-grid.c
index d9528f8..eeb926a 100644
--- a/src/item-grid.c
+++ b/src/item-grid.c
@@ -566,7 +566,7 @@ item_grid_draw_region (GocItem const *item, cairo_t *cr, double x_0, double y_0,
if (ci->visible)
item_grid_draw_merged_range (cr, ig,
- start_x, y, &view, r,
+ start_x, y, &view, r,
draw_selection,
theme);
}
diff --git a/src/pattern.c b/src/pattern.c
index ca47a29..31e62d0 100644
--- a/src/pattern.c
+++ b/src/pattern.c
@@ -48,7 +48,7 @@ static GOPatternType patterns[] = {
* return : TRUE if there is a background to paint.
*/
-static double
+static double
gnm_get_light (guint16 c)
{
return ((1 + c/65535.)/2);
@@ -77,13 +77,13 @@ gnumeric_background_set (GnmStyle const *mstyle, cairo_t *cr,
return TRUE;
} else if (is_selected) {
if (theme == NULL)
- cairo_set_source_rgb
+ cairo_set_source_rgb
(cr, .901960784, .901960784, .980392157);
else {
GdkColor color = theme->light[GTK_STATE_SELECTED];
cairo_set_source_rgb
- (cr, gnm_get_light (color.red),
- gnm_get_light (color.green),
+ (cr, gnm_get_light (color.red),
+ gnm_get_light (color.green),
gnm_get_light (color.blue));
}
}
diff --git a/src/sheet-control-gui.c b/src/sheet-control-gui.c
index 4521698..a920560 100644
--- a/src/sheet-control-gui.c
+++ b/src/sheet-control-gui.c
@@ -3345,7 +3345,7 @@ scg_rangesel_extend (SheetControlGUI *scg, int n,
* scg_cursor_move:
*
* @scg : The scg
- * @count : Number of units to move the cursor
+ * @count : Number of units to move the cursor
* @jump_to_bound: skip from the start to the end of ranges
* of filled or unfilled cells.
* @horiz : is the movement horizontal or vertical
@@ -3368,9 +3368,9 @@ scg_cursor_move (SheetControlGUI *scg, int n,
tmp.col + n - step, tmp.row, tmp.row,
step, jump_to_bound);
else
- tmp.row = sheet_find_boundary_vertical
+ tmp.row = sheet_find_boundary_vertical
(sv->sheet,
- tmp.col, tmp.row + n - step,
+ tmp.col, tmp.row + n - step,
tmp.col,
step, jump_to_bound);
diff --git a/src/sheet-style.c b/src/sheet-style.c
index df7facd..00054ab 100644
--- a/src/sheet-style.c
+++ b/src/sheet-style.c
@@ -226,16 +226,16 @@ typedef enum {
TILE_MATRIX = 3,
TILE_PTR_MATRIX = 4
} CellTileType;
-static int const tile_size [] = {
+static int const tile_size[] = {
1, /* TILE_SIMPLE */
TILE_SIZE_COL, /* TILE_COL */
TILE_SIZE_ROW, /* TILE_ROW */
TILE_SIZE_COL * TILE_SIZE_ROW /* TILE_MATRIX */
};
-static const char * const tile_type_str [] = {
+static const char * const tile_type_str[] = {
"simple", "col", "row", "matrix", "ptr-matrix"
};
-static int const tile_widths [] = {
+static int const tile_widths[] = {
1,
TILE_SIZE_COL,
TILE_SIZE_COL * TILE_SIZE_COL,
@@ -245,7 +245,7 @@ static int const tile_widths [] = {
TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL,
TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL * TILE_SIZE_COL
};
-static int const tile_heights [] = {
+static int const tile_heights[] = {
1,
TILE_SIZE_ROW,
TILE_SIZE_ROW * TILE_SIZE_ROW,
@@ -258,23 +258,23 @@ static int const tile_heights [] = {
typedef struct {
CellTileType const type;
- GnmStyle *style [1];
+ GnmStyle *style[1];
} CellTileStyleSimple;
typedef struct {
CellTileType const type;
- GnmStyle *style [TILE_SIZE_COL];
+ GnmStyle *style[TILE_SIZE_COL];
} CellTileStyleCol;
typedef struct {
CellTileType const type;
- GnmStyle *style [TILE_SIZE_ROW];
+ GnmStyle *style[TILE_SIZE_ROW];
} CellTileStyleRow;
typedef struct {
CellTileType const type;
- GnmStyle *style [TILE_SIZE_COL * TILE_SIZE_ROW];
+ GnmStyle *style[TILE_SIZE_COL * TILE_SIZE_ROW];
} CellTileStyleMatrix;
typedef struct {
CellTileType const type;
- CellTile *ptr [TILE_SIZE_COL * TILE_SIZE_ROW];
+ CellTile *ptr[TILE_SIZE_COL * TILE_SIZE_ROW];
} CellTilePtrMatrix;
union _CellTile {
@@ -309,14 +309,14 @@ cell_tile_dtor (CellTile *tile)
if (t == TILE_PTR_MATRIX) {
int i = TILE_SIZE_COL * TILE_SIZE_ROW;
while (--i >= 0) {
- cell_tile_dtor (tile->ptr_matrix.ptr [i]);
- tile->ptr_matrix.ptr [i] = NULL;
+ cell_tile_dtor (tile->ptr_matrix.ptr[i]);
+ tile->ptr_matrix.ptr[i] = NULL;
}
} else if (TILE_SIMPLE <= t && t <= TILE_MATRIX) {
- int i = tile_size [t];
+ int i = tile_size[t];
while (--i >= 0) {
- gnm_style_unlink (tile->style_any.style [i]);
- tile->style_any.style [i] = NULL;
+ gnm_style_unlink (tile->style_any.style[i]);
+ tile->style_any.style[i] = NULL;
}
} else {
g_return_if_fail (FALSE); /* don't free anything */
@@ -351,10 +351,10 @@ cell_tile_style_new (GnmStyle *style, CellTileType t)
*((CellTileType *)&(res->type)) = t;
if (style != NULL) {
- int i = tile_size [t];
+ int i = tile_size[t];
gnm_style_link_multiple (style, i);
while (--i >= 0)
- res->style_any.style [i] = style;
+ res->style_any.style[i] = style;
}
return res;
@@ -381,31 +381,31 @@ cell_tile_ptr_matrix_new (CellTile *t)
case TILE_SIMPLE : {
int i = TILE_SIZE_COL * TILE_SIZE_ROW;
while (--i >= 0)
- res->ptr [i] = cell_tile_style_new (
- t->style_simple.style [0], TILE_SIMPLE);
+ res->ptr[i] = cell_tile_style_new (
+ t->style_simple.style[0], TILE_SIMPLE);
break;
}
case TILE_COL : {
int i, r, c;
for (i = r = 0 ; r < TILE_SIZE_ROW ; ++r)
for (c = 0 ; c < TILE_SIZE_COL ; ++c)
- res->ptr [i++] = cell_tile_style_new (
- t->style_col.style [c], TILE_SIMPLE);
+ res->ptr[i++] = cell_tile_style_new (
+ t->style_col.style[c], TILE_SIMPLE);
break;
}
case TILE_ROW : {
int i, r, c;
for (i = r = 0 ; r < TILE_SIZE_ROW ; ++r)
for (c = 0 ; c < TILE_SIZE_COL ; ++c)
- res->ptr [i++] = cell_tile_style_new (
- t->style_row.style [r], TILE_SIMPLE);
+ res->ptr[i++] = cell_tile_style_new (
+ t->style_row.style[r], TILE_SIMPLE);
break;
}
case TILE_MATRIX : {
int i = TILE_SIZE_COL * TILE_SIZE_ROW;
while (--i >= 0)
- res->ptr [i] = cell_tile_style_new (
- t->style_matrix.style [i], TILE_SIMPLE);
+ res->ptr[i] = cell_tile_style_new (
+ t->style_matrix.style[i], TILE_SIMPLE);
break;
}
default : ;
@@ -430,24 +430,24 @@ cell_tile_matrix_set (CellTile *t, GnmRange const *indic, ReplacementStyle *rs)
switch (t->type) {
case TILE_SIMPLE :
- gnm_style_link_multiple (tmp = t->style_simple.style [0],
+ gnm_style_link_multiple (tmp = t->style_simple.style[0],
i = TILE_SIZE_COL * TILE_SIZE_ROW);
while (--i >= 0)
- res->style [i] = tmp;
+ res->style[i] = tmp;
break;
case TILE_COL :
for (i = r = 0 ; r < TILE_SIZE_ROW ; ++r)
for (c = 0 ; c < TILE_SIZE_COL ; ++c)
- gnm_style_link (res->style [i++] =
- t->style_col.style [c]);
+ gnm_style_link (res->style[i++] =
+ t->style_col.style[c]);
break;
case TILE_ROW :
for (i = r = 0 ; r < TILE_SIZE_ROW ; ++r) {
- gnm_style_link_multiple (tmp = t->style_row.style [r],
+ gnm_style_link_multiple (tmp = t->style_row.style[r],
TILE_SIZE_COL);
for (c = 0 ; c < TILE_SIZE_COL ; ++c)
- res->style [i++] = tmp;
+ res->style[i++] = tmp;
}
break;
case TILE_MATRIX :
@@ -773,8 +773,8 @@ vector_apply_pstyle (GnmStyle **styles, int n, ReplacementStyle *rs)
rstyle_apply (styles + n, rs);
if (is_uniform) {
if (prev == NULL)
- prev = styles [n];
- else if (prev != styles [n])
+ prev = styles[n];
+ else if (prev != styles[n])
is_uniform = FALSE;
}
}
@@ -833,10 +833,10 @@ cell_tile_apply (CellTile **tile, int level,
GnmRange const *apply_to,
ReplacementStyle *rs)
{
- int const width = tile_widths [level+1];
- int const height = tile_heights [level+1];
- int const w = tile_widths [level];
- int const h = tile_heights [level];
+ int const width = tile_widths[level+1];
+ int const height = tile_heights[level+1];
+ int const w = tile_widths[level];
+ int const h = tile_heights[level];
gboolean const full_width = (apply_to->start.col <= corner_col &&
apply_to->end.col >= (corner_col+width-1));
gboolean const full_height = (apply_to->start.row <= corner_row &&
@@ -855,7 +855,7 @@ cell_tile_apply (CellTile **tile, int level,
/* applying the same style to part of a simple-tile is a nop */
if (type == TILE_SIMPLE &&
- (*tile)->style_simple.style [0] == rs->new_style)
+ (*tile)->style_simple.style[0] == rs->new_style)
return;
/* Apply new style over top of the entire tile */
@@ -872,7 +872,7 @@ cell_tile_apply (CellTile **tile, int level,
}
if (TILE_SIMPLE <= type && type <= TILE_MATRIX) {
GnmStyle *uniform = vector_apply_pstyle (
- (*tile)->style_any.style, tile_size [type], rs);
+ (*tile)->style_any.style, tile_size[type], rs);
if (uniform == NULL)
return;
@@ -886,7 +886,7 @@ cell_tile_apply (CellTile **tile, int level,
&indic.start.col, &indic.end.col)) {
if (type == TILE_SIMPLE) {
res = cell_tile_style_new (
- (*tile)->style_simple.style [0],
+ (*tile)->style_simple.style[0],
(type = TILE_COL));
cell_tile_dtor (*tile);
*tile = res;
@@ -909,7 +909,7 @@ cell_tile_apply (CellTile **tile, int level,
&indic.start.row, &indic.end.row)) {
if (type == TILE_SIMPLE) {
res = cell_tile_style_new (
- (*tile)->style_simple.style [0],
+ (*tile)->style_simple.style[0],
(type = TILE_ROW));
cell_tile_dtor (*tile);
*tile = res;
@@ -987,92 +987,93 @@ foreach_tile (CellTile *tile, int level,
ForeachTileFunc handler,
gpointer user)
{
- int const width = tile_widths [level+1];
- int const height = tile_heights [level+1];
- int const w = tile_widths [level];
- int const h = tile_heights [level];
+ int const width = tile_widths[level+1];
+ int const height = tile_heights[level+1];
+ int const w = tile_widths[level];
+ int const h = tile_heights[level];
int c, r, i, last;
g_return_if_fail (TILE_TOP_LEVEL >= level && level >= 0);
g_return_if_fail (tile != NULL);
switch (tile->type) {
- case TILE_SIMPLE :
- (*handler) (tile->style_simple.style [0],
- corner_col, corner_row, width, height,
- apply_to, user);
- break;
+ case TILE_SIMPLE:
+ handler (tile->style_simple.style[0],
+ corner_col, corner_row, width, height,
+ apply_to, user);
+ break;
- case TILE_COL :
- if (apply_to != NULL) {
- c = (apply_to->start.col - corner_col) / w;
- if (c < 0)
+ case TILE_COL:
+ if (apply_to != NULL) {
+ c = (apply_to->start.col - corner_col) / w;
+ if (c < 0)
+ c = 0;
+ last = (apply_to->end.col - corner_col) / w + 1;
+ if (last > TILE_SIZE_COL)
+ last = TILE_SIZE_COL;
+ } else {
c = 0;
- last = (apply_to->end.col - corner_col) / w + 1;
- if (last > TILE_SIZE_COL)
last = TILE_SIZE_COL;
- } else {
- c = 0;
- last = TILE_SIZE_COL;
- }
- for (; c < last ; ++c)
- (*handler) (tile->style_col.style [c],
- corner_col + c*w, corner_row, w, height,
- apply_to, user);
- break;
+ }
+ for (; c < last ; ++c)
+ handler (tile->style_col.style[c],
+ corner_col + c*w, corner_row, w, height,
+ apply_to, user);
+ break;
- case TILE_ROW :
- if (apply_to != NULL) {
- r = (apply_to->start.row - corner_row) / h;
- if (r < 0)
+ case TILE_ROW:
+ if (apply_to != NULL) {
+ r = (apply_to->start.row - corner_row) / h;
+ if (r < 0)
+ r = 0;
+ last = (apply_to->end.row - corner_row) / h + 1;
+ if (last > TILE_SIZE_ROW)
+ last = TILE_SIZE_ROW;
+ } else {
r = 0;
- last = (apply_to->end.row - corner_row) / h + 1;
- if (last > TILE_SIZE_ROW)
last = TILE_SIZE_ROW;
- } else {
- r = 0;
- last = TILE_SIZE_ROW;
- }
- for (; r < last ; ++r)
- (*handler) (tile->style_row.style [r],
- corner_col, corner_row + r*h, width, h,
- apply_to, user);
- break;
-
- case TILE_MATRIX :
- case TILE_PTR_MATRIX :
- for (i = r = 0 ; r < TILE_SIZE_ROW ; ++r, i += TILE_SIZE_COL) {
- int const cr = corner_row + h*r;
- if (apply_to) {
- if (cr > apply_to->end.row)
- break;
- if ((cr + h) <= apply_to->start.row)
- continue;
}
+ for (; r < last ; ++r)
+ handler (tile->style_row.style[r],
+ corner_col, corner_row + r*h, width, h,
+ apply_to, user);
+ break;
- for (c = 0 ; c < TILE_SIZE_COL ; ++c) {
- int const cc = corner_col + w*c;
+ case TILE_MATRIX:
+ case TILE_PTR_MATRIX:
+ for (i = r = 0 ; r < TILE_SIZE_ROW ; ++r, i += TILE_SIZE_COL) {
+ int const cr = corner_row + h*r;
if (apply_to) {
- if (cc > apply_to->end.col)
+ if (cr > apply_to->end.row)
break;
- if ((cc + w) <= apply_to->start.col)
+ if ((cr + h) <= apply_to->start.row)
continue;
}
- if (tile->type == TILE_MATRIX) {
- (*handler) (tile->style_matrix.style [r*TILE_SIZE_COL+c],
- corner_col + c*w, corner_row + r*h,
- w, h, apply_to, user);
- } else {
- foreach_tile (
- tile->ptr_matrix.ptr [c + r*TILE_SIZE_COL],
- level-1, cc, cr, apply_to, handler, user);
+ for (c = 0 ; c < TILE_SIZE_COL ; ++c) {
+ int const cc = corner_col + w*c;
+ if (apply_to) {
+ if (cc > apply_to->end.col)
+ break;
+ if ((cc + w) <= apply_to->start.col)
+ continue;
+ }
+
+ if (tile->type == TILE_MATRIX) {
+ handler (tile->style_matrix.style[r*TILE_SIZE_COL+c],
+ corner_col + c * w,
+ corner_row + r * h,
+ w, h, apply_to, user);
+ } else {
+ foreach_tile (
+ tile->ptr_matrix.ptr[c + r*TILE_SIZE_COL],
+ level-1, cc, cr, apply_to, handler, user);
+ }
}
}
- }
- break;
+ break;
- default :
+ default:
g_warning ("Adaptive Quad Tree corruption !");
}
}
@@ -1104,15 +1105,15 @@ tail_recursion :
g_return_if_fail (TILE_SIMPLE <= type && type <= TILE_PTR_MATRIX);
if (level > 0) {
- int const w = tile_widths [level];
+ int const w = tile_widths[level];
int const c = col / w;
- int const h = tile_heights [level];
+ int const h = tile_heights[level];
int const r = row / h;
if (type != TILE_PTR_MATRIX) {
/* applying the same style to part of a simple-tile is a nop */
if (type == TILE_SIMPLE &&
- (*tile)->style_simple.style [0] == rs->new_style)
+ (*tile)->style_simple.style[0] == rs->new_style)
return;
tmp = cell_tile_ptr_matrix_new (tmp);
@@ -1325,16 +1326,16 @@ tail_recursion :
g_return_val_if_fail (0 <= r && r < TILE_SIZE_ROW, NULL);
switch (tile->type) {
- case TILE_SIMPLE : return tile->style_simple.style [0];
- case TILE_COL : return tile->style_col.style [c];
- case TILE_ROW : return tile->style_row.style [r];
- case TILE_MATRIX : return tile->style_matrix.style [r*TILE_SIZE_COL+c];
+ case TILE_SIMPLE : return tile->style_simple.style[0];
+ case TILE_COL : return tile->style_col.style[c];
+ case TILE_ROW : return tile->style_row.style[r];
+ case TILE_MATRIX : return tile->style_matrix.style[r*TILE_SIZE_COL+c];
case TILE_PTR_MATRIX :
g_return_val_if_fail (level > 0, NULL);
level--;
- tile = tile->ptr_matrix.ptr [r*TILE_SIZE_COL + c];
+ tile = tile->ptr_matrix.ptr[r*TILE_SIZE_COL + c];
col -= c * width;
row -= r * height;
width /= TILE_SIZE_COL;
@@ -1388,19 +1389,19 @@ style_row (GnmStyle *style, int start_col, int end_col, GnmStyleRow *sr, gboolea
right = NULL;
}
- if (left != none && border_null (sr->vertical [i]))
- sr->vertical [i] = left;
+ if (left != none && border_null (sr->vertical[i]))
+ sr->vertical[i] = left;
v = border_null (right) ? left : right;
while (i <= end) {
- sr->styles [i] = style;
- if (top != none && border_null (sr->top [i]))
- sr->top [i] = top;
- sr->bottom [i] = bottom;
- sr->vertical [++i] = v;
+ sr->styles[i] = style;
+ if (top != none && border_null (sr->top[i]))
+ sr->top[i] = top;
+ sr->bottom[i] = bottom;
+ sr->vertical[++i] = v;
}
if (border_null (right))
- sr->vertical [i] = right;
+ sr->vertical[i] = right;
}
static void
@@ -1408,9 +1409,9 @@ get_style_row (CellTile const *tile, int level,
int corner_col, int corner_row,
GnmStyleRow *sr)
{
- int const width = tile_widths [level+1];
- int const w = tile_widths [level];
- int const h = tile_heights [level];
+ int const width = tile_widths[level+1];
+ int const w = tile_widths[level];
+ int const h = tile_heights[level];
int r = 0;
CellTileType t;
@@ -1425,7 +1426,7 @@ get_style_row (CellTile const *tile, int level,
}
if (t == TILE_ROW || t == TILE_SIMPLE) {
- style_row (tile->style_any.style [r],
+ style_row (tile->style_any.style[r],
corner_col, corner_col + width - 1, sr, TRUE);
} else {
/* find the start and end */
@@ -1445,7 +1446,7 @@ get_style_row (CellTile const *tile, int level,
GnmStyle * const *styles = tile->style_any.style + r*TILE_SIZE_COL;
for ( ; c <= last_c ; c++, corner_col += w)
- style_row (styles [c],
+ style_row (styles[c],
corner_col, corner_col + w - 1, sr, TRUE);
} else {
CellTile * const *tiles = tile->ptr_matrix.ptr + r*TILE_SIZE_COL;
@@ -1453,7 +1454,7 @@ get_style_row (CellTile const *tile, int level,
g_return_if_fail (level > 0);
for ( level-- ; c <= last_c ; c++, corner_col += w)
- get_style_row (tiles [c], level,
+ get_style_row (tiles[c], level,
corner_col, corner_row, sr);
}
}
@@ -1479,7 +1480,7 @@ sheet_style_get_row (Sheet const *sheet, GnmStyleRow *sr)
g_return_if_fail (sr->bottom != NULL);
sr->sheet = sheet;
- sr->vertical [sr->start_col] = gnm_style_border_none ();
+ sr->vertical[sr->start_col] = gnm_style_border_none ();
get_style_row (sheet->style_data->styles, sheet->tile_top_level, 0, 0, sr);
}
@@ -1497,9 +1498,9 @@ style_row_init (GnmBorder const * * *prev_vert,
int n, col;
GnmBorder const *none = hide_grid ? NULL : gnm_style_border_none ();
- /* alias the arrays for easy access so that array [col] is valid
+ /* alias the arrays for easy access so that array[col] is valid
* for all elements start_col-1 .. end_col+1 inclusive.
- * Note that this means that in some cases array [-1] is legal.
+ * Note that this means that in some cases array[-1] is legal.
*/
n = end_col - start_col + 3; /* 1 before, 1 after, 1 fencepost */
sr->vertical = mem;
@@ -1518,11 +1519,11 @@ style_row_init (GnmBorder const * * *prev_vert,
/* Init the areas that sheet_style_get_row will not */
for (col = start_col-1 ; col <= end_col+1; ++col)
- (*prev_vert) [col] = sr->top [col] = none;
- sr->vertical [start_col-1] = sr->vertical [end_col+1] =
- next_sr->vertical [start_col-1] = next_sr->vertical [end_col+1] =
- next_sr->top [start_col-1] = next_sr->top [end_col+1] =
- next_sr->bottom [start_col-1] = next_sr->bottom [end_col+1] = none;
+ (*prev_vert)[col] = sr->top[col] = none;
+ sr->vertical [start_col-1] = sr->vertical [end_col+1] =
+ next_sr->vertical[start_col-1] = next_sr->vertical[end_col+1] =
+ next_sr->top [start_col-1] = next_sr->top [end_col+1] =
+ next_sr->bottom [start_col-1] = next_sr->bottom [end_col+1] = none;
}
/**
@@ -1581,12 +1582,12 @@ sheet_style_apply_border (Sheet *sheet,
if (borders == NULL)
return;
- if (borders [GNM_STYLE_BORDER_TOP]) {
+ if (borders[GNM_STYLE_BORDER_TOP]) {
/* 1.1 top inner */
GnmRange r = *range;
r.end.row = r.start.row;
apply_border (sheet, &r, GNM_STYLE_BORDER_TOP,
- borders [GNM_STYLE_BORDER_TOP]);
+ borders[GNM_STYLE_BORDER_TOP]);
/* 1.2 top outer */
r.start.row--;
@@ -1597,12 +1598,12 @@ sheet_style_apply_border (Sheet *sheet,
}
}
- if (borders [GNM_STYLE_BORDER_BOTTOM]) {
+ if (borders[GNM_STYLE_BORDER_BOTTOM]) {
/* 2.1 bottom inner */
GnmRange r = *range;
r.start.row = r.end.row;
apply_border (sheet, &r, GNM_STYLE_BORDER_BOTTOM,
- borders [GNM_STYLE_BORDER_BOTTOM]);
+ borders[GNM_STYLE_BORDER_BOTTOM]);
/* 2.2 bottom outer */
r.end.row++;
@@ -1613,12 +1614,12 @@ sheet_style_apply_border (Sheet *sheet,
}
}
- if (borders [GNM_STYLE_BORDER_LEFT]) {
+ if (borders[GNM_STYLE_BORDER_LEFT]) {
/* 3.1 left inner */
GnmRange r = *range;
r.end.col = r.start.col;
apply_border (sheet, &r, GNM_STYLE_BORDER_LEFT,
- borders [GNM_STYLE_BORDER_LEFT]);
+ borders[GNM_STYLE_BORDER_LEFT]);
/* 3.2 left outer */
r.start.col--;
@@ -1629,12 +1630,12 @@ sheet_style_apply_border (Sheet *sheet,
}
}
- if (borders [GNM_STYLE_BORDER_RIGHT]) {
+ if (borders[GNM_STYLE_BORDER_RIGHT]) {
/* 4.1 right inner */
GnmRange r = *range;
r.start.col = r.end.col;
apply_border (sheet, &r, GNM_STYLE_BORDER_RIGHT,
- borders [GNM_STYLE_BORDER_RIGHT]);
+ borders[GNM_STYLE_BORDER_RIGHT]);
/* 4.2 right outer */
r.end.col++;
@@ -1646,13 +1647,13 @@ sheet_style_apply_border (Sheet *sheet,
}
/* Interiors horizontal : prefer top */
- if (borders [GNM_STYLE_BORDER_HORIZ] != NULL) {
+ if (borders[GNM_STYLE_BORDER_HORIZ] != NULL) {
/* 5.1 horizontal interior top */
if (range->start.row != range->end.row) {
GnmRange r = *range;
++r.start.row;
apply_border (sheet, &r, GNM_STYLE_BORDER_TOP,
- borders [GNM_STYLE_BORDER_HORIZ]);
+ borders[GNM_STYLE_BORDER_HORIZ]);
}
/* 5.2 interior bottom */
if (range->start.row != range->end.row) {
@@ -1664,13 +1665,13 @@ sheet_style_apply_border (Sheet *sheet,
}
/* Interiors vertical : prefer left */
- if (borders [GNM_STYLE_BORDER_VERT] != NULL) {
+ if (borders[GNM_STYLE_BORDER_VERT] != NULL) {
/* 6.1 vertical interior left */
if (range->start.col != range->end.col) {
GnmRange r = *range;
++r.start.col;
apply_border (sheet, &r, GNM_STYLE_BORDER_LEFT,
- borders [GNM_STYLE_BORDER_VERT]);
+ borders[GNM_STYLE_BORDER_VERT]);
}
/* 6.2 The vertical interior right */
@@ -1683,15 +1684,15 @@ sheet_style_apply_border (Sheet *sheet,
}
/* 7. Diagonals (apply both in one pass) */
- if (borders [GNM_STYLE_BORDER_DIAG] != NULL) {
+ if (borders[GNM_STYLE_BORDER_DIAG] != NULL) {
pstyle = gnm_style_new ();
- pstyle_set_border (pstyle, borders [GNM_STYLE_BORDER_DIAG],
+ pstyle_set_border (pstyle, borders[GNM_STYLE_BORDER_DIAG],
GNM_STYLE_BORDER_DIAG);
}
- if (borders [GNM_STYLE_BORDER_REV_DIAG]) {
+ if (borders[GNM_STYLE_BORDER_REV_DIAG]) {
if (pstyle == NULL)
pstyle = gnm_style_new ();
- pstyle_set_border (pstyle, borders [GNM_STYLE_BORDER_REV_DIAG],
+ pstyle_set_border (pstyle, borders[GNM_STYLE_BORDER_REV_DIAG],
GNM_STYLE_BORDER_REV_DIAG);
}
if (pstyle != NULL)
@@ -1717,13 +1718,13 @@ static void
border_mask_internal (gboolean *known, GnmBorder **borders,
GnmBorder const *b, GnmStyleBorderLocation l)
{
- if (!known [l]) {
- known [l] = TRUE;
- borders [l] = (GnmBorder *)b;
- gnm_style_border_ref (borders [l]);
- } else if (borders [l] != b && borders [l] != NULL) {
- gnm_style_border_unref (borders [l]);
- borders [l] = NULL;
+ if (!known[l]) {
+ known[l] = TRUE;
+ borders[l] = (GnmBorder *)b;
+ gnm_style_border_ref (borders[l]);
+ } else if (borders[l] != b && borders[l] != NULL) {
+ gnm_style_border_unref (borders[l]);
+ borders[l] = NULL;
}
}
@@ -1741,12 +1742,12 @@ border_mask_vec (gboolean *known, GnmBorder **borders,
GnmBorder const * const *vec, int first, int last,
GnmStyleBorderLocation l)
{
- GnmBorder const *b = vec [first];
+ GnmBorder const *b = vec[first];
if (b == NULL)
b = gnm_style_border_none ();
while (first++ < last) {
- GnmBorder const *tmp = vec [first];
+ GnmBorder const *tmp = vec[first];
if (tmp == NULL)
tmp = gnm_style_border_none ();
if (b != tmp) {
@@ -1775,7 +1776,7 @@ sheet_style_find_conflicts (Sheet const *sheet, GnmRange const *r,
int n, col, row, start_col, end_col;
GnmStyleRow sr;
GnmStyleBorderLocation i;
- gboolean known [GNM_STYLE_BORDER_EDGE_MAX];
+ gboolean known[GNM_STYLE_BORDER_EDGE_MAX];
GnmBorder const *none = gnm_style_border_none ();
FindConflicts user;
@@ -1789,12 +1790,12 @@ sheet_style_find_conflicts (Sheet const *sheet, GnmRange const *r,
GnmStyle const *tmp = sheet_style_get (sheet, r->start.col, r->start.row);
*style = gnm_style_dup (tmp);
for (i = GNM_STYLE_BORDER_TOP ; i < GNM_STYLE_BORDER_EDGE_MAX ; i++) {
- known [i] = FALSE;
- borders [i] = gnm_style_border_ref ((GnmBorder *)none);
+ known[i] = FALSE;
+ borders[i] = gnm_style_border_ref ((GnmBorder *)none);
}
} else {
for (i = GNM_STYLE_BORDER_TOP ; i < GNM_STYLE_BORDER_EDGE_MAX ; i++)
- known [i] = TRUE;
+ known[i] = TRUE;
}
user.accum = *style;
@@ -1835,7 +1836,7 @@ sheet_style_find_conflicts (Sheet const *sheet, GnmRange const *r,
/* pretend the previous bottom had no borders */
for (col = start_col ; col <= end_col; ++col)
- sr.top [col] = none;
+ sr.top[col] = none;
/* merge the bottom of the previous row */
if (r->start.row > 0) {
@@ -1858,9 +1859,9 @@ sheet_style_find_conflicts (Sheet const *sheet, GnmRange const *r,
sr.row = row;
sheet_style_get_row (sheet, &sr);
- border_mask (known, borders, sr.vertical [r->start.col],
+ border_mask (known, borders, sr.vertical[r->start.col],
GNM_STYLE_BORDER_LEFT);
- border_mask (known, borders, sr.vertical [r->end.col+1],
+ border_mask (known, borders, sr.vertical[r->end.col+1],
GNM_STYLE_BORDER_RIGHT);
border_mask_vec (known, borders, sr.top,
r->start.col, r->end.col, (row == r->start.row)
diff --git a/src/sort.c b/src/sort.c
index 716bcbe..0b093f8 100644
--- a/src/sort.c
+++ b/src/sort.c
@@ -49,7 +49,7 @@ gnm_sort_data_length (GnmSortData const *data)
/* The routines to do the sorting */
static int
-sort_compare_cells (GnmCell const *ca, GnmCell const *cb,
+sort_compare_cells (GnmCell const *ca, GnmCell const *cb,
GnmSortClause *clause, gboolean default_locale)
{
GnmValue *a, *b;
@@ -301,20 +301,20 @@ gnm_sort_contents (GnmSortData *data, GOCmdContext *cc)
if (real_length > 1) {
if (data->locale) {
- char *old_locale
+ char *old_locale
= g_strdup (go_setlocale (LC_ALL, NULL));
go_setlocale (LC_ALL, data->locale);
- qsort (perm, real_length, sizeof (SortDataPerm),
- g_str_has_prefix
- (old_locale, data->locale)
+ qsort (perm, real_length, sizeof (SortDataPerm),
+ g_str_has_prefix
+ (old_locale, data->locale)
? sort_qsort_compare
: sort_qsort_compare_in_locale);
go_setlocale (LC_ALL, old_locale);
g_free (old_locale);
} else
- qsort (perm, real_length, sizeof (SortDataPerm),
+ qsort (perm, real_length, sizeof (SortDataPerm),
sort_qsort_compare);
}
diff --git a/src/stf-export.c b/src/stf-export.c
index 1c5605b..93dbff0 100644
--- a/src/stf-export.c
+++ b/src/stf-export.c
@@ -376,7 +376,7 @@ gnm_stf_export (GnmStfExport *stfe)
/*so we don't want to call it with NULL*/
go_setlocale (LC_ALL, old_locale);
g_free (old_locale);
-
+
g_object_set (G_OBJECT (stfe), "sink", sink, NULL);
g_object_unref (sink);
diff --git a/src/stf.c b/src/stf.c
index d282530..a88277b 100644
--- a/src/stf.c
+++ b/src/stf.c
@@ -130,12 +130,12 @@ stf_open_and_read (GOIOContext *context, GsfInput *input, size_t *readsize)
*cpointer = ' ';
while (*cpointer != 0)
cpointer++;
- }
+ }
if (null_chars > 0) {
gchar const *format;
gchar *msg;
format = ngettext ("The file contains %d NULL character. "
- "It has been changed to a space.",
+ "It has been changed to a space.",
"The file contains %d NULL characters. "
"They have been changed to spaces.",
null_chars);
@@ -473,7 +473,7 @@ stf_read_workbook_auto_csvtab (GOFileOpener const *fo, gchar const *enc,
workbook_recalc_all (book);
resize_columns (sheet);
if (po->cols_exceeded || po->rows_exceeded) {
- stf_warning (context,
+ stf_warning (context,
_("Some data did not fit on the "
"sheet and was dropped."));
}
diff --git a/src/tools/ChangeLog b/src/tools/ChangeLog
index 5a6827b..9971fc0 100644
--- a/src/tools/ChangeLog
+++ b/src/tools/ChangeLog
@@ -99,20 +99,20 @@
* analysis-tools.c (calculate_n_obs): new
(analysis_tool_regression_engine_run): calculate residuals
(analysis_tool_regression_engine): allocate space for residuals
-
+
2010-11-25 Morten Welinder <terra gnome org>
* Release 1.10.12
2010-11-24 Andreas J. Guelzow <aguelzow pyrshep ca>
- * analysis-exp-smoothing.c
+ * analysis-exp-smoothing.c
(analysis_tool_exponential_smoothing_engine_ses_h_run): fix data label
(analysis_tool_exponential_smoothing_engine_ses_r_run): ditto
(analysis_tool_exponential_smoothing_engine_des_run): ditto
(analysis_tool_exponential_smoothing_engine_ates_run): ditto
(analysis_tool_exponential_smoothing_engine_mtes_run): ditto
-
+
2010-11-04 Morten Welinder <terra gnome org>
* dao.c (dao_convert_to_values): Use sheet_foreach_cell_in_range
diff --git a/src/tools/analysis-exp-smoothing.c b/src/tools/analysis-exp-smoothing.c
index 2cd740f..0b25b80 100644
--- a/src/tools/analysis-exp-smoothing.c
+++ b/src/tools/analysis-exp-smoothing.c
@@ -149,7 +149,7 @@ analysis_tool_exponential_smoothing_engine_ses_h_run (data_analysis_output_t *da
} else
dao_set_cell_printf
(dao, col, 0,
- (info->base.group_by == GROUPED_BY_ROW ?
+ (info->base.group_by == GROUPED_BY_ROW ?
_("Row %d") : _("Column %d")),
source);
@@ -325,7 +325,7 @@ analysis_tool_exponential_smoothing_engine_ses_r_run (data_analysis_output_t *da
} else
dao_set_cell_printf
(dao, col, 0,
- (info->base.group_by == GROUPED_BY_ROW ?
+ (info->base.group_by == GROUPED_BY_ROW ?
_("Row %d") : _("Column %d")),
source);
@@ -513,7 +513,7 @@ analysis_tool_exponential_smoothing_engine_des_run (data_analysis_output_t *dao,
} else
dao_set_cell_printf
(dao, col, 0,
- (info->base.group_by == GROUPED_BY_ROW ?
+ (info->base.group_by == GROUPED_BY_ROW ?
_("Row %d") : _("Column %d")),
source);
@@ -777,7 +777,7 @@ analysis_tool_exponential_smoothing_engine_ates_run (data_analysis_output_t *dao
} else
dao_set_cell_printf
(dao, col, -info->s_period,
- (info->base.group_by == GROUPED_BY_ROW ?
+ (info->base.group_by == GROUPED_BY_ROW ?
_("Row %d") : _("Column %d")),
source);
diff --git a/src/tools/analysis-histogram.c b/src/tools/analysis-histogram.c
index b380e06..63cf042 100644
--- a/src/tools/analysis-histogram.c
+++ b/src/tools/analysis-histogram.c
@@ -52,9 +52,9 @@ make_hist_expr (analysis_tools_data_histogram_t *info,
GnmFunc *fd_if = gnm_func_lookup_or_add_placeholder ("IF", dao->sheet ? dao->sheet->workbook : NULL, FALSE);
GnmFunc *fd_sum = gnm_func_lookup_or_add_placeholder ("SUM", dao->sheet ? dao->sheet->workbook : NULL, FALSE);
GnmFunc *fd_count = info->percentage ?
- gnm_func_lookup_or_add_placeholder (info->only_numbers ? "COUNT" : "COUNTA",
+ gnm_func_lookup_or_add_placeholder (info->only_numbers ? "COUNT" : "COUNTA",
dao->sheet ? dao->sheet->workbook : NULL, FALSE) : NULL;
- GnmFunc *fd_isnumber = gnm_func_lookup_or_add_placeholder (info->only_numbers ? "ISNUMBER" : "ISBLANK",
+ GnmFunc *fd_isnumber = gnm_func_lookup_or_add_placeholder (info->only_numbers ? "ISNUMBER" : "ISBLANK",
dao->sheet ? dao->sheet->workbook : NULL, FALSE);
gint to_col = (info->cumulative) ? 0 : 1;
@@ -113,7 +113,7 @@ make_hist_expr (analysis_tools_data_histogram_t *info,
(fd_isnumber, gnm_expr_copy (expr_data)),
gnm_expr_new_constant (value_new_int (0)),
gnm_expr_new_constant (value_new_int (1))));
-
+
expr = gnm_expr_new_funcall1 (fd_sum, expr);
diff --git a/src/tools/analysis-tools.c b/src/tools/analysis-tools.c
index 7cfb78b..9a4d88c 100644
--- a/src/tools/analysis-tools.c
+++ b/src/tools/analysis-tools.c
@@ -859,7 +859,7 @@ summary_statistics (data_analysis_output_t *dao,
dao_set_italic (dao, col + 1, 0, col+1, 0);
/* Note that analysis_tools_write_label may modify val_org */
- analysis_tools_write_label (val_org, dao, &info->base,
+ analysis_tools_write_label (val_org, dao, &info->base,
col + 1, 0, col + 1);
/* Mean */
@@ -1067,7 +1067,7 @@ kth_smallest_largest (data_analysis_output_t *dao,
GnmValue *val = value_dup (data->data);
dao_set_italic (dao, col + 1, 0, col + 1, 0);
- analysis_tools_write_label (val, dao, &info->base,
+ analysis_tools_write_label (val, dao, &info->base,
col + 1, 0, col + 1);
expr = gnm_expr_new_funcall2
@@ -3299,9 +3299,9 @@ analysis_tool_regression_engine_run (data_analysis_output_t *dao,
dao->offset_row += xdim + 1;
dao_set_italic (dao, 0, 0, xdim + 7, 0);
dao_set_cell (dao, 0, 0, _("Constant"));
- dao_set_array_expr (dao, 1, 0, xdim, 1,
- gnm_expr_new_funcall1
- (fd_transpose,
+ dao_set_array_expr (dao, 1, 0, xdim, 1,
+ gnm_expr_new_funcall1
+ (fd_transpose,
make_rangeref (-1, - xdim - 1, -1, -2)));
set_cell_text_row (dao, xdim + 1, 0, _("/Prediction"
"/"
@@ -3330,7 +3330,7 @@ analysis_tool_regression_engine_run (data_analysis_output_t *dao,
expr_prediction = gnm_expr_new_funcall2 (fd_sumproduct,
dao_get_rangeref (dao, 1, - 2 - xdim, 1, - 2),
gnm_expr_new_funcall1
- (fd_transpose, make_rangeref
+ (fd_transpose, make_rangeref
(-1 - xdim, 0, -1, 0)));
expr_diff = gnm_expr_new_binary (make_cellref (-1, 0), GNM_EXPR_OP_SUB, make_cellref (-2, 0));
@@ -3344,43 +3344,43 @@ analysis_tool_regression_engine_run (data_analysis_output_t *dao,
if (dao_cell_is_visible (dao, xdim + 4, n_obs)) {
GnmExpr const *expr_X = dao_get_rangeref (dao, info->intercept ? 0 : 1, 1, xdim, n_obs);
- GnmExpr const *expr_X_t =
+ GnmExpr const *expr_X_t =
gnm_expr_new_funcall1 (fd_transpose, gnm_expr_copy (expr_X));
GnmExpr const *expr_X_hat =
- gnm_expr_new_funcall2
+ gnm_expr_new_funcall2
(fd_mmult,
- gnm_expr_new_funcall2
+ gnm_expr_new_funcall2
(fd_mmult,
expr_X,
- gnm_expr_new_funcall1
+ gnm_expr_new_funcall1
(fd_minverse,
- gnm_expr_new_funcall2
- (fd_mmult,
+ gnm_expr_new_funcall2
+ (fd_mmult,
gnm_expr_copy (expr_X_t),
gnm_expr_copy (expr_X)))),
expr_X_t);
GnmExpr const *expr_diagonal =
- gnm_expr_new_funcall2
+ gnm_expr_new_funcall2
(fd_mmult,
- gnm_expr_new_binary
- (expr_X_hat, GNM_EXPR_OP_MULT,
- gnm_expr_new_funcall1
- (fd_munit, gnm_expr_new_binary
+ gnm_expr_new_binary
+ (expr_X_hat, GNM_EXPR_OP_MULT,
+ gnm_expr_new_funcall1
+ (fd_munit, gnm_expr_new_binary
(dao_get_cellref (dao, 1, - 11 - xdim),
GNM_EXPR_OP_ADD, gnm_expr_new_constant (value_new_int (1))))),
dao_get_rangeref (dao, 0, 1, 0, n_obs));
- GnmExpr const *expr_var =
- gnm_expr_new_binary
- (gnm_expr_new_funcall1
+ GnmExpr const *expr_var =
+ gnm_expr_new_binary
+ (gnm_expr_new_funcall1
(fd_sumsq, dao_get_rangeref (dao, xdim + 3, 1, xdim + 3, n_obs)),
GNM_EXPR_OP_DIV,
dao_get_cellref (dao, 1, - 6 - xdim));
- GnmExpr const *expr_int_stud =
+ GnmExpr const *expr_int_stud =
gnm_expr_new_binary
(make_cellref (-2, 0),
GNM_EXPR_OP_DIV,
gnm_expr_new_funcall1
- (fd_sqrt,
+ (fd_sqrt,
gnm_expr_new_binary
(expr_var,
GNM_EXPR_OP_MULT,
@@ -3391,12 +3391,12 @@ analysis_tool_regression_engine_run (data_analysis_output_t *dao,
GnmExpr const *expr_ext_stud;
GnmExpr const *expr_p_val_res;
- expr_var = gnm_expr_new_binary
+ expr_var = gnm_expr_new_binary
(gnm_expr_new_binary
- (gnm_expr_new_funcall1
+ (gnm_expr_new_funcall1
(fd_sumsq, dao_get_rangeref (dao, xdim + 3, 1, xdim + 3, n_obs)),
GNM_EXPR_OP_SUB,
- gnm_expr_new_binary
+ gnm_expr_new_binary
(make_cellref (-3, 0),
GNM_EXPR_OP_EXP,
gnm_expr_new_constant (value_new_int (2)))),
@@ -3409,7 +3409,7 @@ analysis_tool_regression_engine_run (data_analysis_output_t *dao,
(make_cellref (-3, 0),
GNM_EXPR_OP_DIV,
gnm_expr_new_funcall1
- (fd_sqrt,
+ (fd_sqrt,
gnm_expr_new_binary
(expr_var,
GNM_EXPR_OP_MULT,
@@ -3611,7 +3611,7 @@ analysis_tool_regression_engine (data_analysis_output_t *dao, gpointer specs,
gint residual_cols = xdim + 4;
GnmValue *val = info->base.range_1;
- rows += 2 + calculate_n_obs (val, info->group_by);
+ rows += 2 + calculate_n_obs (val, info->group_by);
residual_cols += 4;
if (cols < residual_cols)
cols = residual_cols;
diff --git a/src/value.c b/src/value.c
index 4821e7b..911d8a9 100644
--- a/src/value.c
+++ b/src/value.c
@@ -655,7 +655,7 @@ value_dup (GnmValue const *src)
}
static GnmValDiff
-value_compare_real (GnmValue const *a, GnmValue const *b,
+value_compare_real (GnmValue const *a, GnmValue const *b,
gboolean case_sensitive,
gboolean default_locale);
@@ -1239,7 +1239,7 @@ gnm_string_cmp (gconstpointer gstr_a, gconstpointer gstr_b)
{
return (gstr_a == gstr_b)
? 0
- : g_utf8_collate (((GOString const *)gstr_a)->str,
+ : g_utf8_collate (((GOString const *)gstr_a)->str,
((GOString const *)gstr_b)->str);
}
@@ -1249,13 +1249,13 @@ gnm_string_cmp_ignorecase (gconstpointer gstr_a, gconstpointer gstr_b)
gchar *a;
gchar *b;
int res;
-
+
if (gstr_a == gstr_b)
return 0;
a = g_utf8_casefold (((GOString const *)gstr_a)->str, -1);
b = g_utf8_casefold (((GOString const *)gstr_b)->str, -1);
-
+
res = g_utf8_collate (a, b);
g_free (a);
@@ -1275,7 +1275,7 @@ gnm_string_cmp_ignorecase (gconstpointer gstr_a, gconstpointer gstr_b)
* IGNORES format.
*/
static GnmValDiff
-value_compare_real (GnmValue const *a, GnmValue const *b,
+value_compare_real (GnmValue const *a, GnmValue const *b,
gboolean case_sensitive,
gboolean default_locale)
{
@@ -1306,18 +1306,18 @@ value_compare_real (GnmValue const *a, GnmValue const *b,
/* If both are strings compare as string */
case VALUE_STRING :
- t = (default_locale) ?
+ t = (default_locale) ?
(case_sensitive
- ? go_string_cmp
+ ? go_string_cmp
(a->v_str.val, b->v_str.val)
- : go_string_cmp_ignorecase
+ : go_string_cmp_ignorecase
(a->v_str.val, b->v_str.val))
: (case_sensitive
- ? gnm_string_cmp
+ ? gnm_string_cmp
(a->v_str.val, b->v_str.val)
- : gnm_string_cmp_ignorecase
+ : gnm_string_cmp_ignorecase
(a->v_str.val, b->v_str.val));
-
+
if (t > 0)
return IS_GREATER;
else if (t < 0)
@@ -1374,7 +1374,7 @@ value_compare (GnmValue const *a, GnmValue const *b, gboolean case_sensitive)
}
GnmValDiff
-value_compare_no_cache (GnmValue const *a, GnmValue const *b,
+value_compare_no_cache (GnmValue const *a, GnmValue const *b,
gboolean case_sensitive)
{
return value_compare_real (a, b, case_sensitive, FALSE);
diff --git a/src/wbc-gtk.c b/src/wbc-gtk.c
index dca7172..d887916 100644
--- a/src/wbc-gtk.c
+++ b/src/wbc-gtk.c
@@ -4754,7 +4754,7 @@ cb_auto_expr_insert_formula (WBCGtk *wbcg, gboolean below)
gnm_func_ref (specs->func);
cmd_analysis_tool (WORKBOOK_CONTROL (wbcg), scg_sheet (scg),
- dao, specs, analysis_tool_auto_expression_engine,
+ dao, specs, analysis_tool_auto_expression_engine,
TRUE);
}
diff --git a/src/widgets/ChangeLog b/src/widgets/ChangeLog
index 8e8155a..764fe4e 100644
--- a/src/widgets/ChangeLog
+++ b/src/widgets/ChangeLog
@@ -3,10 +3,10 @@
* Release 1.10.14
2011-03-08 Andreas J. Guelzow <aguelzow pyrshep ca>
-
- * widget-font-selector.c (fs_init): Use correct domain for
+
+ * widget-font-selector.c (fs_init): Use correct domain for
gnm_gtk_builder_new
-
+
2011-02-18 Morten Welinder <terra gnome org>
* widget-font-selector.c (list_init): Plug leak.
diff --git a/src/widgets/gnumeric-expr-entry.c b/src/widgets/gnumeric-expr-entry.c
index 76d5fbd..be6506b 100644
--- a/src/widgets/gnumeric-expr-entry.c
+++ b/src/widgets/gnumeric-expr-entry.c
@@ -793,7 +793,7 @@ gee_set_tooltip (GnmExprEntry *gee, GnmFunc *fd, gint args, gboolean had_stuff)
g_free (extra);
}
- gee->tooltip.tooltip = gee_create_tooltip
+ gee->tooltip.tooltip = gee_create_tooltip
(gee, str->str, _("\n\n<i>Ctrl-F4 to close tooltip</i>"), FALSE);
gee->tooltip.args = args;
gee->tooltip.had_stuff = (max == 0 && args == 0 && had_stuff);
@@ -1186,7 +1186,7 @@ cb_gee_key_press_event (GtkEntry *entry,
gnm_expr_entry_close_tips (gee);
return TRUE;
}
-
+
if (gee->tooltip.completion != NULL) {
guint start = gee->tooltip.completion_start;
guint end = gee->tooltip.completion_end;
diff --git a/tools/win32/moduleset.in b/tools/win32/moduleset.in
index 89d9878..86585d0 100644
--- a/tools/win32/moduleset.in
+++ b/tools/win32/moduleset.in
@@ -232,7 +232,7 @@
</autotools>
<!-- python stack -->
- <autotools id="pygobject"
+ <autotools id="pygobject"
autogen-sh="autoreconf" skip-autogen="never">
<branch repo="gnome.org" module="sources/pygobject/2.20/pygobject-2.20.0.tar.bz2"
version="2.20.0">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]