Commit Graph

18640 Commits

Author SHA1 Message Date
John Ralls
2184cb347a Install libgwengui-gtk3.dll on Windows. 2017-10-16 11:22:55 -07:00
John Ralls
91a2ee4525 [MacOS] Change CMake installed names to absolute paths from @rpath/...
gtk-mac-bundler can't access the executable's rpath list so it can't
follow dependencies if they're not in $install_dir/lib from @rpath.
Autotools always sets absolute path install names so this should have no
adverse affects on other Mac builds.
2017-10-15 13:22:29 -07:00
John Ralls
14eafd8a1d Build Macs with WebKit1.
Temporarily, I hope. Javascript isn't working with WebKit-2.16 but does
with WebKit 2.4.11 and I don't want to hold up releasing 2.7.0 any longer.
2017-10-14 14:31:23 -07:00
John Ralls
281421d5cf HTML: Connect to load-failed and resource-load signals.
Useful diagnostics for reports not drawing.
2017-10-14 14:31:23 -07:00
John Ralls
97b09b5df5 Fix html temp-file URI.
The file path must start with a / anyway so we were getting URIs that
looked like "file:////foo/bar".
2017-10-14 14:31:23 -07:00
fell
789a28dd5b reapply commit 3cdac65 on the new dialog-ab-pref and remove obsolete
section from dialog-ab.gade
2017-10-11 22:38:09 +02:00
fell
9e92cc2ec6 Merge branch 'maint' into unstable 2017-10-06 20:42:22 +02:00
fell
3cdac65d49 Use descriptions from gschema as tooltips in Preferences Aqbanking
Inspired by Finster
https://lists.gnucash.org/logs/2017/10/05.html#T06:42:38
2017-10-06 20:17:12 +02:00
Geert Janssens
9472e9347f Replace ambiguous 'scm' with 'vcs' in macro name
Pointed out by Frank.
2017-10-05 22:47:11 +02:00
Geert Janssens
29b862adc2 Use different format specifier to make older git versions happy 2017-10-05 17:02:32 +02:00
Geert Janssens
545b24fe97 Merge branch maint into unstable
Resolved conflicts:
2017-10-05 16:29:36 +02:00
Geert Janssens
e56cb37813 Additional changes to use commit date rather than build date
This effectively replaces the use of GNUCASH_BUILD_DATE with GNUCASH_SCM_REV_DATE.
The latter is extracted from the current commit if building from some kind of vcs
(currently only works correctly for svn and git). The info extracted while building
from vcs is then also added to the dist tarball so it's available when building
from tarball as well (via the file libgnucash/core-utils/gnc-vcs-info.h).

The same date is also used to set the date in gnucash' man page document.
A practical detail: I have changed the substitution variables in the man page template
from @- -@ to ${} so we could leverage CONFIGURE_FILE in cmake. The necessary
related adjustments have also been made to Makefile.am's substitution rules.
2017-10-05 15:51:55 +02:00
Geert Janssens
7650d76582 Fix gnucash.pot generation from cmake build.
intltool-update should be run from the build directory, not the source directory.
If run from the source directory it will omit glade messages that have a context attribute
so all msgids with a msgctxt comment would be missing.
2017-10-03 22:56:35 +02:00
Geert Janssens
42ac55e03a Stop testing GObject's handling of invalid parameters 2017-10-03 22:56:35 +02:00
fell
a28f27a0e1 Fix a typo in gir error message 2017-10-03 19:42:32 +02:00
fell
de06e90022 Readd the missing glade msgctx strings to ru.po
4670 translated messages, 10 fuzzy translations, 5 untranslated
messages.
Follow up of PR #209.
2017-10-02 21:37:09 +02:00
fell
03552a43e9 ru.po: Minor improvements of the header after PR #209
4670 translated messages, 2 fuzzy translations, 5 untranslated messages.
2017-10-02 10:25:52 +02:00
ashed
9497ebc501 Update Russian Translation with the 2.6.18 gnucash.pot. 2017-10-01 15:29:29 -07:00
Bernhard M. Wiedemann
f9b2d8ce57 Allow to export the last commit's date
for use in release tarballs
to give users a hint on how old their software is.
2017-10-01 22:31:58 +02:00
Ashed
2450b8bc5b Updated and polished Russian Translation. 2017-09-29 11:22:44 -07:00
Robert Fewell
6b7a06fbdb Change the item_edit blanking rectangle position and size
Change the position and size of the cell blanking with background colour
 so it does not affect the red and blue horizontal lines.
