Coder Social home page Coder Social logo

d-bus's People

Contributors

acarrico avatar edwardgeorge avatar hverr avatar jforberg avatar magicloud avatar nickpollard avatar philonous avatar roosemberth avatar teh avatar unkindpartition avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

d-bus's Issues

0.1.3.4 doesn't build on GHC 7.8

Preprocessing executable 'dbus-introspect' for d-bus-0.1.3.4...
[1 of 1] Compiling Main             ( dbus-introspect/Main.hs, dist/dist-sandbox-6b08ff11/build/dbus-introspect/dbus-introspect-tmp/Main.o )

dbus-introspect/Main.hs:23:31: Not in scope: ‘<$>’
cabal: Error: some packages failed to install:
d-bus-0.1.3.4 failed during the building phase. The exception was:
ExitFailure 1

Does mkProperty really emit propertyChanged?

The documentation for mkProperty states:

Create a property from a getter and a setter. It will emit a PropertyChanged signal when the setter is called. To
change this behaviour modify the propertyEmitsChangedSignal field

But the code doesn't seem to call propertyChanged or otherwise emit the signal (and as far as I can tell from my application, indeed this isn't emitted).

This affects mkTVarProperty too, which uses mkProperty.

dbus-introspect directory missing

The Cabal file references a dbus-introspect executable in a directory with the same name. However, that directory doesn't exist in HEAD on master.

0.1.7 building error on ghc 8.2.2

Preprocessing library d-bus-0.1.7...
[ 1 of 18] Compiling DBus.Auth        ( src/DBus/Auth.hs, dist/build/DBus/Auth.o )
[ 2 of 18] Compiling DBus.Types       ( src/DBus/Types.hs, dist/build/DBus/Types.o )
[ 3 of 18] Compiling DBus.TH          ( src/DBus/TH.hs, dist/build/DBus/TH.o )
[ 4 of 18] Compiling DBus.Signature   ( src/DBus/Signature.hs, dist/build/DBus/Signature.o )
[ 5 of 18] Compiling DBus.Representable ( src/DBus/Representable.hs, dist/build/DBus/Representable.o )
[ 6 of 18] Compiling DBus.Method      ( src/DBus/Method.hs, dist/build/DBus/Method.o )

src/DBus/Method.hs:30:10: error:
    • Type indexes must match class instance head
      Expected: ArgTypes (IO (DBusArguments t))
        Actual: ArgTypes (IO (DBusArguments ts))
    • In the type instance declaration for ‘ArgTypes’
      In the instance declaration for ‘IsMethod (IO (DBusArguments t))’
   |
30 |     type ArgTypes (IO (DBusArguments ts)) = '[]
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/DBus/Method.hs:31:10: error:
    • Type indexes must match class instance head
      Expected: ResultType (IO (DBusArguments t))
        Actual: ResultType (IO (DBusArguments ts))
    • In the type instance declaration for ‘ResultType’
      In the instance declaration for ‘IsMethod (IO (DBusArguments t))’
   |
31 |     type ResultType (IO (DBusArguments ts)) = ts
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/DBus/Method.hs:35:10: error:
    • Type indexes must match class instance head
      Expected: ArgTypes (MethodHandlerT IO (DBusArguments t))
        Actual: ArgTypes (MethodHandlerT IO (DBusArguments ts))
    • In the type instance declaration for ‘ArgTypes’
      In the instance declaration for
        ‘IsMethod (MethodHandlerT IO (DBusArguments t))’
   |
35 |     type ArgTypes (MethodHandlerT IO (DBusArguments ts)) = '[]
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/DBus/Method.hs:36:10: error:
    • Type indexes must match class instance head
      Expected: ResultType (MethodHandlerT IO (DBusArguments t))
        Actual: ResultType (MethodHandlerT IO (DBusArguments ts))
    • In the type instance declaration for ‘ResultType’
      In the instance declaration for
        ‘IsMethod (MethodHandlerT IO (DBusArguments t))’
   |
36 |     type ResultType (MethodHandlerT IO (DBusArguments ts)) = ts
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-16539/d-bus-0.1.7'
Failed to install d-bus-0.1.7

Add Explicit closeConnection Method To API

Current API does not have an explicit close for a DBusConnection.

Closing a DBusConnection should gracefully end all signal and property change registrations / handlers as well as the cleanup of internal resources.

Missing stackage release

The last 5 commits with fixes required on recent versions of GHC have not been released on hackage. I think a new release should be uploaded.

Maybe it would be convenient to wait until #23 has been merged to avoid the need of an extra release after such PR has been merged.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.