Commit Graph

1280 Commits (341f2102635c73858d2abba05ab0e0990c47ecaf)

Author SHA1 Message Date
Geert Janssens 131df82135 Merge branch 'date-bugs' of https://github.com/Bob-IT/gnucash into maint
8 years ago
Geert Janssens baf933acf2 Bug 796054 - unposting and reposting invoice doubles amounts
8 years ago
Geert Janssens c977c2350a Merge branch 'sort-filter' of https://github.com/Bob-IT/gnucash into maint
8 years ago
John Ralls 704afc6e02 Comment to explain structuring an (env-transfer-foreign).
8 years ago
John Ralls fe73f52bdb Guard against divide-by-zero errors.
8 years ago
Robert Fewell 2dcb316280 White space removal and change tabs to spaces in qofbook.cpp/h
8 years ago
Robert Fewell fd750a22eb Cache the number of days read only value
8 years ago
Robert Fewell a650693d07 New feature for register sort/filter settings move.
8 years ago
Robert Fewell 9423e0913b Remove white space and re-indent gnc-features.c
8 years ago
John Ralls c08dee67ba Preserve timespec-using functions in Guile bindings.
8 years ago
John Ralls e9098d08d2 Change ISO date format to remove fractional seconds.
8 years ago
John Ralls 35fabe2690 Remove Timespec from gnc-date.
8 years ago
John Ralls 62b17ca5db Timespec removal, engine odds-and-ends.
8 years ago
John Ralls 358cd979d9 Remove Timespec from the main engine classes (Transaction, Split, & Account.
8 years ago
John Ralls fee589b28c Remove Timespec from pricedb.
8 years ago
John Ralls 92a8cf330a Timespec->time64 in business code.
8 years ago
John Ralls c8b372e390 Convert GNC_TYPE_TIMESPEC to GNC_TYPE_TIME64, Kvp::Type::Timespec to Kvp::Type::Time64
8 years ago
John Ralls b60aef9d2a Remove timespec2dmy.
8 years ago
John Ralls 6f89bd62b3 Remove timespec from gnucash/gnome.
8 years ago
John Ralls 2f861bc2a4 Ensure all C++ class member raw pointers are default-initialized to nullptr.
8 years ago
Christopher Lam 47ba21b8dc [test-extras] export gnc-pricedb-create
8 years ago
John Ralls 78ab26cc2b Fix gncInvoice test failure.
8 years ago
Geert Janssens d87fa3a5be Bug 796766 - Credit note creating 'imbalance' with wrong entries
8 years ago
John Ralls 6d605762dd Delete the last vestiges of timepair.
8 years ago
John Ralls 43af50bd8a Bug 796759 - --add-price-quotes <sql file> leaves a lock on the file.
8 years ago
John Ralls 756f444ac3 Update bug tracker URL
8 years ago
Christopher Lam 582265d0c6 [job-report] Prevent Crash if there is no AR account
8 years ago
Geert Janssens f067e8328e Allow saving to xml over an existing sqlite3 file and the other way around
8 years ago
Christian Stimming 5f46553f1f Minor KVP performance cleanup
8 years ago
Christian Stimming 92ea3ba8a6 Register speed-up for large files.
8 years ago
John Ralls a9f0fe2f93 Merge Chris Lam's 'maint-test-all-charts' into maint.
8 years ago
Christian Stimming 1e3a445007 Optimize calls to get_path_kvp so that std::strings are not always created and deleted immediately.
8 years ago
Christopher Lam 02bb981daa [test-extras] upgrade env-transfer-foreign to update pricedb
8 years ago
Robert Fewell 1f14d0f629 In qof_scan_date returns valid date when day and month are 0
8 years ago
John Ralls cdcb230a31 Don't look for backend libraries in old autotools subdirs.
8 years ago
John Ralls 74cbde2d4f normalize date formats the C++ way.
8 years ago
John Ralls 174752e28c Merge Bill Nottingham's 'bad-dates' into maint
8 years ago
John Ralls aa08689371 Merge Paul Wassi's "Fix Permanent Storage" PR into maint.
8 years ago
John Ralls 5708707f6c Fix misplaced try block that caused unhandled exception if year out of range.
8 years ago
Paul Wassi 396c955fd5 Fix permanent storage of vendor details.
8 years ago
Geert Janssens fcabf6bb96 A more detailed revision of gncEntry and gncInvoice related rounding
8 years ago
Bill Nottingham 8b1b25aee5 Modify date formatters to strip out certian specifiers.
8 years ago
Geert Janssens 2e8df1984a Improve rounding for invoice entry values
8 years ago
Christopher Lam 13f31e0691 test-extras.scm: (logging-and) is obsolete
8 years ago
Christopher Lam 5e0fc04f7b test-extras.scm: remove dead code
8 years ago
Christopher Lam c6032ac6ed srfi64-extras.scm: centralize (gnc:test-runner)
8 years ago
Geert Janssens a9f35ed7ae Lowercase cmake commands
8 years ago
Geert Janssens b761b5a0dc Bug 795377 - Reads and saves Gnucash 2.6.19 XML file, then can't reread it, due to bad date in old file
8 years ago
John Ralls 9c4469d039 Bug 795405 - All Dates in Price Database Off-By-One After 3.0 Upgrade
8 years ago
John Ralls 83e993fb80 Add a TimeZoneProvider::dump().
8 years ago
John Ralls f6855bc0f8 Rename zone_vector to m_zone_vector.
8 years ago
Geert Janssens d69cdaebf2 Add new test source to distribution list
8 years ago
Geert Janssens 74fd6e046b Add a few unit tests for qofquerycore
8 years ago
Geert Janssens c71204628d Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file
8 years ago
Geert Janssens 4aadfbe636 Bug 795040 - GnuCash crashes when searching for a newly created bill
8 years ago
John Ralls 35cd165bec Bug 795134 - Improper handle of unicode character in username
8 years ago
Geert Janssens 451bbd53d9 Fix another date test
8 years ago
John Ralls 40a266fc62 One more catch-by-value error.
8 years ago
John Ralls 01420adb99 Bug 772776 - VERY large queries (over 11000 fields in IN clause) slow...
8 years ago
Geert Janssens dcfc1280bd Base invoice posted status on the presence of a posted transaction rather than a posted account
8 years ago
John Ralls 4a97269e4b Correct a g_log_level in test_gnc_pricedb_lookup_day.
8 years ago
John Ralls 85cc574d50 Prevent throw in gnc-pricedb.
8 years ago
John Ralls 16ba1e39b1 Bug 795080 - Some dates reset to 01/01/1970
8 years ago
John Ralls c05aeb85ec Merge Bill Nottingham's exception type fix into unstable.
8 years ago
John Ralls 7a0f0d57c8 Bug 782144 - git-master - Save Corrupts Data File / Not Open Data File
8 years ago
Bill Nottingham 434dd9520c Adjust catch syntax to avoid GCC8 warnings.
8 years ago
John Ralls f084fc67f7 Catch guid_syntax_exception in build_bayes.
8 years ago
Geert Janssens 4053f2ca53 Fix read and write of business counters and counter_formats
8 years ago
Geert Janssens d6a5cc9feb Merge branch 'imap-editor-fix' of https://github.com/Bob-IT/gnucash into unstable
8 years ago
Christopher Lam f910d931f7 gncInvoice: complete removal gncInvoiceDateExists
8 years ago
Christopher Lam b99dee1736 Replace gncInvoiceDateExists to gncInvoiceIsPosted
8 years ago
John Ralls a23f103ebb Bug 794730 - SIGSEGV when entering an exchange rate, Part 2
8 years ago
Robert Fewell 255d7194d8 Fix the gtests for the changes made to ImapInfo structure
8 years ago
Robert Fewell 6c43c3afe0 Fix Imap Editor to reflect the changes in kvp paths
8 years ago
fell 9b8901248c Merge branch 'maint' into unstable
8 years ago
fell fdfa6f528c Merge branch 'maint' into unstable
8 years ago
John Ralls 867fdce4e4 Gcc-4.8 doesn't have std::codecvt.
8 years ago
John Ralls c3180ab374 Operator << fix.
8 years ago
John Ralls 5520fae838 Bug 793941 - 2.7.4: test failure on i686: 59 - test-gnc-timezone
8 years ago
John Ralls 36d729652b Speed up GUID equality comparison.
8 years ago
Geert Janssens e2d69b174e Merge branch 'master' of https://github.com/nielsegberts/gnucash into unstable
8 years ago
Christopher Lam 4f98391a27 test-TR: unit tests
8 years ago
Niels 7ef8e6d489 Fix fall through in Account.cpp
8 years ago
John Ralls 765c117aac Optimize GncDateTime string constructor.
8 years ago
Andreas Müller 128fce3ed8 Bug 787095 - Gnucash Crashes when opening old XML file
8 years ago
fell 464281644c Merge branch 'maint' into unstable
8 years ago
John Ralls f4965ae2ac Move direct check dependencies to the originating CMakeLists.txt.
8 years ago
John Ralls a5f46a5e45 More Scheme dependency additions.
8 years ago
John Ralls 48bdab38d4 Replace sprintf with Guile's built-in format.
8 years ago
John Ralls 26e51339a6 Rework the Scheme target dependencies.
8 years ago
John Ralls 6b49b3ba4c Bug 792763 - deleting a transaction can cause a SIGSEGV
8 years ago
Christopher Lam 862956a760 BUGFIX: invoice posted-date is no longer 0 for unposted invoices
8 years ago
Geert Janssens 49a936c1fd Rewrite gnc_add_swig_guile_command to work in dist tarball as well
8 years ago
Geert Janssens ec213360f3 Review which built files are really needed in the dist tarball
8 years ago
Geert Janssens 4317d8a8f6 Improve handling of generated distributable files
8 years ago
Geert Janssens 3dff4e5211 Fix make dist on a clean checkout
8 years ago
Geert Janssens 18feaa16a7 Remove support code to load qof backend in autotools based build environment
8 years ago
Geert Janssens 52b0c06d30 Merge branch 'maint' into unstable
8 years ago
Christopher Lam ca22d5531b Change gnc_pricedb_convert_balance_nearest_price from timespec to time64.
8 years ago
John Ralls 74ddb671e4 Merge Chris Lam's and Aaron Laws's branch 'time64-ftw' into unstable.
8 years ago
John Ralls 91f4b19039 Convert python bindings from timespec to time64.
8 years ago
John Ralls 6ffb77de20 Merge branch Rob Gowin's 'bye_bye_autotools' into unstable.
8 years ago
Geert Janssens 2364c5607f Merge branch 'maint' into unstable
8 years ago
John Ralls 26fa2acfd5 Use a more appropriate comparison for doubles.
8 years ago
John Ralls 8f96882ead Remove tests checking members of deleted objects.
8 years ago
John Ralls 8900b19da3 Bug 790845 - 2.7.3: massive test failures on some architectures (reopened).
8 years ago
Rob Gowin 54ac7f23e0 Remove Autotools
8 years ago
John Ralls ebbcd30f39 Save Changes Bug 792106 - Wrong dates displayed
8 years ago
John Ralls fcf88262ca Extract function tz_from_string.
8 years ago
Christopher Lam 465c9e1f21 ADD-TIME64-API: libgnucash/engine/gnc-pricedb.[ch]
8 years ago
Christopher Lam dda0695285 ADD-TIME64-API: libgnucash/engine/gnc-pricedb.[ch]
8 years ago
Christopher Lam 46c9fcc8f8 TP->T64: libgnucash/engine/test/test-split.scm
8 years ago
Christopher Lam fefea400ce TP->T64: libgnucash/engine/engine-interface.scm
8 years ago
Christopher Lam b53aa85660 TP->T64: libgnucash/engine/test/test-extras.scm
8 years ago
lmat e6ee060121 Adding bill term time64 function
8 years ago
lmat 6dc982c2c6 Some time64 corrections
8 years ago
lmat 1f050fd1e5 Transaction members Timespec->time64
8 years ago
lmat 9a86dd222b gncInvoice uses time64
8 years ago
lmat 598cb6d861 gncEntry members timespec->time64
8 years ago
lmat f77369bb96 Removing timspec from some xml parsing
8 years ago
lmat 7390396af9 added gnc-dmy2time64* functions
8 years ago
lmat 588fcb6ed2 Transaction getVoidTime uses time64.
8 years ago
Christopher Lam 978ec61f98 Further scheme conversion to gdate to use time64
8 years ago
lmat 0bf0989aa7 Add time64 functions for gncEntry
8 years ago
lmat dbd1473730 Adding time64 alternatives
8 years ago
lmat b5aad8c7bb Renaming time64 function for consistency
8 years ago
lmat 61d4aaaf08 Adding some time64 alternatives
8 years ago
lmat 2f89e4595b timespec->time64 for gnc_budget_get_period...
8 years ago
lmat 7d51089501 Changing scheme conversion to gdate to use time64
8 years ago
lmat ee56f5df78 Adding some time64 API functions
8 years ago
John Ralls 502001cd7c Fix travis test failure: It seems the boost bug is fixed.
8 years ago
John Ralls c0fd3b3165 Remove all references to the now-defunct Yahoo! quote retrieval
8 years ago
John Ralls 320c5211b0 Fix extra instance of test-test-extras* in install_manifest.txt
8 years ago
John Ralls 5823f1b2bb Prevent "Save before closing" dialog from appearing at startup.
8 years ago
John Ralls d06ed7c1a8 Fix -Wsign-compare error.
8 years ago
John Ralls 26b82b56e0 Fix Travis 'dangling else' warning.
8 years ago
John Ralls bbd2df6a3b Bug 791848 - GC 2.6.x does not handle ISO dates introduced with GC 2.7.
8 years ago
John Ralls 91727525b9 Enforce -Werror on C++ files and fix resulting errors.
8 years ago
John Ralls a6a46d7cdc Test struct tm* returns from gnc_gmtime and gnc_localtime
8 years ago
John Ralls a17bc85a02 Enable reading undelimited YYYYMMDDHHMMSS time strings.
8 years ago
Geert Janssens 2f96b19c77 Merge branch 'fix_bayes' of https://github.com/limitedAtonement/gnucash into unstable
8 years ago
John Ralls 19412de221 Fix use of guile function introduced in 2.0.10, not available in Ubuntu14.04.
8 years ago
John Ralls e0300d3a62 Replace the gnc:numeric pair with normal Scheme rationals.
8 years ago
John Ralls 7061803596 Remove SIGFIG rounding from price calculation.
8 years ago
lmat a80318ec5f Adding to version info to feature string
8 years ago
lmat a23438d5fb Correct string cache code
8 years ago
lmat 805549ba24 Rename qofinstance function
8 years ago
lmat fbf4843f31 Changed bayes import map design
8 years ago
lmat f782be1a51 Code review responses
8 years ago
lmat 3312fe2dcd Changed some constants to constexpr
8 years ago
lmat 29ad8ff9b0 Remove unused kvp function
8 years ago
lmat 4a88f05d11 kvp string: allocate enough space
8 years ago
lmat 5b03182963 Correct kvp to_string typo
8 years ago
lmat f260a01bfd Keep tokens as they are, don't translate them
8 years ago
lmat 551549598a Corrected memory management issue
8 years ago
lmat d9eebd332b Renaming functions to get rid of temporary name
8 years ago
lmat 5636afc4a2 Kvp no longer parses entries looking for delimiters
8 years ago
lmat 2cda65e012 Added test for and corrected get_bayes_info
8 years ago
lmat 9d7ec35ce5 Removed qof_instance_set_kvp, qof_instance_get_kvp
8 years ago
lmat eb6dad86e3 Fixed conversion problem
8 years ago
lmat b3667c76fc Implement flat bayes kvp
8 years ago
lmat 08aa0104ef Change kvp string representation
8 years ago
lmat 34e0d6cfa0 kvp frame to template and correcting failure macro
8 years ago
lmat eb6c741bf9 Account.c to Account.cpp
8 years ago
Geert Janssens 3d910ad2b1 Drop guile 1.8 support
8 years ago
John Ralls 7c57ad18cd Fix date offset error in datetime test.
8 years ago
John Ralls baad2097a7 Add tests for GMT and GMT+7 timezones.
8 years ago
John Ralls 5af21dfad8 Fix timezone constructor crash when zone file has no transitions.
8 years ago
John Ralls e1d3385428 Handle mid-pacific timezones in date-sensitive tests.
8 years ago
John Ralls ac0d335c4f Revert post-construction adjustment of ldt for DST.
8 years ago
John Ralls a5134f91e1 Fix neutral time for consistent dates in mid-pacific time zones.
8 years ago
John Ralls aeb2e65ff1 Fix posted-date scrub incrementing the day in central pacific timezones.
8 years ago
John Ralls 6db0820771 Fix offset handling in GncDateTime struct tm ctor, gnc_mktime, & gnc_timegm.
8 years ago
John Ralls ec9f60d3fd Test more thoroughly gnc-timezone's parsing of the zoneinfo database.
9 years ago
John Ralls 66817bb997 Rework directory determination in CMake builds.
9 years ago
Rob Gowin e7b7974a3c Handle cases where LIBDIR is not "lib"
9 years ago
Rob Gowin 778b86e29e Handle cases where LIBDIR is not "lib"
9 years ago
John Ralls 0a8e50069c Remove overrides directory as being obsolete.
9 years ago
John Ralls 5ca129d82d Remove unset variable SWIG_ARGS from Makefile.am
9 years ago
John Ralls 5204100d53 Use GNUInstallDirs in CMake Builds
9 years ago
John Ralls 13657ee1bb Merge branch 'maint' into unstable
9 years ago
Geert Janssens cd9c3807c0 Assign as payment - when random transaction is selected, reset transaction description to owner
9 years ago
Geert Janssens 0dfb921e86 Add functions to retrieve a copy of splits of a certain type from business transactions
9 years ago
John Ralls 1895ae280c Merge branch 'maint' into unstable
9 years ago
John Ralls 6c01e54042 Convert shell-executed scheme tests to run directly from Guile.
9 years ago
John Ralls f412795ef2 Remove extraneous parameters from GNC_ADD_SCHEME_TARGETS
9 years ago
John Ralls 77ab04100c Bug 789297 - Account Tax Related Information - 2.7.0 is not backwards compatible
9 years ago
John Ralls 4be826055a Revert "Partial fix to exception crashes on Windows."
9 years ago
John Ralls 4746054635 Partial fix to exception crashes on Windows.
9 years ago
Geert Janssens 1238b9d8cd Prevent gcc from searching config.h in the current directory
9 years ago
Carwyn Nelson 7b1d298bc6 Little refactor of account.c
9 years ago
Geert Janssens 444eb1c28e Improve gnc_numeric_boxed_copy_func based on discussion in PR#145
9 years ago
Jose Marino 968956d271 fix reconcile dialog always showing ending balance of zero
9 years ago
John Ralls 91a2ee4525 [MacOS] Change CMake installed names to absolute paths from @rpath/...
9 years ago
Geert Janssens 545b24fe97 Merge branch maint into unstable
9 years ago
Geert Janssens 75b5a41eee Merge branch 'maint'
9 years ago
Geert Janssens 556f7037ad Merge branch 'maint'
9 years ago
Geert Janssens 118af3e9e9 Fix gtest-gnc-timezone test on Windows
9 years ago
Geert Janssens 333edb1900 Fix gnc-rational test on Windows
9 years ago
John Ralls e2386253ca Move Win32 additions to engine_SOURCES to before first use.
9 years ago
Geert Janssens 74b6ef8ab3 Merge branch 'kvpvaltostring' of https://github.com/limitedAtonement/gnucash
9 years ago
Geert Janssens a670783eb6 Merge branch 'prices-out2' of https://github.com/Bob-IT/gnucash
9 years ago
lmat a9cc488cbf Should return std::string
9 years ago
Mike Alexander 29a92431cb Fix sigfigs(n) rounding to work when the input is bigger tnan 10**n.
9 years ago
Mike Alexander 57638161f2 Fix numerator overflow constructing GncNumeric from 96.16
9 years ago
Mike Alexander 00c7089ecb Add tests for converting doubles 96.16 and 9616000000.0 to GncNumeric.
9 years ago
John Ralls 115d61e7f3 Remove test for transaction set-date diagnostic message.
9 years ago
John Ralls 71e3703087 Use time64 GncDateTime constructor instead of struct tm constructor.
9 years ago
John Ralls f7ce8bcbb3 Disable creating a date string to maybe use in a PINFO message.
9 years ago
John Ralls 82d891a202 Test features to see if they're already set before setting them.
9 years ago
Robert Fewell 6ca85450a8 Move gnc-gdate-utils functions to gnc-date and remove files.
9 years ago
Robert Fewell b485206378 Change tabs to spaces and remove some blank lines
9 years ago
Robert Fewell 047bc8d69b Rename gnc_pricedb_remove_old_prices_keep_last
9 years ago
Robert Fewell a7abc312a9 Rename save_cloned_price to clone_price
9 years ago
Robert Fewell 89dbc09410 Added second if clause for completeness.
9 years ago
Robert Fewell c3466b79ef Move gnc-gdate-utils.c/h from app-utils to engine
9 years ago
Robert Fewell 42915a42d1 Modify the unit tests to reflect changes.
9 years ago
Robert Fewell 667f175757 This change modifies the way old prices can be removed.
9 years ago
John Ralls 4fc61b2ac8 Commit imap conversions once per account instead of per import map slot.
9 years ago
John Ralls c6a72cc596 Revert "Fix mac looking in wrong directory for libgncmod-backend-dbi.dylib."
9 years ago
John Ralls 6a359f86a0 Fix mac looking in wrong directory for libgncmod-backend-dbi.dylib.
9 years ago
Geert Janssens f943ba61ae Rename directory for code from external projects
9 years ago
Geert Janssens 7fd38c88a5 Improve a comment
9 years ago
Geert Janssens a96a68fd4e Add as many values as there are fields in the list
9 years ago
Geert Janssens 0946b0315f Use another way to fix backend loading on OS X
9 years ago
John Ralls cc39a04f6f Fix mac looking in wrong directory for libgncmod-backend-dbi.dylib.
9 years ago
John Ralls e9ac71c0f9 Fix time-string format in backend for GncDateTime(std::string).
9 years ago
Geert Janssens 1883d8ec31 Fix a number of test mismatches between cmake and autotools
9 years ago
Geert Janssens dfe8ea4536 Add conditional source files to dist tarball
9 years ago
Geert Janssens 83d14e1c1c Restructure the src directory
9 years ago