1. 08 Jul, 1999 3 commits
  2. 27 Jun, 1999 1 commit
    • Raja R Harinath's avatar
      This depends on Gnumeric.h, Gnumeric-impl.c doesn't. · 2c3556d4
      Raja R Harinath authored
      * src/Makefile.am (Gnumeric-impl.o): This depends on Gnumeric.h,
      Gnumeric-impl.c doesn't.
      
      Reinstate Perl plugin.
      * plugins/perl/Makefile.am: Clean up build.
      * plugins/perl/ext/Gnumeric.xs (register_function):
      Use FunctionCategory and `function_add_args' API instead of
      `install_symbol'.
      (marshal_func): Update to new callback prototype.
      * plugins/perl/ext/Makefile.PL.in ('INC'): Use @top_srcdir@ rather
      than @srcdir@/../../...
      
      * doc/C/Makefile.am: Misc. srcdir != builddir fixes.
      * configure.in (GNOME_PRINT_CFLAGS): Fix typo.
      2c3556d4
  3. 26 Jun, 1999 1 commit
    • Miguel de Icaza's avatar
      The big GNUMERIC_PRINT merge into HEAD. · a5e65a30
      Miguel de Icaza authored
      
      
      The big GNUMERIC_PRINT merge into HEAD.
      
      Still some features are missing.  Check the TODO to see what is
      missing.
      
      1999-06-26  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/pixmaps.h: Removed unused pixmaps.
      
      	* src/corba-sheet.c (Sheet_corba_class_init): Fill in some missing
      	values fomr the GNOME::Gnumeric::Sheet epv interface.
      
      	* src/expr.c (eval_funcall): Removed unused variable.
      
      	* src/workbook.c (workbook_sheets): prepend and reverse instead of
      	appending all the time.  It is more efficient.
      
      	* src/style.c (x11_font_compute_hints): Renamed as well.  Might be
      	useful in the future.
      
      	* src/gnumeric-util.c (x11_font_get_italic_name,
      	x11_font_get_bold_name, x11_font_change_component): Renamed these
      	functions to reflect their actual usage.
      
      	* src/expr.c (expr_tree_new_constant): Change style to use early
      	return to keep indentation of the rest of the code at tab-1.  This
      	is a trick to keep indentation nice with 8-tab spaces.  Liberal
      	use of early returns, early continues, early breaks.
      
      	* src/cell.h (CELL_TEXT_GET): Kill unused macro.
      
      1999-06-25  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (xml_read_cell): Merge the style we just read with
      	the existing information from the cell (which are the defaults).
      	This is only for compatibility with the old format
      
      1999-06-24  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c (style_font_new_from_x11): Implemented
      
      	* src/style.c (style_font_new): Improved matching of the font.
      
      	* src/xml-io.c 	(xml_write_style): Save Bold and Italic
      	properties.  Save Units as double.
      	(xml_read_style): Add conversion hook from old format.
      	(xml_read_style): Load properly italic and bold properties.
      
      	(xml_read_cell): Add new style reading code.  It is
      	compatible with the old Style reading code.
      	(xml_read_rows_info, xml_read_cols_info, xml_read_styles): Moved
      	Cols, Rows and Styles loading code here, for code clarity.
      
      	* src/style.c (style_font_new_simple): Include the scale in the
      	key lookup variable.
      
      	* src/xml-io.c: The FontDefs and the HREFs to the fonts were never
      	being used.  The new code for styles simplifies this.  Kill all
      	the references to the FontDefs urls and the font indeces.
      
      	* src/xml-io.c
      
      1999-06-23  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/xml-io.c: Major updates.
      	(xml_read_colrow_info): Use floating point for loading the
      	units, margin_a and margin_b.
      	(xml_write_colrow_info): Save units, margin_a and margin_b using
      	floating point.
      	(xml_set_value_double): Activate this function.
      	(xml_write_cell): Do not save the style here.  Lookup the style
      	id, and write a record with the style id link.
      	(xml_sheet_write): Add call to xml_cell_styles_init and
      	xml_cell_styles_shutdown to init and shutdown the cell styles in a
      	per-sheet basis.
      
      	Renamed functions to suit the gnumeric coding
      	sytle.  Fixed indentation.
      
      	File format now saves a different version.  We store all cell
      	styles first, and then we reference them.
      
      	(parse_xml_context_t): renamed from
      	parseXmlContext.  Add style_table hash table for storing all the
      	styles used by the cells on a workbook.  Used to dump Styles first
      	and then have the cells reference it.
      
      	* src/style.c (style_hash, style_compare): New routines to
      	put Styles on hash tables.
      
      	* src/workbook.c (workbook_sheets): Use g_list_prepend instead of
      	g_list_append and reverse the result.
      
      1999-06-14  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell.h: Killed ColType and RowType definitions.  They do not
      	save any noticeable amount of memory; we are not using them but
      	on the most useless places and finally they are the current limit
      	to our spreadsheet size.
      
      	* src/gnumeric-sheet.h: Use int instead of ColType, RowType
      	* src/item-cursor.h: Use int instead of ColType, RowType
      	* src/item-grid.h: Use int instead of ColType, RowType
      
      	* src/print-cell.c (CELL_DIM): Use _pt variants of the margins here.
      	(print_cell_text): and here.
      	(print_cell): and here.
      	(print_cell_range): and here.
      	(print_cell_grid): and here.
      
      1999-06-13  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/sheet.c (sheet_compute_col_row_new_size): Update margin_a
      	and margin_b from the points.
      	(col_row_info_init): New function to initialize a sample
      	ColRowInfo.  Inits the _pt fields.
      	(col_row_unit_distance): Use the new fields in computation.
      	(sheet_col_get_unit_distance): Use new fields in computation.
      
      	* src/dialog-printer-setup.c (do_setup_margin): Set scroll region.
      	(preview_page_create): Implement routine that draws the page for
      	the margin setup.
      
      	* src/sheet.h (ColRowInfo): Units are now doubles; margin_a_pt and
      	margin_b_pt are doubles that represent the a and b margins in
      	points.
      
      	* src/sheet.c (sheet_compute_col_row_new_size): Use the
      
      1999-06-11  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/cell-draw.c (cell_draw): Move the foreground setting routine
      	here and handle single-line and multiline coloring properly.
      
      	* src/print-info.c (unit_name_to_unit): New routine, returns the
      	UniName from the string name.
      
      	* src/dialog-printer-setup.c (dialog_printer_setup): Use
      	print_info_save and kill the do_save_settings routine for the
      	cleaner print_info routine.
      
      	* src/print-info.c (print_info_new): Now loads the default
      	settings from the saved configuration.
      	(print_info_save): Saves the print information to the gnome_config.
      
      1999-06-08  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/utils.c (str_trim_spaces): Moved str_trim_spaces ere.
      
      	* src/dialog-printer-setup.c (do_setup_main_dialog): Connect print
      	buttons.
      
      	* src/print-cell.c (print_cell_grid): Simplify routine.
      
      	* src/sheet.c (sheet_row_get_unit_distance,
      	sheet_col_get_unit_distance): Include  margins in computation.
      	This is broken, as the margins are now pixels, and they should be
      	made points.
      
      	* src/dialog-printer-setup.c (do_fetch_page_info): Fetch other values.
      	(do_save_settings): Saves the configuration.
      
      	* src/print-cell.c (print_border): Implement border drawing.
      	(print_cell_grid): Make this work as it should.
      
      	* src/print.c (compute_groups): Handle the case where the contents
      	fit entirely in one page.
      
      1999-06-07  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/print.c: New file.  Implements high-level printing.
      
      	* src/dialog-printer-setup.c: New file.  Implements the "Print
      	Setup" dialog box.
      
      1999-04-30  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/cell-draw.c: New file.  All of the cell screen drawing code
      	has been moved here now.
      
      	* src/print-cell.c: Enhanced code.
      
      	* src/workbook.c: hardcoded page size for testing purposes.
      
      1999-03-10  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	I do not like the current approach.  I do think that StyleFonts
      	should be static with regard to Zoom.
      
      	And we would keep a cache of X fonts that are used for a
      	particular size.
      
      	* src/style.c (style_font_new_from): New routine that creates a
      	new font.
      
      	* src/sheet.c (sheet_set_zoom_factor): Scale fonts used in the
      	Sheet.
      
      1999-02-15  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/dialog-printer-setup.c: New file.  Implements the workbook
      	page configuration dialog box.
      
      	* src/print-info.c, src/print-info.h: Manages the per-worbook
      	print options.
      
      1999-02-07  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/style.c (font_equal): Adapt function to the new StyleFont.
      	(style_font_new, style_font_new_simple): Adapt for the upcoming
      	gnome-print support.
      	(font_init): Adapt.
      
      	* src/xml-io.c: Use Gnome Print font scheme.
      	* src/workbook.c: ditto.
      	* src/cell.c: ditto.
      	* src/item-bar.c, src/item-edit.c: ditto
      
      	* src/dialog-cell-format.c: Disable font selector for now.
      a5e65a30
  4. 18 Jun, 1999 1 commit
  5. 15 Jun, 1999 1 commit
    • Tomas Ogren's avatar
      Added sv · c8c045f5
      Tomas Ogren authored
      1999-06-15  Tomas Ogren  <stric@ing.umu.se>
      
      * configure.in: Added sv
      c8c045f5
  6. 13 Jun, 1999 2 commits
    • Arturo Espinosa's avatar
      Add finish translation · b27ff074
      Arturo Espinosa authored
      b27ff074
    • Miguel de Icaza's avatar
      Process the return value from gnome_dialog_run correctly as well. (ie we · 72c2b4dd
      Miguel de Icaza authored
      1999-06-12  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/dialog-cell-comment.c (dialog_cell_comment): Process the
      	return value from gnome_dialog_run correctly as well.  (ie we
      	should catch the return value -1 as the "user closed dialog box"
       	message and avoid destroying the dialog box ourselves).
      
      	* src/item-grid.c (context_paste_special_cmd): Handle a cancel
      	operation from the dialog_paste_special dialog box.
      
      	* src/dialog-paste-special.c (dialog_paste_special): Hanlde the
      	case in which the window manager closed the dialog box.
      
      	* src/cell.c (cell_comment_destroy): Changed invocation from
      	gtk_object_destroy to gtk_object_unref.
      	(cell_comment_unrealize): ditto.
      	(cell_comment_clicked): ditto.
      	* src/dialog-cell-sort.c (dialog_cell_sort): ditto.
      	* src/dialog-function-select.c (dialog_function_select): ditto
      	* src/dialog-function-wizard.c (dialog_function_wizard): ditto
      	* src/dialog-paste-special.c (dialog_paste_special): ditto
      	* src/dialog-solver.c (constr_add_click): ditto.
      	(constr_add_click): ditto
      	(dialog_solver_options): ditto
      	* src/gnumeric-sheet.c (gnumeric_sheet_stop_cell_selection): ditto
      	(destroy_item_editor): ditto.
      	(gnumeric_sheet_key_mode_object): ditto, and clear the pointer to
      	the current_object.
      	* src/sheet-object-container.c (sheet_object_container_destroy): ditto.
      	* src/item-cursor.c (item_cursor_drag_event): ditto.
      	(item_cursor_autofill_event): ditto
      	* src/item-bar.c (item_bar_event): ditto
      	* src/workbook.c (workbook_setup_auto_calc): ditto.
      	* src/widget-editable-label.c (el_stop_editing): ditto
      	* src/sheet-object.c (sheet_object_destroy): ditto
      	(sheet_view_object_unrealize): ditto
      	(sheet_object_destroy_control_points): ditto
      	* src/sheet-view.c (sheet_view_destroy): ditto
      
      1999-06-10  Miguel de Icaza  <miguel@gnu.org>
      
      	* src/pattern-selector.c (pattern_selector_init): Use the GNOME
      	canvas fill_stipple feature instead of using the hack of creating
      	the bitmap and setting the stipple on the realize handler.
      
      1999-06-01  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* po/hr.po: Added croat translation from Vladimir Vuksan
      	<vuksan@cs.unm.edu>.
      72c2b4dd
  7. 11 Jun, 1999 1 commit
  8. 01 Jun, 1999 1 commit
  9. 25 May, 1999 2 commits
    • Morten Welinder's avatar
      Better random numbers. · 3e62f1f3
      Morten Welinder authored
      The occasional fix.
      Cleanup.
      3e62f1f3
    • Miguel de Icaza's avatar
      Handle the window closing by the window manager here. · cd1b86f7
      Miguel de Icaza authored
      1999-05-23  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/file.c (workbook_save_as): Handle the window closing by the
      	window manager here.
      	(dialog_query_load_file): And here.
      
      	* src/dialog-zoom.c (dialog_zoom): Handle window manager close
      	here (it comes in the form of return value being NULL).
      
      	* src/dialog-insert-cells.c (dialog_insert_cells): ditto.
      
      	* src/dialog-delete-cells.c (dialog_delete_cells): ditto.
      cd1b86f7
  10. 21 May, 1999 1 commit
  11. 18 May, 1999 2 commits
  12. 16 May, 1999 1 commit
    • Heath Martin's avatar
      Small cut and paste fix. Use row here instead of col. · 9dd1d67b
      Heath Martin authored
      1999-05-15  Heath Martin <martinh@pegasus.cc.ucf.edu>
      
      	* src/gnumeric-sheet.c (gnumeric_sheet_compute_visible_ranges):
      	Small cut and paste fix.  Use row here instead of col.
      
      1999-05-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* configure.in (ALL_LINGUAS): Added slovak language.
      
      1999-05-09  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet.c (sheet_selection_to_string): New routine.  Returns a
      	string representation of the current selection.
      
      	* src/workbook.c (workbook_selection_to_string): New routine.
      	Retunrs a string representation of the current selection.
      
      1999-05-08  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      9dd1d67b
  13. 08 May, 1999 1 commit
  14. 05 May, 1999 1 commit
  15. 26 Apr, 1999 1 commit
  16. 23 Apr, 1999 2 commits
  17. 21 Apr, 1999 1 commit
    • Morten Welinder's avatar
      Release the sheets and the hash table that held the references to the · 474f1062
      Morten Welinder authored
      
      1999-04-21  Morten Welinder  <terra@diku.dk>
      
      	* src/workbook.c (workbook_do_destroy): Release the sheets and the
      	hash table that held the references to the sheets.
      
      	* src/func.c: warning fix.
      
      1999-04-21  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/widget-editable-label.c (el_button_press_event): Add type
      	cast to kill warning.
      
      	* src/format.c: Include ieeefp.h if required.
      
      Apr 20 16:34:38 1999  Morten Welinder  <terra@diku.dk>
      
      	* ms-obj.c (ms_obj_read_obj): Initialise type.
      
      1999-04-19  Morten Welinder  <terra@diku.dk>
      
      	* ms-excel.c (biff_get_rk): Fixed up mask on eIEEE.
      474f1062
  18. 17 Apr, 1999 1 commit
  19. 15 Apr, 1999 1 commit
    • Miguel de Icaza's avatar
      SheetObjects are now GtkObjects, this is an abstract class. · 809d8e5e
      Miguel de Icaza authored
      
      SheetObjects are now GtkObjects, this is an abstract class.
      SheetObjectGraphics includes the graphic objects we had before.
      SheetObjectObject will be the Bonobo objects.
      
      PLUG AND PLAY TIME!
      
      Miguel.
      
      1999-04-13  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/sheet-object.c: Converted SheetObject to a Gtk+ object.
      	Splitted the functionality of the SheetObject into classes:
      	SheetObject abstract class;  SheetObjectGraphic for simple drawings;
      	SheetObjectFilled for objects that have a fill attribute.
      
      	* src/sheet-object-graphic.c: Implement the SheetObjectGraphic and
      	SheetObjectFilled objects.
      809d8e5e
  20. 13 Apr, 1999 1 commit
  21. 07 Apr, 1999 1 commit
    • Miguel de Icaza's avatar
      Enable the function wizard only if the --debug flag was passed. · 5efadaf1
      Miguel de Icaza authored
      1999-04-06  Miguel de Icaza  <miguel@nuclecu.unam.mx>
      
      	* src/workbook.c: Enable the function wizard only if the --debug
      	flag was passed.
      
      	* src/dialog-function-wizard.c, src/dialog-function-select.c:
      	Adapt to the rest of Gnumeric coding style.
      
      	Use a different way of creating the GUI and controlling the
      	interactions.
      
      	* src/func.c, src/func.h (function_iterate_do_value): Use my
      	indentation and coding style here.
      
      	* src/dialog-cell-format.c (render_formated_version): Handle the
      	case where the value might be NULL.
      5efadaf1
  22. 04 Apr, 1999 1 commit
  23. 30 Mar, 1999 3 commits
  24. 15 Mar, 1999 1 commit
  25. 13 Mar, 1999 1 commit
  26. 09 Mar, 1999 1 commit
  27. 08 Mar, 1999 1 commit
  28. 24 Feb, 1999 1 commit
  29. 23 Feb, 1999 1 commit
  30. 21 Feb, 1999 1 commit
  31. 20 Feb, 1999 1 commit
  32. 17 Feb, 1999 1 commit