Commit Graph

18530 Commits

Author SHA1 Message Date
christopherlam
11a1ff61c5 added case sensitive filter
please squash commits for me!
2017-08-16 23:46:25 +08:00
christopherlam
6eee9cefca Account fullname filter for transaction.scm
This small change will introduce an account full-name filter. Only accounts whose fullname containing substring will be selected e.g. ":Travel" will match Expenses:Travel:Holiday and Expenses:Business:Travel. This can be left blank, which will mimic previous behavior. This will ease accounts selection tremendously.
2017-08-16 23:33:03 +08:00
christopherlam
1559d26465 Remove clutter from generated html 2017-08-16 16:30:09 +02:00
christopherlam
2bc106a7b7 Partial fix for bug 660027
Encapsulate table header and body with <thead> and <tbody>
and prevent page-breaks within a <tr>
2017-08-16 16:29:29 +02:00
Geert Janssens
1883d8ec31 Fix a number of test mismatches between cmake and autotools
cmake:
- add test-app-utils
- rename test-link-module to test-link-module-app-utils
- add gtest-import-map
autotools:
- move gtest-import-map from TEST_PROGS to TESTS (autotools) so it shows up in the colored results list
2017-08-16 12:40:38 +02:00
Geert Janssens
53afd36de1 Keep the test modules from gnc-module outside of the normal GNC_MODULE_PATH
They interfere with other tests and pollute the build logs in cmake.
2017-08-16 11:59:27 +02:00
Valdis Vitolins
2bd81dcda9 Accelerator fixes for Latvian language 2017-08-16 12:30:01 +03:00
Geert Janssens
723530a9bc Merge branch 'reorganize-source-dirs' 2017-08-14 18:49:50 +02:00
Geert Janssens
3e3eead3c5 Eliminate plugins directory
bi-import and customer-import have been put with the other importers
example is moved to gnc-module as, well, an example
2017-08-14 18:17:13 +02:00
Geert Janssens
2a7f2f891a Eliminate the separate bin directory
Instead its content is moved to gnucash directly, making the gnucash directory
more meaningful.
2017-08-13 12:39:45 +02:00
Geert Janssens
53736e0842 Update .gitignore to handle all the renamed directories
At the same time clean up some obsolete entries (business-xyz)
and fix a gnc-scm-info.h -> gnc-vcs-info.h
2017-08-13 12:12:34 +02:00
Geert Janssens
4ce7be0497 Drop packaging directory
While I myself asked for it to be retained a couple of years back
I now believe it really makes no sense to keep on carrying
a completely outdated rpm spec file around. This should not
be part of the source and properly up to date and maintained
rpm spec files can be found in each rpm based distro that ships
gnucash.
2017-08-12 10:13:43 +02:00
Geert Janssens
dfe8ea4536 Add conditional source files to dist tarball
They should be added even if not used on the system being used to create the dist tarball
2017-08-11 22:51:14 +02:00
Geert Janssens
0c6da2f001 Cleanup some more obscure references to no longer existing 'src' directory 2017-08-11 22:44:50 +02:00
Geert Janssens
afecab330a Move accounts, checks and pixmaps into a data directory
At the same time move the art directory into contrib to unclutter the top level
2017-08-11 22:42:15 +02:00
fell
190a96faff PR #170 Fixes for po/lv.po file
Add missing glade msgctxt entries from intree build
2017-08-11 20:37:01 +02:00
Valdis Vitolins
35a4a76b8d Fixes for po/lv.po file 2017-08-11 11:42:41 +03:00
Geert Janssens
83d14e1c1c Restructure the src directory
It is split into
- /libgnucash (for the non-gui bits)
- /gnucash (for the gui)
- /common (misc source files used by both)
- /bindings (currently only holds python bindings)

This is the first step in restructuring the code. It will need much
more fine tuning later on.
2017-08-10 18:45:00 +02:00
fell
2b440cfe49 Merge Messages fom Maint in lv.po
4627 translated messages, 58 fuzzy translations.
2017-08-10 03:38:34 +02:00
Valdis Vitolins
7dc476d3bc *.po file updated for Latvian language 2017-08-10 03:33:10 +02:00
Geert Janssens
ffc640bada Move global definitions to toplevel CMakeLists.txt 2017-08-09 17:30:59 +02:00
Geert Janssens
9de9f5362e Drop the cutecash experiment and the gtkmm optional bindings
These are currently unmaintained, cutecash us based on the obsolete qt4
and gtkmm is only used by cutecash. Whenever someone wishes to revive
this experiment it can be recovered from git history and be brought
into a separate repository.
2017-08-09 16:09:32 +02:00
Geert Janssens
785568b0a3 Drop gtk dependency from app-utils
The resolves it's 'allmost nongui' status. Note the options code still
stores a pointer to a gtk widget but this is never used in the app-utils code
itself. This was already so before this commit and fixing this will require
more refactoring later on.

This commit also aligns the list of non-gui source directories between
cmake and autotools. This may need further tweaking in the context of
splitting the source in libgnucash and gnucash (the application)
2017-08-09 15:37:39 +02:00
Geert Janssens
708a9a4775 Make all backend loading use the same build environment module path resolution
This obsoletes some cmake hacks
2017-08-09 15:37:39 +02:00
Geert Janssens
8687dfb1da Merge qof directory into engine
They are both about handling core gnucash objects. Qof was once split out
in an attempt to make it a separate library. This hasn't worked out so there's
no good reason any more to keep this artificial separation.

