1. 14 Jun, 2000 1 commit
  2. 10 May, 2000 1 commit
    • Jon K Hellan's avatar
      Use gnumeric_clist_moveto to ensure that selected tool is visible. · 255ee961
      Jon K Hellan authored
      2000-05-10  Jon K Hellan  <hellan@acm.org>
      	* src/dialogs/dialog-analysis-tools.c (dialog_data_analysis):
      	Use gnumeric_clist_moveto to ensure that selected tool is visible.
      	* src/dialogs/dialog-function-select.c (category_list_fill):
      	s/current sheet/selected category/
      	(function_list_fill): s/category/function/
      	* src/dialogs/dialog-zoom.c (dialog_zoom_impl):
      	s/selected function/current sheet/
      	* src/dialogs/dialog-cell-format.c (fmt_dialog_init_format_page):
      	Use gnumeric_clist_make_selection_visible to ensure that list rows
      	are visible.
      	* 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
      	list so that row becomes visible.
      	(cb_clist_moveto): New callback function:
      	Disconnect callback and use clist_moveto to make row visible.
      	* src/gnumeric-util.[ch] (gnumeric_clist_moveto): New public
      	function: Make given row visible in list - immediately if mapped,
      	otherwise by attaching a signal handler.
      	(gnumeric_clist_make_selection_visible): New public function: Make
      	first selected row visible in list.
      2000-05-10  Jon K Hellan  <hellan@acm.org>
      	* src/func.c (tokenized_help_find): This segfaulted if no help was
      	available. The test for no help failed because of
      	signedness. Fixed it.
  3. 09 May, 2000 1 commit
  4. 27 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Improve versioning. Fix a few bugs. · 2c8b64d0
      Jody Goldberg authored
      Improve versioning.
      Fix a few bugs.
      2000-04-26  Jody Goldberg <jgoldberg@home.com>
      	* src/command-context.c (gnumeric_error_sys_err) : New function.
      	* src/command-context-gui.c (ccg_error_sys_err) : Support it.
      	* src/gnumeric-util.c (gnumeric_glade_xml_new) : Use gnumeric_error_sys_err.
      	* src/gutils.c (gnumeric_sys_{data,lib,glade,plugin)_dir) : New functions.
      	(gnumeric_usr_dir, gnumeric_usr_plugin_dir) : New functions.
      	* src/plugin.c (load_all_plugins) : Use
      	  gnumeric_usr_plugin_dir, and  gnumeric_sys_plugin_dir.
      	* src/item-edit.c (point_is_inside_range) : Handle non-singleton
      	  expr start characters.
      2000-04-25  Jody Goldberg <jgoldberg@home.com>
      	* *.c : glade_new_xml -> gnumeric_glade_new_xml
      	  Localize GNUMERIC_GLADEDIR so that plugins can use it too.
      	* src/gnumeric-util.c (gnumeric_glade_xml_new) : New function.
      	* */Makefile.am : Set 'DATADIR' rather than GLADEDIR.  And version
      	  the glade file the same way the plugins are set.  This should
      	  probably expand to include architecture akin to gcc.
      	* src/widgets/widget-editable-label.c (el_button_press_event) :
      	  Clicking in another window accepts the changes.  Once we have
      	  reliquished our grab push the button event back on the queue
      	  so that it can be forwarded on to the appropriate recipient (9007).
      	* src/parse-util.c (parse_text_value_or_expr) : Watch for 1 character
      	  strings which could start an expression.
  5. 11 Apr, 2000 1 commit
    • Jody Goldberg's avatar
      Force clean after post load recalc. · 94d91805
      Jody Goldberg authored
      2000-04-10  Jody Goldberg <jgoldberg@home.com>
      	* src/file.c (workbook_read) : Force clean after post load recalc.
      	* src/sheet-view.c (sheet_view_col_selection_changed) : keep the
      	  moving col visible.
      	(sheet_view_row_selection_changed) : Keep the moving row visible.
      	* src/item-grid.c (item_grid_find_col) : Tune iteration bounds to
      	  improve speed and allow for scrolling back to the first col/row.
      	* src/item-cursor.c (item_cursor_autofill_event) : Pass the coords of
      	  the cell we want to keep visible rather than the top left corner.
      	(item_cursor_set_bounds_visibly) : Rename the parameters to reflect
      	  their real purpose.
  6. 12 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Sensitize/desensitize the ok/cancel buttons. hiding changed shapes. · 61291261
      Jody Goldberg authored
      Re gen glade file.
      2000-03-11  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (workbook_setup_edit_area) : Use sensitize rather
      	  than show/hide for the ok/cancel buttons.  Return wizard back
      	  to end of list.
      	(workbook_new) : Revert last change, no longer necessary.
      	(workbook_start_editing_at_cursor) : Sensitize the ok/cancel edit buttons.
      	(workbook_finish_editing) : desensitize them.
  7. 10 Mar, 2000 1 commit
    • Jody Goldberg's avatar
      Constness. · c2af08a9
      Jody Goldberg authored
      2000-03-10  Jody Goldberg <jgoldberg@home.com>
      	* src/func.c (tokenized_help_new) : Constness.
      	* src/widgets/gtk-combo-box.c (cb_state_change) : New function to keep
      	  the state of the combo display button and the combo arrow in sync.
      	(gtk_combo_box_init) : Connect cb_state_change to the arrow.
      	(gtk_combo_box_set_display) : Ditto for the display widget.
      	* src/sheet.c (sheet_set_zoom_factor) : Bound the factor at 10% and 500%
      	* src/workbook.c (change_zoom_in_current_sheet_cb) :
      	  call change_displayed_zoom_cb to adjust the combo to contain the
      	(workbook_focus_current_sheet) : Only emit signal if the sheet
      2000-03-08  Jody Goldberg <jgoldberg@home.com>
      	* src/collect.c (callback_function_collect) : Treat arrays and ranges
      	  as errors.
      	* src/format.c (format_value) : formating a range returns a
      	  #VALUE! message.
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_sheet) :
      	  Use the workbook flags, and delete the icky globals.
      	(start_cell_selection_at) : Hide the std cursor when a cell selection
      	  cursor is created.
      	(gnumeric_sheet_stop_cell_selection) : Restore the std cursor.
      2000-03-07  Jody Goldberg <jgoldberg@home.com>
      	* src/workbook.c (accept_input) : Use workbook_finish_editing.
      	(cancel_input) : Ditto.
      	(do_focus_sheet) : Support range selection across spreadsheets.
      	(workbook_get_sheet_position) : Fix and document.
      	(workbook_move_sheet) : Fix.
      	(workbook_focus_sheet) : Handle errors cleanly.
      	(wb_edit_key_pressed) : Improve F4 handling.
      	(wizard_input) : Begin non-modal function wizard.  NOT FINSIHED.
      	(workbook_start_editing_at_cursor) : transfered from
      	(workbook_finish_editing) : Distilled from sheet_{accept,cancel}_pending_input.
      	(Workbook) : Add editing_cell, editing_sheet, editing.
      	* src/sheet.c (sheet_stop_editing) : Delete.
      	(sheet_accept_pending_input) : Merge into workbook_finish_editing.
      	(sheet_cancel_pending_input) : Ditto.
      	(sheet_start_editing_at_cursor) :
      	(sheet_create_edit_cursor) : New function.
      	(sheet_destroy_edit_cursor) : New function.
      	(sheet_destroy_cell_select_cursor) :  New function.
      	(Sheet) : Delete editing and editing_cell.
      	* src/selection.c (sheet_selection_changed_hook) : Make public.  This
      	  should eventually move but I'm not sure where.  It is used for more
      	  than just changes in the selection in the current sheet.  It must
      	  also be called when the sheet changes.  What it REALLY does it to
      	  sync the shared workbook state with the current sheet's selection.
      	* src/item-cursor.c (item_cursor_init) : Handle change from
      	  sheet_accept_pending_input -> workbook_finish_editing.
      	* src/item-grid.c (item_grid_button_1) : Ditto.
      	* src/gnumeric-sheet.c (gnumeric_sheet_can_move_cursor) : Edit moved
      	  from sheet -> workbook.
      	(selection_insert_selection_string) : Extend to support
      	  abs/rel refs and intersheet-refs.
      	(gnumeric_sheet_stop_cell_selection) : Add clear_string argument
      	  to optionally remove the selection range.
      	(gnumeric_sheet_key_mode_sheet) : Adjust to movement of editing flag
      	  from sheet -> workbook.  Be careful to use the original sheet when
      	  moving rather than the current sheet.  Support F4 while editing.
      	* src/cell-draw.c (cell_draw) : editing_cell has moved from sheet to
      	  workbook.  Fix font ref leak when drawing the edit cell.
      	* src/dialogs/dialog-function-wizard.c : Begin transition to being
      	  non-modal.  NOT FINISHED.
  8. 02 Mar, 2000 1 commit
    • Jon K Hellan's avatar
      Updated documentation · d875fc7e
      Jon K Hellan authored
      2000-03-02  Jon K Hellan  <hellan@acm.org>
      	* 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.
      	src/func.c (function_category_compare, function_get_category): Use
      	new FunctionCategory. Fix wrong use of g_list_find_custom.
      	(function_def_count_args, function_def_get_arg_type): Null pointer
      	* src/dialogs/dialog-function-select.c (function_categories_fill):
      2000-03-01  Jon K Hellan  <hellan@acm.org>
      	* python.c (exception_to_string): Rename to string_from_exception.
      	(value_from_exception): New function. Converts the current Python
      	exception to a new VALUE_ERROR.
      	(file static variable eval_pos): remove
      	(value_to_python): Fix refcounting bug re Py_None.
      	(value_from_python): Caller is now responsible for converting
      	exception to VALUE_ERROR.
      	(marshal_func): Handle optional arguments. Use
      	value_from_exception. Do away with eval_pos kludge. Consequence:
      	We must pass FunctionEvalInfo as an extra parameter to the python
      	(apply): Add context parameter.
      	(register_function): Add category parameter to Python
      	signature. Register function in given category.
      	* gnumeric_startup.py: Add category argument to all
      	register_function calls.
      	(gnumeric_mid, py_abs): Add context parameter.
      	* python.c
  9. 31 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      Move more of the pure view elements into WorkbookPrivate. · a038ab94
      Jody Goldberg authored
      2000-01-31  Jody Goldberg <jgoldberg@home.com>
      	* src/worksheet.h : Move more of the pure view elements into
      	* src/sheet.h : Remove include of workbook.h
      	* *.c : manually include workbook.h only where we need it.
      	* src/ranges.c (parse_range) : Move here from dialog-analysis-tools.c
      	  to avoid warnings.
      	* src/corba-workbook.c (Workbook_save_to) : Adjust to new calling
      	* src/corba-workbook-factory.c (WorkbookFactory_read) : Ditto.
      	* src/parser.y : Support interbook references.
      	* src/item-bar.c : Ignore scroll-wheel events. Eventually the app will
      	  handle these rather than the grid.
  10. 25 Jan, 2000 1 commit
    • Jody Goldberg's avatar
      - Fix a problem with zooming caused by the new item-bar enhancements. - · 03198e1d
      Jody Goldberg authored
      - Fix a problem with zooming caused by the new item-bar enhancements.
      - Remove gnumeric-sheet.h from a number of places that it had no reason to be.
      - Move all of the row/col pos/offset cache into GnumericSheet.  WARNING
        I do not populate all of it yet.
      2000-01-26  Jody Goldberg <jgoldberg@home.com>
      	* src/sheet-view.c (sheet_view_set_zoom_factor) : Keep the cursor in
      	  the same place and recompute the alignments for everything.
      	* src/item-cursor.c (item_cursor_set_bounds) : New function.
      	* src/gnumeric-sheet.h : Add more orthogonal structure for caching
      	  common row/col bounds and their canvas offsets.
      	* src/gnumeric-sheet.c (gnumeric_sheet_create) : Init the new members.
      	(gnumeric_sheet_filenames_dropped) : Keep the canvas private.
      	(gnumeric_sheet_make_cell_visible) : Add 'force_scroll' argument.
      	* src/clipboard.c (clipboard_release) : It is possible to have no
      	  styles associated with a region.
      	* src/item-grid.c : Remove overlapping cache of bounding rows/cols and
      	  offsets.  Use the superset in GnumericSheet.
      	 (item_grid_find_{row, col}) : Support sliding backwards.
  11. 06 Dec, 1999 1 commit
    • Michael Meeks's avatar
      Privatize FunctionDefinition · 90956c8c
      Michael Meeks authored
      remove dump.[ch]; moving to func.c for now,
      various stylistic cleans,
      make plugin-sample better practice,
      1999-12-06  Michael Meeks  <mmeeks@gnu.org>
      	* src/eval.c (search_cell_deps): Cull dead 'draw' code.
      1999-12-05  Michael Meeks  <mmeeks@gnu.org>
      	* src/expr.c (eval_funcall): Extract body to func.c
      	(cell_ref_make_absolute, free_values): move to func.c
      	(do_expr_decode_tree): Use function_def_get_name
      	* src/func.c (function_call_with_list): Clean to use new
      	helper functions + update style; use eval_expr not
      	eval_expr_real in 1 place; cleans flow;
      	(cell_ref_make_absolute): make args more convenient.
      	* Makefile.am: Kill dump.[ch]
      	* src/dump.[ch]: kill + move to
      	* src/func.c: (function_dump_defs).
      	* src/main.c (gnumeric_main): Use function_dump_defs
      	* src/func.c (function_def_get_fn): implement.
      	(function_def_get_user_data, function_def_set_user_data),
      	(function_def_count_args, function_def_get_name): implement.
      	(function_def_get_arg_type): implement.
      	Hide FunctionDefinition here. Stylistic cleans.
      	* plugins/python/python.c (marshal_func): use function_def_count_args
      	(__register_function): kill ancient mem leak in duff code.
      	* src/dialogs/dialog-function-select.c (function_definition_update):
      	use function_def_get_name.
      	* src/dialogs/dialog-function-wizard.c (arg_data_list_new): rewrite to
      	use count_args + get_arg_type: much safer. (get_text_value): use get_name.
      	* src/expr.h: Add user_data to function definition + hack it out.
      	* src/sheet.c (sheet_cell_get, sheet_cell_fetch): move up & inline
  12. 08 Sep, 1999 1 commit
    • Jody Goldberg's avatar
      Wed Sep 8 14:11:52 EDT 1999 · 2264af5a
      Jody Goldberg authored
          1st stab at scrollbars adjusting to visible region.
          Move selection code into a new file, no changes.
          Minor const fixups.
  13. 05 Jul, 1999 1 commit
  14. 27 Jun, 1999 1 commit
    • Michael Meeks's avatar
      Misc. minor function improvements, · cf4defb5
      Michael Meeks authored
      Fixed function wizard,
      Plugin warning fix,
      auto-expression parsing clean,
      externalised shared excel function data,
      various function fixes,
      Better excel export support ( thats easy :-)
  15. 26 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      The big GNUMERIC_PRINT merge into HEAD. · a5e65a30
      Miguel de Icaza authored
      The big GNUMERIC_PRINT merge into HEAD.
      Still some features are missing.  Check the TODO to see what is
      1999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* src/pixmaps.h: Removed unused pixmaps.
      	* src/corba-sheet.c (Sheet_corba_class_init): Fill in some missing
      	values fomr the GNOME::Gnumeric::Sheet epv interface.
      	* src/expr.c (eval_funcall): Removed unused variable.
      	* src/workbook.c (workbook_sheets): prepend and reverse instead of
      	appending all the time.  It is more efficient.
      	* src/style.c (x11_font_compute_hints): Renamed as well.  Might be
      	useful in the future.
      	* src/gnumeric-util.c (x11_font_get_italic_name,
      	x11_font_get_bold_name, x11_font_change_component): Renamed these
      	functions to reflect their actual usage.
      	* src/expr.c (expr_tree_new_constant): Change style to use early
      	return to keep indentation of the rest of the code at tab-1.  This
      	is a trick to keep indentation nice with 8-tab spaces.  Liberal
      	use of early returns, early continues, early breaks.
      	* src/cell.h (CELL_TEXT_GET): Kill unused macro.
      1999-06-25  Miguel de Icaza  <miguel@gnu.org>
      	* src/xml-io.c (xml_read_cell): Merge the style we just read with
      	the existing information from the cell (which are the defaults).
      	This is only for compatibility with the old format
      1999-06-24  Miguel de Icaza  <miguel@gnu.org>
      	* src/xml-io.c (style_font_new_from_x11): Implemented
      	* src/style.c (style_font_new): Improved matching of the font.
      	* src/xml-io.c 	(xml_write_style): Save Bold and Italic
      	properties.  Save Units as double.
      	(xml_read_style): Add conversion hook from old format.
      	(xml_read_style): Load properly italic and bold properties.
      	(xml_read_cell): Add new style reading code.  It is
      	compatible with the old Style reading code.
      	(xml_read_rows_info, xml_read_cols_info, xml_read_styles): Moved
      	Cols, Rows and Styles loading code here, for code clarity.
      	* src/style.c (style_font_new_simple): Include the scale in the
      	key lookup variable.
      	* src/xml-io.c: The FontDefs and the HREFs to the fonts were never
      	being used.  The new code for styles simplifies this.  Kill all
      	the references to the FontDefs urls and the font indeces.
      	* src/xml-io.c
      1999-06-23  Miguel de Icaza  <miguel@gnu.org>
      	* src/xml-io.c: Major updates.
      	(xml_read_colrow_info): Use floating point for loading the
      	units, margin_a and margin_b.
      	(xml_write_colrow_info): Save units, margin_a and margin_b using
      	floating point.
      	(xml_set_value_double): Activate this function.
      	(xml_write_cell): Do not save the style here.  Lookup the style
      	id, and write a record with the style id link.
      	(xml_sheet_write): Add call to xml_cell_styles_init and
      	xml_cell_styles_shutdown to init and shutdown the cell styles in a
      	per-sheet basis.
      	Renamed functions to suit the gnumeric coding
      	sytle.  Fixed indentation.
      	File format now saves a different version.  We store all cell
      	styles first, and then we reference them.
      	(parse_xml_context_t): renamed from
      	parseXmlContext.  Add style_table hash table for storing all the
      	styles used by the cells on a workbook.  Used to dump Styles first
      	and then have the cells reference it.
      	* src/style.c (style_hash, style_compare): New routines to
      	put Styles on hash tables.
      	* src/workbook.c (workbook_sheets): Use g_list_prepend instead of
      	g_list_append and reverse the result.
      1999-06-14  Miguel de Icaza  <miguel@gnu.org>
      	* src/cell.h: Killed ColType and RowType definitions.  They do not
      	save any noticeable amount of memory; we are not using them but
      	on the most useless places and finally they are the current limit
      	to our spreadsheet size.
      	* src/gnumeric-sheet.h: Use int instead of ColType, RowType
      	* src/item-cursor.h: Use int instead of ColType, RowType
      	* src/item-grid.h: Use int instead of ColType, RowType
      	* src/print-cell.c (CELL_DIM): Use _pt variants of the margins here.
      	(print_cell_text): and here.
      	(print_cell): and here.
      	(print_cell_range): and here.
      	(print_cell_grid): and here.
      1999-06-13  Miguel de Icaza  <miguel@gnu.org>
      	* src/sheet.c (sheet_compute_col_row_new_size): Update margin_a
      	and margin_b from the points.
      	(col_row_info_init): New function to initialize a sample
      	ColRowInfo.  Inits the _pt fields.
      	(col_row_unit_distance): Use the new fields in computation.
      	(sheet_col_get_unit_distance): Use new fields in computation.
      	* src/dialog-printer-setup.c (do_setup_margin): Set scroll region.
      	(preview_page_create): Implement routine that draws the page for
      	the margin setup.
      	* src/sheet.h (ColRowInfo): Units are now doubles; margin_a_pt and
      	margin_b_pt are doubles that represent the a and b margins in
      	* src/sheet.c (sheet_compute_col_row_new_size): Use the
      1999-06-11  Miguel de Icaza  <miguel@gnu.org>
      	* src/cell-draw.c (cell_draw): Move the foreground setting routine
      	here and handle single-line and multiline coloring properly.
      	* src/print-info.c (unit_name_to_unit): New routine, returns the
      	UniName from the string name.
      	* src/dialog-printer-setup.c (dialog_printer_setup): Use
      	print_info_save and kill the do_save_settings routine for the
      	cleaner print_info routine.
      	* src/print-info.c (print_info_new): Now loads the default
      	settings from the saved configuration.
      	(print_info_save): Saves the print information to the gnome_config.
      1999-06-08  Miguel de Icaza  <miguel@gnu.org>
      	* src/utils.c (str_trim_spaces): Moved str_trim_spaces ere.
      	* src/dialog-printer-setup.c (do_setup_main_dialog): Connect print
      	* src/print-cell.c (print_cell_grid): Simplify routine.
      	* src/sheet.c (sheet_row_get_unit_distance,
      	sheet_col_get_unit_distance): Include  margins in computation.
      	This is broken, as the margins are now pixels, and they should be
      	made points.
      	* src/dialog-printer-setup.c (do_fetch_page_info): Fetch other values.
      	(do_save_settings): Saves the configuration.
      	* src/print-cell.c (print_border): Implement border drawing.
      	(print_cell_grid): Make this work as it should.
      	* src/print.c (compute_groups): Handle the case where the contents
      	fit entirely in one page.
      1999-06-07  Miguel de Icaza  <miguel@gnu.org>
      	* src/print.c: New file.  Implements high-level printing.
      	* src/dialog-printer-setup.c: New file.  Implements the "Print
      	Setup" dialog box.
      1999-04-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* src/cell-draw.c: New file.  All of the cell screen drawing code
      	has been moved here now.
      	* src/print-cell.c: Enhanced code.
      	* src/workbook.c: hardcoded page size for testing purposes.
      1999-03-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	I do not like the current approach.  I do think that StyleFonts
      	should be static with regard to Zoom.
      	And we would keep a cache of X fonts that are used for a
      	particular size.
      	* src/style.c (style_font_new_from): New routine that creates a
      	new font.
      	* src/sheet.c (sheet_set_zoom_factor): Scale fonts used in the
      1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* src/dialog-printer-setup.c: New file.  Implements the workbook
      	page configuration dialog box.
      	* src/print-info.c, src/print-info.h: Manages the per-worbook
      	print options.
      1999-02-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* src/style.c (font_equal): Adapt function to the new StyleFont.
      	(style_font_new, style_font_new_simple): Adapt for the upcoming
      	gnome-print support.
      	(font_init): Adapt.
      	* src/xml-io.c: Use Gnome Print font scheme.
      	* src/workbook.c: ditto.
      	* src/cell.c: ditto.
      	* src/item-bar.c, src/item-edit.c: ditto
      	* src/dialog-cell-format.c: Disable font selector for now.
  16. 23 Jun, 1999 1 commit
  17. 22 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      Do not pre-initialize them. If they need to be pre-initialized something · fbd3597b
      Miguel de Icaza authored
      1999-06-21  Miguel de Icaza  <miguel@gnu.org>
      	* src/func.c: Do not pre-initialize them.  If they need to be
      	pre-initialized something is wrong in some other place.  Fix that
      	* src/clipboard.c (do_clipboard_paste_cell_region): Implement
      	transpose-on-paste command.  Change the increment steps for
      	transpose and compute a different target column as well.
      	(sheet_paste_selection): Swap the paste dimesions here if we are
      1999-06-18  Miguel de Icaza  <miguel@gnu.org>
      	* src/func.c: Remove static initialization of the error messages.
      1999-06-14  Miguel de Icaza  <miguel@gnu.org>
      	* src/clipboard.h: Define PASTE_TRANSPOSE.
      	* src/dialog-paste-special.c (dialog_paste_special): Add new
  18. 13 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      Process the return value from gnome_dialog_run correctly as well. (ie we · 72c2b4dd
      Miguel de Icaza authored
      1999-06-12  Miguel de Icaza  <miguel@gnu.org>
      	* src/dialog-cell-comment.c (dialog_cell_comment): Process the
      	return value from gnome_dialog_run correctly as well.  (ie we
      	should catch the return value -1 as the "user closed dialog box"
       	message and avoid destroying the dialog box ourselves).
      	* src/item-grid.c (context_paste_special_cmd): Handle a cancel
      	operation from the dialog_paste_special dialog box.
      	* src/dialog-paste-special.c (dialog_paste_special): Hanlde the
      	case in which the window manager closed the dialog box.
      	* src/cell.c (cell_comment_destroy): Changed invocation from
      	gtk_object_destroy to gtk_object_unref.
      	(cell_comment_unrealize): ditto.
      	(cell_comment_clicked): ditto.
      	* src/dialog-cell-sort.c (dialog_cell_sort): ditto.
      	* src/dialog-function-select.c (dialog_function_select): ditto
      	* src/dialog-function-wizard.c (dialog_function_wizard): ditto
      	* src/dialog-paste-special.c (dialog_paste_special): ditto
      	* src/dialog-solver.c (constr_add_click): ditto.
      	(constr_add_click): ditto
      	(dialog_solver_options): ditto
      	* src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection): ditto
      	(destroy_item_editor): ditto.
      	(gnumeric_sheet_key_mode_object): ditto, and clear the pointer to
      	the current_object.
      	* src/sheet-object-container.c (sheet_object_container_destroy): ditto.
      	* src/item-cursor.c (item_cursor_drag_event): ditto.
      	(item_cursor_autofill_event): ditto
      	* src/item-bar.c (item_bar_event): ditto
      	* src/workbook.c (workbook_setup_auto_calc): ditto.
      	* src/widget-editable-label.c (el_stop_editing): ditto
      	* src/sheet-object.c (sheet_object_destroy): ditto
      	(sheet_view_object_unrealize): ditto
      	(sheet_object_destroy_control_points): ditto
      	* src/sheet-view.c (sheet_view_destroy): ditto
      1999-06-10  Miguel de Icaza  <miguel@gnu.org>
      	* src/pattern-selector.c (pattern_selector_init): Use the GNOME
      	canvas fill_stipple feature instead of using the hack of creating
      	the bitmap and setting the stipple on the realize handler.
      1999-06-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* po/hr.po: Added croat translation from Vladimir Vuksan
  19. 22 May, 1999 1 commit
  20. 11 Apr, 1999 1 commit
  21. 07 Apr, 1999 1 commit
    • Miguel de Icaza's avatar
      Enable the function wizard only if the --debug flag was passed. · 5efadaf1
      Miguel de Icaza authored
      1999-04-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      	* src/workbook.c: Enable the function wizard only if the --debug
      	flag was passed.
      	* src/dialog-function-wizard.c, src/dialog-function-select.c:
      	Adapt to the rest of Gnumeric coding style.
      	Use a different way of creating the GUI and controlling the
      	* src/func.c, src/func.h (function_iterate_do_value): Use my
      	indentation and coding style here.
      	* src/dialog-cell-format.c (render_formated_version): Handle the
      	case where the value might be NULL.
  22. 06 Apr, 1999 2 commits