Commit Graph

18356 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Robert Fewell
4bef3a59e0 Fix the place the popup appears when above the row
There may be more to do here after more testing.
2017-08-01 09:17:34 +01:00
Robert Fewell
64639a57ad To update the toggle arrow it needs to be removed from the container 2017-08-01 09:16:20 +01:00
Robert Fewell
9318ed9f30 Change the cursor grid coordinates to reflect the other changes 2017-08-01 09:13:34 +01:00
Robert Fewell
ea24c7b87c Change the cursor grid coordinates to reflect the other changes 2017-08-01 09:11:48 +01:00
Robert Fewell
22d1d488b5 Remove some blank lines from the header source file 2017-08-01 09:06:33 +01:00
Robert Fewell
8468783ad8 Add css style classes to parts of the register 2017-08-01 09:05:30 +01:00
Robert Fewell
60ff88041d Change the cell grid lines slightly
Grid lines will be generally be drawn by subtracting 0.5 from the x and
y values apart from the left border of the first column cell has 0.5
added to the x value and the first row cell has 0.5 added to the top
border y value. By doing this the overall dimensions does not change
and all borders are visible.
2017-08-01 09:00:41 +01:00
Robert Fewell
9b582c386a Make the header align with the sheet when scrolled horizontally 2017-08-01 08:28:49 +01:00
Robert Fewell
25cf1d91c0 Change the layout to show left border of first cell 2017-08-01 08:27:45 +01:00
Robert Fewell
0456b8ae84 Update the register grid 2017-08-01 08:26:38 +01:00
John Ralls
89336269d8 Check the right variable in the right version of gdk to test for a Mac build. 2017-07-31 07:29:42 +01:00
Thomas Klausner
e0fc59b8b1 Use proper glib2 include path. 2017-07-29 12:02:13 +02:00
Thomas Klausner
0f4e84ec0c Use portable test(1) operator. 2017-07-27 12:14:19 +02:00
John Ralls
0276367461 Merge Guido Falsi's 'fix-typo-and-indent' branch. 2017-07-23 16:20:19 -07:00
Guido Falsi
cf1d51c3a0 Fix a typo in a comment, and indentition of if conditional content. 2017-07-23 16:20:04 -07:00
John Ralls
b60057dbeb Merge Bob Fewell's 'gtk3-update3' branch. 2017-07-23 16:04:19 -07:00
Robert Fewell
64675b64eb These files have the QofLogModule defined but never used
In two minds on this, comment the line out or add macro to stop it
showing up as defined but never used, chose the latter.
2017-07-23 16:00:00 -07:00
Robert Fewell
b264a060bf Comment out some unused variables while register is still in flux 2017-07-23 16:00:00 -07:00
Robert Fewell
258a5fb9ca Add some additional REGISTER2_ENABLED code blocks
Stop some additional functions showing up when checking for defined but
not used when register2 not enabled.
2017-07-23 16:00:00 -07:00
Robert Fewell
f31516a0f2 Code clean up, comment out some additional static defines
These functions are commented out in the code and so not used so stop
them showing up for defined but not used.
2017-07-23 15:59:59 -07:00
Robert Fewell
1002576cef Code clean up on register2 files
Remove unused, unused set variables and also comment out some additional
 code
2017-07-23 15:59:59 -07:00
Robert Fewell
3e7235070f Code clean up, remove unused variable 2017-07-23 15:59:59 -07:00
Robert Fewell
583935cc2b Add a gtk version check for gnc-cell-renderer-popup
The event variable is only used when it is Gtk3.22 or higher
2017-07-23 15:59:59 -07:00