A few considerations:
- The qof tests are merged into the engine test directory but they are kept as
  a separate test entity for now. Several assumptions made in the qof tests
  are no longer valid in the context of the engine. (For example if the
  pricedb test is added in the same test executable as the qofbook test,
  the book creation test fails because it now has 2 collections (pricedb and
  book) instead of only one. There are plenty of others like this so merging
  the tests needs more careful review and is perhaps best done while converting
  to c++/Google test.
- I had to use unique names for the MockBackend classes because apparently the tests were
  using a MockClass from another file in the cmake builds, causing several
  tests to fail.
2017-08-09 15:37:39 +02:00
Geert Janssens
41a6ac89e0 Fix ambiguity in Dutch translation of the gnucash description 2017-08-09 13:50:44 +02:00
Geert Janssens
848bb34741 Move core-utils files with depedencies on qof to engine
I have done this in a separate commit from merging qof back
into engine to keep an overview of changes
2017-08-07 18:32:19 +02:00
Geert Janssens
4f2d34f043 Fix cmake based sqlite3 test when run twice in a row
The second (and subsequent) time(s) would always fail because the test file
already exists at that point. Just force an overwrite in this case.
2017-08-07 18:32:18 +02:00
Geert Janssens
80be96219e Fix source file dependency on config.h in engine 2017-08-07 18:32:18 +02:00
Geert Janssens
342627d527 Remove the gncmod boilerplate from standard-reports and utility-reports
This adds unnecessary overhead and also serves as an initial experiment
to greatly reduce the gnc-module based modularization.

Oh, and it fixes the autotools make check failure in standard-reports
which I introduced in the previous commit. The fix was to either
fully gnc-modularize business reports or to go to de-gnc-modularize
standard-reports. I chose the latter as I don't want to add any new
gnc-modules any more at this point.
2017-08-07 18:32:18 +02:00
Geert Janssens
f71317626d Integrate gnome-business into gnome
This breaks autotools' make check, which will be fixed in a subsequent commit.
2017-08-07 18:32:18 +02:00
Geert Janssens
ea0d442235 Move auxiliary business files to gnome directory 2017-08-07 18:32:18 +02:00
Geert Janssens
f34348a40c Move business-gnome subdirectory to higher level
This is a first step in integrating it into the rest of the gnome directory
and already allows us to drop the business intermediate directory
2017-08-07 18:32:18 +02:00
Geert Janssens
71ef0709e9 Remove references to long obsolete source directories 2017-08-07 18:32:18 +02:00
Geert Janssens
dd99d7873f Merge business ledger into ledger-core
There's no need to have it as a separate directory
2017-08-07 18:32:18 +02:00
Geert Janssens
f5c8ae29d6 Update ChangeLog 2017-08-07 18:31:53 +02:00
Geert Janssens
88e365d2d1 Merge branch 'gtk3-update4' of https://github.com/Bob-IT/gnucash 2017-08-04 08:26:36 +02:00
Robert Fewell
86613ace5f Missed changing the GncItemEdit alignment for the first row 2017-08-03 18:02:59 +01:00
Geert Janssens
16b98cc5a4 Tweak cmake/autotools so they produce the same output for POTFILES.in 2017-08-03 18:19:06 +02:00
Robert Fewell
386309d8c8 Change how the widgets are named for CSS
Changed the names of the register parts and added to the class_init
function gtk_widget_class_set_css_name for use with Gtk+ 3.20 and also
a procedure to use gtk_style_context_add_class for earlier versions of
Gtk+
2017-08-03 16:45:11 +01:00
Robert Fewell
64d4ec3fd1 Replace the thicker lower line for the cursor, removed by mistake 2017-08-03 16:43:50 +01:00
Robert Fewell
efe2aef6f4 When drawing the cursor, remove the requirement to test for first row 2017-08-03 16:42:29 +01:00
Robert Fewell
8ebdc7b1d2 Change the divider line back to 3px
Make divider line 3px but make it straddle two rows centrally.
2017-08-03 16:39:07 +01:00
Robert Fewell
e0e1ccc1c4 Revert change to text vertical offset 2017-08-03 16:38:11 +01:00
Robert Fewell
66aa691a98 Do not make the first row height smaller
Change the first row to be like all others, top and bottom borders to
be offset by - 0.5 and so use the header border as the top border of
first row.
2017-08-03 16:34:38 +01:00
Robert Fewell
64b9872e36 Return the vertical split borders to light 2017-08-03 15:34:46 +01:00
Robert Fewell
54677d37c4 Change the hatching draw fix to use a relative move 2017-08-03 08:22:12 +01:00
Geert Janssens
96642c608f Merge branch 'master' of https://github.com/0-wiz-0/gnucash 2017-08-01 15:04:51 +02:00
christopherlam
0bb972cd02 Fix income statement when trading accounts not used
Fix cosmetic bug
http://gnucash.1415818.n4.nabble.com/unknown-column-in-Income-Statement-Profit-amp-Loss-td4680661.html#a4692940

Insert empty-cell instead of #unspecified result of (if predicate? result-if-true) where predicate? is #false
2017-08-01 14:18:54 +02:00
Robert Fewell
a2fa9eeff3 Fix a problem with the arrows when register first loads
After the register is loaded, when you first click on a arrow button
the popup appears but the arrow disappears, subsequent pressing and the
arrow toggles as expected. To fix this pack both arrows on the button
and hide the one not active.
2017-08-01 10:38:21 +01:00