1. 04 May, 2001 2 commits
  2. 03 May, 2001 2 commits
    • Jon K Hellan's avatar
      New callback function. Removes object data from wbcg when dialog is · ccb86658
      Jon K Hellan authored
      2001-05-03  Jon K Hellan  <hellan@acm.org>
      
      	* src/gnumeric-util.c (cb_remove_object_data): New callback
      	function. Removes object data from wbcg when dialog is destroyed.
      	(gnumeric_keyed_dialog): New function. Make dialog a transient
      	child of wbcg, attaching to wbcg object data to identify the
      	dialog.
      	(gnumeric_dialog_raise_if_exists): New function: Raise the dialog
      	identified by key if it is registered on the wbcg.
      
      	* src/gnumeric-util.h (gnumeric_dialog_make_unique,
      	gnumeric_dialog_raise_if_exists): Declare.
      
       	* src/about.c (dialog_about): Use gnumeric_keyed_dialog.
      	Use gnumeric_dialog_raise_if_exists to ensure that only one sheet
      	object config dialog at a time can be displayed for a wbcg.
      
       	* src/sheet-object-widget.c (sheet_widget_checkbox_user_config):
      	Ditto.
      
      2001-05-03  Jon K Hellan  <hellan@acm.org>
      
      	* src/dialogs/dialog-define-names.c (name_guru_init): Use
      	gnumeric_keyed_dialog rather than gnumeric_non_modal_dialog.
      	(dialog_define_names): Use (gnumeric_dialog_raise_if_exists to
      	ensure that only one instance at a time can be displayed for a
      	wbcg.
      ccb86658
    • Michael Meeks's avatar
      make it more demoable. · 19f217c5
      Michael Meeks authored
      19f217c5
  3. 02 May, 2001 1 commit
    • Almer S. Tigelaar's avatar
      Callback timer routine, re-enables the toolbars. · 1a5a3140
      Almer S. Tigelaar authored
      2001-05-02  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/workbook-edit.c (cb_thaw_ui_toolbar): Callback timer
      	routine, re-enables the toolbars.
      	(workbook_edit_set_sensitive): Add a ui timer to eliminate
      	toolbar flickering.
      
      	* src/sheet.c (sheet_menu_state_enable_insert): Clean-up.
      1a5a3140
  4. 01 May, 2001 6 commits
    • Morten Welinder's avatar
      Cleanups. · 63eff1d1
      Morten Welinder authored
      63eff1d1
    • Morten Welinder's avatar
      CHITEST. · 62ea9136
      Morten Welinder authored
      62ea9136
    • Almer S. Tigelaar's avatar
      Seek for matching )'s for ('s and vice versa. (find_bracket): The meat for · e45a0e6b
      Almer S. Tigelaar authored
      2001-05-01  Almer S. Tigelaar  <almer@gnome.org>
      
       	* src/parser.y (yylex): Seek for matching )'s for ('s and
       	vice versa.
       	(find_bracket): The meat for the above functionality
       	(find_char): Split out from yylex, might be useful in other
       	places. Currently used to scan for matching quotes.
      	(gnumeric_expr_parser): If the ExprTree is null, assume that
      	an error has occurred, set a general "invalid expression" and
      	mark the whole expression. Also display more detail when both
      	the expression and error message are non-null.
      e45a0e6b
    • Morten Welinder's avatar
      Un-suckify. (wildcards_and_question_marks, parse_search_string): Constify. · 401c3250
      Morten Welinder authored
      2001-05-01  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_left, gnumeric_right, gnumeric_lower,
       	gnumeric_upper, gnumeric_clean, gnumeric_proper): Un-suckify.
      	(wildcards_and_question_marks, parse_search_string): Constify.
      401c3250
    • Almer S. Tigelaar's avatar
      Use sheet_unant. (application_clipboard_clear): Idem. · e6d66e4a
      Almer S. Tigelaar authored
      2001-05-01  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/application.[ch] (application_clipboard_unant): Use
      	sheet_unant.
      	(application_clipboard_clear): Idem.
      	(application_clipboard_copy): Use sheet_ant.
      	(application_clipboard_cut): Idem.
      	(application_clipboard_is_cut): New function, is the area
      	on the clipboard marked for cutting or for copying?
      
      	* src/selection.[ch] (sheet_selection_ant): Deprecated, remove.
      	(sheet_selection_unant): Idem.
      
      	* src/sheet-control-gui.[ch] (scg_selection_ant): Rename
      	to scg_ant and add a ranges parameter where the ranges to
      	ant can be specified.
      	(scg_selection_unant): Rename to scg_unant.
      	(scg_destroy): Make sure to un-ant everything.
      	(scg_construct): Ant all anted regions on the sheet.
      
      	* src/sheet.[ch] (sheet_ant): New, ants one or more regions
      	on the sheet.
      	(sheet_unant): New, unants all currently anted region on the
      	sheet.
      	(sheet_destroy): Make sure to free the ant list.
      
      	* src/commands.c (cmd_ins_del_colrow_undo): Remove ugly ant-hack,
      	this is no longer needed, application_clipboard_cut/copy handles
      	this now.
      	(cmd_ins_del_colrow_redo): Idem
      	(cmd_ins_del_colrow): Oh dear, we were actually storing both
      	the cut and copied area as a cut area and we were actually
      	cutting even if the range was a copied area after shifting.
      e6d66e4a
    • Jody Goldberg's avatar
      sync with website. · d43551f0
      Jody Goldberg authored
      
      2001-04-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/about.c (dialog_about) : sync with website.
      
      	* src/format.c (format_number) : don't suppress the minus sign when
      	  faced with a space in the format.  Is there a counter example ?
      	(format_number) : handle negative improper fractions.
      d43551f0
  5. 30 Apr, 2001 8 commits
    • Morten Welinder's avatar
    • Morten Welinder's avatar
      White space issues. · 32d1b839
      Morten Welinder authored
      32d1b839
    • Morten Welinder's avatar
      Warning killer. · 5ef75629
      Morten Welinder authored
      2001-04-30  Morten Welinder  <terra@diku.dk>
      
      	* src/func.c (tokenized_help_find): Warning killer.
      
      	* src/value.c (value_new_array): Kill warnings.
      	(value_new_array_empty): Ditto.
      	(value_release): Ditto.
      
      	* src/print-cell.c (print_show): Use proper types.
      	(get_width_string_n): Ditto.
      
      	* src/number-match.c (gnumeric_error_init): Warning killer.
      
      	* src/parser.y (deallocate_all): Warning killer.
      
      	* src/item-bar.c (item_bar_draw): Avoid signedness problems.
      
      	* src/format-template.c (hash_table_destroy): Warning killer.
      
      	* src/colrow.h (struct _ColRowInfo): Make size_pixels an int.
      
      	* src/value-sheet.c (value_area_get_width, value_area_get_height):
       	Return an int, not a guint.
      
      2001-04-26  Morten Welinder  <terra@diku.dk>
      
      	* fn-string.c (gnumeric_mid): Un-suckify.
      	(gnumeric_find): Un-suckify.
      	(gnumeric_substitute): Warning killer.
      	(match_string): Warning killer.
      
      	* fn-information.c (translate_cell_format): Warning killer.
      
      	* fn-eng.c (val_to_base): Warning killer.
      
      2001-04-30  Morten Welinder  <terra@diku.dk>
      
      	* ms-summary.c (sum_name_to_excel): Fix index count.  Constify.
        	Make static.
      	(excel_to_gnum_mapping): Make static.
      5ef75629
    • Almer S. Tigelaar's avatar
      More descriptive descriptor. (cmd_format): Idem. (cmd_resize_colrow): · d5fb613b
      Almer S. Tigelaar authored
      2001-04-30  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/commands.c (cmd_clear_selection): More descriptive
      	descriptor.
      	(cmd_format): Idem.
      	(cmd_resize_colrow): Idem.
      	(cmd_autofill): Idem.
      	(cmd_autoformat): Idem.
      	(cmd_unmerge_cells): Idem.
      	(cmd_merge_cells): Idem.
      	(cmd_colrow_std_size): Add "pts" to end of descriptor.
      	(cmd_zoom): No need to re-assign gstring.
      	(range_list_to_string): Convert a list of ranges to a
      	string representation.
      
      	* src/colrow.[ch] (colrow_index_list_to_string): Convert
      	an index list to a string representation.
      	(colrow_string_build): Utility routine for
      	colrow_index_list_to_string.
      d5fb613b
    • Almer S. Tigelaar's avatar
      Give a warning when both the resulting ExprTree and error message is · 48aacb0b
      Almer S. Tigelaar authored
      2001-04-30  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/parser.y (gnumeric_expr_parser) : Give a warning
      	when both the resulting ExprTree and error message is non-null.
      	This should never happen.
      48aacb0b
    • Stano Visnovsky's avatar
      Updated Slovak translation · 422c4617
      Stano Visnovsky authored
      422c4617
    • Jody Goldberg's avatar
      Headers are in default style. And grid colour is auto, not black. · 1e3e8a63
      Jody Goldberg authored
      
      2001-04-29  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (write_window2) : Headers are in default style.
      	  And grid colour is auto, not black.
      1e3e8a63
    • Jody Goldberg's avatar
      return INVALID_TOKEN rather than EOF when a lexical error is found. · d886024e
      Jody Goldberg authored
      
      2001-04-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/parser.y (yylex) : return INVALID_TOKEN rather than EOF when a
      	  lexical error is found.
      d886024e
  6. 29 Apr, 2001 3 commits
    • Almer S. Tigelaar's avatar
      Implement remaining information types for the CELL function. · 3c8732da
      Almer S. Tigelaar authored
      2001-04-29  Almer S. Tigelaar  <almer@gnome.org>
      
      	* fn-information.c (gnumeric_cell): Implement remaining
      	information types for the CELL function.
      	(retrieve_format_info): A helper function for gnumeric_cell
      	for gathering format characteristics.
      3c8732da
    • Almer S. Tigelaar's avatar
      Implement zoom undo/redo (cmd_zoom_destroy) : Idem. (cmd_zoom_redo): Idem. · 2f042ff1
      Almer S. Tigelaar authored
      2001-04-29  Almer S. Tigelaar  <almer@gnome.org>
      
      	* src/commands.c (cmd_zoom) : Implement zoom undo/redo
      	(cmd_zoom_destroy) : Idem.
      	(cmd_zoom_redo): Idem.
      	(cmd_zoom_undo): Idem.
      
      	* src/workbook-control-gui.c (cb_change_zoom):
      	Use cmd_zoom here.
      2f042ff1
    • Jody Goldberg's avatar
      Mostly fix border printing. There are still some precedence issues with · 5655e1bd
      Jody Goldberg authored
      intersections of double lines.  However, nothing significant.
      
      2001-04-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/style-border.c (print_hline) : handle offset of screen coords vs
      	  printer coords.
      	(print_vline) : ditto.
      	(style_borders_row_print) : sync with style_borders_row_draw and pass
      	  width to the line drawing to handle different coordinate types.
      
      	* src/ranges.c (range_translate) : warn if clipped not just if
      	  removed.
      
      	* src/clipboard.c (clipboard_prepend_cell) : store the source sheet if
      	  possible.
      	(paste_link) : Use the right sheets.
      	(clipboard_paste_region) : send enough information into paste_link.
      5655e1bd
  7. 28 Apr, 2001 2 commits
    • Valek Frob's avatar
      Updated russian translation. · b492beef
      Valek Frob authored
      b492beef
    • Jody Goldberg's avatar
      Catch fractions too. (render_number) : don't pass in so many copies of · 02b18e95
      Jody Goldberg authored
      
      2001-04-27  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (pre_parse_format) : Catch fractions too.
      	(render_number) : don't pass in so many copies of flags.  Just use the
      	  info struct.  Add a 'has_fraction' flag to disable rounding.
      	(do_render_number) : ditto.
      	(stern_brocot) : simple stern brocot tree.  Should really use an
      	  adaptive precision but I am lazy.
      	(format_number) : add fractions.
      
      	* src/commands.c (cmd_autofill_redo) : changing visiblity can triger a
      	  draw which requiresthat things be rendered and spanned.  Be sure to
      	  complete the action BEFORE changing visibility.
      02b18e95
  8. 27 Apr, 2001 5 commits
    • Morten Welinder's avatar
      Gripe. · 8b883392
      Morten Welinder authored
      8b883392
    • Chema Celorio's avatar
      add the header for clone_sheet · 2ba8959f
      Chema Celorio authored
      2001-04-27  Chema Celorio  <chema@celorio.com>
      
      	* src/sheet-object.h: add the header for clone_sheet
      
      	* src/sheet-object.c (sheet_object_clone): implement
      	(sheet_object_clone_sheet): implemnt.
      
      	* src/sheet-object-widget.c (SOW_MAKE_TYPE): add read_xml, write_xml
      	and clone methods to macro
      	(sheet_object_widget_clone): implement.
      	Implement for X in label, frame, button, checkbox
      	(sheet_widget_x_construct_with_label):
      	(sheet_widget_x_destroy):
      	(sheet_widget_x_clone):
      	(sheet_widget_x_write_xml):
      	(sheet_widget_x_read_xml):
      
      	(sheet_object_widget_register): implement
      
      	* src/sheet-object-impl.h: add the clone method
      
      	* src/sheet-object-graphic.c (sheet_object_graphic_clone): implement.
      	(sheet_object_filled_clone): implement.
      
      	* src/sheet-object-cell-comment.c (cell_comment_clone): implement
      2ba8959f
    • Jon K Hellan's avatar
      Invoke scg_start_range_selection rather than · 97e49011
      Jon K Hellan authored
      2001-04-26  Jon K Hellan  <hellan@acm.org>
      
      	* src/item-grid.c (item_grid_button_1): Invoke
      	scg_start_range_selection rather than
      	gnumeric_sheet_start_range_selection.
      
      	* src/sheet-control-gui.[ch] (scg_start_range_selection): New function.
      	Start range selection in gsheet and notify expr entry.
      97e49011
    • Jody Goldberg's avatar
      Rework to simplify and use colrow_equal. (write_colinfo) : extract the · 49effd20
      Jody Goldberg authored
      
      2001-04-26  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-write.c (write_colinfos) : Rework to simplify and use
      	  colrow_equal.
      	(write_colinfo) : extract the info from the ColRowInfo directly and
      	  fill in the visibility, outline, and collapse states.
      	(write_rowinfo) : export visibility, collapse and outline.
      	(write_guts) : new function.
      	(new_sheet) : Include blank cols/rows with outline properties in
      	  extent calculation.
      
      	* ms-excel-write.h (Excel{Col,Row}) : Delete unnecessary structures.
      49effd20
    • Jody Goldberg's avatar
      Add configure checks for finite and isfinite · 08596c31
      Jody Goldberg authored
      
      2001-04-26  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Add configure checks for finite and isfinite
      
      	* src/mathfunc.h (FINITE) : Move the #define wrapper out here.
      08596c31
  9. 26 Apr, 2001 11 commits