2017-09-29 10:52:08 +01:00
Robert Fewell
6ffe5ec77c Change the position of the double row on the cursor
Move the double row down to bottom border + 1 line so it does not
interfere with the cursor cells.
2017-09-29 10:39:44 +01:00
Robert Fewell
948ba2ba04 Instead of removing a css class, wrap the change in save/restore 2017-09-29 10:27:53 +01:00
Robert Fewell
df1953a44a Rename internal CSS class prefix for the register to 'register-' 2017-09-29 10:25:18 +01:00
Robert Fewell
549b07ae66 Remove the CSS for a dark theme Register
It was decided that this is not required as the user can choose the
required colours by setting the preference to not use the built in
register colours.
2017-09-29 10:15:06 +01:00
Robert Fewell
3f17ed6c93 Fix typo in comment 2017-09-29 09:58:42 +01:00
Robert Fewell
3c65ac589c Make sure the sheet has focus at start
On first load of sheet, multiple tabs are ignored so addition makes the
sheet have the focus.
2017-09-28 14:31:13 +01:00
Robert Fewell
48e9de5aae Fix problem with scrollbar sliders not tracking value
There seems to be a problem with scrollbar sliders do not track the
value and also if you try to drag the slider it does not move. This may
be related to bug https://bugzilla.gnome.org/show_bug.cgi?id=765410

What I have found is that this problem can be overcome by hiding and
showing the scrollbar so this commit does so.
2017-09-28 14:31:13 +01:00
Robert Fewell
ed17cd6065 Fix missing hatchings when transaction unbalanced
The gtkrc foreground and background functions did not process hatching
properly so changed the normal functions to use CSS classes instead and
remove the gtkrc functions.
2017-09-28 14:31:13 +01:00
Robert Fewell
6ebecea263 When tabbing to the field, text should be highlighted only
When tabbing to a field, the text should be selected but when the mouse
is used, the cursor should be at the mouse click point.
2017-09-28 14:31:13 +01:00
Robert Fewell
dd56db748b Remove spaces from blank lines 2017-09-28 14:31:13 +01:00
Robert Fewell
858ca1f8bc Adjust text position to be the same as the item_edit entry 2017-09-28 14:31:13 +01:00
Robert Fewell
3dac6dfa16 Make sure the cursor background is filled to start to hide whats below it 2017-09-28 14:31:13 +01:00
Robert Fewell
1ed4f3d4d7 Add ability to draw a text cursor for the entry
Most of the call backs and procedures rely on the sheet being the one
in focus so prevent the entry being in focus. In doing this there is no
text cursor so add a draw function to draw one after the entry drawn.
Also remove the frame from the entry.
2017-09-28 14:31:13 +01:00
Robert Fewell
fd0cc1fe7d Do not copy the colour and so prevent form having to free it 2017-09-28 14:31:12 +01:00
Robert Fewell
6d2bc5b0a9 Allow the sheet to be scrolled with the mouse wheel 2017-09-28 14:31:12 +01:00
Robert Fewell
244abf75cd Rename a couple of functions to align with the format of the rest 2017-09-28 14:31:12 +01:00
Robert Fewell
71bf2392f5 Use a higher priority for the idle add when item edit updating 2017-09-28 14:31:12 +01:00
Robert Fewell
cd92fe06aa Fix problem when sheet first loaded in the register
When the horizontal scroll bar is hidden there is a possibility that
the space is not taken up by the sheet so request a resize when idle.
2017-09-28 14:31:12 +01:00
Robert Fewell
c3c01f4681 Change the line position to make double thickness line on cursor
Move the second line to above the normal one so that it is visible when
there is a full height sheet
2017-09-28 14:31:12 +01:00
Robert Fewell
6eeea6fb02 Use the background class for the dense-calendar 2017-09-28 14:31:12 +01:00
Robert Fewell
0c002682dd Change the way negative-numbers class was defined in CSS
After testing with Gtk3.10, needed to change the way the negative
numbers class was defined.
2017-09-28 14:31:12 +01:00
Robert Fewell
0d63bf5572 Remove white space and tabs from split-register-model 2017-09-28 14:31:12 +01:00
Robert Fewell
98f0b3dacb Add a heading for the Rate column. 2017-09-28 14:31:12 +01:00
Robert Fewell
173805b79f Register in journal mode with rate column, split columns loose alignment
When you add the rate column when the register is in journal view, with
the splits visible, the alignment of the split columns fails. This seems
 to be caused by the split memo field setup differently to description.
2017-09-28 14:31:12 +01:00
Robert Fewell
2c5f1aa59b Redraw the header after size allocation of the sheet.
If the horizontal scrollbar is visible, the header foreground colour is
wrong so add a redraw of the header at the end of the allocate.
2017-09-28 14:31:12 +01:00
Robert Fewell
91c8a56eaa Add redraw of the header when preference changes 2017-09-28 14:31:12 +01:00
Robert Fewell
6aa09abbcd Remove the no longer widgets for setting register colours 2017-09-28 14:31:12 +01:00
Robert Fewell
9973bbe6eb Change the register to be based on CSS
Change the colours of the register to be based on CSS. Use the register
default colours or by using the preference setting user / theme  set
ones can be used.
2017-09-28 14:31:12 +01:00
Robert Fewell
2d213363f0 Change tabs to spaces in gnucash-style.c 2017-09-28 14:31:12 +01:00