-
Notifications
You must be signed in to change notification settings - Fork 53
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
Networking with osc #122
base: master
Are you sure you want to change the base?
Networking with osc #122
Commits on Jun 1, 2017
-
src/networking/oscreceiver.h: Adding comment for include. Adding set_…
…message_level() (friend function for OscHandler). Changing add_client to use a MessageLevel parameter. Line wraps. src/networking/oscreceiver.cpp: Style changes for string compare in start(). Updating callback handler for /subscribe message to also be able to set an inital message_level for the client subscribing. Prettifying VERBOSE output in /subscribe callback handler. Adding callback handler for /message_level, enabling clients to set their own message_level (the amount of messages received from the server, defaults to MessageLevel::CLIENT - which is a lot of messages (some unneeded probably) already).
Configuration menu - View commit details
-
Copy full SHA for 964756b - Browse repository at this point
Copy the full SHA 964756bView commit details -
src/networking/oscsender.h: Adding comment for include. Updating add_…
…client() to use an additional parameter for MessageLevel. Adding set_client_message_level(). src/networking/oscsender.cpp: Adding implementation of set_client_message_level(). Changing add_client() to use the MessageLevel provided as parameter. Updating VERBOSE output for add_client().
Configuration menu - View commit details
-
Copy full SHA for 64c5e72 - Browse repository at this point
Copy the full SHA 64c5e72View commit details -
src/networking/oschandler.h: Adding include ssr_global.h for MessageL…
…evel. Updating friend function add_client() to include MessageLevel parameter. adding friend function set_message_level(). src/networking/oschandler.cpp: Updating call to add_client() in constructor and implementation of add_client() to incorporate MessageLevel parameter. Adding implementation of friend function set_message_level().
Configuration menu - View commit details
-
Copy full SHA for c988b9a - Browse repository at this point
Copy the full SHA c988b9aView commit details
Commits on Jun 2, 2017
-
src/networking/oscreceiver.h: Splitting add_server_to_client_methods(…
…) into several functions, so they can be applied to server objects as well. src/networking/oscreceiver.cpp: Splitting the implementation of callback handler adding into several functions, so they can be more easily applied fine-grained to server objects as well.
Configuration menu - View commit details
-
Copy full SHA for 58be8ea - Browse repository at this point
Copy the full SHA 58be8eaView commit details
Commits on Jun 3, 2017
-
src/networking/oschandler.h: Adding anonymous namespace for some bool…
…2string representations. Adding bool_to_message_type() and bool_to_string() to public interface for VERBOSE messages used throughout OscSender and OscReceiver. src/networking/oschandler.cpp: Adding implementation of bool_to_message_type() and bool_to_string().
Configuration menu - View commit details
-
Copy full SHA for 92470da - Browse repository at this point
Copy the full SHA 92470daView commit details -
src/networking/oscsender.h: Removing anonymous namespace and function…
… bool_to_message_type. src/networking/oscsender.cpp: Removing implementation of bool_to_message_type() and replacing all calls to it by the version now held by OscHandler.
Configuration menu - View commit details
-
Copy full SHA for 4c1646f - Browse repository at this point
Copy the full SHA 4c1646fView commit details -
src/networking/oscreceiver.cpp: Fixing linewraps. Improving readabili…
…ty of all source related VERBOSE messages by adding more relevant output derived from incoming message.
Configuration menu - View commit details
-
Copy full SHA for 89d4f79 - Browse repository at this point
Copy the full SHA 89d4f79View commit details
Commits on Jun 4, 2017
-
src/networking/oschandler.*: Adding public definition and implementat…
…ion of is_server() and is_client().
Configuration menu - View commit details
-
Copy full SHA for 30b547b - Browse repository at this point
Copy the full SHA 30b547bView commit details -
src/networking/oscsender.*: Replacing all calls to is_server() and is…
…_client() by the versions from OscHandler. Removing is_client() and is_server() declarations and implementations.
Configuration menu - View commit details
-
Copy full SHA for c948656 - Browse repository at this point
Copy the full SHA c948656View commit details -
src/networking/oscreceiver.cpp: Using is_server() and is_client() in …
…start(). Improving VERBOSE output of reference, reference_offset, scene, processing and transport message handlers by adding information on caller and displaying whole message sent properly.
Configuration menu - View commit details
-
Copy full SHA for 7bdfc6d - Browse repository at this point
Copy the full SHA 7bdfc6dView commit details
Commits on Jun 5, 2017
-
src/networking/oscsender.cpp, src/networking/oscsender.cpp: Renaming …
…all source related mentions of volume to gain to be consistent with the Publisher/Subscriber interface.
Configuration menu - View commit details
-
Copy full SHA for 181d625 - Browse repository at this point
Copy the full SHA 181d625View commit details -
src/networking/oscreceiver.cpp: Minor fixes in comments. TODO for exc…
…eption handling in is_new_source(). Erasing source information from _new_sources after the /source/new message has been sent to clients.
Configuration menu - View commit details
-
Copy full SHA for da910cc - Browse repository at this point
Copy the full SHA da910ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for d50da83 - Browse repository at this point
Copy the full SHA d50da83View commit details -
src/networking/oscsender.cpp: Erasing source from _new_sources once t…
…he assembled /source/new message has been sent out to clients. TODO about exception handling in is_new_source().
Configuration menu - View commit details
-
Copy full SHA for 941d654 - Browse repository at this point
Copy the full SHA 941d654View commit details -
Merge branch 'networking-with-osc' of github.com:dvzrv/ssr into netwo…
…rking-with-osc * 'networking-with-osc' of github.com:dvzrv/ssr: src/networking/oscreceiver.cpp: Minor fixes in comments. TODO for exception handling in is_new_source(). Erasing source information from _new_sources after the /source/new message has been sent to clients.
Configuration menu - View commit details
-
Copy full SHA for a60d262 - Browse repository at this point
Copy the full SHA a60d262View commit details -
src/networking/oscsender.*: Adding private member for setting the /po…
…ll message frequency in milliseconds. Removing commented, now obsolete function bool_to_message_type().
Configuration menu - View commit details
-
Copy full SHA for d12b118 - Browse repository at this point
Copy the full SHA d12b118View commit details -
Configuration menu - View commit details
-
Copy full SHA for f91e370 - Browse repository at this point
Copy the full SHA f91e370View commit details -
src/networking/oscreceiver.cpp: Adding callback function for /source/…
…file_channel. Renaming all channel variables to file_channel for consistency. src/networking/oscsender.cpp: Renaming all channel variables to file_channel for consistency.
Configuration menu - View commit details
-
Copy full SHA for 60f4c9c - Browse repository at this point
Copy the full SHA 60f4c9cView commit details -
src/networking/oscreceiver.cpp: Making VERBOSE output of /update call…
…back handlers more readable, adhering to the output of the other handlers. Fixing line wraps.
Configuration menu - View commit details
-
Copy full SHA for 89fd1f5 - Browse repository at this point
Copy the full SHA 89fd1f5View commit details -
src/networking/oscreceiver.cpp: Capturing *this for callbacks, that n…
…eed to access its functions.
Configuration menu - View commit details
-
Copy full SHA for f00c516 - Browse repository at this point
Copy the full SHA f00c516View commit details -
src/networking/oscreceiver.cpp: Changing VERBOSE output to 'Added cal…
…lback...' instead of 'Added method...' for each callback add.
Configuration menu - View commit details
-
Copy full SHA for 16e8fcd - Browse repository at this point
Copy the full SHA 16e8fcdView commit details -
src/networking/oscreceiver.cpp: Ordering all callback handlers alphab…
…etically for readability. Unifying output style of message types.
Configuration menu - View commit details
-
Copy full SHA for 2c77126 - Browse repository at this point
Copy the full SHA 2c77126View commit details -
src/networking/oscreceiver.cpp: Moving call to add_processing_methods…
…() to alphabetical location. Changing VERBOSE messages in /subscribe and /message_level callbacks to adhere to style standard. Raising VERBOSE messages for /transport/seek and /transport/state messages to VERBOSE3.
Configuration menu - View commit details
-
Copy full SHA for 10147c2 - Browse repository at this point
Copy the full SHA 10147c2View commit details
Commits on Jun 6, 2017
-
src/networking/oscreceiver.cpp: Adding various TODOs. Fixing errernou…
…s call to unitialized variable in /message_level callback handler. Adding First prototype of variable string for client/server VERBOSE message.
Configuration menu - View commit details
-
Copy full SHA for fef26e9 - Browse repository at this point
Copy the full SHA fef26e9View commit details -
src/networking/oscreceiver.h: Using std::strings for hostname and por…
…t in set_message_level(). src/networking/oscreceiver.cpp: Adding /message_level ssi callback handler. src/networking/oschandler.h: Changing definition of set_message_level friend function to use std::string types for hostname and port instead of a lo::Address. src/networking/oschandler.cpp: Changing OscReceiver::set_message_level() parameters to use std::strings for hostname and port instead of a lo::Address and updating documentation for the function.
Configuration menu - View commit details
-
Copy full SHA for 1a22195 - Browse repository at this point
Copy the full SHA 1a22195View commit details -
src/networking/*: Adding callback handlers for /subscribe {Fss,Tssi}.…
… Rewriting add_client() and deactivate_client() to use std::string for hostname and port instead of a lo::Address object.
Configuration menu - View commit details
-
Copy full SHA for 4079bf1 - Browse repository at this point
Copy the full SHA 4079bf1View commit details
Commits on Jun 16, 2017
-
src/networking/*: Changing OscSender's _server_address to _server of …
…type OscClient, to have easier control over MessageLevel of the server for clients, using the same functionality. Refactoring all involved functions. Making all setters for the lo::Address fields use reference type parameters.
Configuration menu - View commit details
-
Copy full SHA for 8e58d47 - Browse repository at this point
Copy the full SHA 8e58d47View commit details -
src/networking/*: Removing _client_addresses from OscSender and repla…
…cing all calls to it by calls to _clients. Adding set_server_message_level(), to set the MessageLevel of a clients representation of a server. Minor fixes.
Configuration menu - View commit details
-
Copy full SHA for 8a3c30a - Browse repository at this point
Copy the full SHA 8a3c30aView commit details
Commits on Jun 17, 2017
-
src/networking/*: Renaming set_message_level() to set_client_message_…
…level() in OscHandler/OscReceiver in alignment with set_client_message_level() in OscSender for better readability.
Configuration menu - View commit details
-
Copy full SHA for 49612ff - Browse repository at this point
Copy the full SHA 49612ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for cb6f8f7 - Browse repository at this point
Copy the full SHA cb6f8f7View commit details -
src/ssr_global.h: Adding GUI_SERVER to MessageLevel enum class for me…
…ssages only meant for GUI updates. Making int representation implicit.
Configuration menu - View commit details
-
Copy full SHA for 535f8e1 - Browse repository at this point
Copy the full SHA 535f8e1View commit details -
src/networking/oscsender.cpp: Changing all MessageLevel checks for cl…
…ients, when trying to send to server from GUI_CLIENT to GUI_SERVER.
Configuration menu - View commit details
-
Copy full SHA for 9ee4df3 - Browse repository at this point
Copy the full SHA 9ee4df3View commit details -
src/networking/*: Renaming OscSender::server_is(std::string& hostname…
…, std::string& port) to OscSender::is_server(std::string& hostname, std::string& port) for better readability. Changing in all of its use-cases.
Configuration menu - View commit details
-
Copy full SHA for 2f8d25e - Browse repository at this point
Copy the full SHA 2f8d25eView commit details -
src/networking/oscreceiver.*: Renaming add_poll_methods() to add_serv…
…er_to_client_methods(). Making /source/new callback more robust, by only initializing with OSC message types, once the understood type tags have been found. Minor line break fix.
Configuration menu - View commit details
-
Copy full SHA for 19084d7 - Browse repository at this point
Copy the full SHA 19084d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 37c323b - Browse repository at this point
Copy the full SHA 37c323bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f6435bd - Browse repository at this point
Copy the full SHA f6435bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for d80e052 - Browse repository at this point
Copy the full SHA d80e052View commit details -
src/networking/*: Implementing from_is() functionality in OscHandler,…
… returning a const std::string, depending on whether the handler is server or client. Implementing from_is() in all VERBOSE messages in client/server callbacks.
Configuration menu - View commit details
-
Copy full SHA for 15fe3dd - Browse repository at this point
Copy the full SHA 15fe3ddView commit details -
src/networking/*: Adding client_has_message_level() to OscSender (and…
… to OscReceiver by OscHandler friend function) to check for MessageLevel of a client defined by hostname and port. Applying checks to whether caller of a message is the server currently setup (client mode) or if a client exists with a MessageLevel::SERVER (server mode) to be able to shut out unsolicited OSC messages to clients and servers. This way clients only listen to servers subscribed to and servers only to clients with a MessageLevel of SERVER.
Configuration menu - View commit details
-
Copy full SHA for 0f1f811 - Browse repository at this point
Copy the full SHA 0f1f811View commit details
Commits on Jun 18, 2017
-
Configuration menu - View commit details
-
Copy full SHA for ad0b562 - Browse repository at this point
Copy the full SHA ad0b562View commit details -
Configuration menu - View commit details
-
Copy full SHA for c1d4b38 - Browse repository at this point
Copy the full SHA c1d4b38View commit details -
src/networking/oschandler.cpp: Fix missing return statement in ssr::O…
…scReceiver::client_has_message_level() friend function implementation.
Configuration menu - View commit details
-
Copy full SHA for 651da3b - Browse repository at this point
Copy the full SHA 651da3bView commit details -
src/networking/oscreceiver.cpp: Adding client callbacks for /cpu_load…
… with MessageLevel GUI_CLIENT. Adding callback for /source/file_name_or_port_number. Adding callback for /source/level. Adding callback for /scene/amplitude_reference_distance, /scene/auto_rotate_sources, /scene/decay_exponent. Adding callback for /update/scene/master_signal_level. src/networking/oscsender.cpp: Updating check for MessageLevel in ssr:OscSender::client_has_message_level() to check if client is active. Adding server-side implementation to ssr::OscSender::set_cpu_load(). Removing server-side implementation from ssr::OscSender::set_sample_rate(). Sending messages only to GUI_CLIENT clients in set_source_signal_level(), set_master_signal_level(). Removing obsolete TODOs. Minor fixes.
Configuration menu - View commit details
-
Copy full SHA for f102eaf - Browse repository at this point
Copy the full SHA f102eafView commit details -
Configuration menu - View commit details
-
Copy full SHA for 38c49db - Browse repository at this point
Copy the full SHA 38c49dbView commit details -
src/ssr_global.h: Removing unused field THIN_CLIENT from enum class M…
…essageLevel. Moving SERVER and GUI_SERVER to the top values.
Configuration menu - View commit details
-
Copy full SHA for 5d23744 - Browse repository at this point
Copy the full SHA 5d23744View commit details
Commits on Jun 19, 2017
-
src/networking/oscreceiver.cpp: Making callback for /update/source/mu…
…te and /update/source/position_fixed more robust. Switching to VERBOSE2 (from VERBOSE3) in callback handlers for all non-rapid messages.
Configuration menu - View commit details
-
Copy full SHA for 159107d - Browse repository at this point
Copy the full SHA 159107dView commit details -
src/networking/oscsender.cpp: Moving check for file_name_or_port_numb…
…er property to within statement checking for new_source in OscSender::set_source_mute (preventing accidental sending on server, before source is created). Moving check for file_channel property to within statement checking for new source in OscSender::set_source_properties_file (preventing accidental sending on server, before source is created). Moving check for file_channel > 0 to within statement checking for new source in OscSender::set_source_file_channel to prevent an unfinished source in _new_sources. Setting client check to <= GUI_CLIENT for OscSender::set_transport_state and to == GUI_CLIENT for OscSender::set_source_signal_level. Using std::string reference directly in VERBOSE messages of functions having string parameters and c_str() representation for sending OSC messages to not initialize an unneeded variable every time.
Configuration menu - View commit details
-
Copy full SHA for b785d0e - Browse repository at this point
Copy the full SHA b785d0eView commit details
Commits on Jun 21, 2017
-
supercollider/workflows.scd: Adding workflow example for 'sclang is a…
… client controlling the server' and 'sclang mimics a server, controls a client'.
Configuration menu - View commit details
-
Copy full SHA for 86ecfff - Browse repository at this point
Copy the full SHA 86ecfffView commit details
Commits on Jun 24, 2017
-
supercollider/tests.scd: Adding tests for server and client (subscrib…
…ed and not subscribed).
Configuration menu - View commit details
-
Copy full SHA for ac12dd1 - Browse repository at this point
Copy the full SHA ac12dd1View commit details
Commits on Jun 28, 2017
-
supercollider/tests.scd: Adding separate function to add n sources. A…
…dding sourceTestAdding to source movement test. Making sourceTestMoving function use a Routine to move n sources randomly for 100 seconds, each 100ms.
Configuration menu - View commit details
-
Copy full SHA for a3b020b - Browse repository at this point
Copy the full SHA a3b020bView commit details -
src/networking/oscreceiver.cpp: Switching to setting initial gain of …
…a source on the logarithmic scale (to be coherent with the IP interface and how /source/gain handles things).
Configuration menu - View commit details
-
Copy full SHA for 1d44008 - Browse repository at this point
Copy the full SHA 1d44008View commit details
Commits on Jun 29, 2017
-
src/networking/oscsender.cpp: Wrapping all VERBOSE output information…
… about hostname:port in ''. Minor linewrap fixes.
Configuration menu - View commit details
-
Copy full SHA for ffb473c - Browse repository at this point
Copy the full SHA ffb473cView commit details
Commits on Jul 10, 2017
-
src/networking/*: Adding functionality to discard inactive clients au…
…tomatically after 10 seconds. No more messages will be sent to them, as long as they don't subscribe again.
Configuration menu - View commit details
-
Copy full SHA for de68cce - Browse repository at this point
Copy the full SHA de68cceView commit details
Commits on Jul 11, 2017
-
src/networking/*: Let calls to increment_client_alive_counter in OSCR…
…eceiver implicitely copy by value.
Configuration menu - View commit details
-
Copy full SHA for d25f975 - Browse repository at this point
Copy the full SHA d25f975View commit details -
src/ssr_global.h: Extending MessageLevel by MAX_VALUE.
src/networking/*: Making assignment of client/server MessageLevel sane.
Configuration menu - View commit details
-
Copy full SHA for 8eddc1f - Browse repository at this point
Copy the full SHA 8eddc1fView commit details
Commits on Jul 12, 2017
-
src/configuration.*: Adding function to retrieve a valid network port…
… from a char. If chosen port is < 0, a well-known port, or not in the range of IANA suggested ephemeral ports, the standard port 50001 will be used.
Configuration menu - View commit details
-
Copy full SHA for 7f2abb4 - Browse repository at this point
Copy the full SHA 7f2abb4View commit details -
src/networking/oschandler.cpp: Adding exit with EXIT_FAILURE, in case…
… the ServerThread could not be initialized (most likely due to port already being in use).
Configuration menu - View commit details
-
Copy full SHA for 82cfa57 - Browse repository at this point
Copy the full SHA 82cfa57View commit details
Commits on Jul 13, 2017
-
src/networking/oscreceiver.cpp: Adding check, if id > 0 to all source…
… related callbacks.
Configuration menu - View commit details
-
Copy full SHA for e2eabb5 - Browse repository at this point
Copy the full SHA e2eabb5View commit details
Commits on Jul 25, 2017
-
Configuration menu - View commit details
-
Copy full SHA for 927bf47 - Browse repository at this point
Copy the full SHA 927bf47View commit details -
src/networking/oscreceiver.cpp: Using the linear scale, instead of lo…
…garithmic scale for setting source gain. A range form 0.0 - inf is used, where 1.0 signifies 100% source level.
Configuration menu - View commit details
-
Copy full SHA for df44f14 - Browse repository at this point
Copy the full SHA df44f14View commit details
Commits on Jul 27, 2017
-
supercollider/workflows.scd: Adding Sensors2OSC example, setting refe…
…rence orientation through orientation sensor and two sources through multi-touch interface.
Configuration menu - View commit details
-
Copy full SHA for 80d9d3e - Browse repository at this point
Copy the full SHA 80d9d3eView commit details
Commits on Aug 18, 2017
-
supercollider/workflows.scd: Fixing input creation and source volume.…
… Introducing /alive message on receiving /poll from server. Controlling /reference/orientation with /orientation/X from Sensors2OSC. Deactivating verbose printout on each received message.
Configuration menu - View commit details
-
Copy full SHA for 195fef2 - Browse repository at this point
Copy the full SHA 195fef2View commit details
Commits on Dec 15, 2018
-
Configuration menu - View commit details
-
Copy full SHA for f57b696 - Browse repository at this point
Copy the full SHA f57b696View commit details -
Configuration menu - View commit details
-
Copy full SHA for 06c9e74 - Browse repository at this point
Copy the full SHA 06c9e74View commit details -
src/configuration.h: Turning network_clients field into a multimap to…
… have unique keys.
Configuration menu - View commit details
-
Copy full SHA for a7bf9c8 - Browse repository at this point
Copy the full SHA a7bf9c8View commit details -
src/configuration.cpp: First version of functionality to parse networ…
…k clients and ports from flag or configuration file. Adding flags for network-mode, network-port-receive, network-port-send and network-clients.
Configuration menu - View commit details
-
Copy full SHA for 13ede39 - Browse repository at this point
Copy the full SHA 13ede39View commit details -
src/configuration.cpp: Renaming trim to remove_whitespace. Moving cur…
…ly bracket to next line in parse_network_clients.
Configuration menu - View commit details
-
Copy full SHA for 3122871 - Browse repository at this point
Copy the full SHA 3122871View commit details -
src/configuration.cpp: parse_network_clients removing printouts of na…
…mes, adding VERBOSE2 messages about which clients are added. Moving remove_whitespace to ssr namespace. src/configuration.h: Defining remove_whitespace in ssr namespace.
Configuration menu - View commit details
-
Copy full SHA for 94beaba - Browse repository at this point
Copy the full SHA 94beabaView commit details -
src/configuration.cpp: Using the multimap of client information by re…
…ference. Fixing a missing comma in the help output of ssr.
Configuration menu - View commit details
-
Copy full SHA for 3b0e427 - Browse repository at this point
Copy the full SHA 3b0e427View commit details -
Configuration menu - View commit details
-
Copy full SHA for fc0ae5f - Browse repository at this point
Copy the full SHA fc0ae5fView commit details -
src/configuration.cpp: Dropping network-port-{send,receive} in favor …
…of osc-port. Using only hyphen instead of underscore for option strings.
Configuration menu - View commit details
-
Copy full SHA for 0d94cca - Browse repository at this point
Copy the full SHA 0d94ccaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 74e5142 - Browse repository at this point
Copy the full SHA 74e5142View commit details -
data/ssr.conf.example: Dropping NETWORK_PORT_{SEND,RECEIVE} in favor …
…of OSC_PORT (which defaults to 50001). Updating NETWORK_CLIENTS example accordingly. Clarifying NETWORK_MODE comment.
Configuration menu - View commit details
-
Copy full SHA for 9f1a8c8 - Browse repository at this point
Copy the full SHA 9f1a8c8View commit details -
src/configuration.*: Adding function to retrieve a valid network port…
… from a char. If chosen port is < 0, a well-known port, or not in the range of IANA suggested ephemeral ports, the standard port 50001 will be used.
Configuration menu - View commit details
-
Copy full SHA for cac6fcd - Browse repository at this point
Copy the full SHA cac6fcdView commit details -
Merging latest changes regarding includes (thread,chrono) and conf.re…
…nderer_params.set().
Configuration menu - View commit details
-
Copy full SHA for 79b2a26 - Browse repository at this point
Copy the full SHA 79b2a26View commit details -
Configuration menu - View commit details
-
Copy full SHA for e8ed336 - Browse repository at this point
Copy the full SHA e8ed336View commit details -
src/networking/*: Adding current stage of work. Added class for sendi…
…ng and receiving.
Configuration menu - View commit details
-
Copy full SHA for fef9496 - Browse repository at this point
Copy the full SHA fef9496View commit details -
Configuration menu - View commit details
-
Copy full SHA for a434c17 - Browse repository at this point
Copy the full SHA a434c17View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0e6236f - Browse repository at this point
Copy the full SHA 0e6236fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 198d456 - Browse repository at this point
Copy the full SHA 198d456View commit details -
src/networking/oscsender.h: Added reference to controller as private …
…member and to client/server constructor.
Configuration menu - View commit details
-
Copy full SHA for 83b3835 - Browse repository at this point
Copy the full SHA 83b3835View commit details -
src/networking/oschandler.cpp: Adding controller to initializer list …
…for initializing OscSender.
Configuration menu - View commit details
-
Copy full SHA for 1b1aeba - Browse repository at this point
Copy the full SHA 1b1aebaView commit details -
src/networking/oscreceiver.cpp: Unifying callback function for creati…
…ng new source. Implementing proper use of LO_TRUE and LO_FALSE types in all callback functions. Minor fixes to some VERBOSE2 output in callback functions.
Configuration menu - View commit details
-
Copy full SHA for a7d5e4b - Browse repository at this point
Copy the full SHA a7d5e4bView commit details -
src/networking/oscsender.cpp: Adding reference to controller and hand…
…ler to OscSender constructors. Adding start/stop functionality that subscribes/unsubscribes OscSender with/from the controller.
Configuration menu - View commit details
-
Copy full SHA for a788092 - Browse repository at this point
Copy the full SHA a788092View commit details -
src/controller.h: Extending messages for starting OSC interface by po…
…rt numbers in use.
Configuration menu - View commit details
-
Copy full SHA for a927664 - Browse repository at this point
Copy the full SHA a927664View commit details -
src/networking/oschandler.cpp: Adding documentation. Adding stop() an…
…d mode() methods.
Configuration menu - View commit details
-
Copy full SHA for 6831522 - Browse repository at this point
Copy the full SHA 6831522View commit details -
Configuration menu - View commit details
-
Copy full SHA for b33fdfd - Browse repository at this point
Copy the full SHA b33fdfdView commit details -
src/networking/oscreceiver.cpp: Removing superfluous implementations.…
… Adding/updating documentation.
Configuration menu - View commit details
-
Copy full SHA for 606a90f - Browse repository at this point
Copy the full SHA 606a90fView commit details -
Configuration menu - View commit details
-
Copy full SHA for bf67f58 - Browse repository at this point
Copy the full SHA bf67f58View commit details -
src/networking/oscsender.cpp: Updating documentation. Implementing po…
…ll_clients(), send_to_server() methods.
Configuration menu - View commit details
-
Copy full SHA for 81f46a0 - Browse repository at this point
Copy the full SHA 81f46a0View commit details -
src/networking/oscsender.h: Updating documentation. Adding declaratio…
…n for send_to_server(), _mode string, _source_level and _master_level. Updating server constructor to include OscHandler reference and client_addresses vector.
Configuration menu - View commit details
-
Copy full SHA for 8e168a6 - Browse repository at this point
Copy the full SHA 8e168a6View commit details -
src/controller.h: Updating VERBOSE2 messages for starting osc interfa…
…ce. Updating call to constructor of OSCHandler to include _conf.network_clients and _conf.network_port_send.
Configuration menu - View commit details
-
Copy full SHA for f7bdd21 - Browse repository at this point
Copy the full SHA f7bdd21View commit details -
src/networking/oscreceiver.cpp: Updating OSCReceiver methods to be pa…
…rt of namespace ssr. Changing constructor to be more explicit.
Configuration menu - View commit details
-
Copy full SHA for f99e4b4 - Browse repository at this point
Copy the full SHA f99e4b4View commit details -
src/networking/oscreceiver.h: Changing constructor parameters to be m…
…ore explicit. Adding friend functions to be able to send lo::Messages and lo::Bundles to clients/server in callbacks.
Configuration menu - View commit details
-
Copy full SHA for 7548d11 - Browse repository at this point
Copy the full SHA 7548d11View commit details -
src/networking/oscsender.cpp: Adding methods for sending OSC messages…
… to all clients, server or specific client. Fixing all send methods to use a path std::string, where needed. Making all methods part of namespace ssr. Adding poll_all_clients method to send periodical '/poll' messages to all clients to make them subscribe to the server. Adding std::thread poll_thread to call poll_all_clients in a thread.
Configuration menu - View commit details
-
Copy full SHA for 90b427f - Browse repository at this point
Copy the full SHA 90b427fView commit details -
src/networking/oscsender.h: Adding bool and thread include for poll_a…
…ll_clients method. Adding send_to_client and send_to_all_clients public methods.
Configuration menu - View commit details
-
Copy full SHA for fe8d00e - Browse repository at this point
Copy the full SHA fe8d00eView commit details -
src/networking/oschandler.cpp: Merging client and server constructor.…
… Initializing _osc_sender in body instead of initializer list. Fixing call to set_server_address in friend function. Adding friend functions for sending to client(s) and server for OscReceiver.
Configuration menu - View commit details
-
Copy full SHA for 0c7f71a - Browse repository at this point
Copy the full SHA 0c7f71aView commit details -
src/networking/oschandler.h: Removing explicit client constructor for…
… OscHandler. Adding friend functions for OscReceiver to send messages/bundles to server and client(s).
Configuration menu - View commit details
-
Copy full SHA for c2ea971 - Browse repository at this point
Copy the full SHA c2ea971View commit details -
src/networking/oscreceiver.cpp: Be more specific about the naming of …
…OSC messages (especially source/properties_file) and the naming of variables (especially file_name_or_port_number). Fixing typo in OSC message for reference/orientation and reference_offset/orientation.
Configuration menu - View commit details
-
Copy full SHA for 4e3cfe2 - Browse repository at this point
Copy the full SHA 4e3cfe2View commit details -
src/networking/oscsender.h: Adding new private functions is_client, i…
…s_server, is_new_source, is_complete_source, send_new_source_message_from_id and a map for the collection of source message parts (_new_sources), requiring the adding of apf/parameter_map.h.
Configuration menu - View commit details
-
Copy full SHA for ce5a2ed - Browse repository at this point
Copy the full SHA ce5a2edView commit details -
src/networking/oscsender.cpp: Adding implementation for is_client, is…
…_server and all Subscriber interface functions.
Configuration menu - View commit details
-
Copy full SHA for 9599f9a - Browse repository at this point
Copy the full SHA 9599f9aView commit details -
src/networking/oscreceiver.cpp: Adding callback functions for client …
…to server OSC messages. Fixing typos in server to client callback functions. Renaming processing/state and transport/{state,seek} for clearer interface.
Configuration menu - View commit details
-
Copy full SHA for 849171f - Browse repository at this point
Copy the full SHA 849171fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a215b47 - Browse repository at this point
Copy the full SHA a215b47View commit details -
src/networking/oscsender.cpp: Adding documentation for set_loudspeake…
…rs function. Fixing copy stupidity in set_source_signal_level and changing to new OSC message format in set_transport_state and set_processing_state.
Configuration menu - View commit details
-
Copy full SHA for e42e99d - Browse repository at this point
Copy the full SHA e42e99dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b6337a - Browse repository at this point
Copy the full SHA 3b6337aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4fc7bab - Browse repository at this point
Copy the full SHA 4fc7babView commit details -
src/networking/oschandler.cpp: Fixing accidental std::multimap initia…
…lization in Constructor.
Configuration menu - View commit details
-
Copy full SHA for e8f9600 - Browse repository at this point
Copy the full SHA e8f9600View commit details -
src/networking/oschandler.cpp: Fixing type definition of std::multima…
…p in constructor.
Configuration menu - View commit details
-
Copy full SHA for cb9a3a5 - Browse repository at this point
Copy the full SHA cb9a3a5View commit details -
src/networking/oschandler.cpp: Fixing accidental additional comma in …
…initializer list.
Configuration menu - View commit details
-
Copy full SHA for 1189248 - Browse repository at this point
Copy the full SHA 1189248View commit details -
Configuration menu - View commit details
-
Copy full SHA for 28967ac - Browse repository at this point
Copy the full SHA 28967acView commit details -
src/networking/oschandler.cpp: Fix start/stop functionality. The clas…
…s members were wrongly named and the function declaration insufficient.
Configuration menu - View commit details
-
Copy full SHA for 06a876d - Browse repository at this point
Copy the full SHA 06a876dView commit details -
src/networking/oscsender.cpp: Adding public function to add a lo::Add…
…ress to the vector of clients.
Configuration menu - View commit details
-
Copy full SHA for eddee2d - Browse repository at this point
Copy the full SHA eddee2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 032d50d - Browse repository at this point
Copy the full SHA 032d50dView commit details -
src/networking/oschandler.cpp: Fixing ordering in constructor initial…
…izer list. Adding list of clients to _osc_sender (as lo::Address objects), if server mode is selected. Removing todo about reorder warning.
Configuration menu - View commit details
-
Copy full SHA for 419c50a - Browse repository at this point
Copy the full SHA 419c50aView commit details -
src/networking/oschandler.cpp: Fixing broken operands of accessing me…
…mbers of _osc_sender. Clearly defining function heads for set_server_for_client and server_address to use ssr:OscHandler.
Configuration menu - View commit details
-
Copy full SHA for f621afa - Browse repository at this point
Copy the full SHA f621afaView commit details -
src/networking/oschandler.cpp: Removing accidental copies of send_to_…
…all_clients functions. Properly implementing mode(), OscReceiver::server_address. Fixing access to _osc_sender member.
Configuration menu - View commit details
-
Copy full SHA for e9a9864 - Browse repository at this point
Copy the full SHA e9a9864View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6c0e5ea - Browse repository at this point
Copy the full SHA 6c0e5eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e79dc1 - Browse repository at this point
Copy the full SHA 7e79dc1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 44c5c31 - Browse repository at this point
Copy the full SHA 44c5c31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f2c391 - Browse repository at this point
Copy the full SHA 2f2c391View commit details -
Configuration menu - View commit details
-
Copy full SHA for 580f785 - Browse repository at this point
Copy the full SHA 580f785View commit details -
Configuration menu - View commit details
-
Copy full SHA for ef45045 - Browse repository at this point
Copy the full SHA ef45045View commit details -
src/networking/oscreceiver.cpp: Fix Constructor definition (OscHandle…
…r added to arguments, initializer list reorganized). Set check for client/server mode to use _handler instance. Fixing typo in add_client_to_server_methods, calling agrv instead of argv.
Configuration menu - View commit details
-
Copy full SHA for 37aa3ec - Browse repository at this point
Copy the full SHA 37aa3ecView commit details -
src/networking/oscreceiver.cpp: Using apf::string::A2S() in VERBOSE o…
…utput, where needed. Avoiding unused parameter warning with argv in some lambda functions. Using << in VERBOSE instead of <.
Configuration menu - View commit details
-
Copy full SHA for 643ec51 - Browse repository at this point
Copy the full SHA 643ec51View commit details -
src/networking/oscreceiver.cpp: Using apf::str::A2S to convert member…
…s of lo::Message objects to std::string. Using apf::str::S2A for Source::model_t editing. Adding *this pointer to lambda functions, that require access to _controller.
Configuration menu - View commit details
-
Copy full SHA for f48100d - Browse repository at this point
Copy the full SHA f48100dView commit details -
src/networking/oscreceiver.cpp: Using several if clauses, instead of …
…a switch in the lambda responsible for setting up a new source. Initializing all dependant types earlier.
Configuration menu - View commit details
-
Copy full SHA for aee92c9 - Browse repository at this point
Copy the full SHA aee92c9View commit details -
src/networking/oscreceiver.cpp: Adding namespaces to apf functions in…
… use. Adding this pointer capture to remaining functions needing it. Explicitely converting lo::Message members of type std::string using apf::str::A2S.
Configuration menu - View commit details
-
Copy full SHA for 191ef7d - Browse repository at this point
Copy the full SHA 191ef7dView commit details -
src/networking/oscsender.h: Removing unused member _mode. Moving memb…
…ers around to reflect Constructor implementation.
Configuration menu - View commit details
-
Copy full SHA for a33d902 - Browse repository at this point
Copy the full SHA a33d902View commit details -
src/networking/oscsender.cpp: Adding publisher.h apf/{stringtools,mat…
…h}.h to includes. Removing server specific constructor to reflect header. Fixing initializer list. Fixing Destructor. Fixing start() function VERBOSE printouts. Fixing calls to _handler.mode(). Introducing int32_t for id_t types, when sending OSC messages with id. Various small typo fixes.
Configuration menu - View commit details
-
Copy full SHA for 9d3ba25 - Browse repository at this point
Copy the full SHA 9d3ba25View commit details -
src/networking/oscsender.h: Changing std::thread pointer to object ty…
…pe for _poll_thread. Removing public function poll_clients() (unused).
Configuration menu - View commit details
-
Copy full SHA for 38ca305 - Browse repository at this point
Copy the full SHA 38ca305View commit details -
src/networking/oscsender.cpp: Using a detached std::thread for pollin…
…g all clients instead of joinable std::thread. Making this a server-exclusive feature.
Configuration menu - View commit details
-
Copy full SHA for 1dc41b5 - Browse repository at this point
Copy the full SHA 1dc41b5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3f07df2 - Browse repository at this point
Copy the full SHA 3f07df2View commit details -
configure.ac: Adding liblo libs to LIBS, by checking with pkg-config.…
… Removing useless CPPFLAGS from header check for liblo.
Configuration menu - View commit details
-
Copy full SHA for ce1fda1 - Browse repository at this point
Copy the full SHA ce1fda1View commit details -
src/networking/oscreceiver.cpp: Moving _receiver.stop() to the OscRec…
…eiver.stop() implementation, which wasn't there yet.
Configuration menu - View commit details
-
Copy full SHA for 73ac865 - Browse repository at this point
Copy the full SHA 73ac865View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffc64da - Browse repository at this point
Copy the full SHA ffc64daView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6bfce8 - Browse repository at this point
Copy the full SHA b6bfce8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ee234f - Browse repository at this point
Copy the full SHA 0ee234fView commit details -
src/networking/oscsender.cpp: Adding VERBOSE message to constructor. …
…Fixing _server_address initialization by adding a port.
Configuration menu - View commit details
-
Copy full SHA for dcc794e - Browse repository at this point
Copy the full SHA dcc794eView commit details -
src/networking/oschandler.cpp: Adding further VERBOSE messages to con…
…structor and destructor, start() and stop(). Adding ssr::OscReceiver::send_to_server again, after accidentally deleting it.
Configuration menu - View commit details
-
Copy full SHA for ebcda0c - Browse repository at this point
Copy the full SHA ebcda0cView commit details -
src/networking/oscreceiver.cpp: Adding VERBOSE message to constructur…
…, destructor, start() and stop(). Adding VERBOSE message for each callback method. Adding leading / to all callback listeners (every high-level language, such as SuperCollider and Pd use it that way).
Configuration menu - View commit details
-
Copy full SHA for bf979e8 - Browse repository at this point
Copy the full SHA bf979e8View commit details -
src/networking/oscsender.cpp: Clarifying VERBOSE messages. Adding lea…
…ding / to the path of every send_to_all_clients and send_to_server function call. Making all lo::Message.add() calls type explicit to circumvent ambiguity.
Configuration menu - View commit details
-
Copy full SHA for c98b403 - Browse repository at this point
Copy the full SHA c98b403View commit details -
src/networking/*: Using std::string compare() for all string based if…
… clauses, checking for default server. Using lo:Address hostname() and port() functions to create new addresses. Copying by value in server_address(), to prevent double free.
Configuration menu - View commit details
-
Copy full SHA for 2bb729e - Browse repository at this point
Copy the full SHA 2bb729eView commit details -
src/networking/oscsender.*: Making _client_addresses a vector of poin…
…ters to lo::Address objects. Remodelling add_client() to use std::string for hostname and port instead of a lo::Address. Properly dereferencing all calls to member functions of client objects in _client_addresses. Setting sleep time for poll thread to 1s.
Configuration menu - View commit details
-
Copy full SHA for c886738 - Browse repository at this point
Copy the full SHA c886738View commit details -
src/networking/oschandler.cpp: Adding VERBOSE message before adding c…
…lients. Adding clients using the new add_client() function.
Configuration menu - View commit details
-
Copy full SHA for d7b53e3 - Browse repository at this point
Copy the full SHA d7b53e3View commit details -
Configuration menu - View commit details
-
Copy full SHA for be39415 - Browse repository at this point
Copy the full SHA be39415View commit details -
src/networking/oschandler.h: Adding lo::ServerThread to OscHandler, t…
…o reflect change in configuration branch (only one OSC port needed). Replacing port_in/port_out parameters from Constructor with port. Adding public function declaration for getting a reference to _server.
Configuration menu - View commit details
-
Copy full SHA for 02a0e81 - Browse repository at this point
Copy the full SHA 02a0e81View commit details -
src/networking/oschandler.cpp: Changing constructor to initialize Ser…
…verThread in OscHandler. Removing port_{in,out} usage in constructor. Starting lo::ServerThread in start() implementation. Starting _server after starting _osc_{receiver,sender}. Implementing server() function to return a reference to OscHandler's _server.
Configuration menu - View commit details
-
Copy full SHA for 1ce818e - Browse repository at this point
Copy the full SHA 1ce818eView commit details -
src/networking/oscreceiver.h: Removing lo::ServerThread member from O…
…scReceiver. Removing port_in argument to constructor.
Configuration menu - View commit details
-
Copy full SHA for 59d8301 - Browse repository at this point
Copy the full SHA 59d8301View commit details -
src/networking/oscreceiver.cpp: Removing usage of port_in in construc…
…tor. Removing initialization of a lo::ServerThread in OscReceiver. Replacing all calls to _receiver with _handler.server().
Configuration menu - View commit details
-
Copy full SHA for 38ef6c0 - Browse repository at this point
Copy the full SHA 38ef6c0View commit details -
src/networking/oscsender.h: Removing lo::ServerThread as member of Os…
…cSender. Removing obsolete OscSender Constructor. Removing port_out argument of remaining constructor.
Configuration menu - View commit details
-
Copy full SHA for 61bcea1 - Browse repository at this point
Copy the full SHA 61bcea1View commit details -
src/networking/oscsender.cpp: Removing port_out argument from constru…
…ctor. Updating default server_address to use port 50001. Removing initialization of lo::ServerThread in OscSender. Replacing all calls to _send_from with _handler.server().
Configuration menu - View commit details
-
Copy full SHA for d50157b - Browse repository at this point
Copy the full SHA d50157bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0200518 - Browse repository at this point
Copy the full SHA 0200518View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1379d47 - Browse repository at this point
Copy the full SHA 1379d47View commit details -
src/networking/oscreceiver.cpp: Fixing initializer list in constructo…
…r. Adding initialization of lo::ServerThread reference to add_client_to_server_methods() and add_server_to_client_methods() to properly access the OscHandler's _server member.
Configuration menu - View commit details
-
Copy full SHA for 45c472e - Browse repository at this point
Copy the full SHA 45c472eView commit details -
src/networking/oschandler.h: Adding global int _message_level, defini…
…ng the type of OSC messages sent (very verbose). This should ultimately be a client address based setting, so clients can subscribe to several layers of messages. Adding message_leve() function for returning _message_level. Adding friend functions add_client(), remove_client() for OscReceiver to add and remove clients from the list of clients in OscSender.
Configuration menu - View commit details
-
Copy full SHA for 01a12f8 - Browse repository at this point
Copy the full SHA 01a12f8View commit details -
src/networking/oschandler.cpp: Adding implementations of OscReceiver'…
…s friend functions add_client() and remove_client(). Adding implementation of message_level() function.
Configuration menu - View commit details
-
Copy full SHA for 994fa0a - Browse repository at this point
Copy the full SHA 994fa0aView commit details -
src/networking/oscreceiver.h: Adding functions add_client() and remov…
…e_client() to add and remove clients on OscSender.
Configuration menu - View commit details
-
Copy full SHA for e79797b - Browse repository at this point
Copy the full SHA e79797bView commit details -
src/networking/oscreceiver.cpp: Adding callback function for /subscri…
…be message (adds client to the list of clients). Updating comments for start() and stop(). Changing the /poll callback to use /subscribe by directly calling send_from() on the calling address, instead of using the friend function. Using references for all calls to strings from a lo::Message argument list. Fixing typo in /transport/seek callback function.
Configuration menu - View commit details
-
Copy full SHA for ab0480e - Browse repository at this point
Copy the full SHA ab0480eView commit details -
src/networking/oscsender.h: Creating anonymous namespace for _message…
…_type_false and _message_type_true const std::strings. Adding function server_is_default(), bool_to_message_type(), remove_all_clients() and remove_client().
Configuration menu - View commit details
-
Copy full SHA for 282f225 - Browse repository at this point
Copy the full SHA 282f225View commit details -
src/networking/oscsender.cpp: Adding implementations for server_is_de…
…fault(), bool_to_message_type(), remove_client() and remove_all_clients(). Changing all subscriber interface functions to directly send OSC messages to server/clients (this is very redundant, but needed, as lo::Message loses scope of some data types, if used as before - bug?). Adding VERBOSE messaging to all subscriber interface functions. Adding several layers of OSC message sending verbosity (ultimately planend to be settable by each client individually).
Configuration menu - View commit details
-
Copy full SHA for ad7219a - Browse repository at this point
Copy the full SHA ad7219aView commit details -
src/networking/oscclient.*: Adding class definition and implementatio…
…n for OSC client, which is defined by a lo::Address and an enum class defining the message level.
Configuration menu - View commit details
-
Copy full SHA for 2367dd8 - Browse repository at this point
Copy the full SHA 2367dd8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02969e6 - Browse repository at this point
Copy the full SHA 02969e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8b2c641 - Browse repository at this point
Copy the full SHA 8b2c641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a0fa21 - Browse repository at this point
Copy the full SHA 1a0fa21View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3c0da39 - Browse repository at this point
Copy the full SHA 3c0da39View commit details -
src/networking/oscclient.h: Adding bool for active state. Adding publ…
…ic functions to retrieve the _active state of OscClient objects and deactivating them.
Configuration menu - View commit details
-
Copy full SHA for 24df018 - Browse repository at this point
Copy the full SHA 24df018View commit details -
src/networking/oscclient.cpp: Extending constructor to set _active st…
…ate of OscClient objects to true on initialization. Adding implementation to retrieve the object's _active state. Adding function to deactivate instances of the objects.
Configuration menu - View commit details
-
Copy full SHA for a1d658b - Browse repository at this point
Copy the full SHA a1d658bView commit details -
src/networking/oscclient.h: Shortening member names of enum class Mes…
…sageLevel. Changing _address to be non-const. Returning _address by reference in address().
Configuration menu - View commit details
-
Copy full SHA for 70fdfb5 - Browse repository at this point
Copy the full SHA 70fdfb5View commit details -
src/networking/oscclient.cpp: Adding VERBOSE message to constructor. …
…Changing return type of address() to be a lo::Address reference.
Configuration menu - View commit details
-
Copy full SHA for c9ba518 - Browse repository at this point
Copy the full SHA c9ba518View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa4cdea - Browse repository at this point
Copy the full SHA fa4cdeaView commit details -
src/networking/oscclient.cpp: Adding implementation of activate(). De…
…leting false @param documentation for deactivate().
Configuration menu - View commit details
-
Copy full SHA for a414469 - Browse repository at this point
Copy the full SHA a414469View commit details -
src/networking/oschandler.h: Renaming remove_client() friend function…
… to deactivate_client().
Configuration menu - View commit details
-
Copy full SHA for 935ddf6 - Browse repository at this point
Copy the full SHA 935ddf6View commit details -
src/networking/oschandler.cpp: Changing implementation of remove_clie…
…nt() to deactivate_client().
Configuration menu - View commit details
-
Copy full SHA for b341bf8 - Browse repository at this point
Copy the full SHA b341bf8View commit details -
src/networking/oscreceiver.h: Changing definition of remove_client() …
…to deactivate_client. src/networking/oscreceiver.cpp: Changing call to remove_client() to deactivate_client().
Configuration menu - View commit details
-
Copy full SHA for d555638 - Browse repository at this point
Copy the full SHA d555638View commit details -
src/networking/oscsender.h: Adding OscClient by including oscclient.h…
… and adding std::vector<OscClient*> _clients, (making the std::vector<lo::Address*> _client_addresses obsolete. Replacing remove_all_client_addresses() by remove_all_clients(). Replacing remove_client() by deactivate_client(). Fixing line wrap.
Configuration menu - View commit details
-
Copy full SHA for cfa64ef - Browse repository at this point
Copy the full SHA cfa64efView commit details -
src/networking/oscsender.cpp: Replacing calls to remove_all_client_ad…
…dresses() with remove_all_clients(). Sending /poll only to activated clients. Rewriting add_client() to use _clients, reusing clients that were once subscribed and otherwise adding a new OscClient with MessageLevel::CLIENT. Replacing remove_client() by deactivate_client(), which only deactivates the client object, but never deletes it (this is somewhat a memory leak, if too many clients subscribe, that never reconnect again, as clients are only added to the list/reused from the list, but never deleted). Rewriting all functions in Subscriber interface (that require it) to use _clients instead _client_addresses. This makes proper checks to the client objects activate state (and checks for MessageLevel in the future) possible.
Configuration menu - View commit details
-
Copy full SHA for 0afaab3 - Browse repository at this point
Copy the full SHA 0afaab3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ed5333b - Browse repository at this point
Copy the full SHA ed5333bView commit details -
src/networking/oscsender.cpp: Removing unneeded calls through this po…
…inter. Changing all calls to clients to use ->
Configuration menu - View commit details
-
Copy full SHA for 8823dc9 - Browse repository at this point
Copy the full SHA 8823dc9View commit details -
src/networking/oscsender.cpp: Adding check for size to is_complete_so…
…urce(). Implementing send_new_source_message_from_id(). Fixing various calls to _new_sources, as it would otherwise trigger multiple calls to send_new_source_message_from_id(). Removing server-side execution in set_port_name(), as port_name is a local setting and depends on port_name prefix (which must always be kept local).
Configuration menu - View commit details
-
Copy full SHA for c3d0eab - Browse repository at this point
Copy the full SHA c3d0eabView commit details -
src/networking/oschandler.h: Removing definition of _message_level an…
…d message_level(). src/networking/oschandler.cpp: Removing implementation of message_level().
Configuration menu - View commit details
-
Copy full SHA for 9953866 - Browse repository at this point
Copy the full SHA 9953866View commit details -
src/networking/oscsender.h: Adding MessageLevel type _message_level t…
…o store a clients level of messages sent towards their server. This can be set with the set_message_level() function, defined here.
Configuration menu - View commit details
-
Copy full SHA for 3d7c37c - Browse repository at this point
Copy the full SHA 3d7c37cView commit details -
src/networking/oscsender.cpp: Unifying use of compare for is_client()…
…/is_server(). Switching to using _message_level of OscSender instead of (now deleted) OscHandler in all very fast client to server messages.
Configuration menu - View commit details
-
Copy full SHA for 5a1f74d - Browse repository at this point
Copy the full SHA 5a1f74dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9c2535c - Browse repository at this point
Copy the full SHA 9c2535cView commit details -
src/networking/oscclient.h: Adding include for ssr_global.h for VERBO…
…SE and MessageLevel. Removing enum class MessageLevel (now in ssr_global). src/networking/oscclient.cpp: Removing include for ssr_global.h (now in header).
Configuration menu - View commit details
-
Copy full SHA for cdfa31f - Browse repository at this point
Copy the full SHA cdfa31fView commit details -
src/networking/oscreceiver.h: Adding comment for include. Adding set_…
…message_level() (friend function for OscHandler). Changing add_client to use a MessageLevel parameter. Line wraps. src/networking/oscreceiver.cpp: Style changes for string compare in start(). Updating callback handler for /subscribe message to also be able to set an inital message_level for the client subscribing. Prettifying VERBOSE output in /subscribe callback handler. Adding callback handler for /message_level, enabling clients to set their own message_level (the amount of messages received from the server, defaults to MessageLevel::CLIENT - which is a lot of messages (some unneeded probably) already).
Configuration menu - View commit details
-
Copy full SHA for 0d5f5b9 - Browse repository at this point
Copy the full SHA 0d5f5b9View commit details -
src/networking/oscsender.h: Adding comment for include. Updating add_…
…client() to use an additional parameter for MessageLevel. Adding set_client_message_level(). src/networking/oscsender.cpp: Adding implementation of set_client_message_level(). Changing add_client() to use the MessageLevel provided as parameter. Updating VERBOSE output for add_client().
Configuration menu - View commit details
-
Copy full SHA for a59a95e - Browse repository at this point
Copy the full SHA a59a95eView commit details -
src/networking/oschandler.h: Adding include ssr_global.h for MessageL…
…evel. Updating friend function add_client() to include MessageLevel parameter. adding friend function set_message_level(). src/networking/oschandler.cpp: Updating call to add_client() in constructor and implementation of add_client() to incorporate MessageLevel parameter. Adding implementation of friend function set_message_level().
Configuration menu - View commit details
-
Copy full SHA for f6ff6a5 - Browse repository at this point
Copy the full SHA f6ff6a5View commit details -
src/networking/oscreceiver.h: Splitting add_server_to_client_methods(…
…) into several functions, so they can be applied to server objects as well. src/networking/oscreceiver.cpp: Splitting the implementation of callback handler adding into several functions, so they can be more easily applied fine-grained to server objects as well.
Configuration menu - View commit details
-
Copy full SHA for 1885a08 - Browse repository at this point
Copy the full SHA 1885a08View commit details -
src/networking/oschandler.h: Adding anonymous namespace for some bool…
…2string representations. Adding bool_to_message_type() and bool_to_string() to public interface for VERBOSE messages used throughout OscSender and OscReceiver. src/networking/oschandler.cpp: Adding implementation of bool_to_message_type() and bool_to_string().
Configuration menu - View commit details
-
Copy full SHA for c90d857 - Browse repository at this point
Copy the full SHA c90d857View commit details -
src/networking/oscsender.h: Removing anonymous namespace and function…
… bool_to_message_type. src/networking/oscsender.cpp: Removing implementation of bool_to_message_type() and replacing all calls to it by the version now held by OscHandler.
Configuration menu - View commit details
-
Copy full SHA for 8bba979 - Browse repository at this point
Copy the full SHA 8bba979View commit details -
src/networking/oscreceiver.cpp: Fixing linewraps. Improving readabili…
…ty of all source related VERBOSE messages by adding more relevant output derived from incoming message.
Configuration menu - View commit details
-
Copy full SHA for ebcf35c - Browse repository at this point
Copy the full SHA ebcf35cView commit details -
src/networking/oschandler.*: Adding public definition and implementat…
…ion of is_server() and is_client().
Configuration menu - View commit details
-
Copy full SHA for 9331db6 - Browse repository at this point
Copy the full SHA 9331db6View commit details -
src/networking/oscsender.*: Replacing all calls to is_server() and is…
…_client() by the versions from OscHandler. Removing is_client() and is_server() declarations and implementations.
Configuration menu - View commit details
-
Copy full SHA for e9dd3da - Browse repository at this point
Copy the full SHA e9dd3daView commit details -
src/networking/oscreceiver.cpp: Using is_server() and is_client() in …
…start(). Improving VERBOSE output of reference, reference_offset, scene, processing and transport message handlers by adding information on caller and displaying whole message sent properly.
Configuration menu - View commit details
-
Copy full SHA for ddcf7e3 - Browse repository at this point
Copy the full SHA ddcf7e3View commit details -
src/networking/oscsender.cpp, src/networking/oscsender.cpp: Renaming …
…all source related mentions of volume to gain to be consistent with the Publisher/Subscriber interface.
Configuration menu - View commit details
-
Copy full SHA for 6005596 - Browse repository at this point
Copy the full SHA 6005596View commit details -
src/networking/oscreceiver.cpp: Minor fixes in comments. TODO for exc…
…eption handling in is_new_source(). Erasing source information from _new_sources after the /source/new message has been sent to clients.
Configuration menu - View commit details
-
Copy full SHA for 3570ed4 - Browse repository at this point
Copy the full SHA 3570ed4View commit details -
src/networking/oscsender.cpp: Erasing source from _new_sources once t…
…he assembled /source/new message has been sent out to clients. TODO about exception handling in is_new_source().
Configuration menu - View commit details
-
Copy full SHA for d239eff - Browse repository at this point
Copy the full SHA d239effView commit details -
src/networking/oscsender.*: Adding private member for setting the /po…
…ll message frequency in milliseconds. Removing commented, now obsolete function bool_to_message_type().
Configuration menu - View commit details
-
Copy full SHA for 0f6ea8c - Browse repository at this point
Copy the full SHA 0f6ea8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ad7515 - Browse repository at this point
Copy the full SHA 2ad7515View commit details -
src/networking/oscreceiver.cpp: Adding callback function for /source/…
…file_channel. Renaming all channel variables to file_channel for consistency. src/networking/oscsender.cpp: Renaming all channel variables to file_channel for consistency.
Configuration menu - View commit details
-
Copy full SHA for a6605f0 - Browse repository at this point
Copy the full SHA a6605f0View commit details -
src/networking/oscreceiver.cpp: Making VERBOSE output of /update call…
…back handlers more readable, adhering to the output of the other handlers. Fixing line wraps.
Configuration menu - View commit details
-
Copy full SHA for 1a6ebab - Browse repository at this point
Copy the full SHA 1a6ebabView commit details -
src/networking/oscreceiver.cpp: Capturing *this for callbacks, that n…
…eed to access its functions.
Configuration menu - View commit details
-
Copy full SHA for 50eac35 - Browse repository at this point
Copy the full SHA 50eac35View commit details -
src/networking/oscreceiver.cpp: Changing VERBOSE output to 'Added cal…
…lback...' instead of 'Added method...' for each callback add.
Configuration menu - View commit details
-
Copy full SHA for d186620 - Browse repository at this point
Copy the full SHA d186620View commit details -
src/networking/oscreceiver.cpp: Ordering all callback handlers alphab…
…etically for readability. Unifying output style of message types.
Configuration menu - View commit details
-
Copy full SHA for 976dbda - Browse repository at this point
Copy the full SHA 976dbdaView commit details -
src/networking/oscreceiver.cpp: Moving call to add_processing_methods…
…() to alphabetical location. Changing VERBOSE messages in /subscribe and /message_level callbacks to adhere to style standard. Raising VERBOSE messages for /transport/seek and /transport/state messages to VERBOSE3.
Configuration menu - View commit details
-
Copy full SHA for e2e041f - Browse repository at this point
Copy the full SHA e2e041fView commit details -
src/networking/oscreceiver.cpp: Adding various TODOs. Fixing errernou…
…s call to unitialized variable in /message_level callback handler. Adding First prototype of variable string for client/server VERBOSE message.
Configuration menu - View commit details
-
Copy full SHA for ec48974 - Browse repository at this point
Copy the full SHA ec48974View commit details -
src/networking/oscreceiver.h: Using std::strings for hostname and por…
…t in set_message_level(). src/networking/oscreceiver.cpp: Adding /message_level ssi callback handler. src/networking/oschandler.h: Changing definition of set_message_level friend function to use std::string types for hostname and port instead of a lo::Address. src/networking/oschandler.cpp: Changing OscReceiver::set_message_level() parameters to use std::strings for hostname and port instead of a lo::Address and updating documentation for the function.
Configuration menu - View commit details
-
Copy full SHA for 408cd90 - Browse repository at this point
Copy the full SHA 408cd90View commit details -
src/networking/*: Adding callback handlers for /subscribe {Fss,Tssi}.…
… Rewriting add_client() and deactivate_client() to use std::string for hostname and port instead of a lo::Address object.
Configuration menu - View commit details
-
Copy full SHA for 394d79f - Browse repository at this point
Copy the full SHA 394d79fView commit details -
src/networking/*: Changing OscSender's _server_address to _server of …
…type OscClient, to have easier control over MessageLevel of the server for clients, using the same functionality. Refactoring all involved functions. Making all setters for the lo::Address fields use reference type parameters.
Configuration menu - View commit details
-
Copy full SHA for 7a81d3c - Browse repository at this point
Copy the full SHA 7a81d3cView commit details -
src/networking/*: Removing _client_addresses from OscSender and repla…
…cing all calls to it by calls to _clients. Adding set_server_message_level(), to set the MessageLevel of a clients representation of a server. Minor fixes.
Configuration menu - View commit details
-
Copy full SHA for ec7244e - Browse repository at this point
Copy the full SHA ec7244eView commit details -
src/networking/*: Renaming set_message_level() to set_client_message_…
…level() in OscHandler/OscReceiver in alignment with set_client_message_level() in OscSender for better readability.
Configuration menu - View commit details
-
Copy full SHA for b917545 - Browse repository at this point
Copy the full SHA b917545View commit details -
Configuration menu - View commit details
-
Copy full SHA for fae6c39 - Browse repository at this point
Copy the full SHA fae6c39View commit details -
src/ssr_global.h: Adding GUI_SERVER to MessageLevel enum class for me…
…ssages only meant for GUI updates. Making int representation implicit.
Configuration menu - View commit details
-
Copy full SHA for 0d020e4 - Browse repository at this point
Copy the full SHA 0d020e4View commit details -
src/networking/oscsender.cpp: Changing all MessageLevel checks for cl…
…ients, when trying to send to server from GUI_CLIENT to GUI_SERVER.
Configuration menu - View commit details
-
Copy full SHA for ee00790 - Browse repository at this point
Copy the full SHA ee00790View commit details -
src/networking/*: Renaming OscSender::server_is(std::string& hostname…
…, std::string& port) to OscSender::is_server(std::string& hostname, std::string& port) for better readability. Changing in all of its use-cases.
Configuration menu - View commit details
-
Copy full SHA for a817281 - Browse repository at this point
Copy the full SHA a817281View commit details -
src/networking/oscreceiver.*: Renaming add_poll_methods() to add_serv…
…er_to_client_methods(). Making /source/new callback more robust, by only initializing with OSC message types, once the understood type tags have been found. Minor line break fix.
Configuration menu - View commit details
-
Copy full SHA for ab13fd9 - Browse repository at this point
Copy the full SHA ab13fd9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7562b9 - Browse repository at this point
Copy the full SHA c7562b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d4f6f7d - Browse repository at this point
Copy the full SHA d4f6f7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbc2852 - Browse repository at this point
Copy the full SHA fbc2852View commit details -
src/networking/*: Implementing from_is() functionality in OscHandler,…
… returning a const std::string, depending on whether the handler is server or client. Implementing from_is() in all VERBOSE messages in client/server callbacks.
Configuration menu - View commit details
-
Copy full SHA for cd3dcb9 - Browse repository at this point
Copy the full SHA cd3dcb9View commit details -
src/networking/*: Adding client_has_message_level() to OscSender (and…
… to OscReceiver by OscHandler friend function) to check for MessageLevel of a client defined by hostname and port. Applying checks to whether caller of a message is the server currently setup (client mode) or if a client exists with a MessageLevel::SERVER (server mode) to be able to shut out unsolicited OSC messages to clients and servers. This way clients only listen to servers subscribed to and servers only to clients with a MessageLevel of SERVER.
Configuration menu - View commit details
-
Copy full SHA for c5b0682 - Browse repository at this point
Copy the full SHA c5b0682View commit details -
Configuration menu - View commit details
-
Copy full SHA for 34df06e - Browse repository at this point
Copy the full SHA 34df06eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 26ba4ea - Browse repository at this point
Copy the full SHA 26ba4eaView commit details -
src/networking/oschandler.cpp: Fix missing return statement in ssr::O…
…scReceiver::client_has_message_level() friend function implementation.
Configuration menu - View commit details
-
Copy full SHA for 17b813a - Browse repository at this point
Copy the full SHA 17b813aView commit details -
src/networking/oscreceiver.cpp: Adding client callbacks for /cpu_load…
… with MessageLevel GUI_CLIENT. Adding callback for /source/file_name_or_port_number. Adding callback for /source/level. Adding callback for /scene/amplitude_reference_distance, /scene/auto_rotate_sources, /scene/decay_exponent. Adding callback for /update/scene/master_signal_level. src/networking/oscsender.cpp: Updating check for MessageLevel in ssr:OscSender::client_has_message_level() to check if client is active. Adding server-side implementation to ssr::OscSender::set_cpu_load(). Removing server-side implementation from ssr::OscSender::set_sample_rate(). Sending messages only to GUI_CLIENT clients in set_source_signal_level(), set_master_signal_level(). Removing obsolete TODOs. Minor fixes.
Configuration menu - View commit details
-
Copy full SHA for d6b90d1 - Browse repository at this point
Copy the full SHA d6b90d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for a465024 - Browse repository at this point
Copy the full SHA a465024View commit details -
src/ssr_global.h: Removing unused field THIN_CLIENT from enum class M…
…essageLevel. Moving SERVER and GUI_SERVER to the top values.
Configuration menu - View commit details
-
Copy full SHA for 66e8bd5 - Browse repository at this point
Copy the full SHA 66e8bd5View commit details -
src/networking/oscreceiver.cpp: Making callback for /update/source/mu…
…te and /update/source/position_fixed more robust. Switching to VERBOSE2 (from VERBOSE3) in callback handlers for all non-rapid messages.
Configuration menu - View commit details
-
Copy full SHA for aa39998 - Browse repository at this point
Copy the full SHA aa39998View commit details -
src/networking/oscsender.cpp: Moving check for file_name_or_port_numb…
…er property to within statement checking for new_source in OscSender::set_source_mute (preventing accidental sending on server, before source is created). Moving check for file_channel property to within statement checking for new source in OscSender::set_source_properties_file (preventing accidental sending on server, before source is created). Moving check for file_channel > 0 to within statement checking for new source in OscSender::set_source_file_channel to prevent an unfinished source in _new_sources. Setting client check to <= GUI_CLIENT for OscSender::set_transport_state and to == GUI_CLIENT for OscSender::set_source_signal_level. Using std::string reference directly in VERBOSE messages of functions having string parameters and c_str() representation for sending OSC messages to not initialize an unneeded variable every time.
Configuration menu - View commit details
-
Copy full SHA for 46dd7c2 - Browse repository at this point
Copy the full SHA 46dd7c2View commit details -
src/networking/oscreceiver.cpp: Switching to setting initial gain of …
…a source on the logarithmic scale (to be coherent with the IP interface and how /source/gain handles things).
Configuration menu - View commit details
-
Copy full SHA for 7add407 - Browse repository at this point
Copy the full SHA 7add407View commit details -
src/networking/oscsender.cpp: Wrapping all VERBOSE output information…
… about hostname:port in ''. Minor linewrap fixes.
Configuration menu - View commit details
-
Copy full SHA for 1b93585 - Browse repository at this point
Copy the full SHA 1b93585View commit details -
src/networking/*: Adding functionality to discard inactive clients au…
…tomatically after 10 seconds. No more messages will be sent to them, as long as they don't subscribe again.
Configuration menu - View commit details
-
Copy full SHA for eb98369 - Browse repository at this point
Copy the full SHA eb98369View commit details -
src/networking/*: Let calls to increment_client_alive_counter in OSCR…
…eceiver implicitely copy by value.
Configuration menu - View commit details
-
Copy full SHA for cbefee9 - Browse repository at this point
Copy the full SHA cbefee9View commit details -
src/ssr_global.h: Extending MessageLevel by MAX_VALUE.
src/networking/*: Making assignment of client/server MessageLevel sane.
Configuration menu - View commit details
-
Copy full SHA for a76e690 - Browse repository at this point
Copy the full SHA a76e690View commit details -
src/networking/oschandler.cpp: Adding exit with EXIT_FAILURE, in case…
… the ServerThread could not be initialized (most likely due to port already being in use).
Configuration menu - View commit details
-
Copy full SHA for 34669e6 - Browse repository at this point
Copy the full SHA 34669e6View commit details -
src/networking/oscreceiver.cpp: Adding check, if id > 0 to all source…
… related callbacks.
Configuration menu - View commit details
-
Copy full SHA for 3bb0b96 - Browse repository at this point
Copy the full SHA 3bb0b96View commit details -
src/networking/oscreceiver.cpp: Using the linear scale, instead of lo…
…garithmic scale for setting source gain. A range form 0.0 - inf is used, where 1.0 signifies 100% source level.
Configuration menu - View commit details
-
Copy full SHA for 9fd8b02 - Browse repository at this point
Copy the full SHA 9fd8b02View commit details -
Merge branch 'networking-with-osc' of github:dvzrv/ssr into networkin…
…g-with-osc * 'networking-with-osc' of github:dvzrv/ssr: (165 commits) src/networking/oscreceiver.cpp: Using the linear scale, instead of logarithmic scale for setting source gain. A range form 0.0 - inf is used, where 1.0 signifies 100% source level. Revert "Merge remote-tracking branch 'origin/gitignore-entries' into networking-with-osc" src/networking/oscreceiver.cpp: Adding check, if id > 0 to all source related callbacks. src/networking/oschandler.cpp: Adding exit with EXIT_FAILURE, in case the ServerThread could not be initialized (most likely due to port already being in use). src/ssr_global.h: Extending MessageLevel by MAX_VALUE. src/networking/*: Making assignment of client/server MessageLevel sane. src/networking/*: Let calls to increment_client_alive_counter in OSCReceiver implicitely copy by value. src/networking/*: Adding functionality to discard inactive clients automatically after 10 seconds. No more messages will be sent to them, as long as they don't subscribe again. src/networking/oscsender.cpp: Wrapping all VERBOSE output information about hostname:port in ''. Minor linewrap fixes. src/networking/oscreceiver.cpp: Switching to setting initial gain of a source on the logarithmic scale (to be coherent with the IP interface and how /source/gain handles things). src/networking/oscsender.cpp: Moving check for file_name_or_port_number property to within statement checking for new_source in OscSender::set_source_mute (preventing accidental sending on server, before source is created). Moving check for file_channel property to within statement checking for new source in OscSender::set_source_properties_file (preventing accidental sending on server, before source is created). Moving check for file_channel > 0 to within statement checking for new source in OscSender::set_source_file_channel to prevent an unfinished source in _new_sources. Setting client check to <= GUI_CLIENT for OscSender::set_transport_state and to == GUI_CLIENT for OscSender::set_source_signal_level. Using std::string reference directly in VERBOSE messages of functions having string parameters and c_str() representation for sending OSC messages to not initialize an unneeded variable every time. src/networking/oscreceiver.cpp: Making callback for /update/source/mute and /update/source/position_fixed more robust. Switching to VERBOSE2 (from VERBOSE3) in callback handlers for all non-rapid messages. src/ssr_global.h: Removing unused field THIN_CLIENT from enum class MessageLevel. Moving SERVER and GUI_SERVER to the top values. src/networking/oscreceiver.h: Remove obsolete todo. src/networking/oscreceiver.cpp: Adding client callbacks for /cpu_load with MessageLevel GUI_CLIENT. Adding callback for /source/file_name_or_port_number. Adding callback for /source/level. Adding callback for /scene/amplitude_reference_distance, /scene/auto_rotate_sources, /scene/decay_exponent. Adding callback for /update/scene/master_signal_level. src/networking/oscsender.cpp: Updating check for MessageLevel in ssr:OscSender::client_has_message_level() to check if client is active. Adding server-side implementation to ssr::OscSender::set_cpu_load(). Removing server-side implementation from ssr::OscSender::set_sample_rate(). Sending messages only to GUI_CLIENT clients in set_source_signal_level(), set_master_signal_level(). Removing obsolete TODOs. Minor fixes. src/networking/oschandler.cpp: Fix missing return statement in ssr::OscReceiver::client_has_message_level() friend function implementation. src/publisher.h: Adding set_source_file_name() to public Publisher interface. src/networking/oscreceiver.cpp: Removing obsolete TODOs. src/networking/*: Adding client_has_message_level() to OscSender (and to OscReceiver by OscHandler friend function) to check for MessageLevel of a client defined by hostname and port. Applying checks to whether caller of a message is the server currently setup (client mode) or if a client exists with a MessageLevel::SERVER (server mode) to be able to shut out unsolicited OSC messages to clients and servers. This way clients only listen to servers subscribed to and servers only to clients with a MessageLevel of SERVER. src/networking/*: Implementing from_is() functionality in OscHandler, returning a const std::string, depending on whether the handler is server or client. Implementing from_is() in all VERBOSE messages in client/server callbacks. src/networking/oscsender.cpp: Fixing broken string line wrap in VERBOSE. ...
Configuration menu - View commit details
-
Copy full SHA for 4f62cd4 - Browse repository at this point
Copy the full SHA 4f62cd4View commit details -
supercollider/workflows.scd: Adding workflow example for 'sclang is a…
… client controlling the server' and 'sclang mimics a server, controls a client'.
Configuration menu - View commit details
-
Copy full SHA for af9c2c9 - Browse repository at this point
Copy the full SHA af9c2c9View commit details -
supercollider/workflows.scd: Adding Sensors2OSC example, setting refe…
…rence orientation through orientation sensor and two sources through multi-touch interface.
Configuration menu - View commit details
-
Copy full SHA for 74d944a - Browse repository at this point
Copy the full SHA 74d944aView commit details -
supercollider/workflows.scd: Fixing input creation and source volume.…
… Introducing /alive message on receiving /poll from server. Controlling /reference/orientation with /orientation/X from Sensors2OSC. Deactivating verbose printout on each received message.
Configuration menu - View commit details
-
Copy full SHA for ebc1eb4 - Browse repository at this point
Copy the full SHA ebc1eb4View commit details -
Merge branch 'sclang-workflows' of github:dvzrv/ssr into sclang-workf…
…lows * 'sclang-workflows' of github:dvzrv/ssr: supercollider/workflows.scd: Fixing input creation and source volume. Introducing /alive message on receiving /poll from server. Controlling /reference/orientation with /orientation/X from Sensors2OSC. Deactivating verbose printout on each received message. supercollider/workflows.scd: Adding Sensors2OSC example, setting reference orientation through orientation sensor and two sources through multi-touch interface. supercollider/workflows.scd: Adding workflow example for 'sclang is a client controlling the server' and 'sclang mimics a server, controls a client'.
Configuration menu - View commit details
-
Copy full SHA for c6754c0 - Browse repository at this point
Copy the full SHA c6754c0View commit details -
Merge branch 'configuration-client-server' into networking-with-osc
* configuration-client-server: (24 commits) src/configuration.*: Adding function to retrieve a valid network port from a char. If chosen port is < 0, a well-known port, or not in the range of IANA suggested ephemeral ports, the standard port 50001 will be used. data/ssr.conf.example: Dropping NETWORK_PORT_{SEND,RECEIVE} in favor of OSC_PORT (which defaults to 50001). Updating NETWORK_CLIENTS example accordingly. Clarifying NETWORK_MODE comment. src/configuration.h: Dropping network_port_{send,receive} in favor of osc_port. src/configuration.cpp: Dropping network-port-{send,receive} in favor of osc-port. Using only hyphen instead of underscore for option strings. data/ssr.conf.example: Fixing the example string used for clients. src/configuration.cpp: Using the multimap of client information by reference. Fixing a missing comma in the help output of ssr. src/configuration.cpp: parse_network_clients removing printouts of names, adding VERBOSE2 messages about which clients are added. Moving remove_whitespace to ssr namespace. src/configuration.h: Defining remove_whitespace in ssr namespace. src/configuration.cpp: Renaming trim to remove_whitespace. Moving curly bracket to next line in parse_network_clients. src/configuration.cpp: First version of functionality to parse network clients and ports from flag or configuration file. Adding flags for network-mode, network-port-receive, network-port-send and network-clients. src/configuration.h: Turning network_clients field into a multimap to have unique keys. src/configuration.h: Adding struct members for networking mode. data/ssr.conf.example: Adding networking configuration. src/configuration.*: Adding function to retrieve a valid network port from a char. If chosen port is < 0, a well-known port, or not in the range of IANA suggested ephemeral ports, the standard port 50001 will be used. data/ssr.conf.example: Dropping NETWORK_PORT_{SEND,RECEIVE} in favor of OSC_PORT (which defaults to 50001). Updating NETWORK_CLIENTS example accordingly. Clarifying NETWORK_MODE comment. src/configuration.h: Dropping network_port_{send,receive} in favor of osc_port. src/configuration.cpp: Dropping network-port-{send,receive} in favor of osc-port. Using only hyphen instead of underscore for option strings. data/ssr.conf.example: Fixing the example string used for clients. src/configuration.cpp: Using the multimap of client information by reference. Fixing a missing comma in the help output of ssr. src/configuration.cpp: parse_network_clients removing printouts of names, adding VERBOSE2 messages about which clients are added. Moving remove_whitespace to ssr namespace. src/configuration.h: Defining remove_whitespace in ssr namespace. src/configuration.cpp: Renaming trim to remove_whitespace. Moving curly bracket to next line in parse_network_clients. ...
Configuration menu - View commit details
-
Copy full SHA for b05baf0 - Browse repository at this point
Copy the full SHA b05baf0View commit details -
supercollider/tests.scd: Adding tests for server and client (subscrib…
…ed and not subscribed).
Configuration menu - View commit details
-
Copy full SHA for 965bf52 - Browse repository at this point
Copy the full SHA 965bf52View commit details -
supercollider/tests.scd: Adding separate function to add n sources. A…
…dding sourceTestAdding to source movement test. Making sourceTestMoving function use a Routine to move n sources randomly for 100 seconds, each 100ms.
Configuration menu - View commit details
-
Copy full SHA for 406a06b - Browse repository at this point
Copy the full SHA 406a06bView commit details -
Merge branch 'osc-tests' of github:dvzrv/ssr into osc-tests
* 'osc-tests' of github:dvzrv/ssr: supercollider/tests.scd: Adding separate function to add n sources. Adding sourceTestAdding to source movement test. Making sourceTestMoving function use a Routine to move n sources randomly for 100 seconds, each 100ms. supercollider/tests.scd: Adding tests for server and client (subscribed and not subscribed).
Configuration menu - View commit details
-
Copy full SHA for 29fed64 - Browse repository at this point
Copy the full SHA 29fed64View commit details -
Merge branch 'osc-tests' into networking-with-osc
* osc-tests: supercollider/tests.scd: Adding separate function to add n sources. Adding sourceTestAdding to source movement test. Making sourceTestMoving function use a Routine to move n sources randomly for 100 seconds, each 100ms. supercollider/tests.scd: Adding tests for server and client (subscribed and not subscribed). supercollider/tests.scd: Adding separate function to add n sources. Adding sourceTestAdding to source movement test. Making sourceTestMoving function use a Routine to move n sources randomly for 100 seconds, each 100ms. supercollider/tests.scd: Adding tests for server and client (subscribed and not subscribed).
Configuration menu - View commit details
-
Copy full SHA for 11e1cf1 - Browse repository at this point
Copy the full SHA 11e1cf1View commit details
Commits on Dec 16, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 2c9ec30 - Browse repository at this point
Copy the full SHA 2c9ec30View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5410521 - Browse repository at this point
Copy the full SHA 5410521View commit details -
Merge branch 'sclang-workflows' into networking-with-osc
* sclang-workflows: supercollider/workflows.scd: Fixing input creation and source volume. Introducing /alive message on receiving /poll from server. Controlling /reference/orientation with /orientation/X from Sensors2OSC. Deactivating verbose printout on each received message. supercollider/workflows.scd: Adding Sensors2OSC example, setting reference orientation through orientation sensor and two sources through multi-touch interface. supercollider/workflows.scd: Adding workflow example for 'sclang is a client controlling the server' and 'sclang mimics a server, controls a client'. supercollider/workflows.scd: Fixing input creation and source volume. Introducing /alive message on receiving /poll from server. Controlling /reference/orientation with /orientation/X from Sensors2OSC. Deactivating verbose printout on each received message. supercollider/workflows.scd: Adding Sensors2OSC example, setting reference orientation through orientation sensor and two sources through multi-touch interface. supercollider/workflows.scd: Adding workflow example for 'sclang is a client controlling the server' and 'sclang mimics a server, controls a client'.
Configuration menu - View commit details
-
Copy full SHA for 31dd677 - Browse repository at this point
Copy the full SHA 31dd677View commit details