- 04 May, 2001 2 commits
-
-
Jody Goldberg authored
-
Jody Goldberg authored
-
- 03 May, 2001 2 commits
-
-
Jon K Hellan authored
2001-05-03 Jon K Hellan <hellan@acm.org> * src/gnumeric-util.c (cb_remove_object_data): New callback function. Removes object data from wbcg when dialog is destroyed. (gnumeric_keyed_dialog): New function. Make dialog a transient child of wbcg, attaching to wbcg object data to identify the dialog. (gnumeric_dialog_raise_if_exists): New function: Raise the dialog identified by key if it is registered on the wbcg. * src/gnumeric-util.h (gnumeric_dialog_make_unique, gnumeric_dialog_raise_if_exists): Declare. * src/about.c (dialog_about): Use gnumeric_keyed_dialog. Use gnumeric_dialog_raise_if_exists to ensure that only one sheet object config dialog at a time can be displayed for a wbcg. * src/sheet-object-widget.c (sheet_widget_checkbox_user_config): Ditto. 2001-05-03 Jon K Hellan <hellan@acm.org> * src/dialogs/dialog-define-names.c (name_guru_init): Use gnumeric_keyed_dialog rather than gnumeric_non_modal_dialog. (dialog_define_names): Use (gnumeric_dialog_raise_if_exists to ensure that only one instance at a time can be displayed for a wbcg.
-
Michael Meeks authored
-
- 02 May, 2001 1 commit
-
-
Almer S. Tigelaar authored
2001-05-02 Almer S. Tigelaar <almer@gnome.org> * src/workbook-edit.c (cb_thaw_ui_toolbar): Callback timer routine, re-enables the toolbars. (workbook_edit_set_sensitive): Add a ui timer to eliminate toolbar flickering. * src/sheet.c (sheet_menu_state_enable_insert): Clean-up.
-
- 01 May, 2001 6 commits
-
-
Morten Welinder authored
-
Morten Welinder authored
-
Almer S. Tigelaar authored
2001-05-01 Almer S. Tigelaar <almer@gnome.org> * src/parser.y (yylex): Seek for matching )'s for ('s and vice versa. (find_bracket): The meat for the above functionality (find_char): Split out from yylex, might be useful in other places. Currently used to scan for matching quotes. (gnumeric_expr_parser): If the ExprTree is null, assume that an error has occurred, set a general "invalid expression" and mark the whole expression. Also display more detail when both the expression and error message are non-null.
-
Morten Welinder authored
2001-05-01 Morten Welinder <terra@diku.dk> * fn-string.c (gnumeric_left, gnumeric_right, gnumeric_lower, gnumeric_upper, gnumeric_clean, gnumeric_proper): Un-suckify. (wildcards_and_question_marks, parse_search_string): Constify.
-
Almer S. Tigelaar authored
2001-05-01 Almer S. Tigelaar <almer@gnome.org> * src/application.[ch] (application_clipboard_unant): Use sheet_unant. (application_clipboard_clear): Idem. (application_clipboard_copy): Use sheet_ant. (application_clipboard_cut): Idem. (application_clipboard_is_cut): New function, is the area on the clipboard marked for cutting or for copying? * src/selection.[ch] (sheet_selection_ant): Deprecated, remove. (sheet_selection_unant): Idem. * src/sheet-control-gui.[ch] (scg_selection_ant): Rename to scg_ant and add a ranges parameter where the ranges to ant can be specified. (scg_selection_unant): Rename to scg_unant. (scg_destroy): Make sure to un-ant everything. (scg_construct): Ant all anted regions on the sheet. * src/sheet.[ch] (sheet_ant): New, ants one or more regions on the sheet. (sheet_unant): New, unants all currently anted region on the sheet. (sheet_destroy): Make sure to free the ant list. * src/commands.c (cmd_ins_del_colrow_undo): Remove ugly ant-hack, this is no longer needed, application_clipboard_cut/copy handles this now. (cmd_ins_del_colrow_redo): Idem (cmd_ins_del_colrow): Oh dear, we were actually storing both the cut and copied area as a cut area and we were actually cutting even if the range was a copied area after shifting.
-
Jody Goldberg authored
2001-04-30 Jody Goldberg <jgoldberg@home.com> * src/about.c (dialog_about) : sync with website. * src/format.c (format_number) : don't suppress the minus sign when faced with a space in the format. Is there a counter example ? (format_number) : handle negative improper fractions.
-
- 30 Apr, 2001 8 commits
-
-
Morten Welinder authored
-
Morten Welinder authored
-
Morten Welinder authored
2001-04-30 Morten Welinder <terra@diku.dk> * src/func.c (tokenized_help_find): Warning killer. * src/value.c (value_new_array): Kill warnings. (value_new_array_empty): Ditto. (value_release): Ditto. * src/print-cell.c (print_show): Use proper types. (get_width_string_n): Ditto. * src/number-match.c (gnumeric_error_init): Warning killer. * src/parser.y (deallocate_all): Warning killer. * src/item-bar.c (item_bar_draw): Avoid signedness problems. * src/format-template.c (hash_table_destroy): Warning killer. * src/colrow.h (struct _ColRowInfo): Make size_pixels an int. * src/value-sheet.c (value_area_get_width, value_area_get_height): Return an int, not a guint. 2001-04-26 Morten Welinder <terra@diku.dk> * fn-string.c (gnumeric_mid): Un-suckify. (gnumeric_find): Un-suckify. (gnumeric_substitute): Warning killer. (match_string): Warning killer. * fn-information.c (translate_cell_format): Warning killer. * fn-eng.c (val_to_base): Warning killer. 2001-04-30 Morten Welinder <terra@diku.dk> * ms-summary.c (sum_name_to_excel): Fix index count. Constify. Make static. (excel_to_gnum_mapping): Make static.
-
Almer S. Tigelaar authored
2001-04-30 Almer S. Tigelaar <almer@gnome.org> * src/commands.c (cmd_clear_selection): More descriptive descriptor. (cmd_format): Idem. (cmd_resize_colrow): Idem. (cmd_autofill): Idem. (cmd_autoformat): Idem. (cmd_unmerge_cells): Idem. (cmd_merge_cells): Idem. (cmd_colrow_std_size): Add "pts" to end of descriptor. (cmd_zoom): No need to re-assign gstring. (range_list_to_string): Convert a list of ranges to a string representation. * src/colrow.[ch] (colrow_index_list_to_string): Convert an index list to a string representation. (colrow_string_build): Utility routine for colrow_index_list_to_string.
-
Almer S. Tigelaar authored
2001-04-30 Almer S. Tigelaar <almer@gnome.org> * src/parser.y (gnumeric_expr_parser) : Give a warning when both the resulting ExprTree and error message is non-null. This should never happen.
-
Stano Visnovsky authored
-
Jody Goldberg authored
2001-04-29 Jody Goldberg <jgoldberg@home.com> * ms-excel-write.c (write_window2) : Headers are in default style. And grid colour is auto, not black.
-
Jody Goldberg authored
2001-04-29 Jody Goldberg <jgoldberg@home.com> * src/parser.y (yylex) : return INVALID_TOKEN rather than EOF when a lexical error is found.
-
- 29 Apr, 2001 3 commits
-
-
Almer S. Tigelaar authored
2001-04-29 Almer S. Tigelaar <almer@gnome.org> * fn-information.c (gnumeric_cell): Implement remaining information types for the CELL function. (retrieve_format_info): A helper function for gnumeric_cell for gathering format characteristics.
-
Almer S. Tigelaar authored
2001-04-29 Almer S. Tigelaar <almer@gnome.org> * src/commands.c (cmd_zoom) : Implement zoom undo/redo (cmd_zoom_destroy) : Idem. (cmd_zoom_redo): Idem. (cmd_zoom_undo): Idem. * src/workbook-control-gui.c (cb_change_zoom): Use cmd_zoom here.
-
Jody Goldberg authored
intersections of double lines. However, nothing significant. 2001-04-28 Jody Goldberg <jgoldberg@home.com> * src/style-border.c (print_hline) : handle offset of screen coords vs printer coords. (print_vline) : ditto. (style_borders_row_print) : sync with style_borders_row_draw and pass width to the line drawing to handle different coordinate types. * src/ranges.c (range_translate) : warn if clipped not just if removed. * src/clipboard.c (clipboard_prepend_cell) : store the source sheet if possible. (paste_link) : Use the right sheets. (clipboard_paste_region) : send enough information into paste_link.
-
- 28 Apr, 2001 2 commits
-
-
Valek Frob authored
-
Jody Goldberg authored
2001-04-27 Jody Goldberg <jgoldberg@home.com> * src/format.c (pre_parse_format) : Catch fractions too. (render_number) : don't pass in so many copies of flags. Just use the info struct. Add a 'has_fraction' flag to disable rounding. (do_render_number) : ditto. (stern_brocot) : simple stern brocot tree. Should really use an adaptive precision but I am lazy. (format_number) : add fractions. * src/commands.c (cmd_autofill_redo) : changing visiblity can triger a draw which requiresthat things be rendered and spanned. Be sure to complete the action BEFORE changing visibility.
-
- 27 Apr, 2001 5 commits
-
-
Morten Welinder authored
-
Chema Celorio authored
2001-04-27 Chema Celorio <chema@celorio.com> * src/sheet-object.h: add the header for clone_sheet * src/sheet-object.c (sheet_object_clone): implement (sheet_object_clone_sheet): implemnt. * src/sheet-object-widget.c (SOW_MAKE_TYPE): add read_xml, write_xml and clone methods to macro (sheet_object_widget_clone): implement. Implement for X in label, frame, button, checkbox (sheet_widget_x_construct_with_label): (sheet_widget_x_destroy): (sheet_widget_x_clone): (sheet_widget_x_write_xml): (sheet_widget_x_read_xml): (sheet_object_widget_register): implement * src/sheet-object-impl.h: add the clone method * src/sheet-object-graphic.c (sheet_object_graphic_clone): implement. (sheet_object_filled_clone): implement. * src/sheet-object-cell-comment.c (cell_comment_clone): implement
-
Jon K Hellan authored
2001-04-26 Jon K Hellan <hellan@acm.org> * src/item-grid.c (item_grid_button_1): Invoke scg_start_range_selection rather than gnumeric_sheet_start_range_selection. * src/sheet-control-gui.[ch] (scg_start_range_selection): New function. Start range selection in gsheet and notify expr entry.
-
Jody Goldberg authored
2001-04-26 Jody Goldberg <jgoldberg@home.com> * ms-excel-write.c (write_colinfos) : Rework to simplify and use colrow_equal. (write_colinfo) : extract the info from the ColRowInfo directly and fill in the visibility, outline, and collapse states. (write_rowinfo) : export visibility, collapse and outline. (write_guts) : new function. (new_sheet) : Include blank cols/rows with outline properties in extent calculation. * ms-excel-write.h (Excel{Col,Row}) : Delete unnecessary structures.
-
Jody Goldberg authored
2001-04-26 Jody Goldberg <jgoldberg@home.com> * configure.in : Add configure checks for finite and isfinite * src/mathfunc.h (FINITE) : Move the #define wrapper out here.
-
- 26 Apr, 2001 11 commits
-
-
Jody Goldberg authored
2001-04-26 Jody Goldberg <jgoldberg@home.com> * src/mathfunc.h (FINITE) : Move the #define wrapper out here. * src/cell.c : prune some includes (cell_default_halign) : rename to * src/style.c (style_default_halign) : to simplify headers for systems that do not support fwd declarations of enums. H - cough - PUX
-
Jody Goldberg authored
2001-04-26 Jody Goldberg <jgoldberg@home.com> * ms-excel-write.c (write_mergecells) : new routine to save merged regions. (write_sheet_tail) : called from here.
-
Jody Goldberg authored
2001-04-26 Jody Goldberg <jgoldberg@home.com> * xml-sax-read.c (xml_cell_set_array_expr) : oops accidentally backed out a patch.
-
Morten Welinder authored
2001-04-26 Morten Welinder <terra@diku.dk> * src/stf-parse.c: Put a decisive end to the signed-vs-unsigned problems in here. It's all glib's fault, really.
-
Morten Welinder authored
2001-04-26 Morten Welinder <terra@diku.dk> * src/stf-parse.c (stf_parse_options_fixed_autodiscover): Fix a signed vs. unsigned error. (We underflowed from 0 to 0xffff...ff.)
-
Morten Welinder authored
2001-04-26 Morten Welinder <terra@diku.dk> * dialog-solver.c (dialog_solver): Plug leak.
-
Jon Kåre Hellan authored
-
Jody Goldberg authored
2001-04-26 Jody Goldberg <jgoldberg@home.com> * src/item-grid.c (item_grid_class_init) : Drat part of a canceled patch slipped in.
-
Jon K Hellan authored
2001-04-26 Jon K Hellan <Jon.Hellan@clustra.com> * POTFILES.in: Change from gnumeric.xml to GNOME_Gnumeric.xml
-
Jon K Hellan authored
2001-04-26 Jon K Hellan <hellan@acm.org> * src/item-grid.c (item_grid_draw_background): Fix typo. * src/gnumeric-util.c (gnumeric_dialog_run): Fix silly mistake
-
Jon K Hellan authored
2001-04-26 Jon K Hellan <hellan@acm.org> * src/gnumeric-util.c (gnumeric_wb_dialog_run): Eliminate attempt to handle parent being closed underneath dialog running a recursive mainloop. That can't happen since GTK 1.2.7. Move what remains of the function into gnumeric_dialog_run. (gnumeric_dialog_run): See above. (gnumeric_set_transient): Place dialog according to user's placement policy. (gnumeric_non_modal_dialog): Use gnumeric_set_transient to get placement right. * src/gui-file.c (gui_file_save_as, dialog_query_load_file): No longer place at mouse, since gnumeric_set_transient now honours user's dialog placement policy.
-