Alberto Fanjul
af6ab257ea
Remove systemd and it comes with DEP_LIBS
2023-11-13 00:48:03 +01:00
Alberto Fanjul
fdb8671c40
fix autotools build for libm
2023-07-14 21:55:32 +02:00
Alberto Fanjul
f3debd5678
whitespace
2023-01-22 10:23:32 +01:00
Alberto Fanjul
279303d0d6
fix double free reading custom parameter
2023-01-22 10:17:44 +01:00
Xiao Qiang Liang
3018aac1f2
Fix cmake build for latest gcc
...
libraries link order is relevant on latest gcc
2023-01-04 13:52:31 +01:00
Tanish Azad
a36e9bd19f
fixed error message
2022-11-28 18:34:41 +01:00
Alberto Fanjul
439dac09c5
Ignore special chars on color prompt
2022-11-20 12:48:40 +01:00
Alberto Fanjul
31f7fbba33
Set custom ctl names
2022-11-20 11:47:35 +01:00
Alberto Fanjul
abc9b2f92c
set wfd elements on source selected
2022-11-14 07:14:05 +01:00
Alberto Fanjul
314aa5aed5
Use default rstp port
2022-11-14 07:12:25 +01:00
Alberto Fanjul
66c86f2971
fix memory error settting wfd_video_formats
2022-11-14 07:12:00 +01:00
Alberto Fanjul
788d37d7d2
CLI commands autocompletion
2022-11-13 11:37:22 +01:00
Alberto Fanjul
20816ad138
Add command friendly-name to sink controller
2022-11-08 08:52:53 +01:00
Alberto Fanjul
c215f05d5d
Exit CLI if daemon is not available
2022-11-08 08:52:53 +01:00
Alberto Fanjul
f9a61faaa2
Do not prefix command output with time
2022-11-08 08:52:53 +01:00
Alberto Fanjul
8cd144271a
log messages with time in human readable way
2022-10-30 01:28:43 +02:00
Alberto Fanjul
f740af2655
Clean cmake files
2022-10-29 13:32:27 +02:00
Alberto Fanjul
175495c729
fix cmake dependencies for
2022-10-29 13:32:27 +02:00
Alberto Fanjul
72f61549d9
log messages with time in human readable way
2022-10-29 13:32:27 +02:00
Alberto Fanjul
b46679d5a4
Use posix functions
2022-10-16 22:44:20 +02:00
Andreas K. Hüttel
85723432f9
Option to use elogind instead of whole systemd
...
Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>
2022-10-16 13:17:41 +02:00
Alberto Fanjul
43505ab3dd
Allow to override/extend the request parameters
2022-05-28 10:46:44 +02:00
Alberto Fanjul
e816de93d3
Allow auto commands with any number of parameters
2022-05-28 10:43:12 +02:00
Alberto Fanjul
c42624885b
simplify pass request options
2022-05-26 20:55:51 +02:00
Edward Betts
3ab7d5913f
Correct spelling mistakes
2022-04-12 09:22:13 +02:00
Alberto Fanjul
df12df656c
Configurable ip binary path
...
Different OS have ip binary on different locations
It can be configured at:
- compile time `IP_BINARY`
- execution time `--ip-binary`
2021-10-27 12:10:54 +02:00
Alberto Fanjul
65a7a0aad1
Assig dupped string
2021-10-27 12:10:54 +02:00
Alberto Fanjul
506f1e7b28
whitespace
2021-10-27 12:09:33 +02:00
Alberto Fanjul
a13c1b7c33
Do not fail stopping existing links
2021-01-03 19:45:49 +01:00
Alberto Fanjul
62c5b8daa8
Do not fail if peers are found before links
...
After discover peers, a miracle-sinkctl restart can lead to peers
without links. Just ignore that
2021-01-03 19:45:05 +01:00
Alberto Fanjul
8d6530ebc9
protect from NULL binary path
2021-01-03 14:07:44 +01:00
Alberto Fanjul
3b3531de5c
Allow to set friendly name even if unmanaged
2021-01-03 14:04:38 +01:00
Alberto Fanjul
92a8b0b2c6
Detect miracle-wifid already running
2021-01-01 19:43:03 +01:00
Andrey Alekseenko
be54804768
Remove access to freed memory
...
If rtsp_unlink_waiting(m) is called and actually destroys m, it's not
safe to pass it to rtsp_unlink_outgoing later.
We make rtsp_unlink_waiting and rtsp_unlink_outgoing return true if they
destroy the message, and in this case we make sure not to try freeing it
again.
2020-09-20 06:38:05 +02:00
Andrey Alekseenko
57d05a1808
Remove double free
...
The function parser_submit_data is only called from parser_feed_char_data_body, which frees the buffer pointer anyway.
2020-09-20 06:38:05 +02:00
Andrey Alekseenko
2ef4c1f40f
Random static analysis fixes
2020-09-20 06:38:05 +02:00
Alberto Fanjul
4111333521
Set readline as required package
...
autotools already set it, but cmake and meson no.
2019-08-27 11:01:22 +02:00
Warren Crossing
58dd6c411e
Add --syslog flag to see wpa logs in syslog
2019-08-27 10:05:10 +02:00
Alberto Fanjul
c3c868e523
refactor to fix clang AST parsing
2018-10-06 15:25:39 +02:00
albfan
8151bb8cbd
whitespace
2018-09-30 12:41:40 +02:00
Alberto Fanjul
4e67272f2f
Avoid log errors
...
Do not output error settings null values or configuring unmanaged links
2018-09-22 08:51:54 +02:00
Xu Fasheng
8b76e3c212
Make miracle-wifid conexists with other network tools
...
The new option --lazy-managed will let miracle-wifid don't managed the
links automatically. Instead, the link will be managed only when the new
DBus property Managed was set to true. So this will be possible that
miracle-wifid could be coexists with other network tools like
networkmanager.
For example, unmanage the device in networkmanager with setting the DBus
property org.freedesktop.NetworkManager.Device.Managed to false and
manage it in miracle-wifid with setting
org.freedesktop.miracle.wifi.Link.Managed to true, then both them could
works and don't need to kill each other.
Besides, there is new command named make-managed in miracle-wifictl and
miracle-sinkctl.
closes #135 , #75
2018-09-21 13:41:16 +02:00
Alberto Fanjul
5bfc97a72c
Customizable config_methods
2018-09-21 13:41:16 +02:00
albfan
1d01ae2117
sink: Enable all resolutions by default
2018-02-22 22:30:09 +01:00
Derek 呆
a6f672311e
Logging Formation failure
...
miracle-sinkctl: Fix signal emotion of FormationFailure
miracle-wifid: Log formation failure
2017-04-15 15:59:46 +02:00
Derek Dai
6b5907ad45
Add meson build system
...
Use it as:
$ meson build
$ cd build
$ ninja build
$ ninja test
$ sudo ninja install
2017-04-14 11:32:27 +02:00
Eric Nelson
fe9a39bee8
miracle-sinkctl: don't use readline if no stdin
...
Signed-off-by: Eric Nelson <eric@nelint.com>
2017-04-08 09:53:36 +02:00
albfan
c3f6b7f683
Fix cmake compilation for ini files
2017-04-07 21:49:43 +02:00
albfan
b8de12cab3
Avoid config stdin if not a tty
...
Allow to run miracle-sinkctl as a service
relates to #98
2017-04-05 07:51:11 +02:00
albfan
04a1ec8aa3
Ini files for miracle-wifid
...
Honor ~/.miraclecast or ~/.config/miraclecastrc
Properties avaliable:
- wifid: log-level
- sinkctl: external-player, rstp-port, log-level, log-journal-level, autocmd
- wifictl: log-level, journal-log-level
Command line has always higher priority over ini files
fixes #113
2017-04-04 22:00:39 +02:00