files that are in use in every file that can be affected.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22317 57a11ea4-9604-0410-9ed3-97b8803252fd
This was temporarily changed to daily during the 2.4.10 release
timeframe to stomp out some release bugs. That should no longer be
necessary.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22314 57a11ea4-9604-0410-9ed3-97b8803252fd
Bug #628402 - Ctrl-F in Reconcile doesn't invoke search, but (F)inishes
the reconciliation
Author: Robert Fewell <14ubobit@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22312 57a11ea4-9604-0410-9ed3-97b8803252fd
Additionally, update the README file to explain how the start from
scratch with a git repository.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22309 57a11ea4-9604-0410-9ed3-97b8803252fd
Developers should manually choose when and how to update their checked
out repository. Automated builders can simply write a short wrapper
script around the install the does the update for them. The
daily_build_git.sh and daily_build.sh scripts are fine examples.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22308 57a11ea4-9604-0410-9ed3-97b8803252fd
- use consistent naming for the final installer executable
- Default to no for UPDATE_SOURCES
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22306 57a11ea4-9604-0410-9ed3-97b8803252fd
IMPORTANT: the update mechanism from git has been kept deliberately
simple because svn updates don't really match well to
git's distributed repository concept.
It assumes you are working as a non-committer (see
http://wiki.gnucash.org/wiki/Git for what that means) and will
simply try to pull the current branch from the upstream
repository. I don't know of any currently active committer that works
from Windows, so to start that should be sufficient.
Setting up git-update instead of git pull requires more thorough
changes in the Windows build system:
- it requires at least perl 5.8 (our default msys-dtk only install perl
5.6)
- the environment variable GITPERLLIB should be set to the perl library
that comes with the installed git.
- git-update should be installed somewhere
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22303 57a11ea4-9604-0410-9ed3-97b8803252fd
And remove the new register related c files from POTFILES.skip or we risk forgetting to translate
them when the new register becomes production ready
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22302 57a11ea4-9604-0410-9ed3-97b8803252fd
- Fix make check warnings reported by Frank H. Ellenberger
- Wrap code in ifdef's so it can easily be disabled.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22301 57a11ea4-9604-0410-9ed3-97b8803252fd
This got lost in the conversion from clists to gtktreeview
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22296 57a11ea4-9604-0410-9ed3-97b8803252fd
This is very incomplete, but at the same time well isolated from the
rest of the code, so it is easy to disable should it not get functional
and stable before the next major release.
I decided to include it in trunk to give it more visibility and prevent
bitrot in the patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22289 57a11ea4-9604-0410-9ed3-97b8803252fd
To deal with all possible combinations, a user must set a debit or
credit amount for the payment. In most cases the right amount is
prefilled by selecting documents from the list.
In the process, this changes gets rid of some confusing sign reversal
logic in the payment code (gncOwner.c).
WARNING FOR SCRIPTERS: if you have written python or scheme code that
relies on gncOwnerApplyPayment, be careful: you now need to pass a
signed amount to the function instead of an absolute value, because a
payment could be for both an invoice/bill or a credit note. No more sign
reversals happen internally based on the owner being a vendor or a
customer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22286 57a11ea4-9604-0410-9ed3-97b8803252fd
Properly fix selection of documents when first loading the dialog
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22285 57a11ea4-9604-0410-9ed3-97b8803252fd
- remove depreciated check on GtkObject flags (no longer required imo)
- save position and size on window destruction consistently
- add save and restore to some additional assistants (not all so far)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22283 57a11ea4-9604-0410-9ed3-97b8803252fd
instead of opening the account's register. The account's register can
still be opened normally using the menu option or right-click popup
menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22278 57a11ea4-9604-0410-9ed3-97b8803252fd
There were some more option menu functions in dialog-utils that I could
not find being used any where and this patch removes them.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22276 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch removes the option menu functions from gnc-date-edit which
come under the setting of time option. I do not think this bit is used
but can be seen if you find a GNCDateEdit and set the second option to
TRUE.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22275 57a11ea4-9604-0410-9ed3-97b8803252fd
The option menu's that appear in dialog options rely on per item tool
tips that GtkComboBox did not have. From a comment in the code, this was
highlighted on bug http://bugzilla.gnome.org/show_bug.cgi?id=303717
which implies this is now fixed but I could not see a way of adding them
so I created my own basic combo with per item tooltips.
This basic combo uses an external list store to reduce the functions
needed and can be seen when changing report settings. It look like it
does the job OK but may be I have missed something.
I have added comments in the code in areas that would need to be changed
if GtkComboBox ever has per item tool tips.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22274 57a11ea4-9604-0410-9ed3-97b8803252fd
Since commit 22246, an empty tip of the day appears in the list of tips.
This is due to the way the file is parsed.
This commit rewrites the parsing logic to avoid such problems. As an
added bonus, you can now add newlines in tips by using '\n' in the
string.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22260 57a11ea4-9604-0410-9ed3-97b8803252fd
When making the text file tips-of-the-day, GnuCash expects 'gcc -E' to
preserve at least one of the whitespace lines between entries. However, this
relies on behavior of 'gcc -E' that isn't actually part of the spec, and is
a historical accident. And it changed in gcc-4.7, such that all the
whitespace is removed.
Work around this by explicitly adding a newline in the sed expression.
Pre gcc-4.7 there will be two newlines between tips, but this has no impact
on the tip displaying code.
Patch by Bill Nottingham
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22246 57a11ea4-9604-0410-9ed3-97b8803252fd
Lesson learned: don't use cairo_identity_matrix on a cairo_t managed by
GtkPrintContext. It kills a number of transformations that were already
configured by GtkPrintContext. On Windows this breaks proper scaling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22243 57a11ea4-9604-0410-9ed3-97b8803252fd
Replaces functions related to widget visibility.
Additionally there are some more replacements in the area's handled in
the previous two commits.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22217 57a11ea4-9604-0410-9ed3-97b8803252fd
Replaces a number of widget references that are now part of gobject.
Patch by Robert Fewell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22216 57a11ea4-9604-0410-9ed3-97b8803252fd
This allows to quickly create a canceling credit note for an invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22176 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Jamie Campbell, with minimal correction to match the new ApplyPayment functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22175 57a11ea4-9604-0410-9ed3-97b8803252fd
Most payment use cases don't need to know the internal lot juggling mechanism behind it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22174 57a11ea4-9604-0410-9ed3-97b8803252fd
This is done to get a more consistent owner interface and simplifies the python bindings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22173 57a11ea4-9604-0410-9ed3-97b8803252fd
With these changes install-fq-mods.cmd will automatically download and install
Strawberry perl if now perl version if found on the system.
Patches by Dave Roberts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22169 57a11ea4-9604-0410-9ed3-97b8803252fd
a) added usage information
b) put most everything into exception handling to prevent lock linger when a
problem occurs
Patch by Jamie Campbell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22166 57a11ea4-9604-0410-9ed3-97b8803252fd
a) added usage information when not enough arguments added
b) put the majority of code into an exception handling block so that if
something goes wrong the session is closed. Prior to this change a problem
would result in a lingering lock.
Patch by Jamie Campbell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22165 57a11ea4-9604-0410-9ed3-97b8803252fd
1) Fixed typo for "new book" session creation in_new=True -> is_new=True
2) Added usage information echo when script is invoked without correct number
of parameters
3) Put most of the operations into an exception handling block. When an
exception occurs, sessions which were opened are closed. Prior to this, any
error would result in a lingering lock.
Patch by Jamie Campbell
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22164 57a11ea4-9604-0410-9ed3-97b8803252fd
This is triggered when glib is configured with G_SLICE=always-malloc
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22104 57a11ea4-9604-0410-9ed3-97b8803252fd
- new column layout as suggested on bugzilla. Total return is now an amount
(not a percentage), and includes income as well as capital gains. New
column "Rate of return" gives the percentage.
- changed default value for "Ignore brokerage fees when calculating
returns", the default is now to NOT ignore the fees.
Patch by Sebastien Alborini <salborini@gmail.com>
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22018 57a11ea4-9604-0410-9ed3-97b8803252fd
Additionally this commit adds some required changes to get the
Swedish account plans to actually show up in GnuCash (both BAS and the
earlier committed Swedish small business account plan)
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22012 57a11ea4-9604-0410-9ed3-97b8803252fd
Example Account file doesn't contain a long description.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22011 57a11ea4-9604-0410-9ed3-97b8803252fd
open document is processed first.
In the process, I renamed two helper functions (one of which I had to
extend to work with payment lots).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22002 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit deals with invoice posting and unposting only.
Before invoices and payments shared the same lot (meaning a payment was
added to an existing invoice lot or vice versa).
Now payments and lots have their own separate lots and payments are
linked to invoices via linking transactions. This opens the way to "pay"
invoices with credit notes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21996 57a11ea4-9604-0410-9ed3-97b8803252fd
Note that contrary to the other invoice reports the invoice title is not
automatically set to "Credit Note", because on the tax invoice report
that title is a user settable option.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21991 57a11ea4-9604-0410-9ed3-97b8803252fd
Make it clear when the values are rounded or not and that the values are
as on the document (opposed to how they impact the balance).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21985 57a11ea4-9604-0410-9ed3-97b8803252fd
- improve comments, fix spelling
- fix some static code analysis warnings
- expand and remove a macro that wasn't adding much other than reduced
code readability
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21983 57a11ea4-9604-0410-9ed3-97b8803252fd
Credit Notes.
Other changes in this commit:
* The feature code moved to core-utils, because the engine can't use
app-utils.
* I remove the gettext wrapper around the feature description. As
mentioned on the mailing list, by definition unknown features can't have
translated descriptions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21981 57a11ea4-9604-0410-9ed3-97b8803252fd
This allows for
- other engine consumers to use the features test as well (think
CuteCash, python bindings,...)
- a central point for developers to check for feature definitions
- a central point to manage all feature related code
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21978 57a11ea4-9604-0410-9ed3-97b8803252fd