1. 10 Aug, 2020 1 commit
  2. 07 Aug, 2020 1 commit
    • Will Thompson's avatar
      cabal: fix Data-files syntax · da45c8ac
      Will Thompson authored
      36b1d769 removed the last entry from
      this list but did not remove the trailing comma from the previous line.
      
      When I am king, all file formats will support trailing commas in lists.
      da45c8ac
  3. 06 Aug, 2020 3 commits
    • Will Thompson's avatar
      Replace LICENSE with COPYING · 36b1d769
      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.
      36b1d769
    • Will Thompson's avatar
      AboutDialog: bump copyright date · a8f6e678
      Will Thompson authored
      a8f6e678
    • Will Thompson's avatar
      AboutDialog: use :license-type property · 6eb66f45
      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.
      6eb66f45
  4. 31 Jul, 2020 4 commits
  5. 30 Jul, 2020 1 commit
  6. 29 Jul, 2020 4 commits
  7. 06 Jul, 2020 2 commits
  8. 02 Jul, 2020 1 commit
    • Will Thompson's avatar
      Use GDBusMessage rather than 'dbus' library · a66fba23
      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.
      a66fba23
  9. 05 Jun, 2020 7 commits
  10. 15 May, 2020 4 commits
  11. 04 Feb, 2020 3 commits
  12. 03 Feb, 2020 2 commits
  13. 27 Jan, 2020 1 commit
    • Jan Tojnar's avatar
      Update license · c3f2f160
      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.
      c3f2f160
  14. 26 Jan, 2020 1 commit
    • Jan Tojnar's avatar
      pcap-monitor: Fix build error · 4fda112f
      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.
      4fda112f
  15. 09 Jan, 2020 1 commit
  16. 08 Jan, 2020 1 commit
  17. 18 Oct, 2019 1 commit
  18. 17 Oct, 2019 2 commits
    • Jan Tojnar's avatar
      cabal: Disable hgettext by default · 6781afab
      Jan Tojnar authored
      It is broken and there are no translations anyway.
      6781afab
    • Jan Tojnar's avatar
      UI: Fix build · ee4b81cb
      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"]
          |   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ee4b81cb