commit 0d46b516019933c8c2192d190b392cf43ff217b2 Author: David King Date: Wed Feb 18 18:18:54 2015 +0000 Update NEWS for 3.15.90 release M NEWS M configure.ac commit 9ee2ec369d7c34643f5f8150dd5d1264fb11d4ba Author: David King Date: Wed Feb 18 18:22:23 2015 +0000 Fix include path for tests M Makefile.am commit 421799d684b768b3ae7cca7a03f1787c6f8ff489 Author: David King Date: Wed Feb 18 17:38:09 2015 +0000 Bump GIO dependency for busy property binding g_application_bind_busy_property() is new in 2.43.90. M configure.ac commit b78f096167419687698d88de81d28fa1d6cc1f70 Author: Milo Casagrande Date: Wed Feb 18 07:59:20 2015 +0000 Updated Italian translation M po/it.po commit e017051e599019264c1e2738ed090314d8c37f41 Author: Milo Casagrande Date: Tue Feb 17 13:10:41 2015 +0000 Updated Italian translation M po/it.po commit 6d9abf4ebf1fa81619481d884972abda4c8bc062 Author: Matej Urbančič Date: Mon Feb 16 21:39:51 2015 +0100 Updated Slovenian translation M po/sl.po commit f1ef7eadb77023693fa26edeff5133ceadd93a7c Author: Anders Jonsson Date: Mon Feb 16 15:07:56 2015 +0000 Updated Swedish translation M po/sv.po commit 8f5002696fc9aecfbddd087c96c5e4aa06fa04d8 Author: Lars Uebernickel Date: Sun Feb 15 15:57:24 2015 +0100 Mark application as busy while loading entries Add a property "loading" to GlJournalModel which is TRUE while it's fetching entries and use g_application_bind_busy_property() with it. https://bugzilla.gnome.org/show_bug.cgi?id=744567 M src/gl-eventviewlist.c M src/gl-journal-model.c M src/gl-journal-model.h commit 0a9c33d1b5396bc0874e08246cbcdd59309573ee Author: Lars Uebernickel Date: Sun Feb 15 15:27:31 2015 +0100 Bump gio and gtk+ dependencies For GListModel and gtk_list_box_bind_model(). M configure.ac commit 409f1284cfcc53ae8624f91944ad7fc0a681ae96 Author: Lars Uebernickel Date: Sun Feb 15 15:11:44 2015 +0100 eventviewlist: don't use g_str_match_string() Not searching inside words is a regression. ASCII alternates probably don't buy us that much anyway, because log messages tend to be ASCII already. (See last commit.) M src/gl-eventviewlist.c commit 97f16b9b9400d3122d2e2a00eb46787c758eb7a2 Author: Lars Uebernickel Date: Sun Feb 15 14:21:34 2015 +0100 eventviewlist: restore case-insensitve search Use g_str_match_string() now, which gives us case folding and ascii alternatives. However, it doesn't search inside words. M src/gl-eventviewlist.c commit 7461b34705e01f5f813ec3aef8fba6166116c0b0 Author: Lars Uebernickel Date: Sat Feb 14 19:42:32 2015 +0100 Add GlJournalModel A GListModel that contains all journal entries for a given set of matches. This let's us have a single listbox in GlEventViewList that is bound to this model. M Makefile.am M data/gl-eventviewlist.ui M src/gl-eventviewlist.c A src/gl-journal-model.c A src/gl-journal-model.h commit 039caae6fba7dc86a70a33bdebd739159d4adedf Author: Lars Uebernickel Date: Sat Feb 14 19:42:27 2015 +0100 Rename GlJournalResult to GlJournalEntry This is more in tune with systemd's parlance. Also make it a GObject so that we can put it into a GListModel soon. M src/gl-eventview.c M src/gl-eventviewdetail.c M src/gl-eventviewdetail.h M src/gl-eventviewlist.c M src/gl-eventviewlist.h M src/gl-eventviewrow.c M src/gl-eventviewrow.h M src/gl-journal.c M src/gl-journal.h commit b3ab13985479d55ea6965a70f14b4b2c788e3604 Author: Lars Uebernickel Date: Sat Feb 14 19:42:24 2015 +0100 Turn journal iteration logic inside out Instead of fetching all journal entries and then adding widgets in an idle, fetch journal entries in the idle just before creating the corresponding widget. gl_journal_query() is replaced by gl_journal_previous(), which returns the previous entry. This makes switching between pages much more responsive. M src/gl-eventviewlist.c M src/gl-journal.c M src/gl-journal.h commit 2423dde4922f9caa79d18cdbedbe2eb00db5f7d1 Author: Lars Uebernickel Date: Sat Feb 14 19:42:20 2015 +0100 journal: remove query_cursor() M src/gl-journal.c M src/gl-journal.h commit 0b8e638618cdfb5370b2f4525f7a082a621d9312 Author: Lars Uebernickel Date: Sat Feb 14 19:42:17 2015 +0100 journal: separate set_matches() from query() M src/gl-eventviewlist.c M src/gl-journal.c M src/gl-journal.h commit 833ecfc77c866081243d1efc73ca5f0ab1112201 Author: Lars Uebernickel Date: Sat Feb 14 19:42:13 2015 +0100 eventviewlist: remove idle when switching pages M src/gl-eventviewlist.c commit 05cfafef83234d74c0995af2708c6d0d85a6660e Author: Lars Uebernickel Date: Sat Feb 14 19:42:10 2015 +0100 eventviewlist: remove add_listbox() functions They didn't do much anymore. M src/gl-eventviewlist.c commit 18c496728c2467e5a5f6749d035d2175da075218 Author: Lars Uebernickel Date: Sat Feb 14 19:42:07 2015 +0100 eventviewlist: simplify applications query logic M src/gl-eventviewlist.c commit d916516ebf9707896ad03193f0bf111c287e4b54 Author: Lars Uebernickel Date: Sat Feb 14 19:42:03 2015 +0100 query: turn into simply strv M src/gl-eventviewlist.c M src/gl-journal.c M src/gl-journal.h commit e59fb9db72b93ba6f7e537b4b5408db1c0b0270e Author: Lars Uebernickel Date: Sat Feb 14 19:41:59 2015 +0100 query: remove n_results It was always set to -1 in practice. As we want to move GlJournal to a iterator-style API, having this field doesn't make sense. Also removes some dead code as a result of this. M src/gl-eventviewlist.c M src/gl-journal.c M src/gl-journal.h commit 018958783621ce49c1cd35221217c673271b20a5 Author: Lars Uebernickel Date: Sat Feb 14 19:41:56 2015 +0100 journal: don't run query_async in a thread This was quite unsafe due to lack of any locking. M src/gl-journal.c commit 56c67a22548182567ea01a9324c40691e07cd475 Author: Lars Uebernickel Date: Sat Feb 14 19:41:53 2015 +0100 eventviewlist: merge query_*_ready() functions These all did the same now (see last commit), except decide the style of row widget to use. Put that into a priv variable for now. M src/gl-eventviewlist.c commit c23f9261f445571227775f4f4b7038c794e76397 Author: Lars Uebernickel Date: Sat Feb 14 19:41:47 2015 +0100 journal: allow matching on field existence The event view had to manually filter results that don't have a _KERNEL_DEVICE or _AUDIT_SESSION (for hardware and security, respectively). Move this logic into the GlJournal, where all other matching is done. To match on existence, pass only a FIELDNAME instead of a FIELDNAME=VALUE pair in the query. This needs to be emulated in GlJournal, because systemd's journal API doesn't support it. M src/gl-eventviewlist.c M src/gl-journal.c commit 8b94d22435fca4490cda24facf62362334964f26 Author: Lars Uebernickel Date: Sat Feb 14 19:41:45 2015 +0100 eventviewlist: remove stack We're creating a new list box anyway each time we select a new filter. No need in keeping old ones around just to replace them later. M data/gl-eventviewlist.ui M src/gl-eventviewlist.c commit 4fd7673e5070efb67748998d5760cfd6839db92a Author: Lars Uebernickel Date: Sat Feb 14 19:41:40 2015 +0100 eventviewlist: call query() directly Each add_listbox() function had a small helper around gl_journal_query(). Those helpers shrunk a lot recently, so just call query() directly. M src/gl-eventviewlist.c commit 08583a095f4f7b7ce1e70a8c10f07d1b36cb0834 Author: Lars Uebernickel Date: Sat Feb 14 19:41:37 2015 +0100 eventviewlist: remove priv->results_listbox It's always set to the same value as priv->active_listbox. M src/gl-eventviewlist.c commit 83bbc8d023921568500630ed88d6107160279e35 Author: Lars Uebernickel Date: Sat Feb 14 19:41:35 2015 +0100 eventviewlist: refactor add_listbox() functions Pull common functionality out of the various add_listbox() functions. M src/gl-eventviewlist.c commit cd7c446c67cbef85a30e121473ff5541db3b7028 Author: Lars Uebernickel Date: Sat Feb 14 19:41:18 2015 +0100 eventviewlist: remove not implemented stubs About to do some refactoring in this class. These get in the way of that. M src/gl-eventviewlist.c commit cfb0232f3e8f7b7393cf7c891e5ee7b331c5d29b Author: Muhammet Kara Date: Sat Feb 14 12:26:19 2015 +0000 Updated Turkish translation M po/tr.po commit 10305a1ff7683c5eacdef8ce8d2d697b70fe2761 Author: Ekaterina Gerasimova Date: Mon Feb 9 14:30:04 2015 +0000 Add test for timestamp comparison M Makefile.am A tests/test-gl-util.c commit 08b49bd3cd178198067da3cf67267cb92f7ddfb4 Author: Ekaterina Gerasimova Date: Mon Feb 9 11:07:07 2015 +0000 Take a now parameter when comparing time stamps Move the current time stamp out of gl_util_timestamp_to_display() and pass it as a parameter so that the function does not depend on the current time and will be easier to test. M src/gl-eventviewdetail.c M src/gl-eventviewrow.c M src/gl-util.c M src/gl-util.h commit 26cff62f20ec775b56063c8cd541796e2f00bf7b Author: Ekaterina Gerasimova Date: Sun Feb 8 23:13:17 2015 +0000 Add Gtk-doc comments to utility functions M src/gl-util.c commit 42f5d5da5147ce0c39f50e64e3eedebe9039357b Author: Kjartan Maraas Date: Sun Feb 8 19:56:48 2015 +0100 Updated Norwegian bokmål translation from Åka Sikrom. M po/nb.po commit 1ada6cd35383bf1c97689e6aafb26793e8afe252 Author: Kristjan SCHMIDT Date: Sun Feb 8 00:58:27 2015 +0100 Add Esperanto translation M po/LINGUAS A po/eo.po commit b046980b0e409e9185ea23cf84f5ad2177c25230 Author: Dušan Kazik Date: Sat Jan 31 16:21:38 2015 +0000 Updated Slovak translation M po/sk.po commit 8895c4fed5ad673e15d708d8d59c34e4778ade57 Author: Daniel Martinez Date: Fri Jan 23 00:45:20 2015 +0100 Add Aragonese translation M po/LINGUAS A po/an.po commit 39d5fac8920ccde98f7af2928f5809a8944d5641 Author: David King Date: Thu Jan 22 11:07:21 2015 +0000 Remove some debugging messages Avoid making a comparison that is always true. To be effective, the check for the number of results would have to know the requested number of results, so in future this could be reported with a GError. Found with Coverity (CID 86592). M src/gl-eventviewlist.c commit e206e830415e8735aa386a8ecb41c79067387a90 Author: David King Date: Thu Jan 22 10:58:01 2015 +0000 Add missing break in property getter switch Avoid a spurious warning about an invalid property in GlEventView. Found with Coverity (CID 86593). M src/gl-eventview.c