Commit Graph
18620 Commits
Author SHA1 Message Date
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 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
John Ralls 1dea835c31 Re-enable generation of POTFILES.in
With a hack to get the right line-endings on Windows.
2017-09-12 14:28:05 -07:00
lmat 0cdd776941 Adding python tests to cmake
And removing some debugging comments
2017-09-12 14:20:18 +02:00
Geert Janssens 37ecf56fbb Merge branch 'maint'
Resolved conflicts:
	bindings/python/tests/CMakeLists.txt
2017-09-12 13:48:01 +02:00
Rob Gowin 6ec9aa362b Fix issues with loading and running init.py 2017-09-11 16:09:57 -05:00
John Ralls ac86ca949f Disable regeneration of POTFILES.in
On Windows CMake converts "\n" to CRLF, which causes xgettext to
mangle paths with [type: gettext/gsettings] in front of them and
also dirties the source directory with uncommittable changes.
The autotools build doesn't regenerate POTFILES.in and we've historically
maintained it by hand.
2017-09-11 12:18:57 -07:00
John Ralls 3f84f48415 Fix tiny omission that didn't build standard-reports.go. 2017-09-11 10:24:01 -07:00
fell 65f18589da Update changed string in de.po 2017-09-11 04:40:22 +02:00
fell 2275603eb4 Fix error in recent commit 2017-09-11 04:34:02 +02:00
John Ralls 465f24af2e Link libgncmod-app-utils-python to libgncmod-app-utils.
Instead of building libgncmod-app-utils-python as a stand-alone library
because gncmod-app-utils.c can be compiled only with guile thanks to
declaring scm_init_sw_app_utils_module. Linux linkers will just mark it
'U' but the MacOS linker errors out.
2017-09-10 18:24:39 -07:00
fell 240bc32e57 Remove build_year from translatable copyright string 2017-09-11 02:40:03 +02:00