1. 17 Oct, 2004 1 commit
  2. 13 Oct, 2004 1 commit
  3. 11 Oct, 2004 1 commit
  4. 09 Oct, 2004 1 commit
    • Jody Goldberg's avatar
      Dump in some pending changes so that I can sync things to the laptop · c3eb2bbc
      Jody Goldberg authored
      2004-10-08  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_obj_read_biff8_obj) : some simple mapping from Forms
      	  objects to things we understand.  No properties imported yet.
      
      	http://bugzilla.gnome.org/show_bug.cgi?id=154734
      	* ms-chart.c (BC_R(end)) : cheesy swapping of the formatting
      	  associated with X and Y axes for bar plots.
      
      2004-10-08  Jody Goldberg <jody@gnome.org>
      
      	* graph/gog-object.c (gog_object_dup) : copy the position.
      
      2004-10-06  Jody Goldberg <jody@gnome.org>
      
      	* graph/gog-control-foocanvas.c (gog_control_foocanvas_update) : Fix
      	  redraw.  There were two bugs.
      	  1) foocanvas_group_update was wiping tbe bounds (things always look
      	     like they move)
      	  2) We were not requesting a redraw for the old position before
      	     moving.
      
      2004-10-08  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : throw in
      	  support for tabbing fwd/back through the list of objects.
      
      	* src/sheet-object-widget.c (sheet_widget_checkbox_create_widget) :
      	  Tweak to support toggle buttons too
      
      2004-10-08  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object.c : Add a SheetObjectView interface and use it to
      	  give us more control over things.
      
      	* src/workbook-control-gui.c (wbcg_zoom_feedback) : no need to
      	  reposition objects manually here.
      
      	* src/print.c (print_sheet_objects) : Use sheet_object_can_print.
      
      	* src/gutils.c : Clean up the name spacing
      
      	* src/sheet-filter.c : Support the new SheetObjectView interface
      	* src/sheet-object-cell-comment.c : ditto
      	* src/sheet-object-graph.c : ditto
      	* src/sheet-object-image.c : ditto
      	* src/sheet-object-widget.c : ditto
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) :
      	  - arrow moves the objects
      	  - ctrl arrow expands an edge
      	  - shift ctrl arrow shrinks an edge
      
      	* src/commands.c (CmdObjectInsert) : delete
      	(CmdObjectDelete) : Rename to CmdObjectsDelete and handle multiples
      	(CmdObjectMove) : Rename to CmdObjectsMove and handle multiples
      
      	* src/application.c (gnm_app_clipboard_cut_copy_obj) : handle multiple
      	  objects.
      	* src/gnumeric-pane.c : ditto.
      	* src/sheet-control-gui.c : ditto.
      	* src/item-grid.c : ditto.  Also there is no need to handle object
      	  creation here as a special case just use the object editing
      	  directly.
      
      	* src/sheet-object.c (sheet_object_anchor_init) : pick a default that
      	  we've actually implemented.
      c3eb2bbc
  5. 29 Sep, 2004 1 commit
    • Jody Goldberg's avatar
      new. uses the handy dandy unrealized signal on a SheetObject. With code · a5513aa7
      Jody Goldberg authored
      
      2004-09-29  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (scg_set_current_object) : new. uses the
      	  handy dandy unrealized signal on a SheetObject.  With code split from
      	(scg_object_stop_editing) : here.
      	(scg_mode_edit_object) : and here.
      	* src/gnumeric-pane.c (cb_control_point_event) : so that we could use
      	  it here.
      
      2004-09-28  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-control-gui.c (scg_mode_edit_object) :  fall back to edit
      	  mode if the object is unrealized.
      
      	* src/sheet-object.c (sheet_object_clear_sheet.) : merge some of the
      	  nice features from finalize
      	(sheet_object_finalize) : use sheet_object_clear_sheet.
      	* src/sheet.c (sheet_destroy) : ditto.
      
      	* src/gnumeric-pane.c (cb_control_point_event) : Make the copy
      	  operation undo-able.
      a5513aa7
  6. 28 Sep, 2004 1 commit
    • Jody Goldberg's avatar
      Make this smarter. Just append if the requested element is >= len · ea0ffbb9
      Jody Goldberg authored
      2004-09-27  Jody Goldberg <jody@gnome.org>
      
      	* src/gutils.c (gnm_ptr_array_insert) : Make this smarter.
      	  Just append if the requested element is >= len
      
      	* src/item-grid.c (item_grid_event) : only auto-slide when we're
      	  outside.  Inside we handle it locally fixes artificial movement that
      	  seems to jump back to the start of the previous row/col
      
      	* src/gnumeric-pane.c (cb_control_point_event) : Store the button that
      	  initiated the object drag and check that when releasing.
      
      	* src/commands.c (cmd_paste_copy) : handle pasting objects with no
      	  content.
      
      	* src/gutils.h : Fix the name spacing to be gnm_ in all cases.
      	  gnumeric_ is too damn big, and we have not business using g_
      	* src/gutils.c (gnm_usr_dir) : Check for empty home_dir
      
      	* src/graph.c (gnm_go_data_vector_load_len) : handle missing
      	  expression
      
      	* src/gnm-so-filled.c (gnm_so_filled_read_xml_dom) : We still need to
      	  Type field even though it is ugly.
      
      	* src/xml-io.c (xml_cellregion_write) : cut-n-paste-o to fix
      	  inter-process pasting
      	(xml_cellregion_read) : Actually store the resulting objects
      	(xml_read_sheet_object) : Don't set the sheet when extracting a
      	  cellregion.
      ea0ffbb9
  7. 26 Sep, 2004 1 commit
    • Jody Goldberg's avatar
      add some safety checking (ms_obj_read_pre_biff8_obj) : merge up the · 5500f712
      Jody Goldberg authored
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_obj_attr_new_flag) : add some safety checking
      	(ms_obj_read_pre_biff8_obj) : merge up the handling of similar
      	  structures to get more consistent import.
      
      	* ms-excel-write.c (excel_write_objs) : now that text boxes and
      	  rectangles are the same we need to do more work to figure out which
      	  are which.  Make a list and use that in place of repeated lookups.
      	(excel_sheet_new) : make the list here.
      	(excel_write_state_new) : use the list.
      	(excel_sheet_free) : new.
      	(excel_write_state_free) : use excel_sheet_free.
      
      	* ms-excel-read.c (ms_sheet_map_color) : rework to use GOColor
      	(ms_sheet_realize_obj) : simplify greatly by using GObject properties
      	  with common names in the sheet objects and merging the handling of
      	  related types (text==rectangle ...)
      	(ms_sheet_create_obj) : Use the new object types in a step towards
      	  removing this function.
      
      	* ms-escher.c (ms_escher_read_OPT_bools) : new.
      	(ms_escher_read_OPT) : read the boolean blocks as a group to avoid
      	  kludging around the infrastructure for 1:1 properties.
      	 While in here make the debug spew for complex options more useful
      	 Store PTR properties
      
      
      2004-09-26  Jody Goldberg <jody@gnome.org>
      
      	* src/gnumeric-pane.c (gnm_pane_object_move) :  handle symetric
      	  movement via ctrl-click and object duplicate via ctrl-click on
      	  acetate
      
      	* src/gnumeric-pane.c (build_so_menu) : new
      	(display_object_menu) : create a GtkMenu based on the actions.
      
      	* src/sheet-object.c (sheet_object_populate_menu) : Rework the
      	  interface to return action descririptors rather than a GtkMenu
      	  Change all implementations
      
      2004-09-26  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_cellregion_read) : read objects
      	(xml_cellregion_write) : write them too
      
      2004-09-25  Jody Goldberg <jody@gnome.org>
      
      	* src/wbcg-actions.c (cb_edit_copy) : Use
      	  gnm_app_clipboard_cut_copy_obj for objects
      	(cb_edit_cut) : ditto.
      
      	* src/sheet-object.c (sheet_object_populate_menu) : put the stacking
      	  items into a sub menu.
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/clipboard.c (paste_object) : new.
      	(clipboard_paste_region) : use it.
      	(cb_dup_objects) : new.
      	(clipboard_copy_range) : dup the objects in the range.
      	(cellregion_new) : init the object list
      	(cellregion_unref) : free the object list
      
      	* src/sheet-object.c (sheet_object_dup) : make public, and tweak
      	  interface.
      	(sheet_object_clone_sheet) : adjust to the interface change.
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/sheet-object-image.c (sheet_object_image_copy) : implement
      
      	* src/wbcg-actions.c : update the actions to handle the new drawing
      	  object types.
      
      	* src/sheet-object.c (sheet_object_clone) : Change the interface to
      	  have the wrapper create the object.  Then s/clone/copy/ and have it
      	  just do the assignament rather, not allocation.
      	* src/sheet-object*.c : s/clone/copy/ with related semantic changes
      
      	* src/rendered-value.c (rendered_value_render) : trivial
      	  constification
      
      	* src/main-application.c (main) : Use bonobo_main WITH_GNOME just in
      	  case.
      
      	* src/gnumeric-pane.c (gnm_pane_object_register) : Change return type
      	  to GObject.  There's no need to be more specific.
      	(gnm_pane_widget_register) : ditto.
      
      	* src/gnm-so-filled.c : Rewrite of the old SheetObjectGraphic
      	  to use GogStyle, merge text into the base, and use GObject properties
      	* src/gnm-so-line.c : Rewrite of the old SheetObjectFilled
      	  to use GogStyle  and use GObject properties
      
      	* src/Makefile.am : Adjust to the file changes for
      	  sheet-object-graphic.c
      
      2004-09-13  Stepan Kasal  <kasal@ucw.cz>
      
      	* configure.in (GCONF_SCHEMAS_INSTALL): AM_CONDITIONAL has to be
      	  called in all branches.
      
      2004-09-24  Jody Goldberg <jody@gnome.org>
      
      	* src/xml-io.c (xml_read_sheet_object) : add hooks to the old names
      	  for GnmSOFilled, and GnmSOLine
      
      2004-09-23  Jody Goldberg <jody@gnome.org>
      
      	* src/commands.c (cmd_object_format) : undo redo for the new line and
      	  filled objects.
      
      2004-09-23  Jody Goldberg <jody@gnome.org>
      
      	* configure.in (GNUMERIC_PLUGIN_LDFLAGS) : new macro to give the win32
      	  folk a hook for the plugins.
      	* plugins/*/Makefile.am : Use it
      	* plugins/*/plugin.xml.in : Remove the .la for module names.  Core of
      	  glib adds just before checking platform specific names.
      
      2004-09-23  Jody Goldberg <jody@gnome.org>
      
      	* src/wbcg-actions.c (cb_view_zoom_out) : in and out were reversed
      	(cb_view_zoom_in) : ditto
      5500f712