Error in guile code. Using (case var (datum ...)) means that datum are
symbols, so if datum is (GNC-INVOICE-VEND-INVOICE) it would try
(eqv? type 'GNC-INVOICE-VEND-INVOICE) which would never be true. We
need (eqv? type GNC-INVOICE-VEND-INVOICE). Using (cond) is more
appropriate here.
The Transaction Association path head was being displayed with '%20' as
the space as it was not being unescaped. Fixed by unescaping and also
noticed that the error message string were wrong also.
this is a compatibility hack to remove dependency on srfi-43 which is
not present on ubuntu 14.04. create a simplified vector-for-each
suitable for this module.
When generating the list of transactions to look at, a GList was used to
keep a list of transactions already processed. Change this to use a
hash table instead as it is quicker.
Update the transaction association dialog to use the in house uri
functions and also fix a problem that mainly affects Windows when you
associate a file that is in the root of the associated path head.
Update the transaction association functions to use the in house uri
functions and also fix a problem that mainly affects Windows when you
associate a file that is in the root of the associated path head.
Windows file uri's can be of the form 'file:///N:/bob.txt' so change
the gnc_uri_get_components to remove a left over '/' at the start so
gnc_resolve_file_path gets the absolute path correctly. Also change
gnc_uri_create_uri to add an extra '/' for Windows file uri's.
Add function to create an absolute file path from a prefix path and a
relative one. If the prefix is null, then the root directory of the
current path is used.
As the location and file associations use the same KVP, make sure a URL
with a valid scheme is entered. This allows KVP associations that are
not valid to be treated as relative paths.
More important, the AQBanking API has some naming changes.
This commit is substantially cribbed from Martin Pruess's
adaptation in the AQBanking repository. Thanks, Martin!
Requires Gwenhywfar >= 4.9.99 and AQBanking >= 5.3.4, the versions
just before the ones provided by Ubuntu 14.04LTS
Removes all definitions and ifdeffed code for earlier versions.
Removes the never-completed SEPA character checking that was if-zeroed.