Commit Graph

18580 Commits

Author SHA1 Message Date
Robert Fewell
dff337d72f Remove white space and change tabs to spaces in datecell-gnome.c 2017-09-28 14:31:11 +01:00
Robert Fewell
9382278b5e Rename various forms of Get Popup Height to Popup Get Height
Change GetPopupHeight to PopupGetHeight and get_popup_height to
popup_get_height to match other related functions.
2017-09-28 14:31:11 +01:00
Geert Janssens
b3b4b20e4b Merge branch 'maint' into unstable
Resolved conflicts:
	CMakeLists.txt
	NEWS
	configure.ac
2017-09-27 17:35:13 +02:00
Geert Janssens
d5b0dddb74 Use the same bugzilla url in AC_INIT as on maint 2017-09-27 17:34:12 +02:00
Geert Janssens
5ac849623a Add Catalan README file to autotools based build 2017-09-27 17:09:23 +02:00
Geert Janssens
d266ee346c Fix build failures if userdata_home exists but gnc_userdata_home doesn't
userdata_home is a different directory on each platform we support (default /home/janssege/.local/share on linux for example)
and gnc_userdata_home is normally userdata_home/GnuCash.
These directories may not always exist (yet) in all circumstances, so properly handle
all of these possible situations.
2017-09-26 12:37:33 +02:00
Josep-Maria Prat
a7ec61393b Readme translated into catalan 2017-09-26 11:56:50 +02:00
John Ralls
3a9fbb899e Release 2.6.18 2017-09-22 15:12:59 -07:00
John Ralls
2319dff8ce Remove automake version check for make dist.
No longer doing an automake check so it's not needed.
2017-09-22 15:12:59 -07:00
John Ralls
9a0020a8e7 Fix typo in CA_DIST name. 2017-09-22 15:12:59 -07:00
John Ralls
c75d9c0e18 Import latest Farsi and Srpska translations from the translation project. 2017-09-22 13:58:58 -07:00
Geert Janssens
4d59be7f46 Ignore softlink for new report 2017-09-21 18:42:23 +02:00
Geert Janssens
398b75e1a4 Revert "Ignore softlink for new report"
This commit was made against the wrong branch...
This reverts commit ec99d74b46.
2017-09-21 18:39:56 +02:00
Geert Janssens
ec99d74b46 Ignore softlink for new report 2017-09-21 18:39:08 +02:00
Geert Janssens
7448d8b532 Merge 'maint' into unstable
Resolved conflicts:
	configure.ac
2017-09-21 14:26:20 +02:00
Geert Janssens
0b85bbc1bf Add income-gst-statement.scm to POTFILES.in 2017-09-21 14:24:02 +02:00
christopherlam
5b99835cb1 Fix some (gnc:make-gnc-monetary) errors
These errors didn't appear in the tracefile. They only appeared on Linux terminal.
2017-09-21 13:57:13 +02:00
christopherlam
678794c800 Restore "sign reverses" option
This was removed during development.
2017-09-21 13:57:13 +02:00
christopherlam
ff32ddc906 Initial commit income-gst-statement.scm 2017-09-21 13:57:13 +02:00
christopherlam
40006a3f04 Reindent from transaction.scm 2017-09-21 13:57:13 +02:00
christopherlam
62824e0036 cp transaction.scm income-gst-statement.scm 2017-09-21 13:57:13 +02:00
Geert Janssens
c6f5118b9d Fixup for Catalan account charts 2017-09-21 12:22:04 +02:00
Geert Janssens
df7646263b Add boilerplate to get Catalan account charts installed and added to the distribution 2017-09-21 11:18:35 +02:00
Josep-Maria Prat
daf1bf35a0 Catalan accounts missing 2017-09-21 11:05:28 +02:00
Geert Janssens
1a84b4a000 Properly ignore internal report options that are not on invisible option pages when opening the report options dialog 2017-09-20 20:00:03 +02:00
John Ralls
0004a44f5f Release 2.7.0 2017-09-16 18:09:47 -07:00
John Ralls
711cea1f4f Fix the fix from mac for test-userdata-dir.c 2017-09-16 18:09:34 -07:00
John Ralls
9dc8e6f40a Fix test-userdata-dir on Mac. 2017-09-16 14:50:33 -07:00
Geert Janssens
42aa734475 Travis fixes
- Remove trailing semicolons. They're not needed in shell scripts
- Don't create default XDG_DATA_HOME (<HOME>/.local/share) the code
  should work equally well if that directory doesn't exist and so
  not creating it tests another part of the code
2017-09-16 22:29:29 +02:00
Geert Janssens
a8cccc00f3 Minor tweaks to the userdata_dir logic
- have gnc_validate_directory throw as well in case of a missing directory
  that it shouldn't create. This allows to remove 3 other throws
