1. 26 Jun, 2005 1 commit
    • Jody Goldberg's avatar
      new. (xml_sax_input_msg) : new. · e406c13c
      Jody Goldberg authored
      
      2005-06-25  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-sax-read.c (xml_sax_hlink) : new.
      	(xml_sax_input_msg) : new.
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* src/Makefile.am : enable pango-test
      
      2005-06-22  Jody Goldberg <jody@gnome.org>
      
      	* * : s/MStyle/GnmStyle/
      	      s/mstyle_/gnm_style_/
      	      s/StyleHAlignFlags/GnmHAlign/
      	      s/StyleVAlignFlags/GnmVAlign/
      e406c13c
  2. 22 Jun, 2005 2 commits
  3. 20 Jun, 2005 2 commits
    • Jody Goldberg's avatar
      http://bugzilla.gnome.org/show_bug.cgi?id=163414 "If it hurts when you do · 1018dd24
      Jody Goldberg authored
      
      
      2005-06-14  Jody Goldberg <jody@gnome.org>
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=163414
      	* src/item-bar.c (item_bar_event) : "If it hurts when you do that,
      	  don't do that".  Position the tooltip above the cursor for row
      	  headers too :-)
      
      2005-06-13  Jody Goldberg <jody@gnome.org>
      
      	* functions.c (gnumeric_column) : rework to handle arrays locally.
      	(gnumeric_row) : ditto.
      
      2005-06-13  Jody Goldberg <jody@gnome.org>
      
      	* src/expr.c (gnm_expr_eval) : when evaluating an array pass the
      	  cols/rows into the EvalPos.
      
      	* src/position.c (eval_pos_init) : init new cols/rows member
      	(eval_pos_init_dep) : ditto.
      	(eval_pos_init_cell) : ditto.
      	(eval_pos_init_sheet) : ditto.
      1018dd24
    • Morten Welinder's avatar
      Prevent renames to "". · d63a1322
      Morten Welinder authored
      2005-06-20  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_rename_sheet): Prevent renames to "".
      d63a1322
  4. 14 Jun, 2005 1 commit
    • Morten Welinder's avatar
      New functions. · c351703f
      Morten Welinder authored
      2005-06-14  Morten Welinder  <terra@gnome.org>
      
      	* src/gnumeric-gconf.c (gnm_gconf_get_toolbar_visible,
      	gnm_gconf_set_toolbar_visible): New functions.
      
      	* src/wbc-gtk.c (cb_add_menus_toolbars): Set toolbar visibility.
      	(cb_handlebox_visible): Make changes to visibility permanent.
      	(wbc_gtk_init): Don't set everything visible.
      c351703f
  5. 13 Jun, 2005 5 commits
  6. 12 Jun, 2005 1 commit
    • Morten Welinder's avatar
      Just dispose of the view. That will both break cycles and indirectly · 65e10920
      Morten Welinder authored
      2005-06-12  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook.c (workbook_detach_view): Just dispose of the view.
      	That will both break cycles and indirectly unref.
      	(workbook_sheet_delete): Ditto.
      
      	* src/workbook-view.c (wb_view_sheet_add): Don't leak a ref to the
      	new view.
      
      	* src/sheet-view.c (sheet_view_new): Ref the sheet view when we
      	add it to the sheet's list of views.
      	(sv_real_dispose): Unref as we remove from said list.
      65e10920
  7. 10 Jun, 2005 5 commits
    • Morten Welinder's avatar
      Fix condition for swapping sheet indices. Fix loop. (dependent_unlink): · 5aeac747
      Morten Welinder authored
      2005-06-10  Morten Welinder  <terra@gnome.org>
      
      	* src/dependent.c (link_cellrange_dep, unlink_cellrange_dep): Fix
      	condition for swapping sheet indices.  Fix loop.
      	(dependent_unlink): Don't try to unlink dynamic dependencies from
      	a NULL container.
      5aeac747
    • Morten Welinder's avatar
      New function. (dependents_revive_sheet): Check sanity here. · 2092b8cf
      Morten Welinder authored
      2005-06-10  Morten Welinder  <terra@gnome.org>
      
      	* src/dependent.c (gnm_dep_container_sanity_check): New function.
      	(dependents_revive_sheet): Check sanity here.
      	(gnm_dep_container_dump): And here.
      	(handle_outgoing_references): New function.  Properly unlink
      	dependencies that reference stuff outside current sheet.
      	(do_deps_destroy, do_deps_invalidate): Use
      	handle_outgoing_references.
      
      	* src/dependent.c (dependents_invalidate_sheets): Handle 3d deps
      	here.  Avoid crashes by not modifying the hash while we go over
      	it.
      	* src/workbook.c (workbook_sheet_delete): Not here.
      2092b8cf
    • Morten Welinder's avatar
      Write visibility. · ea3662cf
      Morten Welinder authored
      2005-06-10  Morten Welinder  <terra@gnome.org>
      
      	* src/xml-sax-write.c (xml_write_sheet): Write visibility.
      
      	* src/xml-sax-read.c (xml_sax_attr_enum): New function.
      	(xml_sax_sheet_start): Restore visibility.
      
      	* src/xml-io.c (xml_read_selection_info): Don't crash if we lack a
      	view.
      	(xml_write_selection_info): Ditto.
      	(xml_sheet_read): Restore visibility.
      	(xml_sheet_write): Write visibility.
      ea3662cf
    • Jody Goldberg's avatar
      init the menu prefs on realization. · 883a9adf
      Jody Goldberg authored
      
      2005-06-09  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-control-gui.c (cb_realize) : init the menu prefs on
      	  realization.
      883a9adf
    • Jody Goldberg's avatar
      call gnm_expr_entry_set_parsepos to be sure we're using the right notional · 8cd55d50
      Jody Goldberg authored
      
      2005-06-09  Jody Goldberg <jody@gnome.org>
      
      	* src/item-edit.c (ie_scan_for_range) : call
      	  gnm_expr_entry_set_parsepos to be sure we're using the right
      	  notional position.  This only really matters for R1C1 refs.
      
      	* src/rendered-value.c (rendered_value_render) : use the Sheet::convs
      	  to display expressions.
      	(cell_get_entered_text) : ditto.
      
      	* src/parse-util.c (rangeref_as_string) : r1c1 support.
      	(cellref_as_string) : ditto.
      
      	* src/item-bar.c (item_bar_draw) : for r1c1 use numbers for col
      	  headers.
      	(item_bar_calc_size) : ditto.
      
      	* src/sheet.c : Add use-r1c1 property
      	(re_render_formulas) : split from
      	(sheet_set_display_formulas) : here.
      	(sheet_set_use_r1c1) : for use here.
      
      	* src/wbcg-actions.c (toggle_actions) : Add r1c1 toggle
      	* src/GNOME_Gnumeric-gtk.xml : use it
      8cd55d50
  8. 09 Jun, 2005 2 commits
  9. 08 Jun, 2005 4 commits
    • Morten Welinder's avatar
      Rename "visible" property to "visibility" and make it an enum. All users · 380ff133
      Morten Welinder authored
      2005-06-08  Morten Welinder  <terra@gnome.org>
      
      	* src/sheet.c (gnm_sheet_class_init): Rename "visible" property to
      	"visibility" and make it an enum.  All users changed.
      	* src/sheet.h (struct _Sheet): Ditto for is_visible member.
      
      	* src/workbook-view.c (wb_view_sheet_remove): New function to
      	mirror wb_view_sheet_add.
      	* src/workbook.c (workbook_sheet_hide_controls): Use
      	wb_view_sheet_remove.
      380ff133
    • Ivan, Wogn Yat Cheung's avatar
      adapt to the change of go_get_mime_type(). [#304074] · c7c01a8b
      Ivan, Wogn Yat Cheung authored
      2005-06-08  Ivan, Wogn Yat Cheung  <email@ivanwong.info>
      
      	* src/sheet-control-gui.c (scg_drag_receive_uri_list):
      	adapt to the change of go_get_mime_type(). [#304074]
      c7c01a8b
    • Jody Goldberg's avatar
      From Ivan, Wong Yat Cheung <email@ivanwong.info> enable libspreadsheet · 36de258b
      Jody Goldberg authored
      
      2005-06-07  Jody Goldberg <jody@gnome.org>
      
      	From Ivan, Wong Yat Cheung  <email@ivanwong.info>
      	* src/Makefile.am : enable libspreadsheet
      36de258b
    • Jody Goldberg's avatar
      handle R1C1 · cd23119e
      Jody Goldberg authored
      2005-06-07  Jody Goldberg <jody@gnome.org>
      
      	* functions.c (gnumeric_indirect) : handle R1C1
      
      2005-06-07  Jody Goldberg <jody@gnome.org>
      
      	* src/parser.y : Pass the convention to the range_ref parser
      
      	* src/parse-util.c (r1c1_get_index) : make this more robust.
      	(cellref_r1c1_get) : adjust calling to new get_index args.
      	(r1c1_rangeref_parse) : new.
      	(rangeref_parse) : connect into the r1c1 parser.
      	(parse_util_init) : add an r1c1 convention set
      cd23119e
  10. 07 Jun, 2005 1 commit
    • Morten Welinder's avatar
      Revive sheets being re-attached. · 978ee6c8
      Morten Welinder authored
      2005-06-07  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook.c (workbook_sheet_state_restore): Revive sheets
      	being re-attached.
      
      	* src/workbook-control-gui.c (scg_delete_sheet_if_possible): Use
      	cmd_reorganize_sheets2.
      
      	* src/sheet.h (struct _Sheet): Add extra "revive" member.
      
      	* src/expr-name.c (gnm_named_expr_collection_relink,
      	gnm_named_expr_collection_unlink): New functions.
      	(gnm_named_expr_collection_free): Remove the extra indirection.
      	All callers changed.
      
      	* src/dependent.c (handle_dynamic_deps, handle_referencing_names):
      	Extracted from do_deps_destroy.
      	(do_deps_invalidate, clear_revive_info, dependents_revive_sheet):
      	New functions.
      	(dependents_link): Do not free the argument list.  All callers
      	changed.
      	(do_deps_destroy): Call clear_revive_info.
      	(invalidate_name): Renamed from cb_name_invalidate.  Add "destroy"
      	argument.  If not destroying, save the name-expression pairs.
      	(cb_collect_deps_of_names): Collect also the names.
      	(dependents_invalidate_sheet, dependents_invalidate_sheets): Add
      	extra "destroy" argument.  All callers changed.
      	(dep_hash_destroy): Walk over the hash once, not three times.
      978ee6c8
  11. 06 Jun, 2005 2 commits
  12. 05 Jun, 2005 2 commits
  13. 04 Jun, 2005 1 commit
    • Jody Goldberg's avatar
      Use the PrintInfo from the supplied sheet rather than something global. · 090c0304
      Jody Goldberg authored
      
      2005-06-04  Jody Goldberg <jody@gnome.org>
      
      	* src/print.c (print_page_cells) : Use the PrintInfo from the supplied
      	  sheet rather than something global.
      	(print_page_repeated_rows) : ditto.
      	(print_page_repeated_cols) : ditto.
      	(print_page_repeated_intersect) : ditto.
      	(print_hf_element) : ditto.
      	(print_hf_line) : ditto.
      	(print_headers) : ditto.
      	(print_footers) : ditto.
      	(setup_scale) : ditto.
      	(print_page) : ditto.
      	(print_range_down_then_right) : ditto.
      	(print_range_right_then_down) : ditto.
      	(print_job_info_init_sheet) : ditto.
      	(print_sheet_range) : ditto.
      	(compute_sheet_pages) : ditto.
      	(compute_pages) : ditto.
      	(print_sheet) : ditto.
      	(workbook_print_all) : delete.
      	(sheet_print_real) : and merge into here.
      	(print_job_info_update_from_config) : merge into print_job_info_init_sheet.
      	(print_job_info_get) : Do not attempt to load a PrintInfo from the
      	  first sheet.  We'll set things up on a per sheet basis.
      	(print_job_info_destroy) : we do not have a local copy of a PrintInfo
      	  anymore.
      090c0304
  14. 03 Jun, 2005 2 commits
  15. 02 Jun, 2005 2 commits
  16. 01 Jun, 2005 4 commits
  17. 31 May, 2005 3 commits