Commit Graph

17020 Commits

Author SHA1 Message Date
Robert Fewell
9c9dff4f84 Cosmetic changes. 2016-01-11 12:21:30 -08:00
Robert Fewell
1cfd8e7980 Add the remove option. 2016-01-11 12:21:29 -08:00
Robert Fewell
54290cd5f4 Hide the probability column where appropriate. 2016-01-11 12:21:29 -08:00
Robert Fewell
96edb94f67 Get Bayesian values, needed to change Qof function
as values are stored under FRAME,FRAME,VALUE so
changed to test for a FRAME and returns NULL.
2016-01-11 12:21:29 -08:00
Robert Fewell
837e068392 Get Non Bayesian and Online ID information 2016-01-11 12:21:29 -08:00
Robert Fewell
2e4c957d00 Add Basic framework for Bayesian editor dialog 2016-01-11 12:21:29 -08:00
John Ralls
079c0c311f Replace %ld and cast of gint64 to long with G_GINT64_FORMAT and no cast. 2016-01-09 15:45:05 -08:00
fell
54d696db75 Merge branch 'maint'
Conflicts:
	src/gnome/gnc-plugin-basic-commands.c
2015-12-27 10:43:46 +01:00
fell
51ff4e1668 Add a few more eclipse specific files to gitignore 2015-12-27 10:22:35 +01:00
fell
1aa941cbf4 Postpone the renaming of the menu entry "_Price Editor" to the next main
release.
2015-12-27 10:19:00 +01:00
Grzegorz Milka
8838cee7ca Bug 759859 - Reconcilation does not convert transactions' currency to the main one making reconcilation impossible.
Disable the Include subaccounts checkbox if there are descendant accounts with different commodities.
2015-12-26 15:34:01 -08:00
fell
9c4ea35d15 Price Editor - use different names for different windows
Rename the main window to "price database"
2015-12-26 21:33:13 +01:00
Mike Evans
3327d20e8e Bug 759674 - GNUCash crashes when importing invoices or bills with delimited import
Make sure all instances of gchar*  have *some* value, ie NULL, else undefined behavior occurs
when free is called on those objects.
2015-12-26 21:33:12 +01:00
John Ralls
ab41c01d86 Fix some compilers not considering plain enums as namespaces. 2015-12-26 12:18:27 -08:00
John Ralls
e0495fe269 Fully identify the boost header that needs to be fixed for C++11 compilation. 2015-12-26 11:54:28 -08:00
John Ralls
e5ad4aad2d Remove libboost_date_time dependency from libgnc-qof.
Changing the way the GncDateTimeImpl string constructor works allows
boost date_time to be used headers-only, which simplifies linkage.
2015-12-26 11:42:59 -08:00
fell
ac149b7d09 Price Editor - use different names for different windows
Rename the main window to "price database"
2015-12-26 05:19:06 +01:00
John Ralls
e4d3e90070 Merge branch 'maint' 2015-12-21 10:26:59 -08:00
Mike Evans
5370124dc1 Bug 759674 - GNUCash crashes when importing invoices or bills with delimited import
Make sure all instances of gchar*  have *some* value, ie NULL, else undefined behavior occurs
when free is called on those objects.
2015-12-21 11:44:21 +00:00
John Ralls
a1c7f6456c Release 2.6.10 2015-12-19 12:32:54 -08:00
John Ralls
cf6a5755e1 Clean log files in report-system/test.
Fixes a distcheck complaint about them being left behind.
2015-12-19 12:31:59 -08:00
John Ralls
571803ae6c Update the po files from the Translation Project. 2015-12-19 11:22:12 -08:00
Pedro Albuquerque
cc765b053b Add new Portugal-Portuguese Translation. 2015-12-19 09:57:43 -08:00
John Ralls
0a56146728 Fix test failure due to trying to parse nanoseconds, which we don't actually use. 2015-12-18 13:44:20 -08:00
Geert Janssens
9d07650077 Bug 746155 - Reports: html-acct-table prepend-row! & prepend-col! unknown variables
Fixed following the suggestions by Tony Kerns.
In addition the function names have been made more consistent -
they all end with a ! now as they change data.

Note these functions aren't used anywhere in the gnucash
code, but may affect custom reports by some users.
2015-12-18 18:12:03 +01:00
John Ralls
2f2d1d91a8 Bug 756335 - When importing, date selection causes exit crash
Second crash, when the field doesn't have a string.
2015-12-17 16:44:42 -08:00
John Ralls
8d904c1209 Correct detection of marker commodity splits.
The splits don't have an amount until after the formula is parsed, so
use the absence of both a credit and debit formula to indicate a marker.
2015-12-17 16:38:35 -08:00
John Ralls
697e746bc2 Remove the src/experimental directory for being hopelessly obsolete and probably useless. 2015-12-14 14:25:05 -08:00
John Ralls
54d087bfea Fix xml date failure do to nanoseconds conversion overwriting valid seconds.
Just ignore nanoseconds. They're never set in real life anyway.
2015-12-14 14:07:13 -08:00
John Ralls
5498f614fd Merge branch 'maint' 2015-12-14 13:13:29 -08:00
John Ralls
5f0cb0731f Use @SHELL@ instead of hardcode /bin/sh in test shell scripts.
This is a workaround for MacOS X 10.11's System Integrity Protection,
aka SIP, which among other things prevents system binaries from passing
linker environment variables to children. Anything in /bin or /usr/bin
qualifies as a system binary, and that includes /bin/sh and /bin/bash.
Not being able to pass linker paths breaks all of our guile tests which
need to tell Guile where to look for the libraries being tested.

