1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-02-12 16:31:54 +00:00
Commit graph

276 commits

Author SHA1 Message Date
Alberto Fanjul
4f37045eea Use travis as CI 2020-11-13 16:47:16 +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
9edb225905 Add option to use cppcheck in CMake 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
Martin Kennedy
960a785e10 Use a guard to prevent dependency on pkg-config when it is not available
I picked the methodology off of https://github.com/curl/curl/issues/972.
The benefit here is that if someone does not have pkg-config (we know this
is unlikely anyways), their configuration script just won't end up with the
checks.

This provides a patch similar to the one requested in issue #120.
2019-04-04 01:11:50 +02:00
Alberto Fanjul
59df9a4a3f Add CI badge status 2018-12-25 11:42:35 +01:00
Alberto Fanjul
3a459e5316 Add docker for CI 2018-12-25 11:29:58 +01:00
Graham White
46089b18f0 Add spec file for building rpm files 2018-12-25 08:32:31 +01: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
ec7e11c8bf bash completion with lazy load 2018-09-21 13:41:16 +02:00
Alberto Fanjul
5bfc97a72c Customizable config_methods 2018-09-21 13:41:16 +02:00
Julian Kornberger
34595f035e Update README.md
Use ### for sub-sub-titles
2018-03-19 18:29:29 +01:00
albfan
1d01ae2117 sink: Enable all resolutions by default 2018-02-22 22:30:09 +01:00
Arsh Singh
76f0189829 Fix Arch Linux AUR package link 2018-02-14 08:12:49 +01:00
albfan
0c3f02e97b fix info to stop normal wifi 2018-01-31 22:14:26 +01:00
Derek Dai
a395c3c7af remove valgrind checking since now it is optional
Change-Id: I39dc6b3e23307fd039775983b6d68878547523ba
2017-04-22 11:24:36 +02:00
Alberto Fanjul
3dec3e9b83 Fixing CI for Code Coverage 2017-04-18 10:42:36 +02:00
albfan
eceb252ec7 Adding code coverage 2017-04-18 05:11:33 +02:00
albfan
20036e77dc Accept configure params on autogen.sh 2017-04-18 04:50:13 +02:00
albfan
92ab7eb2d3 Move info from README to wiki 2017-04-15 23:09:22 +02:00
albfan
033690b7fb Fix omxplayer execution 2017-04-15 23:00:51 +02:00
albfan
68802bb592 Customizable sysconfdir on cmake 2017-04-15 22:35:43 +02: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
albfan
1bc0648f4b Workaround for Wayland GDK backend 2017-04-02 22:25:48 +02:00
albfan
3dfa75d90b Find interface index for wireless interfaces
helper function to find number to pass to run command of miracle-sinkctl
2017-03-27 00:10:30 +02:00
albfan
a2735d9b4d find pci bus slot for wireless adapter
helper function to find number to pass to run command of miracle-sinkctl
2017-03-26 23:32:03 +02:00
Alberto Fanjul
bc9ebcc849 Merge pull request #184 from Lin-Buo-Ren/patch-1
Fix minor typo in README
2017-03-26 13:39:35 +02:00
林博仁(Buo-Ren Lin)
dec8ee0c07 Fix minor typo in README
Signed-Off-By: 林博仁 <Buo.Ren.Lin@gmail.com>
2017-03-26 19:38:26 +08:00
albfan
52cd3f0f28 cleanup for gstplayer 2017-03-26 13:12:33 +02:00
albfan
a9da0067e3 Improve autocompletion
Standardize help commands
Add autocompletion for short arguments
Install autocompletion
2017-03-26 09:31:32 +02:00
albfan
2aeec41290 Provide wrapper for vlc
external player wrapper for vlc
2017-03-25 12:53:13 +01:00
albfan
3628f789b4 Add external player config
Allow to run custom player. It will be run within a wrapper that
respect -p/--port, option at least

fixes #87
2017-03-25 12:48:04 +01:00
albfan
016159bb1e Check running as root
Detect running with elevated privileges to access dbus

fixes #89
2017-03-25 11:55:28 +01:00
Alberto Fanjul
c0f49c3b9c Merge pull request #169 from nixjdm/master
Fixed small grammar error in README: this -> these.
2017-02-10 07:06:50 +01:00
Joseph Nix
2757c4f5e6 Fixed small grammar error in README: this -> these. 2017-02-09 21:40:49 -06:00
Alberto Fanjul
e5795edd04 Read UIBC capability in raw mode
Some devices send its UIBC capabilities with spaces. Read in raw mode to parse port correctly
2016-10-28 11:37:16 +02:00
albfan
cedfeeebe1 Debug GStreamer execution
Allow to config gstreamer log level
2016-10-23 10:20:12 +02:00
albfan
472fbf4a24 Check source UIBC capability
If source has no UIBC capability don't try to connect UIBC controller,
and listen UIBC setting to disable UIBC

relates to #115
2016-10-23 09:46:02 +02:00
albfan
5e93ad0638 Fix compilation warnings 2016-10-23 04:27:17 +02:00