From 2d260b4f0cec8d624b4451596f1c8fb61a5d6283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 23 Apr 2018 20:37:08 +0300 Subject: [PATCH] Rename manual files with too many underscores --- gstreamer-rtsp-server/src/lib.rs | 46 ++++++++-------- ...p_address_pool.rs => rtsp_address_pool.rs} | 0 .../src/{r_t_s_p_auth.rs => rtsp_auth.rs} | 0 .../src/{r_t_s_p_client.rs => rtsp_client.rs} | 0 .../{r_t_s_p_context.rs => rtsp_context.rs} | 0 ...media_factory.rs => rtsp_media_factory.rs} | 0 .../src/{r_t_s_p_server.rs => rtsp_server.rs} | 0 ...p_session_pool.rs => rtsp_session_pool.rs} | 0 .../src/{r_t_s_p_token.rs => rtsp_token.rs} | 0 gstreamer-sdp/src/lib.rs | 52 +++++++++---------- ..._decrypt_info.rs => mikey_decrypt_info.rs} | 0 ..._encrypt_info.rs => mikey_encrypt_info.rs} | 0 ..._y_map_s_r_t_p.rs => mikey_map_s_r_t_p.rs} | 0 ...{m_i_k_e_y_message.rs => mikey_message.rs} | 0 ...{m_i_k_e_y_payload.rs => mikey_payload.rs} | 0 ..._p_param.rs => mikey_payload_s_p_param.rs} | 0 .../{s_d_p_attribute.rs => sdp_attribute.rs} | 0 .../{s_d_p_bandwidth.rs => sdp_bandwidth.rs} | 0 ...{s_d_p_connection.rs => sdp_connection.rs} | 0 .../src/{s_d_p_key.rs => sdp_key.rs} | 0 .../src/{s_d_p_media.rs => sdp_media.rs} | 8 +-- .../src/{s_d_p_message.rs => sdp_message.rs} | 16 +++--- .../src/{s_d_p_origin.rs => sdp_origin.rs} | 0 .../src/{s_d_p_time.rs => sdp_time.rs} | 0 .../src/{s_d_p_zone.rs => sdp_zone.rs} | 0 gstreamer-webrtc/src/lib.rs | 2 +- ...tion.rs => web_rtc_session_description.rs} | 0 27 files changed, 62 insertions(+), 62 deletions(-) rename gstreamer-rtsp-server/src/{r_t_s_p_address_pool.rs => rtsp_address_pool.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_auth.rs => rtsp_auth.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_client.rs => rtsp_client.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_context.rs => rtsp_context.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_media_factory.rs => rtsp_media_factory.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_server.rs => rtsp_server.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_session_pool.rs => rtsp_session_pool.rs} (100%) rename gstreamer-rtsp-server/src/{r_t_s_p_token.rs => rtsp_token.rs} (100%) rename gstreamer-sdp/src/{m_i_k_e_y_decrypt_info.rs => mikey_decrypt_info.rs} (100%) rename gstreamer-sdp/src/{m_i_k_e_y_encrypt_info.rs => mikey_encrypt_info.rs} (100%) rename gstreamer-sdp/src/{m_i_k_e_y_map_s_r_t_p.rs => mikey_map_s_r_t_p.rs} (100%) rename gstreamer-sdp/src/{m_i_k_e_y_message.rs => mikey_message.rs} (100%) rename gstreamer-sdp/src/{m_i_k_e_y_payload.rs => mikey_payload.rs} (100%) rename gstreamer-sdp/src/{m_i_k_e_y_payload_s_p_param.rs => mikey_payload_s_p_param.rs} (100%) rename gstreamer-sdp/src/{s_d_p_attribute.rs => sdp_attribute.rs} (100%) rename gstreamer-sdp/src/{s_d_p_bandwidth.rs => sdp_bandwidth.rs} (100%) rename gstreamer-sdp/src/{s_d_p_connection.rs => sdp_connection.rs} (100%) rename gstreamer-sdp/src/{s_d_p_key.rs => sdp_key.rs} (100%) rename gstreamer-sdp/src/{s_d_p_media.rs => sdp_media.rs} (99%) rename gstreamer-sdp/src/{s_d_p_message.rs => sdp_message.rs} (98%) rename gstreamer-sdp/src/{s_d_p_origin.rs => sdp_origin.rs} (100%) rename gstreamer-sdp/src/{s_d_p_time.rs => sdp_time.rs} (100%) rename gstreamer-sdp/src/{s_d_p_zone.rs => sdp_zone.rs} (100%) rename gstreamer-webrtc/src/{web_r_t_c_session_description.rs => web_rtc_session_description.rs} (100%) diff --git a/gstreamer-rtsp-server/src/lib.rs b/gstreamer-rtsp-server/src/lib.rs index 2e73cee92..2067da4b5 100644 --- a/gstreamer-rtsp-server/src/lib.rs +++ b/gstreamer-rtsp-server/src/lib.rs @@ -54,24 +54,24 @@ pub use glib::{Cast, Continue, Error, IsA, StaticType, ToValue, Type, TypedValue mod auto; pub use auto::*; -mod r_t_s_p_address_pool; -mod r_t_s_p_auth; -mod r_t_s_p_client; -mod r_t_s_p_context; -mod r_t_s_p_media_factory; -mod r_t_s_p_server; -mod r_t_s_p_session_pool; -mod r_t_s_p_token; +mod rtsp_address_pool; +mod rtsp_auth; +mod rtsp_client; +mod rtsp_context; +mod rtsp_media_factory; +mod rtsp_server; +mod rtsp_session_pool; +mod rtsp_token; -pub use r_t_s_p_address_pool::RTSPAddressPoolExtManual; -pub use r_t_s_p_auth::RTSPAuthExtManual; -pub use r_t_s_p_client::RTSPClientExtManual; -pub use r_t_s_p_media_factory::RTSPMediaFactoryExtManual; -pub use r_t_s_p_server::RTSPServerExtManual; -pub use r_t_s_p_session_pool::RTSPSessionPoolExtManual; +pub use rtsp_address_pool::RTSPAddressPoolExtManual; +pub use rtsp_auth::RTSPAuthExtManual; +pub use rtsp_client::RTSPClientExtManual; +pub use rtsp_media_factory::RTSPMediaFactoryExtManual; +pub use rtsp_server::RTSPServerExtManual; +pub use rtsp_session_pool::RTSPSessionPoolExtManual; -pub use r_t_s_p_context::*; -pub use r_t_s_p_token::*; +pub use rtsp_context::*; +pub use rtsp_token::*; lazy_static! { pub static ref RTSP_ADDRESS_POOL_ANY_IPV4: &'static str = unsafe { @@ -139,11 +139,11 @@ pub mod prelude { pub use auto::traits::*; - pub use r_t_s_p_address_pool::RTSPAddressPoolExtManual; - pub use r_t_s_p_auth::RTSPAuthExtManual; - pub use r_t_s_p_client::RTSPClientExtManual; - pub use r_t_s_p_media_factory::RTSPMediaFactoryExtManual; - pub use r_t_s_p_server::RTSPServerExtManual; - pub use r_t_s_p_session_pool::RTSPSessionPoolExtManual; - pub use r_t_s_p_token::GstRcRTSPTokenExt; + pub use rtsp_address_pool::RTSPAddressPoolExtManual; + pub use rtsp_auth::RTSPAuthExtManual; + pub use rtsp_client::RTSPClientExtManual; + pub use rtsp_media_factory::RTSPMediaFactoryExtManual; + pub use rtsp_server::RTSPServerExtManual; + pub use rtsp_session_pool::RTSPSessionPoolExtManual; + pub use rtsp_token::GstRcRTSPTokenExt; } diff --git a/gstreamer-rtsp-server/src/r_t_s_p_address_pool.rs b/gstreamer-rtsp-server/src/rtsp_address_pool.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_address_pool.rs rename to gstreamer-rtsp-server/src/rtsp_address_pool.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_auth.rs b/gstreamer-rtsp-server/src/rtsp_auth.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_auth.rs rename to gstreamer-rtsp-server/src/rtsp_auth.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_client.rs b/gstreamer-rtsp-server/src/rtsp_client.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_client.rs rename to gstreamer-rtsp-server/src/rtsp_client.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_context.rs b/gstreamer-rtsp-server/src/rtsp_context.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_context.rs rename to gstreamer-rtsp-server/src/rtsp_context.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_media_factory.rs b/gstreamer-rtsp-server/src/rtsp_media_factory.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_media_factory.rs rename to gstreamer-rtsp-server/src/rtsp_media_factory.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_server.rs b/gstreamer-rtsp-server/src/rtsp_server.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_server.rs rename to gstreamer-rtsp-server/src/rtsp_server.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_session_pool.rs b/gstreamer-rtsp-server/src/rtsp_session_pool.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_session_pool.rs rename to gstreamer-rtsp-server/src/rtsp_session_pool.rs diff --git a/gstreamer-rtsp-server/src/r_t_s_p_token.rs b/gstreamer-rtsp-server/src/rtsp_token.rs similarity index 100% rename from gstreamer-rtsp-server/src/r_t_s_p_token.rs rename to gstreamer-rtsp-server/src/rtsp_token.rs diff --git a/gstreamer-sdp/src/lib.rs b/gstreamer-sdp/src/lib.rs index cf781d8d3..2ed6e76fa 100644 --- a/gstreamer-sdp/src/lib.rs +++ b/gstreamer-sdp/src/lib.rs @@ -39,32 +39,32 @@ pub use glib::{Cast, Continue, Error, IsA, StaticType, ToValue, Type, TypedValue mod auto; pub use auto::*; -mod m_i_k_e_y_decrypt_info; -pub use m_i_k_e_y_decrypt_info::*; -mod m_i_k_e_y_encrypt_info; -pub use m_i_k_e_y_encrypt_info::*; -mod m_i_k_e_y_map_s_r_t_p; -pub use m_i_k_e_y_map_s_r_t_p::*; -mod m_i_k_e_y_payload_s_p_param; -pub use m_i_k_e_y_payload_s_p_param::*; -mod s_d_p_attribute; -pub use s_d_p_attribute::*; -mod s_d_p_bandwidth; -pub use s_d_p_bandwidth::*; -mod s_d_p_connection; -pub use s_d_p_connection::*; -mod s_d_p_key; -pub use s_d_p_key::*; -mod s_d_p_media; -pub use s_d_p_media::*; -mod s_d_p_message; -pub use s_d_p_message::*; -mod s_d_p_origin; -pub use s_d_p_origin::*; -mod s_d_p_time; -pub use s_d_p_time::*; -mod s_d_p_zone; -pub use s_d_p_zone::*; +mod mikey_decrypt_info; +pub use mikey_decrypt_info::*; +mod mikey_encrypt_info; +pub use mikey_encrypt_info::*; +mod mikey_map_s_r_t_p; +pub use mikey_map_s_r_t_p::*; +mod mikey_payload_s_p_param; +pub use mikey_payload_s_p_param::*; +mod sdp_attribute; +pub use sdp_attribute::*; +mod sdp_bandwidth; +pub use sdp_bandwidth::*; +mod sdp_connection; +pub use sdp_connection::*; +mod sdp_key; +pub use sdp_key::*; +mod sdp_media; +pub use sdp_media::*; +mod sdp_message; +pub use sdp_message::*; +mod sdp_origin; +pub use sdp_origin::*; +mod sdp_time; +pub use sdp_time::*; +mod sdp_zone; +pub use sdp_zone::*; // Re-export all the traits in a prelude module, so that applications // can always "use gst::prelude::*" without getting conflicts diff --git a/gstreamer-sdp/src/m_i_k_e_y_decrypt_info.rs b/gstreamer-sdp/src/mikey_decrypt_info.rs similarity index 100% rename from gstreamer-sdp/src/m_i_k_e_y_decrypt_info.rs rename to gstreamer-sdp/src/mikey_decrypt_info.rs diff --git a/gstreamer-sdp/src/m_i_k_e_y_encrypt_info.rs b/gstreamer-sdp/src/mikey_encrypt_info.rs similarity index 100% rename from gstreamer-sdp/src/m_i_k_e_y_encrypt_info.rs rename to gstreamer-sdp/src/mikey_encrypt_info.rs diff --git a/gstreamer-sdp/src/m_i_k_e_y_map_s_r_t_p.rs b/gstreamer-sdp/src/mikey_map_s_r_t_p.rs similarity index 100% rename from gstreamer-sdp/src/m_i_k_e_y_map_s_r_t_p.rs rename to gstreamer-sdp/src/mikey_map_s_r_t_p.rs diff --git a/gstreamer-sdp/src/m_i_k_e_y_message.rs b/gstreamer-sdp/src/mikey_message.rs similarity index 100% rename from gstreamer-sdp/src/m_i_k_e_y_message.rs rename to gstreamer-sdp/src/mikey_message.rs diff --git a/gstreamer-sdp/src/m_i_k_e_y_payload.rs b/gstreamer-sdp/src/mikey_payload.rs similarity index 100% rename from gstreamer-sdp/src/m_i_k_e_y_payload.rs rename to gstreamer-sdp/src/mikey_payload.rs diff --git a/gstreamer-sdp/src/m_i_k_e_y_payload_s_p_param.rs b/gstreamer-sdp/src/mikey_payload_s_p_param.rs similarity index 100% rename from gstreamer-sdp/src/m_i_k_e_y_payload_s_p_param.rs rename to gstreamer-sdp/src/mikey_payload_s_p_param.rs diff --git a/gstreamer-sdp/src/s_d_p_attribute.rs b/gstreamer-sdp/src/sdp_attribute.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_attribute.rs rename to gstreamer-sdp/src/sdp_attribute.rs diff --git a/gstreamer-sdp/src/s_d_p_bandwidth.rs b/gstreamer-sdp/src/sdp_bandwidth.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_bandwidth.rs rename to gstreamer-sdp/src/sdp_bandwidth.rs diff --git a/gstreamer-sdp/src/s_d_p_connection.rs b/gstreamer-sdp/src/sdp_connection.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_connection.rs rename to gstreamer-sdp/src/sdp_connection.rs diff --git a/gstreamer-sdp/src/s_d_p_key.rs b/gstreamer-sdp/src/sdp_key.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_key.rs rename to gstreamer-sdp/src/sdp_key.rs diff --git a/gstreamer-sdp/src/s_d_p_media.rs b/gstreamer-sdp/src/sdp_media.rs similarity index 99% rename from gstreamer-sdp/src/s_d_p_media.rs rename to gstreamer-sdp/src/sdp_media.rs index 9c5d645e5..f3f1a13c2 100644 --- a/gstreamer-sdp/src/s_d_p_media.rs +++ b/gstreamer-sdp/src/sdp_media.rs @@ -15,10 +15,10 @@ use glib::translate::*; use glib_ffi; use gst; -use s_d_p_attribute::SDPAttribute; -use s_d_p_bandwidth::SDPBandwidth; -use s_d_p_connection::SDPConnection; -use s_d_p_key::SDPKey; +use sdp_attribute::SDPAttribute; +use sdp_bandwidth::SDPBandwidth; +use sdp_connection::SDPConnection; +use sdp_key::SDPKey; #[cfg(any(feature = "v1_8_1", feature = "dox"))] use MIKEYMessage; diff --git a/gstreamer-sdp/src/s_d_p_message.rs b/gstreamer-sdp/src/sdp_message.rs similarity index 98% rename from gstreamer-sdp/src/s_d_p_message.rs rename to gstreamer-sdp/src/sdp_message.rs index f0c454b74..74b495f63 100644 --- a/gstreamer-sdp/src/s_d_p_message.rs +++ b/gstreamer-sdp/src/sdp_message.rs @@ -17,14 +17,14 @@ use gobject_ffi; use gst; use gst::MiniObject; -use s_d_p_attribute::SDPAttribute; -use s_d_p_bandwidth::SDPBandwidth; -use s_d_p_connection::SDPConnection; -use s_d_p_key::SDPKey; -use s_d_p_media::SDPMedia; -use s_d_p_origin::SDPOrigin; -use s_d_p_time::SDPTime; -use s_d_p_zone::SDPZone; +use sdp_attribute::SDPAttribute; +use sdp_bandwidth::SDPBandwidth; +use sdp_connection::SDPConnection; +use sdp_key::SDPKey; +use sdp_media::SDPMedia; +use sdp_origin::SDPOrigin; +use sdp_time::SDPTime; +use sdp_zone::SDPZone; #[cfg(any(feature = "v1_8_1", feature = "dox"))] use MIKEYMessage; diff --git a/gstreamer-sdp/src/s_d_p_origin.rs b/gstreamer-sdp/src/sdp_origin.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_origin.rs rename to gstreamer-sdp/src/sdp_origin.rs diff --git a/gstreamer-sdp/src/s_d_p_time.rs b/gstreamer-sdp/src/sdp_time.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_time.rs rename to gstreamer-sdp/src/sdp_time.rs diff --git a/gstreamer-sdp/src/s_d_p_zone.rs b/gstreamer-sdp/src/sdp_zone.rs similarity index 100% rename from gstreamer-sdp/src/s_d_p_zone.rs rename to gstreamer-sdp/src/sdp_zone.rs diff --git a/gstreamer-webrtc/src/lib.rs b/gstreamer-webrtc/src/lib.rs index c9eefa720..9ee43713e 100644 --- a/gstreamer-webrtc/src/lib.rs +++ b/gstreamer-webrtc/src/lib.rs @@ -44,7 +44,7 @@ pub use glib::{Cast, Continue, Error, IsA, StaticType, ToValue, Type, TypedValue mod auto; pub use auto::*; -mod web_r_t_c_session_description; +mod web_rtc_session_description; // Re-export all the traits in a prelude module, so that applications // can always "use gst::prelude::*" without getting conflicts diff --git a/gstreamer-webrtc/src/web_r_t_c_session_description.rs b/gstreamer-webrtc/src/web_rtc_session_description.rs similarity index 100% rename from gstreamer-webrtc/src/web_r_t_c_session_description.rs rename to gstreamer-webrtc/src/web_rtc_session_description.rs