Introduce kmm_csvimport_core

Authored by wojnilowicz on Jun 19 2017, 6:37 PM.

Description

Introduce kmm_csvimport_core

Purpose of this patch is to get rid of kmm_csvimport_static.
Advantages:

  1. no bulky kmm_csvimport_static,
  2. test cases can use kmm_csvimport_core directly,
  3. CSV importer is even more separate from CSV wizard than before,
  4. webpricequote update now can link only to CSV importer without

wizard,

  1. webpricequote and CSV Wizard use the same binary (i.e. shared

library),

  1. kmymoney binary + shared library + plugin library is about 15 MB

smaller, than before.

  1. new csvenums.h which helps setting profiles for webpricequote.
  2. CSV Importer needs no kmymoney_common module
  3. MyMoneyQifReader::checkCategory and CsvUtil::checkCategory have been

deduplicated and put into mymoneyfile.cpp; KMyMoneyApp::createAccount
follows and fits "almost perfectly" in mymoneyfile.cpp.

  1. csvutil.cpp and convdate.cpp has been rewritten and cleaned up -

lots of redundant code.

Differential Revision: https://phabricator.kde.org/D6300

Signed-off-by: Łukasz Wojniłowicz <lukasz.wojnilowicz@gmail.com>

Details

Committed
wojnilowiczJul 6 2017, 4:17 PM
Differential Revision
D6300: Introduce kmm_csvimport_core
Parents
R261:2524dbb4c6a3: Fix compiler warnings in OFX
Branches
Unknown
Tags
Unknown