1-*- ChangeLog gnome-2-branch: top half of this file; HEAD branch: bottom half of this file 2 32004-12-23 Derek Atkins <derek@ihtfp.com> 4 5 Chris Shoemaker's patch to silence gtk errors in dialog-budget-category.c: 6 * we don't need to get our own account TreeModel and set it to our 7 new account TreeView, because gnc_tree_view_account_new gives us 8 a TreeView with the global account TreeModel already set. Plus, 9 it already has the right TreeModelSort interface, which we are 10 counting on. 11 * check for NULL before trying to gtk_entry_set_text(). 12 132004-12-20 Derek Atkins <derek@ihtfp.com> 14 15 Stephen Evanchik's Double free bug in GncDenseCal: 16 * src/gnome-utils/gnc-dense-cal.c: 17 Remove double calls to gdc_free_all_mark_data 18 in object cleanup, 19 20 Stephen Evanchik's patch to Update scheduled transaction dialog: 21 * src/gnome/dialog-sx-from-trans.c: 22 - Removed per-button callbacks in favor of a 23 dialog response callback 24 - Changed per-button callback functions to 25 simple 'action' functions that are called 26 in the response handler. 27 - Migrated away from gtk_signal_connect 28 - Removed references to GNOME 1.x dialog 29 - C Style changes: 'open curly brace on same line' 30 - Moved 'public' function gnc_sx_create_from_trans 31 to the bottom of the file 32 332004-12-19 Derek Atkins <derek@ihtfp.com> 34 35 Stephen Evanchik's Minor touch-ups to GNCCurrencyEdit: 36 * src/gnome-utils/gnc-currency-edit.c: 37 In gnc_currency_edit_get_type added 'const' keyword and 38 final NULL entry in currency_edit_info declaration 39 40 In gnc_currency_edit_new use g_type_class_ref and 41 GNC_TYPE_CURRENCY_EDIT macro; move gtk_type_new to 42 g_object_new 43 44 Stephen Evanchik's patch to remove references to gtk_type_new 45 in converted widgets: 46 * src/gnome-utils/gnc-date-edit.h: 47 Added GNC_TYPE_DATE_EDIT macro 48 * src/gnome-utils/gnc-general-select.h: 49 Added GNC_TYPE_GENERAL_SELECT macro 50 * src/gnome-utils/gnc-date-edit.c: 51 * src/gnome-utils/gnc-general-select.c: 52 * src/gnome-utils/gnc-dense-cal.c: 53 gtk_type_new -> g_object_new 54 552004-12-18 Derek Atkins <derek@ihtfp.com> 56 57 Stephen Evanchik's GncDenseCal GObject patch: 58 * src/gnome-utils/gnc-dense-cal.h: 59 Added #include <glib.h> 60 Added private member 'disposed' to GncDenseCal struct 61 Added GNC_TYPE_DENSE_CAL macro 62 * src/gnome-utils/gnc-dense-cal.c: 63 Converted the following functions to use GObject: 64 gnc_dense_cal_get_type, 65 gnc_dense_cal_class_init 66 Renamed gnc_dense_cal_destroy to gnc_dense_cal_dispose 67 682004-12-17 Derek Atkins <derek@ihtfp.com> 69 70 Stephen Evanchik's GNCDateEdit GObject patch: 71 * src/gnome-utils/gnc-date-edit.h: 72 Removed #include <gnome.h> 73 Added #include <glib.h> 74 Added private member 'disposed' to GNCDateEdit struct 75 * src/gnome-utils/gnc-date-edit.c: 76 Converted the following functions to use GObject: 77 gnc_date_edit_get_type, 78 gnc_date_edit_class_init 79 Renamed gnc_date_edit_destroy to gnc_date_edit_finalize 80 Added gnc_date_edit_dispose function that handles 81 child widget destruction 82 Explicit casts to GTK_WIDGET in create_children 83 842004-12-16 Joshua Sled <jsled@asynchronous.org> 85 86 Stephen Evanchik's GncGeneralSelect GObject cleanup patch: 87 * src/gnome-utils/gnc-general-select.h: 88 Removed #include <glib-object.h> 89 Added #include <glib.h> 90 Added private member 'disposed' to GNCGeneralSelect 91 * src/gnome-utils/gnc-general-select.c: 92 Converted the following functions to use GObject: 93 gnc_general_select_get_type, 94 gnc_general_select_class_init 95 Added gnc_general_select_dispose function that handles 96 child widget destruction 97 982004-12-15 Joshua Sled <jsled@asynchronous.org> 99 100 * src/register/register-gnome/gnucash-item-edit.c 101 (create_popup_toggle): realize popup-arrow widget so it gets 102 displayed; correct tyop in "field" name. 103 1042004-12-15 Joshua Sled <jsled@asynchronous.org> 105 106 * src/register/register-gnome/gnucash-item-edit.c 107 (gnc_item_edit_set_cursor_pos): Re-add 108 text-selection-via-mouse-drag support [still buggy in multiple 109 ways; see GNOME2_STATUS for updates]. 110 111 * GNOME2_STATUS: Update status. 112 1132004-12-14 Joshua Sled <jsled@asynchronous.org> 114 115 * src/business/business-gnome/business-gnome.scm 116 (business-report-function): Change business-report menu path for 117 reporting ui updates. 118 1192004-12-05 Derek Atkins <derek@ihtfp.com> 120 121 New Account Dialog bug fix from Stephen Evanchik: 122 * src/gnome/glade/account.glade: 123 - Made Accounts h-scroll box policy automatic. 124 - Reordered the containing table to two rows, one column 125 126 * configure.in: 127 change the version number to 1.99 to make it different than HEAD. 128 1292004-12-04 Derek Atkins <derek@ihtfp.com> 130 131 Fix some deprecated functions: 132 * src/gnome-utils/gnc-gnome-utils.c: 133 gnome_pixmap_new_from_file -> gtk_image_new_from_file 134 * src/business/business-gnome/dialog-date-close.c: 135 gnome_pixmap_new_from_file -> gtk_image_new_from_file 136 gnome_unconditional_pixmap_file -> gnome_program_locate_file 137 * src/business/business-gnome/dialog-invoice.c: 138 gnome_unconditional_pixmap_file -> gnome_program_locate_file 139 gnome_pixmap_load_file -> gtk_image_new_from_file 140 1412004-11-30 Derek Atkins <derek@ihtfp.com> 142 143 * src/gnome-utils/Makefile.am: 144 Add DESTDIR to the install hooks 145 * src/gnome/gnc-plugin-page-account-tree.c: Fix spelling of "Account" 146 1472004-10-31 Derek Atkins <derek@ihtfp.com> 148 149 Heath Martin's x86_64 patch: 150 * lib/egg/egg-menu-merge.c: 151 change a gint to a gsize 152 * src/gnome/gnc-plugin-page-account-tree.c: 153 use GINT_TO_POINTER() instead of a direct cast. 154 155 * src/engine/gnc-budget-cat.c: 156 * src/gnome/dialog-budget-workbench.c: 157 Fixes for ISO C90. Fixes bug #153472. 158 1592004-08-05 Derek Atkins <derek@ihtfp.com> 160 161 * src/engine/gnc-budget*: 162 * src/gnome/*budget*: 163 * src/gnome/glade/budget.glade: 164 * src/gnome-utils/gnc-budget*: 165 Darin Willits' initial budget code. Still not fully functional 166 but the basic UI is there. See the GNOME2_STATUS for additional 167 information. 168 1692004-07-20 Derek Atkins <derek@ihtfp.com> 170 171 * lib/egg/eggtoolbar.c 172 Priit Laes' patch for C90 compliance (only the g2 portion). 173 1742004-07-06 David Hampton <hampton@employees.org> 175 176 * various files: Merge in changes to HEAD from 2004-05-02 177 (gnome2-merge-8) through yesterday (gnome2-merge-9). 178 1792004-06-13 Derek Atkins <derek@ihtfp.com> 180 181 * configure.in: add support for gtkhtml-3.1, remove src/experimental 182 * src/Makefile.am: remove experimental subtree 183 * src/app-file/gncmod-app-file.c: don't need gnc-mdi-utils.h 184 * src/gnome/gnc-window.c: register the gnc-mdi progress handler 185 * src/gnome-utils/gnc-mdi-utils.[ch]: add a progress handler 186 that gets set by the gnc-window code (just like in gnc-file) 187 to remove a circular dependency. 188 1892004-05-31 Joshua Sled <jsled@asynchronous.org> 190 191 * src/report/report-gnome/gnc-plugin-page-report.c 192 (gnc_plugin_page_report_set_fwd_button), 193 (gnc_plugin_page_report_set_back_button): forw/back action sensitivity 194 (gnc_plugin_page_report_*_cb): Provide functional backing 195 [forw/back/reload/stop/export/options/print]. 196 1972004-05-31 Joshua Sled <jsled@asynchronous.org> 198 199 * src/report/report-gnome/gnc-plugin-page-report-ui.xml: Add 200 report UI decl. 201 202 * src/report/report-gnome/gnc-plugin-page-report.c 203 (gnc_plugin_page_report_init), 204 (gnc_plugin_page_report_merge_actions), 205 (gnc_plugin_page_report_unmerge_actions): Create and [un]merge report 206 Actions + toolbar items on page-transitions. 207 2082004-05-31 Joshua Sled <jsled@asynchronous.org> 209 210 * src/gnome/top-level.c (gnc_html_register_url_cb): Modify to 211 handle hyperlinks better. 212 213 * src/engine/qofbook.c (qof_book_get_entity_by_guid): Add generic 214 GUID lookup [without entity-type being known] to handle historical 215 code. 216 2172004-05-30 Joshua Sled <jsled@asynchronous.org> 218 219 * src/gnome-utils/gnc-mdi-utils.c (gnc_mdi_show_progress): Proxy 220 progress-display call through to gnc-window code. 221 (gnc_ui_get_toplevel): Re-implement gnc_ui_get_toplevel in a 222 less-correct but valid way. 223 * src/report/report-gnome/gnc-plugin-page-report.c 224 (gnc_plugin_page_report_create_widget): Set the top-level window 225 so progress-render calls work during report render-time. 226 2272004-05-24 Derek Atkins <derek@ihtfp.com> 228 229 * src/gnome/dialog-new-user.c: 230 * src/gnome/gnc-embedded-window.c: 231 * src/gnome/gnc-main-window.c: 232 * src/gnome/gnc-plugin-page-account-tree.c: 233 * src/gnome-utils/dialog-transfer.c: 234 * src/gnome-utils/gnc-query-list.c: 235 Vitaly Lipatov's C-construct patch -- 236 During compiling CVS version of gnucash (tag gnucash-gnome2-dev) 237 I have found some mistakes makes error with GCC compiler. 238 239 * lib/egg/Makefile.am: don't define *_DISABLE_DEPRECATED when 240 building libegg. It causes a build failure on FC2 with 241 Gnome-2.6/Gtk-2.4 because some Gtk-2.2 functions have been 242 deprecated. Oops! 243 2442004-05-15 Joshua Sled <jsled@asynchronous.org> 245 246 * src/report/report-gnome/gnc-plugin-page-report.c 247 (gnc_plugin_page_report_class_init): Add 'report_id' 248 object-property for page-c'tor. 249 (gnc_plugin_page_report_setup): Setup the page's report at creation time so 250 we can get the correct tab labels. 251 252 * src/gnome-utils/gnc-mdi-utils.c (gnc_mdi_show_progress): Weaken 253 assertion while code isn't fully changed over, yet. 254 (gnc_ui_get_toplevel): Comment out b0rken MDI-related code. 255 2562004-05-05 Joshua Sled <jsled@asynchronous.org> 257 258 * src/report/report-gnome/window-report.h: Comment interface with 259 recon about usage in the source tree. 260 261 * src/report/report-gnome/gnc-plugin-page-report.c: Copy 262 window-report.c implementation over to here, rename, and get 263 somewhat working again. At this point, report-menu invocations 264 result in a tab being created, and displaying the error message. 265 2662004-05-05 David Hampton <hampton@employees.org> 267 268 Fixes from Christian Neumair <chris@gnome-de.org>. 269 270 * src/gnome/dialog-new-user.c: 271 * src/gnome/window-reconcile.c: 272 * src/gnome/glade/account.glade: 273 * src/gnome/glade/newuser.glade: 274 * src/gnome-utils/dialog-transfer.[ch]: 275 * src/gnome-utils/transfer.glade: HIGify several dialogs. 276 2772004-05-05 Derek Atkins <derek@ihtfp.com> 278 279 * lib/egg/egg-menu-merge.c: 280 we don't have a "ui" so dont notify ourself when merging. 281 * src/gnome-utils/gnc-menu-extensions.scm: 282 Use empty strings instead of #f for menu items so we don't 283 cause problems later where we expect to get an actual string. 284 * src/report/report-gnome/report-gnome.scm: 285 Make sure we actually have a menu-path list! 286 2872004-05-03 David Hampton <hampton@employees.org> 288 289 Fixes from Christian Neumair <chris@gnome-de.org>. 290 291 * src/gnome-search/search-date.c: Fix a crash. 292 293 * src/gnome-utils/gnc-tree-model-account.c: Fix memory leaks. 294 295 * src/register/register-gnome/gnucash-sheet.c: Fix popup menu. 296 2972004-05-02 David Hampton <hampton@employees.org> 298 299 * various files: Merge in changes to HEAD from 2004-03-03 300 (gnome2-merge-7) through today (gnome2-merge-8). 301 302 * src/business/business-core/Makefile.am: 303 * src/business/business-gnome/Makefile.am: 304 * src/import-export/binary-import/Makefile.am: Work around 305 problems with libltdl3. 306 307 * src/import-export/hbci/druid-hbci-initial.c: Eliminate a couple 308 of compiler warning messages. 309 3102004-05-02 Joshua Sled <jsled@asynchronous.org> 311 312 * src/report/report-gnome/gnc-plugin-page-report.[ch]: Plugin-Page 313 for a report instance; yet to be finished. 314 315 * src/report/report-gnome/report-gnome.scm 316 (gnc:add-report-template-menu-items): Update menu path 317 constructors to have the correct gnome2-ui-merging menu path 318 value. 319 320 * src/gnome-utils/gnc-menu-extensions.[ch]: Partially-completed 321 changes for using the menu/UI merging code for setting up 322 extensions menu. 323 324 * src/gnome-utils/gnc-html.[ch]: Revert gtkhtml2 changes; restoring 325 gtkhtml1 version of the gnc-html.c code allows compatability 326 with gtkhtml3. 327 328 * src/gnome/ui/gnc-main-window-ui.xml: Add testing MiscAction, 329 MiscTestAction. 330 331 * src/gnome/gnc-main-window.c (gnc_main_window_cmd_test): Add test 332 menu item for GtkHtml3-window display. 333 * src/gnome/gnc-main-window.c (gnc_main_window_setup_window): Add 334 testing code to merge/display menu item, call the 335 extensions_menu setup routine. 336 337 * configure.in (DB_LIBS): move from gtkhtml2 to gtkhtml3. 338 339 * lib/egg/egg-menu-merge.c (egg_menu_merge_add_ui): 340 Merge egg_menu_merge_add_ui from gtk-2.4.0 GtkUIManager. 341 3422004-04-10 Derek Atkins <derek@ihtfp.com> 343 344 * src/app-utils/gnc-druid-provider-desc.h: add a comment about 345 the callback functions. 346 * src/import-export/Makefile.am: remove duplicate files, add 347 import format gnome provider. 348 * src/import-export/gnc-import-format-gnome.c: add a new format 349 provider to let the user choose a date or numeric format. 350 * src/import-export/import-provider-format.glade: glade file 351 for the format provider 352 353 * src/import-export/Makefile.am: add missing header file to noinst list 354 * src/import-export/gnc-import-desc-format.[ch]: callbacks should 355 take a GNCImportFormatCB*. 356 * src/import-export/gnc-import-format-gnome.c: fix a couple bugs. 357 - make sure we only include available choices. 358 - send the right callback. 359 * src/import-export/gncmod-generic-import.c: register the format provider 360 * src/import-export/qif-import/Makefile.am: include and link against 361 generic import library (for test druid) 362 * src/import-export/qif-import/gnc-druid-test.c: add "format" provider 363 to druid test 364 3652004-03-05 Tomas Cernaj <tcernaj@gmx.de> 366 367 * src/register/register-gnome/gnucash-grid.c: 368 Fix bug in the grid's update method: Called 369 gnome_canvas_item_request_update() while updating. 370 3712004-03-04 Tomas Cernaj <tcernaj@gmx.de> 372 373 * src/register/register-gnome/gnucash-cursor.c: 374 * src/register/register-gnome/gnucash-cursor.h: 375 * src/register/register-gnome/gnucash-grid.c: 376 * src/register/register-gnome/gnucash-grid.h: 377 * src/register/register-gnome/gnucash-header.h: 378 * src/register/register-gnome/gnucash-sheet.c: 379 * src/register/register-gnome/gnucash-sheet.h: 380 Convert to new GType-/GObject-System. 381 3822004-02-09 Derek Atkins <derek@ihtfp.com> 383 384 * src/import-export/Makefile.am: added new 'format' provider desc 385 * src/import-export/gnc-import-format-cb.[ch]: 386 Callback object for the import format provider 387 * src/import-export/gnc-import-desc-format.[ch]: 388 Descriptor for the Import Format Provider, used to choose 389 Date and Number formats. 390 3912004-02-08 Derek Atkins <derek@ihtfp.com> 392 393 * src/app-utils/gnc-druid-provider-desc-file.c: 394 * src/app-utils/gnc-druid-provider-desc-multifile.c: 395 don't need to cast to the superclass -- just use it directly 396 * src/gnome-utils/Makefile.am: 397 add multifile sources and glade file 398 * src/gnome-utils/gnc-druid-provider-file-gnome.c: 399 Call the next_cb with the proper argument (no clue why the compiler 400 didn't catch this before) 401 * src/gnome-utils/gnc-druid-provider-multifile-gnome.[ch]: 402 * src/gnome-utils/druid-provider-multifile.glade: 403 Added code and glade file to implement the multifile provider 404 * src/gnome-utils/gncmod-gnome-utils.c: 405 Register the file and multifile providers 406 * src/import-export/qif-import/gnc-druid-test.c: 407 Add the file and multifile providers to the druid test 408 409 * src/app-utils/gnc-druid-provider-desc-edge.c: 410 don't need to cast to the cuperclass -- just use it directly. 411 412 * src/app-utils/gnc-druid-provider-desc/file.[ch]: 413 add a history_id as a separate member for where to store 414 file choice history 415 * src/gnome-utils/gnc-druid-provider-file-gnome.c: 416 use new history_id member 417 * src/import-export/qif-import/gnc-druid-test.c: 418 set file history_id 419 420 * src/gnome-utils/gnc-druid-gnome.c: remove debugging printfs 421 422 * src/app-utils/gnc-druid.[ch]: 423 Make sure the jump code CAN allow a recursive jump originating 424 and ending in the same provider. Put a counter around the 425 jump function to make sure we don't walk the tree while we're 426 jumping. This will let the last jump win correctly. 427 * src/gnome-utils/gnc-druid-provider-multifile-gnome.c 428 handle prev-page properly by not allowing you to jump 429 back while you have any files in the list. 430 4312004-02-07 Derek Atkins <derek@ihtfp.com> 432 433 * src/app-utils/gnc-druid-provider-desc-file.[ch]: 434 Add 'glob' option (should we glob the filename?) 435 Add a forward pointer to the multifile if we allow multiple file selection 436 * src/app-utils/gnc-druid-provider.c: 437 Change the class functions so that children don't need to override 438 all the page-movement functions if they don't need to do so. 439 * src/app-utils/gnc-druid.c: handle jump_to_provider properly 440 * src/gnome-utils/Makefile.am: added file-chooser provider 441 * src/gnome-utils/gnc-druid-provider-edge-gnome.[ch]: 442 use basic-gobject framework to reduce the code size 443 remove non-necessary overrides 444 remove non-ncessary definitions 445 * src/gnome-utils/gnc-druid-provider-file-gnome.[ch]: 446 Add a new provider that allows the user to select a file. 447 4482004-01-29 Derek Atkins <derek@ihtfp.com> 449 450 * src/app-utils/gnc-druid-provider-*.[ch]: 451 - move the remove_file() method from the MultiFile to the File Provider 452 - add a returned gpointer this_file to the file provider callback. 453 4542004-01-23 Derek Atkins <derek@ihtfp.com> 455 456 * src/app-utils/Makefile.am: 457 Add new multifile provider descriptor 458 * src/app-utils/gnc-druid-provider-desc-multifile.[ch]: 459 New multi-file provider descriptor 460 4612004-01-22 Derek Atkins <derek@ihtfp.com> 462 463 * src/app-utils/Makefile.am: 464 Add basic gobject header. 465 * src/app-utils/gnc-basic-gobject.h: provide some macros to 466 simplify some general gobject creation, for example simple 467 objects with just a get_type() and new() methods. 468 * src/app-utils/gnc-druid-cb.h: 469 need to include gnc-druid-provider.h directly 470 * src/app-utils/gnc-druid-cb.c: 471 implement in terms of the new gnc-gobject macros 472 * src/app-utils/gnc-druid-provider.c: 473 * src/app-utils/gnc-druid-provider-desc.c: 474 * src/app-utils/gnc-druid-provider-desc-edge.c: 475 implement in terms of the new gnc-gobject macros 476 * src/app-utils/gnc-druid-provider-desc.h: 477 re-add the various callback routines in terms of a new typedef 478 * src/app-utils/gnc-druid-provider.h: 479 need to include gnc-druid-provider-desc.h directly 480 * src/import-export/Makefile.am: 481 Add new files to implement the format-chooser provider framework. 482 * src/import-export/import-prov-desc-format.[ch]: 483 * src/import-export/import-prov-format-cb.[ch]: 484 485 * src/app-utils/Makefile.am: 486 add new-file druid provider (and callback) 487 * src/app-utils/gnc-druid-provider-desc-file.[ch]: 488 provider descriptor for enter-file provider 489 * src/app-utils/gnc-druid-provider-file-cb.[ch]: 490 provider callback for enter-file provider 491 4922004-01-20 Derek Atkins <derek@ihtfp.com> 493 494 * src/app-utils/gnc-druid-provider-desc.h: add a pointer to the 495 provider created from this descriptor. 496 * src/app-utils/gnc-druid-provider.c: set the provider pointer 497 in the descriptor object. 498 * src/app-utils/gnc-druid.[ch]: 499 - add pointer to the current provider list node. 500 - add API to specifically jump to a particular provider 501 - restructure code to reduce duplication 502 * src/import-export/import-parse.h: add GNCIF_NONE 503 5042004-01-16 Derek Atkins <derek@ihtfp.com> 505 506 * src/gnome-utils/gnc-druid-gnome.[ch]: move the next/prev signals to 507 the pages. Add a cancel callback to the pages (the druid's main 508 cancel callback is never called). Now we get our signals 509 correct. Save a reference to the window so we can destroy it.. 510 Use gtk_widget_destroy() instead of g_object_unref(). 511 * src/import-export/qif-import/gnc-druid-test.[ch]: add some code 512 to test the new druid framework. Build's a test druid. 513 * src/import-export/qif-import/Makefile.am: build new test code 514 * src/import-export/qif-import/gnc-plugin-qif-import*: hook in 515 the new druid test code; add a new menu item to test the druid. 516 5172004-01-14 Derek Atkins <derek@ihtfp.com> 518 519 * src/app-utils/gnc-druid-provider-desc-edge.[ch]: add api to 520 build the provider-desc in one function. 521 * src/app-utils/gnc-druid-provider.[ch]: remove get_pages API; 522 the sub-class should just insert the list of pages and let 523 us deal with it. Also added a last_page() method. 524 * src/app-utils/gnc-druid.c: make sure to delete the providers 525 when we shut down. 526 * src/gnome-utils/gnc-druid-gnome*.h: move the definition of the 527 gnome UI to a header that actually get's installed as opposed to 528 an internal header. 529 * src/gnome-utils/gnc-druid-provider-edge-gnome.[ch]: Implement 530 a gnome-druid edge-page (first/last page in the druid). Probably 531 still need to hook into the next/prev buttons. 532 533 * gnc-druid.[ch]: add gnc_druid_{next,prev}_page() APIs to choose the 534 default next/previous page in the druid. This will automatically 535 walk through the providers to find the next real page. 536 * gnc-druid-gnome.c: hook in handlers for "next" and "back" signals 537 for default page moves. This should allow us to constantly keep 538 track of the current provider. 539 5402004-01-13 Derek Atkins <derek@ihtfp.com> 541 542 * configure.in: pull in gobject with glib 543 * src/app-utils/Makefile.am: add the gnc-druid files 544 * src/app-utils/gnc-druid*: an abstract druid creation framework. 545 546 * src/app-utils/Makefile.am: add the edge provider description. 547 * src/app-utils/gnc-druid-provider-desc-edge.*: provider descriptor 548 for edge pages (the first and last page of the druid). 549 * src/app-utils/gnc-druid*: 550 - add class macros 551 - add a title to the basic provider desc and clean it up. 552 553 * src/gnome-utils/Makefile.am: add preliminary gnome gnc-druid impl. 554 * src/gnome-utils/gnc-druid-gnome.[ch]: gnome implementation of gnc-druid 555 * src/app-utils/gnc-druid*: 556 - move the provider-building into the generic class and add an 557 "append_provider" method to the druid class. Use that when 558 building the druid. 559 - add a ui_type to the druid class and use that when building providers. 560 561 * src/app-utils/gnc-druid-provider.[ch]: add get_pages() class method. 562 (I decided I don't need a special gnc-druid-provider-gnome just to 563 add a get_pages method, as everything would need it anyways). 564 * src/gnome-utils/gnc-druid-gnome.c: use the get_pages() method 565 to actually build the druid. 566 567 * src/gnome-utils/gncmod-gnome-utils.c: register the gnome-druid and 568 edge provider. 569 5702004-01-06 Derek Atkins <derek@ihtfp.com> 571 572 * src/engine/qofinstance.c: revert fix from 01-01, because it's wrong. 573 Fix the actual problem, all the ...ReturnGUID() #define's which 574 don't check that it's passed a NULL value. 575 * src/engine/Transaction.h: 576 * src/engine/Account.h: 577 Fix ...ReturnGUID() to check whether it was passed a NULL object 578 and, if so, return the null GUID instead of crashing. 579 * src/business/business-core/gncCustomer.h: 580 * src/business/business-core/gncEmployee.h: 581 * src/business/business-core/gncInvoice.h: 582 * src/business/business-core/gncJob.h: 583 * src/business/business-core/gncTaxTable.h: 584 * src/business/business-core/gncVendor.h: 585 Fix ...RetGUID() to check whether it was passed a NULL object 586 and, if so, return the null GUID instead of crashing. 587 5882004-01-01 Derek Atkins <derek@ihtfp.com> 589 590 * src/engine/qofinstance.c: return a "valid" GUID even if passed a NULL 591 object, because lots of code assumes you can get a guid all the time. 592 So, just return guid_null() instead of NULL. Fixes a SEGV. 593 594-=-=-=- cvs gnome2 branch ChangeLog is above this line -=-=-=- 595 596 5972004-12-31 Derek Atkins <derek@ihtfp.com> 598 599 John Ellson's patch to fix some gcc4 warnings (bug #162582). 600 601 Chris Shoemaker's gnc-trace patch. 602 * src/engine/gnc-trace.[ch]: 603 - Recent use of malloc in gnc-trace breaks my compile, use g_malloc 604 - Fix leak of filename mem 605 - add indenting of trace file according to ENTER/LEAVE stack depth 606 - have ENTER report file name of function along with function name 607 608 Chris Shoemaker's typo-fix patch. 609 * src/engine/qofbook.h: 610 * src/engine/qofid.h: 611 general fixed typos and comments 612 6132004-12-29 Christian Stimming <stimming@tuhh.de> 614 615 * src/tax/us/txf-de_DE.scm: Add Tax TXF categories for the de_DE 616 locale, i.e. the German tax report. If the current locale begins 617 with de_DE, the new German tax categories will be loaded, 618 otherwise the conventional U.S. ones. This is the easiest method 619 to allow other (non-U.S.) tax categories to be selected in the 620 accounts' tax settings. 621 622 * src/report/locale-specific/us/taxtxf-de_DE.scm: Add Tax report 623 for de_DE locale. If the current locale begins with de_DE, the new 624 German tax report will be loaded, otherwise the conventional 625 U.S. report. 626 6272004-12-23 Christian Stimming <stimming@tuhh.de> 628 629 * src/import-export/hbci/druid-hbci-initial.c (on_aqhbci_button): 630 Add extra sanity checks and verbose error message if the setup 631 wizard of aqhbci cannot be found. 632 633 * src/import-export/hbci/gncmod-hbci.c: Fix potentially missing 634 initialization of gwenhywfar library, as reported by Peter 635 O'Gorman on Max OS X. 636 6372004-12-17 Derek Atkins <derek@ihtfp.com> 638 639 Rich Johnson's patch to include private structures in the doxygen docs 640 * src/doc/doxygen.cfg.in: 641 extract local classes = yes 642 don't exclude *P.h 643 6442004-12-05 Derek Atkins <derek@ihtfp.com> 645 646 * src/engine/test/test-book-merge.c: targetEnt is always NULL 647 during MERGE_NEW so don't test it in that case. 648 6492004-12-04 Derek Atkins <derek@ihtfp.com> 650 651 * src/backend/file/Makefile.am: 652 * src/backend/file/test/Makefile.am: 653 * src/business/business-core/file/Makefile.am: 654 Need to include GNOME_XML_CFLAGS to make sure the libxml includes 655 are found during the compile. Fixes #121026. 656 657 * src/gnome/glade/register.glade: 658 Increase "number" spin box to a maximum of 1billion. Fixes #152772. 659 660 * src/business/business-core/gncInvoice.c: 661 send an event when a payment is processed so the invoice gets 662 updated as "paid" in the search window. 663 Fixes #139092. 664 665 * src/business/business-gnome/dialog-vendor.c: 666 Make sure we set the proper search-type when we create the 667 query, otherwise the search will fail later. 668 Fixes #141526. 669 670 * src/engine/test/test-numeric.c: 671 Make sure we use gint64 instead of gint when trying to test 672 values > 2^32. 673 6742004-12-02 Derek Atkins <derek@ihtfp.com> 675 676 * src/business/business-ledger/Makefile.am: add explicit 677 dependency on business-utils. 678 679 * src/engine/gnc-trace.c: Try a few different filenames for 680 the trace log and if all else fails fall back to stderr. 681 6822004-11-27 Christian Stimming <stimming@tuhh.de> 683 684 * src/import-export/import-backend.c 685 (gnc_import_find_split_matches): Improve importer performance by 686 matching imported transactions only against transactions in the 687 proper time interval. 688 6892004-11-22 Christian Stimming <stimming@tuhh.de> 690 691 * configure.in, README: Add configure check for libofx version 692 0.7.0 and respective error message. Update docs. Fixes #159050 693 6942004-11-13 Christian Stimming <stimming@tuhh.de> 695 696 * src/report/report-gnome/window-report.c, 697 src/scm/main-window.scm: Identified and fixed several places with 698 untranslated strings. 699 7002004-11-10 Christian Stimming <stimming@tuhh.de> 701 702 * src/engine/gnc-commodity.c, src/engine/iso-4217-currencies.scm: 703 Change currency mnemonic for "New Israeli Shekel" from "ILS" to 704 "NIS". Fixes #152755. 705 7062004-11-01 Christian Stimming <stimming@tuhh.de> 707 708 * src/gnome/dialog-find-transactions.c: Mark search criteria for 709 translation -- somehow this had been missed all the time. 710 7112004-10-31 Derek Atkins <derek@ihtfp.com> 712 713 * Neil Williams' QOF Book Merge Patch #2. 714 715 * src/engine/gnc-pricedb.c: 716 Phil Longstaff's patch to prevent duplicate pricedb entries. 717 718 Heath Martin's x86_64 patch: 719 * macros/autogen.sh: 720 change "head -1" to "head -n 1" 721 * src/engine/gnc-numeric.[ch]: 722 change string_to_gnc_numeric() to return gboolean. 723 * src/app-utils/gnc-exp-parser.c: 724 * src/backend/file/sixtp-dom-parsers.c: 725 use new string_to_gnc_numeric() API 726 * src/engine/gnc-lot.c: 727 64-bit safe for x86_64 728 * src/gnome/dialog-scheduledxaction.c: 729 * src/gnome/dialog-sxsincelast.c: 730 * src/gnome/druid-loan.c: 731 * src/gnome-utils/dialog-account.c: 732 * src/gnome-utils/gnc-query-list.c: 733 * src/import-export/import-match-map.c: 734 use GPOINTER_TO_INT and GINT_TO_POINTER macros to be 64-bit safe. 735 736 James Strandboge's "Easy Invoice" patch: 737 * src/business/business-reports/Makefile.am: 738 * src/business/business-reports/business-reports.scm: 739 * src/business/business-reports/easy-invoice.scm: 740 add "easy invoice" code. 741 * src/business/business-utils/business-prefs.scm: 742 * src/business/business-utils/business-utils.scm: 743 add preferences for the business ID, used in the easy invoice. 744 * src/report/stylesheets/Makefile.am: 745 * src/report/stylesheets/stylesheets.scm: 746 * src/report/stylesheets/stylesheet-easy.scm: 747 add "easy stylesheet" code. 748 749 * src/engine/gw-engine-spec.scm: 750 Fix parameter order to match C file (thanks for Erwin Rieger). 751 7522004-10-30 Christian Stimming <stimming@tuhh.de> 753 754 * doc/README.HBCI: Updated HBCI readme. 755 756 * src/import-export/hbci/hbci-interaction.c: Fix problems with 757 user messages. 758 7592004-10-24 Benoit Grégoire <bock@step.polymtl.ca> 760 * po/fr.po: Translation from Johan Buret, unfortunately on the wrong branch. 761 7622004-10-16 Derek Atkins <derek@ihtfp.com> 763 764 * Neil Williams' QOF book merge patch #1: 765 qof_book_merge - release 1. 766 767 Includes 768 qof_book_merge.c 769 qof_book_merge.h 770 test-book-merge.c test routine 771 New Account Hierarchy druid 772 Sundry adjustments to QOF support. 773 Tweaks to several Makefile.am files to support new files. 774 Tweaks to window-main.c to support new menu item 775 Changes to druid-hierarchy.c to support the merge druid. 776 7772004-10-15 Derek Atkins <derek@ihtfp.com> 778 779 * src/business/business-core/gncInvoice.[ch] 780 * src/business/business-gnome/dialog-date-close.[ch] 781 * src/business/business-gnome/dialog-invoice.c 782 * src/business/business-gnome/glade/date-close.glade 783 * src/business/business-utils/business-prefs.scm 784 Daniel Lindenaar's patch to implement a check-box in the Invoice Post 785 Dialog (with a default in the File Preferences) to choose to accumulate 786 splits when posting an invoice, or post a 1:1 mapping. 787 7882004-10-13 Derek Atkins <derek@ihtfp.com> 789 790 * src/import-export/qif-import/qif-object.scm: 791 provide a default account name so we don't crash when someone 792 imports a broken QIF that has a !Account without an account name. 793 Fixes bug #155244. 794 7952004-10-08 Derek Atkins <derek@ihtfp.com> 796 797 * engine/gw-engine-spec.scm: 798 * gnome-search/dialog-search.h: 799 * report/report-gnome/dialog-column-view.h: 800 Andreas Rottmann's patch to support g-wrap 1.9. 801 - don't wrap non-existent objects 802 - protect headers from multiple inclusion 803 - include gtk.h header when we use gtk objects. 804 8052004-10-08 Benoit Grégoire <bock@step.polymtl.ca> 806 * src/import-export/import-backend.c: Duplicate match tweaks: 807 -Change MATCH_DATE_NOT_THRESHOLD from 3 weeks to two weeks 808 -A transaction amount mismatch past the threshold is now punished by -5 instead of -1 809 -Date mismatch is now worth -5 isntead of -10 810 -Check number mismatch is now punished -2, but only if both numbers are NOT empty. 811 * src/import-export/ofx/gnc-ofx-import.c: Update for new LibOfx, this among other things, gives gnucash Microsoft OFC support. 812 * src/import-export/ofx/test/test-link.cL Update for new LibOfx. 813 * configure.in: Partly update for new libofx. It will crash if the right version isn't available, but there is no explicit version support (if someone wants to code it, you can use the output of "ofxdump --version". 814 * src/gnome-utils/gnc-query-list.c: Fix gcc3.4 compile problem 815 8162004-09-30 Christian Stimming <stimming@tuhh.de> 817 818 * src/import-export/hbci/gnc-hbci-getbalance.c: Fix HBCI balance 819 retrieval when some of the returned balance is NULL. 820 8212004-09-28 Derek Atkins <derek@ihtfp.com> 822 823 * src/engine/qofquerycore.c: Fix for x86_64. 824 * src/backend/file/io-gncbin-r.c: Fixes for x86_64 825 8262004-09-22 Christian Stimming <stimming@tuhh.de> 827 828 * src/import-export/hbci/hbci-interaction.c: Finally fix the HBCI 829 implementation based on aqbanking/aqhbci. This can now be tested 830 intensively. 831 8322004-09-22 Derek Atkins <derek@ihtfp.com> 833 834 * src/engine/test/test-transaction-reversal.c: 835 * src/engine/test-core/test-engine-stuff.c: 836 Fix for ISO C90. Fixes #153465. 837 8382004-09-06 Christian Stimming <stimming@tuhh.de> 839 840 * src/import-export/hbci/dialog-hbcitrans.c, 841 gnc-hbci-getbalance.c, gnc-hbci-gettrans.c: More AqBanking work 842 after hints from Martin Preuss <martin@libchipcard.de>. 843 8442004-09-04 Christian Stimming <stimming@tuhh.de> 845 846 * src/import-export/hbci/*.h, *.c, macros/aqbanking.m4, 847 configure.in: Major change for HBCI. It is no longer based on the 848 openhbci2 library but instead on the aqbanking library 849 http://sf.net/projects/aqbanking which is Martin Preuss' successor 850 of openhbci2. This means that now aqbanking-0.9.2 is required 851 instead of any of the openhbci[2] package. Still needs more 852 testing, though. 853 8542004-08-28 Derek Atkins <derek@ihtfp.com> 855 856 * src/engine/Account.c: fix xaccAccountGetBalanceAsOfDate() to properly 857 compute the balance at the end of the split list. Fixes #150757. 858 8592004-08-21 Derek Atkins <derek@ihtfp.com> 860 861 * src/report/standard-reports/advanced-portfolio.scm: 862 Add option to include zero-amount splits in computations. 863 Fixes #143722. 864 8652004-08-19 Derek Atkins <derek@ihtfp.com> 866 867 Neil Williams's "QOF create: functionality added" patch: 868 869 QOF create: adding functions to be used with 870 qof_object_new_instance for new qof_book_merge objects, including 871 business objects. 872 873 Small documentation tweak to make QofEntity and QofParam 874 structures visible to doxygen. 875 876 * src/import-export/qif-import/qif-dialog-utils.scm: 877 Perry Smith's Null Account Patch. Make sure the security is 878 a real string before appending an account separator, so we 879 don't try to create a "null" account. 880 8812004-08-19 Derek Atkins <derek@ihtfp.com> 882 883 * configure.in: change the gtkhtml order to search for >= 1.1 before 884 < 1.1, in order to try to fix #84707 on systems with multiple 885 versions of gtkhtml. 886 8872004-08-12 David Montenegro <sunrise2000@comcast.net> 888 889 * src/report/standard-reports/trial-balance.scm: 890 src/report/standard-reports/equity-statement.scm: 891 src/report/report-system/report-utilities.scm: 892 Added to the work sheet special handling of 893 inventory and income summary accounts for 894 merchandising businesses. Fixes #150008. 895 8962004-08-11 Derek Atkins <derek@ihtfp.com> 897 898 * src/gnome/gnucash.desktop.in: make the desktop HIG compliant. 899 Fixes #145545 900 9012004-07-20 Derek Atkins <derek@ihtfp.com> 902 903 * src/engine/Scrub.c 904 * src/engine/Scrub2.c 905 * src/engine/gnc-numeric.c 906 * src/engine/gnc-pricedb.c 907 * src/engine/kvp-util.c 908 * src/engine/qofid.c 909 * src/engine/qofmath128.c 910 * src/engine/qofquery.c 911 * src/engine/qofsession.c 912 * src/engine/test/test-numeric.c 913 Priit Laes' patch for C90 compliance. 914 9152004-07-13 David Montenegro <sunrise2000@comcast.net> 916 917 * src/report/standard-reports/general-ledger.scm: 918 src/report/standard-reports/standard-reports.scm: 919 src/report/standard-reports/Makefile.am: 920 Added General Ledger report, a Transaction Report 921 with a pre-set set of options. 922 923 * src/report/standard-reports/transaction.scm: 924 FIXME - All accounts now selected by default, avoids 925 confusing error message. Error message also clarified. 926 Fixed "Totals" option so that it works. 927 928 * src/report/standard-reports/balance-sheet.scm: 929 * src/report/standard-reports/equity-statement.scm: 930 * src/report/standard-reports/trial-balance.scm: 931 Updated comments 932 * Fixes #144268 933 934 * src/report/standard-reports/income-statement.scm: 935 src/report/standard-reports/pnl.scm: 936 src/report/standard-reports/standard-reports.scm: 937 src/report/standard-reports/Makefile.am: 938 Rewrote pnl.scm, renamed it to income-statement.scm. 939 Can now create a meaningful statement post-closing. 940 941 * src/report/report-system/html-acct-table.scm: 942 Updated to include ability to "see through" closing 943 and/or adjusting entries. 944 * Fixes #105330. 945 946 * src/report/standard-reports/general-journal.scm: 947 src/report/standard-reports/standard-reports.scm: 948 src/report/standard-reports/Makefile.am: 949 Added General Journal report, a Register Report 950 with a pre-set set of options. 951 * Bug #109738. 952 9532004-07-13 David Montenegro <sunrise2000@comcast.net> 954 955 * src/report/standard-reports/trial-balance.scm: 956 * src/report/standard-reports/standard-reports.scm: 957 * src/report/standard-reports/Makefile.am 958 added Trial Balance/Work Sheet report 959 960 * src/report/standard-reports/balance-sheet.scm: 961 added drop-down choices missing in previous version 962 added support for adjusting/closing entries 963 964 * src/report/standard-reports/equity-statement.scm: 965 added support for adjusting/closing entries 966 fixed "For Period Covering" label 967 fixed handling of unrealized gains 968 investment/draw discrimination based on shares sign 969 omit unrealized gains when zero 970 971 * src/report/report-system/html-acct-table.scm: 972 * src/report/report-system/html-table.scm: 973 null reference bug fixes 974 975 * src/report/report-system/report-utilities.scm: 976 added utility functions for accessing splits 977 and creating double-column balance HTML 978 gnc:double-col, 979 gnc:account-get-trans-type-balance-interval, 980 gnc:account-get-pos-trans-total-interval 981 982 * src/report/report-system/commodity-utilities.scm: 983 * src/report/report-system/html-acct-table.scm: 984 * src/report/report-system/report-utilities.scm: 985 moved gnc:commodity-collector-commodity-count and 986 gnc:uniform-commodity? into commodity-utilities.scm 987 988 * src/report/report-system/report-system.scm: 989 added some additional exports 990 991 Bug #144265 992 9932004-07-04 Derek Atkins <derek@ihtfp.com> 994 995 * acinclude.m4: create a SCANF_QD_CHECK and make sure both 996 that and SCANF_LLD_CHECK are "long long" constant-safe 997 * configure.in: use the new SCANF_QD_CHECK and use it 998 earlier in the configuration. 999 10002004-07-02 Derek Atkins <derek@ihtfp.com> 1001 1002 * src/gnome/dialog-print-check.c: 1003 * src/gnome/glade/print.glade: 1004 * src/scm/printing/print-check.scm: 1005 Apply David Reiser's patch for Quicken(tm) cheques with stub. 1006 1007 * src/engine/gnc-commodity.c: 1008 Apply David Grant's patch to add TD Efunds. Fixes #145297. 1009 10102004-06-30 Christian Stimming <stimming@tuhh.de> 1011 1012 * src/report/report-gnome/window-report.c: Add toolbar element for 1013 saving the current report. 1014 1015 * src/report/report-system/report.scm, report-system.scm: Add 1016 function for saving one particular report to the 1017 ~/.gnucash/saved-reports-1.8 file. Add extra menu only for 1018 customized reports. 1019 1020 * src/scm/main-window.scm, src/scm/main.scm: Remove the previous 1021 function for saving all reports since it is no longer necessary. 1022 10232004-06-26 Derek Atkins <derek@ihtfp.com> 1024 1025 * src/gnc-module/gnc-module.scm: create (and export) a re-export macro 1026 is guile doesn't already provide one. Then re-export the symbols 1027 instead of exporting them. Fixes some deprecated guile warnings. 1028 * src/guile-mappings.h: convert scm_gc_{un,}protect_object() back 1029 to its pre-1.6 type for earlier guiles, but upconvert to the new 1030 type to fix a deprecated warning. Note that g-wrap is still 1031 outputting deprecated code. 1032 * lots of other files: 1033 convert scm_{un,}protect_object -> scm_gc_{un,}protect_object because 1034 the former is now deprecated in guile. Fixes a bunch of 1035 GUILE_WARN_DEPRECATED warnings (but probably not all of them). 1036 10372004-06-25 Derek Atkins <derek@ihtfp.com> 1038 1039 * src/engine/gnc-numeric.c: small change to the 128-bit math 1040 routines to actually mark a 'carry bit' to denote numbers 1041 >= 2^63 to fix bug #144980. 1042 10432004-06-24 Derek Atkins <derek@ihtfp.com> 1044 1045 * Makefile.am: be sure to rebuild make-gnucash-patch and 1046 make-gnucash-potfiles when the Makefile changes (which means the 1047 PERL paths might have changed). 1048 * src/scm/paths.scm: change the default config file to 1.9, so we 1049 don't screw up users of 1.8. 1050 10512004-06-23 David Montenegro <sunrise2000@comcast.net> 1052 1053 * src/report/report-system/html-acct-table.scm: 1054 Added file implementing gnc:html-acct-table utility 1055 object for easier creation of HTML reports. 1056 1057 * src/report/standard-reports/balance-sheet.scm: 1058 Updated to use the new gnc:html-acct-table object. 1059 Added many new options, including report/account 1060 form option. 1061 1062 * src/report/standard-reports/equity-statement.scm: 1063 Created Statement of Owner's Equity. 1064 (Unsure if correct exchange-fn's are being used.) 1065 1066 * src/report/report-system/commodity-utilities.scm: 1067 * src/report/report-system/html-table.scm: 1068 * src/report/report-system/html-utilities.scm: 1069 * src/report/report-system/report-system.scm: 1070 * src/report/report-system/report-utilities.scm: 1071 miscellaneous small additions and/or fixes 1072 Fixes #144243. 1073 10742004-06-18 Christian Stimming <stimming@tuhh.de> 1075 1076 * src/scm/main-window.scm, src/scm/main.scm: Added example Menu 1077 item "File -> Save all reports" that will call the new report 1078 saving function for all reports. Reports are appended to 1079 ~/.gnucash/saved-reports-1.8 . This would need more work so that 1080 not all reports are saved but only the currently selected one -- 1081 any volunteer may feel free to add that. 1082 1083 * src/report/report-system/report.scm, report-system.scm: Added 1084 gnc:report-generate-saved-forms that will generate the scheme code 1085 necessary to create a new report from the saved options of an old 1086 report (merged from 1-8-branch). 1087 10882004-06-18 Derek Atkins <derek@ihtfp.com> 1089 1090 * src/scm/paths.scm: create gnc:current-saved-reports, as 1091 the file to store saved reports from cstim. Autoload the 1092 saved-reports file at startup (after config.user/config.auto 1093 is loaded). 1094 * src/scm/main.scm: export gnc:current-saved-reports 1095 10962004-05-29 Derek Atkins <derek@ihtfp.com> 1097 1098 * src/engine/Transaction.c: 1099 Don't recompute balances or write to the translog when we're 1100 shutting down. Destroy the parent transaction from xaccSplitDestroy() 1101 if we're shutting down. 1102 * src/engine/qofbook-p.h: 1103 * src/engine/qofbook.h: 1104 * src/engine/qofbook.c: 1105 add "shutting_down" parameter and getter-method, so that 1106 objects can detect when the book is shutting down and 1107 ignore non-necessary reprocessing. Fixes a memory corruption 1108 bug during book-closing. 1109 11102004-05-24 Derek Atkins <derek@ihtfp.com> 1111 1112 * src/report/standard-reports/transaction.cm: applied Vasil's 1113 patch to improve the transaction report for HTML export 1114 purposes. Fixes bug #142942. 1115 1116 * src/gnome-search/dialog-search.c: 1117 * src/gnome-search/gnc-general-search.c: 1118 * src/gnome-utils/gnc-query-list.c: 1119 Linas missed a few QOF_QUERY_PARAM_GUID -> QOF_PARAM_GUID 1120 conversions. 1121 11222004-05-17 Derek Atkins <derek@ihtfp.com> 1123 1124 * src/report/locale-specific/us/taxtxf.scm: guile-1.6 complains 1125 about string->symbol when passed a symbol. Fixes #131201 1126 Also add some code to handle accounts that are expected to 1127 have parents but do not (also described in #131201). 1128 11292004-05-15 Derek Atkins <derek@ihtfp.com> 1130 1131 * Luigi Ballabio's automake patch to gnucash.m4 1132 11332004-05-08 Christian Stimming <stimming@tuhh.de> 1134 1135 * src/import-export/import-match-map.c 1136 (gnc_imap_add_account_bayes): Skip the case when a token is the 1137 empty string. This caused many warnings about a NULL kvp_frame 1138 lookup. 1139 11402004-05-07 David Hampton <hampton@employees.org> 1141 1142 * src/engine/gnc-commodity.c: Added quote sources for Indian 1143 Mutual Funds. 1144 11452004-05-05 Derek Atkins <derek@ihtfp.com> 1146 1147 * src/engine/iso-currencies-to-c: don't automatically try to 1148 (require 'format), so gnucash will build on an slib-3 system. 1149 11502004-05-02 David Hampton <hampton@employees.org> 1151 1152 * src/business/business-core/Makefile.am: 1153 * src/business/business-gnome/Makefile.am: 1154 * src/import-export/binary-import/Makefile.am: Work around 1155 problems with libltdl3. 1156 11572004-04-26 Derek Atkins <derek@ihtfp.com> 1158 1159 * src/scm/Makefile.am: look in ${srcdir} for build-config.scm.in 1160 Fixes #141129 1161 11622004-04-20 Derek Atkins <derek@ihtfp.com> 1163 1164 * src/report/report-system/html-utilities.scm: 1165 Fix a broken recursion problem. Don't call show-acct? from 1166 use-acct? so we don't recurse ad flictum. This recursive 1167 call isn't necessary, just have use-acct? recurse unto itself. 1168 11692004-04-19 Derek Atkins <derek@ihtfp.com> 1170 1171 * src/report/standard-reports/balance-sheet.scm: 1172 * src/report/standard-reports/pnl.scm: 1173 Fabien COELHO's zero-balance patch to remove accounts of 1174 zero balance from the report. 1175 11762004-04-18 Derek Atkins <derek@ihtfp.com> 1177 1178 * src/engine/Transaction.c: fix a comment to better explain why 1179 we have no-op functions for some parameters. 1180 * src/engine/qof*: Revert Linas' patch from last night which 1181 is broken is way too many ways to count. First, the code didn't 1182 compile. Second it was calling functions that took one argument 1183 with two due to broken casting. Third, it had repurcusions in 1184 other sections of the code that Linas needs to take into account. 1185 11862004-05-16 Derek Atkins <derek@ihtfp.com> 1187 1188 * src/macros/autogen.sh: Add MORE warnings around gettext because 1189 some users STILL don't "get it". 1190 11912004-05-15 Derek Atkins <derek@ihtfp.com> 1192 1193 * src/import-export/hbci/dialog-hbcitrans.c: Don't use C++/C99 1194 declarations. Declare variables at the top of the function. 1195 Fixes #140070 1196 11972004-04-12 Chris Lyttle <chris@wilddev.net> 1198 1199 * src/scm/main.scm: Update for 1.8.9 release 1200 12012004-04-05 Derek Atkins <derek@ihtfp.com> 1202 1203 * macros/autogen.sh: make sure we always have intl and po Makefiles 1204 in the configure script. Sometimes it was ripped out without being 1205 replaced. Reported by twunder. 1206 1207 * src/engine/test/.cvsignore: ignore test-link in CVS. 1208 12092004-04-01 Derek Atkins <derek@ihtfp.com> 1210 1211 * src/gnome/dialog-scheduledxaction.c: Move variable declaration 1212 to the top of the block. 1213 12142004-03-31 Derek Atkins <derek@ihtfp.com> 1215 1216 * configure.in: move m4/Makefile to its own line 1217 * macros/autogen.sh: add code to remove "intl/Makefile po/Makefile" 1218 from AC_OUTPUT in configure.in prior to calling gettextize 1219 to make sure that you can build from CVS with recent versions 1220 of gettextize. Tested with both RH9 and RH7.3 to make sure 1221 it works with both old and new. Fixes #120206. 1222 1223 * accounts/hu_HU/Makefile.am: don't include files in the DIST that 1224 we don't have in CVS. 1225 12262004-03-30 Derek Atkins <derek@ihtfp.com> 1227 1228 * src/report/report-system/report-system.scm: 1229 * src/report/utility-reports/iframe-url.scm: 1230 don't need to require format; main.scm handles it, and 1231 the default "format" (simple-format) is sufficient to 1232 handle everything we need. This allows gnucash to work 1233 with slib3. 1234 12352004-03-14 Joshua Sled <jsled@asynchronous.org> 1236 1237 * src/gnome/druid-loan.c (ld_get_loan_range): Fix precedence bug 1238 screwing up loan review page. 1239 12402004-03-14 Joshua Sled <jsled@asynchronous.org> 1241 1242 * src/register/register-core/formulacell.c 1243 (gnc_formula_cell_modify_verify): Add ':' to the token list of 1244 allowable characters in the formula cell. Fixes Bug#106260. 1245 12462004-03-14 Joshua Sled <jsled@asynchronous.org> 1247 1248 * src/gnome/druid-loan.c (gnc_ui_sx_loan_druid_create): Use the 1249 account-list filtering capability of the GncAccountSel to only 1250 show/allow-creation-of valid account-types in the 1251 loan-druid. Fixes Bug#124595. 1252 12532004-03-13 Joshua Sled <jsled@asynchronous.org> 1254 1255 * src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent): 1256 Bug#133709 fix: when we have a problem parsing a credit/debit 1257 cell, indicate to the user what occurred. 1258 12592004-03-08 Christian Stimming <stimming@tuhh.de> 1260 1261 * src/import-export/hbci/dialog-hbcitrans.c, dialog-hbcitrans.h, 1262 glade/hbci.glade, gnc-hbci-transfer.c: Transfer template management 1263 GUI added by Bernd Wagner <F.J.Bernd.Wagner@t-online.de> 1264 12652004-03-07 Joshua Sled <jsled@asynchronous.org> 1266 1267 * HACKING: Added instructions about running under valgrind. 1268 1269 * lib/gnucash_valgrind.supp: Added a large set of valgrind 1270 suppressions for both guile and gnucash. 1271 1272 * src/register/ledger-core/gnc-ledger-display.c 1273 (gnc_ledger_display_template_gl): Change the reg_type to 1274 SEARCH_LEDGER so all the 'action' types appear. Bug#108833. 1275 1276 * src/gnome/glade/sched-xact.glade: Remove unused 'ledger_status' 1277 widget. Bug#102269. 1278 1279 * src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_draw_to_buffer): 1280 At least be consistent about the background coloring of the month 1281 labels, even if we're still not using GTK themeage correctly. 1282 1283 * src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_destroy): Destroy 1284 the transient window when the widget is destroyed. Bug#103910. 1285 1286 * src/gnome/dialog-scheduledxaction.c 1287 (gnc_ui_scheduled_xaction_editor_dialog_create): Make the advance 1288 and remind spin-buttons editable [Bug#94963]. 1289 1290 * src/gnome/glade/sched-xact.glade: Change the upper bound on the 1291 advance and remind spins to 365 [days], with a page-size of 30 1292 [days]. 1293 1294 * src/gnome/dialog-sx-from-trans.c (gnc_sx_create_from_trans): 1295 Disallow the Scheduling of being-editing transactions in the 1296 Register, preventing a class of unbalacned SX template 1297 transactions from being entered and propogated through the 1298 system. See Bug#130330. 1299 1300 * src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr): Fix nasty 1301 memory-corruption issue; insufficent bounds checking on array 1302 index. Bug#125600. 1303 1304 * src/gnome/dialog-sxsincelast.c (create_each_transaction_helper): 1305 Better handling of various error cases in 1306 transaction-creation. Bug#102311; Bug#130330. 1307 13082004-03-03 Derek Atkins <derek@ihtfp.com> 1309 1310 * src/register/ledger-core/split-register-load.c: make the code a 1311 little cleaner by not re-using (and re-defining!) the same 1312 variable name inside a block of code and "over-riding" an 1313 existing variable. Unlikely to actually fix anything, but 1314 you never know what a compiler might do. 1315 13162004-03-01 Joshua Sled <jsled@asynchronous.org> 1317 1318 * src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent): 1319 Fix for part of Bug#121740 -- only allow auto-create SXes which 1320 have splits to be created. 1321 13222004-02-07 Joshua Sled <jsled@asynchronous.org> 1323 1324 * src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked): 1325 * src/gnome-utils/gnc-frequency.c (gnc_frequency_save_state): 1326 * src/backend/file/gnc-freqspec-xml-v2.c (fs_none_handler): 1327 * src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr): 1328 Adding "NONE" as an allowable FreqSpec [Bug#103968]. 1329 13302004-02-14 Christian Stimming <stimming@tuhh.de> 1331 1332 * configure.in: Require the correct openhbci2 version. Add verbose 1333 error message for the currently unavailable mt940 support. 1334 1335 * src/import-export/hbci/hbci-druid-initial.c, gnc-hbci-utils.c: 1336 Finally finish openhbci2 support, phew. Requires 1337 openhbci2-1.9beta7 from http://sourceforge.net/projects/openhbci 1338 13392004-02-04 Derek Atkins <derek@ihtfp.com> 1340 1341 * src/business/business-core/gncJob.c: Linas checked the wrong 1342 argument in SetOwner() in revision 1.40 thereby causing ALL new 1343 jobs to fail to work. Check the new owner, not the original. 1344 Fixes #133392. 1345 13462004-01-31 Christian Stimming <stimming@tuhh.de> 1347 1348 * src/engine/gnc-commodity.c, src/engine/iso-4217-currencies.scm: 1349 Change Ukrainian "UAG" into "UAH" #128913 1350 1351 * src/import-export/import-backend.c: Commented out setting the 1352 memo always to "Auto-created split" due to popular request. 1353 1354 * src/import-export/hbci/druid-hbci-initial.c, hbci-interaction.c, 1355 all files: Preliminary completion of openhbci2 support -- getting 1356 the transactions seems to work, as well as the HBCI setup. 1357 1358 * src/engine/kvp_frame.h, src/engine/Account.c: Add clear notice 1359 of the semantic change of kvp_frame_get_frame 1360 function. Fortunately it seems the only place that still had to be 1361 fixed, apart from the hbci module, has been in Account.c. 1362 1363 * src/import-export/import-account-matcher.h: Make string argument 1364 a const char*. Make boolean argument a gboolean. 1365 13662004-01-30 Derek Atkins <derek@ihtfp.com> 1367 1368 * src/register/ledger-core/split-register-layout.c: Remove the 1369 RECN cell from payable/receivable to stop confusing people. 1370 13712004-01-21 Christian Stimming <stimming@tuhh.de> 1372 1373 * src/import-export/hbci/gnc-hbci-utils.c: Set application log 1374 directory, needs more work. 1375 * src/import-export/hbci/druid-hbci-utils.c: 1376 More work for openhbci2 support. 1377 13782004-01-20 Christian Stimming <stimming@tuhh.de> 1379 1380 * configure.in, macros/openhbci2.m4: Add checking for new 1381 openhbci2 library. 1382 1383 * src/import-export/hbci/ all files: Switch HBCI code to the new 1384 openhbci2 library. Should be working, but needs further testing. 1385 13862004-01-20 Derek Atkins <derek@ihtfp.com> 1387 1388 * src/bin/overrides/gnucash-build-env.in: add import-export, ofx, 1389 and hbci which should allow running with ofx and hbci in the 1390 build tree. 1391 13922004-01-19 Herbert Thoma <herbie@hthoma.de> 1393 1394 * src/gnome-utils/transfer.glade: rename from_xxx and to_xxx account 1395 tree widgets to left_xxx and right_xxx 1396 * src/gnome-utils/dialog-transfer.c: if in "accountant mode" call 1397 "transfer from" "credit account" and "transfer to" "debit account" 1398 and interchange account trees 1399 14002004-01-16 Derek Atkins <derek@ihtfp.com> 1401 1402 * configure.in: fix a typo in the help (was --diable-gui). Fixes #131414 1403 1404 * configure.in: add db-4.2 to the list of databases we search. 1405 We probably need a better mechanism to search for a working db 1406 library, like defining our own macro and just supplying a list. 1407 We probably can get rid of the prefer-db1 option as well, maybe? 1408 Fixes #131506 1409 14102004-01-15 Derek Atkins <derek@ihtfp.com> 1411 1412 * src/app-utils/options.scm: Create two new functions to centralize 1413 date-selection option creation. 1414 * src/app-utils/app-utils.scm: export the new scheme functions 1415 * src/app-utils/prefs.scm: Modify Herbert's patch to centralize 1416 the date-selection option code. 1417 * src/report/report-system/options-utilities.scm: use the new 1418 centralized date-selection option-creation code. 1419 14202004-01-13 Herbert Thoma <herbie@hthoma.de> 1421 1422 * src/app-utils/global-options.c: 1423 * src/app-utils/global-options.h: add gnc_lookup_date_option() 1424 function 1425 * src/app-utils/gnc-ui-util.c: 1426 * src/app-utils/gnc-ui-util.h: add 1427 gnc_ui_account_get_balance_in_currency() function 1428 * src/app-utils/prefs.scm: add preferences for summarybar 1429 * src/engine/Account.c: 1430 * src/engine/Account.h: add 1431 xaccAccountConvertBalanceToCurrencyAsOfDate() function 1432 * src/gnome/window-main-summarybar.c: summarybar can now display 1433 a grand total of all commodities, profits of a period of time 1434 and net assets at the end of the period; summarybar can be 1435 configured with some options under edit->preferences 1436 14372004-01-13 Christian Stimming <stimming@tuhh.de> 1438 1439 * src/import-export/hbci/hbci-interaction.c, gnc-hbci-utils.c: Add 1440 workaround code for openhbci/chipcard problem. 1441 14422004-01-12 Derek Atkins <derek@ihtfp.com> 1443 1444 * src/app-utils/file-utils.[ch]: add gnc_getline() function 1445 to read an unlimited line-length from a file (so you're 1446 not limited to a buffer size with fgets() and the like). 1447 It is similar to the getline(3) on Linux except the API 1448 is different and it will always set the return string. 1449 1450 * src/doc/Makefile.am: add new documentation: generic-druid-framework.txt 1451 * src/doc/generic-druid-framework.txt: new documentation 1452 1453 * src/import-export/csv/gnc-csv2glist.[ch]: add file from Kevin Hammack 1454 to parse CSV files. 1455 * src/import-export/csv/test/test.csv: a test CSV file 1456 14572004-01-07 Derek Atkins <derek@ihtfp.com> 1458 1459 * src/engine/Transaction.h: fix the xaccTransOrder() documentation 1460 to be more accurate with the actual implementation. 1461 1462 * src/doc/Makefile.am: 1463 * src/doc/qif.txt: 1464 Add new qif importer documentation to the repository/dist 1465 14662004-01-06 Derek Atkins <derek@ihtfp.com> 1467 1468 * src/engine/qofinstance.c: revert fix from 01-01, because it's wrong. 1469 Fix the actual problem, all the ...ReturnGUID() #define's which 1470 don't check that it's passed a NULL value. 1471 * src/engine/Transaction.h: 1472 * src/engine/Account.h: 1473 Fix ...ReturnGUID() to check whether it was passed a NULL object 1474 and, if so, return the null GUID instead of crashing. 1475 * src/business/business-core/gncCustomer.h: 1476 * src/business/business-core/gncEmployee.h: 1477 * src/business/business-core/gncInvoice.h: 1478 * src/business/business-core/gncJob.h: 1479 * src/business/business-core/gncTaxTable.h: 1480 * src/business/business-core/gncVendor.h: 1481 Fix ...RetGUID() to check whether it was passed a NULL object 1482 and, if so, return the null GUID instead of crashing. 1483 1484 * README.cvs: make it even more explicit that you should not run configure 1485 * src/engine/Makefile.am: remove the circular dependency I added earlier 1486 * src/engine/gw-engine-spec.scm: don't include gnc-engine-util.h (it's 1487 not required and may break things). 1488 * src/engine/gnc-trace.[ch]: move gnc_should_log() out of the .h 1489 and into the .c (making it a function instead of an array) due 1490 to symbol problems with libgw-engine. With it the other way the 1491 test-account-create test was throwing an error about an 1492 undefined symbol (gnc_log_modules). 1493 NOTE: If you don't like this de-optimization then feel free to remove 1494 all the P*() calls from engine-helpers.c and then revert gnc-trace. 1495 Or you can find another way around the undefined symbol problem. 1496 * src/doc/Makefile.am: include guid.txt in the dist 1497 14982004-01-02 Derek Atkins <derek@ihtfp.com> 1499 1500 * README.patches: 1501 * make-gnucash-patch.in: 1502 Patch by Geoff Kassel to work on OpenBSD (allow user to set diffcmd) 1503 Fixes #122646 1504 1505 * src/business/business-core/gncInvoice.c: need a non-const string 1506 * src/engine/test/Makefile.am: add test-link, make libgw-engine 1507 depend on libgncmod-engine 1508 * src/engine/test/test-link.c: add a source-file to test-link 1509 1510 * src/engine/test-core/test-engine-stuff.c: don't test double 1511 KVPs, on the theory that they will soon be deprecated. 1512 Fixes #127315 1513 1514 * src/engine/test-core/test-engine-stuff.c: random queries only 1515 get up to 3 terms, not 4 1516 * src/app-utils/test/test-scm-query-string.c: loop the test 1000 1517 times, now that the queries are smaller. 1518 Fixes #127492 1519 1520 * src/business/business-core/gncInvoice.c: set the lot title to 1521 "<Invoice Type> <Invoice ID>" (e.g., "Invoice 000001" or 1522 "Bill I2-34") when posting an invoice. We already assume 1523 one invoice to a lot. 1524 1525 * src/business/business-reports/aging.scm: When computing the aging 1526 report, ignore splits that belong to closed lots. This way we wont 1527 get the wrong values when the invoice falls outside the 360-day 1528 window but its payment falls inside the window. 1529 15302004-01-01 Derek Atkins <derek@ihtfp.com> 1531 1532 * src/engine/qofinstance.c: return a "valid" GUID even if passed a NULL 1533 object, because lots of code assumes you can get a guid all the time. 1534 So, just return guid_null() instead of NULL. Fixes a SEGV. 1535 1536