- 06 Aug, 2020 3 commits
-
-
Will Thompson authored
And stop explicitly installing it as a Cabal data file. It was previously used by the about dialogue, but since the license is now boring LGPL 2.1 (or later) we use GtkAboutDialog's built-in support for that license instead.
-
Will Thompson authored
-
Will Thompson authored
Now that Bustle's license is a straightforward LGPL 2.1 or later, we can use GtkAboutDialog:license-type rather than showing the full license text in the dialogue. Unfortunately this property and the corresponding GtkLicenseType enum has no gtk2hs binding, but that's never stopped us before.
-
- 31 Jul, 2020 4 commits
-
-
Will Thompson authored
-
Will Thompson authored
-
Will Thompson authored
-
Will Thompson authored
Maybe it would be nice to do this as part of the Cabal build…
-
- 30 Jul, 2020 1 commit
-
-
Will Thompson authored
-
- 29 Jul, 2020 4 commits
-
-
Will Thompson authored
This reverts commit ba56a44a. $ cabal new-build --dry-run --disable-tests --disable-benchmarks Resolving dependencies... Error: Internal libraries only supported with per-component builds. Per-component builds were disabled because build-type is Custom In the inplace package 'bustle-0.7.5.1'
-
Will Thompson authored
At some point in the past 12 years, Cabal has gaine support for both internal libraries, and common stanzas. Using an internal library for everything except Bustle's entrypoint means tests don't need to list (and build!) all modules they use, and all the necessary dependencies and flags again.
-
Will Thompson authored
This squashes a warning about the License field. As documented at https://cabal.readthedocs.io/en/stable/developing-packages.html#pkg-field-license, before 2.2 the license identifiers were a small list which did not include LGPL-2.1-or-later.
-
Will Thompson authored
-
- 06 Jul, 2020 2 commits
-
-
Will Thompson authored
-
Will Thompson authored
This application doesn't expose any setters, but in principle GDBusMessage is mutable so these functions are impure.
-
- 02 Jul, 2020 1 commit
-
-
Will Thompson authored
This avoids needing two separate implementations of the DBus protocol in the application, at the cost of writing a hand-written binding for parts of the GDBusMessage and GVariant API.
-
- 05 Jun, 2020 7 commits
-
-
Will Thompson authored
-
Will Thompson authored
This was collected before DLT_DBUS was assigned. BustlePcapReader doesn't contain the workaround to allow DLT_NULL.
-
Will Thompson authored
-
Will Thompson authored
-
Will Thompson authored
Previously, Bustle read directly from dbus-monitor, parsed the pcap stream, then reserialized it back to a file. dbus-monitor → bustle → UI ↓ file Instead, use tee between dbus-monitor and Bustle to write the raw pcap stream to disk: dbus-monitor → tee → bustle ↓ file This makes the code in Bustle quite a bit simpler.
-
Will Thompson authored
-
Will Thompson authored
Not used on the Haskell side yet.
-
- 15 May, 2020 4 commits
-
-
Will Thompson authored
Add new icon Closes #17 See merge request !19
-
Will Thompson authored
These have an old version of Stack which is not compatible with the latest lts resolver. https://hub.docker.com/u/zenhaskell has them all marked as "DEPRECATED". OK!
-
Fixes #17
-
Will Thompson authored
-
- 04 Feb, 2020 3 commits
-
-
Will Thompson authored
Drop close-without-saving confirmation dialog Closes #15 See merge request !18
-
Will Thompson authored
Anecdotally, most users (including me) rarely want to save their logs, they just want to record them and read them. In any case, all the temporary logs are actually kept (forever) in $XDG_CACHE_DIR. Fixes #15.
-
Will Thompson authored
-
- 03 Feb, 2020 2 commits
-
-
Will Thompson authored
Update license See merge request !17
-
Will Thompson authored
pcap-monitor: Fix build error See merge request !16
-
- 27 Jan, 2020 1 commit
-
-
Jan Tojnar authored
Since we no longer depend on any GPL library, we can proclaim just LGPL. Specifying a valid SPDX license string will also make it easier for distros to automatically check if the project is redistributable.
-
- 26 Jan, 2020 1 commit
-
-
Jan Tojnar authored
g_clear_handle_id was introduced in GLib 2.56 so it was not available in our target (GLIB_VERSION_MAX_ALLOWED), leading to the following error: c-sources/pcap-monitor.c: In function ‘handle_error’: c-sources/pcap-monitor.c:415:13: error: warning: Not available before 415 | g_clear_handle_id (&self->await_both_errors_id, g_source_remove); | ^~~~~~~~~~~~~~~~~~~~~~~ | 415 | g_clear_handle_id (&self->await_both_errors_id, g_source_remove); | ^ Weirdly, it did not seem to affect the build status.
-
- 09 Jan, 2020 1 commit
-
-
Will Thompson authored
Makefile: allow passing a custom path to pcap-config See merge request !15
-
- 08 Jan, 2020 1 commit
-
-
Thomas Petazzoni authored
Some build systems need to pass a custom location for the pcap-config script, so let's provide a PCAP_CONFIG variable that allows such customization. Its default value is pcap-config, which preserves the backward compatibility. Signed-off-by:
Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-
- 18 Oct, 2019 1 commit
-
-
Will Thompson authored
Setup.hs: Don’t import Gettext.hs without hgettext See merge request !14
-
- 17 Oct, 2019 3 commits
-
-
Jan Tojnar authored
It is broken and there are no translations anyway.
-
Jan Tojnar authored
Bustle/UI.hs:490:3: error: • No instance for (Control.Monad.Fail.MonadFail (Bustle BConfig BState)) arising from a do statement with the failable pattern ‘[openItem, openTwoItem]’ • In a stmt of a 'do' block: [openItem, openTwoItem] <- mapM (getW castToMenuItem) ["open", "openTwo"] In the expression: do builder <- io builderNew io $ builderAddFromFile builder =<< getDataFileName "data/bustle.ui" let getW cast name = io $ builderGetObject builder cast name window <- getW castToWindow "diagramWindow" .... In an equation for ‘emptyWindow’: emptyWindow = do builder <- io builderNew io $ builderAddFromFile builder =<< getDataFileName "data/bustle.ui" let getW cast name = ... .... | 490 | [openItem, openTwoItem] <- mapM (getW castToMenuItem) ["open", "openTwo"] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-
Jan Tojnar authored
Gettext.hs is broken with Cabal ≥ 2.4 so until we fix it, I made importing it conditional on the value of `hgettext` flag, so that the builds still work.
-
- 13 Mar, 2019 1 commit
-
-
Will Thompson authored
This is used by tools like GNOME Builder to show some project metadata.
-