commit
1bd790ea6a
@ -0,0 +1 @@
|
|||||||
|
SOURCES/gnome-abrt-1.2.6.tar.gz
|
@ -0,0 +1 @@
|
|||||||
|
08f4079f8091288cd0146e3c3ce9aa1c36109057 SOURCES/gnome-abrt-1.2.6.tar.gz
|
@ -0,0 +1,108 @@
|
|||||||
|
From 3bb8a093bae73b88c7951d8f8d15f3ec99341b24 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
Date: Mon, 21 Aug 2017 11:55:41 +0200
|
||||||
|
Subject: [PATCH] Remove Expert mode and the remaining Analyze code
|
||||||
|
|
||||||
|
The Expert mode was originally introduced together with the Analyze
|
||||||
|
feature by the commit 532cbd4. The Expert mode was intended to hide
|
||||||
|
the Analyze feature by default and show in only when the Expert mode
|
||||||
|
is on. Later the commit f5eb93f removed most of the Analyze feature
|
||||||
|
although some of its code still remained and was unused. At the same
|
||||||
|
time, probably by mistake, the Expert mode was switched to control
|
||||||
|
the visibility of the Details context menu item.
|
||||||
|
|
||||||
|
This commit removes the Expert mode which is unused and implemented
|
||||||
|
incorrectly and any remains of the Analyze feature. Closes #182.
|
||||||
|
---
|
||||||
|
src/gnome-abrt | 3 ---
|
||||||
|
src/gnome_abrt/controller.py.in | 7 -------
|
||||||
|
src/gnome_abrt/oops.glade | 8 --------
|
||||||
|
src/gnome_abrt/views.py | 7 -------
|
||||||
|
4 files changed, 25 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/gnome-abrt b/src/gnome-abrt
|
||||||
|
index f8e96e8..b1044d3 100755
|
||||||
|
--- a/src/gnome-abrt
|
||||||
|
+++ b/src/gnome-abrt
|
||||||
|
@@ -401,8 +401,6 @@ if __name__ == "__main__":
|
||||||
|
help=_('Be verbose'))
|
||||||
|
CMDARGS.add_argument('-p', '--problem',
|
||||||
|
help=_('Selected problem ID'))
|
||||||
|
- CMDARGS.add_argument('-x', '--expert', action='store_true',
|
||||||
|
- help=_('Expert mode'))
|
||||||
|
|
||||||
|
OPTIONS = CMDARGS.parse_args()
|
||||||
|
|
||||||
|
@@ -414,7 +412,6 @@ if __name__ == "__main__":
|
||||||
|
CONF = get_configuration()
|
||||||
|
# TODO : mark this option as hidden or something like that
|
||||||
|
CONF.add_option('problemid', default_value=None)
|
||||||
|
- CONF.add_option('expert', default_value=(OPTIONS.expert))
|
||||||
|
|
||||||
|
APP_CMDLINE = []
|
||||||
|
if 'problem' in VARS:
|
||||||
|
diff --git a/src/gnome_abrt/controller.py.in b/src/gnome_abrt/controller.py.in
|
||||||
|
index fc16dc2..86db419 100644
|
||||||
|
--- a/src/gnome_abrt/controller.py.in
|
||||||
|
+++ b/src/gnome_abrt/controller.py.in
|
||||||
|
@@ -45,13 +45,6 @@ class Controller(object):
|
||||||
|
|
||||||
|
problem.delete()
|
||||||
|
|
||||||
|
- def analyze(self, problem):
|
||||||
|
- if not problem:
|
||||||
|
- logging.error("BUG: Controller: Can't open detail of None problem")
|
||||||
|
- return
|
||||||
|
-
|
||||||
|
- self.run_event_fn("open-gui", problem)
|
||||||
|
-
|
||||||
|
def _refresh_sources(self):
|
||||||
|
for name, src in self.sources:
|
||||||
|
try:
|
||||||
|
diff --git a/src/gnome_abrt/oops.glade b/src/gnome_abrt/oops.glade
|
||||||
|
index bbb732b..b8ddb42 100644
|
||||||
|
--- a/src/gnome_abrt/oops.glade
|
||||||
|
+++ b/src/gnome_abrt/oops.glade
|
||||||
|
@@ -22,14 +22,6 @@
|
||||||
|
</object>
|
||||||
|
<accelerator key="Return"/>
|
||||||
|
</child>
|
||||||
|
- <child>
|
||||||
|
- <object class="GtkAction" id="gac_analyze">
|
||||||
|
- <property name="label" translatable="yes">Analy_ze</property>
|
||||||
|
- <property name="tooltip" translatable="yes">Open selected problem for analysis</property>
|
||||||
|
- <signal name="activate" handler="on_gac_analyze_activate" swapped="no"/>
|
||||||
|
- </object>
|
||||||
|
- <accelerator key="Return" modifiers="GDK_CONTROL_MASK | GDK_MOD1_MASK"/>
|
||||||
|
- </child>
|
||||||
|
<child>
|
||||||
|
<object class="GtkAction" id="gac_detail">
|
||||||
|
<property name="label" translatable="yes">D_etails</property>
|
||||||
|
diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py
|
||||||
|
index 82b606f..ec7b211 100644
|
||||||
|
--- a/src/gnome_abrt/views.py
|
||||||
|
+++ b/src/gnome_abrt/views.py
|
||||||
|
@@ -527,7 +527,6 @@ class OopsWindow(Gtk.ApplicationWindow):
|
||||||
|
conf.set_watch('T_FMT', self._options_observer)
|
||||||
|
conf.set_watch('D_T_FMT', self._options_observer)
|
||||||
|
self._options_observer.option_updated(conf, 'problemid')
|
||||||
|
- self._builder.mi_detail.set_visible(conf['expert'])
|
||||||
|
|
||||||
|
# enable observer
|
||||||
|
self._source_observer.enable()
|
||||||
|
@@ -1001,12 +1000,6 @@ _("This problem has been reported, but a <i>Bugzilla</i> ticket has not"
|
||||||
|
wrappers.show_problem_details_for_dir(
|
||||||
|
selected[0].problem_id, self)
|
||||||
|
|
||||||
|
- @handle_problem_and_source_errors
|
||||||
|
- def on_gac_analyze_activate(self, action):
|
||||||
|
- selected = self._get_selected(self.lss_problems)
|
||||||
|
- if selected:
|
||||||
|
- self._controller.analyze(selected[0])
|
||||||
|
-
|
||||||
|
@handle_problem_and_source_errors
|
||||||
|
def on_gac_report_activate(self, action):
|
||||||
|
selected = self._get_selected(self.lss_problems)
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -0,0 +1,43 @@
|
|||||||
|
From bf605d0aaea80f3daf70497417a23058a663d0fe Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
Date: Mon, 21 Aug 2017 12:28:04 +0200
|
||||||
|
Subject: [PATCH] Mark the `--help' command line descriptions for translation
|
||||||
|
|
||||||
|
Due to some bugs xgettext thinks this file is written in C and
|
||||||
|
ignores the Python syntax. We need some tricks to make it process
|
||||||
|
the messages correctly.
|
||||||
|
---
|
||||||
|
src/gnome-abrt | 15 +++++++++++++++
|
||||||
|
1 file changed, 15 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/src/gnome-abrt b/src/gnome-abrt
|
||||||
|
index b1044d3..a99aecf 100755
|
||||||
|
--- a/src/gnome-abrt
|
||||||
|
+++ b/src/gnome-abrt
|
||||||
|
@@ -397,8 +397,23 @@ if __name__ == "__main__":
|
||||||
|
|
||||||
|
CMDARGS = ArgumentParser(
|
||||||
|
description=_('View and report application crashes'))
|
||||||
|
+ # pylint: disable=W0105
|
||||||
|
+ '''
|
||||||
|
+ Again a trick to make xgettext think we are C language and emit the
|
||||||
|
+ translators comment correctly.
|
||||||
|
+ See: bugs.launchpad.net/intltool/+bug/377872
|
||||||
|
+ // Translators: This is a description of --verbose command line option
|
||||||
|
+ // displayed when a user runs: `gnome-abrt --help'
|
||||||
|
+ _("Be verbose")
|
||||||
|
+ '''
|
||||||
|
CMDARGS.add_argument('-v', '--verbose', action='count',
|
||||||
|
help=_('Be verbose'))
|
||||||
|
+ # pylint: disable=W0105
|
||||||
|
+ '''
|
||||||
|
+ // Translators: This is a description of --problem command line option
|
||||||
|
+ // displayed when a user runs: `gnome-abrt --help'
|
||||||
|
+ _("Selected problem ID")
|
||||||
|
+ '''
|
||||||
|
CMDARGS.add_argument('-p', '--problem',
|
||||||
|
help=_('Selected problem ID'))
|
||||||
|
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -0,0 +1,141 @@
|
|||||||
|
From 24e89bdda16fd2a315072449b0577093cc945bf6 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matej Habrnal <mhabrnal@redhat.com>
|
||||||
|
Date: Wed, 7 Feb 2018 10:39:17 +0100
|
||||||
|
Subject: [PATCH] Translation updates
|
||||||
|
|
||||||
|
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
||||||
|
---
|
||||||
|
po/cs.po | 17 +++++++++--------
|
||||||
|
po/pt_BR.po | 9 +++++----
|
||||||
|
po/ru.po | 4 ++--
|
||||||
|
3 files changed, 16 insertions(+), 14 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/po/cs.po b/po/cs.po
|
||||||
|
index 81619ab..f544adb 100644
|
||||||
|
--- a/po/cs.po
|
||||||
|
+++ b/po/cs.po
|
||||||
|
@@ -18,7 +18,7 @@ msgstr ""
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
-"PO-Revision-Date: 2017-09-05 12:10-0400\n"
|
||||||
|
+"PO-Revision-Date: 2017-12-14 11:16-0500\n"
|
||||||
|
"Last-Translator: Daniel Rusek <mail@asciiwolf.com>\n"
|
||||||
|
"Language-Team: čeština <gnome-cs-list@gnome.org>\n"
|
||||||
|
"Language: cs\n"
|
||||||
|
@@ -53,7 +53,7 @@ msgstr "_Ukončit"
|
||||||
|
#: ../src/gnome-abrt:350 ../src/gnome-abrt.desktop.in.h:1
|
||||||
|
#: ../src/gnome_abrt/views.py:294
|
||||||
|
msgid "Problem Reporting"
|
||||||
|
-msgstr "Hlášení problemů"
|
||||||
|
+msgstr "Hlášení problémů"
|
||||||
|
|
||||||
|
#: ../src/gnome-abrt.desktop.in.h:2
|
||||||
|
msgid "View and report application crashes"
|
||||||
|
@@ -218,7 +218,7 @@ msgstr "Reportováno"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/oops.glade.h:22
|
||||||
|
msgid "No problems detected!"
|
||||||
|
-msgstr "Žádné problémy nedetekovány!"
|
||||||
|
+msgstr "Nedetekovány žádné problémy!"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/oops.glade.h:23
|
||||||
|
msgid "No source selected!"
|
||||||
|
@@ -340,7 +340,7 @@ msgstr "Fatální selhání systému"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/views.py:868
|
||||||
|
msgid "The system has encountered a problem and could not continue."
|
||||||
|
-msgstr "Systém zaznamenal chybu a přestal pracovat"
|
||||||
|
+msgstr "Systém zaznamenal chybu a přestal pracovat."
|
||||||
|
|
||||||
|
#. Translators: If Application's name is unknown,
|
||||||
|
#. display neutral header
|
||||||
|
@@ -364,7 +364,7 @@ msgstr "{0} neočekávaně skončil"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/views.py:889
|
||||||
|
msgid "The application encountered a problem and could not continue."
|
||||||
|
-msgstr "Aplikace zaznamenala chybu a přestala pracovat"
|
||||||
|
+msgstr "Aplikace zaznamenala chybu a přestala pracovat."
|
||||||
|
|
||||||
|
#. Translators: package name not available
|
||||||
|
#. Translators: package version not available
|
||||||
|
@@ -388,9 +388,10 @@ msgid ""
|
||||||
|
"that. Thank you."
|
||||||
|
msgstr ""
|
||||||
|
"Tento problém byl již nahlášen, ale dosud nebylo vytvořeno hlášení v "
|
||||||
|
-"<i>Bugzille</i>. Naši vývojáři můžou potřebovat více informací, aby mohli "
|
||||||
|
-"vyřešit tento problém. Zvažte prosím také nahlášení do Bugzilly, kde můžete "
|
||||||
|
-"více informací poskytnout. Děkujeme."
|
||||||
|
+"<i>Bugzille</i>. Naši vývojáři mohou potřebovat více informací, aby mohli "
|
||||||
|
+"vyřešit tento problém.\n"
|
||||||
|
+"Zvažte prosím také <b>nahlášení</b> do Bugzilly, kde můžete více informací "
|
||||||
|
+"poskytnout. Děkujeme."
|
||||||
|
|
||||||
|
#. Translators: Displayed after 'Reported' if a problem
|
||||||
|
#. has been reported but we don't know where and when.
|
||||||
|
diff --git a/po/pt_BR.po b/po/pt_BR.po
|
||||||
|
index bad9664..a15a908 100644
|
||||||
|
--- a/po/pt_BR.po
|
||||||
|
+++ b/po/pt_BR.po
|
||||||
|
@@ -8,6 +8,7 @@
|
||||||
|
# Rafael Ferreira <rafael.f.f1@gmail.com>, 2012
|
||||||
|
# Ricardo Gyorfy <rgyorfy@redhat.com>, 2011
|
||||||
|
# Daniel Lara <danniel@fedoraproject.org>, 2016. #zanata
|
||||||
|
+# Fabrício de Lima Farias <fabricio_fariaz@hotmail.com>, 2018. #zanata
|
||||||
|
msgid ""
|
||||||
|
msgstr ""
|
||||||
|
"Project-Id-Version: PACKAGE VERSION\n"
|
||||||
|
@@ -16,8 +17,8 @@ msgstr ""
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
-"PO-Revision-Date: 2016-09-06 09:08-0400\n"
|
||||||
|
-"Last-Translator: Copied by Zanata <copied-by-zanata@zanata.org>\n"
|
||||||
|
+"PO-Revision-Date: 2018-01-30 07:10-0500\n"
|
||||||
|
+"Last-Translator: Marco Aurélio Krause <ouesten@me.com>\n"
|
||||||
|
"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/"
|
||||||
|
"gnome-abrt/language/pt_BR/)\n"
|
||||||
|
"Language: pt-BR\n"
|
||||||
|
@@ -155,7 +156,7 @@ msgstr "Envia problema selecionado"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/oops.glade.h:5
|
||||||
|
msgid "Analy_ze"
|
||||||
|
-msgstr "Ana_lizar"
|
||||||
|
+msgstr "Analizar"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/oops.glade.h:6
|
||||||
|
msgid "Open selected problem for analysis"
|
||||||
|
@@ -171,7 +172,7 @@ msgstr "Mostrar detalhes técnicos"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/oops.glade.h:9
|
||||||
|
msgid "_All problems"
|
||||||
|
-msgstr "Todos os problem_as"
|
||||||
|
+msgstr "Todos os problemas"
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/oops.glade.h:10
|
||||||
|
msgid "Show all known problems from all system users"
|
||||||
|
diff --git a/po/ru.po b/po/ru.po
|
||||||
|
index 6b90bc7..85efeea 100644
|
||||||
|
--- a/po/ru.po
|
||||||
|
+++ b/po/ru.po
|
||||||
|
@@ -15,7 +15,7 @@ msgstr ""
|
||||||
|
"MIME-Version: 1.0\n"
|
||||||
|
"Content-Type: text/plain; charset=UTF-8\n"
|
||||||
|
"Content-Transfer-Encoding: 8bit\n"
|
||||||
|
-"PO-Revision-Date: 2017-11-10 09:57-0500\n"
|
||||||
|
+"PO-Revision-Date: 2017-11-29 06:18-0500\n"
|
||||||
|
"Last-Translator: yuliya <ypoyarko@redhat.com>\n"
|
||||||
|
"Language-Team: Russian (http://www.transifex.com/projects/p/gnome-abrt/"
|
||||||
|
"language/ru/)\n"
|
||||||
|
@@ -285,7 +285,7 @@ msgstr[2] "{0:d} лет назад"
|
||||||
|
#: ../src/gnome_abrt/tools.py:115
|
||||||
|
#, python-brace-format
|
||||||
|
msgid "Failed to find icon '{0}'"
|
||||||
|
-msgstr "Значок «'{0}'» не найден."
|
||||||
|
+msgstr "Значок «{0}» не найден."
|
||||||
|
|
||||||
|
#: ../src/gnome_abrt/tools.py:122
|
||||||
|
#, python-brace-format
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,46 @@
|
|||||||
|
From c5e51a8e4a6d36dc5550a5d5032427a9a2d2622c Mon Sep 17 00:00:00 2001
|
||||||
|
From: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
Date: Thu, 26 Apr 2018 23:21:44 +0200
|
||||||
|
Subject: [PATCH] Apply the new packaging guidelines
|
||||||
|
|
||||||
|
Change appdata location according to the current guidelines: it should
|
||||||
|
be %{_datadir}/metainfo directory rather than %{_datadir}/appdata.
|
||||||
|
|
||||||
|
Remove "Group:" tag according to the current guidelines.
|
||||||
|
|
||||||
|
Closes: #185
|
||||||
|
---
|
||||||
|
gnome-abrt.spec.in | 7 +++++--
|
||||||
|
src/Makefile.am | 2 +-
|
||||||
|
2 files changed, 6 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||||
|
index bb0f07f..e61847a 100644
|
||||||
|
--- a/src/Makefile.in
|
||||||
|
+++ b/src/Makefile.in
|
||||||
|
@@ -395,7 +395,7 @@ top_builddir = @top_builddir@
|
||||||
|
top_srcdir = @top_srcdir@
|
||||||
|
SUBDIRS = gnome_abrt
|
||||||
|
bin_SCRIPTS = gnome-abrt
|
||||||
|
-appdatadir = $(datadir)/appdata
|
||||||
|
+appdatadir = $(datadir)/metainfo
|
||||||
|
app_data_in_files = gnome-abrt.appdata.xml.in
|
||||||
|
appdata_DATA = $(app_data_in_files:.xml.in=.xml)
|
||||||
|
desktopdir = $(datadir)/applications
|
||||||
|
|
||||||
|
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||||
|
index 2b124f5..ccb02a1 100644
|
||||||
|
--- a/src/Makefile.am
|
||||||
|
+++ b/src/Makefile.am
|
||||||
|
@@ -4,7 +4,7 @@ bin_SCRIPTS=gnome-abrt
|
||||||
|
|
||||||
|
@INTLTOOL_XML_RULE@
|
||||||
|
|
||||||
|
-appdatadir = $(datadir)/appdata
|
||||||
|
+appdatadir = $(datadir)/metainfo
|
||||||
|
app_data_in_files = gnome-abrt.appdata.xml.in
|
||||||
|
appdata_DATA = $(app_data_in_files:.xml.in=.xml)
|
||||||
|
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -0,0 +1,158 @@
|
|||||||
|
From c8ae57408d8713f1b165f8da9f63bf55fb1427cc Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matej Habrnal <mhabrnal@redhat.com>
|
||||||
|
Date: Thu, 31 May 2018 15:05:15 +0200
|
||||||
|
Subject: [PATCH] pylint: fix some pylint warnings
|
||||||
|
|
||||||
|
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
|
||||||
|
---
|
||||||
|
pylintrc | 2 +-
|
||||||
|
src/gnome_abrt/application.py | 2 +-
|
||||||
|
src/gnome_abrt/dbus_problems.py | 4 +---
|
||||||
|
src/gnome_abrt/directory_problems.py | 4 ++--
|
||||||
|
src/gnome_abrt/problems.py | 32 ++++++++--------------------
|
||||||
|
src/gnome_abrt/views.py | 8 ++-----
|
||||||
|
6 files changed, 16 insertions(+), 36 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/pylintrc b/pylintrc
|
||||||
|
index 934d7c0..0dc1c8e 100644
|
||||||
|
--- a/pylintrc
|
||||||
|
+++ b/pylintrc
|
||||||
|
@@ -155,7 +155,7 @@ ignore-imports=no
|
||||||
|
[FORMAT]
|
||||||
|
|
||||||
|
# Maximum number of characters on a single line.
|
||||||
|
-max-line-length=80
|
||||||
|
+max-line-length=120
|
||||||
|
|
||||||
|
# Maximum number of lines in a module
|
||||||
|
max-module-lines=1000
|
||||||
|
diff --git a/src/gnome_abrt/application.py b/src/gnome_abrt/application.py
|
||||||
|
index 3504b03..927262a 100644
|
||||||
|
--- a/src/gnome_abrt/application.py
|
||||||
|
+++ b/src/gnome_abrt/application.py
|
||||||
|
@@ -16,7 +16,7 @@
|
||||||
|
## Foundation, Inc., 51 Franklin Street, Suite 500, Boston, MA 02110-1335 USA
|
||||||
|
|
||||||
|
import os
|
||||||
|
-import gnome_abrt.wrappers as wrappers
|
||||||
|
+from gnome_abrt import wrappers
|
||||||
|
|
||||||
|
class Application(object):
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/dbus_problems.py b/src/gnome_abrt/dbus_problems.py
|
||||||
|
index 89f092e..d6574aa 100644
|
||||||
|
--- a/src/gnome_abrt/dbus_problems.py
|
||||||
|
+++ b/src/gnome_abrt/dbus_problems.py
|
||||||
|
@@ -22,9 +22,7 @@ import traceback
|
||||||
|
import dbus
|
||||||
|
from dbus.mainloop.glib import DBusGMainLoop
|
||||||
|
|
||||||
|
-import gnome_abrt.problems as problems
|
||||||
|
-import gnome_abrt.config as config
|
||||||
|
-import gnome_abrt.errors as errors
|
||||||
|
+from gnome_abrt import problems, config, errors
|
||||||
|
from gnome_abrt.l10n import _
|
||||||
|
|
||||||
|
BUS_NAME = 'org.freedesktop.problems'
|
||||||
|
diff --git a/src/gnome_abrt/directory_problems.py b/src/gnome_abrt/directory_problems.py
|
||||||
|
index 02a06ed..3ec7fe5 100644
|
||||||
|
--- a/src/gnome_abrt/directory_problems.py
|
||||||
|
+++ b/src/gnome_abrt/directory_problems.py
|
||||||
|
@@ -30,8 +30,8 @@ import pyinotify
|
||||||
|
from pyinotify import WatchManager, Notifier, ProcessEvent
|
||||||
|
|
||||||
|
# gnome-abrt
|
||||||
|
-import gnome_abrt.problems as problems
|
||||||
|
-import gnome_abrt.errors as errors
|
||||||
|
+from gnome_abrt import problems
|
||||||
|
+from gnome_abrt import errors
|
||||||
|
from gnome_abrt.l10n import _
|
||||||
|
|
||||||
|
class INOTIFYGlibSource(GLib.Source):
|
||||||
|
diff --git a/src/gnome_abrt/problems.py b/src/gnome_abrt/problems.py
|
||||||
|
index fbde9ac..05a3fa7 100644
|
||||||
|
--- a/src/gnome_abrt/problems.py
|
||||||
|
+++ b/src/gnome_abrt/problems.py
|
||||||
|
@@ -17,6 +17,7 @@
|
||||||
|
|
||||||
|
import datetime
|
||||||
|
import logging
|
||||||
|
+import re
|
||||||
|
|
||||||
|
# gnome-abrt
|
||||||
|
import gnome_abrt.url
|
||||||
|
@@ -279,6 +280,7 @@ class Problem(object):
|
||||||
|
|
||||||
|
def get_submission(self):
|
||||||
|
if not self.submission:
|
||||||
|
+ reg = re.compile(r'^(?P<pfx>.*):\s*(?P<typ>\S*)=(?P<data>.*)')
|
||||||
|
self.submission = []
|
||||||
|
if self['reported_to']:
|
||||||
|
# Most common type of line in reported_to file
|
||||||
|
@@ -287,30 +289,14 @@ class Problem(object):
|
||||||
|
if not line:
|
||||||
|
continue
|
||||||
|
|
||||||
|
- pfx_lst = []
|
||||||
|
- i = 0
|
||||||
|
- for i in range(0, len(line)):
|
||||||
|
- if line[i] == ':':
|
||||||
|
- break
|
||||||
|
- pfx_lst.append(line[i])
|
||||||
|
-
|
||||||
|
- pfx = ''.join(pfx_lst)
|
||||||
|
- i += 1
|
||||||
|
-
|
||||||
|
- for i in range(i, len(line)):
|
||||||
|
- if line[i] != ' ':
|
||||||
|
- break
|
||||||
|
-
|
||||||
|
- typ_lst = []
|
||||||
|
- for i in range(i, len(line)):
|
||||||
|
- if line[i] == '=':
|
||||||
|
- break
|
||||||
|
- typ_lst.append(line[i])
|
||||||
|
-
|
||||||
|
- typ = ''.join(typ_lst)
|
||||||
|
- i += 1
|
||||||
|
+ parsed = reg.match(line)
|
||||||
|
+ if parsed:
|
||||||
|
+ pfx = parsed.group('pfx')
|
||||||
|
+ typ = parsed.group('typ')
|
||||||
|
+ data = parsed.group('data')
|
||||||
|
+ else:
|
||||||
|
+ continue
|
||||||
|
|
||||||
|
- data = line[i:]
|
||||||
|
sbm = next((s for s in self.submission
|
||||||
|
if s.rtype == typ and s.name == pfx), None)
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py
|
||||||
|
index ec7b211..1b62515 100644
|
||||||
|
--- a/src/gnome_abrt/views.py
|
||||||
|
+++ b/src/gnome_abrt/views.py
|
||||||
|
@@ -40,12 +40,7 @@ from gi.repository import GLib
|
||||||
|
|
||||||
|
import humanize
|
||||||
|
|
||||||
|
-import gnome_abrt.problems as problems
|
||||||
|
-import gnome_abrt.config as config
|
||||||
|
-import gnome_abrt.wrappers as wrappers
|
||||||
|
-import gnome_abrt.errors as errors
|
||||||
|
-import gnome_abrt.desktop as desktop
|
||||||
|
-from gnome_abrt import GNOME_ABRT_UI_DIR
|
||||||
|
+from gnome_abrt import GNOME_ABRT_UI_DIR, problems, config, wrappers, errors, desktop
|
||||||
|
from gnome_abrt.tools import fancydate, smart_truncate, load_icon
|
||||||
|
from gnome_abrt.tools import set_icon_from_pixbuf_with_scale
|
||||||
|
from gnome_abrt.l10n import _, C_, GETTEXT_PROGNAME
|
||||||
|
@@ -1075,6 +1070,7 @@ _("This problem has been reported, but a <i>Bugzilla</i> ticket has not"
|
||||||
|
self._builder.lb_problems.select_row(problem_row)
|
||||||
|
self._builder.menu_problem_item.popup(None, None,
|
||||||
|
None, None, data.button, data.time)
|
||||||
|
+ return None
|
||||||
|
|
||||||
|
def get_box_header_left_offset(self):
|
||||||
|
# Returns the offset of box_header_left relative to the main paned
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -0,0 +1,39 @@
|
|||||||
|
From 36d381601a9823ed2c33e306959b974a050215c3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Matej Marusak <mmarusak@redhat.com>
|
||||||
|
Date: Fri, 13 Jul 2018 09:27:28 +0200
|
||||||
|
Subject: [PATCH] Fix incorrect parsing of reported_to file
|
||||||
|
|
||||||
|
Fixes BZ#1600809
|
||||||
|
|
||||||
|
Bug was introduced in commit 99578c5.
|
||||||
|
Adding lazy operator (?) makes sure, that first occurrences are found.
|
||||||
|
This did not work on following item:
|
||||||
|
Bugzilla: URL=https://bugzilla.redhat.com/show_bug.cgi?id=123456
|
||||||
|
Without this fix, it was split as:
|
||||||
|
- Bugzilla: URL=https
|
||||||
|
- //bugzilla.redhat.com/show_bug.cgi
|
||||||
|
- id=123456
|
||||||
|
|
||||||
|
With this fix first ':' and '=' are found correctly.
|
||||||
|
|
||||||
|
Signed-off-by: Matej Marusak <mmarusak@redhat.com>
|
||||||
|
---
|
||||||
|
src/gnome_abrt/problems.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/problems.py b/src/gnome_abrt/problems.py
|
||||||
|
index 05a3fa7..d9f579a 100644
|
||||||
|
--- a/src/gnome_abrt/problems.py
|
||||||
|
+++ b/src/gnome_abrt/problems.py
|
||||||
|
@@ -280,7 +280,7 @@ class Problem(object):
|
||||||
|
|
||||||
|
def get_submission(self):
|
||||||
|
if not self.submission:
|
||||||
|
- reg = re.compile(r'^(?P<pfx>.*):\s*(?P<typ>\S*)=(?P<data>.*)')
|
||||||
|
+ reg = re.compile(r'^(?P<pfx>.*?):\s*(?P<typ>\S*?)=(?P<data>.*)')
|
||||||
|
self.submission = []
|
||||||
|
if self['reported_to']:
|
||||||
|
# Most common type of line in reported_to file
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -0,0 +1,246 @@
|
|||||||
|
From 301a5ca79ce3d738c08e4af0df686d16f5c95df3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Martin Kutlak <mkutlak@redhat.com>
|
||||||
|
Date: Tue, 17 Jul 2018 12:49:34 +0200
|
||||||
|
Subject: [PATCH] pylint(R0205): Remove explicit object inheritance
|
||||||
|
|
||||||
|
Classes in Python3 inherit from the object implicitly.
|
||||||
|
|
||||||
|
Signed-off-by: Martin Kutlak <mkutlak@redhat.com>
|
||||||
|
---
|
||||||
|
src/gnome-abrt | 4 ++--
|
||||||
|
src/gnome_abrt/application.py | 2 +-
|
||||||
|
src/gnome_abrt/config.py | 2 +-
|
||||||
|
src/gnome_abrt/controller.py.in | 2 +-
|
||||||
|
src/gnome_abrt/dbus_problems.py | 4 ++--
|
||||||
|
src/gnome_abrt/directory_problems.py | 6 +++---
|
||||||
|
src/gnome_abrt/problems.py | 8 ++++----
|
||||||
|
src/gnome_abrt/url/gliburltitle.py | 4 ++--
|
||||||
|
src/gnome_abrt/views.py | 10 +++++-----
|
||||||
|
9 files changed, 21 insertions(+), 21 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/gnome-abrt b/src/gnome-abrt
|
||||||
|
index a99aecf..f193c96 100755
|
||||||
|
--- a/src/gnome-abrt
|
||||||
|
+++ b/src/gnome-abrt
|
||||||
|
@@ -87,7 +87,7 @@ GNOME_ABRT_URL_POOL_CAPACITY = 10
|
||||||
|
|
||||||
|
|
||||||
|
# because of https://bugzilla.gnome.org/show_bug.cgi?id=682331
|
||||||
|
-class GtkAppDBUSImpl(object):
|
||||||
|
+class GtkAppDBUSImpl:
|
||||||
|
"""A proxy for primary application
|
||||||
|
"""
|
||||||
|
|
||||||
|
@@ -107,7 +107,7 @@ class GtkAppDBUSImpl(object):
|
||||||
|
"""DBus service method accepting a new command line arguments
|
||||||
|
"""
|
||||||
|
|
||||||
|
- class Arguments(object):
|
||||||
|
+ class Arguments:
|
||||||
|
"""Adapter for Gtk class
|
||||||
|
"""
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/application.py b/src/gnome_abrt/application.py
|
||||||
|
index 927262a..40a6f0c 100644
|
||||||
|
--- a/src/gnome_abrt/application.py
|
||||||
|
+++ b/src/gnome_abrt/application.py
|
||||||
|
@@ -18,7 +18,7 @@
|
||||||
|
import os
|
||||||
|
from gnome_abrt import wrappers
|
||||||
|
|
||||||
|
-class Application(object):
|
||||||
|
+class Application:
|
||||||
|
|
||||||
|
def __init__(self, executable, name=None, icon=None):
|
||||||
|
self.executable = executable or "N/A"
|
||||||
|
diff --git a/src/gnome_abrt/config.py b/src/gnome_abrt/config.py
|
||||||
|
index 94aea46..e5662de 100644
|
||||||
|
--- a/src/gnome_abrt/config.py
|
||||||
|
+++ b/src/gnome_abrt/config.py
|
||||||
|
@@ -29,7 +29,7 @@ def singleton(cls):
|
||||||
|
return getinstance
|
||||||
|
|
||||||
|
@singleton
|
||||||
|
-class Configuration(object):
|
||||||
|
+class Configuration:
|
||||||
|
|
||||||
|
def __init__(self):
|
||||||
|
self.options = {}
|
||||||
|
diff --git a/src/gnome_abrt/controller.py.in b/src/gnome_abrt/controller.py.in
|
||||||
|
index 86db419..c2991ed 100644
|
||||||
|
--- a/src/gnome_abrt/controller.py.in
|
||||||
|
+++ b/src/gnome_abrt/controller.py.in
|
||||||
|
@@ -24,7 +24,7 @@ import traceback
|
||||||
|
from gnome_abrt import errors
|
||||||
|
from gnome_abrt.l10n import _
|
||||||
|
|
||||||
|
-class Controller(object):
|
||||||
|
+class Controller:
|
||||||
|
|
||||||
|
def __init__(self, sources, sigchld_assign=None):
|
||||||
|
self.sources = sources
|
||||||
|
diff --git a/src/gnome_abrt/dbus_problems.py b/src/gnome_abrt/dbus_problems.py
|
||||||
|
index d6574aa..4c584e7 100644
|
||||||
|
--- a/src/gnome_abrt/dbus_problems.py
|
||||||
|
+++ b/src/gnome_abrt/dbus_problems.py
|
||||||
|
@@ -40,7 +40,7 @@ def get_foreign_problems_source(mainloop=None):
|
||||||
|
|
||||||
|
class DBusProblemSource(problems.CachedSource):
|
||||||
|
|
||||||
|
- class Driver(object):
|
||||||
|
+ class Driver:
|
||||||
|
"""Handles differences in behaviour while working with different sets
|
||||||
|
of problems obtained from D-Bus service.
|
||||||
|
"""
|
||||||
|
@@ -198,7 +198,7 @@ class StandardProblems(DBusProblemSource.Driver):
|
||||||
|
def __init__(self, source):
|
||||||
|
super(StandardProblems, self).__init__(source)
|
||||||
|
|
||||||
|
- class ConfigObserver(object):
|
||||||
|
+ class ConfigObserver:
|
||||||
|
def __init__(self, source):
|
||||||
|
self._source = source
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/directory_problems.py b/src/gnome_abrt/directory_problems.py
|
||||||
|
index 3ec7fe5..96ddc72 100644
|
||||||
|
--- a/src/gnome_abrt/directory_problems.py
|
||||||
|
+++ b/src/gnome_abrt/directory_problems.py
|
||||||
|
@@ -150,7 +150,7 @@ class INOTIFYSourceHandler(ProcessEvent):
|
||||||
|
.format(ex))
|
||||||
|
|
||||||
|
|
||||||
|
-class INOTIFYWatcher(object):
|
||||||
|
+class INOTIFYWatcher:
|
||||||
|
|
||||||
|
def __init__(self, source, directory, context):
|
||||||
|
# context is the instance variable because
|
||||||
|
@@ -219,7 +219,7 @@ _("You have probably reached inotify's limit on the number of watches in '{0}'."
|
||||||
|
"about changes in problem data happening outside of this application. This "
|
||||||
|
"event do not affect any other functionality.").format(self._directory))
|
||||||
|
|
||||||
|
-class NotInitializedDirectorySource(object):
|
||||||
|
+class NotInitializedDirectorySource:
|
||||||
|
|
||||||
|
def __init__(self, parent):
|
||||||
|
self._parent = parent
|
||||||
|
@@ -245,7 +245,7 @@ class NotInitializedDirectorySource(object):
|
||||||
|
return True
|
||||||
|
|
||||||
|
|
||||||
|
-class InitializedDirectoryProblemSource(object):
|
||||||
|
+class InitializedDirectoryProblemSource:
|
||||||
|
|
||||||
|
def __init__(self, parent, directory, context=None):
|
||||||
|
self._parent = parent
|
||||||
|
diff --git a/src/gnome_abrt/problems.py b/src/gnome_abrt/problems.py
|
||||||
|
index d9f579a..5285394 100644
|
||||||
|
--- a/src/gnome_abrt/problems.py
|
||||||
|
+++ b/src/gnome_abrt/problems.py
|
||||||
|
@@ -26,7 +26,7 @@ from gnome_abrt.errors import (InvalidProblem,
|
||||||
|
UnavailableSource)
|
||||||
|
from gnome_abrt.l10n import _
|
||||||
|
|
||||||
|
-class ProblemSource(object):
|
||||||
|
+class ProblemSource:
|
||||||
|
NEW_PROBLEM = 0
|
||||||
|
DELETED_PROBLEM = 1
|
||||||
|
CHANGED_PROBLEM = 2
|
||||||
|
@@ -64,13 +64,13 @@ class ProblemSource(object):
|
||||||
|
def refresh(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
-class Problem(object):
|
||||||
|
+class Problem:
|
||||||
|
INITIAL_ELEMENTS = ['component', 'executable', 'cmdline', 'count', 'type',
|
||||||
|
'last_occurrence', 'time', 'reason', 'pkg_arch',
|
||||||
|
'pkg_epoch', 'pkg_name', 'pkg_release', 'pkg_version',
|
||||||
|
'environ', 'pid']
|
||||||
|
|
||||||
|
- class Submission(object):
|
||||||
|
+ class Submission:
|
||||||
|
URL = "URL"
|
||||||
|
MSG = "MSG"
|
||||||
|
BTHASH = "BTHASH"
|
||||||
|
@@ -319,7 +319,7 @@ class MultipleSources(ProblemSource):
|
||||||
|
|
||||||
|
self.sources = sources
|
||||||
|
|
||||||
|
- class SourceObserver(object):
|
||||||
|
+ class SourceObserver:
|
||||||
|
def __init__(self, parent):
|
||||||
|
self.parent = parent
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/url/gliburltitle.py b/src/gnome_abrt/url/gliburltitle.py
|
||||||
|
index 44c7a6c..e4cc0f9 100644
|
||||||
|
--- a/src/gnome_abrt/url/gliburltitle.py
|
||||||
|
+++ b/src/gnome_abrt/url/gliburltitle.py
|
||||||
|
@@ -82,7 +82,7 @@ class GetURLTitleThreadSource(GLib.Source):
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
-class GetURLTitleSourcePool(object):
|
||||||
|
+class GetURLTitleSourcePool:
|
||||||
|
"""Pool for reducing number of running threads at time
|
||||||
|
"""
|
||||||
|
|
||||||
|
@@ -115,7 +115,7 @@ class GetURLTitleSourcePool(object):
|
||||||
|
self._start_resolving(url, readycallback, userdata)
|
||||||
|
|
||||||
|
|
||||||
|
-class GetURLTitleSourceCache(object):
|
||||||
|
+class GetURLTitleSourceCache:
|
||||||
|
"""Asynchronous cache for URL titles
|
||||||
|
"""
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py
|
||||||
|
index 1b62515..a7eabb0 100644
|
||||||
|
--- a/src/gnome_abrt/views.py
|
||||||
|
+++ b/src/gnome_abrt/views.py
|
||||||
|
@@ -55,7 +55,7 @@ def list_box_row_set_values(list_box_row, values):
|
||||||
|
return list_box_row.get_children()[0].set_values(values)
|
||||||
|
|
||||||
|
|
||||||
|
-class ProblemsFilter(object):
|
||||||
|
+class ProblemsFilter:
|
||||||
|
|
||||||
|
def __init__(self, list_box, list_box_selection):
|
||||||
|
self._pattern = ""
|
||||||
|
@@ -201,7 +201,7 @@ def handle_problem_and_source_errors(func):
|
||||||
|
return wrapper_for_instance_function
|
||||||
|
|
||||||
|
|
||||||
|
-class ListBoxSelection(object):
|
||||||
|
+class ListBoxSelection:
|
||||||
|
|
||||||
|
def __init__(self, list_box, selection_changed):
|
||||||
|
self._lb = list_box
|
||||||
|
@@ -288,7 +288,7 @@ class OopsWindow(Gtk.ApplicationWindow):
|
||||||
|
|
||||||
|
_TITLE = _("Problem Reporting")
|
||||||
|
|
||||||
|
- class OopsGtkBuilder(object):
|
||||||
|
+ class OopsGtkBuilder:
|
||||||
|
def __init__(self):
|
||||||
|
builder = None
|
||||||
|
# try to load the glade from git at first step
|
||||||
|
@@ -412,7 +412,7 @@ class OopsWindow(Gtk.ApplicationWindow):
|
||||||
|
return obj
|
||||||
|
|
||||||
|
|
||||||
|
- class SourceObserver(object):
|
||||||
|
+ class SourceObserver:
|
||||||
|
def __init__(self, wnd):
|
||||||
|
self.wnd = wnd
|
||||||
|
self._enabled = True
|
||||||
|
@@ -443,7 +443,7 @@ class OopsWindow(Gtk.ApplicationWindow):
|
||||||
|
self.wnd._disable_source(ex.source, ex.temporary)
|
||||||
|
|
||||||
|
|
||||||
|
- class OptionsObserver(object):
|
||||||
|
+ class OptionsObserver:
|
||||||
|
def __init__(self, wnd):
|
||||||
|
self.wnd = wnd
|
||||||
|
|
||||||
|
--
|
||||||
|
2.17.1
|
||||||
|
|
@ -0,0 +1,118 @@
|
|||||||
|
From 173d9435e04bc5af8b2ebea37df72c516c39bddd Mon Sep 17 00:00:00 2001
|
||||||
|
From: Ernestas Kulik <ekulik@redhat.com>
|
||||||
|
Date: Thu, 16 Jan 2020 17:40:34 +0100
|
||||||
|
Subject: [PATCH] views: Allow reporting non-reportable problems
|
||||||
|
|
||||||
|
A bit of an oxymoron, but what can you do. Mostly targeted towards those
|
||||||
|
afflicted by warning taints.
|
||||||
|
|
||||||
|
Resolves: rhbz#1791655
|
||||||
|
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1679314
|
||||||
|
https://bugzilla.redhat.com/show_bug.cgi?id=1791655
|
||||||
|
---
|
||||||
|
src/gnome_abrt/controller.py.in | 10 ++++++--
|
||||||
|
src/gnome_abrt/views.py | 41 +++++++++++++++++++++++++++++----
|
||||||
|
2 files changed, 45 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/src/gnome_abrt/controller.py.in b/src/gnome_abrt/controller.py.in
|
||||||
|
index c2991ed..5060b89 100644
|
||||||
|
--- a/src/gnome_abrt/controller.py.in
|
||||||
|
+++ b/src/gnome_abrt/controller.py.in
|
||||||
|
@@ -24,6 +24,9 @@ import traceback
|
||||||
|
from gnome_abrt import errors
|
||||||
|
from gnome_abrt.l10n import _
|
||||||
|
|
||||||
|
+import report
|
||||||
|
+
|
||||||
|
+
|
||||||
|
class Controller:
|
||||||
|
|
||||||
|
def __init__(self, sources, sigchld_assign=None):
|
||||||
|
@@ -31,12 +34,15 @@ class Controller:
|
||||||
|
self.run_event_fn = self._first_event_run
|
||||||
|
self._sigchld_assign = sigchld_assign
|
||||||
|
|
||||||
|
- def report(self, problem):
|
||||||
|
+ def report(self, problem, unsafe=False):
|
||||||
|
if not problem:
|
||||||
|
logging.error("BUG: Controller: Can't report None problem")
|
||||||
|
return
|
||||||
|
|
||||||
|
- self.run_event_fn("report-gui", problem)
|
||||||
|
+ flags = 0
|
||||||
|
+ if unsafe:
|
||||||
|
+ flags |= report.LIBREPORT_IGNORE_NOT_REPORTABLE
|
||||||
|
+ report.report_problem_in_dir(problem.problem_id, flags)
|
||||||
|
|
||||||
|
def delete(self, problem):
|
||||||
|
if not problem:
|
||||||
|
diff --git a/src/gnome_abrt/views.py b/src/gnome_abrt/views.py
|
||||||
|
index a7eabb0..32f27a7 100644
|
||||||
|
--- a/src/gnome_abrt/views.py
|
||||||
|
+++ b/src/gnome_abrt/views.py
|
||||||
|
@@ -840,8 +840,7 @@ class OopsWindow(Gtk.ApplicationWindow):
|
||||||
|
|
||||||
|
sensitive_btn = problem is not None
|
||||||
|
self._builder.btn_delete.set_sensitive(sensitive_btn)
|
||||||
|
- self._builder.btn_report.set_sensitive(
|
||||||
|
- sensitive_btn and not problem['not-reportable'])
|
||||||
|
+ self._builder.btn_report.set_sensitive(sensitive_btn)
|
||||||
|
self._builder.vbx_links.foreach(
|
||||||
|
destroy_links, None)
|
||||||
|
self._builder.vbx_problem_messages.foreach(
|
||||||
|
@@ -939,6 +938,13 @@ _("This problem has been reported, but a <i>Bugzilla</i> ticket has not"
|
||||||
|
# Translators: Displayed after 'Reported' if a problem
|
||||||
|
# has not been reported.
|
||||||
|
self._builder.lbl_reported_value.set_text(_('no'))
|
||||||
|
+
|
||||||
|
+ style_context = self._builder.btn_report.get_style_context()
|
||||||
|
+
|
||||||
|
+ if problem['not-reportable']:
|
||||||
|
+ style_context.add_class('destructive-action')
|
||||||
|
+ else:
|
||||||
|
+ style_context.remove_class('destructive-action')
|
||||||
|
else:
|
||||||
|
if self._source is not None:
|
||||||
|
self._builder.nb_problem_layout.set_current_page(1)
|
||||||
|
@@ -998,8 +1004,35 @@ _("This problem has been reported, but a <i>Bugzilla</i> ticket has not"
|
||||||
|
@handle_problem_and_source_errors
|
||||||
|
def on_gac_report_activate(self, action):
|
||||||
|
selected = self._get_selected(self.lss_problems)
|
||||||
|
- if selected and not selected[0]['not-reportable']:
|
||||||
|
- self._controller.report(selected[0])
|
||||||
|
+ if not selected:
|
||||||
|
+ return
|
||||||
|
+
|
||||||
|
+ unsafe = False
|
||||||
|
+
|
||||||
|
+ if selected[0]['not-reportable']:
|
||||||
|
+ dialog = Gtk.MessageDialog(self,
|
||||||
|
+ Gtk.DialogFlags.MODAL | Gtk.DialogFlags.DESTROY_WITH_PARENT,
|
||||||
|
+ Gtk.MessageType.QUESTION,
|
||||||
|
+ Gtk.ButtonsType.NONE,
|
||||||
|
+ _("This problem is marked as not reportable, thus reporting should only be forced if you know what it entails. Do you wish to continue?"))
|
||||||
|
+ button = Gtk.Button.new_with_label(_("No"))
|
||||||
|
+
|
||||||
|
+ button.get_style_context().add_class("suggested-action")
|
||||||
|
+ button.show()
|
||||||
|
+
|
||||||
|
+ dialog.add_action_widget(button, Gtk.ResponseType.NO)
|
||||||
|
+ dialog.add_button(_("Yes"), Gtk.ResponseType.YES)
|
||||||
|
+
|
||||||
|
+ response = dialog.run()
|
||||||
|
+
|
||||||
|
+ dialog.destroy()
|
||||||
|
+
|
||||||
|
+ if response != Gtk.ResponseType.YES:
|
||||||
|
+ return
|
||||||
|
+
|
||||||
|
+ unsafe = True
|
||||||
|
+
|
||||||
|
+ self._controller.report(selected[0], unsafe)
|
||||||
|
|
||||||
|
@handle_problem_and_source_errors
|
||||||
|
def on_se_problems_search_changed(self, entry):
|
||||||
|
--
|
||||||
|
2.25.1
|
||||||
|
|
@ -0,0 +1,608 @@
|
|||||||
|
# TODO: https://fedoraproject.org/wiki/Packaging:AutoProvidesAndRequiresFiltering
|
||||||
|
# rpmlint warns about private-shared-object-provides
|
||||||
|
# can't use filter because the package doesn't met any of the required criteria
|
||||||
|
# ! Noarch package ... caused by libreport wrappers shared library
|
||||||
|
# ! no binaries in $PATH ... caused by gnome-abrt python script in /usr/bin
|
||||||
|
|
||||||
|
Name: gnome-abrt
|
||||||
|
Version: 1.2.6
|
||||||
|
|
||||||
|
Release: 6%{?dist}
|
||||||
|
|
||||||
|
Summary: A utility for viewing problems that have occurred with the system
|
||||||
|
|
||||||
|
License: GPLv2+
|
||||||
|
URL: https://github.com/abrt/gnome-abrt
|
||||||
|
Source0: https://github.com/abrt/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
||||||
|
|
||||||
|
# git format-patch %%{Version} --topo-order -N -M;
|
||||||
|
# i=1; for p in `ls 0*.patch`; do printf "Patch%04d: %s\n" $i $p; ((i++)); done
|
||||||
|
Patch0001: 0001-Remove-Expert-mode-and-the-remaining-Analyze-code.patch
|
||||||
|
Patch0002: 0002-Mark-the-help-command-line-descriptions-for-translat.patch
|
||||||
|
Patch0003: 0003-Translation-updates.patch
|
||||||
|
Patch0004: 0004-Translation-updates.patch
|
||||||
|
Patch0005: 0005-Apply-the-new-packaging-guidelines.patch
|
||||||
|
# Patch0006: 0006-autogen-correctly-parse-buildrequires-from-spec-file.patch
|
||||||
|
Patch0007: 0007-pylint-fix-some-pylint-warnings.patch
|
||||||
|
Patch0008: 0008-Fix-incorrect-parsing-of-reported_to-file.patch
|
||||||
|
# Patch0009: 0009-spec-Fix-files-listed-twice.patch
|
||||||
|
Patch0010: 0010-pylint-R0205-Remove-explicit-object-inheritance.patch
|
||||||
|
# Patch0011: 0011-spec-Fix-python3-libreport-dependency.patch
|
||||||
|
Patch0012: 0012-views-Allow-reporting-non-reportable-problems.patch
|
||||||
|
|
||||||
|
# git is need for '%%autosetup -S git' which automatically applies all the
|
||||||
|
# patches above. Please, be aware that the patches must be generated
|
||||||
|
# by 'git format-patch'
|
||||||
|
BuildRequires: git
|
||||||
|
|
||||||
|
BuildRequires: intltool
|
||||||
|
BuildRequires: gettext
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: python3-devel
|
||||||
|
BuildRequires: desktop-file-utils
|
||||||
|
BuildRequires: asciidoc
|
||||||
|
BuildRequires: xmlto
|
||||||
|
BuildRequires: pygobject3-devel
|
||||||
|
BuildRequires: libreport-gtk-devel >= 2.6.0
|
||||||
|
BuildRequires: python3-libreport
|
||||||
|
BuildRequires: abrt-gui-devel >= 2.6.0
|
||||||
|
BuildRequires: gtk3-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: sed
|
||||||
|
|
||||||
|
%if 0%{?fedora}
|
||||||
|
# 2015-11-12 <jfilak>:
|
||||||
|
# I temporarily disabled pylint after discussion with rkuska and kalev. pylint
|
||||||
|
# cannot be built for Python-3.5 and gnome-abrt uses it only for 'make check'.
|
||||||
|
%bcond_without pylint
|
||||||
|
BuildRequires: python3-six
|
||||||
|
BuildRequires: python3-inotify
|
||||||
|
BuildRequires: python3-gobject
|
||||||
|
BuildRequires: python3-dbus
|
||||||
|
BuildRequires: python3-humanize
|
||||||
|
%else
|
||||||
|
%bcond_with pylint
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%if %{with pylint}
|
||||||
|
BuildRequires: python3-pylint
|
||||||
|
%else
|
||||||
|
%define checkoption --with-nopylint
|
||||||
|
%endif
|
||||||
|
|
||||||
|
Requires: python3-libreport
|
||||||
|
Requires: python3-inotify
|
||||||
|
Requires: python3-gobject
|
||||||
|
Requires: python3-dbus
|
||||||
|
Requires: xdg-utils
|
||||||
|
Requires: python3-humanize
|
||||||
|
|
||||||
|
%description
|
||||||
|
A GNOME application allows users to browse through detected problems and
|
||||||
|
provides them with convenient way for managing these problems.
|
||||||
|
|
||||||
|
|
||||||
|
%prep
|
||||||
|
# http://www.rpm.org/wiki/PackagerDocs/Autosetup
|
||||||
|
# Default '__scm_apply_git' is 'git apply && git commit' but this workflow
|
||||||
|
# doesn't allow us to create a new file within a patch, so we have to use
|
||||||
|
# 'git am' (see /usr/lib/rpm/macros for more details)
|
||||||
|
%define __scm_apply_git(qp:m:) %{__git} am
|
||||||
|
%autosetup -S git
|
||||||
|
|
||||||
|
|
||||||
|
%build
|
||||||
|
autoconf
|
||||||
|
%configure %{?checkoption}
|
||||||
|
make
|
||||||
|
|
||||||
|
|
||||||
|
%install
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir}
|
||||||
|
%find_lang %{name}
|
||||||
|
|
||||||
|
# remove all .la and .a files
|
||||||
|
find $RPM_BUILD_ROOT -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
|
|
||||||
|
desktop-file-install \
|
||||||
|
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
|
||||||
|
--delete-original \
|
||||||
|
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
|
||||||
|
|
||||||
|
# Switch hardcoded python3 shebangs into the %%{__python3} macro
|
||||||
|
sed -i '1s=^#!/usr/bin/python3\($\|\s\)=#!%{__python3}\1=' \
|
||||||
|
%{buildroot}%{_bindir}/gnome-abrt
|
||||||
|
|
||||||
|
%check
|
||||||
|
%if %{with pylint}
|
||||||
|
make check
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%doc COPYING README.md
|
||||||
|
%{python3_sitearch}/gnome_abrt
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
%{_bindir}/%{name}
|
||||||
|
%{_datadir}/applications/*
|
||||||
|
%{_datadir}/metainfo/*
|
||||||
|
%{_mandir}/man1/%{name}.1*
|
||||||
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
%{_datadir}/icons/hicolor/*/status/*
|
||||||
|
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Tue Mar 10 2020 Ernestas Kulik <ekulik@redhat.com> - 1.2.6-6
|
||||||
|
- Add patch for rhbz#1791655
|
||||||
|
|
||||||
|
* Tue Jul 17 2018 Matej Habrnal <mhabrnal@redhat.com> - 1.2.6-5
|
||||||
|
- pylint(R0205): Remove explicit object inheritance
|
||||||
|
- Fix incorrect parsing of reported_to file
|
||||||
|
- Apply the new packaging guidelines
|
||||||
|
- Mark the `--help' command line descriptions for translation
|
||||||
|
- Remove Expert mode and the remaining Analyze code
|
||||||
|
|
||||||
|
* Mon Jul 16 2018 Matej Habrnal <mhabrnal@redhat.com> - 1.2.6-4
|
||||||
|
- Switch hardcoded python3 shebangs into the %%{__python3}
|
||||||
|
|
||||||
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jan 06 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.6-2
|
||||||
|
- Remove obsolete scriptlets
|
||||||
|
|
||||||
|
* Thu Nov 16 2017 Julius Milan <jmilan@redhat.com> 1.2.6-1
|
||||||
|
- Translation updates
|
||||||
|
- Satisfy pylint v1.7.1 warnings
|
||||||
|
- pylintrc: disable pylint no-else-return warnings
|
||||||
|
- Add fur, kk, nn languages into LINGUAS
|
||||||
|
|
||||||
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jul 12 2017 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.5-4
|
||||||
|
- New translations: Friulian, Kazakh, Norwegian Nynorsk
|
||||||
|
- Translation updates: Dutch, Finnish, Marathi
|
||||||
|
|
||||||
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.2.5-2
|
||||||
|
- Rebuild for Python 3.6
|
||||||
|
|
||||||
|
* Mon Oct 31 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.5-1
|
||||||
|
- Translation updates
|
||||||
|
- Fix some small issues to please pylint
|
||||||
|
- Fix padding of the list items
|
||||||
|
- Update the project URL
|
||||||
|
|
||||||
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-3
|
||||||
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||||
|
|
||||||
|
* Tue Jun 28 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.4-2
|
||||||
|
- Translation updates (Albanian)
|
||||||
|
- Resolves: #1347951
|
||||||
|
|
||||||
|
* Tue Jun 07 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.4-1
|
||||||
|
- Translation updates (Russian, Slovak)
|
||||||
|
- Add new translation languages - Albanian
|
||||||
|
- One more fix for the format of a package version
|
||||||
|
- Align the header buttons position to the sidebar size
|
||||||
|
|
||||||
|
* Wed Apr 13 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.3-3
|
||||||
|
- Correct format of the package version
|
||||||
|
- Translation updates
|
||||||
|
|
||||||
|
* Fri Apr 08 2016 Rafal Luzynski <digitalfreak@lingonborough.com> 1.2.3-2
|
||||||
|
- Translation updates
|
||||||
|
|
||||||
|
* Wed Mar 23 2016 Jakub Filak <jfilak@redhat.com> 1.2.3-1
|
||||||
|
- Translation updates
|
||||||
|
- Let main title of the crash wrap
|
||||||
|
- Label all kernel oops problems with "System"
|
||||||
|
- Disambiguate the word "System"
|
||||||
|
- Use context gettext
|
||||||
|
- Reword "Detected" to "First Detected"
|
||||||
|
- Use "Problem Reporting" as the program name in the About box
|
||||||
|
- Remove "Report problem with ABRT"
|
||||||
|
- Fix dim-label being applied to proper app icons
|
||||||
|
- Make "Select" button unsensitive when list is empty
|
||||||
|
- Make titlebar blue in selection mode
|
||||||
|
- Use dim-label style, not hard-coded colours for labels
|
||||||
|
- Remove "ABRT Configuration" dialogue
|
||||||
|
- Add search button
|
||||||
|
- Add more keywords to .desktop
|
||||||
|
|
||||||
|
* Thu Feb 18 2016 Jakub Filak <jfilak@redhat.com> - 1.2.2-1
|
||||||
|
- Translation updates
|
||||||
|
- Fix the plural/singular translations for fancydate -Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
- Details pane: new design - Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
|
||||||
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Dec 18 2015 Jan Beran <jberan@redhat.com> - 1.2.1-2
|
||||||
|
- Do not pass None to function expecting str object
|
||||||
|
- Add kudos to the AppData file
|
||||||
|
- Problem type included in the problem list: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
- Scroll whole details panel instead of its single widgets: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
- Fix broken build caused by pylint warning
|
||||||
|
|
||||||
|
* Thu Nov 19 2015 Jakub Filak <jfilak@redhat.com> - 1.2.1-1
|
||||||
|
- HTMLParseError replaced with generic Exception: Francesco Frassinelli <fraph24@gmail.com>
|
||||||
|
- Fix handling of the singular cases: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
- Don't scroll the sidebar horizontally: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
- Show HiDPI icons on HiDPI screens: Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||||
|
- Get rid of the Gtk3 module loading warning
|
||||||
|
- Translation updates
|
||||||
|
- Resolves: #1283365
|
||||||
|
|
||||||
|
* Thu Nov 12 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-9
|
||||||
|
- Fix build with Python 3.5
|
||||||
|
|
||||||
|
* Thu Nov 12 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-8
|
||||||
|
- Temporarily stop using pylint and turn off 'make check'
|
||||||
|
- Rebuilt for Python3.5 rebuild
|
||||||
|
|
||||||
|
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-7
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
||||||
|
|
||||||
|
* Fri Nov 6 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-6
|
||||||
|
- Rebuilt for Python3.5 rebuild
|
||||||
|
|
||||||
|
* Fri Aug 14 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.2.0-5
|
||||||
|
- Correct testing of return values from ABRT D-Bus API wrrapper
|
||||||
|
|
||||||
|
* Mon Jul 13 2015 Jakub Filak <jfilak@redhat.com> - 1.2.0-4
|
||||||
|
- Fix loading applicaton icons
|
||||||
|
- Fix an exception when searching for a bug ID
|
||||||
|
- Resolves: #1242080
|
||||||
|
|
||||||
|
* Thu Jun 18 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.2.0-3
|
||||||
|
- Use UTF-8 encoding when working with user files
|
||||||
|
- Remove the Details button from the top bar in non-GNOME desktops
|
||||||
|
|
||||||
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 09 2015 Jakub Filak <jfilak@redhat.com> 1.2.0-1
|
||||||
|
- Enabled the Details also for the System problems
|
||||||
|
- Do not crash in the testing of availabitlity of XServer
|
||||||
|
- Remove a debug print introduced with port to Python3
|
||||||
|
- Fix 'Open problem's data directory'
|
||||||
|
- Quit Application on Ctrl+Q
|
||||||
|
- Translation updates
|
||||||
|
- Resolves: #1188002
|
||||||
|
|
||||||
|
* Mon May 11 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.1.2-2
|
||||||
|
- Translations update
|
||||||
|
|
||||||
|
* Tue May 05 2015 Matej Habrnal <mhabrnal@redhat.com> - 1.1.2-1
|
||||||
|
- Add symbolic icon
|
||||||
|
- Use own window header also in GNOME Classic
|
||||||
|
- Let the theme handle the colour in the problems list
|
||||||
|
- Remove border's custom style in the problems list
|
||||||
|
- Resolves: #1193656
|
||||||
|
|
||||||
|
* Thu Apr 09 2015 Jakub Filak <jfilak@redhat.com> - 1.1.1-1
|
||||||
|
- Several bug fixes
|
||||||
|
|
||||||
|
* Tue Mar 17 2015 Jakub Filak <jfilak@redhat.com> - 1.1.0-2
|
||||||
|
- Fix a crash caused by i18n
|
||||||
|
- Fix a crash caused by problems without environment file
|
||||||
|
- Resolves: #1204524
|
||||||
|
|
||||||
|
* Tue Mar 17 2015 Jakub Filak <jfilak@redhat.com> - 1.1.0-1
|
||||||
|
- Switch to Python3
|
||||||
|
- Translation updates
|
||||||
|
- Search by Bug Tracker ID
|
||||||
|
- Always show an icon for problems
|
||||||
|
- Try to use environment to find the application
|
||||||
|
- Polished look
|
||||||
|
|
||||||
|
* Mon Oct 13 2014 Jakub Filak <jfilak@redhat.com> - 1.0.0-1
|
||||||
|
- New upstream release with updated look & feel
|
||||||
|
|
||||||
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jul 22 2014 Jakub Filak <jfilak@redhat.com> - 0.3.7-4
|
||||||
|
- Teach the GUI to understand the Exec key format
|
||||||
|
- Put "About" and "Quit" into a section
|
||||||
|
- Do not close the report dialog with the main window
|
||||||
|
- Wrap words in "Report problem with ABRT" dialogue
|
||||||
|
|
||||||
|
* Tue Jul 15 2014 Jakub Filak <jfilak@redhat.com> - 0.3.7-3
|
||||||
|
- Properly handle UTF-8 problem filter input (apply the patch)
|
||||||
|
|
||||||
|
* Mon Jun 23 2014 Jakub Filak <jfilak@redhat.com> - 0.3.7-2
|
||||||
|
- Properly handle UTF-8 problem filter input
|
||||||
|
|
||||||
|
* Wed Jun 11 2014 Jakub Filak <jfilak@redhat.com> 0.3.7-1
|
||||||
|
- Fix XDG_RUNTIME_DIR not set messages by creating one
|
||||||
|
- Handle UTF-8 problem filter input
|
||||||
|
- Disable "no-member" check in pylintrc
|
||||||
|
- Fix issues uncovered by a newer version of pylint
|
||||||
|
- Do not crash in case of a DBus timeout
|
||||||
|
- Fix too long line
|
||||||
|
- Ignore problems without 'type' element
|
||||||
|
- Resolves: #1107429
|
||||||
|
|
||||||
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Mar 05 2014 Jakub Filak <jfilak@redhat.com> 0.3.6-1
|
||||||
|
- Translation updates
|
||||||
|
- Merge pull request #51 from abrt/more_visual
|
||||||
|
- Use human readable type string everywhere
|
||||||
|
- Merge pull request #50 from abrt/visuals
|
||||||
|
- Display C/C++ instead of CCpp
|
||||||
|
- Truncate possibly long component name to 40 chars.
|
||||||
|
- Disable horizontal scrollbar on problem list
|
||||||
|
- Right-alignment of date entries
|
||||||
|
- Initialize gnome_abrt module before importing its submodules
|
||||||
|
|
||||||
|
* Mon Jan 13 2014 Jakub Filak <jfilak@redhat.com> 0.3.5-1
|
||||||
|
- Do not crash when a FileIcon cant be loaded
|
||||||
|
- Enable multiple problems selection
|
||||||
|
- Fix a typo in appdata - <mike.catanzaro@gmail.com>
|
||||||
|
- Update translations
|
||||||
|
|
||||||
|
* Thu Dec 19 2013 Jakub Filak <jfilak@redhat.com> 0.3.4-1
|
||||||
|
- Do not use deprecated GObject API
|
||||||
|
- Make gnome-abrt compatible with Python GObject < 3.7.2
|
||||||
|
- Do not fail if there is no Problem D-Bus service
|
||||||
|
- Make all labels selectable
|
||||||
|
- Run xdg-open for problem directory nonblocking
|
||||||
|
- Resolves: #1043025
|
||||||
|
|
||||||
|
* Wed Dec 18 2013 Jakub Filak <jfilak@redhat.com> 0.3.3-3
|
||||||
|
- Fix translations
|
||||||
|
|
||||||
|
* Mon Nov 04 2013 Jakub Filak <jfilak@redhat.com> 0.3.3-2
|
||||||
|
- Expand list of problems
|
||||||
|
- Resolves: #1025308
|
||||||
|
|
||||||
|
* Sat Oct 26 2013 Jakub Filak <jfilak@redhat.com> 0.3.3-1
|
||||||
|
- Make problem list resizable
|
||||||
|
- Make info about Reported state of problem more clear
|
||||||
|
- Less confusing message about missing Bugzilla ticket
|
||||||
|
- Resolves: #1018285
|
||||||
|
|
||||||
|
* Fri Oct 04 2013 Jakub Filak <jfilak@redhat.com> 0.3.2-1
|
||||||
|
- Fix a bug in SIGCHLD handler causing 100% CPU usage
|
||||||
|
- Show "yes" in Reported field only if no URL is available
|
||||||
|
- Load only the most recent reported to value
|
||||||
|
- Check if Application has valid name in filter fn
|
||||||
|
- Fix issues found by new pylint
|
||||||
|
- Resolves: #1009189, #1015609
|
||||||
|
|
||||||
|
* Thu Sep 12 2013 Jakub Filak <jfilak@redhat.com> 0.3.1-1
|
||||||
|
- Improve user experience
|
||||||
|
- Make About dialog transient for the main window
|
||||||
|
- Add AppData file
|
||||||
|
- Ship the 256x256 icon in the right place
|
||||||
|
- Recover from fork errors
|
||||||
|
- Add ABRT configure application menu
|
||||||
|
- Use absolute path in python shebang
|
||||||
|
- Recover from invalid time stamp values
|
||||||
|
- Use wrapped text for the bug report link
|
||||||
|
- Resolves: #1004276
|
||||||
|
|
||||||
|
* Fri Jul 26 2013 Jakub Filak <jfilak@redhat.com> 0.3.0-1
|
||||||
|
- Do not include url files twice
|
||||||
|
- Get rid of Stock Items usage
|
||||||
|
- Do not remove invalid problems while sorting the list
|
||||||
|
- Check if X display can be opened
|
||||||
|
- Fix a condition in the source changed notification handler
|
||||||
|
- Update Translations
|
||||||
|
- Skip inotify events for sub folders in dump location watcher
|
||||||
|
- Use GLib.io_add_watch() instead of IOChanell.add_watch()
|
||||||
|
- Fix a typo in macro name
|
||||||
|
- Remove shebang from non-executable scripts
|
||||||
|
- Remember missing elements and load them only once
|
||||||
|
- Download more problem elements in a single D-Bus call
|
||||||
|
- Improve data caching
|
||||||
|
- Display two sets of problems (My/System)
|
||||||
|
- Fix typo in dbus error message
|
||||||
|
- Don't crash if a new directory problem is invalid
|
||||||
|
|
||||||
|
* Mon May 06 2013 Jakub Filak <jfilak@redhat.com> 0.2.12-3
|
||||||
|
- Disable downloading of HTML titles
|
||||||
|
|
||||||
|
* Mon May 06 2013 Jakub Filak <jfilak@redhat.com> 0.2.12-2
|
||||||
|
- Fix a wrong path in contoller.py
|
||||||
|
|
||||||
|
* Fri May 03 2013 Jakub Filak <jfilak@redhat.com> 0.2.12-1
|
||||||
|
- Use 'N/A' instead of ??
|
||||||
|
- Use package name is neither component nor executable items are available
|
||||||
|
- Don't try to select a problem if the list is empty
|
||||||
|
- Catch InvalidProblem exception in sort function
|
||||||
|
- Handle DBus initialization errors gracefully
|
||||||
|
- Show HTML titles of URLs from reported_to element
|
||||||
|
- Updated translation
|
||||||
|
- Continue in handling of SIGCHLD after the first one is handled
|
||||||
|
- Fix two comma splices
|
||||||
|
- Fix wrong dialog flag names
|
||||||
|
|
||||||
|
* Mon Apr 22 2013 Jakub Filak <jfilak@redhat.com> 0.2.11-1
|
||||||
|
- Enable pylint check only on Fedora
|
||||||
|
- Fix bogus dates in chagelog
|
||||||
|
- Introduce expert mode and show 'Analyze' button in that mode
|
||||||
|
- Use last occurrence item for problems sorting
|
||||||
|
- Fix broken keyboard shortcuts
|
||||||
|
- Fix missing space typo - Martin Milata <mmilata@redhat.com>
|
||||||
|
- Compare all DesktopEntry.*() return values to None
|
||||||
|
- Display 'component' name instead of 'executable' if desktop file is missing
|
||||||
|
- Do not show scrollbar for long links
|
||||||
|
- Allow to disable pylint check in configure.ac
|
||||||
|
- Move manpage to volume 1 - Chris Lockfort <clockfort@csh.rit.edu>
|
||||||
|
- Move gnome_abrt module check to module's Makefile
|
||||||
|
- Disable 'Interface not implemented' pylint warning
|
||||||
|
- Configure pylint to produce parseable output
|
||||||
|
|
||||||
|
* Tue Apr 9 2013 Jakub Filak <jfilak@redhat.com> 0.2.10-2
|
||||||
|
- Make check only on fedora
|
||||||
|
|
||||||
|
* Wed Mar 27 2013 Jakub Filak <jfilak@redhat.com> 0.2.10-1
|
||||||
|
- Add the report dialog to the menu
|
||||||
|
- Add 'Report problem with ABRT' dialog
|
||||||
|
- Add VERSION and PACKAGE attributes to gnome_abrt module
|
||||||
|
- Rename attribute in errors.InvalidProblem
|
||||||
|
- Use IOChannel approach in order to make signal handling synchronous
|
||||||
|
- Add all python Requires to BuildRequires because of pylint
|
||||||
|
- Replace GNU style make pattern rules by implicit rules
|
||||||
|
- Remove left-over RELEASE varible from configure.ac
|
||||||
|
- Recover from DBus errors while sending command line
|
||||||
|
- Catch more exceptions and handle them correctly
|
||||||
|
- Add pylint check and fix problems uncoverend by pylint
|
||||||
|
- Filter out empyt strings from splitted cmdline
|
||||||
|
- Fix sytanx error
|
||||||
|
- Change the label "No oopses" to "No problems detected"
|
||||||
|
- Get rid of scrollbar around the text on the bottom of window in default size
|
||||||
|
- Fix appearance of scrolled widgets to no longer have white background
|
||||||
|
- Remove leftover shebang from non-executable script
|
||||||
|
|
||||||
|
* Mon Mar 18 2013 Jakub Filak <jfilak@redhat.com> 0.2.9-1
|
||||||
|
- Truncate long texts with ellipsis instead of auto-adjusting of window width
|
||||||
|
- Add a popopup menu for list of problems
|
||||||
|
- Use executable's basename as an application name instead of the full path
|
||||||
|
- Remove invalid problems from GUI tree view list
|
||||||
|
- Remove invalid problems from the dbus cache
|
||||||
|
- Robustize the processing of newly occurred problems
|
||||||
|
- Remove a left-over usage of the window member in OopsApplication
|
||||||
|
- Handle reaching inotify max watches better
|
||||||
|
- Update translation
|
||||||
|
- Don't allow reporting if the problem is not reportable
|
||||||
|
- Suggest reporting a bug if it wasn't reported yet
|
||||||
|
- Simplify the glade file and add a widget for messages
|
||||||
|
- Refactorize the function rendering a problem data
|
||||||
|
- A workaround for the bug in remote GtkApplications
|
||||||
|
- Allow only a single instance of gnome-abrt
|
||||||
|
- Fix bugs in main window in handler of configuration updates
|
||||||
|
- Resolves: #919796, #922656, #920417
|
||||||
|
|
||||||
|
* Mon Feb 25 2013 Jakub Filak <jfilak@redhat.com> 0.2.8-1
|
||||||
|
- Try harder when looking for icon and don't cache weak results
|
||||||
|
- Make controller more robust against invalid arguments
|
||||||
|
- Check return value of the get selection function
|
||||||
|
- Require correct version of libreport
|
||||||
|
- Return an empty list instead of None from OopsWindow.get_selected()
|
||||||
|
- Return an empty list instead of None from get_problems() in case of DBus error
|
||||||
|
- Get rid of unnecessary variable from the directory source
|
||||||
|
- Add a cmd line argument for selected problem id
|
||||||
|
|
||||||
|
* Fri Feb 08 2013 Jakub Filak <jfilak@redhat.com> - 0.2.7-1
|
||||||
|
- Fix failure in processing of dump directories from user's home
|
||||||
|
- Resolves: #908712
|
||||||
|
|
||||||
|
* Tue Jan 08 2013 Jakub Filak <jfilak@redhat.com> - 0.2.6-1
|
||||||
|
- Require libreport version 2.0.20 and greater
|
||||||
|
- Use DD api correctly
|
||||||
|
- Reflect changes in libreport
|
||||||
|
- Resolves: #890357
|
||||||
|
|
||||||
|
* Wed Nov 28 2012 Jakub Filak <jfilak@redhat.com> - 0.2.5-1
|
||||||
|
- Add licenses to all files
|
||||||
|
- Refresh view's source if InvalidProblem exception is caught during GUI update
|
||||||
|
- Properly handle removal of the first and the last problem from the list
|
||||||
|
- Use right tree model in searching for problems
|
||||||
|
- Use theme backround color as background for the link buttons
|
||||||
|
- Make the links to servers less moving
|
||||||
|
- Keep user's selection even if a source has changed
|
||||||
|
- Destroy abrt-handle-event zombies
|
||||||
|
|
||||||
|
* Mon Nov 12 2012 Jakub Filak <jfilak@redhat.com> - 0.2.4-1
|
||||||
|
- Fix label fields size
|
||||||
|
- Assure ownership of reported problem
|
||||||
|
- Remove unnecessary GtkEventBox
|
||||||
|
- Fix appearance of link button widget to no longer have a white background
|
||||||
|
- Update translations
|
||||||
|
|
||||||
|
* Fri Oct 05 2012 Jakub Filak <jfilak@redhat.com> - 0.2.3-1
|
||||||
|
- Generate version
|
||||||
|
- Add GNOME3 application menu
|
||||||
|
- Use correct D-Bus path to listen on for Crash signal
|
||||||
|
- Make path to abrt-handle-event configurable
|
||||||
|
- Fix a bug in running of subprocesses
|
||||||
|
- Refactorize directory problems implementation
|
||||||
|
- Don't print weired debug message
|
||||||
|
- Don't show the 'reconnecting to dbus' warning
|
||||||
|
- Don't show new root's crashes by default
|
||||||
|
- Fix indentation
|
||||||
|
|
||||||
|
* Fri Sep 21 2012 Jakub Filak <jfilak@redhat.com> - 0.2.2-1
|
||||||
|
- Lazy initialization of directory source
|
||||||
|
- Don't utilize CPU for 99%
|
||||||
|
- Code refactorization
|
||||||
|
- Add translation from the ABRT project
|
||||||
|
- Properly log exceptions
|
||||||
|
- Delete directory problems marked as invalid after refresh in inotify handler
|
||||||
|
- Declare directory problems deleted if its directory doesn't exist
|
||||||
|
- Fix indentation bug in icon look up algorithm
|
||||||
|
- Add --verbose command line argument
|
||||||
|
- Add directory name to error messages
|
||||||
|
|
||||||
|
* Mon Sep 17 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-4
|
||||||
|
- Fix a problem with desktop items without icons
|
||||||
|
- A bit better handling of uncaght exceptions
|
||||||
|
|
||||||
|
* Mon Sep 17 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-3
|
||||||
|
- Add cs and et translations
|
||||||
|
|
||||||
|
* Fri Sep 14 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-2
|
||||||
|
- Fixed problem with selection of problem after start up
|
||||||
|
- Corrected application icon look up algorithm
|
||||||
|
- Fixed problem with missing problems directory
|
||||||
|
|
||||||
|
* Fri Sep 14 2012 Jakub Filak <jfilak@redhat.com> - 0.2.1-1
|
||||||
|
- Detail button replaced by list of reported_to links
|
||||||
|
- Improved look (margins, icons, wider window by default)
|
||||||
|
- Implemented multiple delete
|
||||||
|
- Changed window tiple
|
||||||
|
- Double click and keyboard shortcuts
|
||||||
|
|
||||||
|
* Thu Sep 06 2012 Jakub Filak <jfilak@redhat.com> - 0.2-9
|
||||||
|
- Remove noarch because of binary wrappers
|
||||||
|
- Added support for adjusting libreport preferences
|
||||||
|
|
||||||
|
* Tue Aug 28 2012 Jakub Filak <jfilak@redhat.com> - 0.2-8
|
||||||
|
- Take ownership of all installed directories
|
||||||
|
- Correct paths to translated files
|
||||||
|
|
||||||
|
* Mon Aug 27 2012 Jakub Filak <jfilak@redhat.com> - 0.2-7
|
||||||
|
- Dropped versions from requires
|
||||||
|
- Simplified spec
|
||||||
|
- Removed pylint check from configure.ac
|
||||||
|
- Whitespace cleanup (rmarko@redhat.com)
|
||||||
|
|
||||||
|
* Fri Aug 24 2012 Jakub Filak <jfilak@redhat.com> - 0.2-6
|
||||||
|
- Use own icons set
|
||||||
|
|
||||||
|
* Fri Aug 24 2012 Jakub Filak <jfilak@redhat.com> - 0.2-5
|
||||||
|
- Reorganize source files
|
||||||
|
- Get rid of all rpmlint complaints
|
||||||
|
|
||||||
|
* Thu Aug 23 2012 Jakub Filak <jfilak@redhat.com> - 0.2-4
|
||||||
|
- Update GUI on various signals (new problem, problem changed, etc.)
|
||||||
|
- Sort problems by time in descending order
|
||||||
|
- Correct internationalization in date string generator
|
||||||
|
|
||||||
|
* Wed Aug 15 2012 Jakub Filak <jfilak@redhat.com> - 0.2-3
|
||||||
|
- Reconnect to DBus bus
|
||||||
|
- Default values for missing items
|
||||||
|
- Correct field for 'is_reported' flag
|
||||||
|
|
||||||
|
* Wed Aug 15 2012 Jakub Filak <jfilak@redhat.com> - 0.2-2
|
||||||
|
- Add missing files
|
||||||
|
|
||||||
|
* Wed Aug 15 2012 Jakub Filak <jfilak@redhat.com> - 0.2-1
|
||||||
|
- Problems filtering
|
||||||
|
- Errors handling
|
||||||
|
- Localization support
|
||||||
|
|
||||||
|
* Mon Aug 13 2012 Jakub Filak <jfilak@redhat.com> - 0.1-1
|
||||||
|
- Initial version
|
Loading…
Reference in new issue