Commit Graph

20366 Commits

Author SHA1 Message Date
Robert Fewell
92b587fa56 Make similar changes to account import CSV assistant
Remove the OK button from the file page.
2018-11-26 17:26:44 +00:00
Robert Fewell
1b2feacd4b Bug 796896 - Button to complete an export not intuitively placed or discoverable
The assistant file page is made up of an embedded GtkFileChooser widget
and associated OK button which seems out of place. Remove the OK button
and use the selection-changed signal to control the 'Forward' button.
2018-11-26 17:26:37 +00:00
Robert Fewell
eecc013724 Allow the text options widget to use all remaining space
The text option widget used for report options has only about 3 lines
visible currently and will not use any available space in the dialogue.

Change the packing for this widget to expand and fill the remaining
dialogue space. If there are more than one text option widget on a page
then the available space will be shared equally.
2018-11-15 19:13:57 +01:00
Robert Fewell
3cc05792ca Bug 796806 - Crash after OFX import if line item dragged
Prevent the import rows being dragged to a different order.
2018-11-15 19:13:57 +01:00
Robert Fewell
10377c51e2 Remove some white space/tabs from gnc_tree_view_account.c 2018-11-15 19:13:57 +01:00
Robert Fewell
916e7efd55 Bug 788332 - Last Reconcile Date column sorts by day of month not date
The Reconcile date column was being sorted by string instead of date
value. Added a sort function for ReconciledLastDate and use that for
the tree view column.
2018-11-15 19:11:31 +01:00
Robert Fewell
a9e0f4a721 Bug 793156 - Incorrect date sort order in Generic import matcher window
The date column was being sorted by string as opposed to date value.
Added an INT64 value to the model store to hold the time64 value and
use that for sorting the tree view date column.
2018-11-15 19:11:31 +01:00
Robert Fewell
d458e13a7f Remove KVP for assoc_uri when passed an empty string
Change xaccTransSetAssociation so if an empty string is passed the KVP
entry is removed instead of leaving an empty stub.
2018-11-15 15:30:35 +00:00
Robert Fewell
dfdafc7185 Bug 796915 - Update Account colour background
The account tree view background colour does not update straight away
with the preference option so add gnc_tree_view_account_refilter to the
colour change call back to force a refresh.
2018-11-15 15:30:35 +00:00
Robert Fewell
539a27b5ff Bug 796849 - Load another QIF file causes "that file already loaded" dialog
Clear the gtk entry for the filename in the
qif_import_load_another_file_cb function.
2018-11-15 15:30:35 +00:00
Robert Fewell
06b2e6bb2f Remove white space/tabs from search-owner.c/h
Remove the white space and tabs from search-owner.c/h and adjust format
to be the same as the other similar search source files.
2018-11-15 15:30:35 +00:00
Robert Fewell
8c03b999ed Bug 796903 - Crash when searching invoice by Invoice Owner
This was caused by a missing override function pass_parent used to pass
the parent GtkWindow for the error dialogues.
2018-11-15 15:30:35 +00:00
Robert Fewell
d327ff0819 Bug 796842 - Add new employee window may not fit on screen
Added notebook page for the Billing Information like other dialogues
2018-11-15 15:30:35 +00:00
Robert Fewell
cf587c1234 Do not destroy the 'blank split'
With a register in journal mode and you use the
'move to blank transaction' button which puts the cursor in the
'blank split' and then immediately click on another transaction you
loose the ability to add any more transactions using the blank
transaction as there is no 'blank split'.
Test for the old_split being the 'blank split' before destroying.
2018-11-15 15:30:35 +00:00
Robert Fewell
60f184be92 New hierarchy assistant error
When using the new hierarchy assistant, when you cancel or finish an
error is recorded in the trace file for invalid cast from GtkWindow to
GtkDialog. The cause is when removing the added book options which are
from a window and not a dialog so use 'gnc_options_dialog_destroy'
instead. This also fixes when after saving the file and you go straight
to File->Properties you get a blank book options dialogue.
2018-11-15 15:30:35 +00:00
John Ralls
284d6c1456 Fix travis failure try 2.
stdint.h for Transaction.c too.

Also get rid of unused timeval decl.
2018-11-11 17:43:24 +09:00
John Ralls
73d193606e Fix travis failure.
Linux needs stdint.h for INT64_MAX.
2018-11-11 17:29:06 +09:00
John Ralls
710b122b24 Bug 796940 - Invalid transaction date-posted KVP causes...
date-posted to not be saved.

