This set of patches unify implementation of GTK and CLI reporters. In the first
step, run event on dir API is enriched of callbacks which allows to handle
event messages from various frontends. The following step moves the event
configuration checking from report-gtk to libreport. Next step introduces run
event list API which hides an implementation details of processing of events in
reporter applications. Next step introduces asynchronous API for run event
list. The asynchronous run event list is implement with pthreads. The lasts
steps simply uses newly introduced functions in report-gtk and report-cli.

Jakub Filak (7):
  track#554 : run event on rewritten with callbacks
  track#554 : add validate_event_config used byt validate_event to
    refine complexity
  track#554 : move event configuration checking to common lib
  track#554 : add API for runnig of lists of events
  track#554 : use run event list API in report-cli
  track#554 : run event list in thread API
  track#554 : reworked report-gtk with usage of run event list in
    thread

 libreport.spec.in                   |    3 +
 po/POTFILES.in                      |    1 +
 src/cli/cli.c                       |  160 ++--
 src/gui-wizard-gtk/main.c           |   24 +-
 src/gui-wizard-gtk/wizard.c         | 1544 +++++++++++++++--------------------
 src/gui-wizard-gtk/wizard.glade     |   10 +-
 src/gui-wizard-gtk/wizard.h         |    2 +
 src/include/Makefile.am             |    5 +-
 src/include/event_config.h          |    1 +
 src/include/event_usability.h       |   59 ++
 src/include/run_event.h             |  134 ++-
 src/include/run_event_list.h        |  209 +++++
 src/include/run_event_list_thread.h |  174 ++++
 src/lib/Makefile.am                 |    6 +-
 src/lib/event_config.c              |   12 +-
 src/lib/event_usability.c           |  201 +++++
 src/lib/run_event.c                 |  440 ++++++++--
 src/lib/run_event_list.c            |  618 ++++++++++++++
 src/lib/run_event_list_thread.c     |  284 +++++++
 19 files changed, 2836 insertions(+), 1051 deletions(-)
 create mode 100644 src/include/event_usability.h
 create mode 100644 src/include/run_event_list.h
 create mode 100644 src/include/run_event_list_thread.h
 create mode 100644 src/lib/event_usability.c
 create mode 100644 src/lib/run_event_list.c
 create mode 100644 src/lib/run_event_list_thread.c

-- 
1.7.10.2

Reply via email to