1. 04 Oct, 2000 1 commit
    • Michael Meeks's avatar
      impl. (workbook_new): re-order workbook_setup_status_area · 5b7a28aa
      Michael Meeks authored
      2000-10-04  Michael Meeks  <michael@helixcode.com>
      
      	* src/workbook.c (setup_progress_bar): impl.
      	(workbook_new): re-order workbook_setup_status_area
      	(workbook_setup_status_area): upd.
      	(workbook_create_standard_toolbar): null the toolbar.
      	(workbook_setup_auto_calc): create the auto-expr control.
      
      	* src/gnumeric.xml: add stuff.
      
      	* src/command-context-gui.c (ccg_set_progress): upd.
      5b7a28aa
  2. 03 Oct, 2000 1 commit
    • Michael Meeks's avatar
      render the cell value if we have display_formulas even if we arn't · 936d042c
      Michael Meeks authored
      2000-10-03  Michael Meeks  <michael@helixcode.com>
      
      	* src/cell-draw.c (cell_draw): render the cell value if we have
      	display_formulas even if we arn't supposed to render '0' values
      	and the value is 0.
      
      	* src/print-cell.c (print_cell): ditto.
      
      	* src/gnumeric.xml: move built menu items up.
      
      	* src/workbook.c: add HelpAbout verb.
      	(workbook_new): update to use nicer helper, adding help support.
      
      2000-09-30  Michael Meeks  <michael@helixcode.com>
      
      	* src/gnumeric-util.c (gnumeric_inject_widget_into_bonoboui): add a
      	freeze / thaw to force GUI re-build.
      
      	* src/workbook.c: add debug verb. (verb_debug_dump_xml): impl.
      
      2000-09-24  Michael Meeks  <michael@helixcode.com>
      
      	* src/workbook-private.h: update to item container.
      
      2000-09-21  Michael Meeks  <michael@helixcode.com>
      
      	* src/sheet-object.c (sheet_object_destroy): fix uninitialized sheet
      	pointer.
      936d042c
  3. 02 Oct, 2000 2 commits
    • Almer S. Tigelaar's avatar
      Make more error proof and insert protection for invalid filenames. · b9dd12cc
      Almer S. Tigelaar authored
      2000-10-02  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/file-autoft.c:
      	(template_list_load): Make more error proof and insert
      	protection for invalid filenames.
      b9dd12cc
    • Almer S. Tigelaar's avatar
      Remove subdirectories, convert into a flat directory with structured · 4d5020a5
      Almer S. Tigelaar authored
      2000-10-01  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* templates/autoformat/, templates/autoformat/Makefile.am:
      	Remove subdirectories, convert into a flat directory with structured
      	filenames.
      
      	* configure.in:
      	Remove templates/autoformat subdirectories
      
      	* gnumeric.spec.in:
      	Adjust to cope with new autoformat directory structure
      
      	* src/dialogs/Makefile.am:
      	Remove -DGNUMERIC_AUTOFORMATDIR
      
      	* src/Makefile.am
      	Add -DGNUMERIC_AUTOFORMATDIR
      
      	* src/file-autoft.c, src/file-autoft.h:
      	New, functions for loading special listings of the autoformat
      	directory.
      
      	* src/dialogs/dialog-autoformat:
      	(categories_load): Remove
      	(categories_free): Remove
      	(templates_load): Adjust to use template_list_load
      4d5020a5
  4. 30 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      The bonobo toolbars are mostly functional. · ff08e323
      Jody Goldberg authored
      - dog slow ??
      - missing accelerators
      - toolbars in wrong order
      - verb signatures are screwed up
      - no file history
      - not properly desensitized during editing
      - quick hack for recursion
      .
      .
      .
      A fix for bug 25414
      
      2000-09-30  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_create_toolbars) : All three toolbars are
      	  bonobo now.
      
      	* src/workbook-view.c (workbook_view_set_paste_special_state) : No
      	  need to use our own corba_exception.
      
      	* src/workbook-private.h : Remove the widget pointers for the border
      	  and colour combos.
      
      	* src/workbook-format-toolbar.c : Support the new bonobo ui stuff.
      	  Its a hack for now.
      
      	* src/gnumeric.xml (FormatToolbar) : Implement.
      
      	* src/gnumeric-util.c (gnumeric_toolbar_insert_with_eventbox) : Show
      	  the client widget.
      	(gnumeric_toolbar_append_with_eventbox) : Ditto.
      
      2000-09-30  Jody Goldberg <jgoldberg@home.com>
      	For : realms@telerama.com
      
      	* src/functions/fn-stat.c (gnumeric_chitest) : off by one bug fix.
      ff08e323
  5. 29 Sep, 2000 3 commits
    • Jody Goldberg's avatar
      Plug leak. · 1a829410
      Jody Goldberg authored
      2000-09-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/graph-series.c
      	(graph_series_seq_scalar) : Mark the sequence for release.
      	(graph_series_seq_date) : Ditto.
      	(graph_series_seq_string) : Ditto.
      1a829410
    • Jody Goldberg's avatar
      Simplify and beautify. · 7566f7b1
      Jody Goldberg authored
      
      2000-09-29  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_close_if_user_permits) : Simplify and
      	  beautify.
      7566f7b1
    • Jody Goldberg's avatar
      Do not duplicate the container_add it is already done in the · 3b188483
      Jody Goldberg authored
      
      2000-09-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-graph-guru.c (cb_graph_guru_clicked) : Do not
      	  duplicate the container_add it is already done in the
      	  client_site_new.
      
      	* src/sheet-object-container.c (view_destroyed) : delete.
      	(sheet_object_container_destroy) : Use bonobo_object_unref.
      	(sheet_object_container_new_view) : No need for the magic view
      	  destruction handler.  That is handled when the sheet object unrefs
      	  the ClientSite.
      
      	* idl/Makefile.am (idl_DATA) : Install in a version specific location.
      
      	* src/dialogs/dialog-graph-guru.c (graph_guru_state_destroy) : Use
      	  bonobo_object_unref rather than bonobo_object_client_unref.
      	(cb_graph_guru_clicked) : On success clear the State's pointer to the
      	  manager so that it does not get deleted.
      	(graph_manager_destroy) : new routine to clear out the remote manager.
      	(graph_guru_init_manager) : Use it.
      
      	* src/workbook.c (cut_cmd) : Delete the object explicitly.
      	* src/sheet-object.c (sheet_object_remove_cb) : Ditto.
      
      	* src/sheet-object-container.c (view_destroyed) : rename from
      	  item_destroy to clarify its function.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_object) : Add
      	  KP_Delete.  There is no need to change the mode and clear anything.
      	  The sheet_object destructor takes care of it.
      3b188483
  6. 28 Sep, 2000 5 commits
    • Jody Goldberg's avatar
      Use bonobo_object_unref rather than bonobo_object_client_unref. · 765fdd37
      Jody Goldberg authored
      
      2000-09-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/dialogs/dialog-graph-guru.c (graph_guru_state_destroy) : Use
      	  bonobo_object_unref rather than bonobo_object_client_unref.
      	(cb_graph_guru_clicked) : On success clear the State's pointer to the
      	  manager so that it does not get deleted.
      	(graph_manager_destroy) : new routine to clear out the remote manager.
      	(graph_guru_init_manager) : Use it.
      
      	* src/workbook.c (cut_cmd) : Delete the object explicitly.
      	* src/sheet-object.c (sheet_object_remove_cb) : Ditto.
      
      	* src/sheet-object-container.c (view_destroyed) : rename from
      	  item_destroy to clarify its function.
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_key_mode_object) : Add
      	  KP_Delete.  There is no need to change the mode and clear anything.
      	  The sheet_object destructor takes care of it.
      765fdd37
    • Pablo Saratxaga's avatar
      Added Catalan file · 4d51b4eb
      Pablo Saratxaga authored
      4d51b4eb
    • Jody Goldberg's avatar
      Bump gnome-print req to 0.24 Ditto. Ditto. · 4b42f7d7
      Jody Goldberg authored
      
      2000-09-28  Jody Goldberg <jgoldberg@home.com>
      
      	* configure.in : Bump gnome-print req to 0.24
      	* README : Ditto.
      	* gnumeric.spec.in : Ditto.
      
      	* configure.in : Fix typo with double 'share'
      4b42f7d7
    • Jody Goldberg's avatar
      Resume using studlyCaps. Ditto. Ditto. · ff07a22f
      Jody Goldberg authored
      
      2000-09-28  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/gnumeric-graphs.idl : Resume using studlyCaps.
      	* src/graph-series.c : Ditto.
      	* src/dialogs/dialog-graph-guru.c : Ditto.
      ff07a22f
    • Jody Goldberg's avatar
      Control translation. (unit_name_get_short_name) : Ditto. · 88ad7da2
      Jody Goldberg authored
      2000-09-28  Jody Goldberg <jgoldberg@home.com>
      
      	* src/print-info.c (unit_name_get_name) : Control translation.
      	(unit_name_get_short_name) : Ditto.
      	(unit_name_to_unit) : Ditto.
      
      2000-09-27  Jody Goldberg <jgoldberg@home.com>
      
      	* gnumericConf.sh.in : Fix to match gnome-config's expectations.
      88ad7da2
  7. 27 Sep, 2000 3 commits
    • Morten Welinder's avatar
      Use constant expression to make factors easier to understand. Constify. · c92e7484
      Morten Welinder authored
      2000-09-27  Morten Welinder  <terra@diku.dk>
      
      	* src/print-info.c: Use constant expression to make factors easier
       	to understand.  Constify.  Have the compiler check UNIT_LAST.
      	(print_info_new): Compute margins from unit lengths instead of
       	storing "magic" numbers.
      
      
      
      2000-09-27  Morten Welinder  <terra@diku.dk>
      
      	* dialog-printer-setup.c (add_unit): Avoid double translation of
       	the unit name.
      	(do_convert): Don't corrupt the values.  Someone needs to check
       	that what we do to the gtk_adjustment -- here and elsewhere -- is
       	right.
      c92e7484
    • Morten Welinder's avatar
      Use constant expression to make factors easier to understand. Constify. · cc9be684
      Morten Welinder authored
      2000-09-27  Morten Welinder  <terra@diku.dk>
      
      	* src/print-info.c: Use constant expression to make factors easier
       	to understand.  Constify.  Have the compiler check UNIT_LAST.
      cc9be684
    • Morten Welinder's avatar
      Fix from Chema. Don't forget to pop the prefix. · c774cbe8
      Morten Welinder authored
      2000-09-27  Morten Welinder  <terra@diku.dk>
      
      	* src/print-info.c (load_formats): Fix from Chema.  Don't forget
       	to pop the prefix.
      c774cbe8
  8. 26 Sep, 2000 1 commit
    • Jody Goldberg's avatar
      Do not init the currency_date routines here, or shut them down. · 3c2450bc
      Jody Goldberg authored
      
      2000-09-26  Jody Goldberg <jgoldberg@home.com>
      
      	* src/main.c (gnumeric_main) : Do not init the currency_date routines
      	  here, or shut them down.
      
      	* src/number-match.c (format_match_init) : Call the currency_date init
      	  routine from here.  It must be done BEFORE the regexps are generated.
      	(format_match_finish) : Shut the currency_date routines down from here.
      	  for symetry.
      3c2450bc
  9. 25 Sep, 2000 3 commits
  10. 24 Sep, 2000 2 commits
    • Jody Goldberg's avatar
      Suppress some warnings and make non-bonobo build clean. · a9a20284
      Jody Goldberg authored
      2000-09-24  Jody Goldberg <jgoldberg@home.com>
      
      	* src/normal-args.c : Suppress warning.
      
      	* src/functions/fn*.c : Add a prototype of the _init routine to
      	  suppress warning.
      
      	* src/eval.c (cell_recalc_dependencies ) : Comment out until it is
      	  implemented.
      
      	* src/sheet-object-widget.c (sheet_object_widget_new) : delete.
      a9a20284
    • Jody Goldberg's avatar
      Attempt to inject the standard controls. This does not work. Continue work · 0361f272
      Jody Goldberg authored
      
      2000-09-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook.c (workbook_create_standard_toobar) : Attempt to inject
      	  the standard controls.  This does not work.
      	* src/gnumeric.xml : Continue work on bonobizing toolbars.
      
      2000-09-23  Jody Goldberg <jgoldberg@home.com>
      	For : realms@telerama.com
      
      	* src/datetime.c (datetime_g_days_between) : new function.
      	(datetime_g_months_between) : Ditto.
      	(datetime_g_years_between) : Ditto.
      
      	* src/functions/fn-date.c : Implement DateDif.
      
      2000-09-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/clipboard.c (x_selection_to_cell_region) : typo.
      
      	* src/gnumeric-util.c (gnumeric_inject_widget_into_bonoboui) : New
      	  utility routine.
      0361f272
  11. 23 Sep, 2000 3 commits
    • JP Rosevear's avatar
      Create an IDL_FLAGS variable with various paths based on GNOME_PATH · c8f3fe50
      JP Rosevear authored
      2000-09-23  JP Rosevear  <jpr@helixcode.com>
      
      	* configure.in: Create an IDL_FLAGS variable with various paths based
      	on GNOME_PATH
      
      	* idl/Makefile.am: Use IDL_FLAGS
      c8f3fe50
    • Almer S. Tigelaar's avatar
      return invalid character or NULL if the data is valid. · 8aad5f3a
      Almer S. Tigelaar authored
      2000-09-23  Almer S. Tigelaar  <almer1@dds.nl>
      
      	* src/stf-parse.c, src/stf-parse.h:
      	(stf_parse_is_valid_data): return invalid character
      	or NULL if the data is valid.
      
      	* src/clipboard.c:
      	(stf_read_workbook): Adjust to cope with the new
      	stf_parse_is_valid_data.
      
      	* src/stf.c:
      	(x_selection_to_cell_region): Idem.
      8aad5f3a
    • Jody Goldberg's avatar
      Use stock icons. Ditto. Ditto. Add more verbs. · 1c9409f7
      Jody Goldberg authored
      
      2000-09-23  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c : Use stock icons.
      	* src/workbook-object-toolbar.c : Ditto.
      	* src/workbook.c : Ditto.  Add more verbs.
      
      	* src/workbook-edit.c (workbook_edit_set_sensitive) : toolbar
      	  sensitization is broken for bonobo.
      
      	* src/gnumeric.xml : The beginings of toolbar support.
      
      	* src/application.c : Register all pixmaps as stock icons.
      
      2000-09-22  Jody Goldberg <jgoldberg@home.com>
      
      	* src/history.c (history_menu_insert_separator) : Use
      	  history_menu_locate_separator.  This is crufty.
      1c9409f7
  12. 22 Sep, 2000 6 commits
    • Morten Welinder's avatar
      Increase buffer size, just in case. (append_hour_elapsed): Ditto. · 63e185e6
      Morten Welinder authored
      2000-09-22  Morten Welinder  <terra@diku.dk>
      
      	* src/format.c (append_hour): Increase buffer size, just in case.
      	(append_hour_elapsed): Ditto.
      	(append_minute): Ditto.
      	(append_second): Ditto.
      	(append_minute_elapsed): Sort-of ditto.
      	(append_second_elapsed): Ditto.
      	(append_hour): Fix hour display for am/pm mode for the midnight
       	and noon hours.
      63e185e6
    • Morten Welinder's avatar
      Use bigger stack buffer so we will almost never have to allocate · 84b81c0e
      Morten Welinder authored
      2000-09-22  Morten Welinder  <terra@diku.dk>
      
      	* src/print-cell.c (print_show_iso8859_1): Use bigger stack buffer
       	so we will almost never have to allocate dynamically.
      84b81c0e
    • Jody Goldberg's avatar
      Check buttons actually work now. · 687f3661
      Jody Goldberg authored
      The range selection looks aweful, but it is a start.
      687f3661
    • Jody Goldberg's avatar
      redraw the selection. redraw the selection. · fafbc8cf
      Jody Goldberg authored
      
      2000-09-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_hide_cursor) : redraw the selection.
      	* src/sheet.c (sheet_show_cursor) : redraw the selection.
      
      	* src/sheet-object.c : Improve framework for editing/creating objects.
      	  We are more consistent about hiding the selection, and when to make
      	  things visible again.
      
      	* src/sheet-object-widget.c : Begin framework for configuring the
      	  sheet widgets.
      
      	* src/selection.c (sheet_selection_redraw) : new function.
      
      	* src/item-grid.c (item_grid_button_1) : Don't cancel object editing
      	  if there is a guru up.  We could be configuring things.
      
      	* src/selection.c (sheet_is_cell_selected) : Do no show selections
      	  while objects are being edited.
      
      	* src/gnumeric-util.c (gnumeric_non_modal_dialog) : Change the
      	  signature.
      
      	* src/sheet-object.c (sheet_object_destroy) : Improve safety.
      fafbc8cf
    • Lauris Kaplinski's avatar
      b892d363
    • Jody Goldberg's avatar
      implement. · 958108da
      Jody Goldberg authored
      
      2000-09-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/format.c (format_month_before_day) : implement.
      
      	* src/workbook.c (workbook_expr_relocate) : Support dependents other
      	  than cells.
      	(workbook_expr_unrelocate) : Ditto.
      958108da
  13. 21 Sep, 2000 3 commits
    • Jody Goldberg's avatar
      Temp fix to get things compiling. What should we be using? · 9e3e7802
      Jody Goldberg authored
      
      2000-09-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/print-cell.c (print_show_iso8859_1) : Temp fix to get things
      	  compiling.  What should we be using?
      9e3e7802
    • Jody Goldberg's avatar
      warning suppression. · 3b0a67ec
      Jody Goldberg authored
      3b0a67ec
    • Jody Goldberg's avatar
      no need to translate the money format. We generate it elsewhere. · cec33cc8
      Jody Goldberg authored
      
      2000-09-21  Jody Goldberg <jgoldberg@home.com>
      
      	* src/workbook-format-toolbar.c (workbook_cmd_format_as_money) :
      	  no need to translate the money format.  We generate it elsewhere.
      	(workbook_cmd_format_as_percent) : ditto.
      
      	* src/formats.c : Most format strings are NOT required to be
      	  translated anymore.  We store them internaly in the C locale.
      	(currency_date_format_init) : customize the currency symbol, and the
      	  day/month order.
      
      	* src/format.c (format_get_currency) : new function.
      	(format_month_before_day) : New stub.  How to do this portably.
      	(lookup_color_by_name) : new routine.
      	(lookup_color) : that was split from here.
      	(format_remove_decimal) : Fix a bit.  still broken for fmts with
      	  multiple cases.
      	(format_value) : no need to translate the format.
      	(translate_format_color) : new routine.
      	(style_format_delocalize) : new routine.  Add colour support.
      	(style_format_new_XL) : split from here.
      	(style_format_str_as_XL) : new routine.  Add colour support.
      	(style_format_as_XL) : split from here.
      
      2000-09-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_destroy) : If the current object is
      	  destroyed switch back to edit mode.
      cec33cc8
  14. 20 Sep, 2000 3 commits
  15. 19 Sep, 2000 3 commits
    • Morten Welinder's avatar
      isdigit takes unsigned chars, not chars. · 8e1c25c3
      Morten Welinder authored
      2000-09-19  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook.c (workbook_sheet_name_strip_number): isdigit takes
       	unsigned chars, not chars.
      
      	* src/functions/fn-lookup.c (find_index_linear): Quiet warnings.
      
      
      2000-09-19  Morten Welinder <terra@diku.dk>
      
      	* applix-read.c (applix_read_colormap): isdigit takes unsigned
       	chars, not chars.
      	(applix_parse_style): Ditto.
      	(applix_read_impl): Ditto.
      8e1c25c3
    • Michael Meeks's avatar
      add GNOME_DATADIR · db53dfa6
      Michael Meeks authored
      2000-09-18  Michael Meeks  <michael@helixcode.com>
      
      	* src/Makefile.am (INCLUDES): add GNOME_DATADIR
      
      	* src/workbook.c (workbook_new): use it.
      db53dfa6
    • Jody Goldberg's avatar
      Woohoo! The last of the release critical bugs are done. · b121e5da
      Jody Goldberg authored
      2000-09-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_row_size_fit_pixels) : PUTRID KLUDGE.
      	  Avoid the ugly row size changes when fitting the size.
      
      	* src/format.c (style_format_new_XL) : Implement translation.
      	(style_format_as_XL) : Ditto.
      
      	* src/number-match.c (format_match_init) : No need to compare to
      	  translated General.
      
      	* src/sheet.c (sheet_flag_status_update_cell) : Adjust signature.
      b121e5da