Guido Günther
49f697b232
doc: Add manual page for fbd-theme-validate
2022-12-13 13:47:18 +01:00
Guido Günther
584d4ddb6f
doc: Convert manpages to rst
...
This will make it more fun to add details and more manpages.
2022-12-13 13:47:18 +01:00
Guido Günther
2e7483c775
ci: Use bookworm image for package build too
...
No need to fight against old glib and friends in PureOS
2022-12-13 13:47:18 +01:00
Guido Günther
b64ce1290c
Add theme validator
...
Recursively loads a given theme file.
2022-12-12 16:13:38 +01:00
Guido Günther
ef5dd5abca
theme-expander: Also log initial theme file
2022-12-12 16:13:38 +01:00
Guido Gunther
b9430f0cf6
Merge branch 'man-page' into 'main'
...
doc: feedback stops when client disconnects
See merge request Librem5/feedbackd!96
2022-12-12 11:30:59 +00:00
Chris Vogel
bd16d5761d
doc: feedback stops when client disconnects
...
extended documentation for feedbackd.
2022-12-12 11:20:51 +00:00
Guido Gunther
0547a40cc6
Merge branch 'merge-themes' into 'main'
...
Implement recursive theme expansion and custom theme loading
Closes #38
See merge request Librem5/feedbackd!93
2022-12-12 11:07:59 +00:00
Guido Günther
9e13793bbe
tests: Help old glib on PureOS along
2022-12-11 17:34:38 +01:00
Guido Günther
9824d1cfc6
README: Document custom themes
2022-12-11 17:34:38 +01:00
Guido Günther
83091be25d
feedback-manager: Handle theme gsetting
...
Update the theme when the gsetting changes
2022-12-11 17:34:38 +01:00
Guido Günther
f5757045aa
manager: Don't load theme in constructor
...
Loading the theme can trigger calls to
fbd_feedback_manager_get_default() which then results in an endless look
as the object isn't fully initialized in constructed. Instead do
the setup in main() which has the advantage that the manager's life
cycle becomes more obvious too.
2022-12-11 17:34:38 +01:00
Guido Günther
c3beac7d41
data: Allow to set feedback theme
2022-12-11 17:34:38 +01:00
Guido Günther
a75cdbbc59
theme-expander: Allow to set the theme to expand
2022-12-11 17:34:38 +01:00
Guido Günther
242519498a
Recursively load themes
...
Themes (other than the default theme) can specify a `parent-name` in the
json file. This theme will be used as a base for the theme. Events and
profiles of the children override those in the parents.
For this we move the lookup code into it's separate class and also add
tests.
Closes : #38
2022-12-11 17:34:38 +01:00
Guido Günther
34f8733b2b
build: Don't include main in lib
...
For that move the error quark to a separate file.
2022-12-08 10:05:47 +01:00
Guido Günther
ba91939c85
Add gmobile library
2022-12-08 10:05:47 +01:00
Guido Günther
4c75f42c7e
ci: Install git
...
Needed for the submodule
2022-12-08 10:05:47 +01:00
Guido Günther
ada82a0ed1
feedback-theme: Allow to get and set parent theme name
...
If set the parent theme's feedbackd and profiles should be merged into
this theme.
2022-12-08 10:05:47 +01:00
Guido Günther
e10b2cc150
feedback-theme: Allow to update theme
...
New profiles are added, existing profiles updated. This will
allow to merge themes.
2022-12-08 10:05:47 +01:00
Guido Günther
d7f97dca51
feedback-profile: Allow to update profiles
...
Allow to add feedbacks from a profile to another one
2022-12-08 10:05:47 +01:00
Guido Günther
29bbe38fb3
feedback-dummy: Add getter for duration
...
Useful in tests
2022-12-08 10:05:47 +01:00
Guido Günther
53677e29ef
feedback-profile: Document hash types
2022-12-08 10:05:47 +01:00
Guido Günther
82a8b91096
feedback-theme: Allow to set name
2022-12-08 10:05:47 +01:00
Guido Günther
1d21bfa0dc
feedback-theme: Use getter
...
Ensures we stay consistent with future changes
2022-12-08 10:05:47 +01:00
Guido Günther
e6f1c351e2
feedback-theme: Fix indentation
2022-12-08 10:05:47 +01:00
Guido Günther
c9404d871e
feedback-theme: No need for constructed
...
We can do all that in init
2022-12-08 10:05:47 +01:00
Guido Günther
96b6af3766
tests: Test feedback theme name
2022-12-08 10:05:47 +01:00
Guido Günther
3c124e8ecd
feedback-vibra: Fix indentation
2022-12-08 10:05:47 +01:00
Guido Günther
3e4f66993e
dir-locals: Simlify consistent JS indenting
2022-12-08 10:05:47 +01:00
Guido Gunther
7ab5af7269
Merge branch 'gi-docgen' into 'main'
...
Switch library documentation to gi-docgen
Closes #56
See merge request Librem5/feedbackd!94
2022-12-08 09:04:40 +00:00
Guido Günther
6acdb67b78
Include specifications in the documentation
...
Now that we can use markdown easily add them as they provide
help to the developer what events exist, etc.
2022-12-06 13:58:04 +01:00
Guido Günther
a150c2cbc3
Switch library documentation to gi-docgen
...
Switch from gtk-doc to gi-docgen for the library documentation and
adjust the source files accordingly.
We don't bother about the daemon doc headers as they're not built into
any docs atm.
Closes : #56
2022-12-06 12:44:54 +01:00
Guido Günther
7b7422f98e
build: Bump required meson version
2022-12-06 11:49:13 +01:00
Guido Günther
94880dbc0d
d/rules: Support nodoc build profile
2022-12-06 11:49:13 +01:00
Guido Günther
dfe2cdc665
d/control: Drop Breaks/Replaces on packages long gone
2022-12-06 11:21:04 +01:00
Guido Gunther
1e3175301c
Merge branch 'sid' into 'main'
...
Add a missing dependencies for the tests to pass on Debian sid
See merge request Librem5/feedbackd!92
2022-12-05 19:10:12 +00:00
Guido Günther
388cf959ce
d/changelog: Fix typos
...
Gbp-Dch: Ignore
2022-12-05 19:00:18 +00:00
Guido Günther
a6809dccbc
d/control: Add settings schema for the tests
2022-12-05 19:00:18 +00:00
Guido Gunther
c01ac64212
Merge branch 'update-ci' into 'main'
...
ci: Switch build to bookworm / byzantium
See merge request Librem5/feedbackd!91
2022-12-05 13:28:06 +00:00
Guido Günther
bbcb396df8
ci: Switch build to bookworm / byzantium
...
Use Debian bookworm for the tests and PureOS byzantium for the
package build
We use the arm64 builder as the amd64 one fails to find a shell in the
bookworm image.
2022-12-05 13:18:23 +00:00
Guido Gunther
50608ce5a2
Merge branch 'gbp.conf' into 'main'
...
d/gbp.conf: Update branch
See merge request Librem5/feedbackd!84
2022-12-03 14:34:30 +00:00
Guido Günther
fbfcce4470
d/gbp.conf: Update branch
...
Missed that one when switching to 'main'
2022-12-03 14:27:57 +00:00
Guido Gunther
59363bfed1
Merge branch 'example-wait' into 'main'
...
example: Wait a bit before ending
Closes #65
See merge request Librem5/feedbackd!85
2022-12-03 12:48:09 +00:00
Guido Günther
254bf944eb
example: Wait a bit before ending
...
feedbackd terminates feedback when clients disconnect from DBus so
we need to wait a bit before quitting as otherwise no feedback will
be played.
Closes : #65
2022-12-03 12:42:41 +00:00
Guido Gunther
3206976a4a
Merge branch 'calls-vs-feedbackd' into 'main'
...
run: Fix daemon name
See merge request Librem5/feedbackd!89
2022-12-03 12:35:30 +00:00
Guido Günther
b0dc0c64cc
run: Fix daemon name
...
Fixes: 99fc8c2 ("run: Make it easy to run under gdb and document usage")
2022-12-03 12:29:55 +00:00
Guido Gunther
d19e7b4f7d
Merge branch 'update_README' into 'main'
...
Update README.md
See merge request Librem5/feedbackd!88
2022-11-28 10:16:28 +00:00
Chris Vogel
f5391af6b9
README: Mention python example
2022-11-28 10:10:27 +00:00
Chris Vogel
16fc583ff8
README: Mention that DBus disconnect ends feedback
2022-11-28 10:10:27 +00:00