2009-06-20 Morten Welinder * Release 0.7.8 2009-06-17 Andreas J. Guelzow * utils/go-format.c (go_format_output_general_to_odf): we need to output something (go_format_output_to_odf): if we don't know what kind of format it is, make a guess 2009-06-14 Morten Welinder * goffice/app/go-doc.c (go_doc_set_uri): Allow setting a NULL uri. 2009-06-13 Jean Brefort * goffice/graph/gog-equation.c: make things compile again after the goffice/goffice.h change. 2009-06-11 Morten Welinder * goffice/utils/go-format.c (ALLOW_NEGATIVE_TIMES): Turn on. 2009-06-09 Morten Welinder * */*.[ch]: Introduce as master include file. 2009-06-03 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_currency_to_odf): account for the possibility of NULL currency 2009-06-02 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_number_to_odf): use min_digits from format details (go_format_output_scientific_number_to_odf): ditto (go_format_output_currency_to_odf): ditto 2009-06-02 Morten Welinder * goffice/gtk/go-format-sel.c (study_format): Deal with issues the GUI does not handle. * goffice/utils/go-format.c (go_format_get_details): Figure out min_digit_width too. Figure out decimals for seconds. Use go_format_details_init. (go_format_details_init): New function. (go_format_generate_currency_str, go_format_generate_accounting_str, go_format_generate_scientific_str): Make static and just take details. All callers fixed use to go_format_generate_str. 2009-06-02 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_number_to_odf): set text properties for red text (go_format_output_currency_to_odf): ditto 2009-06-01 Andreas J. Guelzow * goffice/utils/go-format.h (go_format_output_to_odf): add argument * goffice/utils/go-format.c (go_format_output_to_odf): add argument and pass to go_format_output_*_to_odf (go_format_output_*_to_odf): add argument determining whether to use foreign elements 2009-06-01 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_fraction_to_odf): fix min-denominator-digits 2009-06-01 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_fraction_to_odf): indicate when number:text are again possible 2009-06-01 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_date_to_odf): mark elaspsed time with gnm: attribute 2009-05-31 Morten Welinder * goffice/utils/go-format.c (go_format_inc_precision, go_format_dec_precision): Use go_format_get_details and go_format_generate_str. That handles accounting formats and is less hacky. 2009-06-01 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_date_to_odf): mark elaspsed time with gnm: attribute 2009-05-31 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_fraction_to_odf): rewrite to export the true format 2009-05-31 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_date_to_odf): store magic and handle fractional seconds 2009-05-31 Andreas J. Guelzow * goffice/utils/go-format.c (fill_accumulator): delete (go_format_output_date_to_odf): rewrite without reference to the style program 2009-05-30 Andreas J. Guelzow * goffice/utils/go-format.h: use a descriptive name for arguments * goffice/utils/go-format.c (go_format_odf_style_map): rename argument and handle GO_FMT_COND_NONTEXT (go_format_output_date_to_odf): fix typo (go_format_output_number_to_odf): handle conditional format (go_format_output_currency_to_odf): ditto (go_format_output_to_odf): ditto 2009-05-30 Morten Welinder * goffice/utils/go-format.c (go_format_generate_str): Handle thousands_sep as well as negative value properties for percentages too. * goffice/gtk/go-format-sel.c (fillin_negative_samples): Use smaller sample value for percentages. (cb_decimals_changed, cb_separator_toggle, cb_format_currency_select): Call fillin_negative_samples when we have the F_NEGATIVE widget. 2009-05-30 Andreas J. Guelzow * goffice/utils/go-format.h (go_format_odf_style_map): simplify calling convention (gboolean go_format_output_to_odf): add argument * goffice/utils/go-format.c (go_format_odf_style_map): simplify calling convention (gboolean go_format_output_to_odf): add argument 2009-05-30 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_output_date_to_odf) use GOFormatDetails (go_format_output_scientific_number_to_odf): ditto (go_format_output_number_to_odf): ditto (go_format_output_currency_to_odf): new (go_format_output_to_odf) use GOFormatDetails 2009-05-29 Morten Welinder * goffice/utils/go-format.c (go_format_default_date_time): Make this GO_FORMAT_MAGIC_SHORT_DATETIME instead of just picking the fifth time format we happen to generate. (go_format_default_date, go_format_default_time): Similar. (go_format_magic_fmt_str): Fix GO_FORMAT_MAGIC_SHORT_DATETIME to use GO_FORMAT_MAGIC_SHORT_TIME's format. 2009-05-28 Andreas J. Guelzow * goffice/utils/go-format.c (cb_attrs_as_string): handle "scale" attributes (go_format_parse_markup): ditto 2009-05-28 Morten Welinder * goffice/gtk/go-format-sel.c (struct _GOFormatSel): Use a GOFormatDetails instead of individual members. (generate_format): Eliminate in favour of go_format_generate_str. (study_format): Simplify using go_format_get_details. (find_symbol): Remove. * goffice/utils/go-format.c (go_format_generate_accounting_str): Improve quoting. (go_format_get_details, go_format_generate_str): New functions. * goffice/utils/formats.c (go_currency_date_format_init): Simplify using go_format_locale_currency, go_format_generate_currency_str, and go_format_generate_accounting_str. (go_currency_date_format_init): Generate all members of fmts_accounting. * goffice/utils/go-format.c (go_format_locale_currency): New function. 2009-05-27 Morten Welinder * goffice/gtk/go-format-sel.c (generate_number): Simplify using go_format_generate_number_str. (generate_accounting, generate_format): Use go_format_generate_number_str, go_format_generate_scientific_str, go_format_generate_accounting_str, and go_format_generate_currency_str. (fillin_negative_samples): Select using iterator, not path. (nfs_init): Split negative_type into negative_red and negative_paren in the negative-types model. * goffice/utils/go-format.c (go_format_generate_number_str, go_format_generate_scientific_str, go_format_generate_accounting_str, go_format_generate_currency_str): New functions. 2009-05-27 Andreas J. Guelzow * goffice/utils/go-format.c (fill_accumulator): new (go_format_output_date_to_odf): new (odf_add_bool): new (go_format_output_fraction_to_odf): new stub (go_format_output_scientific_number_to_odf): new stub (go_format_output_number_to_odf): new stub (go_format_output_to_odf): implement 2009-05-27 Jean Bréfort * goffice/gtk/goffice-gtk.c (go_gtk_builder_new): renamed for more consistency, (go_gtk_builder_signal_connect), (go_gtk_builder_signal_connect_swapped): new functions. * goffice/gtk/goffice-gtk.h: ditto. * plugins/plot_radar/gog-radar.c (gog_color_polar_plot_populate_editor): use go_gtk_builder_new. 2009-05-26 Andreas J. Guelzow * goffice/utils/go-format.c (go_format_odf_style_map): new (go_format_output_to_odf): new * goffice/utils/go-format.h (go_format_odf_style_map): new (go_format_output_to_odf): new