1328
2221
2005-11-14 Jody Goldberg <jody@gnome.org>
1330
2223
* Release 1.6.1
1332
2005-11-14 Jody Goldberg <jody@gnome.org>
1334
The rest of the Maemo port.
1335
From eduardo.lima@indt.org.br
1336
http://bugzilla.gnome.org/show_bug.cgi?id=321073
1338
* src/gnumeric-canvas.c
1341
* src/sheet-control-gui.c
1343
* src/wbcg-actions.c
1344
* src/workbook-control-gui-priv.h
1345
* src/workbook-control-gui.c : Merge the remaining Maemo/Hildon patches.
1347
2005-11-14 Jody Goldberg <jody@gnome.org>
1349
* configure.in : bump goffice req to 0.1.2 to get morten's fix.
1350
Add a < 0.2.0 to avoid problems when we branch.
1351
Disable the DEPRECATED warnings in the stable release.
1353
2005-11-13 Jody Goldberg <jody@gnome.org>
1355
* src/sheet-control-gui.c (cb_hscrollbar_adjust_bounds) : we weren't
1356
extending while at the very top.
1357
(cb_vscrollbar_adjust_bounds) : ditto.
1359
2005-11-13 Jean Brefort <jean.brefort@normalesup.org>
1361
* src/gnumeric-canvas.c: (gnm_canvas_key_press),
1362
(gnm_canvas_commit_cb): use localized decimal separator [#80139].
1363
* src/gnumeric-canvas.h:
1364
* src/widgets/gnumeric-expr-entry.c: (cb_gee_key_press_event): ditto.
1366
2005-11-10 Morten Welinder <terra@gnome.org>
1368
* src/application.c (gnumeric_application_finalize): Free
1369
->clipboard_cut_range.
1371
2005-11-06 Jody Goldberg <jody@gnome.org>
1373
* src/GNOME_Gnumeric-gtk.xml.in : Include menu item for R1C1
1375
2005-11-05 Jody Goldberg <jody@gnome.org>
1377
* src/xml-io.c : Delete the original DOM based export. The pseudo-sax
1378
based variant is faster and lighter and there's not much point in
1379
maintaining two code bases.
1381
* src/gnm-so-filled.c (gnm_so_filled_write_xml_dom) : delete.
1382
* src/gnm-so-line.c (gnm_so_line_write_xml_dom) : delete.
1383
* src/gnm-so-polygon.c (gnm_so_polygon_write_xml_dom) : delete.
1384
* src/sheet-object-cell-comment.c (cell_comment_write_xml_dom) : delete.
1385
* src/sheet-object-image.c (sheet_object_image_write_xml_dom) : delete.
1386
* src/sheet-object-widget.c
1387
(sheet_widget_frame_write_xml_dom) : delete.
1388
(sheet_widget_button_write_xml_dom) : delete.
1389
(sheet_widget_adjustment_write_xml_dom) : delete.
1390
(sheet_widget_checkbox_write_xml_dom) : delete.
1391
(sheet_widget_list_base_write_xml_dom) : delete.
1392
* src/sheet-object-graph.c (sheet_object_graph_write_xml_dom) : delete.
1393
(sheet_object_graph_prep_xml_sax) : new.
1394
(sog_xml_finish) : new.
1395
(sheet_object_graph_write_object) : use the sax interface.
1397
* src/xml-sax-read.c (xml_sax_wb) : ICK. We are actually dependent on
1398
the prefix for the namespace. The change from gmr -> gnm broke the
1399
version test here. Add gnm to fix it.
1400
(xml_sax_wb_sheetname) : be more flexible and only create a sheet if
1402
(xml_sax_object_start) : implement.
1404
2005-11-02 Jody Goldberg <jody@gnome.org>
1406
* src/sheet-autofill.c : remove the i18n flags for string lists as far
1407
as I can tell they were always true.
1408
(type_is_compatible) : an item might be in
1409
multiple lists. Check that the current item is in the previous list
1410
or that the previous item is in the current list.
1412
2005-10-25 Jody Goldberg <jody@gnome.org>
1414
* src/sheet-filter.c (collect_unique_elements) : yes that is the type
1415
of equality and hash we want. Remove the warning.
1417
2005-11-01 Morten Welinder <terra@gnome.org>
1419
* src/main-application.c: Move include of popt stuff here. It has
1420
no business in libgnumeric.h
1422
2005-11-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
1424
* README: Updated list archives URL (Debian #336699).
1426
2005-11-01 Stepan Kasal <kasal@ucw.cz>
1428
* src/sheet-filter.c, src/xml-io.c, src/tools/analysis-tools.c:
1429
#include <stdlib.h>, for the qsort() prototype.
1430
* src/gnumeric-gconf.c: In the non-gconf case, #include glib/gstdio.h.
1432
2005-10-31 Morten Welinder <terra@gnome.org>
1434
* src/gnumeric-gconf.c: Implement non-gconf case, see #310354.
1435
(Patch from Allin Cottrell.)
1437
2005-10-24 Morten Welinder <terra@gnome.org>
1439
* src/func.c (function_dump_defs): Describe args too.
1441
2005-10-24 Morten Welinder <terra@gnome.org>
1443
* src/func.c (function_dump_defs): Do the minimum for the new
1446
2005-10-23 Jody Goldberg <jody@gnome.org>
1448
* src/parse-util.c (r1c1_rangeref_parse) : cut-n-paste-o
1449
(r1c1_get_index) : == max is ok, we're about to decrement.
1451
* src/parser.y (yylex) : special case check for #N/A which does not
1453
(cellref) : Allow RANGEREF : RANGEREF
1455
2005-10-15 Jody Goldberg <jody@gnome.org>
1457
* src/wbcg-actions.c (cb_format_general) : Fix fmt accelerators.
1458
ctrl-~ == general not number
1459
ctrl-! == number not accounting
1461
* src/gnm-format.c (format_value_gstring) : Use the last element as a
1462
catch all. eg [>10][Blue]0;0 will fmt 1 in black even though it's
1463
implicit condition is <0
1465
* src/sheet-view.c (sv_freeze_panes) : if frozen == unfrozen unfreeze
1468
2005-10-12 Stepan Kasal <kasal@ucw.cz>
1470
* configure.in (gnumeric_gnome_reqs): Require libgsf-gnome >= 1.13.0,
1471
1.12.x cannot be used in combination with libgsf >= 1.13.2 anyway.
1472
* README: Sync all version requirements with configure.in.
1474
2005-10-10 Morten Welinder <terra@gnome.org>
1476
* src/stf.c (csv_tsv_probe): Fix a pile of content-probe issues.
1478
Handle empty csv files sanely.
1480
2005-10-10 Jody Goldberg <jody@gnome.org>
1482
* src/xml-io.c (xml_sheet_read) : xml_node_get_bool returns TRUE on
1483
success. Only set the value if we have one. The other code is
1484
reading directly into the value and setting it to a constant on
1487
2005-10-10 Jody Goldberg <jody@gnome.org>
1489
* configure.in : post release bump
1491
2005-10-10 Jody Goldberg <jody@gnome.org>
1495
2005-10-10 Jody Goldberg <jody@gnome.org>
1497
* configure.in : bump gsf req to avoid breakage in 1.13.1
1499
2005-10-10 Morten Welinder <terra@gnome.org>
1501
* src/mathfunc.c (pdhyper): Avoid infinite loop for NB==0, n==x.
1502
NOTE: Changed directly in genereated code.
1504
2005-10-08 Jody Goldberg <jody@gnome.org>
1506
* src/cellspan.c (cell_calc_span) : numbers can span when centered
1507
across selection. [Debian #286131]
1509
2005-10-07 Jody Goldberg <jody@gnome.org>
1511
* src/style-border.c (style_borders_row_draw) : more rtl fixage.
1512
(style_borders_row_print) : ditto.
1514
2005-10-07 Morten Welinder <terra@gnome.org>
1516
* src/xml-sax-write.c (xml_write_summary): Save all the summary
1517
items, not N copies of the first. [#318254]
1519
2005-10-06 Jean Brefort <jean.brefort@normalesup.org>
1521
* src/gnumeric-pane.c: (build_so_menu): localize all menu items [#318042].
1522
* src/sheet-autofill.c: (in_list), (autofill_cell): use localized days
1523
and months names when autofilling [#318043].
1525
2005-10-06 Jody Goldberg <jody@gnome.org>
1527
* src/style-conditions.c (gnm_style_conditions_eval) : whip up the
1529
* src/print-cell.c (print_merged_range) : support conditional styles
1531
* src/item-grid.c (item_grid_draw_merged_range) : ditto.
1533
2005-10-06 Jody Goldberg <jody@gnome.org>
1535
http://bugzilla.gnome.org/show_bug.cgi?id=317806
1536
* src/dependent.c (cb_single_contained_collect) : do not collect
1537
dynamic depends they may get cleared.
1538
(cb_range_contained_collect) : ditto.
1540
2005-10-04 Jody Goldberg <jody@gnome.org>
1542
* src/Makefile.am : libspreadsheet_la_LDFLAGS is already defined use
1545
2005-10-04 Jody Goldberg <jody@gnome.org>
1547
* src/func-builtin.c (gnumeric_table_link) : finish
1548
* src/dependent.c (link_expr_dep) : take an EvalPos rather than just a
1549
dep so that we can pass around array bound details.
1551
2005-10-02 Jody Goldberg <jody@gnome.org>
1553
* src/ranges.c (range_intersection) : return FALSE if the ranges do
1554
not overlap, but do not generate an error.
1555
formula_import_biff8.xls
1557
* src/gnumeric-pane.c (gnm_pane_init) : Use a realize handler on the
1558
canvas to create the object views. Doing it sooner can break
1559
because the canvas has not been attached to a container yet.
1560
test-xls/prislistekomplett.xls
1562
* src/workbook-control-gui.c (wbcg_sheet_add) : only grab focus if we
1563
are the current sheet.
1564
samples/derivatives.gnumeric
1566
* src/xml-sax-read.c : Move to new libgsf xml interface.
1567
Support un-namespaced variant of Name for compatibility.
1569
http://bugzilla.gnome.org/show_bug.cgi?id=317427
1570
* src/parse-util.c (gnm_1_0_rangeref_as_string) : new stripped down
1571
variant of rangeref_as_string.
1572
* src/xml-sax-write.c (xml_io_conventions) : use it here.
1573
* src/xml-io.c (xml_io_conventions) : and here.
1575
* src/style.c (required_updates_for_style) : add super/sub script
1577
2005-10-01 Stepan Kasal <kasal@ucw.cz>
1579
* src/Makefile.am (libspreadsheet_la_LDFLAGS): Add a -release flag,
1580
that says that there is no compatibility between releases.
1582
2005-09-28 Morten Welinder <terra@gnome.org>
1584
* src/xml-io.c (xml_read_names): Check whether the expression is
1585
NULL, not whether the exp function pointer is.
1586
(xml_workbook_read): Setup context earlier.
1587
(xml_read_names): Work around bug 317427.
1589
2005-09-28 Jean Brefort <jean.brefort@normalesup.org>
1591
* src/graph.c: (gnm_go_data_set_sheet): unlink dependent if necessary
1592
before setting the sheet.
1594
2005-09-28 Jean Brefort <jean.brefort@normalesup.org>
1596
* src/graph.c: (gnm_go_data_dup): set the sheet of the dep with a
1597
call to dependent_set_sheet.
1599
2005-09-26 Jody Goldberg <jody@gnome.org>
1601
* src/gnm-style-impl.h : Add a script element to GnmStyle
1602
* src/mstyle.c (elem_is_eq) : support scripts
1603
(elem_assign_content) : support scripts
1604
(gnm_style_new_default) : support scripts
1605
(gnm_style_get_pango_attrs) : support scripts
1606
(gnm_style_dump) : support scripts
1607
(gnm_style_set_font_script) : new.
1608
(gnm_style_get_font_script) : new.
1610
* src/GNOME_Gnumeric-gtk.xml.in : Add the super/sub script
1613
* gnumeric.xsd : update to include the new h/v alignments and to add
1616
* src/wbc-gtk.c (wbc_gtk_style_feedback) : support super/sub script
1617
and fix support for double underline
1619
* src/wbcg-actions.c (toggle_font_attr) : support super/sub script
1620
(cb_font_subscript) : new.
1621
(cb_font_superscript) : new.
1623
* src/xml-io.c (xml_write_style) : ditto.
1624
(xml_read_style) : ditto.
1625
* src/xml-sax-read.c (xml_sax_styleregion_font) : ditto.
1626
* src/xml-sax-write.c (xml_write_gnmstyle) : ditto.
1628
2005-09-27 Morten Welinder <terra@gnome.org>
1630
* src/position.c (eval_pos_init_dep): Fix typo.
1632
2005-09-26 Jody Goldberg <jody@gnome.org>
1634
* src/workbook-control-gui.c (show_gui) : protection against scg == NULL
1635
Wallenbach-Formulas2003/chap17/thermometer chart.xls
1636
(disconnect_sheet_signals) : no need to warn when shutting down hidden
1639
* src/format-template.c (gnm_auto_fmt_filter_edges) : This is not
1640
correct, but at least it no longer causes a crash. Rework things to
1641
rationalize the handling of edges at some point in the future.
1643
* src/mstyle.c (gnm_style_set_shrink_to_fit) : cut-n-paste-o that
1644
would erase wrap text with shrink to fit.
1645
(gnm_style_get_shrink_to_fit) : ditto.
1647
2005-09-24 Jody Goldberg <jody@gnome.org>
1649
* src/sheet-control-gui.c (resize_pane_pos) : handle motion in frozen
1651
(sheet_control_gui_new) : use a blank label as a space rather than a
1652
scrollbar. Emmanuel's idea seems more consistent with frozen panes
1653
than reseting the pane.
1654
(set_resize_pane_pos) : new utility to calculate the desired pane
1655
position and block the signal.
1656
(resize_pane_finish) : renamed from cb_resize_pane_finish to be more
1657
consistent. Round the pane position to the col/row bound using
1658
set_resize_pane_pos.
1659
(scg_set_panes) : position the resize panes. Change the behavior not
1660
to short circuit if the freeze status is unchanged. This seems safe
1661
and makes sue that set_resize_pane_pos is called.
1663
* src/dependent.c : warning suppression.
1665
2005-09-22 Jody Goldberg <jody@gnome.org>
1667
* src/selection.c (sv_selection_to_plot) : Use the total number of
1668
rows and cols to decide row vs col major. Using just the first
1669
range had the potential for problems with a singleton followed by a
1672
http://bugzilla.gnome.org/show_bug.cgi?id=314867
1673
* src/dependent.c (workbook_recalc) : queue an update to the auto
1676
2005-09-20 Jody Goldberg <jody@gnome.org>
1678
* src/position.c : Add some gnm_ to the api.
1679
(gnm_cellref_set_col_ar) : new
1680
(gnm_cellref_set_row_ar) : new.
1682
2005-09-20 Morten Welinder <terra@gnome.org>
1684
* src/cell-draw.c: Don't use gdk_draw_layout_with_colors -- it
1685
breaks rich text. (We might be able to use it if we can somehow
1686
deduce that rich text is not present, but that is a patch for
1687
later.) Unset clip explicitly in the rotation case.
1689
2005-09-19 Jody Goldberg <jody@gnome.org>
1691
http://bugzilla.gnome.org/show_bug.cgi?id=316597
1692
* src/cell-draw.c (cell_draw) : gtk-2.8 clips more vigorously.
1693
Don't clip at all for rotation rather than setting a clip of
1696
2005-09-18 Stepan Kasal <kasal@ucw.cz>
1698
* configure.in: Fix the way GCONF_SCHEMAS_INSTALL is set.
1699
Update obsolete macros.
1701
2005-09-17 Jody Goldberg <jody@gnome.org>
1703
* src/gnumeric-canvas.c (gnm_canvas_key_press) : add a quick guard
1704
around gtk_im_context_reset to avoid starting an edit for no reason.
1706
2005-09-16 Jody Goldberg <jody@gnome.org>
1708
* src/sheet.c (sheet_destroy_contents) : destroy filters and pivots
1709
before remaining objects. Those are higher order objects and may
1710
contain objects themselves. [#316533]
1712
2005-09-15 Jody Goldberg <jody@gnome.org>
1714
* src/func-builtin.c (gnumeric_table_link) : new incomplete.
1715
(gnumeric_table_unlink) : new incomplete.
1716
(gnumeric_table) : implement 1d iteration.
1718
2005-09-15 Jody Goldberg <jody@gnome.org>
1720
* src/workbook-control-gui.c (wbcg_is_local_drag) : new.
1721
(cb_wbcg_drag_motion) : check for object drags here.
1722
(cb_wbcg_drag_leave) : here.
1723
(cb_wbcg_drag_data_received) : and here.
1724
(wbcg_set_toplevel) : include the local object targets.
1726
* src/gnumeric-canvas.c (cb_obj_autoscroll) : new.
1727
(gnm_canvas_object_autoscroll) : new. A kludge to get sheet objects
1728
to autoscroll again.
1730
2005-09-15 Morten Welinder <terra@gnome.org>
1732
* src/main-application.c (check_pango_attr_list_splice_bug): New
1734
(main): Call check_pango_attr_list_splice_bug.
1736
2005-09-13 Jody Goldberg <jody@gnome.org>
1738
http://bugzilla.gnome.org/show_bug.cgi?id=316026
1739
* src/sheet-control-gui.c (drag_object) : type 8 movement (sliding
1740
full object) in rtl mode should snap coord 2, the right side.
1742
2005-09-13 Morten Welinder <terra@gnome.org>
1744
* src/dependent.c (dep_hash_destroy): Don't start changing
1745
dependencies until we are done looking at containers.
1747
2005-09-10 Stepan Kasal <kasal@ucw.cz>
1749
* src/main-application.c (main): Change the type of variable "args"
1750
to "gchar const **", call go_shell_argv_to_glib_encoding_free at
1752
* src/ssconvert.c, src/ssindex.c: Likewise.
1753
* configure.in: Require goffice 0.1.0.
1755
* src/workbook.c (workbook_sheet_state_diff): It seems that the last
1756
chunk of the change from 2005-08-27 was a mistake. Remove it.
1758
2005-09-09 Jody Goldberg <jody@gnome.org>
1760
* src/dependent.c (link_expr_dep) : honor new DEPENDENT_IGNORE_ARGS
1761
flag which instructs the linker not to depend on the arguments to
1764
2005-09-08 Jody Goldberg <jody@gnome.org>
1766
* configure.in : post release bump, prep for 1.6.0
1768
2005-09-08 Jody Goldberg <jody@gnome.org>
1772
2005-09-08 Jody Goldberg <jody@gnome.org>
1774
* src/GNOME_Gnumeric-gtk.xml.in : remove 'EditMetaData' it is not
1777
2005-09-05 Jody Goldberg <jody@gnome.org>
1779
* src/expr.c (gnm_expr_is_data_table) : move this out of the xls
1782
2005-09-05 Stepan Kasal <kasal@ucw.cz>
1784
* src/gnm-so-polygon.c, COPYING: Update FSF's address.
1786
2005-09-05 Jody Goldberg <jody@gnome.org>
1788
* src/workbook-edit.c (wbcg_edit_start) : no need to do the selection
1789
magic here. We now over ride 'gtk-entry-select-on-focus' in the
1792
2005-09-05 Jody Goldberg <jody@gnome.org>
1794
* src/wbcg-actions.c (cb_data_import_text) : s/druid/assistant/ [#311998]
1796
2005-09-04 Jody Goldberg <jody@gnome.org>
1798
* src/gnumeric-canvas.c (gnm_canvas_key_press) : only ignore keyboard
1799
events for normal mode. objects still accept escape [#314866]
1800
* src/gnumeric-pane.c (cb_control_point_event) : ignore other buttons
1803
2005-09-04 Jody Goldberg <jody@gnome.org>
1805
* src/graph.c (gnm_go_data_scalar_as_str) : remove. This was intended
1806
as a fix for #152317. Unfortunately it ended up breaking two other
1807
things. xml persistence could not tell if something was a string or
1808
an expression. User input would not be quoted. A more functional
1809
solution is to push this logic down into the xls exporter.
1811
2005-09-02 Jody Goldberg <jody@gnome.org>
1813
* src/number-match.c : Make DEBUG_NUMBER_MATCH compile again.
1814
(format_match_init) : Ignore fmt elements that contain '@'
1816
2005-09-01 Morten Welinder <terra@gnome.org>
1818
* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip): Make the
1819
tooltips use "www x hhh" format.
1821
2005-08-29 Jody Goldberg <jody@gnome.org>
1823
* configure.in : bump goffice req
1825
2005-08-27 Jody Goldberg <jody@gnome.org>
1827
* src/workbook.c (workbook_dispose) : Looks like this patch got
1828
munged. Make it sane.
1830
2005-08-29 Stepan Kasal <kasal@ucw.cz>
1832
* src/ssconvert.c (convert): If output file name was not given,
1833
don't call go_shell_arg_to_uri. Without gnome, this caused a segfault.
1835
2005-08-28 Morten Welinder <terra@gnome.org>
1837
* configure.in: Post release bump.
1839
2005-08-28 Morten Welinder <terra@gnome.org>
1843
2005-08-28 Morten Welinder <terra@gnome.org>
1845
* configure.in: Post release bump.
1847
2005-08-28 Morten Welinder <terra@gnome.org>
1851
2005-08-26 Morten Welinder <terra@gnome.org>
1853
* src/print.c (dialog_response): Reset page count. [#314520]
1855
2005-08-25 Stepan Kasal <kasal@ucw.cz>
1857
* src/Makefile.am (check_PROGRAMS): Add test-pango only if WITH_GTK.
1858
(nodist_test_pango_SOURCES, nodist_gnumeric_component_SOURCES): Nuke,
1859
they only referred to nodist_gnumeric_SOURCES, which no longer exists.
1860
(UNUSED): Remove, this hack is no longer needed.
1862
2005-08-24 Stepan Kasal <kasal@ucw.cz>
1864
* src/workbook.c: Move the /* WITH_GTK */ comment to the right #endif.
1865
* src/gnm-so-polygon.c (so_polygon_view_set_bounds): Remove unused
1868
2005-08-23 Morten Welinder <terra@gnome.org>
1870
* src/workbook-edit.c (set_cur_fmt): Split out.
1871
(cb_entry_cursor_pos): From here.
1872
(cb_entry_cursor_pos): use set_cur_fmt. Fixes #314209.
1874
* src/dependent.c (dep_hash_destroy): Another case of
1875
don't-muck-with-the-hash-you-are-iterating-over.
1877
2005-08-21 Jody Goldberg <jody@gnome.org>
1879
* src/workbook.c (workbook_sheet_attach_at_pos) : don't signal until
1880
after the controls have been added. [#314208]
1882
2005-08-21 Jody Goldberg <jody@gnome.org>
1884
* src/mstyle.c (gnm_style_equal) : MSTYLE_COLOR_BACK == 0 now, there
1885
is no longer an invalid entry at 0 with back at 1.
1886
(gnm_style_equal_XL) : ditto.
1888
* src/sheet-style.c (cb_style_list_add_node) : improve the debugging.
1890
2005-08-18 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
1892
* src/commands.c (cmd_object_raise_redo): pull_to_front and
1893
pull_forward actions were inverted.
1895
2005-08-17 Morten Welinder <terra@gnome.org>
1897
* src/workbook-view.c (wbv_save_to_uri): Only close the output
1898
handle if it is not already closed. (msole closes its sink.)
1900
2005-08-15 Morten Welinder <terra@gnome.org>
1902
* configure.in: Post release bump
1904
2005-08-15 Morten Welinder <terra@gnome.org>
1908
2005-08-15 Jean Brefort <jean.brefort@normalesup.org>
1910
* src/workbook-control-gui.c: (cb_graph_dim_editor_update): unref the
1913
2005-08-12 Morten Welinder <terra@gnome.org>
1915
* src/dependent.c (cb_dep_hash_destroy): Fix crashes related to
1916
changing a dependency container while we are looping over it.
1919
* src/sheet.c (sheet_finalize): Free ->sheet_views at the end
1920
because sheet_scrollbar_config as called via object removal can
1923
2005-08-12 Jody Goldberg <jody@gnome.org>
1925
* src/sheet.c (sheet_destroy_contents): Move sheet object
1927
(sheet_finalize): From here.
1929
2005-08-12 Morten Welinder <terra@gnome.org>
1931
* src/sheet-object-widget.c
1932
(sheet_widget_radio_button_set_property): Fix warning.
1934
2005-08-12 Jean Brefort <jean.brefort@normalesup.org>
1936
* src/dialogs/dialog-about.c: (dialog_about): do not remove the
1937
grid which does not exist anymore.
1939
2005-08-11 Jean Brefort <jean.brefort@normalesup.org>
1941
* configure.in: needs libgsf-1.12.2
1942
* src/command-context-stderr.c: updated to new GSF_CLASS_FULL signature.
1943
* src/gnm-plugin.c: ditto.
1944
* src/gnm-so-filled.c: ditto.
1945
* src/gnm-so-line.c: ditto.
1946
* src/io-context-gtk.c: ditto.
1947
* src/sheet-filter.c: ditto.
1948
* src/sheet-object-cell-comment.c: ditto.
1949
* src/sheet-object-graph.c: ditto.
1950
* src/sheet-object-image.c: ditto.
1951
* src/sheet-object-widget.c: ditto.
1952
* src/widgets/gnumeric-expr-entry.c: ditto.
1953
* src/workbook-control-gui.c: ditto.
1954
* plugins/corba/corba-workbook.c: ditto.
1955
* plugins/python-loader/python-loader.c: updated to new
1956
GSF_DNAMIC_CLASS_FULL signature.
1958
2005-08-11 Jody Goldberg <jody@gnome.org>
1960
* src/gnm-so-polygon.c : split out of filled and re-enable It's not
1961
optimal, and the persistence is broken, but it does display.
1963
2005-08-09 Morten Welinder <terra@gnome.org>
1965
* src/rendered-value.c (rendered_value_recontext): Fix the hack to
1966
make printing look like screen. [#312912]
1968
* src/workbook-view.c (wbv_save_to_uri): Close the file before
1969
checking for errors. Part of fix for #312930.
1971
2005-08-09 Rodrigo Moya <rodrigo@gnome-db.org>
1973
* configure.in: require libgda/libgnomedb CVS HEAD.
1975
2005-08-08 Morten Welinder <terra@gnome.org>
1977
* src/ssindex.c: Fix typo. [#312823]
1979
2005-08-08 Sunil Mohan Adapa <sunil@atc.tcs.co.in>
1981
* configure.in: Added "te" to ALL_LINGUAS.
1983
2005-08-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
1985
* *: Updated FSF's address.
1987
2005-08-07 Jody Goldberg <jody@gnome.org>
1989
* src/main-application.c : Add --no-warnings
1990
* src/io-context-gtk.c (icg_error_error_info) : use it.
1992
2005-08-07 Jody Goldberg <jody@gnome.org>
1994
* src/workbook.c (workbook_dispose) : do not free the uri until the
1995
end to make debugging simpler.
1996
(workbook_sheet_hide_controls) : hide just controls not views.
1997
(cb_sheet_visibility_change) : restore just controls.
1999
* src/style-color.c (style_color_new_gdk) : new.
2000
* src/sheet-view.c (sv_get_control) : new.
2001
* src/sheet.c (sheet_destroy) : move the object deletion from here.
2002
(sheet_destroy_contents) : to here.
2004
2005-08-04 Stepan Kasal <kasal@ucw.cz>
2006
* src/Makefile.am (GNUMERIC_BASE): Add gnm-style-impl.h.
2007
* src/file-autoft.c: Add a missing include.
2009
* src/style-conditions.c (gnm_style_conditions_eval): Fix another
2012
* src/ssindex.c: Fix two option descriptions.
2014
2005-08-03 Jody Goldberg <jody@gnome.org>
2016
* src/style-conditions.c (gnm_style_conditions_eval) : suppress a
2017
warning and some debug spew.
2019
2005-08-03 Stepan Kasal <kasal@ucw.cz>
2021
* src/test-pango.c: Fix warnings.
2023
2005-08-01 Jody Goldberg <jody@gnome.org>
2025
* src/consolidate.c (retrieve_row_tree) : Ignore elements that have no
2028
* src/workbook-edit.c (cb_entry_delete_text) : queue an update of the
2029
edit items. This is a kludge. We should move to a centralized
2030
dropdown rather than screwing with the selection. [#308303]
2031
(wbcg_edit_start) : don't autocomplete while editing in the editline.
2033
* src/sheet-object-image.c (sheet_object_image_new_view) : create the
2034
image hidden. The bound_set. will fix it later. [#308301]
2036
2005-07-29 Jody Goldberg <jody@gnome.org>
2038
* src/graph.c (gnm_go_data_scalar_as_str) : New. be smarter about
2039
constant strings. There's no need to quote them when they are the
2040
entire expression. #152317
2042
2005-07-27 Morten Welinder <terra@gnome.org>
2044
* src/value.c (find_rows_that_match): Band-aid for 311567.
2046
2005-07-26 Ivan, Wong Yat Cheung <email@ivanwong.info>
2048
* src/style.c (style_font_new_simple): use
2049
pango_font_description_copy() so that we store the exact
2050
font description we pass to pango. Partially Fix #161027.
2052
2005-07-25 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2054
* src/sheet-object-graph.c (sheet_object_graph_default_size): logical
2055
size of graph is a property of GogGraph now.
2057
2005-07-23 Jody Goldberg <jody@gnome.org>
2059
Fix snap to grid for RTL mode.
2060
* src/sheet-control-gui.c (snap_pos_to_grid) : handle RTL and scaling
2062
(snap_to_grid) : merge into.
2063
(apply_move) : here.
2065
Fix object motion in RTL mode.
2066
* src/gnumeric-canvas.c (gnm_canvas_window_to_coord) : new.
2067
* src/gnumeric-pane.c (cb_pane_drag_data_received) : use it here.
2068
(cb_gnm_pane_drag_motion) : and here.
2070
2005-07-23 Ivan, Wong Yat Cheung <email@ivanwong.info>
2072
* src/gnumeric-gconf.c (go_conf_set_str_list, go_conf_get_str_list):
2073
They didn't worked. Fix #308302.
2075
2005-07-20 Morten Welinder <terra@gnome.org>
2077
* src/mstyle.c (gnm_style_ref, gnm_style_unref): Add extra
2080
* src/commands.c (cmd_format_repeat): Handle NULL style. Fixes
2083
2005-07-18 Stepan Kasal <kasal@ucw.cz>
2085
* src/libgnumeric.c: Remove double #include's.
2087
2005-07-15 Jody Goldberg <jody@gnome.org>
2089
* src/print-info.c : Add Andreas to the list of Authors.
2090
(print_info_new) : Init the simple margins to -1 to signify unset.
2092
(print_info_margin_copy) : delete.
2093
(print_info_dup) : tidy up and handle the new flags.
2094
(print_info_get_margins) : if a margin is negative (unset) return 0.
2095
(print_info_set_n_copies) : delete.
2096
(print_info_get_n_copies) : delete.
2097
(print_info_set_orientation) : delete.
2098
(print_info_get_orientation) : delete.
2099
(print_info_make_config) : only set the margin in the print_config if
2100
it is set. Rework the orientation enum into a pair of bools to be
2102
(print_info_load_config) : ditto.
2104
* src/gnumeric-gconf.c : s/right-then-down/across-then-down/ for RTL.
2105
(gnm_gconf_set_print_order_across_then_down) : renamed from
2106
gnm_gconf_set_print_order_right_then_down.
2108
* gnumeric.xsd : margins are optional now.
2110
2005-07-15 Jon K Hellan <hellan@acm.org>
2112
* src/main-application.c (gnumeric_arg_parse): Call
2113
gnome_authentication_manager_init.
2115
2005-07-14 Jon K Hellan <hellan@acm.org>
2117
* configure.in (set_more_warnings): Add -Wno-pointer-sign, which
2118
silences the "pointer targets differ in signedness" warnings from
2119
gcc as of version 4.0. Should probaby be turned on again at some
2122
2005-07-11 Morten Welinder <terra@gnome.org>
2124
* src/ssconvert.c (list_them): Cleanup.
2126
* src/workbook-view.c (wb_view_new_from_uri, wbv_save_to_uri): Use
2127
g_printerr, not g_print.
2128
* src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
2129
* src/workbook.c (workbook_dispose): ditto.
2131
2005-07-05 Stepan Kasal <kasal@ucw.cz>
2133
* .cvsignore: Replace "autom4te*.cache" by "autom4te.cache"
2135
2005-07-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
2137
* configure.in, README: Bumped the goffice requirement to get
2138
GOG_MS_DIM_START, GOG_MS_DIM_END, GOG_MS_DIM_LOW, GOG_MS_DIM_HIGH.
2140
2005-07-01 Jon K Hellan <hellan@acm.org>
2142
* src/gui-clipboard.c (x_claim_clipboard): Plug leak.
2144
2005-07-01 Jean Brefort <jean.brefort@normalesup.org>
2146
* src/sheet-object-graph.c: inlude locale.h,
2147
(sheet_object_graph_write_object): fix a pointer compatibility warning.
2149
2005-07-01 Jean Brefort <jean.brefort@normalesup.org>
2151
* src/gnumeric-pane.c: (gnm_pane_drag_begin): add support to copy/paste and
2152
dnd charts to other apps.
2153
* src/gnumeric.h: ditto.
2154
* src/gui-clipboard.c: (graph_write), (x_clipboard_get_cb),
2155
(x_claim_clipboard): ditto
2156
* src/sheet-control-gui.c: ditto.
2157
* src/sheet-object-graph.c: ditto.
2158
(sheet_object_graph_get_object_target_list),
2159
(sheet_object_graph_write_object), (sog_exportable_init):
2160
* src/sheet-object-impl.h: ditto.
2161
* src/sheet-object.c: (sheet_object_exportable_get_type),
2162
(sheet_object_exportable_get_target_list),
2163
(sheet_object_write_object): ditto.
2164
* src/sheet-object.h: ditto.
2166
2005-06-30 Morten Welinder <terra@gnome.org>
2168
* src/workbook.c (workbook_sheet_rename_check,
2169
workbook_sheet_change_protection,
2170
workbook_sheet_change_visibility, workbook_sheet_recolor,
2171
workbook_sheet_reorder_by_idx): Remove. No longer used.
2173
* src/commands.c (command_redo_sheet_delete,
2174
cmd_reorganize_sheets_delete_get_this_sheet_info,
2175
cmd_reorganize_sheets_delete_shift_list,
2176
cmd_reorganize_sheets_delete_get_all_sheets_info,
2177
cmd_reorganize_sheets_delete_recreate_sheet,
2178
cmd_reorganize_sheets_delete_free, cmd_reorganize_sheets_undo,
2179
cmd_reorganize_sheets_redo, cb_slist_gdk_color_free,
2180
cmd_reorganize_sheets_finalize, cmd_reorganize_sheets_fix_list,
2181
cmd_reorganize_sheets): Remove. No longer used.
2183
2005-06-28 Jody Goldberg <jody@gnome.org>
2185
* src/style-conditions.c (gnm_style_conditions_overlay) : when
2186
applying a conditional overlay with a background colour to a base
2187
without a pattern pretend the pattern is solid.
2189
2005-06-27 Morten Welinder <terra@gnome.org>
2191
* src/wbcg-actions.c: No ellipsis to Full Screen.
2193
2005-06-25 Jody Goldberg <jody@gnome.org>
2195
* src/mstyle.c (gnm_style_dup) : no need to dup unassigned elements.
2197
* src/gnm-style-impl.h, src/style-conditions.c, src/style-conditions.h:
2200
2005-06-25 Jody Goldberg <jody@gnome.org>
2202
* src/xml-sax-read.c (xml_sax_hlink) : new.
2203
(xml_sax_input_msg) : new.
2205
2005-06-22 Morten Welinder <terra@gnome.org>
2207
* src/mathfunc.c (random_01): Use the Mersenne Twister as
2209
* configure.in: Stop checking for functions we no longer use.
2211
2005-06-22 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
2213
* src/gnumeric-pane.c (cb_gnm_pane_drag_motion): set snap_to_grid if
2214
SHIFT is pressed, state given by widget parent window.
2215
* src/sheet-control-gui.c (scg_drag_receive_same_scg): ditto.
2216
(scg_objects_nudge): fix typo.
2218
2005-06-22 Jody Goldberg <jody@gnome.org>
2220
* src/Makefile.am : enable pango-test
2222
2005-06-22 Jody Goldberg <jody@gnome.org>
2224
* * : s/MStyle/GnmStyle/
2225
s/mstyle_/gnm_style_/
2226
s/StyleHAlignFlags/GnmHAlign/
2227
s/StyleVAlignFlags/GnmVAlign/
2229
2005-06-20 Morten Welinder <terra@gnome.org>
2231
* src/commands.c (cmd_rename_sheet): Prevent renames to "".
2233
2005-06-14 Jody Goldberg <jody@gnome.org>
2235
http://bugzilla.gnome.org/show_bug.cgi?id=163414
2236
* src/item-bar.c (item_bar_event) : "If it hurts when you do that,
2237
don't do that". Position the tooltip above the cursor for row
2240
2005-06-14 Morten Welinder <terra@gnome.org>
2242
* src/gnumeric-gconf.c (gnm_gconf_get_toolbar_visible,
2243
gnm_gconf_set_toolbar_visible): New functions.
2245
* src/wbc-gtk.c (cb_add_menus_toolbars): Set toolbar visibility.
2246
(cb_handlebox_visible): Make changes to visibility permanent.
2247
(wbc_gtk_init): Don't set everything visible.
2249
2005-06-13 Jody Goldberg <jody@gnome.org>
2251
* src/expr.c (gnm_expr_eval) : when evaluating an array pass the
2252
cols/rows into the EvalPos.
2254
* src/position.c (eval_pos_init) : init new cols/rows member
2255
(eval_pos_init_dep) : ditto.
2256
(eval_pos_init_cell) : ditto.
2257
(eval_pos_init_sheet) : ditto.
2259
2005-06-13 Jody Goldberg <jody@gnome.org>
2261
* configure.in : post release bump
2263
2005-06-13 Jody Goldberg <jody@gnome.org>
2267
2005-06-13 Jody Goldberg <jody@gnome.org>
2269
* src/expr-name.c (gnm_named_expr_collection_lookup) : be more
2272
2005-06-12 Jody Goldberg <jody@gnome.org>
2274
* src/value.c (value_get_as_bool) : handle err == NULL
2276
2005-06-12 Morten Welinder <terra@gnome.org>
2278
* src/workbook.c (workbook_detach_view): Just dispose of the view.
2279
That will both break cycles and indirectly unref.
2280
(workbook_sheet_delete): Ditto.
2282
* src/workbook-view.c (wb_view_sheet_add): Don't leak a ref to the
2285
* src/sheet-view.c (sheet_view_new): Ref the sheet view when we
2286
add it to the sheet's list of views.
2287
(sv_real_dispose): Unref as we remove from said list.
2289
2005-06-10 Morten Welinder <terra@gnome.org>
2291
* src/dependent.c (link_cellrange_dep, unlink_cellrange_dep): Fix
2292
condition for swapping sheet indices. Fix loop.
2293
(dependent_unlink): Don't try to unlink dynamic dependencies from
2296
* src/dependent.c (gnm_dep_container_sanity_check): New function.
2297
(dependents_revive_sheet): Check sanity here.
2298
(gnm_dep_container_dump): And here.
2299
(handle_outgoing_references): New function. Properly unlink
2300
dependencies that reference stuff outside current sheet.
2301
(do_deps_destroy, do_deps_invalidate): Use
2302
handle_outgoing_references.
2304
* src/dependent.c (dependents_invalidate_sheets): Handle 3d deps
2305
here. Avoid crashes by not modifying the hash while we go over
2307
* src/workbook.c (workbook_sheet_delete): Not here.
2309
* src/xml-sax-write.c (xml_write_sheet): Write visibility.
2311
* src/xml-sax-read.c (xml_sax_attr_enum): New function.
2312
(xml_sax_sheet_start): Restore visibility.
2314
* src/xml-io.c (xml_read_selection_info): Don't crash if we lack a
2316
(xml_write_selection_info): Ditto.
2317
(xml_sheet_read): Restore visibility.
2318
(xml_sheet_write): Write visibility.
2320
2005-06-09 Jody Goldberg <jody@gnome.org>
2322
* src/workbook-control-gui.c (cb_realize) : init the menu prefs on
2325
2005-06-09 Jody Goldberg <jody@gnome.org>
2327
* src/item-edit.c (ie_scan_for_range) : call
2328
gnm_expr_entry_set_parsepos to be sure we're using the right
2329
notional position. This only really matters for R1C1 refs.
2331
* src/rendered-value.c (rendered_value_render) : use the Sheet::convs
2332
to display expressions.
2333
(cell_get_entered_text) : ditto.
2335
* src/parse-util.c (rangeref_as_string) : r1c1 support.
2336
(cellref_as_string) : ditto.
2338
* src/item-bar.c (item_bar_draw) : for r1c1 use numbers for col
2340
(item_bar_calc_size) : ditto.
2342
* src/sheet.c : Add use-r1c1 property
2343
(re_render_formulas) : split from
2344
(sheet_set_display_formulas) : here.
2345
(sheet_set_use_r1c1) : for use here.
2347
* src/wbcg-actions.c (toggle_actions) : Add r1c1 toggle
2348
* src/GNOME_Gnumeric-gtk.xml : use it
2350
2005-06-09 Morten Welinder <terra@gnome.org>
2352
* src/workbook.c (workbook_sheet_delete): Merge
2353
workbook_sheet_detach into this.
2354
(workbook_sheet_detach): Removed. All callers changed.
2356
* src/dependent.c (cb_dep_hash_destroy): Track changes to
2358
(clear_revive_info): Free dep_exprs also.
2359
(dependents_revive_sheet): Undo changes to dependencies too.
2361
2005-06-08 Morten Welinder <terra@gnome.org>
2363
* src/sheet.c (gnm_sheet_class_init): Rename "visible" property to
2364
"visibility" and make it an enum. All users changed.
2365
* src/sheet.h (struct _Sheet): Ditto for is_visible member.
2367
* src/workbook-view.c (wb_view_sheet_remove): New function to
2368
mirror wb_view_sheet_add.
2369
* src/workbook.c (workbook_sheet_hide_controls): Use
2370
wb_view_sheet_remove.
2372
2005-06-08 Ivan, Wogn Yat Cheung <email@ivanwong.info>
2374
* src/sheet-control-gui.c (scg_drag_receive_uri_list):
2375
adapt to the change of go_get_mime_type(). [#304074]
2377
2005-06-07 Jody Goldberg <jody@gnome.org>
2379
From Ivan, Wong Yat Cheung <email@ivanwong.info>
2380
* src/Makefile.am : enable libspreadsheet
2382
2005-06-07 Jody Goldberg <jody@gnome.org>
2384
* src/parser.y : Pass the convention to the range_ref parser
2386
* src/parse-util.c (r1c1_get_index) : make this more robust.
2387
(cellref_r1c1_get) : adjust calling to new get_index args.
2388
(r1c1_rangeref_parse) : new.
2389
(rangeref_parse) : connect into the r1c1 parser.
2390
(parse_util_init) : add an r1c1 convention set
2392
2005-06-07 Morten Welinder <terra@gnome.org>
2394
* src/workbook.c (workbook_sheet_state_restore): Revive sheets
2397
* src/workbook-control-gui.c (scg_delete_sheet_if_possible): Use
2398
cmd_reorganize_sheets2.
2400
* src/sheet.h (struct _Sheet): Add extra "revive" member.
2402
* src/expr-name.c (gnm_named_expr_collection_relink,
2403
gnm_named_expr_collection_unlink): New functions.
2404
(gnm_named_expr_collection_free): Remove the extra indirection.
2405
All callers changed.
2407
* src/dependent.c (handle_dynamic_deps, handle_referencing_names):
2408
Extracted from do_deps_destroy.
2409
(do_deps_invalidate, clear_revive_info, dependents_revive_sheet):
2411
(dependents_link): Do not free the argument list. All callers
2413
(do_deps_destroy): Call clear_revive_info.
2414
(invalidate_name): Renamed from cb_name_invalidate. Add "destroy"
2415
argument. If not destroying, save the name-expression pairs.
2416
(cb_collect_deps_of_names): Collect also the names.
2417
(dependents_invalidate_sheet, dependents_invalidate_sheets): Add
2418
extra "destroy" argument. All callers changed.
2419
(dep_hash_destroy): Walk over the hash once, not three times.
2421
2005-06-06 Morten Welinder <terra@gnome.org>
2423
* src/mathfunc.c (lgamma): Define when needed.
2424
(lgamma_r): Base the implementation on lgammacor, not lgamma.
2426
* src/sheet-control-gui.c (scg_drag_receive_uri_list): Add warning
2427
about things we do not understand.
2429
2005-06-04 Jody Goldberg <jody@gnome.org>
2431
http://bugzilla.gnome.org/show_bug.cgi?id=165172
2432
* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : quick and cheesy
2433
handling of Delete while editing. It forces an end to
2434
autocompletion rather than unintentionally clearing the cell as if
2435
we were not editing.
2437
2005-06-04 Jody Goldberg <jody@gnome.org>
2439
http://bugzilla.gnome.org/show_bug.cgi?id=164779
2440
* src/sheet-control-gui.c (scg_objects_nudge) : no nudging while
2443
2005-06-04 Jody Goldberg <jody@gnome.org>
2445
http://bugzilla.gnome.org/show_bug.cgi?id=163589
2446
* src/print.c (print_page_cells) : Use the PrintInfo from the supplied
2447
sheet rather than something global.
2448
(print_page_repeated_rows) : ditto.
2449
(print_page_repeated_cols) : ditto.
2450
(print_page_repeated_intersect) : ditto.
2451
(print_hf_element) : ditto.
2452
(print_hf_line) : ditto.
2453
(print_headers) : ditto.
2454
(print_footers) : ditto.
2455
(setup_scale) : ditto.
2456
(print_page) : ditto.
2457
(print_range_down_then_right) : ditto.
2458
(print_range_right_then_down) : ditto.
2459
(print_job_info_init_sheet) : ditto.
2460
(print_sheet_range) : ditto.
2461
(compute_sheet_pages) : ditto.
2462
(compute_pages) : ditto.
2463
(print_sheet) : ditto.
2464
(workbook_print_all) : delete.
2465
(sheet_print_real) : and merge into here.
2466
(print_job_info_update_from_config) : merge into print_job_info_init_sheet.
2467
(print_job_info_get) : Do not attempt to load a PrintInfo from the
2468
first sheet. We'll set things up on a per sheet basis.
2469
(print_job_info_destroy) : we do not have a local copy of a PrintInfo
2472
2005-06-04 Ivan, Wong Yat Cheung <email@ivanwong.info>
2474
* tools/gconf-schemas-to-win32-reg.c (convert_schemalist):
2475
Use REGEDIT4 so that Win9x knows.
2477
2005-06-03 Jody Goldberg <jody@gnome.org>
2479
* src/gnumeric.h : s/GnmRow/GnmStyleRow/ That is clearer
2481
2005-06-03 Jody Goldberg <jody@gnome.org>
2483
* configure.in : bump gsf req to 1.12.1 for the new GSF_DYNAMIC_CLASS
2486
2005-06-02 Morten Welinder <terra@gnome.org>
2488
* src/mathfunc.c (binomialcf): Fix log_p case.
2489
(pfuncinverter): Handle NaNs better.
2490
(qbeta): Improve initial guess.
2492
* src/number-match.c (compute_value): When matching with
2493
strto[u]l, make sure to store the result in a variable large
2494
enough. Fixes #306254.
2496
2005-06-01 Morten Welinder <terra@gnome.org>
2498
* src/xml-io.c (xml_write_cell_and_position): Don't duplicate
2500
* src/xml-sax-write.c (xml_write_cell_and_position): Ditto.
2502
2005-06-01 Stepan Kasal <kasal@ucw.cz>
2504
* src/ranges.c (undo_cell_pos_name, undo_range_name, undo_range_list_name):
2506
(max_range_name_width, range_list_name_try): New static functions.
2507
* src/commands.c (undo_global_range_name, cmd_cell_pos_name_utility):
2508
(cmd_range_list_to_string_utility, cmd_range_to_str_utility): Nuke; all
2509
callers should use the new functions from ranges.c.
2511
* schemas/gnumeric-general.schemas.in (max_descriptor_width):
2512
Change the default to 40; "Clearing contents in Sheet1!A12:C34"
2513
should fit in without truncating. The prefix is about 20 chars
2514
and about 20 chars should remain for the range name itself.
2516
2005-05-31 Morten Welinder <terra@gnome.org>
2518
* src/xml-sax-read.c (xml_sax_cell): Fix asserts.
2519
(xml_sax_cell_content): Guard against bogus values.
2521
2005-05-31 Jody Goldberg <jody@gnome.org>
2523
* src/xml-sax-read.c (gnm_xml_file_open) : register the doc if
2524
necessary, and hook it too the application for destruction.
2526
2005-05-31 Morten Welinder <terra@gnome.org>
2528
* src/mathfunc.c (random_hypergeometric): Define trivially using
2529
qhyper thus avoiding some performance problems.
2530
(qhyper): Move from plugins/fn-r/extra.c
2531
(pfuncinverter): Improve case where initial guess is outside valid
2534
2005-05-31 Stepan Kasal <kasal@ucw.cz>
2536
* src/dialogs/dialog-solver.c (solver_max_time_err): Move the
2537
variable and its initialization...
2538
* src/gutils.c (gutils_init): ... here.
2539
* src/gutils.h (solver_max_time_err): Declare.
2540
* src/tools/solver/solver.c: Include gutils.h instead of the
2541
declaration of solver_max_time_err.
2543
2005-05-31 Stepan Kasal <kasal@ucw.cz>
2545
* src/commands.c (cmd_set_text): Remove the variable `GObject *obj';
2546
it's not needed. Similarly for other 43 command functions.
2548
2005-05-31 Ivan, Wong Yat Cheung <email@ivanwong.info>
2550
* src/ssconvert.c (main):
2551
* src/ssindex.c (main): Use go_shell_argv_to_glib_encoding() as well.
2553
2005-05-31 Jody Goldberg <jody@gnome.org>
2555
http://bugzilla.gnome.org/show_bug.cgi?id=304559
2556
* src/sheet-object-widget.c (sheet_object_widget_new_view) : keep the
2557
view hidden until we can set the bounds
2559
2005-05-30 Ivan, Wong Yat Cheung <email@ivanwong.info>
2561
* src/main-application.c (main): Use go_shell_argv_to_glib_encoding(),
2562
so we can open file with name in any encoding when users "open" them in
2565
2005-05-29 Jody Goldberg <jody@gnome.org>
2567
http://bugzilla.gnome.org/show_bug.cgi?id=167584
2568
* src/sheet-object-widget.c (cb_adjustment_config_ok_clicked) : relink
2569
after changing the expression.
2570
(sheet_widget_adjustment_set_details) : ditto.
2571
(cb_checkbox_config_ok_clicked) : ditto.
2572
(sheet_widget_checkbox_set_link) : ditto.
2574
2005-05-29 Jody Goldberg <jody@gnome.org>
2576
http://bugzilla.gnome.org/show_bug.cgi?id=165061
2577
* src/mstyle.c (mstyle_equal_header) : new
2578
* src/ranges.c (range_has_header) : use it.
2580
2005-05-29 Jody Goldberg <jody@gnome.org>
2582
* src/dependent.c (cb_collect_deps_of_name) : collect all deps of
2583
names, even those we're about to lose. Things need to be unlinked.
2585
2005-05-27 Jody Goldberg <jody@gnome.org>
2587
http://bugzilla.gnome.org/show_bug.cgi?id=305405
2588
* src/gui-clipboard.c (x_targets_received) : Add biff atoms to support
2589
pastes from MS Excel.
2590
(table_content_received) : ditto.
2592
2005-05-27 Morten Welinder <terra@gnome.org>
2594
* src/mathfunc.c (discpfuncinverter, pfuncinverter): Make public.
2596
* src/position.c (eval_pos_init_cell): Constness fix.
2598
* src/cell.h (CELL_TO_DEP): Preserve constness.
2600
* src/dependent.c (dump_range_dep): Use range_name.
2601
(cell_queue_recalc): Not const.
2603
2005-05-26 Stepan Kasal <kasal@ucw.cz>
2605
* src/clipboard.c: Remove unneeded includes.
2607
* src/gnumeric-gconf.c: Move common headers to the top, add more
2608
stubs for build without gtk.
2610
* src/ranges.c (range_name): Simplify.
2611
(global_range_name): Make the first parameter const.
2612
* src/ranges.h (global_range_name): Ditto.
2614
2005-05-26 Morten Welinder <terra@gnome.org>
2616
* src/mathfunc.c (discpfuncinverter): New function.
2617
(qpois): New implementation based on discpfuncinverter.
2619
2005-05-25 Morten Welinder <terra@gnome.org>
2621
* src/gui-clipboard.c (text_to_cell_region): Fall back to string.
2624
* src/workbook-control-gui.c (wbcg_create_edit_area): Add tooltips
2625
for ok_button, cancel_button, and func_button.
2627
2005-05-23 Morten Welinder <terra@gnome.org>
2629
* src/commands.c (cmd_reorganize_sheets_delete_recreate_sheet):
2632
* src/dependent.c (cb_name_invalidate): Fix a crash relating to
2633
globally scoped names.
2635
* src/workbook-edit.c (cb_entry_delete_text): Make this work for
2636
non-rich text also. Turn off auto-completion.
2637
(cb_entry_insert_text): Make this work for non-rich text also.
2638
Turn off auto-completion if the insert is not at the end.
2639
(cb_entry_cursor_pos): Make this work for non-rich text also.
2640
Turn off auto-completion if the cursor is no longer at the end.
2641
(wbcg_edit_finish): Always turn off signals if they have been
2643
(wbcg_edit_start): Always bind insert_text, delete_text, and
2644
cursor position signals here.
2645
(wbcg_edit_init_markup): Don't connect to insert_text, delete_text
2646
and cursor position signals here.
2647
(auto_complete_matches): Get rid of ugly event hack.
2649
* src/commands.c (command_redo): Keep a ref to the command and
2650
handle someone clearing the redo queue. Fixes #305007.
2652
2005-05-23 Stepan Kasal <kasal@ucw.cz>
2654
* src/position.c (parse_pos_init): Don't perform the same check
2656
* src/graph.c, src/sheet-object-widget.c (*_debug_name): All these
2657
functions now take a GString as the second parameter; adapt to it.
2659
2005-05-21 Morten Welinder <terra@gnome.org>
2661
* src/dependent.c (dependents_link): Drop pointless rwinfo
2662
argument. All callers changed.
2664
2005-05-20 Morten Welinder <terra@gnome.org>
2666
* src/dependent.c (gnm_dep_container_dump): Dump also dynamic
2667
dependencies and name dependencies.
2669
* src/workbook-control.c (wb_control_parse_and_jump): Use
2670
expressions like A1, not A1:A1 for single cells.
2672
2005-05-20 Stepan Kasal <kasal@ucw.cz>
2674
* src/sheet-filter.c (filter_view_set_bounds): Remove unused
2677
2005-05-19 Morten Welinder <terra@gnome.org>
2679
* src/sheet.h (struct _Sheet): add being_invalidated flag.
2681
* src/dependent.c (dependents_workbook_destroy): Renamed from
2682
workbook_deps_destroy. Mark all sheets being_invalidated before
2684
(dependents_invalidate_sheet): Renamed from sheet_deps_destroy.
2685
(do_deps_destroy): Don't take a GnmExprRewriteInfo argument --
2688
* src/expr.h (struct _GnmExprRewriteInfo): Combine
2689
GNM_EXPR_REWRITE_SHEET and GNM_EXPR_REWRITE_WORKBOOK into
2690
GNM_EXPR_REWRITE_INVALIDATE_SHEETS.
2692
2005-05-19 Morten Welinder <terra@gnome.org>
2694
* src/workbook.c (pre_sheet_index_change): Use dependent_unlink
2695
directly as callback.
2696
(post_sheet_index_change): Use dependent_link directly as
2699
* src/dependent.c (dependent_link, dependent_unlink,
2700
link_expr_dep, unlink_expr_dep): Drop the pos argument, infer when
2701
needed. All callers changed.
2703
2005-05-18 Morten Welinder <terra@gnome.org>
2705
* src/dependent.c (dependent_pos): New utility function.
2706
(dependent_set_sheet, dependent_add_dynamic_dep, dependent_unlink,
2707
dependents_link, do_deps_destroy, dynamic_dep_free): use
2709
(link_expr_dep, unlink_expr_dep, dependents_unrelocate_free,
2710
dependents_unrelocate): Avoid cast.
2712
2005-05-18 Jody Goldberg <jody@gnome.org>
2714
* src/expr-name.c (expr_name_new) : make public
2715
(expr_name_add) : accept a stub object.
2717
2005-05-17 Jody Goldberg <jody@gnome.org>
2719
* src/workbook.c (workbook_focus_other_sheet) : fix
2721
2005-05-17 Morten Welinder <terra@gnome.org>
2723
* src/expr-name.c (expr_name_set_expr): Don't relink deps for
2724
sheets that are being destroyed.
2726
2005-05-16 Morten Welinder <terra@gnome.org>
2728
* src/print-cell.c (print_cell): Fix and simplify rotated case.
2730
* src/cell-draw.c (cell_draw): Simplify rotated case.
2732
* src/rendered-value.c (rendered_value_remeasure): Collect extra
2733
information for rotated values.
2734
(rendered_value_init): Setup a separate pool for rotated cells.
2735
(rendered_value_shutdown): Shut that down.
2737
2005-05-16 Stepan Kasal <kasal@ucw.cz>
2739
* src/sheet-control-gui.c (scg_drag_receive_uri_list): Change the
2740
type of local variable `mime' to `const gchar *'.
2742
2005-05-16 Morten Welinder <terra@gnome.org>
2744
* configure.in (set_more_warnings): Kill -Wcast-align. It does
2745
not catch anything useful. We run-time check, either in gobject
2746
macros or else by virtue of running on a Sparc. Also we do *tons*
2747
of valid cast from base classes to derived classes after carefully
2748
checking the dynamic type.
2750
2005-05-16 Jody Goldberg <jody@gnome.org>
2752
* src/sheet-filter.c (filter_foo_view_init) : remove debug spew
2754
2005-05-16 Stepan Kasal <kasal@ucw.cz>
2756
* configure.in (PKG_PROG_PKG_CONFIG): Fix the explanation above.
2758
2005-05-15 Jean Brefort <jean.brefort@normalesup.org>
2760
* src/graph.c: (gnm_go_data_vector_get_value),
2761
(gnm_go_data_matrix_get_value): always release the value returned by
2762
value_coerce_to_number.
2764
2005-05-15 J.H.M. Dassen (Ray) <jdassen@debian.org>
2766
* configure.in: Bumped the goffice requirement as we need GORegexp now.
2767
Enable a number of additional warnings (when available)
2768
for which the current code base is already virtually clean.
2769
* src/func.c, src/gnumeric-gconf.c: Clean up function declarations.
2770
* src/sheet.h: Include prototype for sheet_apply_border.
2772
2005-05-13 Jody Goldberg <jody@gnome.org>
2774
http://bugzilla.gnome.org/show_bug.cgi?id=164950
2775
* src/ranges.c (range_trim) : make this more efficient.
2777
2005-05-14 Jody Goldberg <jody@gnome.org>
2779
http://bugzilla.gnome.org/show_bug.cgi?id=165734
2780
* src/value.c (find_rows_that_match) : The column in the condition is
2781
absolute, not relative to the start of the input range.
2783
2005-05-14 Jody Goldberg <jody@gnome.org>
2785
* src/ranges.c (gnm_sheet_range_from_value) : renamed from
2786
value_to_global_range.
2787
(gnm_sheet_range_new) : renamed from global_range_new.
2788
(gnm_sheet_range_free) : renamed from global_range_free.
2789
(gnm_sheet_range_overlap) : renamed from global_range_overlap.
2790
(gnm_sheet_range_dup) : renamed from global_range_dup.
2792
* src/value.c (value_new_cellrange_str) : renamed from
2795
2005-05-13 Morten Welinder <terra@gnome.org>
2797
* src/rendered-value.c (get_rotated_layout_bounds): Remove.
2798
(rendered_value_remeasure): Rework the rotated case to match Excel
2800
(rendered_value_new): Setup new noborders member.
2802
* src/sheet.c (sheet_apply_border): New functions. Setting
2803
borders for rotated cells actually causes different rendering.
2805
* src/commands.c (cmd_format_undo): Fix CRITICAL.
2806
(cmd_format_redo): Use sheet_apply_border instead of going
2807
directly to sheet_style_apply_border.
2809
* src/cell-draw.c (cell_draw): Rework rotated case to match Excel
2812
* src/style.c (style_default_halign): Handle that down rotations
2813
are now angles >180, not <0.
2815
2005-05-13 Stepan Kasal <kasal@ucw.cz>
2817
* src/xml-sax-read.c (content_ns, gnumeric_1_0_dtd): Mark these
2818
variables with G_GNUC_UNUSED, the #warning below is enough.
2820
2005-05-12 Jody Goldberg <jody@gnome.org>
2822
* src/value.c (parse_database_criteria) : remove old FIXME with a
2825
http://bugzilla.gnome.org/show_bug.cgi?id=165700
2826
* src/commands.c (update_after_action) : re-focus only controls for
2827
the current view, not all controls.
2829
2005-05-12 Jody Goldberg <jody@gnome.org>
2831
* src/sheet-filter.c (filter_expr_eval) : for regexp based matches
2832
make sure we matched the whole string.
2834
2005-05-10 Jean Brefort <jean.brefort@normalesup.org>
2836
* src/value.c: (value_get_as_gstring): exchange row_sep and col_sep
2837
when formatting an array formula.
2839
2005-05-10 Jody Goldberg <jody@gnome.org>
2841
* configure.in : post release bump
2843
2005-05-10 Jody Goldberg <jody@gnome.org>
2847
2005-05-09 Morten Welinder <terra@gnome.org>
2849
* src/workbook.c (workbook_sheet_attach_at_pos): Add a ref to
2850
sheet to balance the unref in workbook_sheet_detach.
2851
(workbook_sheet_attach): Counter the above ref here.
2852
(workbook_sheet_add): Counter the above ref here. Document that
2853
the returned sheet's ref is owned by the workbook.
2854
(workbook_sheet_detach): Get rid of sheet views here. Replace
2855
almost all uses of this with workbook_sheet_delete. (It was
2856
typically used to get rid of sheets that got created during a load
2859
* src/workbook-control-gui.c (wbcg_insert_sheet,
2860
wbcg_append_sheet): Use new cmd_reorganize_sheets2.
2862
* src/sheet.c (sheet_set_name): Fix logic to determine if a sheet
2864
(sheet_cell_destroy): Don't get rid of view here.
2866
* src/commands.c (command_undo): Hold a ref to cmd so it doesn't
2867
go away underneath us. Don't crash if the undo command clears the
2870
* src/workbook.c (workbook_sheet_state_diff): Implement.
2872
* src/workbook-control-gui.c (cb_sheet_label_drag_begin): Fix
2873
multihead issue. Plug leak.
2875
* src/application.c (gnm_app_get_pixbuf): Remove. All callers
2877
(add_icon): Don't install both a scalable and a fixed-sized icon.
2880
2005-05-08 Jody Goldberg <jody@gnome.org>
2882
* src/xml-sax-read.c (xml_sax_styleregion_start) : work around use of
2883
negative rotations which are used to indicate vertical text.
2884
* src/xml-io.c (xml_read_style) : ditto.
2886
2005-05-07 Jody Goldberg <jody@gnome.org>
2888
* src/style.h : Add a 'VALIGN_DISTRIBUTED' that was added in XP
2889
dunno what it does yet.
2890
* src/dialogs/dialog-cell-format.c : Add an entry for DISTRIBUTED
2892
* src/mstyle.h : document the range of rotation
2894
* src/workbook-view.c : remove pointless include
2895
* src/hlink.c : remove pointless include
2897
2005-05-07 Jean Brefort <jean.brefort@normalesup.org>
2899
* src/dialogs/dialog-about.c: (dialog_about): add NULL third arg
2900
to go_data_vector_val_new and go_data_vector_str_new.
2901
* src/stf-parse.c: use go_setlocale instead of gnm_setlocale.
2902
* src/xml-io.c: (xml_workbook_write), (xml_workbook_read): ditto.
2903
* src/xml-sax-read.c: (gnm_xml_file_open): ditto.
2904
* src/xml-sax-write.c: (gnm_xml_file_save),
2905
(gnm_cellregion_to_xml): ditto.
2907
2005-05-06 Morten Welinder <terra@gnome.org>
2909
* src/workbook.c (workbook_sheet_move): Public again. Fix docs.
2911
* src/workbook-control-gui.c (gnm_notebook_page_num_by_label):
2912
Renamed from gtk_notebook_page_num_by_label.
2913
(cb_sheet_label_drag_data_received): Fix this in the presence of
2915
(wbcg_sheet_move): Change to take old_pos, not new_pos which is
2916
trivial to get. All callers changed. Fix for the case where some
2919
* src/workbook.c (workbook_unref): Remove and replace calls with
2920
simple g_object_unref
2922
2005-05-05 Morten Welinder <terra@gnome.org>
2924
* src/workbook.c (workbook_focus_other_sheet): New function.
2925
(workbook_sheet_hide_controls, workbook_sheet_delete): Use
2926
workbook_focus_other_sheet.
2927
(workbook_sheet_unhide_controls): Do nothing if sheet is already
2929
(workbook_sheet_add): Take a numerical position, not a sheet
2930
pointer for placement. All callers changed.
2931
(workbook_sheet_attach_at_pos): New function extracted from
2932
workbook_sheet_attach.
2933
(workbook_sheet_attach): Make this not take a placement parameter.
2934
All callers changed.
2935
(workbook_sheet_move): Make static, don't return a value, and make
2937
(workbook_sheet_state_new, workbook_sheet_state_free,
2938
workbook_sheet_state_restore, workbook_sheet_state_diff): New
2941
* src/commands.c (cmd_reorganize_sheets2): New function.
2942
(cmd_rename_sheet): Use cmd_reorganize_sheets2.
2944
* src/dependent.c (do_deps_destroy): Fix sheet-remove crash.
2946
2005-05-04 Morten Welinder <terra@gnome.org>
2948
* src/wbc-gtk.c (cb_show_menu_tip): Don't translate a space.
2950
* src/commands.c (cmd_rename_sheet): Simplify calling convention.
2951
Single caller fixed.
2953
* src/gui-util.c (gnumeric_popup_menu): If we have an event
2954
anchor, use that to figure out what screen to show the popup on.
2956
2005-05-03 Morten Welinder <terra@gnome.org>
2958
* src/workbook-control-gui.c (cb_zoom_change): New function,
2959
extracted from wbcg_zoom_feedback.
2960
(wbcg_zoom_feedback): Remove zoom_feedback method.
2961
(wbcg_sheet_add): Don't attach to sheet notify signals here.
2962
(wbcg_sheet_focus): Do it here so we only watch one sheet at a
2964
(wbcg_sheet_remove, wbcg_sheet_remove_all): Disconnect here too.
2966
* src/sheet.c (sheet_set_zoom_factor): Make static and add
2967
zoom-factor property. All callers changed.
2969
* src/workbook-view.c (wb_view_prefs_update): Remove.
2971
* src/workbook-control-priv.h: Remove prefs_update member.
2973
* src/sheet-control-priv.h: Remove adjust_preferences and
2974
direction_changed members.
2976
* src/sheet-control-gui.c (sheet_control_gui_new): Also hook up to
2979
* src/workbook-control-gui-priv.h: Remove rtl property. All users
2980
changed to use sheet's text_is_rtl (and some already were).
2982
* src/sheet-control-gui-priv.h: Remove text_is_rtl property. All
2983
users changed to use sheet's text_is_rtl (and some already were).
2985
* src/xml-sax-read.c (xml_sax_sheet_name): Use g_object_set to set
2988
* src/workbook-control-gui.c (wbcg_sheet_add): Connect to more
2990
(workbook_control_gui_class_init): Eliminate
2991
wbc_class->menu_state.sheet_prefs.
2993
* src/sheet.c (gnm_sheet_set_property): Add properties
2994
"display-outlines-below" and "display-outlines-right".
2995
(sheet_adjust_preferences): No need to call
2996
wb_control_menu_state_sheet_prefs anymore.
2998
* src/sheet-control-gui.c (sheet_control_gui_new): Connect to
2999
notify signals for all the sheet properties that cause changed
3002
2005-05-02 Morten Welinder <terra@gnome.org>
3004
* src/workbook-control-gui.c (wbcg_sheet_add): Connect to
3005
sheet::name, sheet:tab-foregound, sheet:tab-background.
3006
(wbcg_sheet_remove): Disconnect.
3007
(wbcg_sheet_rename): Remove this method from the class.
3009
* src/commands.c (cmd_reorganize_sheets_finalize): Plug leak.
3011
* src/workbook-control-gui.c (cb_sheet_label_drag_end): Plug leak.
3013
* src/workbook.c (workbook_detach_view): Call sv_dispose to break
3015
(workbook_sheet_hide_controls): Fix search for focus and thus
3017
(workbook_set_dirty, workbook_is_dirty, workbook_is_pristine):
3018
Walk the sheet array, not the hash.
3020
* src/sheet.c (sheet_destroy): Call sv_dispose to break circular
3023
* src/sheet-view.c (sheet_view_new): Keep a ref to the sheet.
3024
(sv_dispose): New function.
3025
(sv_real_dispose): Renamed from s_view_finalize (and made proper
3026
for a dispose function).
3028
2005-05-02 Morten Welinder <terra@gnome.org>
3030
* src/sheet-view.c (sv_direction_changed): Make static and change
3031
to a notification handler.
3033
* src/sheet.c (sheet_attach_view): Fold into sheet_view_new.
3034
(sheet_detach_view): Fold into s_view_finalize.
3035
(gnm_sheet_init): Setup ->sheet_views properly here.
3037
* src/style-color.c (gnm_style_color_get_type): New function
3038
defining the type as a boxed type.
3040
* src/sheet.c: Add "name", "tab-foreground", and "tab-background"
3042
(sheet_set_tab_color): Remove. All callers changed to use
3044
(sheet_rename): Make static. All callers changed to use
3047
2005-04-21 Jon K Hellan <hellan@acm.org>
3049
* src/sheet-object.[ch]: Add sheet_object_get_target_list.
3051
* src/sheet-object-image.c (sheet_object_image_get_target_list):
3052
New. Gets targets object is able render itself as.
3053
(soi_imageable_init): Register get_target_list virtual.
3055
* src/sheet-object-graph.c (sheet_object_graph_get_target_list):
3056
New. Gets targets object is able render itself as.
3057
(sog_imageable_init): Register get_target_list virtual.
3059
* src/sheet-control-gui.c (scg_drag_send_image): Use
3060
go_mime_to_image_format to get format.
3062
* src/gui-clipboard.c (image_write): Use go_mime_to_image_format
3063
to get image format.
3064
(target_list_to_entries): New. Convert a target list to an array
3065
of GtkTargetEntries.
3066
(x_claim_clipboard): Use sheet_object_get_target_list to get
3069
* src/gnumeric-pane.c (cb_test_so_imageable): Remove
3070
(target_list_add_list): New. Add targets from "added_targets" to
3072
(gnm_pane_drag_begin): Use sheet_object_get_target_list to get
3075
2005-04-29 Morten Welinder <terra@gnome.org>
3077
* src/sheet.c (gnm_sheet_class_init): Make lots of things
3079
(sheet_set_visibility, sheet_toggle_show_formula,
3080
sheet_toggle_hide_zeros): Make static (and make the toggle ones
3083
* src/commands.c (cmd_toggle_rtl_redo): Use go_object_toggle.
3085
* src/sheet.c (sheet_set_direction): Make static. Change all
3086
existing callers to use g_object_set.
3087
(gnm_sheet_class_init): Install PROP_RTL.
3089
2005-04-28 Stepan Kasal <kasal@ucw.cz>
3091
* configure.in (AC_CANONICAL_HOST): Call explicitly, we use $host.
3092
(WITH_WIN32): Small changes to make more the same as in goffice.
3093
(--disable-plugins): Support this.
3094
(WINDRES): Add an AC_ARG_VAR declaration.
3095
And some whitespace changes.
3097
2005-04-26 Morten Welinder <terra@gnome.org>
3099
* src/print-info.c (hf_format_render): If format is NULL, simply
3102
* src/print.c (print_hf_element): Handle NULL text from
3103
hf_format_render same as "".
3105
* src/gui-file.c (gui_file_save_as): Add a little crash safety.
3107
2005-04-21 Stepan Kasal <kasal@ucw.cz>
3109
* src/Makefile.am (gnumeric-paths.h): Rewrite the rule,
3110
gnumeric-paths.sh* is no longer used.
3111
* src/gnumeric-paths.sh.in: Removed.
3112
* src/.cvsignore: Remove src/gnumeric-paths.sh.
3113
* configure.in: Don't generate gnumeric-paths.sh, rearrange the
3114
gnumeric_* AC_SUBSTs.
3115
(gnumeric_gladedir, gnumeric_autoformatdir): Nuke.
3116
* src/dialogs/Makefile.am (gnumeric_gladedir): Replace by value.
3117
* templates/autoformat/Makefile.am (autoformatdir): New variable.
3118
(EXTRA_DIST): Don't use "%" when replacing suffixes; it's GNU make
3121
2005-04-20 Stepan Kasal <kasal@ucw.cz>
3123
gnm_sys_lib_dir() and such now just return the string;
3124
they don't take any parameter and don't allocate anything.
3126
* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
3127
Move to gutils.h; #include "gutils.h".
3128
(gnumeric_icon_dir, gnumeric_locale_dir): Move to gutils.c
3130
* src/libgnumeric.c: Likewise.
3131
(gnm_pre_parse_init): Call gutils_init instead of doing it.
3132
(gnm_shutdown): Call gutils_shutdown instead of doing it.
3134
* gutils.c (gutils_init, gutils_shutdown): New functions.
3135
(gnumeric_usr_dir): New static variable, set up in gutils_init.
3136
(gnm_sys_lib_dir, gnm_sys_data_dir, gnm_usr_dir): Just return
3137
the static string; all callers fixed.
3138
(gnm_sys_glade_dir, gnm_sys_plugin_dir, gnm_usr_plugin_dir):
3139
Nuked; callers fixed to build the string themselves.
3140
(gnm_icon_dir, gnm_locale_dir): New wrappers; callers fixed.
3141
(PLUGIN_SUFFIX): Renamed to ...
3142
(PLUGIN_SUBDIR): ..., and moved to .h.
3143
* src/gui-util.c (gnumeric_icondir): This function was removed;
3144
callers fixed to use gnm_icon_dir.
3146
* src/sheet-object-image.c: Include goffice/utils/go-glib-extras.h
3148
2005-04-20 Ivan, Wong Yat Cheung <email@ivanwong.info>
3150
* src/wbc-gtk.c (wbc_gtk_init_font_name): Set
3151
"case-sensitive" to FALSE. Fix #161382.
3153
2005-04-19 Morten Welinder <terra@gnome.org>
3155
* src/clipboard.c (clipboard_init, clipboard_shutdown): New
3157
(gnm_cell_copy_new): Alloc in pool.
3158
(cellregion_unref): Free from pool.
3160
* src/libgnumeric.c (gnm_common_init): Call clipboard_init.
3161
(gnm_shutdown): Call clipboard_shutdown.
3163
* */*.c: #include fixes.
3165
* src/rangefunc.c (range_mode): Fix the case where multiple
3166
different values occur equally often.
3168
2005-04-18 Stepan Kasal <kasal@ucw.cz>
3170
* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
3171
(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char*",
3172
not "const char[]"; we use "&gnumeric_lib_dir" sometimes.
3173
* src/libgnumeric.c: Likewise.
3175
2005-04-19 Stepan Kasal <kasal@ucw.cz>
3177
* src/Makefile.am (SUFFIXES): Remove, Automake (at least >= 1.7)
3180
2005-04-18 Stepan Kasal <kasal@ucw.cz>
3182
* src/libgnumeric.h (gnumeric_lib_dir, gnumeric_data_dir):
3183
(gnumeric_icon_dir, gnumeric_locale_dir): Declare as "const char[]"
3184
to get rid of some warnings (unless we are on OS/2).
3185
* src/libgnumeric.c: Likewise.
3187
2005-04-18 Stepan Kasal <kasal@ucw.cz>
3189
* configure.in: Call PKG_PROG_PKG_CONFIG explicitly.
3190
* Makefile.am (dist-hook): Don't handle gnumeric.spec here, ...
3191
(EXTRA_DIST): ... it's enough to add it here.
3192
I tested this change with automake versions 1.7.9, 1.8.5 and 1.9.5.
3193
* schemas/Makefile.am: To silence `automake -Wall', don't use
3194
pattern rules (with %.reg), use portable suffix rules instead.
3196
2005-04-16 Ivan, Wong Yat Cheung <email@ivanwong.info>
3199
* Makefile.am: New subdir 'tools', we now have a win32
3202
* schemas/Makefile.am: Install .reg files into
3203
$prefix/etc/win32/reg. Two versions are served, i.e.
3204
.hkcu.reg and .reg. When the user chooses to install
3205
gnumeric/win32 for the "current user" only, use .hkcu.reg
3208
* src/tools/Makefile.am:
3209
* src/tools/gconf-schemas-to-win32-reg.c: Moved to tools/;
3210
see tools/ChangeLog for details.
3212
2005-04-15 Stepan Kasal <kasal@ucw.cz>
3214
* schemas/Makefile.am (CLEANFILES): Add $(reg_DATA), if we are
3215
building .reg files.
3216
Don't distribute $(schema_DATA).
3218
2005-04-13 Morten Welinder <terra@gnome.org>
3220
* src/mathfunc.c (pfuncinverter): Handle Newton search when log_p
3222
(dgamma1, dbeta1): Don't bail out for log_p.
3224
2005-04-13 Jon K Hellan <hellan@acm.org>
3226
* src/gui-clipboard.c (x_claim_clipboard): Don't clear clipboard
3227
if we still own CLIPBOARD.
3229
* src/sheet-control-gui.c (scg_drag_receive_uri_list): Handle a
3230
bunch of extra mime types for dropped files.
3231
(scg_drag_receive_cellregion,
3232
(scg_drag_receive_same_proc_other_scg,
3233
(scg_drag_send_clipboard_objects): Check that cell region is non
3234
null before using it.
3236
2005-04-12 Morten Welinder <terra@gnome.org>
3238
* src/workbook-view.c (wb_view_sendto): Fix setting of "problem".
3239
Handle failure of mkdtemp.
3241
2005-04-11 Morten Welinder <terra@gnome.org>
3243
* src/mathfunc.c (qf): Make our own version of this.
3245
2005-04-10 Ivan, Wong Yat Cheung <email@ivanwong.info>
3247
* src/dialogs/dialog-preferences.c (cb_pref_font_hf_set_fonts,
3248
cb_pref_font_set_fonts):
3249
They were broken by my changes in 2005-04-08.
3251
2005-04-09 Morten Welinder <terra@gnome.org>
3253
* src/mathfunc.c (qf): Make our own version of this. It's quite
3254
simple now that we have a working qbeta.
3256
2005-04-05 Jody Goldberg <jody@gnome.org>
3258
http://bugzilla.gnome.org/show_bug.cgi?id=162951 : trivial
3259
* src/sheet-control-gui.c (scg_comment_display) : remove some
3260
unnecessary code now that a gtk bug has been fixed.
3262
2005-04-09 Ivan, Wong Yat Cheung <email@ivanwong.info>
3264
* configure.in: Determine whether we are cross-compiling.
3266
* src/libgnumeric.[ch]: Path variables should not be const.
3268
2005-04-08 Ivan, Wong Yat Cheung <email@ivanwong.info>
3270
* schemas/Makefile.am: Convert .schemas to .reg if host_os ==
3271
win32 and we are not cross-compiling.
3273
* src/application.c (gnm_app_history_add):
3274
* src/libgnumeric.c (gnm_shutdown):
3276
* src/dialogs/dialog-function-select.c
3277
(dialog_function_write_recent_func):
3278
* src/dialogs/dialog-preferences.c:
3279
* src/tools/auto-correct.c: adopt to the modified
3280
gnumeric-gconf's api.
3282
* src/tools/Makefile.am:
3283
* src/tools/gconf-schemas-to-win32-reg.c: New. The name
3286
* src/gnumeric-gconf-priv.h:
3287
* src/gnumeric-gconf.[ch]: Introduce the concept of a
3288
"node". Implement the win32 backend.
3290
2005-04-08 Morten Welinder <terra@gnome.org>
3292
* src/mathfunc.c (pfuncinverter): Improve in the special case
3293
where one of the interval endpoints is 0.
3295
* src/xml-sax-write.c (gnm_xml_file_save): Untangle the
3296
do-we-compress logic and make it work. Fixes #173030.
3297
* src/xml-io.c (gnumeric_xml_write_workbook): Ditto.
3299
* src/xml-sax-write.c (xml_write_cell_and_position): Fix crash.
3300
* src/xml-io.c (xml_write_cell_and_position): Ditto.
3302
2005-04-04 Morten Welinder <terra@gnome.org>
3304
* src/stf-export.c (stf_export_cell): Introduce "auto" mode and do
3305
something sensible with dates and times. (Fixes #128936)
3307
2005-04-04 Stepan Kasal <kasal@ucw.cz>
3309
s/INCLUDES/AM_CPPFLAGS/ "automake -Wall" has told me this.
3311
* src/Makefile.am (non-intermediate): New dummy rule; see
3312
http://bugzilla.gnome.org/show_bug.cgi?id=172211 and
3313
http://bugzilla.gnome.org/show_bug.cgi?id=172212
3314
(.list.c, .list.h): Remove $(GLIB_GENMARSHAL); it didn't work
3315
anyway, the prerequisities of an implicit rule are ignored.
3316
* Makefile.am: Use $(POFILES_FULL), not GNU-specific $(wildcard...).
3317
* configure.in (GLIB_GENMARSHAL): Full path is not needed.
3318
(POFILES_FULL): New AC_SUBSTed variable, contains full paths to
3320
(perl): Fix a typo, and a few cosmetic changes.
3321
(AC_OUTPUT): Remove plugins/perl/*.
3322
* plugins/perl/*: Removed.
3324
2005-04-04 Morten Welinder <terra@gnome.org>
3326
* src/stf-export.c: Derive from GsfOutputCsv.
3328
2005-04-04 Jody Goldberg <jody@gnome.org>
3330
* src/xml-sax-write.c (gnm_cellregion_to_xml) : add a namespace decl
3332
2005-04-04 Jody Goldberg <jody@gnome.org>
3334
* src/xml-sax-read.c : moved into the core from a plugin
3335
* src/xml-sax-write.c : ditto.
3336
(gnm_cellregion_to_xml) : new.
3338
* src/xml-io.c (xml_cellregion_write) : delete the DOM based version.
3339
(xml_init) : register the sax in/out routines
3341
2005-04-04 Jody Goldberg <jody@gnome.org>
3343
* src/gui-clipboard.c (cellregion_to_string) : remove offset.
3345
2005-04-02 Morten Welinder <terra@gnome.org>
3347
* configure.in (perl): Fix perl checks. (I hope.)
3349
2005-04-02 Jean Brefort <jean.brefort@normalesup.org>
3351
* src/style.c: (style_init), (style_shutdown): removed calls to
3352
number_format_init/shutdown (moved to goffice).
3354
2005-04-01 Steve Murphy <murf@e-tools.com>
3356
* configure.in: Added "rw" to ALL_LINGUAS.
3358
2005-04-01 Morten Welinder <terra@gnome.org>
3360
* src/stf.c (csv_tsv_probe): In the content phase, decode to UTF-8
3361
before testing. (Fixes #167191.)
3363
2005-04-01 Jon K Hellan <hellan@acm.org>
3365
* src/gnm-so-filled.c (gnm_so_polygon_write_xml_dom)
3366
(gnm_so_polygon_write_xml_sax): Fix warnings.
3368
2005-04-01 Jon K Hellan <hellan@acm.org>
3370
* src/workbook-control-gui.c (wbcg_sheet_add): Make the
3371
GNUMERIC_SHEET target GTK_TARGET_SAME_APP.
3372
(cb_wbcg_drag_data_received): Added source_widget parameter.
3374
* src/sheet-object.c (sheet_object_rubber_band_directly): Always
3377
* src/gnumeric-pane.c (drag_types_in, drag_types_out):
3378
New. Supported drag targets.
3379
(cb_pane_drag_data_received): Pass source widget to
3380
scg_drag_data_received.
3381
(cb_gnm_pane_drag_data_get): New. drag-data-get callback.
3382
(cb_gnm_pane_drag_motion): New. drag-motion callback.
3383
(cb_gnm_pane_drag_leave): New. drag-leave callback.
3384
(gnm_pane_drag_dest_init): New. Factor out of gnm_pane_init and
3385
Connect drag-data-get, drag-motion and drag-leave callbacks.
3386
(gnm_pane_init): Use it.
3387
(gnm_pane_objects_drag): New. Factored out of gnm_pane_object_move.
3388
(gnm_pane_object_move): Use it.
3389
(cb_test_so_imageable): New. Check if object is imageable.
3390
(gnm_pane_drag_begin): New. Start gtk drag.
3391
(cb_control_point_event): Use it.
3393
* src/sheet-control-gui.c (scg_paste_cellregion): New. Paste
3395
(scg_drag_receive_cellregion): New. Receive a dropped cellregion.
3396
(scg_drag_receive_uri_list): New. Receive a dropped uri list.
3397
(scg_drag_receive_same_scg): New. Receive a drop from same scg.
3398
(scg_drag_receive_same_proc_other_scg): New. Receive a drop from
3399
another scg in same process.
3400
(scg_drag_receive_same_process): New. Receive a drop from this
3402
(scg_drag_data_received): Added source_widget parameter. Handling
3403
of each target moved to a separate function. Added support for gnumeric
3404
gtk clipboard format. Added support for process internal dnd which
3405
shortcuts the selection.
3406
(scg_drag_send_image): New. Send an image over the dnd selection.
3407
(scg_drag_send_clipboard_objects): New. Send selected objects over
3408
the dnd selection. Gnumeric gtk clipboard format is used.
3409
(scg_drag_data_get): New. Send selected objects over the dnd
3410
selection in requested format.
3412
2005-04-01 Morten Welinder <terra@gnome.org>
3414
* src/stf-export.c: Gut. Use GsfOutputCsv. (Fixes #126513.)
3416
2005-03-31 Morten Welinder <terra@gnome.org>
3418
* src/wbc-gtk.c (regenerate_window_menu): Clean up and allow more
3419
windows in the menu.
3421
* src/search.c (gnm_search_replace_class_init): Make scope a
3424
* src/commands.c (cmd_set_text): Improve undo description. Fixes
3427
* src/workbook-view.c (wbv_save_to_uri): Don't set the error if we
3428
already have one. Together with libgsf and goffice changes, this
3431
2005-03-31 Jody Goldberg <jody@gnome.org>
3433
http://bugzilla.gnome.org/show_bug.cgi?id=87528
3434
* src/commands.c (cmd_paste_copy) : When not transposing and pasting
3435
into a single cell, be more flexible and allow full cols/rows.
3437
2005-03-31 Jody Goldberg <jody@gnome.org>
3439
http://bugzilla.gnome.org/show_bug.cgi?id=87477
3440
* src/commands.c (cmd_paste_copy) : Use a nice simple tiling approach.
3442
2005-03-30 Morten Welinder <terra@gnome.org>
3444
* src/search.c (search_collect_cells): Drop sheet argument. We
3445
already have it. All callers changed.
3447
* src/commands.c (cmd_search_replace_do): Drop unused sheet and
3448
workbook arguments. All callers changed.
3449
(cmd_search_replace): Drop sheet argument. All callers changed.
3451
* src/search.c: Adapt to goffice changes. (Aka make it an object
3452
and cut most of it.)
3453
(gnm_search_replace_class_init): Define a pile of properties.
3455
2005-03-29 Jody Goldberg <jody@gnome.org>
3457
* src/func.c (tokenized_help_new) : warning suppression.
3459
* src/expr.c (gnm_expr_is_array) : new.
3461
2005-03-29 Jody Goldberg <jody@gnome.org>
3463
* src/xml-io.c (xml_write_cell_and_position) : Take a value and
3464
expression directly rather than a Cell to allow re-use between the
3465
new clipboard data structure GnmCellCopy and GnmCell.
3467
* src/gui-clipboard.c (text_to_cell_region) : store data directly.
3468
(cellregion_to_string) : moved from clipboard.c and tweaked to support
3469
the new data structure.
3470
(x_clipboard_get_cb) : no need for a pango context, we ignore variable
3471
width formats when exporting.
3473
* src/sheet-style.c (style_list_get_style) : Use col & rol vs CellPos.
3475
* src/clipboard.c : Simplify GnmCellCopy and remove the ancient bogus
3476
notion of keeping a copy of a full cell.
3477
(contents_as_expr) : renamed from cell_get_contents_as_expr, and
3478
changed to take the expr and val directly.
3479
(apply_paste_oper_to_values) : deleted and merged into.
3480
(paste_cell_with_operation) : here.
3481
(gnm_cell_copy_new) : new.
3482
(paste_cell) : add some const.
3483
(clipboard_paste_region) : const and adjust to the changes.
3484
We can test for pasting content here rather than per-cell.
3485
(cb_clipboard_prepend_cell) : use gnm_cell_copy_new.
3486
(cellregion_unref) : adjust to data structure change.
3487
(cellregion_to_string) : moved into gui-clipboard.c. It's not really
3488
gui specific but that is the only thing that uses it for now.
3490
2005-03-29 Jon K Hellan <hellan@acm.org>
3492
* src/xml-io.c (xml_cellregion_read): Silence warning.
3494
2005-03-29 Morten Welinder <terra@gnome.org>
3496
* src/parse-util.c (col_name_internal): Handle nagative column
3497
numbers a bit saner.
3499
2005-03-29 Stepan Kasal <kasal@ucw.cz>
3501
* configure.in (--with-perl): Mention bug #171957.
3503
2005-03-28 Jon K Hellan <hellan@acm.org>
3505
* src/gui-clipboard.c (image_write): Look harder for selected
3508
* src/item-grid.c (drag_start): Remove.
3509
(item_grid_button_press): Don't call drag_start.
3511
* src/xml-io.c (xml_cellregion_read): Make param 'buffer' const.
3513
2005-03-28 Morten Welinder <terra@gnome.org>
3515
* src/workbook-view.c (wb_view_auto_expr_precision): New function.
3517
* src/workbook-control-gui.c (cb_auto_expr_precision_toggled): New
3519
(cb_select_auto_expr): Add a check item to control whether maximum
3522
2005-03-28 Jon K Hellan <hellan@acm.org>
3524
* src/clipboard.[ch]: (clipboard_copy_obj): New. Returns a cell
3525
region with copies of objects in list. Factored out of
3526
gnm_app_clipboard_cut_copy_obj.
3528
* src/application.c (gnm_app_clipboard_cut_copy_obj): Use
3531
2005-03-28 Morten Welinder <terra@gnome.org>
3533
* src/workbook-view.c (wb_view_auto_expr_recalc): Take format from
3535
(wb_view_auto_expr_recalc): Plug leak.
3537
* src/xml-io.c: Don't include <goffice/utils/go-locale.h> which
3538
just went away and wasn't needed anyway.
3540
* src/*.c src/*/*.c plugins/*/*.c: Use canonical object property
3543
2005-03-24 Jody Goldberg <jody@gnome.org>
3545
http://bugzilla.gnome.org/show_bug.cgi?id=171503
3546
* src/gnumeric-gconf.c (gnm_gconf_set_printer_config) : take control
3549
2005-03-24 Andreas J. Guelzow <aguelzow@taliesin.ca>
3551
* src/style-border.c (style_border_hash): use GPOINTER_TO_UINT
3552
rather than just casting.
3554
2005-03-24 Jon K Hellan <hellan@acm.org>
3556
* src/gui-clipboard.c (x_clipboard_get_cb): Plug leak.
3558
2005-03-24 Morten Welinder <terra@gnome.org>
3560
* src/mathfunc.c (tdistexp): Take a log_p flag. Improve accuracy
3561
a tiny bit, mostly in the log case.
3562
(binApprox): Move logs earlier and improve log case's accuracy.
3564
* src/application.c (gnm_app_get_pixbuf): Use non-zero size.
3566
* src/print.c (print_hf_element): If we have no format, don't
3569
2005-03-23 Morten Welinder <terra@gnome.org>
3571
* src/numbers.h: For long double support, include sunmath.c if we
3573
* configure.in: Check for sunmath.h
3575
2005-03-23 Jon K Hellan <hellan@acm.org>
3577
* src/sheet-object-graph.c (sheet_object_graph_write_image):
3578
New. Implements SheetObjectImageable. Extracted from
3580
(sog_cb_save_as): Use sheet_object_write_image.
3581
(sog_imageable_init): SheetObjectImageable gobject voodoo.
3583
* src/application.c (gnm_app_clipboard_cut_copy_obj): Save sheet
3584
object points dimensions as object data.
3586
2005-03-23 Morten Welinder <terra@gnome.org>
3588
* src/io-context-gtk.c (icg_processing_file): Fix for Win32.
3589
* src/main-application.c (warn_about_ancient_gnumerics): Fix for
3592
* src/workbook-view.c (wb_view_sendto): Use g_mkdir, not mkdir.
3593
(cb_cleanup_sendto): Use g_unlink and g_rmdir, not unlink and
3596
* src/mathfunc.c (random_01): Use g_open, not open.
3598
* src/main-application.c (warn_about_ancient_gnumerics): use
3601
* src/func.c (function_dump_defs): Use g_fopen, not fopen.
3603
* src/file-autoft.c (category_list_get_from_dir_list): Use
3604
g_file_test, not stat.
3606
2005-03-23 Stepan Kasal <kasal@ucw.cz>
3608
* configure.in (HAVE_LIBZ): Don't define it, noone uses it, since
3611
2005-03-22 Morten Welinder <terra@gnome.org>
3613
* templates/autoformat/Makefile.am (install-data-local): Don't use
3614
${var#pat} and ${var%pat}; it's POSIX feature, but it doesn't work
3615
with Solaris' /bin/sh.
3617
2005-03-22 Morten Welinder <terra@gnome.org>
3619
* src/workbook-control-gui.c (wbcg_update_action_sensitivity): Set
3620
editability of sheet tabs too. Fixes #170958.
3621
(sheet_menu_label_run): If we have only one sheet, keep "Remove"
3622
in the menu, but make it inactive. Disable everything when we
3623
have a guru. Use an enum, not a define for bit fields.
3625
2005-03-22 Stepan Kasal <kasal@ucw.cz>
3627
* autogen.sh: REQUIRED_AUTOCONF_VERSION=2.54 We already required
3628
that indirectly, by asking for Automake >= 1.7.2.
3629
* configure.in: AC_PREREQ(2.54)
3630
- don't default to --without-gtk even if the reqs are not met;
3631
- fail if someone tries --with-python=/path;
3632
- when searching for $PYTHON, try python2.4 and such;
3633
- don't generate stamp.h; the issue is solved by Automake 1.7.2;
3634
see info '(autoconf)Automatic Remaking' for details.
3636
* .cvsignore: Remove stamp.h and stamp-h.in.
3638
2005-03-21 Morten Welinder <terra@gnome.org>
3640
* src/workbook.c (workbook_dispose): Simplify using
3641
workbook_set_saveinfo. Move destruction of local functions to
3643
(workbook_finalize): From here.
3644
(workbook_sheet_name_strip_number): Fix docs; handle overflow;
3645
return unsigned value.
3646
(workbook_sheet_get_free_name): Adapt to changes in
3647
workbook_sheet_name_strip_number.
3649
2005-03-21 Stepan Kasal <kasal@ucw.cz>
3651
* autogen.sh: Remove the unfortunate TRANSL_ONLY; fix the explanation
3652
why we need our own copy of po/Makefile.in.in; use a nicer code to
3653
generate po-functions/POTFILES.*.
3654
* README: Fix the Debian package name for pango, remove the intltool
3656
* gnumeric.spec.in: Update the dependencies.
3658
2005-03-17 Jon K Hellan <hellan@acm.org>
3660
* src/gui-clipboard.c (x_claim_clipboard): Check for content == NULL.
3662
2005-03-17 Morten Welinder <terra@gnome.org>
3664
* src/xml-io.c (maybe_convert): Use go_guess_encoding.
3666
2005-03-17 Stepan Kasal <kasal@ucw.cz>
3668
* autogen.sh: Use egrep, not awk; there is a system which distributes
3669
a very broken version of it. Thanks to Morten for noting this.
3671
2005-03-16 Morten Welinder <terra@gnome.org>
3673
* src/xml-io.c (maybe_convert): Explicitly try ISO-8859-1 if
3676
* src/workbook-control.c (wb_control_update_title): Handle NULL
3679
* src/wbc-gtk.c (regenerate_window_menu): Ignore workbooks where
3680
we don't get a valid basename.
3682
* src/workbook-priv.h (struct Workbook): Remove .basename.
3684
* src/workbook.c (workbook_get_basename): Delete, it's unused.
3686
* src/parse-util.c (row_parse): Fix parsing problem. [#170465]
3688
2005-03-13 Jody Goldberg <jody@gnome.org>
3690
http://bugzilla.gnome.org/show_bug.cgi?id=169830
3691
* src/gnumeric-pane.c (gnm_pane_init) : init the zoom.
3692
(gnumeric_pane_header_init) : ditto.
3694
2005-03-16 Stepan Kasal <kasal@ucw.cz>
3696
* autogen.sh: require intltool >= 0.29; fix IFS handling;
3697
create po*/Makefile.in.in and po-functions/POTFILES.* ---
3698
and if the traslators don't want anything but these files, they
3699
can just run "TRANSL_ONLY=1 ./autogen.sh".
3700
* acinclude.m4: Nuked, it shouldn't be needed.
3701
* Makefile.am (ACLOCAL_AMFLAGS): Remove.
3702
* configure.in: Do AC_SUBST(ACLOCAL_AMFLAGS, $ACLOCAL_FLAGS);
3703
don't show --with-guile in the help, don't configure
3704
directories plugins/gb/ and plugins/guile/.
3705
* plugins/Makefile.am (SUBDIRS): Simplify the conditional
3706
assignments; omit subdirs gb and guile.
3707
* plugins/gb/Makefile.am, plugins/guile/Makefile.am: Add a text to
3708
the top, warning about POTFILES.skip.
3709
* src/pixmaps/Makefile.am (STRIP_BEGIN, STRIP_END, STRIP_DUMMY):
3710
Remove these, I see no need for them; the cosmetic advantage
3711
can be achieved with one echo.
3712
* configure.in (STRIP_BEGIN, STRIP_END, STRIP_DUMMY): Don't detect.
3714
In many files, fix the typo contraint --> constraint.
3716
2005-03-15 Jon K Hellan <hellan@acm.org>
3718
* src/gui-clipboard.c (image_write): New. Write an object as image
3720
(x_clipboard_get_cb): Analyze clipboard content and advertise
3721
image formats when appropriate.
3723
2005-03-15 Morten Welinder <terra@gnome.org>
3725
* src/search.h (struct SearchFilterResult): Don't store cell and
3728
* src/workbook.c (workbook_sheet_detach): Emit sheet_deleted
3730
(workbook_sheet_delete): Not here.
3731
(workbook_dispose): New function, extracted from
3733
(workbook_class_init): Install ->dispose.
3735
2005-03-15 Jon K Hellan <hellan@acm.org>
3737
* src/sheet-object-image.c (sheet_object_image_write_image):
3738
New. Implements SheetObjectImageable. Extracted from
3740
(soi_cb_save_as): Use sheet_object_write_image.
3741
(soi_imageable_init): SheetObjectImageable gobject voodoo.
3743
* src/sheet-object.[ch] (sheet_object_imageable_get_type): New. For
3744
the SheetObjectImageable interface.
3745
(sheet_object_write_image): New. Method of SheetObjectImageable.
3747
* src/sheet-object-impl.h: Add _SheetObjectImageableIface
3749
* src/gnumeric.h: Add SheetObjectImageableIface
3751
2005-03-14 Morten Welinder <terra@gnome.org>
3753
* src/sheet.c (sheet_finalize): New function, split out from
3755
(sheet_destroy): Just unref objects we hold refs for, i.e., no
3756
longer finalize. All callers changed to unref sheet also.
3757
(gnm_sheet_class_init): Install sheet_finalize. Define
3758
detached_from_workbook signal.
3760
* src/workbook-control-gui.c (wbcg_validation_msg): Fix arg order
3761
of go_gtk_dialog_run call.
3763
* src/gui-file.c (gui_file_save_as): Don't force local-only file
3766
2005-03-12 Jon K Hellan <hellan@acm.org>
3768
* src/wbcg-actions.c: Add <Ctrl>+P accelerator for print.
3770
* src/gui-clipboard.c (table_content_received): Paste selection
3771
with only objects, no cells.
3773
2005-03-10 Morten Welinder <terra@gnome.org>
3775
* src/print-cell.c (print_cell): Pretend to have zoom=100%.
3777
* src/sheet-control-gui.h (scg_get_style_font): Delete. Expand
3780
* src/rendered-value.c (rendered_value_new,
3781
rendered_value_render): Take zoom as a parameter. All callers
3783
(calc_indent): Take zoom instead of sheet as parameter.
3785
2005-03-11 Jon K Hellan <hellan@acm.org>
3787
* src/gnumeric-pane.c (gnm_pane_init): Add drag action
3788
GDK_ACTION_MOVE. Needed for drag receive from konqueror.
3790
2005-03-11 Jon K Hellan <hellan@acm.org>
3792
* src/gui-clipboard.c (text_content_received): New. Split out of
3793
complex_content_received.
3794
(image_content_received): New. Receive image data.
3795
(table_content_received): Renamed from complex_content_received
3797
(x_targets_received): Renamed from x_clipboard_received.
3798
(x_request_clipboard): Use gtk_clipboard_request_targets-
3800
2005-03-10 Jon K Hellan <hellan@acm.org>
3802
* src/sheet-control-gui.c (scg_image_create): New. The parts which
3803
are common to scg_paste_image and scg_drag_receive_img_data.
3804
(scg_paste_image): New. Create an image at natural size and place
3805
it at position given by range.
3806
(scg_drag_receive_img_data): Move parts to scg_image_create.
3808
2005-03-09 Morten Welinder <terra@gnome.org>
3810
* configure.in (with-long-double): ride on top of libgoffice's
3811
stuff. That kills all the ugly stuff here.
3813
2005-03-07 Jon K Hellan <hellan@acm.org>
3815
* src/sheet-control-gui.c (scg_drag_data_received): Check for NULL.
3817
2005-03-07 Jon K Hellan <hellan@acm.org>
3819
* src/workbook-control-gui.c (cb_wbcg_drag_data_received):
3820
Delegate text/uri-list to scg_drag_data_received.
3822
* src/sheet-control-gui.c (scg_drag_receive_img_data): New. Receive
3824
* src/sheet-control-gui.c (scg_drag_receive_img_uri): New. Receive
3826
(scg_drag_receive_spreadsheet): New. Receive dragged spreadsheet
3828
(scg_drag_data_received): New. Receive drag data.
3830
* src/gnumeric-pane.c (cb_pane_drag_data_received): New. Receive
3832
(gnm_pane_init): Register as drag destination.
3834
2005-03-07 Morten Welinder <terra@gnome.org>
3836
* configure.in: We no longer need the "finite" hackery.
3838
* src/mathfunc.c (mathfunc_init): Use goffice's nan etc.
3840
2005-03-04 Jon K Hellan <hellan@acm.org>
3842
* src/ssindex.c (main): Plugin api renamed.
3844
* src/ssconvert.c (main): Ditto.
3846
2005-03-04 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
3848
* src/sheet-control-gui.c (apply_move): don't get rtl flag from
3849
gcanvas, since it can be not fully initialized.
3851
2005-03-03 Jon K Hellan <hellan@acm.org>
3853
* src/session.c (interaction_function): Deiconify toplevel before
3854
displaying save/cancel dialog.
3856
2005-03-03 Morten Welinder <terra@gnome.org>
3858
* src/item-cursor.c (item_cursor_target_region_ok): Fix
3859
go_gtk_query_yes_no arg order.
3860
* src/gui-file.c (check_multiple_sheet_support_if_needed): Ditto.
3861
(gui_file_save_as): Ditto.
3863
2005-03-02 Morten Welinder <terra@gnome.org>
3865
* configure.in (gnumeric_gtk_reqs): Get rid of GnomeCanvas.
3867
2005-03-01 Jody Goldberg <jody@gnome.org>
3870
s/GNUMERIC_MODULE_PLUGIN_INFO_DECL/
3871
GOFFICE_MODULE_PLUGIN_INFO_DECL(GNUMERIC_VERSION)/
3873
* configure.in : Add the libgoffice depend and remove the
3874
src/cut-n-paste/goffice dirs
3875
remove test for gnome_print_pango_create_layout.
3876
pango_layout_set_ellipsize,
3877
pango_context_set_matrix,
3878
pango_context_get_font_map
3880
* src/Makefile.am : drop the built in libgoffice and pcre libraries
3881
we pull them externally now.
3883
2005-03-01 Morten Welinder <terra@gnome.org>
3885
* src/gui-util.c (gnumeric_glade_group_value): Constify.
3886
* src/mstyle.c (mstyle_names): Constify.
3887
* src/summary.c (summary_item_name): Constify.
3889
2005-02-28 Morten Welinder <terra@gnome.org>
3891
* src/rendered-value.c (rendered_value_render): For numbers, map
3892
'-' to U2212 which has same width as "+".
3894
* src/gnm-format.h: Define a bunch of unicode characters by name.
3895
* src/parser.y (yylex): Use these.
3896
* src/cell-draw.c (cell_calc_layout): Ditto.
3898
2005-02-25 Morten Welinder <terra@gnome.org>
3900
* src/main-application.c (main): Properly get rid of wbcgs when
3903
* src/workbook-control-gui.c (wbcg_create_status_area): Keep a ref
3904
for ->auto_expr_label in case the idle handler for updating it
3905
triggers at an inconvenient time.
3906
(wbcg_finalize): Unref.
3908
* src/main-application.c (main): Fix leak.
3910
* src/gnumeric-gconf.c (gnm_conf_shutdown): Fix crash with --quit.
3912
2005-02-24 Morten Welinder <terra@gnome.org>
3914
* src/gui-file.c (gui_file_save_as): Fix arg order for
3915
go_url_check_extension.
3917
* src/wbcg-actions.c: Mark action arrays const now that 142334 has
3918
been fixed. Assume GTK_STOCK_ABOUT.
3920
2005-02-23 Jon K Hellan <hellan@acm.org>
3922
* src/workbook-control-gui.c (cb_sheet_label_drag_data_received,
3923
cb_sheet_label_drag_leave, cb_sheet_label_drag_motion): Don't
3924
crash or complain if drag source is in a different process.
3926
2005-02-22 Stepan Kasal <kasal@ucw.cz>
3928
* configure.in: Fix creation of po-functions/POTFILES.
3929
* src/Makefile.am: Fix declarations for generated sources.
3930
* src/cut-n-paste-code/goffice/utils/Makefile.am: Likewise.
3931
* plugins/corba/Makefile.am: Likewise.
3932
* idl/Makefile.am: Likewise.
3934
2005-02-18 Morten Welinder <terra@gnome.org>
3936
* src/stf-parse.c (count_character): Ignore completely empty
3937
lines. They aren't telling us anything about separators.
3939
2005-02-17 Jody Goldberg <jody@gnome.org>
3941
* src/func.c (cb_generate_po) : more validation in preparation for
3942
regenerating the help and po.
3944
2005-02-16 Jody Goldberg <jody@gnome.org>
3946
* src/libgnumeric.c (gnm_pre_parse_init) : set the path for the new
3947
gnumeric-functions message catalog
3949
* src/gnumeric-gconf.c : Add an ifdef to silence the gconf warnings
3950
* src/io-context.[ch], src/io-context-priv.h : move into goffice/app
3952
2005-02-15 Morten Welinder <terra@gnome.org>
3954
* src/main-application.c: Typo. [#167495]
3956
* src/gui-file.c (do_save_as): Expand into lone caller. Destroy
3957
dialog right after we're done with it, so there user doesn't get
3958
to press Save while we save.
3960
2005-02-14 Stepan Kasal <kasal@ucw.cz>
3962
Don't use #include <src/xyz.h>, as `-I $(top_srcdir)' is not
3963
always in the flags; none of these headers is duplicate in the
3964
tree, so we can safely omit the dirname.
3966
2005-02-14 Stepan Kasal <kasal@ucw.cz>
3968
* src/solver.h: Define most of the structures even if !ENABLE_SOLVER.
3969
* src/xml-io.c (xml_read_solver, xml_write_solver): Compile these two
3970
functions even if !ENABLE_SOLVER, so that we don't cripple the
3971
files we open and save; the only thing we really cannot do is to
3972
to compute the text presentation of the constraints.
3974
2005-02-12 Jon K Hellan <hellan@acm.org>
3976
* src/stf-parse.c (stf_parse_sheet): Don't crash if parsing
3977
doesn't return lines.
3979
2005-02-12 Jody Goldberg <jody@gnome.org>
3981
* configure.in : move function docs into a distinct message catalog
3982
* */*.c : modify all function docs to start using the new format.
3983
* src/func.c (gnm_func_load_stub) : adjust to new GnmFuncHelp type
3984
(gnm_func_add) : ditto
3985
(tokenized_help_new) : ditto
3987
2005-02-10 Jody Goldberg <jody@gnome.org>
3989
http://bugzilla.gnome.org/show_bug.cgi?id=165982
3990
* src/gnm-plugin.c (gnm_plugins_init) : Use G_SEARCHPATH_SEPARATOR in
3991
place of hard coding ':' to be more portable.
3992
* src/dialogs/dialog-plugin-manager.c (pm_gui_load_directory_page) :
3995
2005-02-09 Jody Goldberg <jody@gnome.org>
3997
* src/workbook-control-gui.c (wbcg_sheet_add) : don't create a control
4000
2005-02-09 Jody Goldberg <jody@gnome.org>
4002
For david@arabidopsis.info (David J Craigon):
4003
* src/ssconvert.c : Add -I flag to specify importer
4005
2005-02-09 Jon K Hellan <hellan@acm.org>
4007
* src/Makefile.am (GNUMERIC_BASE): Remove error-info.c.
4009
2005-02-09 Stepan Kasal <kasal@ucw.cz>
4011
* src/error-info.h: Nuke, we are using <goffice/app/error-info.h>.
4012
* src/Makefile.am: Remove it.
4014
2005-02-09 Stepan Kasal <kasal@ucw.cz>
4016
* configure.in (TPUT_CMD, marker_ok, marker_fail, marker_no): Nuke.
4017
(BIG_CHECKING): New m4 macro, used to emphasize some of the checks.
4019
2005-02-08 Jody Goldberg <jody@gnome.org>
4021
* configure.in : Post release bump
4023
2005-02-08 Jody Goldberg <jody@gnome.org>
4027
2005-02-08 Jody Goldberg <jody@gnome.org>
4029
* src/print-info.c (print_hf_same) : add some protection
4031
2005-02-06 Jean Brefort <jean.brefort@normalesup.org>
4033
* src/sheet-object-widget.c: (cb_adjustment_value_changed): avoid
4034
recalculation on update, fixes #166085.
4035
(sheet_widget_adjustment_init_full),
4036
(cb_adjustment_config_ok_clicked),
4037
(sheet_widget_adjustment_write_xml_sax),
4038
(sheet_widget_adjustment_write_xml_dom),
4039
(sheet_widget_adjustment_read_xml_dom),
4040
(sheet_widget_adjustment_set_details): make constant and consistent
4041
scrollbar and slider max values, fixes #165173.
4043
2005-02-05 Morten Welinder <terra@gnome.org>
4045
* src/style.c (gnm_font_find_closest_from_weight_slant): Delete.
4047
2005-02-05 Morten Welinder <terra@gnome.org>
4049
* src/print.c: Avoid going PangoFontDescription -> GnomeFont ->
4050
PangoFontDescription.
4052
2005-02-04 Morten Welinder <terra@gnome.org>
4054
* src/item-bar.c (item_bar_calc_size): Measure height of letters
4055
not logical line height. Use more pango and less magic. This
4058
* src/print.c (print_hf_element): Remove old #ifdef HAVE_foo.
4059
* src/cell-draw.c (cell_draw): Ditto.
4061
* src/print-cell.c: Eliminate old printing code.
4063
* src/style.c (style_font_new_simple): No need for setting
4064
->gnome_print_font any more.
4065
(style_font_unref): And no need to unref.
4067
* src/rendered-value.c (rendered_value_recontext): Copy font
4068
description too now that pango supports it. Eliminate old #ifdef
4071
* src/mathfunc.c (gnumeric_fake_floor, gnumeric_fake_ceil): When
4072
adding epsilon, make sure that is <0.5.
4073
(gnumeric_fake_round, gnumeric_fake_trunc): Simplify in terms of
4074
gnumeric_fake_floor.
4077
2005-02-03 Morten Welinder <terra@gnome.org>
4079
* src/dependent.c: eliminate code predating micro hashes.
4081
2005-02-03 Morten Welinder <terra@gnome.org>
4083
* src/dependent.c (micro_hash_resize): Correctly handle #elems<=1.
4084
(unlink_range_dep): Plug leak. [#159581]
4086
2005-02-02 Morten Welinder <terra@gnome.org>
4088
* src/format.c (fmt_general_float): Consistently use upper case
4089
"E" for general format when exponential notation is needed.
4091
2005-02-02 Jean Brefort <jean.brefort@normalesup.org>
4093
* src/graph.c: (gnm_go_data_matrix_get_value): duplicate value before
4096
2005-02-01 Jody Goldberg <jody@gnome.org>
4098
* gnumeric.xsd : Add entries for validation and hyperlinks
4100
2005-02-01 Morten Welinder <terra@gnome.org>
4102
* src/stf-parse.c (stf_parse_csv_is_separator): Handle
4103
end-of-buffer correctly in the single-character case.
4106
* src/commands.c (cmd_ins_del_colrow): Survive if the current
4107
clipboard does not hold a range (but holds a sheet object).
4110
2005-01-27 Morten Welinder <terra@gnome.org>
4112
* src/complete-sheet.c (complete_sheet_search_iteration): Rework
4113
broken search strategy.
4115
2005-01-27 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4117
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): delta is
4118
1.0 / FooCanvas::pixels_per_unit for correct behaviour when zoom is !=
4121
2005-01-26 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4123
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): don't invert
4125
* src/sheet-control-gui.c (snap_pos_to_grid): use correct SHEET_MAX
4126
depending on what to snap to grid.
4127
(snap_to_grid): handle rtl case, where GNUMERIC_CANVAS_FACTOR_X is
4128
0 in world coordinates. World coordinates are negative in rtl mode.
4129
(apply_move): positive delta means going downward in cell numbers.
4131
2005-01-25 Morten Welinder <terra@gnome.org>
4133
* configure.in (gnumeric_gnome_reqs): Upgrade requirements to
4136
2005-01-25 Stepan Kasal <kasal@ucw.cz>
4138
AC_PATH_PROG can be tricky: if the user sets the variable to
4139
something which doesn't look like a full path, autoconf proceeds
4140
with the test as if the variable were not set; no warning is issued
4141
(at least for autoconf versions <= 2.59).
4142
AC_CHECK_PROG is much more transparent: if the variable is nonempty,
4143
no test is executed. Let's use it where possible.
4145
* configure.in (GCONFTOOL): Don't publish the variable, because
4146
AM_GCONF_SOURCE_2, which is used after the check, has
4147
``gconftool-2'' hardwired anyway; clear the variable before use.
4148
Call AC_CHECK_PROG instead of AC_PATH_PROG.
4149
(GLIB_GENMARSHAL): Explain why full path is needed.
4150
(GDK_PIXBUF_CSOURCE): Call AC_CHECK_PROG instead of AC_PATH_PROG.
4152
2005-01-25 Stepan Kasal <kasal@ucw.cz>
4154
* configure.in: work on --with-perl; this partially fixes
4155
http://bugzilla.gnome.org/show_bug.cgi?id=158029
4157
In AC_CHECK_LIB(perl,...) change the third parameter to `:'
4158
so that it is nonempty and -lperl is not added to LIBS; this fixes
4159
http://bugzilla.gnome.org/show_bug.cgi?id=158379
4161
A cosmetic change: Don't use `[ ]' as an empty argument of a macro,
4162
it may confuse m4; use `[]' instead.
4164
Another cosmetic change: the word for ``case'' doesn't need any
4167
2005-01-25 Stepan Kasal <kasal@ucw.cz>
4169
* configure.in: Initialize win32=no, in case someone has the variable
4171
Fix the help string for --enable-ssindex.
4173
2005-01-24 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4175
http://bugzilla.gnome.org/show_bug.cgi?id=164455
4176
* src/sheet-object-graph.c (sog_cb_save_as): fix svg size.
4178
2005-01-24 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4180
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): pass shift state
4181
to scg_objects_nudge.
4182
* src/gnumeric-pane.c (gnm_pane_object_move): alter real move values
4183
with feedback from scg_object_drags. With snap to grid real move can
4184
be different than what asked.
4185
(cb_slide_handler): update call to gnm_pane_object_move.
4186
(cb_control_point_event): update call to scg_object_drag.
4187
Pass shift state to gnm_pane_object_move.
4188
* src/sheet-control-gui.c (snap_pos_to_grid): new.
4189
(snap_to_grid): new.
4192
(drag_selected_objects): use drag_object.
4193
(scg_objects_drag): drag primary object first.
4195
2005-01-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
4197
http://bugs.debian.org/291265
4198
* src/file.c (gnm_file_saver_save) : Produce an error when no proper
4199
UTF-8 filename was produced.
4201
2005-01-20 Jody Goldberg <jody@gnome.org>
4203
* src/xml-io.c (xml_sheet_write) : store the rtl flag
4204
(xml_sheet_read) : read the rtl flag
4206
* src/workbook-control-gui.c (cb_notebook_switch_page) : set the
4207
direction on page change
4208
(show_gui) : setting it here too.
4210
(wbcg_set_direction) : new
4212
* src/wbcg-actions.c (cb_direction) : A quick and simple direction
4213
setting action. We need a better icon, and improved state.
4215
* src/style-border.c (style_border_hmargins) : lots of finicky
4216
-1*offset style changes for rtl.
4218
* src/sheet.c (gnm_sheet_class_init) : Add some as yet unused get/set
4220
(gnm_sheet_init) : new to init the direction based on the locale. Use
4221
a gtk routine for now. There's a bug open to have that moved to
4223
(sheet_set_direction) : new.
4225
* src/sheet-view.c (sv_init_sc) : init the direction.
4226
(sv_direction_changed) : new.
4228
* src/sheet-object-cell-comment.c (comment_view_set_bounds) : fold the
4229
old comment_get_points into here and invert things in RTL mode.
4231
* src/sheet-control-gui.c (scg_redraw_headers) : col coordinates are
4232
negative for rtl mode.
4233
(scg_resize) : rework for rtl
4234
(scg_set_zoom_factor) : ditto.
4235
(bar_set_left_col) : ditto.
4236
(bar_set_top_row) : ditto.
4237
(gnm_canvas_set_top_left) : ditto.
4238
(calc_obj_place) : ditto. Clarify which coordinate system we're in.
4239
(scg_direction_changed) : new virtual.
4240
(scg_scale_changed) : renamed from scg_set_zoom_factor.
4242
* src/print.c (print_sheet_objects) : handle rtl. (needs testing)
4243
(print_page_cells) : simple rtl handling
4245
* src/mstyle.c : Add a text_dir element that defaults to CONTEXT right
4246
now. This is unused until it is better understood, but it is read
4247
and written from xls. We need to add xml support.
4249
* src/item-grid.c (item_grid_draw_merged_range) : handle rtl
4250
(item_grid_draw) : ditto.
4251
* src/print-cell.c (print_merged_range) : ditto
4252
(print_cell_range) : ditto.
4254
* src/item-edit.c (ie_layout) : swap directions in RTL mode. We still
4255
need more work here to honour the alignment better while editing.
4258
(item_cursor_request_redraw) : delete, we can use foo_canvas_item_request_redraw
4259
(item_cursor_update) : handle rtl
4260
(item_cursor_draw) : ditto
4261
(item_cursor_bound_set) : add some safety to avoid drawing before the
4262
position is set, or if it is set to something invalid
4264
* src/item-bar.c (item_bar_draw) : major rework to handle RTL mode.
4265
- swap the the direction for the cells and the outlines
4266
(is_pointer_on_division) : handle rtl and clarify which coordinate
4267
system the various inputs and results use.
4268
(ib_set_cursor) : simplify
4269
(outline_button_press) : RTL flips some coordinates.
4270
(item_bar_event) : ditto
4272
* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : doh! handle
4275
* src/gnumeric-pane.c (gnumeric_pane_header_init) : handle rtl
4276
(gnm_pane_init) : ditto.
4277
(gnm_pane_colrow_resize_start) : ditto.
4278
(gnm_pane_colrow_resize_move) : ditto.
4279
(cb_slide_handler) : ditto.
4281
* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : Swap the
4282
direction of arrow keys in rtl mode.
4283
(gnm_canvas_key_mode_object) : ditto
4284
(gnm_canvas_size_allocate) : always recompute visible range. In RTL
4285
mode we want to have things aligned on the left edge whose coord
4287
(gnm_canvas_find_col) : handle the rtl negation of world coords
4288
(gnm_canvas_redraw_range) : ditto
4289
(gcanvas_sliding_callback) : ditto.
4290
(gnm_canvas_handle_motion) : ditto.
4291
NOTE : work around a bug in gtk's use of X. When dragging past the
4292
right edge of the sheet in rtl mode we are operating at the edge of
4293
a 32k wide window and the event coords get larger than can be held
4294
in a signed short. As a result we get world coords of -65535 or so.
4295
KLUDGE KLUDGE KLUDGE
4296
with our current limit of 256 columns it is unlikely that we'll
4297
hit -65535 (at appropriate zoom) as a valid coord (it would
4298
require all cols to be 256 pixels wide. it is not impossible, but
4299
at least unlikely. So we put in a kludge here to catch the screw
4300
up and remap it. This is not pretty, at large zooms this is not
4302
(gnm_canvas_compute_visible_region) : things are more complicated for
4305
* src/commands.c : Add undo for the rtl vs ltr mode
4307
* src/cellspan.c (cell_calc_span) : in rtl mode swap the meaning of
4308
horizontal alignment.
4310
* src/GNOME_Gnumeric-gtk.xml.in : Add the rtl toggle action
4312
2005-01-20 Jody Goldberg <jody@gnome.org>
4314
* configure.in : post branching bump
4316
2005-01-19 Morten Welinder <terra@gnome.org>
4318
* src/style.c (style_font_new_simple): Only create
4319
gnome_print_fonts for old printing code.
4321
* src/print-cell.c (using_old_printing_code): New public function
4322
extracted from print_cell.
4324
2005-01-17 Jody Goldberg <jody@gnome.org>
4326
* configure.in : post release version bump
4327
If everything is smooth we'll branch on Wed
4329
2005-01-17 Jody Goldberg <jody@gnome.org>
4333
2005-01-16 Jody Goldberg <jody@gnome.org>
4335
http://bugzilla.gnome.org/show_bug.cgi?id=161404
4336
* xmldocs.make : sync doc installation dir with where the code expects
4339
2005-01-16 Jody Goldberg <jody@gnome.org>
4341
http://bugzilla.gnome.org/show_bug.cgi?id=158692
4342
* src/preview-grid.c (pg_get_row_offset) : don't return SHEET_MAX_ROWS
4344
(pg_get_col_offset) : ditto.
4346
2005-01-16 Jody Goldberg <jody@gnome.org>
4348
http://bugzilla.gnome.org/show_bug.cgi?id=162631
4349
* src/gnumeric-pane.c (set_acetate_coords) : handle the race condition
4350
for the rubber band directly case.
4352
2005-01-15 Jody Goldberg <jody@gnome.org>
4354
http://bugzilla.gnome.org/show_bug.cgi?id=162631
4355
* src/sheet-object.c (sheet_object_new_view) : return the new view, it
4356
may actually be useful.
4358
* src/sheet-control-gui.c (cb_collect_objects_to_commit) : we actually
4359
need to create the view here if it does not exist, otherwise we lose
4362
2005-01-13 Jody Goldberg <jody@gnome.org>
4364
http://bugzilla.gnome.org/show_bug.cgi?id=162631
4365
* src/sheet-control-gui.c (cb_collect_objects_to_commit) : more
4368
* src/sheet-object.c (sheet_object_view_set_bounds) : be safer.
4370
2005-01-15 Jody Goldberg <jody@gnome.org>
4372
http://bugzilla.gnome.org/show_bug.cgi?id=161547
4373
* configure.in : Make the python test more robust
4375
2005-01-14 Jody Goldberg <jody@gnome.org>
4377
http://bugzilla.gnome.org/show_bug.cgi?id=163438
4378
* src/format.c (format_compile) : notice fmts that request a fill
4379
(style_format_new_XL) : init the new is_var_width flag
4381
* src/rendered-value.c (rendered_value_render) : there are formats
4382
other than General that have variable widths. Are measurement of
4383
col width and characters sucks. We really need to do the fills at
4384
a higher level where we have font metrics.
4386
2005-01-14 Jody Goldberg <jody@gnome.org>
4388
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=290388
4389
* src/sheet-object-cell-comment.c (comment_get_points) : This will
4390
need work for RTL, but we do need to compensate for the zoom.
4392
2005-01-14 Jody Goldberg <jody@gnome.org>
4394
* src/gnumeric-pane.c (cb_control_point_event) : fix double click
4395
handling to not start a drag when the editor is gone
4397
2005-01-13 Jody Goldberg <jody@gnome.org>
4399
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=288157
4400
* src/colrow.c (colrow_set_sizes) : we need to rerender variable width
4401
content when resizing all cols at the same time, just like we do for
4404
2005-01-13 Jody Goldberg <jody@gnome.org>
4406
http://bugzilla.gnome.org/show_bug.cgi?id=161782
4407
* templates/autoformat/Makefile.am : applied patch to use non
4408
bash-specific variable substitution.
4410
2005-01-13 Morten Welinder <terra@gnome.org>
4412
* src/style.c (style_font_new_simple): Don't ref and unref the
4415
2005-01-13 Jean Brefort <jean.brefort@normalesup.org>
4417
* src/graph.c: (gnm_go_data_matrix_load_values): don't write data outside of
4418
allocated matrix. Fixes #163626.
4420
2005-01-12 Jody Goldberg <jody@gnome.org>
4422
http://bugzilla.gnome.org/show_bug.cgi?id=163223
4423
* src/style.c (style_font_string_width) : take a layout directly.
4424
(calc_font_width) : ditto.
4425
(style_font_new_simple) : keep the PangoFontMetrics and PangoLayout
4426
here rather than as data members with no real purpose. It should
4427
make it easier to remove the scaling in here.
4428
NOTE : remove the prescaling of the font size. It did not belong
4429
here. We use a scale attribute while measuring. Eventually we can
4430
split the calculation of metrics out and remove the ugly scale/zoom
4432
(style_font_unref) : we got rid of some data members.
4434
* src/style-font.h : A new header to make cleaning up the definition
4437
* src/mstyle.c (mstyle_get_pango_attrs) : Add a scale attribute
4438
wrapper to scale all of the font sizes
4440
2005-01-12 Jody Goldberg <jody@gnome.org>
4442
http://bugzilla.gnome.org/show_bug.cgi?id=163198
4443
* src/item-edit.c (get_top_left) : new function to get the top left
4444
point based on the vertical alignment.
4445
(item_edit_draw) : the code was taken from here.
4446
(item_edit_event) : and used here to give pango_layout_xy_to_index a
4447
reasonable coordinate.
4449
2005-01-12 Jean Brefort <jean.brefort@normalesup.org>
4451
* src/gui-file.c: (gui_get_image_save_info): test if file exists after
4453
(gui_file_save_as): don't exit when file exists and
4454
user do not want to overwrite. Back to the file chooser instead.
4456
2005-01-12 Jody Goldberg <jody@gnome.org>
4458
* src/wbcg-actions.c (cb_help_docs) : minor warning suppression
4460
2005-01-11 Morten Welinder <terra@gnome.org>
4462
* src/workbook-edit.c (gnm_pango_attr_list_splice): New function
4463
doing what pango_attr_list_splice should have done, i.e., simply
4465
(cb_entry_insert_text): Use gnm_pango_attr_list_splice.
4467
2005-01-10 Morten Welinder <terra@gnome.org>
4469
* src/workbook-edit.c (wbcg_edit_finish): Copy the resulting
4470
markup as editing callbacks will otherwise destroy it.
4472
2005-01-10 Jody Goldberg <jody@gnome.org>
4474
http://bugzilla.gnome.org/show_bug.cgi?id=163408
4475
* src/commands.c (cmd_ins_del_colrow_redo) : We only need to redo
4476
things for cuts, not copies (Although that feels a bit odd).
4477
Just un-ant things for now.
4479
2005-01-09 Jody Goldberg <jody@gnome.org>
4481
http://bugzilla.gnome.org/show_bug.cgi?id=163407
4482
* src/commands.c (cmd_format_undo) : doh! resize only if we needed a
4483
resize when the style was applied, not based on the properties of
4484
the format we are restoring.
4486
2005-01-09 Jody Goldberg <jody@gnome.org>
4488
http://bugzilla.gnome.org/show_bug.cgi?id=162923
4489
* src/expr.c (gnm_expr_eval) : minor thinko, array result from a
4490
function in a non-scalar context return the first element, not
4491
#VALUE!. I broke this when tweaking the implicit iteration by
4492
forgetting that value_intersection handled that for me.
4494
2005-01-09 Jody Goldberg <jody@gnome.org>
4496
http://bugzilla.gnome.org/show_bug.cgi?id=163452
4497
* src/sheet-control-gui.c (scg_mode_clear) : handle being called
4500
2005-01-05 Jody Goldberg <jody@gnome.org>
4502
http://bugzilla.gnome.org/show_bug.cgi?id=162888
4503
* src/clipboard.c (cb_dup_objects) : sheet_object_dup can fail, be
4505
(paste_object) : ditto.
4506
* src/application.c (gnm_app_clipboard_cut_copy_obj) : ditto
4507
* src/gnumeric-pane.c (gnm_pane_object_start_resize) : ditto
4509
2005-01-06 Morten Welinder <terra@gnome.org>
4511
* src/mathfunc.c (gnumeric_fake_floor, gnumeric_fake_ceil): Fix
4514
2005-01-05 Morten Welinder <terra@gnome.org>
4516
* src/rangefunc.c (range_sum): Just sum. Don't try to be overly
4518
(range_sumsq): Ditto.
4520
2005-01-05 Jody Goldberg <jody@gnome.org>
4522
* src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) : handle
4525
* src/sheet-object-widget.c (sheet_object_widget_class_init) : widgets
4526
render quickly rubber band directly
4527
(sheet_widget_slider_create_widget) : do not draw the value
4529
2004-12-31 Jody Goldberg <jody@gnome.org>
4531
* src/gnumeric-pane.c (set_acetate_coords) : don't crash if we have
4532
not created a view yet.
4534
2004-12-31 Jody Goldberg <jody@gnome.org>
4536
* src/gnumeric-pane.c (gnm_pane_object_start_resize) : watch press
4538
(cb_control_point_event) : launch an editor for double clicks
4540
2005-01-04 Morten Welinder <terra@gnome.org>
4542
* src/format.c (fmt_general_float): Use GNUM_FORMAT_G. The days
4543
of glib <1.2.9 are over.
4544
(fmt_general_int): Ditto.
4546
* src/numbers.h (GNUM_FORMAT_G): Add.
4548
http://bugzilla.gnome.org/show_bug.cgi?id=162865
4549
* src/wbcg-actions.c: Fix Help->Contents and Edit->Clear->Contents
4552
2005-01-03 Morten Welinder <terra@gnome.org>
4556
* src/sheet.c (sheet_cell_remove): Add new arg to control whether
4557
to flag dependencies. All callers changed.
4558
(cb_empty_cell): Take whole flags argument.
4560
* src/clipboard.c (clipboard_paste_region): Handle new flag
4561
PASTE_NO_RECALC to help sorting speed.
4563
* src/sort.c (sort_contents): Paste using PASTE_NO_RECALC and
4564
handle dependencies ourselves. Don't qsort if we have less than
4567
2004-12-29 Morten Welinder <terra@gnome.org>
4569
* src/format.c (format_month_before_day): Add Win32 version.
4570
(#161793, Ivan Wong.)
4572
2004-12-22 Morten Welinder <terra@gnome.org>
4574
* src/libgnumeric.h (gnumeric_popt_options): remove from here.
4576
2004-12-20 Morten Welinder <terra@gnome.org>
4578
* src/workbook-edit.c (wbcg_edit_add_markup): Use range 0-INT_MAX
4579
so we don't split anything.
4580
(cb_entry_cursor_pos): Ditto.
4581
(wbcg_edit_init_markup): The .cur_fmt from markup, not
4582
full_content, so we don't end up setting font sizes, etc.
4583
(cb_entry_cursor_pos): Don't do anything if the entry is empty.
4585
2004-12-20 Morten Welinder <terra@gnome.org>
4587
* src/workbook-edit.c (cb_delete_filter): Be much more careful.
4588
Things are unsigned.
4589
(cb_entry_cursor_pos): Fix confusion between editline.markup and
4590
edit_line.full_content.
4592
* src/format.c (gnm_format_parse_markup): Attribute offsets are
4593
unsigned. Drop nops.
4594
(cb_attrs_as_string): Ditto.
4596
2004-11-14 Jody Goldberg <jody@gnome.org>
4598
* src/sheet-object-image.c (sheet_object_image_set_image) : renamed
4599
from sheet_object_image_new to make the life cycle simpler for
4601
(soi_get_pixbuf) : No data == no pixbuf
4602
* src/wbcg-actions.c (cb_insert_image) : adjust to the name and
4603
semantic change of sheet_object_image_set_image.
4605
2004-12-17 Morten Welinder <terra@gnome.org>
4607
* src/print-cell.c (print_cell_NEW): Fix origin correction.
4609
* src/rendered-value.c (rendered_value_remeasure): Render while
4610
rotated as pango turns off hinting in the font.
4612
* src/style.c (style_default_halign): Errors and booleans remain
4613
centered when rotated. Numbers and text are left-aligned when
4614
rotated up and right-aligned when rotated down.
4616
2004-12-15 Morten Welinder <terra@gnome.org>
4618
* src/print-cell.c (print_cell_NEW): Print rotated.
4620
* src/cell-draw.c (cell_draw): Draw rotated text if
4621
HAVE_PANGO_CONTEXT_SET_MATRIX.
4623
* src/rendered-value.c (rendered_value_render): Rotated numbers
4624
are not variable width.
4625
(rendered_value_remeasure): Adjust width and height for rotation.
4627
* src/rendered-value.h (struct _RenderedValue): Eliminate
4628
display_formula and introduce might_overflow and rotation.
4630
* src/style.c (required_updates_for_style): Rotation changes
4631
requires height resizing.
4632
(style_default_halign): Rotated cells are aligned left by default,
4635
* src/sheet.c (cb_max_cell_height): Render rotated cells also.
4637
2004-12-14 Morten Welinder <terra@gnome.org>
4639
* src/mathfunc.c (pgamma): Improve accuracy for extreme arguments.
4641
2004-12-13 Morten Welinder <terra@gnome.org>
4643
* src/mathfunc.c (lgamma1p): Make this work for x<0 also.
4645
2004-11-20 J.H.M. Dassen (Ray) <jdassen@debian.org>
4647
* src/print-info.h: Add "paper_width" and "paper_height" to struct
4648
PrintInformation, to support paper sizes for which gnome-print doesn't
4650
* src/print-info.c (print_info_make_config): Use paper_width and
4651
paper_height when there is no paper name.
4652
* src/print-info.c (print_info_set_paper_width,
4653
print_info_set_paper_height, print_info_get_paper_width,
4654
print_info_get_paper_height): New, get and set functions for
4655
paper_width and paper_height.
4656
* src/print-info.c (print_info_free, print_info_new, print_info_dup):
4657
Extended to handle the two fields added to struct PrintInformation.
4659
2004-12-10 Jody Goldberg <jody@gnome.org>
4661
* configure.in : post release bump
4663
2004-12-09 Jody Goldberg <jody@gnome.org>
4667
2004-12-09 Jody Goldberg <jody@gnome.org>
4669
* src/cell-draw.c (cell_calc_layout) : set wrapmode to word-char
4670
rather than the default word so that long words will wrap
4672
2004-12-09 Jody Goldberg <jody@gnome.org>
4674
* src/gnumeric-pane.c (gnm_pane_object_start_resize) : Add an
4675
'is_creation' argument to avoid pretending we're creating an object
4676
when clicking and releasing on the lower right resize marker.
4678
2004-12-08 Jody Goldberg <jody@gnome.org>
4680
* src/hlink.c (gnm_hlink_url_activate) : use go_url_show
4681
* src/wbcg-actions.c (cb_help_web) : ditto.
4682
(cb_help_irc) : ditto
4683
(cb_help_bug) : ditto
4685
2004-12-06 Morten Welinder <terra@gnome.org>
4687
* src/func.c (function_dump_defs): Use CSS for styling.
4689
2004-12-03 Jody Goldberg <jody@gnome.org>
4691
* src/file-autoft.c (category_get_templates_list) : Use GDir in place
4692
of struct dirent this is more portable.
4693
(category_list_get_from_dir_list) : ditto.
4694
* src/plugin.c (plugin_info_list_read_for_subdirs_of_dir) : ditto.
4696
2004-11-30 Jody Goldberg <jody@gnome.org>
4698
http://bugzilla.gnome.org/show_bug.cgi?id=160046
4699
* src/libgnumeric.c (gnm_pre_parse_init) : get the right pixmap and
4700
translation paths for win32.
4702
2004-11-30 Jody Goldberg <jody@gnome.org>
4704
* src/gnumeric-simple-canvas.c (gnm_simple_canvas_x_w2c) : new.
4706
2004-11-30 Morten Welinder <terra@gnome.org>
4708
* src/gnm-so-line.c (so_line_view_set_bounds): Make sure sheet
4709
object direction is set.
4710
(gnm_so_line_get_property): Handle SOL_PROP_IS_ARROW for
4713
2004-11-29 Jody Goldberg <jody@gnome.org>
4715
http://bugzilla.gnome.org/show_bug.cgi?id=157732
4716
* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : fix sign of
4719
2004-11-29 Morten Welinder <terra@gnome.org>
4721
* Makefile.am (gnumeric.desktop): Add bugzilla version info.
4723
2004-11-28 Jody Goldberg <jody@gnome.org>
4725
* configure.in : post release bump
4727
2004-11-28 Jody Goldberg <jody@gnome.org>
4731
2004-11-26 Jody Goldberg <jody@gnome.org>
4733
http://bugzilla.gnome.org/show_bug.cgi?id=159581 #1
4734
* src/application.c (gnm_app_clipboard_cut_copy_obj) : patch leak
4736
2004-11-26 Jody Goldberg <jody@gnome.org>
4738
http://bugzilla.gnome.org/show_bug.cgi?id=159577
4739
* src/format.c (gnm_format_parse_markup) : return NULL on error
4741
2004-11-26 Jody Goldberg <jody@gnome.org>
4743
* src/gui-file.c (gui_file_open) : Add a hook to open template files.
4744
This is cheesy, but is better than nothing.
4746
2004-11-26 Jody Goldberg <jody@gnome.org>
4748
http://bugzilla.gnome.org/show_bug.cgi?id=159365
4749
* src/commands.c (gnm_reloc_undo_release) : new
4750
(cmd_ins_del_colrow_finalize) : use it
4751
(cmd_paste_cut_finalize) : use it.
4752
(gnm_reloc_undo_apply) : new
4753
(cmd_ins_del_colrow_undo) : use it.
4754
(cmd_paste_cut_undo) : use it.
4756
* src/sheet-object.c (sheet_objects_relocate) : store lost objects
4758
* src/sheet.c (sheet_colrow_insdel_finish) : take an optional undo
4760
(sheet_colrow_insert_finish) : ditto.
4761
(sheet_colrow_delete_finish) : ditto.
4762
(sheet_insert_cols) : pass the undo info
4763
(sheet_delete_cols) : ditto.
4764
(sheet_insert_rows) : ditto.
4765
(sheet_delete_rows) : ditto.
4766
(sheet_move_range) : pass undo info to sheet_objects_relocate
4768
2004-11-21 Jody Goldberg <jody@gnome.org>
4770
* src/sheet-view.c (sv_panes_insdel_colrow) : be more careful
4771
inserting large numbers of cols/rows
4773
2004-11-21 Jody Goldberg <jody@gnome.org>
4775
* src/sheet.c (sheet_insert_rows) : no need to test when inserting
4777
(sheet_insert_cols) : ditto for SHEET_MAX_COLS
4779
2004-11-21 Jon K Hellan <hellan@acm.org>
4781
* src/ssindex.c: #include gog-object.h
4783
2004-11-19 Jody Goldberg <jody@gnome.org>
4785
* configure.in : Add ssindex but leave it disabled by default because
4786
it relies on unreleased changes to libgsf
4788
2004-11-19 Jody Goldberg <jody@gnome.org>
4790
* src/style.c (gnm_font_find_closest_from_weight_slant) : add some
4793
2004-11-19 Jody Goldberg <jody@gnome.org>
4795
* src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font) : add a
4796
default in case conf lookup fails.
4797
(gnm_conf_init_essential) : fix swapped max and default for print zoom
4799
2004-11-18 Morten Welinder <terra@gnome.org>
4801
* src/print.c (sheet_print): Fix leak for preview. (#158566)
4803
2004-11-15 Jody Goldberg <jody@gnome.org>
4805
* src/stf.c (stf_init) : register some suffixes and mime types
4806
* src/xml-io.c (xml_init) : ditto.
4808
* src/plugin-service.c (plugin_service_file_opener_read_xml) : parse
4811
* src/gui-file.c (gui_file_open) : Use the new lists of suffixes and
4812
mime types from the openers rather than kluding something from
4815
* src/file.c (gnm_file_opener_setup) : store a list of suffixes and
4817
(gnm_file_opener_finalize) : free the new lists.
4818
(gnm_file_opener_new) : take suffixes and mime types as arguments
4819
(gnm_file_opener_new_with_enc) : take suffixes and mime types as arguments
4820
(gnm_file_opener_get_suffixes) : new.
4821
(gnm_file_opener_get_mimes) : new.
4823
2004-11-15 Jody Goldberg <jody@gnome.org>
4825
* src/sheet-object-widget.c : Add text and markup properties to
4826
checkbox/toggle button
4828
2004-11-14 Jody Goldberg <jody@gnome.org>
4830
* src/gnumeric-pane.c (gnm_pane_display_obj_size_tip) : tweak the
4831
pixel distances. The far coordinates are excluded.
4833
2004-11-14 Andreas J. Guelzow <aguelzow@taliesin.ca>
4835
http://bugzilla.gnome.org/show_bug.cgi?id=151609
4836
* src/commands.c (cmd_objects_restore_location): new
4837
(cmd_objects_delete_undo): restore ordering of objects
4838
(cmd_objects_delete_finalize): free locations array
4839
(cmd_objects_delete): create and save locations array
4840
* src/sheet-object.h (sheet_object_get_stacking): new
4841
* src/sheet-object.c (sheet_object_get_stacking): new
4843
2004-11-10 Jody Goldberg <jody@gnome.org>
4845
* src/style.c (required_updates_for_style) : for font size, and wrap
4846
changes add a flag to resize row heights.
4847
* src/sheet.c (sheet_apply_style) : use the new SPANCALC_ROW_HEIGHT to
4848
decide when to autosize the rows. (debian #228105)
4850
2004-11-10 Jody Goldberg <jody@gnome.org>
4852
* configure.in : leave the old perl plugin disabled by default
4853
distros can enable it if desired using --with-perl.
4854
There are just too many build issues with it right now.
4856
2004-11-09 Stepan Kasal <kasal@ucw.cz>
4858
* configure.in (GCONFTOOL, GLIB_GENMARSHAL, GDK_PIXBUF_CSOURCE):
4859
Clarify descriptions of these variables to say that the absolute
4862
2004-11-09 Andreas J. Guelzow <aguelzow@taliesin.ca>
4864
for Harald Ashburner <hal.ashburner@gmail.com>:
4865
* sample/derivaties.gnumeric: update
4867
2004-11-08 Morten Welinder <terra@gnome.org>
4869
* src/history.c: Survive NULL basename (#157682).
4871
2004-11-08 Jon K Hellan <hellan@acm.org>
4873
* configure.in: Fix psiconv test.
4875
2004-11-08 Morten Welinder <terra@gnome.org>
4877
* configure.in (perl_msg): Disable buggy perl_construct check.
4879
* src/expr.h: Delete trailing comma in enum.
4880
* src/func.h: Ditto.
4882
2004-11-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
4884
* configure.in: Call the "make" command for PY_EXTRA_LIBS with "-s".
4885
Without it, out-of-source builds have problems due to interference
4886
from make printing entering/leaving directory messages.
4887
* configure.in: Corrected $(GNUMERIC_PLUGIN_LDFLAGS) to
4888
$GNUMERIC_PLUGIN_LDFLAGS.
4890
2004-11-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
4892
* src/gnumeric-gconf.c (go_conf_get_short_desc) return
4893
NULL if we don't have a desription
4894
(go_conf_get_long_desc): ditto
4896
2004-11-07 Jody Goldberg <jody@gnome.org>
4900
2004-11-07 Jody Goldberg <jody@gnome.org>
4903
* src/xml-io.c (xml_read_solver) : handle both formats of constraint
4906
2004-11-05 Jody Goldberg <jody@gnome.org>
4909
* src/gui-util.c (gnumeric_icondir) : use the variable rather than the
4911
* configure.in : The win32 build needs some extra flags for the
4913
* Makefile.am : cheesy hack to build the charting plugins after we
4916
2004-11-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
4918
* src/gnumeric-gconf.h (gnm_gconf_set_autocomplete): new
4919
(gnm_gconf_set_unfocused_rs): new
4920
(gnm_gconf_set_num_recent_functions): new
4921
(gnm_gconf_set_prefer_clipboard): new
4922
* src/gnumeric-gconf.c (gnm_gconf_set_autocomplete): new
4923
(gnm_gconf_set_unfocused_rs): new
4924
(gnm_gconf_set_num_recent_functions): new
4925
(gnm_gconf_set_prefer_clipboard): new
4927
2004-11-06 Andreas J. Guelzow <aguelzow@taliesin.ca>
4929
* src/gnumeric-gconf.h (gnm_gconf_set_gui_resolution_h): new
4930
(gnm_gconf_set_gui_resolution_v): new
4931
* src/gnumeric-gconf.c (gnm_gconf_set_gui_resolution_h): new
4932
(gnm_gconf_set_gui_resolution_v): new
4934
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
4936
* src/gnumeric-gconf.h (gnm_gconf_set_file_overwrite): new
4937
(gnm_gconf_set_file_single_sheet_save): new
4938
(gnm_gconf_set_gui_transition_keys): new
4939
(gnm_gconf_set_gui_livescrolling): new
4940
(gnm_gconf_set_sort_retain_form): new
4941
(gnm_gconf_set_sort_by_case): new
4942
(gnm_gconf_set_sort_ascending): new
4943
(gnm_gconf_set_latex_use_utf8): new
4944
* src/gnumeric-gconf.c (gnm_gconf_set_file_overwrite): new
4945
(gnm_gconf_set_file_single_sheet_save): new
4946
(gnm_gconf_set_gui_transition_keys): new
4947
(gnm_gconf_set_gui_livescrolling): new
4948
(gnm_gconf_set_sort_retain_form): new
4949
(gnm_gconf_set_sort_by_case): new
4950
(gnm_gconf_set_sort_ascending): new
4951
(gnm_gconf_set_latex_use_utf8): new
4952
(gnm_gconf_set_show_sheet_name): new
4954
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
4956
* src/gnumeric-gconf.h (gnm_gconf_set_file_history_number): new
4957
(gnm_gconf_set_max_descriptor_width): change argument to gint
4958
(gnm_gconf_set_xml_compression): new
4959
(gnm_gconf_set_sort_dialog_max_initial): new
4960
(gnm_gconf_set_workbook_nsheets): new
4961
* src/gnumeric-gconf.c (gnm_gconf_set_file_history_number): new
4962
(gnm_gconf_set_max_descriptor_width): change argument to gint
4963
(gnm_gconf_set_xml_compression): new
4964
(gnm_gconf_set_sort_dialog_max_initial): new
4965
(gnm_gconf_set_workbook_nsheets): new
4966
(gnm_gconf_set_undo_size): set current prefs structure
4967
(gnm_gconf_set_undo_max_number): set current prefs structure
4969
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
4971
* src/gnumeric-gconf.c (gnm_gconf_set_hf_font): new
4972
* src/gnumeric-gconf.h (gnm_gconf_set_hf_font): new
4974
2004-11-05 Andreas J. Guelzow <aguelzow@taliesin.ca>
4976
* src/gnumeric-gconf.c (gnm_gconf_set_default_font_name): avoid
4979
2004-11-02 Stepan Kasal <kasal@ucw.cz>
4981
* src/ssconvert.c (main): Don't call gsf_init(); gnm_common_init
4982
will do it (via libgoffice_init) and we don't need it until then.
4984
2004-11-05 Jody Goldberg <jody@gnome.org>
4986
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : ctrl+alt is the
4987
logic place to do symetric movement with the new layout.
4989
2004-11-04 Stepan Kasal <kasal@ucw.cz>
4992
Add AC_ARG_VAR declarations for all variables used in
4993
AC_PATH_PROG or AC_CHECK_PROG.
4994
Clean up the checks for psiconv, perl and python.
4995
Remove the check for jw.
4997
2004-11-05 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
4999
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object): change sheet object
5000
manipulation keybindings to something that is not a psychomotor test.
5002
2004-11-04 Jody Goldberg <jody@gnome.org>
5004
* src/sheet-control-gui.c (scg_mode_edit) : no need to finish editing
5005
if we are not current sheet.
5007
2004-11-03 Jody Goldberg <jody@gnome.org>
5009
* src/ranges.c (global_range_contained) : adjust the signature to
5010
provide a Sheet* context.
5012
2004-11-04 Morten Welinder <terra@gnome.org>
5014
* src/mathfunc.c (lgamma1p): Fix gnm_float buglet.
5016
* src/commands.c (cmd_selection_clear): Fix 157376.
5018
2004-11-04 Andreas J. Guelzow <aguelzow@taliesin.ca>
5020
http://bugzilla.gnome.org/show_bug.cgi?id=157238
5021
http://bugzilla.gnome.org/show_bug.cgi?id=157239
5022
* gnumeric-gconf.h (gnm_gconf_set_gui_window_x): new
5023
(gnm_gconf_set_gui_window_y): new
5024
(gnm_gconf_set_gui_zoom): new
5025
(gnm_gconf_set_default_font_size): new
5026
(gnm_gconf_set_default_font_name): new
5027
(gnm_gconf_set_default_font_bold): new
5028
(gnm_gconf_set_default_font_italic): new
5029
* gnumeric-gconf.c (gnm_gconf_set_gui_window_x): new
5030
(gnm_gconf_set_gui_window_y): new
5031
(gnm_gconf_set_gui_zoom): new
5032
(gnm_gconf_set_default_font_size): new
5033
(gnm_gconf_set_default_font_name): new
5034
(gnm_gconf_set_default_font_bold): new
5035
(gnm_gconf_set_default_font_italic): new
5037
2004-11-03 Jody Goldberg <jody@gnome.org>
5039
* configure.in : fix the python test and sync it with the perl test
5041
2004-11-02 Jody Goldberg <jody@gnome.org>
5043
* configure.in : extend the test for perl
5045
* src/sheet-control-gui.c (cb_collect_objects_to_commit) : set the
5046
anchor of objects that are not rubber banded directly.
5047
* src/gnumeric-pane.c (cb_clear_indirect_rubber_bands) : Merge into
5048
cb_collect_objects_to_commit.
5050
2004-11-02 Andreas J. Guelzow <aguelzow@taliesin.ca>
5052
http://bugzilla.gnome.org/show_bug.cgi?id=156732
5053
* src/gnumeric-gconf.c (gnm_gconf_set_recent_funcs):
5054
also adjust the pref structure.
5056
2004-11-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
5058
* src/rendered-value.c (rendered_value_get_text):
5061
2004-11-01 Jody Goldberg <jody@gnome.org>
5063
* configure.in : post release bump
5065
2004-10-31 Jody Goldberg <jody@gnome.org>
5069
2004-11-01 Yukihiro Nakai <nakai@gnome.gr.jp>
5071
* configure.in: Enable perl plugins
5072
* plugins/Makefile.am: Add perl-func, perl-loader
5074
2004-11-01 Jody Goldberg <jody@gnome.org>
5076
* src/Makefile.am : DISTCLEAN GNOME_Gnumeric-gtk.xml it is generated
5078
2004-09-15 Stepan Kasal <kasal@ucw.cz>
5080
* configure.in: Add test for zlib, inspired by libxml2's configure.in;
5081
this is needed to link excel.la correctly against libz, if it is
5082
available only as a static library, not as a dynamic one.
5084
2004-11-01 Morten Welinder <terra@gnome.org>
5086
* src/gui-clipboard.c (text_to_cell_region): Fix type confusion.
5088
* src/dependent.c (dependents_unrelocate): Don't access sheet
5089
member in union unless there is supposed to be one.
5091
2004-11-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
5093
* src/gui-util.h (gnm_iter_search_t): new type
5094
(gnm_tree_model_iter_prev): new
5095
* src/gui-util.c (gnm_tree_model_iter_prev): new
5097
2004-10-30 Stepan Kasal <kasal@ucw.cz>
5099
A cleanup of ssconvert; don't require Gnome.
5101
* src/ssconvert.c (list_them): New general function which lists
5102
importers or exporters.
5103
(convert): New function; the main functionality moved here.
5104
(mail): Use the above functions; call gsf_init and don't use
5105
Gnome-specific functions.
5107
2004-09-13 Stepan Kasal <kasal@ucw.cz>
5109
* configure.in: Don't use test's operators -a and -o, they aren't
5110
portable. A small cleanup of the python detection code.
5112
2004-10-31 Jody Goldberg <jody@gnome.org>
5114
* src/format.c (cb_attrs_as_string) : new.
5115
(gnm_format_parse_markup) : parse the content generated above
5116
(style_format_new_XL) : handle markup formats
5118
2004-10-30 Jody Goldberg <jody@gnome.org>
5120
* src/formats.c (cell_format_classify) : handle the quick cheesy hack
5121
to persist attr lists.
5123
2004-10-28 Jody Goldberg <jody@gnome.org>
5125
* src/workbook-control-gui.c (wbcg_update_action_sensitivity) :
5126
renamed from wbcg_edit_set_sensitive (still a bogus title given that
5127
we have related functionality in several places). Moved the logic
5128
to define what should be sensitive here, rather than from the model.
5129
This allows us to reconfigure on sheet changes.
5131
2004-10-28 Jody Goldberg <jody@gnome.org>
5133
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : up/down where
5136
2004-10-29 Jody Goldberg <jody@gnome.org>
5138
* src/workbook.c (workbook_set_dirty) : update the title if dirtiness
5141
* src/workbook-control.c (wb_control_update_title) : Add a HIGy '*'
5142
for modified documents.
5144
* src/io-context-gtk.c : include string.h to avoid warning
5146
* src/sheet-control-gui.c (scg_cursor_extend) : finish the edit before
5149
* src/item-edit.c (ie_layout) : handle zoom
5151
2004-10-29 Morten Welinder <terra@gnome.org>
5153
* src/io-context-gtk.c (icg_processing_file): Since the progress
5154
bar truncates text at the right, limit the text we set to 40
5155
characters (give or take) to ensure that the basename can be seen.
5157
* src/plugin-service.c (plugin_service_ui_finalize): Free actions
5158
using the right kind of freer.
5160
* src/wbc-gtk.c (wbc_gtk_init): Create custom_uis table here.
5161
(wbc_gtk_finalize): Destroy it here.
5163
* src/stf-export.c (stf_export_sheet): Plug leak.
5165
2004-10-29 Jody Goldberg <jody@gnome.org>
5167
* src/wbc-gtk.c (cb_add_custom_ui) : fix unmerging
5169
2004-10-29 Jody Goldberg <jody@gnome.org>
5171
* src/gnumeric-gconf.c (gnm_conf_init_extras) : typos in the broken
5174
2004-10-29 Jody Goldberg <jody@gnome.org>
5176
* src/format.c (append_hour) : be XL compat
5178
2004-10-29 Jody Goldberg <jody@gnome.org>
5180
* src/file-autoft.c : clean up the handling of translations
5181
* src/format-template.c (format_template_new) : Name should be
5182
translatable, not translated.
5184
2004-10-29 Jody Goldberg <jody@gnome.org>
5186
* src/application.c (gnm_action_new) : new
5187
(gnm_action_free) : ditto
5188
(gnm_app_add_extra_ui) : ditto
5189
(gnm_app_remove_extra_ui) : ditto
5190
(gnm_app_foreach_extra_ui) : ditto
5192
* configure.in : enable the sample ui plugin
5193
* plugins/Makefile.am : ditto
5194
* plugins/python-loader/boot.c : ditto
5195
* plugins/python-loader/py-console.c : ditto
5196
* plugins/python-loader/python-loader.c : ditto
5198
2004-10-27 Jody Goldberg <jody@gnome.org>
5200
* src/plugin-service.c : enable the ui service.
5201
* plugins/gnome-db/plugin-gnomedb.c : Use the new interface for the ui
5204
* src/sheet-object-graph.c (sheet_object_graph_default_size) : be
5205
cheesy. We're setting the bounds in so many places before this is
5206
called that it's not safe to use the defaults from GogRenderer. Not
5207
a huge loss, those were pretty arbitrary.
5209
2004-10-26 Jody Goldberg <jody@gnome.org>
5211
* src/libgnumeric.c (gnm_pre_parse_init) : Set the default
5212
datadir/libdir based on the packge for WIN32
5214
2004-10-28 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
5216
* plugins/excel/ms-chart.c (BC_R): handle dash_type property.
5217
(ms_excel_chart_read): use GO_LINE_NONE ofr invisible lines.
5219
2004-10-27 Morten Welinder <terra@gnome.org>
5221
* src/complex.c (complex_div, complex_sqrt): Improve accuracy.
5223
* src/gui-file.c (go_file_is_writable): Use G_IS_DIR_SEPARATOR
5224
instead of comparing to G_DIR_SEPARATOR.
5226
2004-10-27 J.H.M. Dassen (Ray) <jdassen@debian.org>
5228
* gnumeric.desktop.in, gnumeric.keys.in: Changed
5229
"comma-separated-values" to "text/comma-separated-values", as a "MIME
5230
type" without a slash in it is rejected by "update-desktop-database".
5232
2004-10-26 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
5234
* schemas/gnumeric-dialogs.schemas.in: Fixed Typo
5236
2004-10-26 Morten Welinder <terra@gnome.org>
5238
* src/mathfunc.c (pgamma): Fix various accuracy problems for
5241
* Makefile.am (gnumeric.desktop): Use %U or %F for Exec as
5244
2004-10-25 Yukihiro Nakai <nakai@gnome.gr.jp>
5246
* src/plugin-loader.c: (gnm_plugin_loader_load_base)
5247
Don't crash but warn when no load_base method.
5248
* src/plugin-service.c: (plugin_service_function_group_func_desc_load)
5249
Don't crash but warn when no func_desc_load method.
5251
2004-10-21 Morten Welinder <terra@gnome.org>
5253
* src/mathfunc.c (logfbit): Make global.
5255
2004-10-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
5257
* src/stf.c: (stf_apply_formats): use unsigned int
5258
* src/stf-parse.h: make col_import_array_len unsigned
5260
2004-10-21 Jean Brefort <jean.brefort@normalesup.org>
5261
* src/dialogs/dialog-solver.c: (revert_constraint_format): make constraints
5262
display correctly in all circumstances.
5264
2004-10-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
5266
http://bugzilla.gnome.org/show_bug.cgi?id=139385
5267
* src/stf-parse.c (stf_parse_options_new) initialize
5269
(stf_parse_sheet): set cols_exceeded
5270
* src/stf-parse.h: add cols_exceeded to StfParseOptions_t
5271
* src/stf.c (stf_apply_formats): remove warning
5272
(stf_read_workbook_auto_csvtab): show warning if
5273
cols_exceeded is set.
5275
2004-10-21 Yukihiro Nakai <nakai@gnome.gr.jp>
5277
* src/format-template.c: (xml_read_format_template_members)
5278
Gettextize author,name,descr field.
5280
* templates/autoformat/: Move xml to xml.in and gettextize them
5282
2004-10-20 Andreas J. Guelzow <aguelzow@taliesin.ca>
5284
* schemas/gnumeric-general.schemas.in: change recalclag
5287
2004-10-20 Andreas J. Guelzow <aguelzow@taliesin.ca>
5289
* src/stf-parse.c (stf_parse_options_new): initialize
5290
col_import_array_len
5291
(stf_parse_sheet): make sure we don't index beyond the end
5292
of the col_import_array
5293
(stf_parse_region): ditto
5294
* src/stf.c (stf_apply_formats): ditto
5295
* src/stf-parse.h: add col_import_array_len to StfParseOptions_t
5297
2004-10-21 Yukihiro Nakai <nakai@gnome.gr.jp>
5299
* src/plugin-loader.c (gnm_plugin_loader_load_service):
5300
Output error when no set_attributes method.
5302
2004-10-20 Morten Welinder <terra@gnome.org>
5304
* src/gui-clipboard.c (x_clipboard_get_cb): Crash protection.
5306
* src/clipboard.c (cellregion_to_string): Add extra argument
5309
2004-10-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
5311
* src/.cvsignore: add GNOME_Gnumeric-gtk.xml
5313
2004-10-19 Andreas J. Guelzow <aguelzow@taliesin.ca>
5315
http://bugzilla.gnome.org/show_bug.cgi?id=132876
5316
* src/print.c (sheet_print): make the print dialog semi-modal.
5317
(dialog_destroy): new
5318
(dialog_response): new
5319
(sheet_print_real): new
5321
2004-10-19 Morten Welinder <terra@gnome.org>
5323
* src/Makefile.am (GNOME_Gnumeric-gtk.xml): Create this using a
5324
sed script for now. We seem to have relied on intltool bugs not
5325
present in all versions.
5327
* src/print-info.c (render_path): Use go_dirname_from_uri.
5329
* src/workbook-view.c (cb_cleanup_sendto): Remove directory using
5332
* src/gui-file.c (go_file_is_writable): Use go_dirname_from_uri.
5334
2004-10-18 Jody Goldberg <jody@gnome.org>
5336
* src/print-info.c (print_info_dup) : copy the margins.
5338
2004-10-16 Yukihiro Nakai <nakai@gnome.gr.jp>
5340
* src/GNOME_Gnumeric-gtk.xml: Obsolete
5341
* src/GNOME_Gnumeric-gtk.xml.in: Newly added for gettextize.
5342
* src/wbc-gtk.c: Gettextize the toolbar.
5344
2004-10-18 Jody Goldberg <jody@gnome.org>
5346
http://bugzilla.gnome.org/show_bug.cgi?id=152516
5347
* src/sheet-control-gui.c (scg_context_menu) : minor string change
5348
It is clearer to say 'Cells' for insert and delete.
5350
2004-10-16 Jody Goldberg <jody@gnome.org>
5352
* src/gnumeric-pane.c (gnm_pane_object_register) : Take a 'selectable'
5353
argument to enable/disable the view selection mechanism. This
5354
routine is still useful for setting up bounds handlers.
5356
2004-10-16 Jody Goldberg <jody@gnome.org>
5358
* src/print-info.c : delay the creation of a GnomePrintConfig until it
5359
is really necessary.
5361
2004-10-16 Jody Goldberg <jody@gnome.org>
5363
* src/func.c (function_call_with_list) : Everything can now return an
5364
empty during evaluation.
5366
2004-10-16 Jody Goldberg <jody@gnome.org>
5368
* src/sheet-object-cell-comment.c (cell_comment_new_view) : add
5369
bounds-changed handler.
5370
(cell_comment_event) : This now takes a GnmPane, not an scg.
5372
* src/sheet-object-cell-comment.c : Add a text property.
5374
2004-10-14 Morten Welinder <terra@gnome.org>
5376
* src/gutils.c (gnm_usr_dir): Use g_build_filename. Note, that
5377
this means that we return the result without a terminating slash.
5379
2004-10-13 Morten Welinder <terra@gnome.org>
5381
* src/sheet-object-widget.c (SOW_MAKE_TYPE): Add arguments for
5383
(SheetWidgetButton): Add markup member.
5384
(sheet_widget_button_get_property,
5385
sheet_widget_button_set_property): New functions.
5387
2004-10-13 Jean Brefort <jean.brefort@normalesup.org>
5389
* src/graph.c: (gnm_go_data_vector_load_values),
5390
(gnm_go_data_matrix_load_values): fixes VALUE_STRING case, if a value
5391
is found, take it into account for minimum and maximum.
5393
2004-10-13 Morten Welinder <terra@gnome.org>
5395
* src/wbc-gtk.c (regenerate_window_menu): Escape underscore in
5398
2004-10-11 Jody Goldberg <jody@gnome.org>
5400
* src/sheet.c (sheet_rename) : tell each view to update its edit line
5401
in case the editline is displaying an expression that references the
5404
* src/commands.c (update_after_action) : Take a Workbook and run an
5405
update on the current sheet for each control.
5407
2004-10-11 Morten Welinder <terra@gnome.org>
5409
* src/parser.y (gnm_expr_parse_str): Revive logic to add missing
5412
* src/gnumeric-pane.c (gnm_pane_release): Plug leak.
5414
2004-10-10 Jody Goldberg <jody@gnome.org>
5416
* src/sheet-object-widget.c : Add a ToggleButton type.
5417
(sheet_widget_checkbox_get_ref) : weaken to allow relative references
5418
and assume they are relative to A1.
5419
(sheet_widget_adjustment_get_ref) :
5421
2004-10-10 Jody Goldberg <jody@gnome.org>
5423
* gnumeric.spec.in : Let's stick with fedora core package names as the
5424
defacto standard until something better presents itself. There are
5425
still no guarantees that this works.
5427
2004-10-09 Jody Goldberg <jody@gnome.org>
5429
* src/gnumeric-pane.c (cb_sheet_object_widget_canvas_event) :
5430
Simplify. There's no need to select the object here. We've
5431
already handled it in the main handler (cb_sheet_object_canvas_event)
5433
2004-10-09 Jean Brefort <jean.brefort@normalesup.org>
5435
* src/graph.c: (gnm_go_data_matrix_eval),
5436
(gnm_go_data_matrix_finalize), (gnm_go_data_matrix_load_size),
5437
(cb_assign_matrix_val), (gnm_go_data_matrix_load_values),
5438
(gnm_go_data_matrix_get_value), (gnm_go_data_matrix_get_str),
5439
(gnm_go_data_matrix_class_init), (gnm_go_data_matrix_debug_name),
5440
(gnm_go_data_matrix_init), (gnm_go_data_matrix_new_expr),
5441
(gnm_go_data_get_dep): New GnmGODataMatrix class.
5442
* src/graph.h: ditto.
5443
* src/selection.c: (sv_selection_to_plot): updated to use GnmGODataMatrix
5445
* src/sheet-object.c: (sheet_objects_init): ditto.
5446
* src/workbook-control-gui.c: (cb_graph_dim_editor_update),
5447
(wbcg_data_allocator_editor): ditto.
5449
2004-10-08 Jody Goldberg <jody@gnome.org>
5451
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) : throw in
5452
support for tabbing fwd/back through the list of objects.
5454
* src/sheet-object-widget.c (sheet_widget_checkbox_create_widget) :
5455
Tweak to support toggle buttons too
5457
2004-10-08 Jody Goldberg <jody@gnome.org>
5459
* src/sheet-object.c : Add a SheetObjectView interface and use it to
5460
give us more control over things.
5462
* src/workbook-control-gui.c (wbcg_zoom_feedback) : no need to
5463
reposition objects manually here.
5465
* src/print.c (print_sheet_objects) : Use sheet_object_can_print.
5467
* src/gutils.c : Clean up the name spacing
5469
* src/sheet-filter.c : Support the new SheetObjectView interface
5470
* src/sheet-object-cell-comment.c : ditto
5471
* src/sheet-object-graph.c : ditto
5472
* src/sheet-object-image.c : ditto
5473
* src/sheet-object-widget.c : ditto
5475
* src/gnumeric-canvas.c (gnm_canvas_key_mode_object) :
5476
- arrow moves the objects
5477
- ctrl arrow expands an edge
5478
- shift ctrl arrow shrinks an edge
5480
* src/commands.c (CmdObjectInsert) : delete
5481
(CmdObjectDelete) : Rename to CmdObjectsDelete and handle multiples
5482
(CmdObjectMove) : Rename to CmdObjectsMove and handle multiples
5484
* src/application.c (gnm_app_clipboard_cut_copy_obj) : handle multiple
5486
* src/gnumeric-pane.c : ditto.
5487
* src/sheet-control-gui.c : ditto.
5488
* src/item-grid.c : ditto. Also there is no need to handle object
5489
creation here as a special case just use the object editing
5492
* src/sheet-object.c (sheet_object_anchor_init) : pick a default that
5493
we've actually implemented.
5495
2004-10-08 Morten Welinder <terra@gnome.org>
5497
* src/rangefunc.c (range_hypot): New function.
5499
* src/workbook.c (workbook_sheet_unhide_controls): New function.
5501
* src/sheet.c (sheet_set_visibility): Call
5502
workbook_sheet_unhide_controls as appropriate.
5504
* src/gui-file.c (gui_file_open): Start browsing in the same
5505
directory as the workbook from which we initiated the open.
5507
* src/commands.c (cmd_paste_cut_update_origin,
5508
update_after_action): Use workbook_autorecalc.
5510
* src/workbook.c (workbook_autorecalc): New function.
5512
2004-10-07 Morten Welinder <terra@gnome.org>
5514
* src/cmd-edit.c (sv_select_cur_inputs): Implement.
5516
* src/expr.c (gnm_expr_get_ranges): Implement.
5518
2004-10-06 Jon K Hellan <hellan@acm.org>
5520
* src/workbook-control-gui.c (show_gui): Maximize when preferred
5521
size is larger than screen.
5523
2004-10-05 Jody Goldberg <jody@gnome.org>
5525
* configure.in : post release bump
5527
2004-10-05 Jody Goldberg <jody@gnome.org>
5531
2004-10-05 Jon K Hellan <hellan@acm.org>
5533
* configure.in (gnumeric_reqs): Add pangoft2 requirement. (Fixes
5536
2004-10-04 Jody Goldberg <jody@gnome.org>
5538
* configure.in : Add a test for mkfifo
5540
2004-09-13 Stepan Kasal <kasal@ucw.cz>
5542
* configure.in: Cleanup the mono detection code. This way it
5543
won't get to the ``configure --help'' which is good for the
5544
upcoming stable release.
5546
2004-10-01 Jody Goldberg <jody@gnome.org>
5548
* src/colrow.c (colrow_set_sizes) : no need to calculate the size if
5549
we're assigning the default. Clean up the logic for assigning the
5551
1) Not assign to an empty col/row
5552
2) Break XL compat and have autosize of empty do the same thing for
5555
2004-10-01 Morten Welinder <terra@gnome.org>
5557
* src/gui-file.c (gui_file_open): Specifically list "*.csv" and
5558
"*.tsv" until we get a proper fix. (Fixes #143135.)
5560
2004-09-29 Morten Welinder <terra@gnome.org>
5562
* src/gui-file.c (go_file_is_writable): Make the file-exist dialog
5563
use GTK_MESSAGE_WARNING and have buttons OK and Cancel.
5564
(gui_file_save_as): Cleaup.
5565
(do_save_as): Cleanup and move parts up to sole caller.
5567
* src/Makefile.am: Link in egg-recent.
5569
* src/clipboard.c (clipboard_copy_range): Fix
5570
gboolean/CellIterFlags confusion.
5571
* src/workbook-control-gui.c (cb_workbook_debug_info): Ditto.
5572
* src/sheet-view.c (sv_is_region_empty_or_selected): Ditto.
5573
* src/print.c (print_page): Ditto.
5575
* src/sheet.c (sheet_foreach_cell_in_range): Don't consider a cell
5576
with an un-evaluated expression empty. Add paranoia.
5578
2004-09-29 Jody Goldberg <jody@gnome.org>
5580
* src/commands.c (cmd_object_move) : extend to handle insertion too.
5582
* src/gnumeric-pane.c (cb_control_point_event) : Play fast and lose
5583
with the undo records when duplicating an object by ctrl-click.
5584
Assign the object the sheet as soon as we duplicate it but do not
5585
list the undo until we record the resize on button release.
5587
* src/workbook-view.c (gnm_mailto_url_show) : fix.
5589
* src/session.c : suppress warning in the --without-gnome case
5591
* src/sheet-control-gui.c (scg_set_current_object) : new. uses the
5592
handy dandy unrealized signal on a SheetObject. With code split from
5593
(scg_object_stop_editing) : here.
5594
(scg_mode_edit_object) : and here.
5595
* src/gnumeric-pane.c (cb_control_point_event) : so that we could use
5598
2004-09-28 Jody Goldberg <jody@gnome.org>
5600
* src/sheet-control-gui.c (scg_mode_edit_object) : fall back to edit
5601
mode if the object is unrealized.
5603
* src/sheet-object.c (sheet_object_clear_sheet.) : merge some of the
5604
nice features from finalize
5605
(sheet_object_finalize) : use sheet_object_clear_sheet.
5606
* src/sheet.c (sheet_destroy) : ditto.
5608
* src/gnumeric-pane.c (cb_control_point_event) : Make the copy
5609
operation undo-able.
5611
2004-09-28 Morten Welinder <terra@gnome.org>
5613
* configure.in: Add check for pango_context_set_matrix. We're
5614
going to need that for rotated text.
5616
2004-09-28 Jody Goldberg <jody@gnome.org>
5618
* src/commands.c (cmd_object_raise_redo) : Don't use MAXINT/MININT it
5619
causes trouble becaue -MININT is not expressable
5621
2004-09-28 Jody Goldberg <jody@gnome.org>
5623
http://bugzilla.gnome.org/show_bug.cgi?id=153871
5624
* src/gnm-so-filled.c (cb_filled_update_bounds) : line width counts
5627
* src/commands.c (cmd_object_delete) : Take an optional descriptor
5628
string. All callers changed.
5630
* src/application.c (gnm_app_clipboard_cut_copy_obj) : Use
5631
cmd_object_delete for cuts to get undo.
5633
* src/sheet-object.c (sheet_objects_relocate) : properly clear the
5634
sheet before we unref an object.
5635
(sheet_objects_get) : use range_contained.
5636
(sheet_objects_clear) : ditto. This simplifies undo/redo.
5638
2004-09-27 Jody Goldberg <jody@gnome.org>
5640
* src/application.c (gnm_app_clipboard_cut_copy_obj) : translate the
5641
anchor back to a pseudo origin to make pasting easier.
5643
* src/clipboard.c (clipboard_paste_region) : handle paste contents
5644
with only objects. No need to do tiling or to clear things.
5646
* src/gutils.c (gnm_ptr_array_insert) : Make this smarter.
5647
Just append if the requested element is >= len
5649
* src/item-grid.c (item_grid_event) : only auto-slide when we're
5650
outside. Inside we handle it locally fixes artificial movement that
5651
seems to jump back to the start of the previous row/col
5653
* src/gnumeric-pane.c (cb_control_point_event) : Store the button that
5654
initiated the object drag and check that when releasing.
5656
* src/commands.c (cmd_paste_copy) : handle pasting objects with no
5659
* src/gutils.h : Fix the name spacing to be gnm_ in all cases.
5660
gnumeric_ is too damn big, and we have not business using g_
5661
* src/gutils.c (gnm_usr_dir) : Check for empty home_dir
5663
* src/graph.c (gnm_go_data_vector_load_len) : handle missing
5666
* src/gnm-so-filled.c (gnm_so_filled_read_xml_dom) : We still need to
5667
Type field even though it is ugly.
5669
* src/xml-io.c (xml_cellregion_write) : cut-n-paste-o to fix
5670
inter-process pasting
5671
(xml_cellregion_read) : Actually store the resulting objects
5672
(xml_read_sheet_object) : Don't set the sheet when extracting a
5675
2004-09-27 Morten Welinder <terra@gnome.org>
5677
* src/workbook-view.c (wb_view_sendto): Bring !WITH_GNOME case a
5678
lot closer to sanity. Properly handle case where mkdir fails.
5679
(gnm_mailto_url_show): New function factored out from
5682
2004-09-27 Jody Goldberg <jody@gnome.org>
5684
* configure.in : drop the test for caddr_t we do not need it and it
5685
does not work win32.
5686
Export the epoch, major, minor version elements
5688
* src/workbook-view.c (wb_view_sendto) : a win32 portability patch for
5691
2004-09-26 Jody Goldberg <jody@gnome.org>
5693
* src/xml-io.c (gnumeric_xml_write_workbook) : respect the xml
5694
compression preference a bit. It's still uncompressed, or
5695
compressed. We'll need to patch gsf to be able to tune that
5698
2004-09-26 Jody Goldberg <jody@gnome.org>
5700
* src/workbook-view.c (wb_view_sendto) : encode the right portion of
5703
2004-09-26 Jody Goldberg <jody@gnome.org>
5705
* src/workbook-view.c (wb_view_sendto) : cleanup and use the new url
5708
2004-09-26 Jody Goldberg <jody@gnome.org>
5710
* src/GNOME_Gnumeric-gtk.xml : Add InsertCurrentDateTime
5712
* src/wbcg-actions.c (cb_insert_current_date_time) : new
5714
* src/format.c (style_format_default_date_time) : new return
5715
concatination of default date and time formats
5717
2004-09-26 Jody Goldberg <jody@gnome.org>
5719
* src/workbook-view.c (wbv_save_to_uri) : renamed from wbv_save_to_file
5720
to clarify that it does not work for a simple path.
5721
(wb_view_sendto) : fix to use a uri.
5723
2004-09-26 Jody Goldberg <jody@gnome.org>
5725
* src/gnumeric-pane.c (cb_sheet_object_canvas_event) : Use the pane in
5726
GnmCanvas rather than adding one to GnmSimpleCanvas
5728
2004-09-26 Jody Goldberg <jody@gnome.org>
5730
* src/gnumeric-pane.c (gnm_pane_object_move) : handle symetric
5731
movement via ctrl-click and object duplicate via ctrl-click on
5734
* src/gnumeric-pane.c (build_so_menu) : new
5735
(display_object_menu) : create a GtkMenu based on the actions.
5737
* src/sheet-object.c (sheet_object_populate_menu) : Rework the
5738
interface to return action descririptors rather than a GtkMenu
5739
Change all implementations
5741
2004-09-26 Jody Goldberg <jody@gnome.org>
5743
* src/xml-io.c (xml_cellregion_read) : read objects
5744
(xml_cellregion_write) : write them too
5746
2004-09-25 Jody Goldberg <jody@gnome.org>
5748
* src/wbcg-actions.c (cb_edit_copy) : Use
5749
gnm_app_clipboard_cut_copy_obj for objects
5750
(cb_edit_cut) : ditto.
5752
* src/sheet-object.c (sheet_object_populate_menu) : put the stacking
5753
items into a sub menu.
5755
2004-09-24 Jody Goldberg <jody@gnome.org>
5757
* src/clipboard.c (paste_object) : new.
5758
(clipboard_paste_region) : use it.
5759
(cb_dup_objects) : new.
5760
(clipboard_copy_range) : dup the objects in the range.
5761
(cellregion_new) : init the object list
5762
(cellregion_unref) : free the object list
5764
* src/sheet-object.c (sheet_object_dup) : make public, and tweak
5766
(sheet_object_clone_sheet) : adjust to the interface change.
5768
2004-09-24 Jody Goldberg <jody@gnome.org>
5770
* src/sheet-object-image.c (sheet_object_image_copy) : implement
5772
* src/wbcg-actions.c : update the actions to handle the new drawing
5775
* src/sheet-object.c (sheet_object_clone) : Change the interface to
5776
have the wrapper create the object. Then s/clone/copy/ and have it
5777
just do the assignament rather, not allocation.
5778
* src/sheet-object*.c : s/clone/copy/ with related semantic changes
5780
* src/rendered-value.c (rendered_value_render) : trivial
5783
* src/main-application.c (main) : Use bonobo_main WITH_GNOME just in
5786
* src/gnumeric-pane.c (gnm_pane_object_register) : Change return type
5787
to GObject. There's no need to be more specific.
5788
(gnm_pane_widget_register) : ditto.
5790
* src/gnm-so-filled.c : Rewrite of the old SheetObjectGraphic
5791
to use GogStyle, merge text into the base, and use GObject properties
5792
* src/gnm-so-line.c : Rewrite of the old SheetObjectFilled
5793
to use GogStyle and use GObject properties
5795
* src/Makefile.am : Adjust to the file changes for
5796
sheet-object-graphic.c
5798
2004-09-13 Stepan Kasal <kasal@ucw.cz>
5800
* configure.in (GCONF_SCHEMAS_INSTALL): AM_CONDITIONAL has to be
5801
called in all branches.
5803
2004-09-24 Jody Goldberg <jody@gnome.org>
5805
* src/xml-io.c (xml_read_sheet_object) : add hooks to the old names
5806
for GnmSOFilled, and GnmSOLine
5808
2004-09-23 Jody Goldberg <jody@gnome.org>
5810
* src/commands.c (cmd_object_format) : undo redo for the new line and
5813
2004-09-23 Jody Goldberg <jody@gnome.org>
5815
* configure.in (GNUMERIC_PLUGIN_LDFLAGS) : new macro to give the win32
5816
folk a hook for the plugins.
5817
* plugins/*/Makefile.am : Use it
5818
* plugins/*/plugin.xml.in : Remove the .la for module names. Core of
5819
glib adds just before checking platform specific names.
5821
2004-09-23 Jody Goldberg <jody@gnome.org>
5823
* src/wbcg-actions.c (cb_view_zoom_out) : in and out were reversed
5824
(cb_view_zoom_in) : ditto
5826
2004-09-24 Morten Welinder <terra@gnome.org>
5828
* src/print-cell.c (print_cell): New wrapper function. Turn on
5829
new printing by default.
5831
* src/gui-util.c (entry_to_int): Plug leak.
5832
(entry_to_float_with_format): Plug leak.
5834
2004-09-23 Morten Welinder <terra@gnome.org>
5836
* src/gui-util.c (cb_activate_default): New function to avoid
5838
(gnumeric_editable_enters): Activate via cb_activate_default.
5840
* src/rendered-value.c (rendered_value_recontext): Don't require
5841
Pango 1.6, but use it if we have it.
5843
2004-09-23 Morten Welinder <terra@gnome.org>
5845
* src/rendered-value.c (rendered_value_recontext): Force
5846
wrap==FALSE when the source layout has only one line.
5847
(Mostly fixes #152265)
5849
* src/rendered-value.h (struct _RenderedValue): switch
5850
layout_natural_width and layout_natural_height be in terms of
5851
pango units. All users changed.
5853
* src/cell-draw.c (cell_calc_layout): Switch srguments width,
5854
height, h_center, res_x, and res_y to be in terms of pango units.
5855
Ditto for internal variables rect_x, rect_y, hoffset, indent, and
5856
text_base. All callers changed.
5858
2004-09-23 Morten Welinder <terra@gnome.org>
5860
* src/rendered-value.c (rendered_value_remeasure): New function.
5861
(rendered_value_new): Use rendered_value_remeasure.
5862
(rendered_value_recontext): New function.
5864
* src/cell-draw.c (cell_calc_layout): Use
5865
rendered_value_remeasure.
5867
* src/print-cell.c (print_cell_NEW): Use rendered_value_recontext.
5869
2004-09-22 Morten Welinder <terra@gnome.org>
5871
* src/colrow.c (cb_clear_variable_width_content): Force a redraw.
5873
* src/cell-draw.c (cell_calc_layout): Drop rect argument. Replace
5874
printing argument by y_direction argument. Drop x1 and y1
5875
arguments. Callers changed.
5876
(cell_calc_layout): Insert zero_width_space characters in the
5879
* src/print-cell.c (print_cell_NEW): Use size_pts.
5881
2004-09-22 Morten Welinder <terra@gnome.org>
5883
* src/print-cell.c (print_merged_range, print_cell): Take extra
5884
PangoContext argument. All callers changed.
5885
(print_cell_range): Create a pango context.
5887
(print_cell_OLD): Renamed from print_cell.
5888
(print_cell_NEW): New function.
5889
(print_cell): New macro to call _OLD or _NEW as appropriate.
5891
* src/rendered-value.c (rendered_value_new): Get rid of quantify
5894
2004-09-22 Morten Welinder <terra@gnome.org>
5896
* src/cell-draw.c (cell_draw): Get rid of quantify artefacts.
5897
(cell_calc_layout): Add rv and printing arguments, drop res_layout
5898
argument. Make extern. Caller changed.
5900
2004-09-21 Morten Welinder <terra@gnome.org>
5902
* src/print.c (print_hf_element): Print using pango layouts when
5903
possible. Code adapted from bug #152939, kzamir@walla.co.il.
5905
2004-09-16 Jody Goldberg <jody@gnome.org>
5907
* src/sheet.c (cb_clear_rendered_cells) : fix the 'Serious Error'
5908
warnings on zoom changes.
5910
* src/workbook-control-gui.c (wbcg_create_status_area) : drop some
5911
frames in the status area and use GtkStatusbar to get the resize grip
5913
http://bugzilla.gnome.org/show_bug.cgi?id=152636
5914
* src/style.c (style_font_new_simple) : sizes in pts should not
5915
include the zoom scaling, pretend that we actually measure that.
5917
http://bugzilla.gnome.org/show_bug.cgi?id=152244
5918
* src/sheet-object.c (cell_offset_calc_pixel) : return double to avoid
5919
problems when we are at integer-epsilon, which would round to
5920
integer-1 and systematicly lose precision.
5921
* src/sheet-control-gui.c (scg_object_view_position) : Use
5922
foo_canvas_window_to_world instead of foo_canvas_w2c to move the
5923
pixels back into canvas space.
5925
http://bugzilla.gnome.org/show_bug.cgi?id=152512
5926
* src/gnumeric-pane.c (control_point_set_cursor) : new.
5927
(cb_control_point_event) : use it.
5928
(new_control_point) : no longer a need to specify the cursor
5929
(set_item_x_y) : ditto.
5930
(gnm_pane_object_set_bounds) : cursor are dynamic now.
5931
(set_acetate_coords) : ditto.
5933
2004-09-14 Morten Welinder <terra@gnome.org>
5935
* src/sheet-object-image.c (soi_get_image_fmt): g_free is a poor
5936
substitute for g_slist_free.
5938
2004-09-10 Jody Goldberg <jody@gnome.org>
5940
* src/commands.c (cmd_colrow_hide_correct_selection) : disable because
5943
* src/wbcg-actions.c : Add ctrl-9, ctrl-shift-9 (hide,unhide rows)
5944
Add ctrl-0, ctrl-shift-0 (hide,unhide cols)
5946
* src/wbc-gtk.c (cb_add_menus_toolbars) : toggle std toolbar should be
5949
2004-09-10 Morten Welinder <terra@gnome.org>
5951
* src/workbook.c (workbook_new): Generate a proper URI here.
5953
2004-09-09 Jody Goldberg <jody@gnome.org>
5955
* configure.in : Post release bump
5957
2004-09-08 Jody Goldberg <jody@gnome.org>
5961
2004-09-08 Jody Goldberg <jody@gnome.org>
5963
* src/workbook-control-gui.c (wbcg_toggle_visibility) : remember
5964
whether to keep a toolbar when in fullscreen mode.
5965
(cb_visibility) : simplify.
5967
* src/wbcg-actions.c (cb_view_fullscreen) : new.
5968
(cb_help_irc) : throw something together.
5970
* src/wbc-gtk.c (wbc_gtk_create_status_area) : hide statusbar by
5971
default in fullscreen mode.
5972
(cb_add_menus_toolbars) : hide toolbars by default in fullscreen mode.
5973
(cb_toolbar_activate) : simplify.
5974
(cb_handlebox_visible) : ditto.
5975
(cb_toggle_visibility) : new.
5976
(cb_wbcg_window_state_event) : handle fullscreen transitions.
5977
(wbc_gtk_init) : init the window_state_event handler.
5979
2004-09-08 Jody Goldberg <jody@gnome.org>
5981
* src/stf.c (csv_tsv_probe) : accept files < 80 characters long
5983
2004-09-08 Andreas J. Guelzow <aguelzow@taliesin.ca>
5985
* src/wbcg-actions.c: Correct Z-Test menu item description and
5986
title. We do not allow large sample calculations.
5988
2004-09-07 Jody Goldberg <jody@gnome.org>
5990
* src/pixmaps/Makefile.am : Move to the splash for 1.4
5992
2004-09-07 Jon K Hellan <hellan@acm.org>
5994
* src/gui-util.[hc] (gnumeric_notice, gnumeric_notice,
5995
gnumeric_dialog_run, gnumeric_error_info_dialog_show): Replace
5996
WorkboookControlGUI first paremeter with GtkWindow.
5998
* src/gui-file.c (go_file_is_writable, gui_get_image_save_info,
5999
check_multiple_sheet_support_if_needed, do_save_as,
6000
gui_file_save_as): Use updated gui-utils
6002
* src/item-cursor.c (item_cursor_target_region_ok): Ditto
6004
* src/print.c (sheet_print): Ditto.
6006
* src/session.c (interaction_function): Ditto.
6008
* src/wbcg-actions.c (cb_edit_search_replace_query): Ditto.
6010
* src/workbook-control-gui.c (wbcg_error_error) Ditto.
6011
(wbcg_close_if_user_permits):
6013
2004-09-06 Jody Goldberg <jody@gnome.org>
6015
* configure.in : Add a --disable-ssconvert for development.
6016
Constantly linking gnumeric and ssconvert is irritating, but we do
6017
want ssconvert enabled for releases.
6019
2004-09-06 Jody Goldberg <jody@gnome.org>
6021
* src/GNOME_Gnumeric-gtk.xml : Update to reflect some input from ui
6023
* src/wbcg-actions.c (actions) : ditto
6025
s/Search and Replace/Replace/
6027
2004-09-02 Stepan Kasal <kasal@ucw.cz>
6029
* configure.in (gnumeric_with_gnome): Fix typo.
6031
2004-09-05 Jon K Hellan <hellan@acm.org>
6033
* configure.in (GConf): Fix typo.
6035
2004-09-04 Jon K Hellan <hellan@acm.org>
6037
* src/wbc-gtk.c (wbc_gtk_init_undo_redo): Update action group of
6040
* src/sheet-object-graphic.c (sheet_object_text_get_property,
6041
sheet_object_text_class_init): Add "label" property.
6043
2004-09-03 Jody Goldberg <jody@gnome.org>
6045
* configure.in : expand the --with-gtk tests and make --with-gnome
6046
conditional on --with-gtk
6048
2004-09-02 Stepan Kasal <kasal@ucw.cz>
6050
* configure.in: start implementing --with-gui via the WITH_GTK
6051
conditional. Check also for pango, which is required even if no GUI
6052
is used. We use gtk+-2.0 >= 2.4.0 which requires pango >= 1.4.0; so
6053
we ask pango >= 1.4.0 too.
6054
* configure.in: Implement --disable-solver option, --enable-plugins hack.
6055
* src/Makefile.am: Conditionalize solver, start using WITH_GTK.
6056
* plugins/Makefile.am: compile the mps plugin only if ENABLE_SOLVER
6057
is set; --enable-plugins can override the plugin list.
6058
* src/solver.h: Don't declare anything if not !ENABLE_SOLVER; supply
6059
a few stub macros instead.
6060
* src/wbcg-actions.c: Conditionalize on ENABLE_SOLVER.
6061
* src/xml-io.c (xml_read_solver, xml_write_solver): Likewise.
6063
2004-07-31 Stepan Kasal <kasal@ucw.cz>
6065
* configure.in: Gnomish autogen.sh uses ACLOCAL_FLAGS, if some of the
6066
macros are in nonstandard places. If you touch configure.in then,
6067
aclocal.m4 is regenerated, but without ACLOCAL_FLAGS. This change
6068
ensures that ACLOCAL_FLAGS is propagated to the Makefile.
6069
* Makefile.am: ACLOCAL_AMFLAGS = @ACLOCAL_FLAGS@
6071
* src/ssconvert.c: s/exporter/importer/
6073
2004-08-31 Morten Welinder <terra@gnome.org>
6075
* src/wbc-gtk.c (cb_chain_sensitivity): Renamed from
6076
cb_set_repeat_sensitivity and changed to take action directly.
6079
2004-08-31 Jon K Hellan <hellan@acm.org>
6081
* src/sheet-object-graphic.c (sheet_object_polygon_class_init):
6082
Initialize sheet_object_class.
6084
2004-08-30 Jon K Hellan <hellan@acm.org>
6086
* src/commands.c (cmd_merge_cells_repeat): Shut up warning.
6088
* src/gui-file.c (gui_wb_view_show): Remove bogus return.
6090
2004-08-30 Morten Welinder <terra@gnome.org>
6092
* src/workbook-control-gui.c (wbcg_finalize): Destroy
6094
(wbcg_toggle_visibility): New function.
6095
(wbcg_copy_toolbar_visibility): Reinstate.
6096
(workbook_control_gui_init): Initialize visibility_widgets.
6098
* src/wbcg-actions.c (GNM_ACTION_DEF): Use new
6099
wbcg_toggle_visibility.
6101
* src/wbc-gtk.c (wbc_gtk_create_status_area): Add status bar to
6103
(cb_toolbar_activate): Simplify.
6104
(cb_add_menus_toolbars): Add toolbars to visibility widgets.
6105
(wbc_gtk_set_toggle_action_state): Also look in toolbar actions.
6106
Ick -- this gets uglier by the day.
6108
* src/workbook-control-gui-priv.h (struct WorkbookControlGUI):
6109
Replace statusbar member by visibility_widgets.
6111
2004-08-29 Jody Goldberg <jody@gnome.org>
6113
* configure.in : post release bump to .90 to indicate transition to
6116
2004-08-29 Jody Goldberg <jody@gnome.org>
6120
2004-08-29 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6122
* src/item-bar.c (item_bar_draw): Fix group lines in row/column
6125
2004-08-28 Jody Goldberg <jody@gnome.org>
6127
* src/sheet.c (sheet_new_with_type) : Renamed from sheet_new_special,
6128
that name was not terribly clear.
6130
2004-08-28 Jody Goldberg <jody@gnome.org>
6132
* src/pixmaps/Makefile.am : Add halign-fill and halign-general
6133
* src/application.c (gnumeric_application_setup_icons) : ditto
6135
2004-08-28 Jody Goldberg <jody@gnome.org>
6137
* src/commands.c (cmd_merge_cells) : optionally center the merged
6139
* src/wbcg-actions.c (cb_merge_and_center) : new
6141
2004-08-28 Jody Goldberg <jody@gnome.org>
6143
* src/GNOME_Gnumeric-gtk.xml : Reorder Delete menu to put Col before
6144
Row to be consistent with the other menus
6146
2004-08-28 Jody Goldberg <jody@gnome.org>
6148
* src/wbcg-actions.c (cb_view_zoom_in) : new
6149
(cb_view_zoom_out) : new
6151
2004-08-28 Jody Goldberg <jody@gnome.org>
6153
* src/wbcg-actions.c : Add ctrl +/- as accelerators for ins/del cells
6155
2004-08-27 Jody Goldberg <jody@gnome.org>
6157
* src/plugin-service.c (plugin_service_file_opener_read_xml) :
6158
simplify parsing of 'file_pattern' for importer filename probing.
6159
All we every really needed was suffix matching. None of the power
6160
of fnmatch or optional case sensitivity was every used.
6161
(gnm_plugin_file_opener_probe) : use a nice simple suffix match.
6163
2004-08-27 Jody Goldberg <jody@gnome.org>
6165
* src/sheet-object-graphic.c : convert markup to a property for
6168
* src/sheet-object-cell-comment.c : Add a property 'markup' to be used
6171
2004-08-27 Jon K Hellan <hellan@acm.org>
6173
http://bugzilla.gnome.org/show_bug.cgi?id=151152
6175
* src/workbook-control-gui.c (wbcg_close_if_user_permits): Define
6176
responses GNM_RESPONSE_SAVE_ALL, GNM_RESPONSE_DISCARD_ALL. These
6177
are negative, to work with druid logic in gnumeric_dialog_run.
6179
2004-08-26 Jon K Hellan <hellan@acm.org>
6181
* src/gui-file.c (gui_wb_view_show): New. Factored out of
6182
gui_file_read. Show view in a wbcg. Use current or new wbcg
6183
according to policy.
6184
(gui_file_read): Use it.
6186
2004-08-26 Morten Welinder <terra@gnome.org>
6188
* src/wbcg-actions.c (cb_help_bug, cb_help_web): Do something
6189
useful here. (Based on patch from ynakai@redhat.com.)
6191
2004-08-25 Jody Goldberg <jody@gnome.org>
6193
* src/sheet-filter.c (cb_filter_bounds_changed) : fix typo in cast
6194
from new code for bounds-changed
6196
2004-08-24 Jody Goldberg <jody@gnome.org>
6198
http://bugzilla.gnome.org/show_bug.cgi?id=150530
6199
* src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) : fix
6200
in libgsf, but patched here too to tide us over until the next
6203
2004-08-24 Jody Goldberg <jody@gnome.org>
6205
* src/sheet-object.c (sheet_object_class_init) : declare a
6206
bounds-changed signal.
6207
(sheet_object_update_bounds) : emit bounds-changed and assume the
6208
views will do the right thing. No need to manually walk the
6209
realized list. That should go away.
6211
* src/sheet-filter.c : Adjust to using the bounds-changed signal
6212
instead of doing it directly.
6213
* src/sheet-object-cell-comment.c : ditto.
6214
* src/sheet-object-graph.c : ditto.
6215
* src/sheet-object-graphic.c : ditto.
6216
* src/sheet-object-image.c : ditto.
6217
* src/sheet-object-widget.c : ditto.
6219
* src/sheet-control-gui.c (cb_scg_object_bounds_changed) : new
6220
(scg_object_stop_editing) : disconnect the bounds changed signal here.
6221
(scg_mode_edit_object) : connect to it here.
6223
* src/gnumeric-pane.c (display_object_menu) : no need to use
6224
sheet_object_view_control. We can pull the info from the canvas.
6225
(cb_sheet_object_canvas_event) : ditto.
6226
(cb_sheet_object_widget_canvas_event) : ditto.
6227
(cb_sheet_object_view_destroyed) : ditto.
6228
(gnm_pane_object_register) : Add some convenience arguments to hook up
6229
the bounds-changed handler and set the initial size.
6230
(gnm_pane_widget_register) :
6232
2004-08-24 Jody Goldberg <jody@gnome.org>
6234
* src/application.c : signals are guint, not GQuark. Probably does
6235
not matter, but it can't hurt to match the glib headers
6237
* src/sheet-object-cell-comment.c (cell_comment_write_xml_sax) : gsf
6238
was more anal than libxml about handling NULL as strings. new gsf
6239
is more relaxed, but add some protection here until that is in
6242
* src/xml-io.c (gnumeric_xml_read_workbook) : default to using the sax
6244
(xml_init) : cleanup.
6246
http://bugzilla.gnome.org/show_bug.cgi?id=150792
6247
* src/sheet.c (colrow_move) : Only ignore non-existent cells, not all
6248
Blanks. That includes things with VALUE_EMPTY which includes cells
6249
whose expressions were just re-written.
6250
(sheet_move_range) : ditto.
6252
2004-08-24 Morten Welinder <terra@gnome.org>
6254
* src/workbook-control-gui.c (cb_wbcg_drag_data_received): Take
6255
advantage of newly minted go_file_split_uris.
6257
2004-08-22 Jon K Hellan <hellan@acm.org>
6259
* src/workbook-control-gui.c (cb_wbcg_drag_data_received): Remove
6260
gnome-vfs dependency.
6262
2004-08-14 Jody Goldberg <jody@gnome.org>
6264
* src/sheet-object-image.c (sheet_object_image_write_xml_sax) : add a
6265
'size-bytes' attribute to make optimization easier.
6267
2004-08-22 Jon K Hellan <hellan@acm.org>
6269
* src/workbook-control-gui.c (cb_wbcg_drag_data_received): Convert
6270
uri to string before use.
6272
2004-08-21 Jody Goldberg <jody@gnome.org>
6274
* src/sheet.c (sheet_set_zoom_factor) : forward port the zoom kludge.
6275
There is no time to do RenderedRegion for 1.4
6277
2004-08-21 Andreas J. Guelzow <aguelzow@taliesin.ca>
6279
http://bugzilla.gnome.org/show_bug.cgi?id=149945
6280
* src/value.c (find_column_of_field): Correct offset.
6282
2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
6284
* configure.in: Add «nb» to ALL_LINGUAS.
6286
2004-08-20 Jody Goldberg <jody@gnome.org>
6288
* src/sheet.c (sheet_new_special) : renamed from sheet_new, and a
6289
'type' added. Not used yet.
6291
2004-08-20 Morten Welinder <terra@gnome.org>
6293
* configure.in: Check for asinh, acosh, atanh.
6295
* src/gutils.c (asinhgnum, acoshgnum, atanhgnum): Provide if
6298
* src/parser.y (yylex): Take extra care not to run off the edge.
6300
2004-08-17 Morten Welinder <terra@gnome.org>
6302
* src/mathfunc.c (mathfunc_init): Greatly simplify using goffice
6305
* src/libgnumeric.c (gnm_common_init): Init mathfunc after
6308
2004-08-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
6310
* configure.in: Bumped the libgsf-gnome-1 requirement to make it
6311
consistent with the libgsf-1 requirement.
6313
2004-08-18 Jon K Hellan <hellan@acm.org>
6315
* configure.in (psiconv): Update psiconv.
6317
2004-08-17 Etsushi Kato <ekato@ees.hokudai.ac.jp>
6319
* src/gnumeric-canvas.c (gnm_canvas_key_press):
6320
gtk_im_context_reset(gcanvas->im_context) should be called after
6321
checking gtk_im_context_filter_keypress() and GDK_SHIFT_L, GTK_Alt_L,
6322
and GDK_Control_L. (bug #148473)
6324
2004-08-17 Jon K Hellan <hellan@acm.org>
6326
* src/wbcg-actions.c (cb_insert_image): is_save parameter to
6327
gui_image_file_select no longer needed.
6329
* src/sheet-object-image.c (soi_gdk_pixbuf_save): New. Callback
6330
which writes via gsf.
6331
(soi_get_image_fmt): New. Get a format descriptor for the original
6332
data in a SheetObjectImage.
6333
(soi_free_image_fmt): New. Free a format descriptor.
6334
(soi_cb_save_as): New. Choose file name and format and save
6336
(sheet_object_image_populate_menu): New. Put a "save as" entry in
6337
the object's context menu.
6339
* src/sheet-object-graph.c (soi_cb_save_as): Choose image format
6342
* src/gui-file.h (GnmImageFormat): Struct which describes an
6343
(image) file format.
6345
* src/gui-file.c (gui_image_file_select): Split the parts common
6346
to save and open into new function gui_image_chooser_new. Drop
6347
is_save parameter to _select.
6348
(gui_get_image_save_info): The parts of _select which have to do
6349
with saving go here. Add a format chooser.
6351
* src/file.[ch] (gnm_file_saver_fix_file_name): Rename to
6352
gnm_vrfy_uri_ext. Take an extension instead of a GnmFileSaver as
6355
2004-08-16 Morten Welinder <terra@gnome.org>
6357
* src/main-application.c (main): Plug leak.
6359
2004-08-16 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6361
* src/item-bar.c (item_bar_draw): Fix black line in row/column
6364
2004-08-14 Jon K Hellan <hellan@acm.org>
6366
* src/workbook-control-gui.c (wbcg_create_edit_area): Fix typo.
6368
* src/sheet-control-gui.c (sheet_control_gui_new): Ditto.
6370
2004-08-13 Jon K Hellan <hellan@acm.org>
6372
* src/sheet-object-image.c (sheet_object_image_read_xml_dom): Read
6375
2004-08-11 Jon K Hellan <hellan@acm.org>
6377
* src/sheet-object-image.c (sheet_object_image_new): Simplify
6379
(sheet_object_image_print): fix up types to make gmorten happy.
6381
2004-08-09 Jon K Hellan <hellan@acm.org>
6383
* src/sheet-object-image.c (sheet_object_image_new): strdup the
6385
(sheet_object_image_finalize): Free the image type.
6386
(soi_info_cb): New callback used to find image type.
6387
(soi_get_pixbuf): Install callback on pixbuf loader in order to
6389
(sheet_object_image_get_property): New gobject method to return
6390
type, data or pixbuf as object parameters.
6391
(sheet_object_image_class_init): Install properties.
6393
2004-08-11 Morten Welinder <terra@gnome.org>
6395
* src/ssconvert.c (main): Handle non-URI output destinations.
6397
2004-08-09 Emmanuel Pacaud <emmanuel.pacaud@univ-poitiers.fr>
6399
* src/sheet-object-graph.c (cb_save_as) : Set zoom to 1.0 when
6402
2004-08-02 Jody Goldberg <jody@gnome.org>
6404
* src/expr.c (gnm_expr_eval) : Functions returning an array when only
6405
scalar results are permitted produce #VALUE!
6407
* src/style.c (style_default_halign) : Fix drilling down into arrays
6409
* src/wbc-gtk.c (cb_add_menus_toolbars) : Init state.
6411
2004-08-01 Jody Goldberg <jody@gnome.org>
6413
* src/func.c (function_call_with_list) : Array parms seem to accept
6416
* src/value.c (value_dup) : Accept NULL
6418
* src/expr.c (gnm_expr_eval) : do intersection for constant arrays too
6420
2004-07-30 Jody Goldberg <jody@gnome.org>
6422
* src/wbc-gtk.c (wbc_gtk_init_zoom) : We need a label for the action
6423
in case it is a menu item.
6425
2004-07-30 Morten Welinder <terra@gnome.org>
6427
* src/wbc-gtk.c (cb_add_menus_toolbars): Plug leaks.
6429
* src/file.c (gnm_file_saver_unregister): First use, then free.
6431
2004-07-30 Jon K Hellan <hellan@acm.org>
6433
* src/command-context.c (format_message): Strange things happen if
6434
we treat the unknown string we are passed as a format string.
6436
2004-07-30 Yukihiro Nakai <nakai@gnome.gr.jp>
6438
* src/wbcg-actions.c: Don't forget to mark with N_()
6439
http://bugzilla.gnome.org/show_bug.cgi?id=148746
6441
2004-07-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
6443
* src/hlink.h (GNM_HLINK_URL_TYPE): new
6444
(GNM_HLINK_URL): new
6445
(IS_GNM_HLINK_URL): new
6447
2004-07-27 Morten Welinder <terra@gnome.org>
6449
* configure.in: Check for log1p also.
6451
2004-07-27 Morten Welinder <terra@gnome.org>
6453
* src/gnumeric-gconf.c (gnm_conf_init_printer_decoration_font): (void).
6454
* src/application.c (cb_flag_windows_changed): Ditto.
6456
2004-07-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
6458
* configure.in: use AM_PROG_LEX rather than AC_PROG_LEX
6460
2004-07-27 Jody Goldberg <jody@gnome.org>
6462
* src/wbc-gtk.c (cb_regenerate_window_menu) : new.
6464
2004-07-26 Jody Goldberg <jody@gnome.org>
6466
* configure.in : bump pxlib req to 0.3.0 per Uwe's request
6468
http://bugzilla.gnome.org/show_bug.cgi?id=148412
6469
* src/workbook-control-gui-priv.h : typo in the new combos
6471
2004-07-26 Morten Welinder <terra@gnome.org>
6473
* src/sheet.c (sheet_colrow_group_ungroup): Don't use ?: result
6474
as a structure. Go via pointers.
6476
2004-07-23 Morten Welinder <terra@gnome.org>
6478
* src/wbcg-actions.c: Add Ctrl-Shift-D for double underline.
6480
* src/commands.c (cmd_merge_data): Fix 0/NULL mixup.
6481
* src/complete.c (complete_finalize): Ditto.
6482
* src/sheet.c (sheet_range_calc_spans, sheet_toggle_hide_zeros): Ditto.
6483
* src/colrow.c (colrow_set_sizes, colrow_restore_state_group): Ditto.
6484
* src/gui-util.c (gnumeric_popup_menu): Ditto.
6485
* src/item-cursor.c (item_cursor_unrealize): Ditto.
6486
* src/value.c (value_peek_string): Ditto.
6488
* src/expr.c (cb_bin_arith): Add const-casts.
6490
* src/format.c (format_entry_set_fmt): Use g_strdup, not plain
6493
* src/wbcg-actions.c: Add Ctrl-5 for strikethough.
6495
2004-07-22 Jody Goldberg <jody@gnome.org>
6497
* src/workbook-edit.c (wbcg_edit_finish) : change 'accept' into an
6498
enum and handle arrays and range fills here.
6500
* src/parser.y : Add distinct productions for array elements with
6501
{1\2\3;4\5\6} vs {1,2,3;4,5,6}
6502
(build_array) : add some error messages empty and asymetric arrays.
6504
2004-07-22 Jody Goldberg <jody@gnome.org>
6506
* src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible) : delete
6507
(wbcg_set_format_toolbar_visible) : delete
6508
(wbcg_set_object_toolbar_visible) : delete
6509
(wbcg_copy_toolbar_visibility) : make virtual for now
6511
* src/wbcg-actions.c (cb_view_standard_toolbar) : delete
6512
(cb_view_format_toolbar) : delete
6513
(cb_view_object_toolbar) : delete
6515
2004-07-22 Jody Goldberg <jody@gnome.org>
6517
* src/wbc-gtk.c (cb_handlebox_visible) : new.
6518
(cb_add_menus_toolbars) : connect it here and create a menu entry in
6519
the view menu to toggle the visibility.
6521
2004-07-21 Morten Welinder <terra@gnome.org>
6523
* src/gutils.c (expm1gnum): Supply this when missing.
6525
2004-07-20 Jody Goldberg <jody@gnome.org>
6527
* configure.in : add test for sysconf as per Mark's request
6529
* src/gnumeric-pane.c (cb_pane_popup_menu) : cheese up a little hack
6530
to get 'popup-menu' binding context menus for col/row headers too.
6531
(gnm_pane_clear_obj_size_tip) : new
6532
(gnm_pane_display_obj_size_tip) : new
6533
(gnm_pane_object_move) : use gnm_pane_display_obj_size_tip to provide
6534
an indication of the object size.
6536
2004-07-20 Morten Welinder <terra@gnome.org>
6538
* src/mathfunc.c (lbeta3): Use lgamma_rgnum.
6540
* src/gutils.c (lgamma_rgnum): When needed, supply this.
6542
* src/numbers.h (lgamma_rgnum): Add definition for this.
6544
* configure.in (lgamma_r): Check for this. Check for long double
6545
version when needed.
6547
2004-07-20 Morten Welinder <terra@gnome.org>
6549
* src/ranges.c (range_is_infinite): Fix. (Still unused, though.)
6551
2004-07-19 Jody Goldberg <jody@gnome.org>
6552
win32 portability patch from Mark Gilbert
6554
* src/io-context.c (io_progress_update) : use g_get_current_time
6555
instead of gettimeofday.
6557
2004-07-19 Jody Goldberg <jody@gnome.org>
6559
* src/dialogs/dialog-about.c : Update a bit. Add
6560
* doc/C/about-authors.xml : ditto
6567
2004-07-19 Jody Goldberg <jody@gnome.org>
6569
* src/xml-io.c (xml_init) : make the dom exporter a lower priority
6570
than the sax exporter so that we can start phasing it out.
6572
2004-07-19 Jody Goldberg <jody@gnome.org>
6573
Uwe Steinmann <uwe@steinmann.cx>
6575
* plugins/Makefile.am : merge in the paradox importer
6577
2004-07-19 Jody Goldberg <jody@gnome.org>
6579
* configure.in : Post release version bump
6581
2004-07-19 Jody Goldberg <jody@gnome.org>
6585
2004-07-19 Jody Goldberg <jody@gnome.org>
6587
* src/ssconvert.c (main) : some typos
6589
2004-07-17 Jody Goldberg <jody@gnome.org>
6591
* configure.in : Add a test for signgam
6593
2004-07-19 Jody Goldberg <jody@gnome.org>
6595
* src/wbcg-actions.c (wbcg_set_selection_halign) : Make public
6597
(wbcg_set_selection_valign) : ditto.
6599
* src/wbc-gtk.c : Adjust the borders to use stock items in place of
6600
the old inline pixbuf silliness. Add a valignment and halignment
6601
combo. Still need some way to indicate 'General' for both.
6603
* src/application.c (gnumeric_application_setup_icons) : add the
6604
border icons to the set of stock items.
6606
2004-07-17 Jody Goldberg <jody@gnome.org>
6608
http://bugzilla.gnome.org/show_bug.cgi?id=147756
6609
* src/sheet-autofill.c (autofill_cell) : An ancient bug.
6611
2004-07-17 Andreas J. Guelzow <aguelzow@taliesin.ca>
6613
* schemas/gnumeric-general.schemas.in: Correct compression level
6616
2004-07-16 Jody Goldberg <jody@gnome.org>
6618
* src/gnumeric-paths.sh.in : Add version
6620
2004-07-15 Jody Goldberg <jody@gnome.org>
6622
Some Seth UI feedback
6623
* src/wbcg-actions.c : s/Launch Guru/Insert Chart/
6625
2004-07-13 Morten Welinder <terra@gnome.org>
6627
* src/commands.c (cmd_copyrel): New command.
6629
* src/wbcg-actions.c (cb_copydown, cb_copyright): Implement.
6631
2004-07-12 Jody Goldberg <jody@gnome.org>
6633
* src/workbook-control-gui.c (wbcg_cur_sheet) : new convenience
6636
* src/wbcg-actions.c : tidy up a bit
6638
* src/wbc-gtk.c (wbc_gtk_init_undo_redo) : tie sensitivity of repeat
6641
2004-07-11 Jody Goldberg <jody@gnome.org>
6643
* src/commands.c (cmd_set_text_repeat) : new
6644
(missing validation support)
6645
(cmd_area_set_text_repeat) : new.
6646
(cmd_ins_del_colrow_repeat) : new.
6647
(cmd_clear_repeat) : new.
6648
(cmd_format_repeat) : new.
6649
(cmd_colrow_hide_repeat) : new.
6650
(cmd_group_repeat) : new.
6651
(cmd_paste_copy_repeat) : new.
6652
(cmd_autofill_repeat) : new.
6653
(cmd_autoformat_repeat) : new.
6654
(cmd_unmerge_cells_repeat) : new.
6655
(cmd_merge_cells_repeat) : new.
6656
(cmd_clone_sheet_repeat) : new.
6658
2004-07-09 Jody Goldberg <jody@gnome.org>
6660
* src/GNOME_Gnumeric-gtk.xml : Add repeat as an accelerator
6661
* src/commands.c (func) : add some hooks for repeat
6663
2004-07-12 Morten Welinder <terra@gnome.org>
6665
* src/wbcg-actions.c: Use gtk about icon if available.
6667
2004-07-09 Jody Goldberg <jody@gnome.org>
6669
http://bugzilla.gnome.org/show_bug.cgi?id=146486
6670
* src/expr.c (cb_bin_arith) : handle VALUE_EMPTY for implicit
6671
iteration with arithmetic operators.
6673
http://bugzilla.gnome.org/show_bug.cgi?id=146511
6674
* src/func.c (function_call_with_list) : Use value_get rather than
6676
* src/sheet.c (sheet_foreach_cell_in_range) : check for empty values too
6678
2004-07-07 Andreas J. Guelzow <aguelzow@taliesin.ca>
6680
* src/gnumeric-gconf.c (go_conf_get_short_desc): Check for NULL
6682
(go_conf_get_long_desc): ditto
6684
2004-07-05 Jody Goldberg <jody@gnome.org>
6686
* src/workbook-cmd-format.c (workbook_cmd_mutate_borders) : move into
6689
* src/sheet-autofill.c (fill_item_new) : fix an old leak
6691
* src/gnumeric-canvas.c (gnm_canvas_key_mode_sheet) : no need to
6692
check for accelerators here any more.
6693
(gnm_canvas_commit_cb) : nor here.
6694
(gnm_check_ctrl_mask) : delete and make these real accelerators the
6697
* src/wbcg-actions.c
6698
(cb_format_as_number) : a real accelerator
6699
(cb_format_as_currency) : ditto
6700
(cb_format_as_accounting) : ditto
6701
(cb_format_as_percentage) : ditto
6702
(cb_format_as_scientific) : ditto
6703
(cb_format_as_time) : ditto
6704
(cb_format_as_date) : ditto
6705
(cb_format_add_borders) : ditto
6706
(cb_format_clear_borders) : ditto
6708
* src/GNOME_Gnumeric-gtk.xml : Add the new accelerators
6709
* src/application.c (gnumeric_application_setup_icons) : Rename the
6710
icons to match the verbs (Percentage, Accounting)
6712
2004-07-02 Jody Goldberg <jody@gnome.org>
6714
* configure.in : Make gconf conditional and test for uname
6716
2004-07-01 Jody Goldberg <jody@gnome.org>
6718
* src/cmd-edit.c (sv_select_cur_depends) : find deps even for empty
6721
2004-06-30 Jody Goldberg <jody@gnome.org>
6723
* src/stf.c (stf_init) : cvs exporter is one sheet only
6725
* src/gnumeric-gconf.c (get_schema) : typo
6726
(go_conf_get_type) : implement for #ifdef WITH_GNOME
6728
2004-06-23 Jean Brefort <jean.brefort@ac-dijon.fr>
6732
* src/cut-n-paste-code/Makefile.am: removed pcre subdir.
6733
* src/graph.c: (cb_assign_val), (gnm_go_data_vector_load_values),
6734
(gnm_go_data_vector_get_value): changed gnm_nan to go_nan.
6735
* src/format.h: replaced gnumeric_reg* by go_reg*
6736
* src/formats.c: (my_regerror), (currency_date_format_init),
6737
(currency_date_format_shutdown), (cell_format_simple_number),
6738
(cell_format_is_number), (cell_format_is_fraction): ditto.
6739
* src/number-match.c: (format_match_release),
6740
(format_match_create), (format_match): ditto.
6741
* src/plugin-service.c: (plugin_service_define): ditto.
6742
* src/regutf8.c: (gnumeric_regcomp_XL): ditto.
6743
* src/regutf8.h: ditto.
6744
* src/search.c: (search_replace_free), (search_replace_compile),
6745
(search_match_string), (search_replace_string): ditto.
6746
* src/search.h: ditto.
6747
* src/sheet-filter.c: (filter_expr_release), (filter_expr_eval): ditto.
6748
* src/widgets/widget-format-selector.c: (populate_menu): ditto.
6749
* src/workbook-control-gui.c: (wbcg_sheet_focus),
6750
(cb_notebook_switch_page): Added missing spaces.
6751
* src/cut-n-paste-code/pcre: Moved whole tree to goffice.
6752
* tools/import-pcre: Updated to the new path and replaced gnumeric_ by go_.
6754
2004-06-22 Jody Goldberg <jody@gnome.org>
6756
http://bugzilla.gnome.org/show_bug.cgi?id=134014
6757
* src/print-cell.c (print_merged_range) : sync with canvas item
6758
recalling that y-coords are negative. Enable diagonals.
6760
2004-06-20 Jody Goldberg <jody@gnome.org>
6762
* src/Makefile.am : re-enable ssconvert as a test program for now to
6763
avoid rebuilding it all the time.
6765
2004-06-15 Jody Goldberg <jody@gnome.org>
6767
* src/sheet-object.c (sheet_objects_get) : don't reverse the z
6770
2004-06-17 Andreas J. Guelzow <aguelzow@taliesin.ca>
6772
* src/consolidate.c (simple_consolidate): dao_set_cell_expr now
6773
absorbs the expr reference.
6774
(colrow_consolidate): ditto
6776
2004-06-16 Morten Welinder <terra@gnome.org>
6778
* src/workbook-view.c (wbv_save_to_file): Simplify using
6781
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Convert
6782
filename to UTF-8 before constructing the label. Use uri if the
6783
filename cannot be represented in UTF-8.
6785
* src/sheet-object-graph.c (cb_save_as): Handle dumping to uris.
6787
* src/gui-file.c (gui_image_file_select): Take and return uris.
6789
* src/workbook-control-gui.c (cb_wbcg_drag_data_received):
6790
Simplify with go_file_open.
6792
2004-06-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
6794
http://bugzilla.gnome.org/show_bug.cgi?id=142700
6795
* src/workbook-view.c (wb_view_sheet_focus): set current_sheet
6796
before adjusting focus.
6798
2004-06-15 Morten Welinder <terra@gnome.org>
6800
* src/history.c (history_item_label): Fix thinko. Avoid double
6803
2004-06-14 Morten Welinder <terra@gnome.org>
6805
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): If available,
6806
use just filename for tooltip. (Non-ascii looks nicer, and it's
6809
2004-06-13 Jody Goldberg <jody@gnome.org>
6811
* src/command-context-stderr.c : fix class decl to match change to
6814
2004-06-13 Jody Goldberg <jody@gnome.org>
6816
* configure.in : bump req for libgsf to 1.10.0 (still in cvs)
6818
2004-06-11 Morten Welinder <terra@gnome.org>
6820
* src/workbook-view.c (wbv_save_to_file): Make this work with uris.
6822
* src/history.c (history_item_label): Now gets uri argument.
6824
* src/workbook.c (workbook_set_uri): Ranamed from
6825
workbook_set_filename.
6826
(workbook_get_uri): Renamed from workbook_get_filename.
6828
* src/application.c (gnm_app_history_add): Change to take uri.
6829
All callers changed.
6831
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Adapt to uris.
6833
* src/gui-file.c (gui_file_read, do_save_as, go_file_is_writable):
6834
Changed to take uri. All callers changed.
6836
* src/workbook-view.c (wb_view_new_from_uri): Renamed from
6837
wb_view_new_from_file and adapted to take uri. All callers
6839
(wb_view_save_as): Change to take uri. All callers changed.
6841
2004-06-08 Jody Goldberg <jody@gnome.org>
6843
http://bugzilla.gnome.org/show_bug.cgi?id=143577
6844
* src/style-border.c (style_border_print_diag) : handle NULL and none
6845
(style_border_set_pc) : back out my incorrect fix and sync with gui.
6847
2004-06-08 Morten Welinder <terra@gnome.org>
6849
* src/gutils.c (gnm_destroy_password): New function.
6851
2004-06-05 Jody Goldberg <jody@gnome.org>
6853
* src/sheet-object-image.c : add sax export, and actually dump the
6855
* src/sheet-object-widget.c : add sax export
6856
* src/sheet-object-graph.c : ditto.
6857
* src/sheet-object-cell-comment.c : ditto.
6859
* src/workbook-view.c (wbv_save_to_file) : warning suppression
6861
* src/xml-io.c (gnm_xml_out_add_color) : new
6862
(gnm_xml_out_add_cellpos) : new.
6864
2004-06-04 Morten Welinder <terra@gnome.org>
6866
* src/parser.y (arg_list): handle the empty arg in =IF(TRUE,)
6869
* src/expr.c (gnm_expr_get_func_argcount): New function.
6871
2004-05-31 Jody Goldberg <jody@gnome.org>
6873
* src/graph.c (gnm_go_data_get_sheet) : new.
6874
(gnm_go_data_get_expr) : new.
6876
http://bugzilla.gnome.org/show_bug.cgi?id=143367
6877
* src/item-grid.c (item_grid_realize) : make the seperator a dark
6878
colour rather than black.
6880
2004-05-27 Jody Goldberg <jody@gnome.org>
6882
* src/workbook.c (workbook_sheet_hide_controls) : split out from.
6883
(workbook_sheet_detach) : here.
6885
* src/dependent.c (dependent_queue_recalc_list) : fix dynamic depends.
6887
* src/workbook-control-gui.c (cb_wbcg_drag_data_received) : handle
6888
dragging from nautilus -> gnumeric too.
6890
* src/main-application.c (main) : Use the new virtuals
6892
* src/io-context.c (gnm_io_context_set_num_files) : new
6893
(gnm_io_context_processing_file) : new.
6895
* src/io-context-gtk.c (icg_processing_file) : renamed from
6897
(icg_set_num_files) : renamed from icg_set_files_total.
6898
(icg_class_init) : hook up the file handlers to the new virtual.
6900
* src/expr.c (gnm_expr_extract_ref) : return a RangeRef
6901
(gnm_expr_range_op) : new to handle intersection and union properly
6902
(gnm_expr_eval) : split the common code out of here.
6904
2004-05-26 Morten Welinder <terra@gnome.org>
6906
* src/parser.y (yylex): Ignore spaces in lots of places, notably
6907
before and after operators. (XL has chosen space as an operator,
6908
but luckily it only makes sense in a few places.)
6910
2004-05-26 Jean Brefort <jean.brefort@ac-dijon.fr>
6912
* src/sheet-object-widget.c: (sheet_widget_combo_create_widget):
6913
replaced GnmComboText by GoComboText.
6915
2004-05-25 Andreas J. Guelzow <aguelzow@taliesin.ca>
6917
* src/application.c: add "Gnumeric_Visible" icon
6918
* src/pixmaps/visible.png: new
6919
* src/pixmaps/Makefile.am: include src/pixmaps/visible.png
6920
* src/commands.h (cmd_reorganize_sheets): add arguments
6921
* src/commands.c: add NULL arguments to all calls to
6922
cmd_reorganize_sheets throughout.
6923
(cmd_reorganize_sheets_*): handle visibility changes
6924
* src/sheet.h (sheet_set_visibility): new
6925
(sheet): add is_visible field
6926
* src/sheet.c (sheet_set_visibility): new
6927
(sheet_new): initalize is_visible field
6928
* src/workbook-control-gui.c: add NULL arguments to all calls to
6929
cmd_reorganize_sheets
6930
* src/workbook.h (workbook_sheet_change_visibility): new
6931
* src/workbook.c (workbook_sheet_change_visibility): new
6933
2004-05-24 Morten Welinder <terra@gnome.org>
6935
* src/expr.c (negate_value): New function, extracted from
6936
gnm_expr_eval and cb_iter_unary_neg.
6937
(gnm_expr_eval, cb_iter_unary_neg): Use it.
6938
(cb_iter_unary_neg, cb_iter_percentage): Fix crash for empties.
6940
2004-05-22 Jean Brefort <jean.brefort@ac-dijon.fr>
6942
* src/expr.c: (cb_iter_unary_neg), (cb_iter_percentage): make it compile again by changing
6943
variable names "a" and "pos" by "v" and "ep".
6944
* src/gui-util.c: (gnumeric_notice_nonmodal), (cb_parent_mapped),
6945
(gnumeric_combo_enters): replaced gtk_signal by g_signal and deleted
6946
gnumeric_combo_enters as it is not used anymore and I could not find a replacement
6947
for gtk_combo_disable_activate usable with GtkComboBoxEntry.
6948
* src/gui-util.h: removed gnumeric_combo_enters.
6950
2004-05-21 Jody Goldberg <jody@gnome.org>
6952
* src/expr.c : support implicit iteration for operators. We now
6953
support all major evaluation mechanisms in ms excel.
6955
2004-05-19 Jody Goldberg <jody@gnome.org>
6957
* configure.in : bump libglade req to 2.3.6 to get the new combos
6958
Merge in an as yet unused test for mono while we're in here.
6960
2004-05-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
6962
http://bugzilla.gnome.org/show_bug.cgi?id=142836
6963
* src/stf.c (stf_write_csv): use current sheet rather than first
6966
2004-05-17 Morten Welinder <terra@gnome.org>
6968
* src/sheet-autofill.c (autofill_cell): Handle default case, just
6971
2004-05-16 Adrian Custer <acuster@gnome.org>
6973
* src/ssconvert.c: exports -> exporters in user visible
6974
strings. Added translation tags.
6976
2004-05-15 Jody Goldberg <jody@gnome.org>
6978
* src/format.c (format_value_gstring) : if nothing matches for numbers
6979
use the first fmt, other types == general.
6980
(style_format_condition) : errors do not match strings, but bools do
6981
(format_compile) : assign std conditions to any element without one,
6984
2004-05-16 Jean Brefort <jean.brefort@ac-dijon.fr>
6986
* src/dialogs/autofilter-expression.glade: replaced GtkOptionMenu by GtkComboBox.
6987
* src/dialogs/autofilter-top10.glade: ditto.
6988
* src/dialogs/autoformat.glade: ditto.
6989
* src/dialogs/cell-format.glade: ditto.
6990
* src/dialogs/consolidate.glade: ditto.
6991
* src/dialogs/dao.glade: ditto.
6992
* src/dialogs/dialog-autofilter.c: (map_op), (cb_autofilter_ok),
6993
(cb_top10_type_changed), (init_operator), (dialog_auto_filter):
6994
* src/dialogs/dialog-autoformat.c: (cb_category_changed),
6995
(dialog_autoformat): ditto.
6996
* src/dialogs/dialog-cell-format.c: (cb_rotate_canvas_realize),
6997
(validation_rebuild_validation),
6998
(cb_validation_error_action_changed), (cb_validation_sensitivity),
6999
(build_validation_error_combo), (fmt_dialog_init_validation_page),
7000
(cb_fmt_dialog_dialog_buttons): ditto.
7001
* src/dialogs/dialog-consolidate.c: (construct_consolidate),
7002
(setup_widgets): ditto.
7003
* src/dialogs/dialog-hyperlink.c: (dhl_cb_menu_changed),
7005
* src/dialogs/dialog-printer-setup.c: (do_header_customize),
7006
(do_footer_customize), (header_changed), (footer_changed),
7007
(fill_hf), (do_setup_hf_menus), (do_setup_hf),
7008
(print_setup_get_sheet), (do_setup_sheet_selector): ditto.
7009
* src/dialogs/dialog-stf-format-page.c:
7010
(format_page_trim_menu_changed), (stf_dialog_format_page_prepare),
7011
(stf_dialog_format_page_init): ditto.
7012
* src/dialogs/dialog-stf.glade: ditto.
7013
* src/dialogs/hyperlink.glade: ditto.
7014
* src/dialogs/print.glade: ditto.
7015
* src/widgets/gnm-dao.c: (gnm_dao_init), (gnm_dao_get_data),
7016
(gnm_dao_set_put): ditto.
7017
* src/dialogs/dialog-stf-export.c:
7018
(sheet_page_separator_menu_changed),
7019
(stf_export_dialog_format_page_init), (stf_export_dialog_finish): ditto.
7020
Replaced also GtkCombo by GtkComboBoxEntry.
7021
* src/dialogs/dialog-stf-export.glade: ditto.
7023
2004-05-11 Andreas J. Guelzow <aguelzow@taliesin.ca>
7025
* src/workbook-view.c (wbv_save_to_file): add omitted declaration
7027
2004-05-07 Jody Goldberg <jody@gnome.org>
7029
* src/command-context-priv.h : Make this an interface
7030
* src/command-context.c : support the change here.
7031
* src/command-context-stderr.c : here.
7032
* src/io-context-gtk.c : here
7033
* src/io-context-priv.h : here
7034
* src/io-context.c : here.
7035
* src/workbook-control-gui.c : here
7036
* src/workbook-control.c : and here
7038
* src/GNOME_Gnumeric-gtk.xml : Move the toolbars out, they will be
7039
generated. Add FullScreen.
7041
* configure.in : bump libgsf dep and add the new goffice/app directory
7043
2004-05-03 Jody Goldberg <jody@gnome.org>
7045
http://bugzilla.gnome.org/show_bug.cgi?id=140671
7046
* src/commands.c (cmd_paste_cut_undo) : we don't know the SheetView
7047
associated with the origin sheet.
7049
* src/selection.c (sv_selection_set) : add some safety
7051
2004-05-04 Morten Welinder <terra@gnome.org>
7053
* src/validation.c (validation_new): Make sure
7054
VALIDATION_TYPE_CUSTOM is only paired with VALIDATION_OP_NONE.
7055
(validation_eval): Balance recounting.
7057
2004-04-27 Jody Goldberg <jody@gnome.org>
7059
* src/file.c (go_file_open) : fix the gnome-vfs case
7061
2004-04-22 Morten Welinder <terra@gnome.org>
7063
* src/print-info.c (print_info_get_orientation): Plug leak.
7065
2004-04-22 Jody Goldberg <jody@gnome.org>
7067
* src/sheet-autofill.c (autofill_cell) : Assign the value format in
7068
all cases accept expressions. Use cell_set_value, not
7069
sheet_cell_set_value so that we can assign the format before we
7070
render, and to avoid doing things piece meal.
7072
2004-04-21 Morten Welinder <terra@gnome.org>
7074
* src/format.c (format_destroy): Let's try unref in here.
7076
* src/stf-export.c (stf_export): Fix compilation.
7078
2004-04-20 Jody Goldberg <jody@gnome.org>
7080
* src/stf-export.c (stf_export_sheet) : simplify
7082
2004-04-20 Morten Welinder <terra@gnome.org>
7084
* src/stf-parse.c (stf_parse_sheet): Handle the case of more
7085
columns than we have room for in the sheet.
7087
2004-04-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
7089
* README: Corrected the Debian package names.
7091
2004-04-19 Jody Goldberg <jody@gnome.org>
7093
* src/workbook-edit.c (cb_entry_insert_text) : be clear which values
7094
are measured in bytes (PangoAttribute) and which are in characters
7096
(cb_entry_cursor_pos) : ditto.
7097
(cb_entry_delete_text) : ditto.
7098
(wbcg_edit_add_markup) : ditto.
7100
2004-04-19 Jody Goldberg <jody@gnome.org>
7102
* src/rendered-value.c (rendered_value_new) : don't apply markup to
7103
the shared set of attributes associated with the style make a local
7106
2004-04-17 Jody Goldberg <jody@gnome.org>
7108
* src/item-edit.c (item_edit_draw) : tidy up a bit and check for pixel
7109
matching stock cell drawing so that things do not shift.
7110
(ie_layout) : ditto.
7112
* src/value.c (parse_database_criteria) : revert change from 2004-03-31
7113
rather than moving to g_new/g_free to make the g_free work, leave
7114
the g_alloca and remove the unnecessary g_free.
7116
2004-04-16 Morten Welinder <terra@gnome.org>
7118
* src/rangefunc.c (range_mode): Use g_hash_table_new_full.
7119
(cb_range_mode): Delete.
7121
2004-04-15 Morten Welinder <terra@gnome.org>
7123
* src/mathfunc.c (phyper): New implementation.
7125
2004-04-13 Morten Welinder <terra@gnome.org>
7127
* src/wbc-gtk.c (wbc_gtk_set_action_label): Set the right tooltip.
7129
2004-04-12 Jody Goldberg <jody@gnome.org>
7131
* src/format.c (style_format_new_markup) : new.
7133
* src/commands.c (cmd_set_text*) : Handle markup
7135
2004-04-12 Morten Welinder <terra@gnome.org>
7137
* src/mathfunc.c (pow1p, pow1pm1): New functions.
7138
(random_levy_skew): Use pow1p.
7140
2004-04-12 Morten Welinder <terra@gnome.org>
7142
* src/mathfunc.c (pf): New implementation.
7144
* src/history.c (history_item_label): Handle accel_number >= 10
7145
better. Handle "_" properly.
7147
2004-04-09 Morten Welinder <terra@gnome.org>
7149
* src/mathfunc.c (pcauchy): New implementation.
7151
* src/gutils.c (erfgnum): Improve precision for small x.
7152
(modfgnum): Fix precision for huge x.
7153
(frexpgnum): Fix precision for huge x.
7155
* src/mathfunc.c (pbeta): New implementation.
7156
(lgamma1p, swap_log_tail, log1pmx): New function.
7158
2004-04-08 Morten Welinder <terra@gnome.org>
7160
* src/wbc-gtk.c (check_underlines): Make UTF-8 safe.
7162
2004-04-08 Jean Brefort <jean.brefort@ac-dijon.fr>
7164
* src/selection.c: (sv_selection_to_plot): skip errors dims.
7166
2004-04-08 Jody Goldberg <jody@gnome.org>
7168
* src/gnumeric-gconf.c (gnm_conf_init_essential) : move the live
7169
scroll delay and the autocompletion status here from.
7170
(gnm_conf_init_extras) : here. So that we initialize it before we
7171
copy it when creating aworkbookview.
7173
2004-04-07 Morten Welinder <terra@gnome.org>
7175
* src/gui-file.c (gui_file_read): Make sure new windows appear
7176
on the right screen.
7177
* src/wbcg-actions.c (cb_file_new): Make sure new windows appear
7178
on the right screen.
7180
2004-04-07 Morten Welinder <terra@gnome.org>
7182
* src/wbcg-actions.c (cb_file_new): Copy toolbar visibility to new
7184
* src/gui-file.c (gui_file_read): Copy toolbar visibility to new
7187
* src/wbc-gtk.c (wbc_gtk_create_status_area): Show statusbar.
7188
(check_underlines): New code to debug underline collisions.
7189
(wbc_gtk_init): Show everything here.
7191
* src/workbook-control-gui.c (wbcg_set_toolbar_visible): Update
7193
(wbcg_copy_toolbar_visibility): New function.
7194
(show_gui): Call gtk_widget_show, not gtk_widget_show_all, so as
7195
not to interfere with toolbar visibility.
7197
* src/wbcg-actions.c (cb_view_standard_toolbar,
7198
cb_view_format_toolbar, cb_view_object_toolbar,
7199
cb_view_statusbar): Only do something when we're not already
7201
(var actions): Fix underline collissions.
7203
2004-04-07 J.H.M. Dassen (Ray) <jdassen@debian.org>
7205
* configure.in: substitute WARN_CFLAGS as
7206
src/cut-n-paste-code/foocanvas/libfoocanvas/Makefile references it
7209
2004-04-05 Morten Welinder <terra@gnome.org>
7211
* src/wbc-gtk.c (cb_add_menus_toolbars): Identify toolbars.
7212
(cb_handlebox_popup): Remove this.
7213
(cb_handlebox_dock_status): Fiddle with style to work around
7215
* src/workbook-control-gui.c (wbcg_set_standard_toolbar_visible,
7216
wbcg_set_format_toolbar_visible, wbcg_set_object_toolbar_visible,
7217
wbcg_set_statusbar_visible): New functions.
7219
* src/wbcg-actions.c (cb_view_standard_toolbar,
7220
cb_view_format_toolbar, cb_view_object_toolbar,
7221
cb_view_statusbar): New functions.
7222
(var toggle_actions): Hook them up.
7224
2004-04-02 Morten Welinder <terra@gnome.org>
7226
* src/gui-file.c (gui_file_open): Use savers' extensions as a
7227
proxy for all spreadsheet files. this is not ideal, but far
7228
better than hardcoding "*.gnumeric" and "*.xls".
7229
(gui_file_save_as): Ditto.
7231
* src/wbc-gtk.c (wbc_gtk_finalize): New function.
7232
(wbc_gtk_class_init): Hook it up.
7234
2004-04-01 Jody Goldberg <jody@gnome.org>
7236
* src/style-border.c (style_border_draw_diag) : sync with the printing
7237
code to not draw into the center of bordering double borders
7239
* src/item-edit.c (item_edit_event) : basic cursor position support.
7241
* src/print-cell.c (print_cell_background) : draw diagonals.
7242
* src/style-border.c (style_border_print_diag) : fill in. Where did
7243
this code go ? I could have sworn I implemented this years ago.
7245
2004-04-01 Morten Welinder <terra@gnome.org>
7247
* src/format.c (append_hour_elapsed): Fix precision issues.
7248
http://bugzilla.gnome.org/show_bug.cgi?id=138182.
7250
2004-04-01 Christian Neumair <chris@gnome-de.org>
7252
* src/sheet-control-gui.c:
7253
* src/wbcg-actions.c:
7254
* src/GNOME_Gnumeric-gtk.xml: Put delete actions from edit main menu
7255
into their own submenu, add stock icon to clear submenu.
7257
2004-03-31 Morten Welinder <terra@gnome.org>
7259
* src/value.c (parse_database_criteria): Since we're g_free-ing,
7260
allocate with g_new and not g_alloca.
7262
* src/gui-file.c (gui_file_save_as): Don't create an extra, bogus
7265
2004-03-30 Jody Goldberg <jody@gnome.org>
7267
* configure.in : post release bump
7269
2004-03-30 Jody Goldberg <jody@gnome.org>
7273
* Makefile.am : Add distcleancheck_listfiles, and distuninstallcheck_listfiles
7274
to keep automake from complaining about the docs.
7275
Clean the .desktop and .keys file
7276
Dist the new gnome-common auto installed xmldoc.make and omf.make
7278
* autogen.sh : require automake 1.7.2 to get the *_listfiles support
7279
required to make the doc build pass distcheck.
7281
* omf-install/* : delete
7283
* configure.in : remove omf-install, plugins/gb/Makefile,
7284
plugins/uihello/Makefile
7286
* schemas/Makefile.am : clean the generated schema files
7288
* src/cell-draw.c (cell_calc_layout) : mark hashed values as variable
7289
width so that they resize when columns change size.
7291
* src/item-grid.c (item_grid_event) : clear the cursor timer when the
7292
mouse leaves the grid (eg enters the edit item)
7294
2004-03-30 Jody Goldberg <jody@gnome.org>
7296
Test case. Enter string into C3 that spans into E3 then change
7298
* src/commands.c (cmd_format_undo) : be lazy, queue a full redraw in
7300
(cmd_format_redo) : ditto.
7302
2004-03-28 Jody Goldberg <jody@gnome.org>
7304
* src/wbcg-actions.c : cheat and install a SheetInsert action to avoid
7305
having an 'Insert' entry in the insert menu because we named the
7306
InsertSheet action for the Sheet menu.
7308
* src/item-edit.c (ie_layout) : Support rich text.
7310
* src/wbc-gtk.c (wbc_gtk_style_feedback) : Pull the values from
7311
@changes if it is supplied.
7312
(cb_post_activate) : new.
7313
(wbc_gtk_init) : Only restore focus when we aren't editing.
7314
Otherwise every time the style feedback changes we lose focus.
7316
2004-03-26 Jody Goldberg <jody@gnome.org>
7318
* src/workbook-edit.c (cb_delete_filter) : first step in syncing the
7319
markup when content changes.
7320
(cb_entry_delete_text) : ditto.
7322
2004-03-25 Jody Goldberg <jody@gnome.org>
7324
* src/wbcg-actions.c (cb_help_docs) : quick an dirty
7326
2004-03-26 Morten Welinder <terra@gnome.org>
7328
* src/wbc-gtk.c (wbc_gtk_reload_recent_file_menu): Make UTF-8 safe
7329
and stop using tooltips for storing filenames.
7331
* src/history.c (history_item_label): Make this UTF-8 safe.
7333
2004-03-25 Jody Goldberg <jody@gnome.org>
7335
http://bugzilla.gnome.org/show_bug.cgi?id=137818
7336
* src/style.c (required_updates_for_style) : redraw for h-align,
7337
striketrough, underline, and font colour changes.
7339
* src/application.c (gnumeric_application_setup_icons) : pull in some
7342
2004-03-20 Jody Goldberg <jody@gnome.org>
7344
* src/wbcg-actions.c : Move the font actions into a distinct group.
7346
* src/wbc-gtk.c (wbc_gtk_actions_sensitive) : start to account for
7347
font vs normal actions. This interface sucks. We'll need something
7348
more functional as the number of action groups increases (eg clipboard)
7349
(wbc_gtk_init_color_fore) : move into font group
7350
(wbc_gtk_init_font_name) : move into font group
7351
(wbc_gtk_init_font_size) : move into font group
7352
(wbc_gtk_set_toggle_action_state) : split font actions into a distinct
7354
(cb_handlebox_dock_status) : ditto.
7355
(wbc_gtk_init) : ditto.
7357
2004-03-19 Morten Welinder <terra@gnome.org>
7359
* src/plugin-util.c (gnumeric_fopen): Ditto.
7360
* src/format-template.c (format_template_save): Delete unused
7363
2004-03-18 Morten Welinder <terra@gnome.org>
7365
* src/gnumeric-canvas.c (row_scroll_step): Use a continious
7366
function, not a step function.
7367
(col_scroll_step): Ditto.
7369
2004-03-18 Guntupalli Karunakar <karunakar@freedomink.org>
7371
* configure.in: Added "mr" for Marathi to ALL_LINGUAS.
7373
2004-03-17 Morten Welinder <terra@gnome.org>
7375
* src/gutils.c (gnm_string_append_gstring): New function.
7377
* src/format.c (format_get_decimal, format_get_thousand,
7378
format_get_currency): Return a GString*. All callers changed and
7379
happy since they don't need to call strlen.
7380
(convert1): Operate of GString.
7382
2004-03-17 Christopher James Lahey <clahey@ximian.com>
7384
* configure.in: Added
7385
src/cut-n-paste-code/goffice/libpresent/Makefile and
7386
src/cut-n-paste-code/goffice/test/Makefile.
7388
2004-03-16 Jody Goldberg <jody@gnome.org>
7390
http://bugzilla.gnome.org/show_bug.cgi?id=137357
7391
* src/item-bar.c : Use a custom detail 'GnmItemBarCell' rather than
7392
the more generic 'button' to keep some themes 'industrial and gorilla'
7393
from freaking out at the lack of button.
7395
2004-03-16 Jody Goldberg <jody@gnome.org>
7397
* configure.in : bump the gtk req to reflect the churn in the filesel
7399
2004-03-16 Morten Welinder <terra@gnome.org>
7401
* src/sheet-autofill.c (autofill_cell): Kill some read-only
7404
2004-03-16 Jean Brefort <jean.brefort@ac-dijon.fr>
7406
* configure.in: add src/cut-n-paste-code/goffice/data/Makefile.in
7408
2004-03-11 Jody Goldberg <jody@gnome.org>
7410
* src/stf.c (csv_tsv_probe) : Be more forgiving about what might be
7413
2) Anything that has no null characters in the first 80 bytes
7414
It won't catch everything, but it should be marginally better.
7416
2004-03-08 Jody Goldberg <jody@gnome.org>
7418
* src/wbc-gtk.c (wbc_gtk_init) : split the menus into a distinct
7419
group. There's no need to senstize them
7421
2004-03-12 Jean Brefort <jean.brefort@ac-dijon.fr>
7423
* src/graph.c (gnm_go_data_vector_load_values): changed initial maximum
7424
from G_MINDOUBLE to - G_MAXDOUBLE.
7426
2004-03-13 Christopher James Lahey <clahey@ximian.com>
7428
* configure.in: Added
7429
src/cut-n-paste-code/goffice/drawing/Makefile and
7430
src/cut-n-paste-code/goffice/ms-compat/Makefile.
7432
2004-03-11 Kjartan Maraas <kmaraas@gnome.org>
7434
* src/wbc-bonobo.c: (wbcb_style_feedback): Remove extraenous
7435
semicolon from a test.
7436
* src/wbc-gtk.c: (wbc_gtk_style_feedback): Same here. Closes
7439
2004-03-09 Morten Welinder <terra@gnome.org>
7441
* src/workbook-control-gui.c (wbcg_close_if_user_permits): Set the
7442
ATK_ROLE_ALERT for dialog.
7444
* src/item-bar.c (ib_draw_cell, item_bar_draw): Avoid deprecated
7445
gtk_draw_shadow call.
7447
2004-03-06 Jody Goldberg <jody@gnome.org>
7449
* src/sheet-object-graphic.c (sheet_object_text_finalize) : release
7451
(sheet_object_text_new_view) : set the attributes.
7452
(sheet_object_text_clone) : handle the attributes.
7453
(gnm_so_text_set_font_color) : delete.
7454
(gnm_so_text_set_markup) : new.
7456
2004-03-05 Jody Goldberg <jody@gnome.org>
7458
* src/colrow.c (colrow_set_sizes) : force re-render of variable width cells
7459
(colrow_restore_state_group) : ditto
7461
* src/rendered-value.c (rendered_value_render) : privatize
7463
* src/style.c (required_updates_for_style) : Now that rendered values
7464
contain size info too we can dispense with the distinction between
7465
rendering and sizing. Without this changing the font size would not
7466
resize because the rendered value cached the size and was not
7467
re-rendered until draw, rather than at row-height calc.
7469
2004-03-05 Morten Welinder <terra@gnome.org>
7471
* src/gui-file.c (gui_file_save_as): We no longer need to show
7472
extra-widgets in the file chooser outselves.
7474
2004-03-05 Christian Neumair <chris@gnome-de.org>
7476
* src/gui-file.c: free from deprecated GtkOptionMenu, use
7477
GtkComboBox instead.
7479
2004-03-04 Jody Goldberg <jody@gnome.org>
7481
* src/sheet-object-widget.c : rework the List and combo to use a
7482
shared base. Then store and restore the dependents in xml
7484
http://bugzilla.gnome.org/show_bug.cgi?id=135946
7485
* src/formats.c : Add mmmmm-yy and mmmmm as defaults
7486
* src/format.c (append_month) : support them.
7488
* src/main-application.c (gnumeric_arg_parse) : When we don't need a
7489
gui we still need to initialize gobject.
7491
2004-03-01 Morten Welinder <terra@gnome.org>
7493
* src/gui-file.c (gui_image_file_select): Adapt to latest gtk+ cvs
7496
2004-02-29 Jody Goldberg <jody@gnome.org>
7498
http://bugzilla.gnome.org/show_bug.cgi?id=126563
7499
* src/sheet.c (sheet_dup) :
7501
2004-02-28 Jody Goldberg <jody@gnome.org>
7503
http://bugzilla.gnome.org/show_bug.cgi?id=74205
7504
* src/item-edit.c : Display blue range designator even in other panes
7506
2004-02-27 Morten Welinder <terra@gnome.org>
7508
http://bugzilla.gnome.org/show_bug.cgi?id=135609
7509
* src/parse-util.c (rangeref_as_string): Before dropping the
7510
second half of the range, make sure the $-designations agree also.
7512
2004-02-26 Morten Welinder <terra@gnome.org>
7514
* src/gui-util.c (fsel_key_event, fsel_delete_event,
7515
fsel_handle_cancel, fsel_handle_ok, fsel_dialog_finish): Delete.
7516
(gnumeric_dialog_file_selection): Remove GtkFileSelector version.
7518
2004-02-25 Morten Welinder <terra@gnome.org>
7520
* src/gui-file.c (update_preview_cb): Keep the preview, possibly
7521
blank, at all times to avoid flicker.
7523
2004-02-23 Morten Welinder <terra@gnome.org>
7525
* src/gui-file.c (gui_image_file_select): New arg "is_save" for
7526
button and dialog naming. All callers changed.
7528
* src/sheet-object-graph.c (cb_save_as): Use
7529
gui_image_file_select. Plug leak.
7531
2004-02-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
7533
http://bugzilla.gnome.org/show_bug.cgi?id=135044
7534
* src/commands.c (cmd_resize_colrow): Fixed incorrect string
7536
2004-02-21 Jody Goldberg <jody@gnome.org>
7538
http://bugzilla.gnome.org/show_bug.cgi?id=134627
7539
* src/workbook-view.c (wb_view_selection_desc) : Display name of edit
7540
position after releasing Shift key, not the top left
7542
* src/workbook-control-gui.c (cb_wbcg_drag_data_received) : disable
7543
the gnome-vfs portions. They did not work anyway. We can probably
7544
just #ifdef it in the future, I can't see an easy way to put that into
7547
* src/wbc-gtk.c (cb_font_name_changed) : quick and dirty enabling.
7548
(cb_font_size_changed) : ditto.
7550
* src/stf.c (stf_write_workbook) : remove the pointless wrapping of a
7551
pointer and just return the result directly.
7553
http://bugzilla.gnome.org/show_bug.cgi?id=97216
7554
* src/sheet-control-gui.c (scg_mode_create_object) : Go back to the
7555
primary sheet when creating an object
7557
http://bugzilla.gnome.org/show_bug.cgi?id=131588
7558
* src/rangefunc.c (range_sum) : use long double if it is available
7560
* src/mstyle.c (mstyle_new_default) : remove the gconf usage it did
7562
* src/style.c (font_init) : ditto.
7564
* src/normal-args.c : deleted. content moved
7566
* src/main-application.c : Move the arg handling into here, and #ifdef
7567
it rather than using external files. It makes it easier to read.
7568
For the non gnome case we need to manually add gtk deps. Now that
7569
we're not so dependent on gnome we can do more magic and move to a
7570
more abi-style approach with --convert and abi-commands in place of
7573
* src/libgnumeric.h : drop the arg handler stubs
7575
* src/libgnumeric.c (gnm_shutdown) : gconf shutdown is handled
7578
* src/hlink.c (gnm_hlink_url_activate) : conditionalize gnome depend.
7580
* src/gutils.c (gnumeric_sys_data_dir) : Use g_build_path, just to be
7582
(gnumeric_sys_lib_dir) : ditto.
7584
* src/gui-util.c (gnumeric_dialog_run) : Don't destroy the dialog
7585
until a stock response comes in (useful for druids)
7586
(gnumeric_help_display) : conditionalize gnome.
7587
(gnumeric_icondir) : new.
7588
(gnumeric_load_image) : use it.
7589
(gnumeric_load_pixbuf) : use it.
7591
* src/gnumeric-gconf.c (gnm_app_get_gconf_client) : moved to here.
7592
(gnm_conf_init_essential) : handle the font stuff here.
7594
* src/gnumeric-gconf-priv.h : Clean up the default font keys and move
7597
* src/application.c : remove the gconf_client
7598
(gnm_app_get_gconf_client) : move for now.
7599
(gnm_app_release_gconf_client) : delete.
7601
* src/Makefile.am : Further down the path of making gnome optional
7603
* icons/Makefile.am : Add the new about box image, dunno where/how to
7606
* configure.in : corba is dependent on gnome for now.
7607
Move libgnome* into the gnome specific libs
7608
Add the new radar plot engine
7610
* src/wbc-gtk.c (cb_show_menu_tip) : fix leak.
7612
2004-02-20 Jon K Hellan <hellan@acm.org>
7614
* src/gui-util.c: Don't include preview-file-selector.h.
7616
* src/workbook-control-gui.c: Ditto.
7618
* src/wbcg-actions.c: Ditto.
7620
2004-02-19 Morten Welinder <terra@gnome.org>
7622
* src/gui-file.c (gui_image_file_select): Add new "initial"
7623
argument. Caller changed.
7625
2004-02-18 Morten Welinder <terra@gnome.org>
7627
* src/gui-file.c (gui_image_file_select): New function.
7629
* src/wbcg-actions.c (GNM_ACTION_DEF): Use gui_image_file_select.
7631
* src/gui-file.c (file_format_changed_cb): Use
7632
gtk_widget_set_sensitive.
7634
* src/gui-util.c (gnm_fixup_filechooser_size): Remove this. No
7637
2004-02-17 Morten Welinder <terra@gnome.org>
7639
* src/gui-file.c (gui_file_open): Destroy file selector before
7640
calling opener. (File selector grabs focus so stf-import could
7641
not be interacted with.)
7643
* src/print.c (compute_scale_fit_to): For 0 pages, just return
7646
2004-02-13 Morten Welinder <terra@gnome.org>
7648
* src/gui-util.c (gnm_fixup_filechooser_size): New function.
7649
(gnumeric_dialog_dir_selection): Delete.
7651
* src/gui-file.c (gui_file_save_as, gui_file_open): Use
7652
gnm_fixup_filechooser_size.
7654
2004-02-11 Morten Welinder <terra@gnome.org>
7656
* src/print.c (compute_scale_fit_to): Guard against pages <= 0.
7657
Use doubles, not floats.
7658
(print_range_down_then_right, print_range_right_then_down,
7659
compute_group): Use doubles, not floats.
7661
2004-02-09 Morten Welinder <terra@gnome.org>
7663
* src/workbook-object-toolbar.c: Properly include
7664
<gnumeric-config.h> so the tests will work.
7666
2004-02-04 Morten Welinder <terra@gnome.org>
7668
* src/parser.y (yylex): Accept a few unicode characters.
7670
2004-02-04 Jody Goldberg <jody@gnome.org>
7672
* src/sheet.c : Make Sheet a cheesy sort of GObject. Leave the macros
7673
as the old signature based variants for now.
7675
2004-02-04 Jody Goldberg <jody@gnome.org>
7677
* src/gui-file.c (gui_file_open) : add a label and mnemonic for the
7680
2004-02-02 Jody Goldberg <jody@gnome.org>
7682
* src/session.c : make conditional on WITH_GNOME
7684
2004-02-03 Morten Welinder <terra@gnome.org>
7686
* src/wbcg-actions.c (toggle_current_font_attr): Remove debug
7689
2004-02-01 Jody Goldberg <jody@gnome.org>
7691
* src/wbc-gtk.c (cb_custom_color_created) : mark the custom dialog as
7692
a transient of the wbcg.
7694
2004-02-01 Jody Goldberg <jody@gnome.org>
7696
* src/workbook-control-gui.c (wbcg_toolbar_timer_clear) : people
7697
didn't like it so remove it to allow custom color selection to work.
7698
With it in place the action was still insensitive when the
7699
color_changed fired so the activation was ignored.
7701
* src/wbc-gtk.c (wbc_gtk_init) : connect the post_activate signal
7702
as a swapped_object to avoid calling it after we use an accelerator
7705
2004-02-01 Andreas J. Guelzow <aguelzow@taliesin.ca>
7707
* src/gui-util.c (gu_delete_handler): new
7708
(gnumeric_dialog_file_selection): catch window manager deletion
7711
2004-01-28 Jody Goldberg <jody@gnome.org>
7713
http://bugzilla.gnome.org/show_bug.cgi?id=131933
7714
* src/format.c (update_lc) : catch mismatched monetary and numeric
7715
locales that set result in the decimal seperator and thousands
7716
seperator being the same.
7718
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
7720
* schemas/gnumeric-dialogs.schemas.in: Add schemas corresponding to
7721
the new printing keys.
7723
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
7725
* src/gnumeric-gconf-priv.h: add many more printing related keys
7726
* src/gnumeric-gconf.c (gnm_conf_init_essential): initialize
7727
printing variables from gconf
7728
(gnm_gconf_set_print_center_horizontally): implement
7729
(gnm_gconf_set_print_center_vertically): implement
7730
(gnm_gconf_set_print_grid_lines): implement
7731
(gnm_gconf_set_print_even_if_only_styles): implement
7732
(gnm_gconf_set_print_black_and_white): implement
7733
(gnm_gconf_set_print_titles): implement
7734
(gnm_gconf_set_print_order_right_then_down): implement
7735
(gnm_gconf_set_print_scale_percentage): implement
7736
(gnm_gconf_set_print_scale_percentage_value): implement
7737
(gnm_gconf_set_print_scale_width): implement
7738
(gnm_gconf_set_print_scale_height): implement
7739
(gnm_gconf_set_print_repeat_top): implement
7740
(gnm_gconf_set_print_repeat_left): implement
7741
(gnm_gconf_set_print_tb_margins): implement
7742
(gnm_gconf_set_print_header_formats): implement
7743
* src/print-info.c (load_formats): add saved custom formats
7745
2004-01-28 Andreas J. Guelzow <aguelzow@taliesin.ca>
7747
* src/gnumeric-gconf.c (gnm_conf_init_essential): initialize new
7748
configuration variables
7749
(gnm_conf_init_extra): move some items to essential
7750
(gnm_gconf_set_print_center_horizontally): new stub
7751
(gnm_gconf_set_print_center_vertically): new stub
7752
(gnm_gconf_set_print_grid_lines): new stub
7753
(gnm_gconf_set_print_even_if_only_styles): new stub
7754
(gnm_gconf_set_print_black_and_white): new stub
7755
(gnm_gconf_set_print_titles): new stub
7756
(gnm_gconf_set_print_order_right_then_down): new stub
7757
(gnm_gconf_set_print_scale_percentage): new stub
7758
(gnm_gconf_set_print_scale_percentage_valuee): new stub
7759
(gnm_gconf_set_print_scale_width): new stub
7760
(gnm_gconf_set_print_scale_height): new stub
7761
(gnm_gconf_set_print_repeat_top): new stub
7762
(gnm_gconf_set_print_repeat_left): new stub
7763
(gnm_gconf_set_print_tb_margins): new stub
7764
(gnm_gconf_set_print_header_formats): new stub
7765
* src/gnumeric-gconf.h: various new functions (see above) and
7766
fields to the pref structure.
7767
* src/print-info.c: remove dependence on libgnome/gnome-config.h
7768
(load_margin): deleted
7770
(load_range): deleted
7771
(load_formats): remove gnome-config stuff
7772
(print_info_new): switch to gconf functions
7773
(save_margin): deleted
7774
(save_range): deleted
7776
(save_formats): use gconf
7777
(print_info_save): use new gconf functions
7778
(print_info_set_orientation): new
7779
(print_info_get_orientation): new
7780
* src/print-info.h: remove orientation field in pi
7781
(print_info_set_orientation): new
7782
(print_info_get_orientation): new
7783
* src/xml-io.c (xml_write_print_info): use print_info_get_orientation
7784
(xml_read_print_info): use print_info_set_orientation
7786
2004-01-27 Morten Welinder <terra@gnome.org>
7788
* src/gui-file.c (gui_file_save_as): Switch to file chooser.
7790
2004-01-27 Andreas J. Guelzow <aguelzow@taliesin.ca>
7792
* src/print.c (sheet_print): remove warnings
7794
2004-01-27 Morten Welinder <terra@gnome.org>
7796
* src/gui-file.c (gui_file_open): Cleanup and hack a better size.
7798
2004-01-26 Andreas J. Guelzow <aguelzow@taliesin.ca>
7800
* configure.in: bump libgnomeprint[ui] requirement to 2.5.2
7801
* src/print.c (sheet_print): don't close the print dialog on preview
7802
and use gnome_print_dialog_run to avoid overwriting files without
7805
2004-01-26 Morten Welinder <terra@gnome.org>
7807
* src/gui-file.c (gui_file_open): Switch to file chooser.
7809
* src/gui-util.c (gnumeric_dialog_file_selection): Handle file
7810
chooser widgets too.
7812
2004-01-26 Jody Goldberg <jody@gnome.org>
7814
http://bugzilla.gnome.org/show_bug.cgi?id=132448
7815
* src/wbcg-actions.c (cb_auto_filter) : fix
7816
* src/selection.c (selection_first_range) : improve readability of
7819
http://bugzilla.gnome.org/show_bug.cgi?id=127138
7820
* src/wbcg-actions.c (cb_view_freeze_panes) : Don't get confused by an
7821
attempt to freeze without centering when the top or left is not 0.
7823
2004-01-24 Andreas J. Guelzow <aguelzow@taliesin.ca>
7825
* src/cell-draw.c (cell_calc_layout): new
7826
(cell_draw): move the pango layout code into cell_calc_layout
7828
2004-01-24 Jody Goldberg <jody@gnome.org>
7830
* src/sheet-object-graphic.c : defaults for color combos are now more
7831
useful. The actions can set them up for toolbars in one place
7832
rather than users setting the combo in dozens.
7834
2004-01-23 Jody Goldberg <jody@gnome.org>
7836
* src/workbook.c (workbook_find_command) : new utility
7838
* src/wbc-gtk.c (cb_undo_activated) : port to new interface
7839
(cb_redo_activated) : port to new interface
7841
* src/sheet-control-gui.c (scg_object_update_bbox) : silence
7844
2004-01-23 Jody Goldberg <jody@gnome.org>
7846
* configure.in : bump the gtk and glib depends to yesterday's releases
7848
2004-01-22 Jody Goldberg <jody@gnome.org>
7850
* src/wbc-gtk.c : clean up the border combo and adapt to its new api
7852
2004-01-16 Jody Goldberg <jody@gnome.org>
7854
* configure.in : check for symbolic link support
7855
* src/Makefile.am : install executable as
7857
with a symlink to that from gnumeric
7859
2004-01-16 Jody Goldberg <jody@gnome.org>
7861
* src/stf.c (stf_write_workbook) : update the string and drop the
7864
* src/wbc-gtk.c (wbc_gtk_init) : enable translations for menus and
7867
2004-01-16 Jody Goldberg <jody@gnome.org>
7869
* src/wbc-gtk.c : Fix some accelerators and enable colour combos.
7870
Some undo/redo is working too.
7872
* src/style-color.c (style_color_new_go) : new.
7874
* configure.in : Push the goffice include up here until it can get a
7877
* autogen.sh (REQUIRED_AUTOMAKE_VERSION) : bump automake version to
7878
get stricter distchecks.
7880
2004-01-14 Jody Goldberg <jody@gnome.org>
7882
* gnumeric.mime : prune this to just types gnome-mime-data does not
7885
2004-01-15 Andreas J. Guelzow <aguelzow@taliesin.ca>
7887
http://bugzilla.gnome.org/show_bug.cgi?id=131343
7888
* src/print.c (print_job_info_update_from_config): new
7889
(print_job_info_get): move some code into
7890
print_job_info_update_from_config
7891
(sheet_print): call print_job_info_update_from_config after the
7892
user may have changed the paper info in the print dialog.
7894
2004-01-14 Jon K Hellan <hellan@acm.org>
7896
* README: Spellcheck
7898
2004-01-14 Jody Goldberg <jody@gnome.org>
7900
* src/wbc-gtk.c : silence some warnings from the zoom combo. It's not
7901
functional yet so why spew errors.
7902
- Add status line display of menu tooltips
7903
- Fix accel for the display formula toggle
7905
2004-01-13 Jody Goldberg <jody@gnome.org>
7907
* src/func.c (function_call_with_list) : fix the address tests by
7908
allowing missing optional args to get passed as NULL.
7910
2004-01-12 Morten Welinder <terra@gnome.org>
7912
* src/GNOME_Gnumeric-gtk.xml: remove menu entris for bold, etc.
7913
(Probably accidentally committed.)
7915
2004-01-11 Jon K Hellan <hellan@acm.org>
7917
* src/GNOME_Gnumeric-gtk.xml: Add accelerators for bold, italic
7920
2004-01-10 Jody Goldberg <jody@gnome.org>
7922
* src/wbc-gtk.c : Display the progress bar
7923
enable the sensitzation/desensitization of the actions. NOTE :
7924
requires a gtk patch that is not in cvs yet.
7925
Set a tooltip for the border and colour combos, requires another gtk
7926
patch that is not in cvs.
7928
* src/gnumeric-pane.c : Conditionally disable the stipple border for
7929
now, but fix it to scale properly with zoom anyway.
7931
* src/Makefile.am (bonobo_component_ui_DATA) : install the GtkAtion ui
7932
file for now. We can cleanup later. Display ssconvert too, that
7933
needs to merge or move to a new dir. It doubles link time.
7935
2004-01-09 Morten Welinder <terra@gnome.org>
7937
* src/wbcg-actions.c: Add invisible CopyDown and CopyRight
7938
actions. Stubbed so far.
7939
Remove accelerator for double underline as it collided with
7942
2004-01-08 Jody Goldberg <jody@gnome.org>
7944
http://bugzilla.gnome.org/show_bug.cgi?id=130172
7945
* src/func.c (function_call_with_list) : A major change
7946
Do not do the empty conversion to int(0) in expr_eval
7947
ALLOW scalars to return empty/NULL, the convert them to empty for
7948
most types, and int(0) for float/bool. Which makes
7949
'S' the same as 's' for all purposes accept documentation.
7951
* src/GNOME_Gnumeric-gtk.xml : No need to name items their action is
7952
sufficient as long as they are unique in their parent.
7954
* src/cell.h (CELL_HAS_NEW_EXPR) : AARRRGGH. Actually a sign a
7955
_unique_ value to it.
7957
* src/gnumeric-pane.c (cb_control_point_event) : change the cursor
7958
when dragging. Only start dragging on button 1 down. Ignore other
7959
buttons while dragging.
7960
(cb_sheet_object_canvas_event) : ditto.
7962
* src/main-application.c (main) : set the app name.
7964
2004-01-07 Jody Goldberg <jody@gnome.org>
7966
http://bugzilla.gnome.org/show_bug.cgi?id=130700
7967
* src/format.c (format_entry_ctor) : init the new 'suppress_minus'
7969
(format_compile) : initialize supress minus if the condition is of the
7970
form [<=(val <= 0)] or [<(val < 0)] I hope this is a reasonable
7971
approximation of MS Excel.
7972
(render_number) : pull out all the old elements that added minus signs
7973
(format_number) : handle the new entry based suppress minus operator
7974
here, and prepend the sign.
7976
* src/wbcg-actions.c : Sync labels and mnemonics with the old
7977
bonobo/gnomeui menus
7979
2004-01-06 Jody Goldberg <jody@gnome.org>
7981
* src/wbc-gtk.c (cb_add_menus_toolbars) : Enable/Disable the arrow
7982
contraction on the toolbars if the handlbox is docked/undocked.
7983
This avoids having floating toolbars with nothing but the collapse
7986
* configure.in : re-enable the *DEPRECATED*
7987
and add a pile of #undef/#warning to make sure things still work
7989
2004-01-06 Jody Goldberg <jody@gnome.org>
7991
The initial pass at GtkAction custom combos are mucho broken
7992
* src/sheet.c (sheet_toggle_hide_zeros) : move this out of the macro
7994
(sheet_toggle_show_formula) : ditto.
7996
* src/sheet-object-graph.c (cb_save_as) : add jpg, and translate the
7997
error message now that string freeze is done.
7999
* src/gui-util.c : restore DISABLE_DEPRECATED
8000
(gnumeric_toolbar_insert_with_eventbox) : delete.
8001
(gnumeric_toolbar_append_with_eventbox) : delete.
8002
(gtk_button_stock_alignment_set) : delete.
8003
(gnumeric_toolbar_new) : delete.
8004
(gnumeric_inject_widget_into_bonoboui) : move the wbc-bonobo.c
8005
(gnumeric_toolbar_get_widget) : delete.
8006
(gnm_widget_disable_focus) : move here from workbook-format-toolbar.c
8008
* workbook-format-toolbar.{c,h} : move contents into
8009
* wbcg-actions.c : this new file
8010
* wbc-gtk.c : or this new file
8011
* wbc-bonobo.c : or this new file (WHICH DOES NOT COMPILE OR WORK)
8012
Should probably merge into workbook-control-component or something
8015
* src/gnm-marshalers.list (VOID) : Use the stock marshallers in glib
8016
directly rather than adding our own wrappers.
8017
* src/application.c : here
8019
* src/GNOME_Gnumeric.xml : rename FileExit -> FileQuit to be consistent
8020
* src/GNOME_Gnumeric-gtk.xml : new file for GtkAction
8022
You must be running in gnumeric/src
8024
YOU MUST BE RUNNING IN gnumeric/src
8025
for anything to work right now. I don't quite know how I want to
8026
handle the file yet (the bonobo approach was irritating) we'll see.
8029
- Add goffice/gui-utils
8030
- Get rid of --with-bonobo
8032
- Add --enable-bonobo-component
8033
* plugins/Makefile.am : Adapt to that.
8034
* src/Makefile.am : ditto, and add the new files.
8036
2004-01-05 Jody Goldberg <jody@gnome.org>
8038
http://bugzilla.gnome.org/show_bug.cgi?id=130424
8039
* src/commands.c (cmd_set_text_redo) : remove manual kludge.
8040
* src/dependent.h (cell_eval) : move from here
8041
* src/cell.h (cell_eval) : to here. Add a new flag CELL_HAS_NEW_EXPR
8042
* src/cell.c (cell_set_expr_internal) : set the flag here.
8043
* src/rendered-value.c (rendered_value_new) : test it here.
8045
http://bugzilla.gnome.org/show_bug.cgi?id=130582
8046
* src/sheet-control-gui.c (scg_cursor_move) : don't scroll the other
8047
panes unless we absolutely have to. Apparently we only fuxed normal
8048
cursor movement for http://bugzilla.gnome.org/show_bug.cgi?id=77303
8049
This fixes rangesel too.
8051
2003-12-29 Jody Goldberg <jody@gnome.org>
8053
* * : Move everything to glib/gi18n.h in place of gnumeric-i18n.h
8054
* gnumeric-i18n.h : delete
8056
* configure.in : Looks like we're really requiring gtk/glib 2.3.1 at a
8057
minimum. In reality it's probably closer to CVS at this point. I'm
8058
kinda looking forward to the gtk freeze.
8060
2003-12-24 Morten Welinder <terra@gnome.org>
8062
* src/io-context-gtk.c (cb_realize): Remove workaround for old
8064
* src/stf-parse.c (stf_parse_lines): Ditto.
8065
* src/workbook-control-gui.c (wbcg_get_gtk_settings): Ditto.
8068
* src/gui-util.c (gdk_cursor_new_from_pixbuf): Remove.
8070
2003-12-23 Jody Goldberg <jody@gnome.org>
8072
* configure.in : post BRANCH bump
8073
require gtk/glib 2.3.0, that will probably go up shortly
8074
as we depend more on head directly