1. 16 Jul, 2003 4 commits
    • Morten Welinder's avatar
      Load splash from application. (So it can be displayed fast.) · c596955a
      Morten Welinder authored
      2003-07-16  Morten Welinder  <terra@gnome.org>
      
      	* src/io-context-gtk.c (icg_show_gui): Load splash from
      	application.  (So it can be displayed fast.)
      c596955a
    • Morten Welinder's avatar
      Add line and background patterns. · 31540318
      Morten Welinder authored
      2003-07-16  Morten Welinder  <terra@gnome.org>
      
      	* src/application.c (gnumeric_application_setup_pixbufs): Add line
      	and background patterns.
      
      2003-07-16  Morten Welinder  <terra@gnome.org>
      
      	* dialog-cell-format.c (setup_pattern_button): Get images from
      	application pixbufs.
      31540318
    • Morten Welinder's avatar
      Just compare pointers. · 4b6c1948
      Morten Welinder authored
      2003-07-16  Morten Welinder  <terra@gnome.org>
      
      	* src/format.c (style_format_equal): Just compare pointers.
      4b6c1948
    • Jody Goldberg's avatar
      always register the object. · 5751c359
      Jody Goldberg authored
      2003-07-16  Jody Goldberg <jody@gnome.org>
      
      	* ms-obj.c (ms_read_OBJ) : always register the object.
      
      	* ms-container.c : Make the obj_queue a GSList.
      	(ms_container_get_obj) : new.
      	(ms_container_realize_objs) : only realize MSObjs that have gnumeric
      	  objects.
      
      	* ms-escher.c (ms_escher_header_init) : init new 'release_attrs' flag
      	  to allow us to pass management of an attr bag to an object, but still
      	  retain access to it.
      	 (ms_escher_header_release) : honour the flag.
      	 (ms_escher_read_ClientData) : set the flag.
      
      	* ms-excel-read.c (excel_read_NOTE) : Discover an undocumented flag.
      	  0x100 == no indicator visible
      	  While we're here store the author, and the inidcator position.
      	(excel_read_HLINK) : frames are 0x80 not 0x8
      	(ms_sheet_realize_obj) : cheat to handle cell comments.  In xl97 and
      	  up the comment objects store the possition of the display box, not the
      	  position of the indicator.  We need a better comment object.
      	(ms_sheet_realize_obj) : Store the text for text boxes too.
      	(ms_sheet_create_obj) : no need to set a blank text, we assign it later.
      	(ms_sheet_create_obj) : create comments.
      
      2003-07-15  Jody Goldberg <jody@gnome.org>
      
      	From John Gill :
      	* schemas/gnumeric-general.schemas.in : Add core/gui/editing/transitionkeys
      	* src/application.c (application_history_add) : new.
      	(application_set_transition_keys) : new.
      	* src/gnumeric-gconf.c (gnm_conf_init) : load the new pref.
      	(gnm_gconf_set_transition_keys) : new.
      
      	* src/item-cursor.c (item_cursor_selection_event) : Improve the
      	  heuristics even further.
      5751c359
  2. 15 Jul, 2003 6 commits
    • Morten Welinder's avatar
      New function. (style_format_number, style_format_account, · 3cb7bc9c
      Morten Welinder authored
      2003-07-15  Morten Welinder  <terra@gnome.org>
      
      	* src/format.c (style_format_build): New function.
      	(style_format_number, style_format_account, style_format_science,
      	style_format_percent, style_format_fraction): Move from format.c
      	and make static.  Change to returning StyleFormat* instead of
      	building a string.  All callers changed.
      3cb7bc9c
    • Morten Welinder's avatar
      Use precomputed family. Ditto. · e6744ab5
      Morten Welinder authored
      2003-07-15  Morten Welinder  <terra@gnome.org>
      
      	* src/auto-format.c (is_date): Use precomputed family.
      	* src/sheet-autofill.c (fill_item_new): Ditto.
      
      	* src/formats.c (cell_format_classify): Don't use
      	style_format_is_general since this function must work early.
      
      	* src/format.h (struct _StyleFormat): Add family and family_info
      	members.
      
      	* src/format.c (style_format_new_XL): Init family stuff.
      	(style_format_is_general, style_format_is_text): Make these
      	macros.
      e6744ab5
    • Morten Welinder's avatar
      Suck in formats.h and remove that file. All includers fixed. · cc7e5ca2
      Morten Welinder authored
      2003-07-15  Morten Welinder  <terra@gnome.org>
      
      	* src/format.h: Suck in formats.h and remove that file.  All
      	includers fixed.
      
      	* src/format.c (style_format_str_as_XL): Avoid a gazillion strlen
      	calls.
      	(style_format_new_XL): Don't free strings that aren't ours to
      	free.
      cc7e5ca2
    • Morten Welinder's avatar
      Avoid a pointless strlen. · be58081a
      Morten Welinder authored
      2003-07-15  Morten Welinder  <terra@gnome.org>
      
      	* src/commands.c (cmd_selection_clear): Avoid a pointless strlen.
      
      	* src/clipboard.c (cellregion_to_string): Avoid a silly copy of
      	the result (and a few pointless strlens).
      
      	* src/formats.c (style_format_number): Avoid making a copy of the
      	format.
      be58081a
    • Morten Welinder's avatar
      Simplify using g_string_append_printf. · 7aeab0be
      Morten Welinder authored
      2003-07-15  Morten Welinder  <terra@gnome.org>
      
      	* src/format.c (append_year, append_month, append_day, append_hour,
      	append_hour_elapsed, append_minute, append_minute_elapsed,
      	append_second, append_second_elapsed, format_number): Simplify
      	using g_string_append_printf.
      7aeab0be
    • Morten Welinder's avatar
      Fix sign position for fractions. Align fractions. · b31879d6
      Morten Welinder authored
      2003-07-15  Morten Welinder  <terra@gnome.org>
      
      	* src/format.c (format_number): Fix sign position for fractions.
      	Align fractions.
      b31879d6
  3. 14 Jul, 2003 1 commit
  4. 13 Jul, 2003 1 commit
  5. 11 Jul, 2003 3 commits
    • Jody Goldberg's avatar
      tack on category and make the generated links for the state dump uppercase · b3339344
      Jody Goldberg authored
      
      2003-07-10  Jody Goldberg <jody@gnome.org>
      
      	* src/func.c (function_dump_defs) : tack on category
      	  and make the generated links for the state dump uppercase to match
      	  the results from yelp.
      
      2003-07-10  Jody Goldberg <jody@gnome.org>
      
      	* src/stf.c (csv_tsv_probe) : quicky bogus probe for csv/tsv suffixes.
      	  We really need to merge the plugin service and the Openers for 1.3
      
      2003-07-09  Jody Goldberg <jody@gnome.org>
      
      	* configure.in : we're not going to be finished in time.  Make bonobo
      	  the default.
      b3339344
    • Morten Welinder's avatar
      Handle fixed-denominator fractional formats. (cell_format_fraction): Add · d97ca4a2
      Morten Welinder authored
      2003-07-11  Morten Welinder  <terra@gnome.org>
      
      	* src/formats.c (style_format_fraction): Handle fixed-denominator
      	fractional formats.
      	(cell_format_fraction): Add three-digit general and several
      	fixed-denominator fractional formats.
      	(currency_date_format_init): Recognize fractional formats with
      	explicit denominator.
      	(cell_format_is_fraction): Recognize explicit denominator.
      
      	* src/format.c (format_add_decimal, format_remove_decimal): Do
      	something sensible for fixed-denominator fractional formats.
      d97ca4a2
    • Morten Welinder's avatar
      Return a StyleFormat, not a [vile XL format] string. All callers changed. · 27ababf2
      Morten Welinder authored
      2003-07-11  Morten Welinder  <terra@gnome.org>
      
      	* src/format.c (format_toggle_thousands, format_add_decimal,
      	format_remove_decimal, reformat_decimals): Return a StyleFormat,
      	not a [vile XL format] string.  All callers changed.
      27ababf2
  6. 10 Jul, 2003 3 commits
    • Morten Welinder's avatar
      New function. · 4768da88
      Morten Welinder authored
      2003-07-10  Morten Welinder  <terra@gnome.org>
      
      	* src/format.c (format_toggle_thousands): New function.
      
      	* src/workbook-format-toolbar.c (cb_format_with_thousands): Toggle
      	thousands separator instead of just applying a random format.
      4768da88
    • Morten Welinder's avatar
      Do not discard old part of result. (currency_date_format_init): Add · cec99d5f
      Morten Welinder authored
      2003-07-10  Morten Welinder  <terra@gnome.org>
      
      	* src/formats.c (style_format_account): Do not discard old part of
      	result.
      	(currency_date_format_init): Add optional quotes around currency
      	symbol.
      cec99d5f
    • Morten Welinder's avatar
      Take cell value's format into account. · 57e340cb
      Morten Welinder authored
      2003-07-10  Morten Welinder  <terra@gnome.org>
      
      	* src/workbook-view.c (wb_view_format_feedback): Take cell value's
      	format into account.
      
      	* src/format.c (style_format_equal): New function.
      57e340cb
  7. 09 Jul, 2003 5 commits
    • Andreas J. Guelzow's avatar
      do not pass null data to stf_dialog · c5d2985f
      Andreas J. Guelzow authored
      2003-07-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/stf.c (stf_text_to_columns): do not pass null data to stf_dialog
      c5d2985f
    • Morten Welinder's avatar
      Free regexps. (currency_date_format_init): Build regexp for fractions. · 862851c7
      Morten Welinder authored
      2003-07-09  Morten Welinder  <terra@gnome.org>
      
      	* src/formats.c (currency_date_format_shutdown): Free regexps.
      	(currency_date_format_init): Build regexp for fractions.
      	(cell_format_is_fraction): New function.
      	(cell_format_classify): Recognize fraction with precision.
      
      	* src/format.c (format_remove_decimal, format_add_decimal): Handle
      	fraction formats too.
      
      	* src/formats.c (style_format_fraction): New function.
      862851c7
    • Andreas J. Guelzow's avatar
      do not post an error on user cancel. · 74a35f80
      Andreas J. Guelzow authored
      2003-07-09  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/stf.c (stf_text_to_columns): do not post an error on user cancel.
      74a35f80
    • Andreas J. Guelzow's avatar
      do not post a cancelled "error" if the workbook has no sheet but we didn't · 9fa9ed14
      Andreas J. Guelzow authored
      2003-06-27  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/stf.c (stf_read_workbook): do not post a cancelled "error"
      	* src/workbook-view.c (wb_view_new_from_input): if the workbook
      	  has no sheet but we didn't have an error, the user must have
      	  cancelled
      9fa9ed14
    • Jody Goldberg's avatar
      add spinbutton · f269c245
      Jody Goldberg authored
      2003-07-08  Jody Goldberg <jody@gnome.org>
      
      	* src/application.c (gnumeric_application_setup_icons) : add
      	  spinbutton
      
      	* src/pixmaps/Makefile.am : Add spin button and use the icons from
      	  glade for button and radio button.
      f269c245
  8. 08 Jul, 2003 1 commit
    • Morten Welinder's avatar
      Handle new basis BASIS_MSRB_30_360_SYM. · 5a6e864a
      Morten Welinder authored
      2003-07-08  Morten Welinder  <terra@gnome.org>
      
      	* src/datetime.c (days_between_basis): Handle new basis
      	BASIS_MSRB_30_360_SYM.
      	(days_between_BASIS_MSRB_30_360_SYM): New function.
      	(days_between_BASIS_MSRB_30_360): Handle end-of-February
      	correctly.
      
      2003-07-08  Morten Welinder  <terra@gnome.org>
      
      	* functions.c (gnumeric_days360): Simplify greatly using
      	days_between_basis.
      5a6e864a
  9. 07 Jul, 2003 6 commits
  10. 06 Jul, 2003 4 commits
    • Andreas J. Guelzow's avatar
      colour -> color · 0dcffe28
      Andreas J. Guelzow authored
      2003-07-06  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* graph/plugins/plot_pie/gog-ring-prefs.glade: colour -> color
      
      2003-07-06  Andreas Guelzow <aguelzow@taliesin.ca>
      
      	* en_ca: Updated Canadian English translation
      
      2003-07-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/stf-parse.c (stf_parse_sheet): no col_import_array means
      	  we want to import all columns
      	(stf_parse_region): ditto
      	* src/stf.c (stf_apply_formats): ditto
      0dcffe28
    • Rodrigo Moya's avatar
      added gnome-db plugin directory, built only when Bonobo is compiled in. · b72fc248
      Rodrigo Moya authored
      2003-07-06  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* configure.in:
      	* plugins/Makefile.am: added gnome-db plugin directory, built only
      	when Bonobo is compiled in.
      b72fc248
    • Andreas J. Guelzow's avatar
      clean up the sheet insert/append issue ditto (cb_insert_sheet): insert the · 6882425d
      Andreas J. Guelzow authored
      2003-07-06  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/GNOME_Gnumeric.xml: clean up the sheet insert/append issue
      	* src/workbook-control-gui.c: ditto
      	(cb_insert_sheet): insert the sheet after the current sheet
      	  rather than append
      	(cb_append_sheet): append a new sheet
      	(sheet_action_add_sheet): use cmd_... via cb_append_sheet rather
      	  than adding without undo
      	(sheet_action_insert_sheet): new
      6882425d
    • Andreas J. Guelzow's avatar
      change dialogresult->formats to dialogresult->parseoptions->formats · 85eeec0e
      Andreas J. Guelzow authored
      2003-07-05  Andreas J. Guelzow  <aguelzow@taliesin.ca>
      
      	* src/gui-clipboard.c: change dialogresult->formats to
      	  dialogresult->parseoptions->formats thoughout
      	* src/stf-parse.c (stf_parse_options_new): initialize formats
      	(stf_parse_options_free (stf_parse_region): rewrite
      	* src/stf-parse.h: add formats list to parseoptions
      	* src/stf.c (stf_store_results): split into stf_store_results
      	  and stf_apply_formats
      	(stf_apply_formats): new
      
      2003-07-05  Andreas J. Guelzow <aguelzow@taliesin.ca>
      
      	* dialog-stf.c: change dialogresult->formats to
      	  dialogresult->parseoptions->formats throughout
      	(stf_dialog_result_free): don't free formats
      	* dialog-stf.h: remove formats from DialogStfResult_t
      85eeec0e
  11. 05 Jul, 2003 3 commits
  12. 04 Jul, 2003 3 commits
    • Rodrigo Moya's avatar
      require libgnomedb CVS version, for gnome_db_login_set_dsn. · 8e26c028
      Rodrigo Moya authored
      2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* configure.in: require libgnomedb CVS version, for
      	gnome_db_login_set_dsn.
      8e26c028
    • Rodrigo Moya's avatar
      added check for libgnomedb. · 913c86aa
      Rodrigo Moya authored
      2003-07-04  Rodrigo Moya <rodrigo@gnome-db.org>
      
      	* configure.in: added check for libgnomedb.
      913c86aa
    • Jody Goldberg's avatar
      quick implementation that hard codes evolution-1.4, and its syntax. Will · 813c2c71
      Jody Goldberg authored
      
      2003-07-04  Jody Goldberg <jody@gnome.org>
      
      	* src/workbook-view.c (wb_view_sendto) : quick implementation that
      	  hard codes evolution-1.4, and its syntax.  Will leak the file if we
      	  exit too soon after sending.
      
      	* src/sheet-object-graphic.c (cb_dialog_graphic_config_destroy) : fix leak.
      	(cb_dialog_graphic_config_ok_clicked) : delete.
      	(cb_fill_color_changed) : simplify.
      	(sheet_object_graphic_user_config) : tidy and set mnemonics for the
      	  colour combos.
      	(sheet_object_filled_user_config) : ditto.
      	(cb_dialog_filled_config_destroy) : fix leaks.
      	(cb_fillcolor_changed) : simplify
      	(cb_outlinecolor_changed) : ditto.
      813c2c71