2002-11-15 Jody Goldberg * Release 1.1.12 2002-11-14 Jon K Hellan * src/gui-file.c (gui_file_open): Use get_file_openers instead of get_file_importers. * src/plugin-service.c (struct _PluginServiceFileOpener): can_open, can_import, default_importer_priority: Remove. (plugin_service_file_opener_read_xml) (plugin_service_file_opener_read_xml): Ignore "open" and "import" properties. (plugin_service_file_opener_activate): Don't use register_file_opener_as_importer or register_file_opener_as_importer_as_default. (plugin_service_file_opener_deactivate): Don't use unregister_file_opener_as_importer. * src/file.[ch] (get_default_file_importer, register_file_opener_as_importer, register_file_opener_as_importer_as_default, unregister_file_opener_as_importer, get_default_file_importer, get_file_importers): Remove * src/file.c (default_file_importer_list, file_importer_list, default_file_importer_cmp_priority,): Remove. * src/stf.c (stf_init): s/register_file_opener_as_importer_as_default/ register_file_opener/ 2002-11-14 Jon K Hellan * src/file.c (gnum_file_opener_probe_real): Seek back to start of file after probing. * src/plugin-service.c (gnum_plugin_file_opener_probe): Ditto. 2002-11-14 Jody Goldberg * src/gui-util.c (gnumeric_keyed_dialog) : add a weakpointer to the wbcg in case it goes away before the dialog. Use data_set_full in place of a destroy handler. 2002-11-14 Morten Welinder * src/search.c (search_replace_compile): Turn on regutf8. 2002-11-13 Jody Goldberg * src/expr.c (gnm_expr_eval) : functions only check for NULL not empty. 2002-11-13 Jon K Hellan * src/GNOME_Gnumeric.xml: Remove FileImport. * src/gui-file.h (gui_file_import): Remove. * src/gui-file.c (make_format_chooser): Include an "Automatically detected" menu item for NULL in file opener/saver list. (gui_file_open, gui_file_import): Merge into one function, named gui_file_open. Default to automatically detecting format. * src/workbook-control-gui.c (cb_file_import): Remove. (workbook_menu_file[]): Remove cb_file_import. (verbs[]): Remove FileImport. 2002-11-12 Jody Goldberg * src/mstyle.c (mstyle_element_dump) : polish up a bit. 2002-11-11 Jody Goldberg * src/sheet-style.c (sheet_style_get_extent) : optionally take the most common style into account when calculating extents. The default style for a column does not contribute to its extent. * src/parser.y (fold_negative) : new. (unary negative) use it here. (array_exp) : and here. (yylex) : do _not_ handle negatives here. 2002-11-11 Jody Goldberg * src/preview-grid.c : convert to GObject 2002-11-10 Jody Goldberg * src/rendered-value.c (rendered_value_calc_size_ext) : cells with embedded new lines will potentially be narrower than the cell, but still require multiple lines. 2002-11-10 Jody Goldberg * src/parser.y (yylex) : fix the handling of negative numbers in inline arrays. 2002-11-08 Jody Goldberg * src/stf.c (stf_preparse) : quicky fix for 97672. Pending removal of this limitation. 2002-11-07 Jody Goldberg * src/item-edit.c (item_edit_draw) : fix bounding box. 2002-11-07 Andreas J. Guelzow for Evert Verhellen : * src/pixmaps/function_selector_24.png : improved * src/pixmaps/function_selector_16.png : improved 2002-11-07 Andreas J. Guelzow * src/file.h (gnum_file_saver_fix_file_name): change signature * src/file.c (gnum_file_saver_fix_file_name): change signature and return FALSE if non-matching extension * src/gui-file.c (do_save_as): watch for non-matching extensions 2002-11-07 Morten Welinder * src/mathfunc.c (beta, lbeta): New functions. 2002-11-07 Morten Welinder * src/file.c (gnum_file_saver_get_description): Fix failure case. (gnum_file_saver_get_extension): Ditto. (gnum_file_saver_get_mime_type): Ditto. (gnum_file_saver_get_id): Ditto. 2002-11-06 Jody Goldberg * src/plugin.c (ghf_collect_new_plugins) : don't bother copying ids for reading later. Respect the new require_explicit_enabling flag so that a plugin like a real time data feed or corba interface will only be enabled if the user explicitly requests it. (plugins_init) : Do active plugins 1st and don't free things, that memory belongs to the Application. Then do the new plugins and don't bother copying then freeing memory. 2002-11-06 Jody Goldberg * src/sheet.c (cb_clear_rendered_values) : new. (sheet_range_calc_spans) : this should be renamed eventually. It no longer calculates the spans, rather it just honours the flags and queues the respan or render as necessary. (sheet_clear_region) : just queue things. * src/sheet-merge.c (sheet_merge_add) : do it the easy way and just queue all the rows for respan. No need to do all the work to work out this set. * src/clipboard.c (clipboard_paste_region) : just flag the render/span it will happen when necessary. 2002-11-06 Morten Welinder * src/mathfunc.c (random_exppow_pdf): Use lgammagnum, not lgamma. (combin): Ditto. (permut): Ditto. (fact): Ditto. 2002-11-06 Jody Goldberg * src/item-*, src/*canvas* : convert to foocanvas * src/application.c (gnumeric_application_setup_icons) : Use new scaled pngs for formula guru. * src/pixmaps/Makefile.am : ditto. * src/plugin.c (plugin_info_read) : add 'require_explicit_enabling' flag so that we don't auto enable specialized plugins. * src/plugin-service.c (input_file_save_info_read) : delete. (plugin_service_file_opener_read_xml) : don't call it here. (gnum_plugin_file_opener_open) : And don't try to use it here. It is not useful to hard code the saver if the importer can handle multiple versions of the format. Only the import process will know enough to be able to select the appropriate exporter. * src/item-cursor.c (item_cursor_tip_setlabel) : simplify. * src/auto-format.c : tidy up includes. 2002-11-06 Andreas J. Guelzow * src/stf.c (stf_init) : text export is lossy too. (78356) 2002-11-06 Andreas J. Guelzow http://bugzilla.gnome.org/show_bug.cgi?id=78356 * src/workbook-view.c (wb_view_save_as) : don't mark the workbook clean unless we saved under the new name. 2002-11-06 Jon K Hellan * configure.in: Fix gda configure switch. 2002-11-05 Andreas J. Guelzow * src/workbook-edit.c (wbcg_set_entry) : stop editing before changing the entry. 2002-11-05 Andreas J. Guelzow for: Olaf Till * src/regression.[ch] (logarithmic_regression, logarithmic_fit): New functions. 2002-11-04 Andreas J. Guelzow * configure.in (CFLAGS): Switch POSIX and BSD checks. 2002-11-04 J.H.M. Dassen (Ray) * src/application.c, src/auto-format.c, src/cell.c, src/cellspan.c, src/colrow.c, src/command-context-stderr.c, src/command-context.c, src/commands.c, src/complete.c, src/consolidate.c, src/io-context.c, src/tools/analysis-tools.c, src/tools/auto-correct.c, src/tools/random-generator.c, src/tools/simulation.c, src/dependent.c, src/expr.c, src/expr-name.c src/format-template.c: Annotate unused parameters. * src/expr-name.h.c, src/gnumeric-graph.c, src/sheet-view.c: Included headers for some standard library functions. 2002-11-04 Morten Welinder * src/func.h: Add GNM_FUNC_AUTO_UNKNOWN. * configure.in (CFLAGS): Check for magic to get fdopen prototype. 2002-11-03 Morten Welinder * src/func.h: Add type flags here. * src/auto-format.h: Delete from here. * src/func-builtin.c (func_builtin_init): Switch to using function flags for SUM's type. * src/libgnumeric.c (gnm_common_init): No longer need to init auto-format. (gnm_shutdown): No longer need to shut it down either. 2002-11-03 Jody Goldberg * src/mstyle.c : Add hooks for rotation. * src/workbook-control-gui.c (workbook_setup_edit_area) : simplify. (edit_area_button) : Use stock images, not stock items. 2002-11-03 J.H.M. Dassen (Ray) * src/gnumeric.h: Make it possible to use __attribute__ even if the compiler happens not to understand it. 2002-11-02 Jody Goldberg * src/workbook-control-gui.c (workbook_control_gui_ctor_class) : Use gtk_window_set_default_icon_list directly. 2002-11-02 J.H.M. Dassen (Ray) * acconfig.h: obsoleted. * configure.in: Added template descriptions to AC_DEFINE and AC_DEFINE_UNQUOTED to obsolete acconfig.h . Removed AC_ARG_PROGRAM as AM_INIT_AUTOMAKE already calls it on our behalf. Actually honour --enable-compile-warnings=... . Upped libgsf(-gnome) checks to consistently require 1.5.0 or newer. * src/parse-util.h, src/regutf8.c, src/regutf8.h: Don't use // comments. * src/func.c (gnm_func_group_remove_func), src/parse-util.c (wbref_parse), src/plugin.c (gnm_plugin_type_module_load, gnm_plugin_type_module_unload): Made static. * src/gnumeric-gconf.h: Added gnm_gconf_get_printer_command prototype. * src/sheet.h: Added sheet_redraw_headers prototype. * src/xml-io.c (xml_check_version, xml_workbook_write, xml_workbook_read, gnumeric_xml_read_workbook, gnumeric_xml_write_workbook): Made static. * src/xml-io.c: Casts and type changes to fix signedness. 2002-11-01 Jody Goldberg * src/item-grid.c (item_grid_realize) : move setting the background to white from here. * src/gnumeric-canvas.c (gnm_canvas_realize) : to here where it makes more sense. * src/xml-io.c (xml_write_style) : simplify handling of validation. * src/mstyle.c (mstyle_new_default) : store NULL validation. (mstyle_set_validation) : accept NULL. 2002-11-01 Morten Welinder * src/search.c (search_filter_matching): Handle locus. Search expression results if requested. (search_replace_cell): Handle locus. (search_replace_value): New function. * src/search.h: Add possibility of searching expressions' results. 2002-11-01 Jody Goldberg * configure.in : pos release version bump