1. 20 Aug, 2001 10 commits
    • Jody Goldberg's avatar
      Prep for release · b4d0e14a
      Jody Goldberg authored
      b4d0e14a
    • Jody Goldberg's avatar
      typos · 54f01b9a
      Jody Goldberg authored
      54f01b9a
    • Ole Laursen's avatar
      Updated Danish translation. · 9092f450
      Ole Laursen authored
      2001-08-21  Ole Laursen  <olau@hardworking.dk>
      
      	* da.po: Updated Danish translation.
      9092f450
    • Jody Goldberg's avatar
      All we need is a wbc. (sheet_object_anchor_set) : new routine to replace · 23a9ee2c
      Jody Goldberg authored
      2001-08-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
      	(sheet_object_anchor_set) : new routine to replace range_set.
      	(sheet_object_anchor_get) : new.
      	(sheet_object_anchor_cpy) : new.
      	(sheet_object_anchor_init) : new routine to bundle up object
      	  positioning more neatly.
      
      	* src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
      	  types that are implemented.  Use the new SheetObjectAnchor scheme.
      
      	* src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
      	  point causes a move or a resize.
      	(cb_control_point_event) : store the initial anchor rather than the
      	  control specific position,  and assume that the changes are simple
      	  movements until a resize occurs.
      	(scg_object_calc_position) : adjust to using SheetObjectAnchor.
      	(scg_colrow_distance_get_virtual) : new routine.
      	(scg_class_init) : register it here.
      
      	* src/sheet-control.c (sc_colrow_distance_get) : a new new virtual.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
      	  created objects too.
      	(gnm_canvas_filenames_dropped) : signature change
      	  for sheet_object_container_new_file.
      
      	* src/gnumeric.h : add GnmGraph.
      
      	* src/Makefile.am : rename graph-vector -> gnumeric-graph
      
      	* idl/gnumeric-graphs.idl : Add some versioning.
      	  Move the header arg out of the value callback.
      	  Replace VectorNotify::remove with Manger::clearVectors.
      	  Merge freeze & thaw.
      	  Renamed 'nameChange' to 'headerChanged'
      	  Add an 'id' arg when registering vectors.
      
      2001-08-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c
      	    s/insert_object/object_insert/
      	    s/move_object/object_move/
      	    s/delete_object/object/delete/
      	(cmd_object_insert_redo) : The object knows its position based on its
      	  anchor. No need to set the control specific coordinates for an
      	  arbitrary control.  No need to tweak the reference count either.
      	(cmd_object_insert) :  ditto.
      	(cmd_object_insert_undo) : no need to tweak the ref count.
      	(cmd_object_delete_redo) : keep it simple, just set the sheet.
      	(cmd_object_delete_undo) : just clear the sheet.
      	(cmd_object_delete_destroy) : very simple.
      	(cmd_object_move_redo) : store the anchor, not the position for a
      	  specific control.  Be careful not to move the object the firs time
      	  through.  We've already done that.
      	(cmd_move_object_undo) : just call redo.
      	(cmd_object_move) : store the old anchor and take a flag indicating
      	  move vs resize.
      
      	* src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
      	  protection.
      
      	* src/sheet-object.c (sheet_object_update_bounds) : rename from
      	  sheet_object_position to have a clearer name.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
      	(grid_view_new) : use scg_toplevel.
      
      	* src/sheet-control-gui.c (scg_toplevel) : new function.
      
      2001-08-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c : Major reorg to fix life cycle issues.
      	(gnm_graph_new) : don't dangle the reference returned by oaf.
      	(gnm_graph_destroy) : deactivate & _fini the corba obj.
      	(gnm_graph_vector_destroy) : ditto.
      
      	* src/expr.c (expr_to_graph_vector) : delete this function.
      	  we have no need to disassemble the expression in graphs.
      
      	* src/item-grid.c : revert switch from destroy -> finalize.
      	* src/item-bar.c : ditto.
      
      	* src/sheet-object-container.c : no need to include gnorba.
      	  no need to include sheet-control-gui-priv anymore.
      	(sheet_object_container_destroy) : delete unused.
      	(sheet_object_container_new) : weaken requirements to take a workbook,
      	  rather than a sheet as the container.
      	(sheet_object_container_new_object) : ditto.
      	(sheet_object_container_new_file) : ditto.
      
      	* src/workbook-private.c : delete some unnecessary code.
      
      	* src/workbook.c : include sheet-control vs sheet-control-gui.
      	(workbook_expr_unrelocate) : it is ok to attempt to relocate to a
      	  non-existent cell.
      
      	* src/commands.c (cmd_paste_cut_undo) : restore the original content
      	  AFTER unrelocating the expressions.
      
      	* src/workbook-control-gui.c (workbook_control_gui_init) : Add the
      	  magic to enable the bonobo toolbar config utility.
      	(workbook_menu_edit) : Fix the accelerators and sync the text with the
      	  bonobo version.
      	(wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
      	(change_menu_label) : Fix accelerator display, we still don't set
      	  them, but at least we display them correctly.
      	(insert_bonobo_object) : signature change to
      	  sheet_object_container_new_object.
      
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
      	  based on the frozen pane when unfreezing.
      
      	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
      	  Reformat.  Remove code to set the topleft after the panes are
      	  created or removed.  That is handled by sheet.
      
      	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
      	  build by making them standalone rather than associating them with
      	  toolbuttons.  It appears as if bonobo does not support accelerators
      	  for toolbuttons as yet.
      23a9ee2c
    • Jody Goldberg's avatar
      All we need is a wbc. (sheet_object_anchor_set) : new routine to replace · b459aaa7
      Jody Goldberg authored
      
      2001-08-20  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet-object.c (sheet_object_remove_cb) : All we need is a wbc.
      	(sheet_object_anchor_set) : new routine to replace range_set.
      	(sheet_object_anchor_get) : new.
      	(sheet_object_anchor_cpy) : new.
      	(sheet_object_anchor_init) : new routine to bundle up object
      	  positioning more neatly.
      
      	* src/sheet-object-cell-comment.c (cell_set_comment) : Only use anchor
      	  types that are implemented.  Use the new SheetObjectAnchor scheme.
      
      	* src/sheet-control-gui.c (scg_object_move) : track whether the ctrl
      	  point causes a move or a resize.
      	(cb_control_point_event) : store the initial anchor rather than the
      	  control specific position,  and assume that the changes are simple
      	  movements until a resize occurs.
      	(scg_object_calc_position) : adjust to using SheetObjectAnchor.
      	(scg_colrow_distance_get_virtual) : new routine.
      	(scg_class_init) : register it here.
      
      	* src/sheet-control.c (sc_colrow_distance_get) : a new new virtual.
      
      	* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : delete newly
      	  created objects too.
      	(gnm_canvas_filenames_dropped) : signature change
      	  for sheet_object_container_new_file.
      
      	* src/gnumeric.h : add GnmGraph.
      
      	* src/Makefile.am : rename graph-vector -> gnumeric-graph
      
      	* idl/gnumeric-graphs.idl : Add some versioning.
      	  Move the header arg out of the value callback.
      	  Replace VectorNotify::remove with Manger::clearVectors.
      	  Merge freeze & thaw.
      	  Renamed 'nameChange' to 'headerChanged'
      	  Add an 'id' arg when registering vectors.
      
      2001-08-19  Jody Goldberg <jgoldberg@home.com>
      
      	* src/commands.c
      	    s/insert_object/object_insert/
      	    s/move_object/object_move/
      	    s/delete_object/object/delete/
      	(cmd_object_insert_redo) : The object knows its position based on its
      	  anchor. No need to set the control specific coordinates for an
      	  arbitrary control.  No need to tweak the reference count either.
      	(cmd_object_insert) :  ditto.
      	(cmd_object_insert_undo) : no need to tweak the ref count.
      	(cmd_object_delete_redo) : keep it simple, just set the sheet.
      	(cmd_object_delete_undo) : just clear the sheet.
      	(cmd_object_delete_destroy) : very simple.
      	(cmd_object_move_redo) : store the anchor, not the position for a
      	  specific control.  Be careful not to move the object the firs time
      	  through.  We've already done that.
      	(cmd_move_object_undo) : just call redo.
      	(cmd_object_move) : store the old anchor and take a flag indicating
      	  move vs resize.
      
      	* src/workbook-control-gui.c (wb_control_gui_toplevel) : Add some
      	  protection.
      
      	* src/sheet-object.c (sheet_object_update_bounds) : rename from
      	  sheet_object_position to have a clearer name.
      
      	* src/embeddable-grid.c (embeddable_grid_init_anon) : init the sheet.
      	(grid_view_new) : use scg_toplevel.
      
      	* src/sheet-control-gui.c (scg_toplevel) : new function.
      
      2001-08-18  Jody Goldberg <jgoldberg@home.com>
      
      	* src/gnumeric-graph.c : Major reorg to fix life cycle issues.
      	(gnm_graph_new) : don't dangle the reference returned by oaf.
      	(gnm_graph_destroy) : deactivate & _fini the corba obj.
      	(gnm_graph_vector_destroy) : ditto.
      
      	* src/expr.c (expr_to_graph_vector) : delete this function.
      	  we have no need to disassemble the expression in graphs.
      
      	* src/item-grid.c : revert switch from destroy -> finalize.
      	* src/item-bar.c : ditto.
      
      	* src/sheet-object-container.c : no need to include gnorba.
      	  no need to include sheet-control-gui-priv anymore.
      	(sheet_object_container_destroy) : delete unused.
      	(sheet_object_container_new) : weaken requirements to take a workbook,
      	  rather than a sheet as the container.
      	(sheet_object_container_new_object) : ditto.
      	(sheet_object_container_new_file) : ditto.
      
      	* src/workbook-private.c : delete some unnecessary code.
      
      	* src/workbook.c : include sheet-control vs sheet-control-gui.
      	(workbook_expr_unrelocate) : it is ok to attempt to relocate to a
      	  non-existent cell.
      
      	* src/commands.c (cmd_paste_cut_undo) : restore the original content
      	  AFTER unrelocating the expressions.
      
      	* src/workbook-control-gui.c (workbook_control_gui_init) : Add the
      	  magic to enable the bonobo toolbar config utility.
      	(workbook_menu_edit) : Fix the accelerators and sync the text with the
      	  bonobo version.
      	(wbcg_menu_state_update) : Fix the capitalization for freeze/unfreeze.
      	(change_menu_label) : Fix accelerator display, we still don't set
      	  them, but at least we display them correctly.
      	(insert_bonobo_object) : signature change to
      	  sheet_object_container_new_object.
      
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
      	  based on the frozen pane when unfreezing.
      
      	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
      	  Reformat.  Remove code to set the topleft after the panes are
      	  created or removed.  That is handled by sheet.
      
      	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
      	  build by making them standalone rather than associating them with
      	  toolbuttons.  It appears as if bonobo does not support accelerators
      	  for toolbuttons as yet.
      b459aaa7
    • Jody Goldberg's avatar
      improve the debug info. (ms_excel_read_bof) : Doh! We modify the sheet · fed4ba83
      Jody Goldberg authored
      2001-08-20  Jody Goldberg <jgoldberg@home.com>
      
      	* ms-excel-read.c (ms_excel_read_formula) : improve the debug info.
      	(ms_excel_read_bof) : Doh!  We modify the sheet counter.
      	(ms_excel_read_workbook) : signature changes for ms_excel_read_bof.
      fed4ba83
    • Morten Welinder's avatar
      59141 · 442f0c60
      Morten Welinder authored
      442f0c60
    • Morten Welinder's avatar
      86044e87
    • Gustavo Maciel Dias Vieira's avatar
      Updated Brazilian Portuguese translation. · 0b403f70
      Gustavo Maciel Dias Vieira authored
      2001-08-20  Gustavo Maciel Dias Vieira <gdvieira@zaz.com.br>
      
      * pt_BR.po: Updated Brazilian Portuguese translation.
      0b403f70
    • Jody Goldberg's avatar
      Sync with the debian package from 0.69-3 · 2dd0afc0
      Jody Goldberg authored
      2dd0afc0
  2. 19 Aug, 2001 3 commits
  3. 18 Aug, 2001 2 commits
    • Jody Goldberg's avatar
      set the initial top_left position based on the frozen pane when · 43cbd3f2
      Jody Goldberg authored
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/sheet.c (sheet_freeze_panes) : set the initial top_left position
      	  based on the frozen pane when unfreezing.
      
      	* src/sheet-control-gui.c (scg_set_panes) : prepare for h/v only splits.
      	  Reformat.  Remove code to set the topleft after the panes are
      	  created or removed.  That is handled by sheet.
      43cbd3f2
    • Jody Goldberg's avatar
      enable the font accelerators in the bonobo build by making them standalone · a65def45
      Jody Goldberg authored
      2001-08-17  Jody Goldberg <jgoldberg@home.com>
      
      	* src/GNOME_Gnumeric.xml : enable the font accelerators in the bonobo
      	  build by making them standalone rather than associating them with
      	  toolbuttons.  It appears as if bonobo does not support accelerators
      	  for toolbuttons as yet.
      a65def45
  4. 17 Aug, 2001 4 commits
  5. 16 Aug, 2001 3 commits
  6. 15 Aug, 2001 10 commits
  7. 14 Aug, 2001 8 commits
    • Lutz Müller's avatar
      Set the dialogs parent so that the dialog will get placed correctly. I did · afe9a51f
      Lutz Müller authored
      2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>
      
              * src/sheet-object-graphic.c (sheet_object_filled_user_config): Set
              the dialogs parent so that the dialog will get placed correctly. I did
              it already in sheet_object_graphic_user_config but forgot to add
              it here, too.
      afe9a51f
    • Lutz Müller's avatar
      Use a Range as parameter instead of four ints Same here. In addition, · d4ab6c71
      Lutz Müller authored
      2001-08-14  Lutz Müller <urc8@rz.uni-karlsruhe.de>
      
              * src/print-cell.[c,h] (print_cell_range): Use a Range as parameter
              instead of four ints
              * src/print.c (print_titles), (print_sheet_objects), (print_page_cells),        (print_page): Same here. In addition, adjust calls to these functions
              all over the place.
      d4ab6c71
    • Jody Goldberg's avatar
      Use stamp files to make parallel compiles work. · f7740028
      Jody Goldberg authored
      2001-08-14  Jody Goldberg <jgoldberg@home.com>
      
      	* idl/Makefile.am : Use stamp files to make parallel compiles work.
      f7740028
    • Lutz Müller's avatar
      Let the user configure arrow shapes only if the object is an arrow. Update · 513aa010
      Lutz Müller authored
      2001-08-14  Lutz Müller <urc8@rz.uni-karlsruhe.de>
      
              * src/sheet-object-graphic.c: Let the user configure arrow shapes only
              if the object is an arrow. Update the color of the arrow in the preview.
      513aa010
    • Lutz Müller's avatar
      gnome_print_gsave before we clip the SheetObjects' region. · cc2b766e
      Lutz Müller authored
      2001-08-14  Lutz Müller <urc8@rz.uni-karlsruhe.de>
      
              * src/print.c (print_sheet_objects): gnome_print_gsave before we
              clip the SheetObjects' region.
      cc2b766e
    • Morten Welinder's avatar
      Object printing work. · 3de34aab
      Morten Welinder authored
      3de34aab
    • Lutz Müller's avatar
      Forgot to commit that file. It belongs to the bunch of printing fixes I... · 7aad8c72
      Lutz Müller authored
      Forgot to commit that file. It belongs to the bunch of printing fixes I committed a minute ago. Lutz Müller (urc8@rz.uni-karlsruhe.de)
      7aad8c72
    • Lutz Müller's avatar
      Remove all bonobo-related stuff. (print_sheet_objects): New. Prints all · e1c9cdd2
      Lutz Müller authored
      2001-08-14  Lutz Mller <urc8@rz.uni-karlsruhe.de>
      
              * src/print.c: Remove all bonobo-related stuff.
              (print_sheet_objects): New. Prints all objects that overlap a given
              range and clips to that range.
              (print_page_cells): Call print_sheet_objects from here.
              (print_page_object): Removed.
              (print_page): Check for sheet objects if no printable cells can be
              found.
              (render_sheet_objects): Removed.
              * src/sheet-object-bonobo.c (sheet_object_bonobo_print): Move the
              bonobo printing stuff in here.
              * src/sheet-object-impl.h: The virtual method print now has only
              three arguments: The PrintContext and the base (x & y) where to
              start printing.
              * src/sheet-object.[c,h]: Adjusted to new syntax.
              * src/sheet-object-cell-commend.c (cell_comment_print): Same here.
              * src/sheet-object-graphic.c (sheet_object_graphic_print): And here.
              Fixed some broken logic. Printing of arrows implemented.
              (sheet_object_filled_print): Fixed.
              * src/sheet.c (sheet_col_get_distance_pts): Make sign double like in
              sheet_row_get_distance_pts. This didn't fix my problem but it is
              nicer this way (problem got fixed by Jody's fix below).
      e1c9cdd2