- slightly adjust the error message in case of missing directory
- never migrate when the final directory is a temporary (sub)directory
2017-09-16 22:29:29 +02:00
John Ralls
681d0271de Fix python init errors. 2017-09-16 11:30:07 -07:00
Geert Janssens
2ac118f80c Improve a few comments. 2017-09-16 19:33:56 +02:00
Geert Janssens
61a90d99fb Disable creating a user_data_dir in the test environment
The code should be able to cope with this
2017-09-16 19:18:01 +02:00
Geert Janssens
3a1f7d7339 Also undo the changes to POTFILES.in 2017-09-16 19:15:49 +02:00
John Ralls
350dd690fd Install the current, 2015, and 2016 ChangeLogs. 2017-09-16 10:15:13 -07:00
Geert Janssens
f3c0ec6068 Revert "Merge branch 'new-gst-report' of https://github.com/christopherlam/gnucash"
This reverts commit 48483b1e3d, reversing
changes made to 53fbc6f62f.

This merge was unintentionally pushed to master. This branch still
needed improvements.
2017-09-16 17:43:18 +02:00
Geert Janssens
8b1ebc5168 Update python bindings to use PyGI and Gtk3
While it doesn't fully fix the python bindings, gnucash
now at least doesn't segfault on start up if built with
python bindings enabled. There are still issues to fix though.
2017-09-16 17:38:47 +02:00
Geert Janssens
48483b1e3d Merge branch 'new-gst-report' of https://github.com/christopherlam/gnucash 2017-09-16 10:24:00 +02:00
christopherlam
53fbc6f62f "Sorting" tab overhaul to improve UI
This change will ensure the Sorting tab only presents *valid* options. e.g.
Changing Primary Sortkey to 'none will disable its descendant options.
Changing to 'Date will enable Date-interval choice.
Changing to 'Account-name will enable relevant account-name options.
Usability fix. This should help newcomers.
2017-09-16 16:10:10 +08:00
christopherlam
499c33cb35 Disallow Closing Transactions.
These txns must not be counted in this report.
2017-09-16 15:08:12 +08:00
christopherlam
9d85ee65d8 Initial commit income-gst-report.scm
Suitable for annual income & expense tax return.
Also suitable for GST/VAT returns.
Derived from transaction.scm
Also handle voided transactions correctly
2017-09-16 12:52:46 +08:00
christopherlam
8c65a1269d Reindent income-gst-report.scm 2017-09-16 12:52:30 +08:00
christopherlam
71b88ab4c5 cp transction.scm income-gst-statement.scm
https://github.com/Gnucash/gnucash/pull/177 rises from the ashes.
Commit memory is now unfortunately lost, due to my inexperience.

Start with transaction.scm as initial commit to illustrate its
heritage.
2017-09-16 12:52:04 +08:00
Geert Janssens
75b5a41eee Merge branch 'maint' 2017-09-15 21:51:50 +02:00
Geert Janssens
3bc0241e74 Bug 647805 - Interdependent report options fail to change state after using apply for a limited number of times
On the C side an SCM guile_options object is wrapped in a GNCOptionDB. This is
however a multi-to-one relationship. That is there can be several GNCOptionDBs
wrapping the same SCM guile_options object. This happens for example when
a report is open together with its Options dialog. Both manager their own
GNCOptionDB object while both wrap the same SCM guile_options.

The problem in this bug was caused by a callback function picking the wrong
GNCOptionDB based on the given SCM guile_options object. Which GNCOptionDB
got picked was completely dependent on how g_hash_table_foreach would cycle
through the stored dbs. It appears this is dependent on the in-memory order
of the hash table's values.

By being more selective of which GNCOptionDB we're looking for, this
could be circumvented. The GNCOptionDB we want is the one related to the open
report options dialog. This GNCOptionDB is different from the one managed by
the report tab in that it has callbacks set. So from now on we search for
a GNCOptionDB that wraps the give SCM guile_options and has one particular
callback set.
2017-09-15 20:54:42 +02:00
fell
b9d6e0257b Bug 787479 - Persian currency symbol is doubled 2017-09-15 15:02:53 +02:00
John Ralls
2cb48672f0 Fix the actual cmake dist problem, missing macros.
This reverts commit 36adb31ee9 which was
the wrong approach.
2017-09-14 12:01:05 -07:00
Geert Janssens
46545d3e45 Apply python binding changes to correct file 2017-09-13 15:01:48 +02:00
John Ralls
36adb31ee9 Fix some odd automake errors that show up only during a CMake ninja dist. 2017-09-12 17:10:49 -07:00
John Ralls
739995df54 Fix distribution pieces for gwenhywfar-gtk3. 2017-09-12 17:09:51 -07:00