To apply the workaround one needs to first have a shell outside of /bin
and /usr/bin. Simply copying /bin/sh to your home direcory works, as
does building a suitable shell somewhere. Just pass the path to that
shell in $CONFIG_SHELL to configure and all of the shell scripts and
libtool .la files will be created with it in the shebang line and the
linker environment variables will be passed in.

In order to build GnuCash in the first place you'll also need to edit
guild to use the alternate shell.
2015-12-14 13:11:12 -08:00
John Ralls
9f3d6fc83c Bug 759224 - illegal dates in stock transactions cause corrupt file.
Work around FreeBSD strptime bug.
2015-12-14 13:00:13 -08:00
Mechtilde
e08d7ac6c1 update de.po via gnucash.pot after building myself 2015-12-12 18:37:45 +01:00
Mechtilde
eb7a143c14 update de.po via gnucash.pot after building myself 2015-12-12 18:33:08 +01:00
Mechtilde
c8e77b4c7a some more German translation 2015-12-12 18:20:39 +01:00
Mechtilde
a765e8b47f add more German Translation 2015-12-12 10:33:11 +01:00
Mechtilde
34c1fc5213 add German Translation 2015-12-12 10:33:11 +01:00
Mechtilde
07c77f42d9 remove some fuzzy 2015-12-12 10:33:11 +01:00
Geert Janssens
e1b77aad87 Fix uninitialized warning in previous commit 2015-12-11 15:42:51 +01:00
Geert Janssens
f46ab3b98b Improve the revert action
- Move it's implementation to gnc-file with the rest of the file actions
- Ask user confirmation
- Don't ask to save before reverting
2015-12-11 12:06:55 +01:00
Geert Janssens
bfce5d840d Have a more generic mechanism to set Save action's sensitivity and use it for Revert action as well
So far the Save actions was more or less treated as an exception.
The new code enables/disables selected actions based on the dirty
state of the book.
2015-12-11 12:06:52 +01:00
Geert Janssens
38c0cc9451 Remove a couple of obsolete FIXME comments 2015-12-11 12:06:50 +01:00
Geert Janssens
cb0ae9ee8d Make dirty handling as currently defined by qof_alt_dirty_mode the only dirty handling mode 2015-12-11 12:06:49 +01:00
Mike Evans
35b5d94484 Bug 759294 - New the billing term are not saved during invoice editing.
Prevent editing the terms from the invoice view. This has to be edited
via the edit invoice button or menu Edit->Edit Invoice. The dropdown
in the invoice view has been replaced with an edit text box set to
non-editable in the glade file.
2015-12-11 10:11:41 +00:00
Geert Janssens
b2ced3d719 Bug 745101 - No warning when quitting with unsaved file
Improved fix: mark session dirty in qof_commit_edit_part2
instead of delegating this to the backends. This way
a session is also properly marked dirty (and hence the
save button enabled) when no backend is chosen yet
(that is, when in a new file that's never saved yet).

For the xml backend this means there's nothing to do anymore
at commit time, so the xml_commit_edit callback is removed.
2015-12-10 20:47:36 +01:00
Geert Janssens
a3cb28a2fe Disable a couple of debug tests in python
They would trigger a file save during start up on the temporary new session that's
created and destroyed after the following commit.
2015-12-10 20:23:21 +01:00
Geert Janssens
c559d28139 Revert "Bug 745101 - No warning when quitting with unsaved file"
This reverts commit 568bfa0282.
2015-12-10 19:47:00 +01:00
Geert Janssens
568bfa0282 Bug 745101 - No warning when quitting with unsaved file
Current workaround is to force-use a default backend on new sessions.
This works pretty well as the backend to use is retested when a file
is opened anyway, dropping the default backend. The default backend
should be able to handle the case where no real file/db is specified yet.
I think so far only the xml backend can do this, so I have chosen that one
as default.

For this to work I also had to prevent the python integration from querying
the current root account at startup. This query does create a root account
if it doesn't exist yet in the new session, triggering a dirty state. As
a result gnucash would ask to save the new session right before loading the
real file/db (the one that was open in the previous gnucash session).

This will probably still happen when python is initialized with the 'noisy'
flag (which is when --debug is set).
2015-12-10 18:44:51 +01:00
John Ralls
8870f0ece6 Merge branch 'cmake' 2015-12-10 09:38:05 -08:00
Rob Gowin
34c314aa48 Add ability to build GnuCash with CMake 2015-12-09 13:25:49 -06:00