Check the stored GDate for being in the GncDateTime range as well
as the GDate range before returning it and check trans->date-posted
against INT64_MAX instead of 0 before changing it.
2018-11-11 17:07:34 +09:00
John Ralls
4c1c485db6 Use split SCU when borking random split pairs.
Reduces likelihood of a zero value in the transaction currency.
2018-11-10 11:35:16 +09:00
John Ralls
2667ee7d98 Don't rely on glib-compile-resources being on the path. 2018-11-10 11:35:04 +09:00
Geert Janssens
52380d11d2 Add short_labels for a few toolbar buttons with long names.
That should fit a few more buttons on the toolbar.
2018-11-08 09:20:32 +01:00
Geert Janssens
d9bdf84d36 Re-enable the console warning when running a development build 2018-11-06 15:19:54 +01:00
Frank H. Ellenberger
ea978e288f Update my and Charles Days status 2018-11-06 08:18:22 +01:00
Geert Janssens
67174dd0b1 Prevent temporary editor files from being picked up for POTFILES.in generation
Aparently cmake's file glob also picks up hidden files and doesn't have
an easy way to avoid that.
2018-11-04 13:07:36 +01:00
Geert Janssens
2283df719a Drop code to work around gtk bug 326200 (bugzilla)
This bug has been fixed in 2006 and I have verified the version of gtk we
currently depend on carries this fix.
2018-11-04 12:45:53 +01:00
Frank H. Ellenberger
0467dd0b92 Fix several URLs in documentation parts
We have no longer svn, but 2 doxygen branches.
I don't remember, when Mailman moved from www to lists.
2018-11-03 10:15:19 +01:00
Frank H. Ellenberger
744101153d Replace a few hardcoded URLs by CMake vars
Additional fix a bug URL
2018-11-03 10:08:09 +01:00
Frank H. Ellenberger
51b96ec3e5 Update package URLS
We don't want bug mails to devel.
(missed port from autotools)
2018-11-03 05:39:02 +01:00
Frank H. Ellenberger
38abaf305a Add a translator comment about invoice title format 2018-11-02 23:16:52 +01:00
John Ralls
4b5ee84575 Work around strange struct tm initializer failure. 2018-11-02 13:44:09 -07:00
John Ralls
1c6fca9fca Remove emacs artifact from POTFILES.in. 2018-11-02 11:27:41 -07:00
John Ralls
0e723610f0 Bug 795080 - Some dates reset to 01/01/1970
The first fix for this bug handled structs tm with ambiguous times.
This one fixes the GncDate constructor when the time is ambiguous
because it's in the DST-change hour, using the same add 3 hours,
construct the LDT, and subtract the 3 hours from the result.

The string constructor handles only simple-offset HH:MM timezones and so
is immune to the bug.
2018-11-02 10:45:40 -07:00
Frank H. Ellenberger
19b3643abf PR #431: Update iso-4217-currencies.xml
add VES - Bolivar Soberano, minor updates of other VE currencies.

Merge branch 'patch-1' of https://github.com/rcalpha/gnucash into maint
2018-11-02 02:02:00 +01:00
Frank H. Ellenberger
204d6864c0 merge current messages in fr.po
3961 translated messages, 892 fuzzy translations, 390 untranslated
messages.
2018-11-02 01:20:21 +01:00
Frank H. Ellenberger
8625fe6500 Minor fixes of PR #429
Fix Language and Plural-Forms tags
2018-11-01 20:51:13 +01:00
Frank H. Ellenberger
f350c4ad58 PR #429: French translation update
Merge branch 'maint' of https://github.com/YBSLE/gnucash into maint
2018-11-01 20:31:30 +01:00
Ruben Cheng
36e430c8ba
Update iso-4217-currencies.xml
*) Fix VEB and VEF local-symbol
*) Add new currency for Venezuela (VES - Bolivar Soberano) since August 20th 2018
This is related to Bug 796927
2018-10-31 23:23:02 -04:00
David Thomas
c63cc0b5a0 2 new "Tips of the Day"
https://lists.gnucash.org/pipermail/gnucash-user/2018-October/080525.html
2018-11-01 01:50:21 +01:00
Frank H. Ellenberger
046b4e61a1 Add mailinglist address to translator-credits 2018-10-31 00:08:34 +01:00
John Ralls
5e426aa935 gcc-4.8 seems to dislike a space between # and cmakedefine. 2018-10-29 15:35:35 -07:00
John Ralls
f93310426d Fix WORDS_BIGENDIAN setting in config.h. 2018-10-29 14:28:47 -07:00
John Ralls
263c5a40ea Merge Chris Lam's 'maint-scheme-progress' into maint. 2018-10-29 13:06:25 -07:00
John Ralls
105ea8e952 Merge Chris Lam's 'maint-category-barchart' into maint. 2018-10-29 12:15:41 -07:00
John Ralls
f6fb1101bd Add bcrypt.lib to engine build flags on Windows < 10.
Seems not to be required on Win10.
2018-10-29 11:27:16 -07:00
John Ralls
917aadf950 Bug 796875 - Unable to use arrow keys to advance past...
pre-filled text in register, and
Bug 796883 - Register is misinterpreting CTRL ALT keys
This also reverts commit bfa6cd52e8.
2018-10-28 21:14:47 -07:00
Christopher Lam
cef574affe [category-barchart] remove old expensive function 2018-10-29 09:12:55 +08:00
Christopher Lam
af5fb0dde5 [category-barchart] remove datelist->stringlist 2018-10-29 09:12:55 +08:00
Christopher Lam
de343aac3d [category-barchart] optimize (account->balance-list)
1. Modify dates-list definition
  instead of either (list date0 date1 date) or
  (list (list start0 end0 '())
        (list start1 end1 '()) ...)
  it now is a list-of-dates (list date0 date1 date2)

2. Pre-generate account-balances using dates-list.
   account-balances-alist is an alist-of-balances

3. Use the pre-generated account-balance-alist instead of
   calling (get-balance) to obtain balances. This
   bypasses (get-balance) which calls a very expensive query-based
   functions for every *account* and *date-interval*
2018-10-29 09:12:50 +08:00
Christopher Lam
d8b8c197bc [category-barchart] use (or-map) in (not-all-zeros) 2018-10-29 09:11:54 +08:00
Christopher Lam
9a179f8293 [category-barchart] remove monetary->double
doubles are not necessary for charts.
2018-10-29 09:11:43 +08:00