Commit Graph

455 Commits (84e4edcb671c034fe7f79dfb68264a9209052bca)

Author SHA1 Message Date
John Ralls 84e4edcb67 Bug 632362 - Unable to create "reversing transaction" again after it is removed
13 years ago
Christian Stimming d1a2d70be9 Fix memory leak due to missing free after gnc_ctime().
13 years ago
John Ralls 6aa2cb9deb Unit test Transaction.c
13 years ago
John Ralls 7ae9ebc69a Protect split-iterator from NULL split
13 years ago
John Ralls bb5d1751d2 Protect xaccTransIsBalanced against crashing if passed a NULL Transaction
13 years ago
John Ralls 6c49aad96e Transaction.c: Note a bug discovered in testing.
13 years ago
John Ralls 4ac2182cce Guard xaccTransGetRateForCommodity against NULL arguments
13 years ago
John Ralls 5c3ec9980b Really Redo r23043 Don't print "warning" output in comparison functions.
13 years ago
John Ralls 6fb2a93a85 Revert "Redo r23043 Don't print "warning" output in comparison functions."
13 years ago
John Ralls cd4f5d337d Redo r23043 Don't print "warning" output in comparison functions.
13 years ago
Christian Stimming bff5edbb66 Minor code cleanup (again from r23043): Don't print a warning in a comparison.
13 years ago
Christian Stimming 581f27825e Revert r23043 "Minor code cleanup: Don't print "warning" output in comparison function."
13 years ago
Christian Stimming 697d228eb3 Introduce transaction setter xaccTransSetDatePostedSecsNormalized() that ignores the time-of-day part.
13 years ago
Christian Stimming 581871813d Minor code cleanup: Don't print "warning" output in comparison function.
13 years ago
Geert Janssens 06a10b727a Register rewrite Update, bug fixes and allow mouse to change reconcile flag.
13 years ago
Geert Janssens 4229695e81 Register rewrite Update, this adds the schedule option with some other changes.
13 years ago
Geert Janssens 9197062afe Register rewrite Update, this adds the trading accounts option with some other changes.
13 years ago
Geert Janssens c29d40a8be Register rewrite Update
13 years ago
Geert Janssens 9a267d805d Register rewrite Update.
14 years ago
J. Alex Aycinena 7cdd7372f5 Implement a Book Option to give users the choice to use the transaction number field (default and current behaviour) or, alternatively, the split action field of the anchor split for 'Num' column on registers, reports, import and export, where applicable. The difference between the two is that with the default, the same 'Num' is displayed for a given transaction regardless of what register it is viewed in and with the new option, a different 'Num' can be entered/displayed for a given transaction in each register it is viewed in. In both cases, the 'next number logic' of the 'Num' cell is based on the account of the register the transaction is entered/viewed from but in one case it fills the transaction number, in the other, it fills the split action field of the anchor split (with the transaction number field displayed in the register cell labeled 'T-Num'). In both cases, both fields are visible and can be used as free-form text in double-line mode for any value the user wants. If the new option is not selected, there should be no change in Gnucash's behaviour with the exception of displaying the book options dialog in 'new book' situations.
14 years ago
Mike Alexander 6ed3bfa6a3 Better detection of unbalanced transactions with trading accounts.
14 years ago
John Ralls 7694f858d1 Convert all time_t to time64: engine
14 years ago
Geert Janssens 3f5eae6d8e Further register rewrite work.
14 years ago
Mike Alexander e1bd508f61 Add xaccTransDump back, it is very useful when debugging.
14 years ago
Geert Janssens c5e2adcb7a Refactor safe_strcmp into the glib standard g_strcmp0
14 years ago
Geert Janssens a54e7149bf Initial code for a new register.
14 years ago
John Ralls b391754ff6 Correct -Wunused warnings
14 years ago
Phil Longstaff d1fcb82ad0 Fix some g-object parameter types
14 years ago
Christian Stimming b208b06b00 Fix segfault after behaviour change of qof_book_get_autoreadonly_gdate() in r22118.
14 years ago
Christian Stimming 176fba9b9f Rename internal function names for read-only option of r22107 also to "auto-read-only".
14 years ago
Christian Stimming ed581152b9 Take read-only setting of QofBook into account for the transaction deletion as well.
14 years ago
Christian Stimming 3fcdf59adf Re-indentation of source code.
15 years ago
Geert Janssens 7f40be5302 Fix some static warnings and errors as a result of Eclipse's static code
15 years ago
John Ralls eeaa897be1 [Cruft Reduction] Remove unused functions from src/engine
15 years ago
Christian Stimming 3365baa7ed Take into account the read-only flag of the book to update the buttons in the register accordingly.
15 years ago
Mike Alexander 9369eae6d7 Avoid double free of capital gains transactions when quitting
15 years ago
John Ralls 1ed80def56 Formatting Fixes with astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none
15 years ago
Christian Stimming c8f1244fff Re-indentation of source code.
16 years ago
Phil Longstaff 55865d2e1b Fix more memory leaks. Also, when closing a book (to open a new one, not year end), free objects.
16 years ago
Derek Atkins 3f70c99002 Add APIs to get/set a flag signifying that a transaction is a book-closing txn.
16 years ago
Geert Janssens a0c19b4c71 Bug #502853 - Incorrent tax rounding in invoice (rounding of .5)
16 years ago
Geert Janssens 8c4fa3a192 Spelling fixes in comments
16 years ago
Geert Janssens 081b91fd64 Refactoring: replace all GNC_RND_* and GNC_DENOM_* occurences with their GNC_HOW_RND_* and GNC_HOW_DENOM_* equivalents
16 years ago
Christian Stimming 88d3b83579 Re-indentation of source code.
16 years ago
Christian Stimming a322015eb8 Rename the type GUID into GncGUID because on Windows, the system headers have a type GUID which clashes with ours.
16 years ago
Phil Longstaff 962512ab7d Extend xaccXXXXXEqual() routines so that they can compare objects in different books to see if they have the same contents.
16 years ago
Christian Stimming 59be2dc692 Add getter/setter for transaction posted-date as a GDate.
17 years ago
Christian Stimming e42a405785 Some more const-correctness in engine functions.
17 years ago
Christian Stimming 44b63315df Decrease compiler warnings by removing unused variables.
17 years ago
Christian Stimming 763e4c3d15 Re-indentation of source code, next batch: src/engine/*
17 years ago