2004-07-19 Jody Goldberg * Release 1.3.1 2004-07-19 Jody Goldberg * src/ssconvert.c (main) : some typos 2004-07-17 Jody Goldberg * configure.in : Add a test for signgam 2004-07-19 Jody Goldberg * src/wbcg-actions.c (wbcg_set_selection_halign) : Make public somewhat. (wbcg_set_selection_valign) : ditto. * src/wbc-gtk.c : Adjust the borders to use stock items in place of the old inline pixbuf silliness. Add a valignment and halignment combo. Still need some way to indicate 'General' for both. * src/application.c (gnumeric_application_setup_icons) : add the border icons to the set of stock items. 2004-07-17 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=147756 * src/sheet-autofill.c (autofill_cell) : An ancient bug. 2004-07-17 Andreas J. Guelzow * schemas/gnumeric-general.schemas.in: Correct compression level description 2004-07-16 Jody Goldberg * src/gnumeric-paths.sh.in : Add version 2004-07-15 Jody Goldberg Some Seth UI feedback * src/wbcg-actions.c : s/Launch Guru/Insert Chart/ 2004-07-13 Morten Welinder * src/commands.c (cmd_copyrel): New command. * src/wbcg-actions.c (cb_copydown, cb_copyright): Implement. 2004-07-12 Jody Goldberg * src/workbook-control-gui.c (wbcg_cur_sheet) : new convenience routine * src/wbcg-actions.c : tidy up a bit * src/wbc-gtk.c (wbc_gtk_init_undo_redo) : tie sensitivity of repeat to undo. 2004-07-11 Jody Goldberg * src/commands.c (cmd_set_text_repeat) : new (missing validation support) (cmd_area_set_text_repeat) : new. (cmd_ins_del_colrow_repeat) : new. (cmd_clear_repeat) : new. (cmd_format_repeat) : new. (cmd_colrow_hide_repeat) : new. (cmd_group_repeat) : new. (cmd_paste_copy_repeat) : new. (cmd_autofill_repeat) : new. (cmd_autoformat_repeat) : new. (cmd_unmerge_cells_repeat) : new. (cmd_merge_cells_repeat) : new. (cmd_clone_sheet_repeat) : new. 2004-07-09 Jody Goldberg * src/GNOME_Gnumeric-gtk.xml : Add repeat as an accelerator * src/commands.c (func) : add some hooks for repeat 2004-07-12 Morten Welinder * src/wbcg-actions.c: Use gtk about icon if available. 2004-07-09 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=146486 * src/expr.c (cb_bin_arith) : handle VALUE_EMPTY for implicit iteration with arithmetic operators. http://bugzilla.gnome.org/show_bug.cgi?id=146511 * src/func.c (function_call_with_list) : Use value_get rather than value_fetch * src/sheet.c (sheet_foreach_cell_in_range) : check for empty values too 2004-07-07 Andreas J. Guelzow * src/gnumeric-gconf.c (go_conf_get_short_desc): Check for NULL pointer (go_conf_get_long_desc): ditto 2004-07-05 Jody Goldberg * src/workbook-cmd-format.c (workbook_cmd_mutate_borders) : move into wbcg-actions.c * src/sheet-autofill.c (fill_item_new) : fix an old leak * src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : no need to check for accelerators here any more. (gnm_canvas_commit_cb) : nor here. (gnm_check_ctrl_mask) : delete and make these real accelerators the way they belong. * src/wbcg-actions.c (cb_format_as_number) : a real accelerator (cb_format_as_currency) : ditto (cb_format_as_accounting) : ditto (cb_format_as_percentage) : ditto (cb_format_as_scientific) : ditto (cb_format_as_time) : ditto (cb_format_as_date) : ditto (cb_format_add_borders) : ditto (cb_format_clear_borders) : ditto * src/GNOME_Gnumeric-gtk.xml : Add the new accelerators * src/application.c (gnumeric_application_setup_icons) : Rename the icons to match the verbs (Percentage, Accounting) 2004-07-02 Jody Goldberg * configure.in : Make gconf conditional and test for uname 2004-07-01 Jody Goldberg * src/cmd-edit.c (sv_select_cur_depends) : find deps even for empty cells. 2004-06-30 Jody Goldberg * src/stf.c (stf_init) : cvs exporter is one sheet only * src/gnumeric-gconf.c (get_schema) : typo (go_conf_get_type) : implement for #ifdef WITH_GNOME 2004-06-23 Jean Brefort * configure.in: * src/Makefile.am: * src/cut-n-paste-code/Makefile.am: removed pcre subdir. * src/graph.c: (cb_assign_val), (gnm_go_data_vector_load_values), (gnm_go_data_vector_get_value): changed gnm_nan to go_nan. * src/format.h: replaced gnumeric_reg* by go_reg* * src/formats.c: (my_regerror), (currency_date_format_init), (currency_date_format_shutdown), (cell_format_simple_number), (cell_format_is_number), (cell_format_is_fraction): ditto. * src/number-match.c: (format_match_release), (format_match_create), (format_match): ditto. * src/plugin-service.c: (plugin_service_define): ditto. * src/regutf8.c: (gnumeric_regcomp_XL): ditto. * src/regutf8.h: ditto. * src/search.c: (search_replace_free), (search_replace_compile), (search_match_string), (search_replace_string): ditto. * src/search.h: ditto. * src/sheet-filter.c: (filter_expr_release), (filter_expr_eval): ditto. * src/widgets/widget-format-selector.c: (populate_menu): ditto. * src/workbook-control-gui.c: (wbcg_sheet_focus), (cb_notebook_switch_page): Added missing spaces. * src/cut-n-paste-code/pcre: Moved whole tree to goffice. * tools/import-pcre: Updated to the new path and replaced gnumeric_ by go_. 2004-06-22 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=134014 * src/print-cell.c (print_merged_range) : sync with canvas item recalling that y-coords are negative. Enable diagonals. 2004-06-20 Jody Goldberg * src/Makefile.am : re-enable ssconvert as a test program for now to avoid rebuilding it all the time. 2004-06-15 Jody Goldberg * src/sheet-object.c (sheet_objects_get) : don't reverse the z ordering 2004-06-17 Andreas J. Guelzow * src/consolidate.c (simple_consolidate): dao_set_cell_expr now absorbs the expr reference. (colrow_consolidate): ditto 2004-06-16 Morten Welinder * src/workbook-view.c (wbv_save_to_file): Simplify using go_file_create. * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Convert filename to UTF-8 before constructing the label. Use uri if the filename cannot be represented in UTF-8. * src/sheet-object-graph.c (cb_save_as): Handle dumping to uris. * src/gui-file.c (gui_image_file_select): Take and return uris. * src/workbook-control-gui.c (cb_wbcg_drag_data_received): Simplify with go_file_open. 2004-06-15 Andreas J. Guelzow http://bugzilla.gnome.org/show_bug.cgi?id=142700 * src/workbook-view.c (wb_view_sheet_focus): set current_sheet before adjusting focus. 2004-06-15 Morten Welinder * src/history.c (history_item_label): Fix thinko. Avoid double UTF-8 encoding. 2004-06-14 Morten Welinder * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): If available, use just filename for tooltip. (Non-ascii looks nicer, and it's shorter.) 2004-06-13 Jody Goldberg * src/command-context-stderr.c : fix class decl to match change to interface 2004-06-13 Jody Goldberg * configure.in : bump req for libgsf to 1.10.0 (still in cvs) 2004-06-11 Morten Welinder * src/workbook-view.c (wbv_save_to_file): Make this work with uris. * src/history.c (history_item_label): Now gets uri argument. * src/workbook.c (workbook_set_uri): Ranamed from workbook_set_filename. (workbook_get_uri): Renamed from workbook_get_filename. * src/application.c (gnm_app_history_add): Change to take uri. All callers changed. * src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Adapt to uris. * src/gui-file.c (gui_file_read, do_save_as, go_file_is_writable): Changed to take uri. All callers changed. * src/workbook-view.c (wb_view_new_from_uri): Renamed from wb_view_new_from_file and adapted to take uri. All callers changed. (wb_view_save_as): Change to take uri. All callers changed. 2004-06-08 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=143577 * src/style-border.c (style_border_print_diag) : handle NULL and none (style_border_set_pc) : back out my incorrect fix and sync with gui. 2004-06-08 Morten Welinder * src/gutils.c (gnm_destroy_password): New function. 2004-06-05 Jody Goldberg * src/sheet-object-image.c : add sax export, and actually dump the images. * src/sheet-object-widget.c : add sax export * src/sheet-object-graph.c : ditto. * src/sheet-object-cell-comment.c : ditto. * src/workbook-view.c (wbv_save_to_file) : warning suppression * src/xml-io.c (gnm_xml_out_add_color) : new (gnm_xml_out_add_cellpos) : new. 2004-06-04 Morten Welinder * src/parser.y (arg_list): handle the empty arg in =IF(TRUE,) properly. * src/expr.c (gnm_expr_get_func_argcount): New function. 2004-05-31 Jody Goldberg * src/graph.c (gnm_go_data_get_sheet) : new. (gnm_go_data_get_expr) : new. http://bugzilla.gnome.org/show_bug.cgi?id=143367 * src/item-grid.c (item_grid_realize) : make the seperator a dark colour rather than black. 2004-05-27 Jody Goldberg * src/workbook.c (workbook_sheet_hide_controls) : split out from. (workbook_sheet_detach) : here. * src/dependent.c (dependent_queue_recalc_list) : fix dynamic depends. * src/workbook-control-gui.c (cb_wbcg_drag_data_received) : handle dragging from nautilus -> gnumeric too. * src/main-application.c (main) : Use the new virtuals * src/io-context.c (gnm_io_context_set_num_files) : new (gnm_io_context_processing_file) : new. * src/io-context-gtk.c (icg_processing_file) : renamed from icg_inc_files_done. (icg_set_num_files) : renamed from icg_set_files_total. (icg_class_init) : hook up the file handlers to the new virtual. * src/expr.c (gnm_expr_extract_ref) : return a RangeRef (gnm_expr_range_op) : new to handle intersection and union properly (gnm_expr_eval) : split the common code out of here. 2004-05-26 Morten Welinder * src/parser.y (yylex): Ignore spaces in lots of places, notably before and after operators. (XL has chosen space as an operator, but luckily it only makes sense in a few places.) 2004-05-26 Jean Brefort * src/sheet-object-widget.c: (sheet_widget_combo_create_widget): replaced GnmComboText by GoComboText. 2004-05-25 Andreas J. Guelzow * src/application.c: add "Gnumeric_Visible" icon * src/pixmaps/visible.png: new * src/pixmaps/Makefile.am: include src/pixmaps/visible.png * src/commands.h (cmd_reorganize_sheets): add arguments * src/commands.c: add NULL arguments to all calls to cmd_reorganize_sheets throughout. (cmd_reorganize_sheets_*): handle visibility changes * src/sheet.h (sheet_set_visibility): new (sheet): add is_visible field * src/sheet.c (sheet_set_visibility): new (sheet_new): initalize is_visible field * src/workbook-control-gui.c: add NULL arguments to all calls to cmd_reorganize_sheets * src/workbook.h (workbook_sheet_change_visibility): new * src/workbook.c (workbook_sheet_change_visibility): new 2004-05-24 Morten Welinder * src/expr.c (negate_value): New function, extracted from gnm_expr_eval and cb_iter_unary_neg. (gnm_expr_eval, cb_iter_unary_neg): Use it. (cb_iter_unary_neg, cb_iter_percentage): Fix crash for empties. 2004-05-22 Jean Brefort * src/expr.c: (cb_iter_unary_neg), (cb_iter_percentage): make it compile again by changing variable names "a" and "pos" by "v" and "ep". * src/gui-util.c: (gnumeric_notice_nonmodal), (cb_parent_mapped), (gnumeric_combo_enters): replaced gtk_signal by g_signal and deleted gnumeric_combo_enters as it is not used anymore and I could not find a replacement for gtk_combo_disable_activate usable with GtkComboBoxEntry. * src/gui-util.h: removed gnumeric_combo_enters. 2004-05-21 Jody Goldberg * src/expr.c : support implicit iteration for operators. We now support all major evaluation mechanisms in ms excel. 2004-05-19 Jody Goldberg * configure.in : bump libglade req to 2.3.6 to get the new combos Merge in an as yet unused test for mono while we're in here. 2004-05-11 Andreas J. Guelzow http://bugzilla.gnome.org/show_bug.cgi?id=142836 * src/stf.c (stf_write_csv): use current sheet rather than first sheet. 2004-05-17 Morten Welinder * src/sheet-autofill.c (autofill_cell): Handle default case, just in case. 2004-05-16 Adrian Custer * src/ssconvert.c: exports -> exporters in user visible strings. Added translation tags. 2004-05-15 Jody Goldberg * src/format.c (format_value_gstring) : if nothing matches for numbers use the first fmt, other types == general. (style_format_condition) : errors do not match strings, but bools do (format_compile) : assign std conditions to any element without one, even the last. 2004-05-16 Jean Brefort * src/dialogs/autofilter-expression.glade: replaced GtkOptionMenu by GtkComboBox. * src/dialogs/autofilter-top10.glade: ditto. * src/dialogs/autoformat.glade: ditto. * src/dialogs/cell-format.glade: ditto. * src/dialogs/consolidate.glade: ditto. * src/dialogs/dao.glade: ditto. * src/dialogs/dialog-autofilter.c: (map_op), (cb_autofilter_ok), (cb_top10_type_changed), (init_operator), (dialog_auto_filter): * src/dialogs/dialog-autoformat.c: (cb_category_changed), (dialog_autoformat): ditto. * src/dialogs/dialog-cell-format.c: (cb_rotate_canvas_realize), (validation_rebuild_validation), (cb_validation_error_action_changed), (cb_validation_sensitivity), (build_validation_error_combo), (fmt_dialog_init_validation_page), (cb_fmt_dialog_dialog_buttons): ditto. * src/dialogs/dialog-consolidate.c: (construct_consolidate), (setup_widgets): ditto. * src/dialogs/dialog-hyperlink.c: (dhl_cb_menu_changed), (dhl_init): ditto. * src/dialogs/dialog-printer-setup.c: (do_header_customize), (do_footer_customize), (header_changed), (footer_changed), (fill_hf), (do_setup_hf_menus), (do_setup_hf), (print_setup_get_sheet), (do_setup_sheet_selector): ditto. * src/dialogs/dialog-stf-format-page.c: (format_page_trim_menu_changed), (stf_dialog_format_page_prepare), (stf_dialog_format_page_init): ditto. * src/dialogs/dialog-stf.glade: ditto. * src/dialogs/hyperlink.glade: ditto. * src/dialogs/print.glade: ditto. * src/widgets/gnm-dao.c: (gnm_dao_init), (gnm_dao_get_data), (gnm_dao_set_put): ditto. * src/dialogs/dialog-stf-export.c: (sheet_page_separator_menu_changed), (stf_export_dialog_format_page_init), (stf_export_dialog_finish): ditto. Replaced also GtkCombo by GtkComboBoxEntry. * src/dialogs/dialog-stf-export.glade: ditto. 2004-05-11 Andreas J. Guelzow * src/workbook-view.c (wbv_save_to_file): add omitted declaration 2004-05-07 Jody Goldberg * src/command-context-priv.h : Make this an interface * src/command-context.c : support the change here. * src/command-context-stderr.c : here. * src/io-context-gtk.c : here * src/io-context-priv.h : here * src/io-context.c : here. * src/workbook-control-gui.c : here * src/workbook-control.c : and here * src/GNOME_Gnumeric-gtk.xml : Move the toolbars out, they will be generated. Add FullScreen. * configure.in : bump libgsf dep and add the new goffice/app directory 2004-05-03 Jody Goldberg http://bugzilla.gnome.org/show_bug.cgi?id=140671 * src/commands.c (cmd_paste_cut_undo) : we don't know the SheetView associated with the origin sheet. * src/selection.c (sv_selection_set) : add some safety 2004-05-04 Morten Welinder * src/validation.c (validation_new): Make sure VALIDATION_TYPE_CUSTOM is only paired with VALIDATION_OP_NONE. (validation_eval): Balance recounting. 2004-04-27 Jody Goldberg * src/file.c (go_file_open) : fix the gnome-vfs case 2004-04-22 Morten Welinder * src/print-info.c (print_info_get_orientation): Plug leak. 2004-04-22 Jody Goldberg * src/sheet-autofill.c (autofill_cell) : Assign the value format in all cases accept expressions. Use cell_set_value, not sheet_cell_set_value so that we can assign the format before we render, and to avoid doing things piece meal. 2004-04-21 Morten Welinder * src/format.c (format_destroy): Let's try unref in here. * src/stf-export.c (stf_export): Fix compilation. 2004-04-20 Jody Goldberg * src/stf-export.c (stf_export_sheet) : simplify 2004-04-20 Morten Welinder * src/stf-parse.c (stf_parse_sheet): Handle the case of more columns than we have room for in the sheet. 2004-04-19 J.H.M. Dassen (Ray) * README: Corrected the Debian package names. 2004-04-19 Jody Goldberg * src/workbook-edit.c (cb_entry_insert_text) : be clear which values are measured in bytes (PangoAttribute) and which are in characters (GtkEditable) (cb_entry_cursor_pos) : ditto. (cb_entry_delete_text) : ditto. (wbcg_edit_add_markup) : ditto. 2004-04-19 Jody Goldberg * src/rendered-value.c (rendered_value_new) : don't apply markup to the shared set of attributes associated with the style make a local copy. 2004-04-17 Jody Goldberg * src/item-edit.c (item_edit_draw) : tidy up a bit and check for pixel matching stock cell drawing so that things do not shift. (ie_layout) : ditto. * src/value.c (parse_database_criteria) : revert change from 2004-03-31 rather than moving to g_new/g_free to make the g_free work, leave the g_alloca and remove the unnecessary g_free. 2004-04-16 Morten Welinder * src/rangefunc.c (range_mode): Use g_hash_table_new_full. (cb_range_mode): Delete. 2004-04-15 Morten Welinder * src/mathfunc.c (phyper): New implementation. 2004-04-13 Morten Welinder * src/wbc-gtk.c (wbc_gtk_set_action_label): Set the right tooltip. 2004-04-12 Jody Goldberg * src/format.c (style_format_new_markup) : new. * src/commands.c (cmd_set_text*) : Handle markup 2004-04-12 Morten Welinder * src/mathfunc.c (pow1p, pow1pm1): New functions. (random_levy_skew): Use pow1p. 2004-04-12 Morten Welinder * src/mathfunc.c (pf): New implementation. * src/history.c (history_item_label): Handle accel_number >= 10 better. Handle "_" properly. 2004-04-09 Morten Welinder * src/mathfunc.c (pcauchy): New implementation. * src/gutils.c (erfgnum): Improve precision for small x. (modfgnum): Fix precision for huge x. (frexpgnum): Fix precision for huge x. * src/mathfunc.c (pbeta): New implementation. (lgamma1p, swap_log_tail, log1pmx): New function. 2004-04-08 Morten Welinder * src/wbc-gtk.c (check_underlines): Make UTF-8 safe. 2004-04-08 Jean Brefort * src/selection.c: (sv_selection_to_plot): skip errors dims. 2004-04-08 Jody Goldberg * src/gnumeric-gconf.c (gnm_conf_init_essential) : move the live scroll delay and the autocompletion status here from. (gnm_conf_init_extras) : here. So that we initialize it before we copy it when creating aworkbookview. 2004-04-07 Morten Welinder * src/gui-file.c (gui_file_read): Make sure new windows appear on the right screen. * src/wbcg-actions.c (cb_file_new): Make sure new windows appear on the right screen. 2004-04-07 Morten Welinder * src/wbcg-actions.c (cb_file_new): Copy toolbar visibility to new window. * src/gui-file.c (gui_file_read): Copy toolbar visibility to new window. * src/wbc-gtk.c (wbc_gtk_create_status_area): Show statusbar. (check_underlines): New code to debug underline collisions. (wbc_gtk_init): Show everything here. * src/workbook-control-gui.c (wbcg_set_toolbar_visible): Update menus too. (wbcg_copy_toolbar_visibility): New function. (show_gui): Call gtk_widget_show, not gtk_widget_show_all, so as not to interfere with toolbar visibility. * src/wbcg-actions.c (cb_view_standard_toolbar, cb_view_format_toolbar, cb_view_object_toolbar, cb_view_statusbar): Only do something when we're not already updating the ui. (var actions): Fix underline collissions. 2004-04-07 J.H.M. Dassen (Ray) * configure.in: substitute WARN_CFLAGS as src/cut-n-paste-code/foocanvas/libfoocanvas/Makefile references it directly. 2004-04-05 Morten Welinder * src/wbc-gtk.c (cb_add_menus_toolbars): Identify toolbars. (cb_handlebox_popup): Remove this. (cb_handlebox_dock_status): Fiddle with style to work around gtk_handle_box bug. * src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible, wbcg_set_format_toolbar_visible, wbcg_set_object_toolbar_visible, wbcg_set_statusbar_visible): New functions. * src/wbcg-actions.c (cb_view_standard_toolbar, cb_view_format_toolbar, cb_view_object_toolbar, cb_view_statusbar): New functions. (var toggle_actions): Hook them up. 2004-04-02 Morten Welinder * src/gui-file.c (gui_file_open): Use savers' extensions as a proxy for all spreadsheet files. this is not ideal, but far better than hardcoding "*.gnumeric" and "*.xls". (gui_file_save_as): Ditto. * src/wbc-gtk.c (wbc_gtk_finalize): New function. (wbc_gtk_class_init): Hook it up. 2004-04-01 Jody Goldberg * src/style-border.c (style_border_draw_diag) : sync with the printing code to not draw into the center of bordering double borders * src/item-edit.c (item_edit_event) : basic cursor position support. * src/print-cell.c (print_cell_background) : draw diagonals. * src/style-border.c (style_border_print_diag) : fill in. Where did this code go ? I could have sworn I implemented this years ago. 2004-04-01 Morten Welinder * src/format.c (append_hour_elapsed): Fix precision issues. http://bugzilla.gnome.org/show_bug.cgi?id=138182. 2004-04-01 Christian Neumair * src/sheet-control-gui.c: * src/wbcg-actions.c: * src/GNOME_Gnumeric-gtk.xml: Put delete actions from edit main menu into their own submenu, add stock icon to clear submenu. 2004-03-31 Morten Welinder * src/value.c (parse_database_criteria): Since we're g_free-ing, allocate with g_new and not g_alloca. * src/gui-file.c (gui_file_save_as): Don't create an extra, bogus combo box. 2004-03-30 Jody Goldberg * configure.in : post release bump