Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate to dbus-next #15

Merged
merged 7 commits into from Mar 4, 2019

Conversation

Projects
None yet
4 participants
@acrisci
Copy link
Member

commented Nov 8, 2018

Migration to dbus-next (a fork of dbus-native) is a rewrite, but fixes
some outstanding bugs in the project related to variant types.

The project is now transpiled to use the experimental decorator feature
that will be available in the language at some later time. gulpfile.js
contains build instructions. Build with npm run build. The dist/
folder contains what will be published on npm.

Interfaces are implemented as classes with decorators specifying the
properties of the member that is exported on the bus.

Update examples and add a new tracklist example.

Other bugfixes may have been a side effect of the rewrite.

fixes #1
fixes #6
fixes #13

@acrisci acrisci changed the title Migrate to dbus-next [POC] Migrate to dbus-next Nov 8, 2018

@acrisci

This comment has been minimized.

Copy link
Member Author

commented Nov 8, 2018

I do believe this works, but dbus-next is not released yet so you'll have to wait for that to merge. No breaking changes in the api were intended. I think it works, but it should be tested a bit more.

I've talked to @sidorares and he said he is interested in merging the service interface of dbus-next. So consider this a reference implementation.

Migrate to dbus-next
Migration to dbus-next (a fork of dbus-native) is a rewrite, but fixes
some outstanding bugs in the project related to variant types.

The project is now transpiled to use the experimental decorator feature
that will be available in the language at some later time. gulpfile.js
contains build instructions. Build with `npm run build`. The dist/
folder contains what will be published on npm.

Interfaces are implemented as classes with decorators specifying the
properties of the member that is exported on the bus.

Update examples and add a new tracklist example.

Other bugfixes may have been a side effect of the rewrite.

fixes #1
fixes #6
fixes #13

@acrisci acrisci force-pushed the acrisci:dbus-next branch from 1d8865d to 4993dea Nov 8, 2018

@emersion

This comment has been minimized.

Copy link
Collaborator

commented Dec 19, 2018

Any news about this?

@sidorares

This comment has been minimized.

Copy link

commented Dec 19, 2018

@emersion sorry still didn't have any free time, maybe over holiday period

@emersion

This comment has been minimized.

Copy link
Collaborator

commented Dec 19, 2018

No worries, and thanks for your hard work on dbus-native!

@acrisci

This comment has been minimized.

Copy link
Member Author

commented Dec 19, 2018

Sorry for the rewrites. Can't wait to finally close my stupid playerctl bug.

@martpie

This comment has been minimized.

Copy link

commented Mar 3, 2019

This would be absolutely awesome to have mpris-service based on node-dbus-next :D

@acrisci

This comment has been minimized.

Copy link
Member Author

commented Mar 3, 2019

The last problem to solve is to get my required node engine version down to about 6.3 and then I can go about my glorious mission to fix javascript media players.

acrisci added some commits Mar 3, 2019

@acrisci acrisci changed the title [POC] Migrate to dbus-next Migrate to dbus-next Mar 4, 2019

@acrisci

This comment has been minimized.

Copy link
Member Author

commented Mar 4, 2019

Hey @emersion this is ready for review.

Run npm run build to build the project to the dist folder.

Run tests with npm run test (they may be flaky the first few runs, but then they become stable for some reason).

Build docs to the doc folder with npm run doc

@emersion
Copy link
Collaborator

left a comment

There are still some TODOs, but I think it's better to merge this as-is. This LGTM.

Thanks for your hard work, that's quite impressive :)

@emersion emersion merged commit 7ca6311 into dbusjs:master Mar 4, 2019

@acrisci acrisci deleted the acrisci:dbus-next branch Mar 4, 2019

@emersion emersion referenced this pull request Mar 4, 2019

Closed

[WIP] Add tests #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.