Skip to content
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

Open
wants to merge 373 commits into
base: master
Choose a base branch
from
This pull request is big! We’re only showing the most recent 250 commits.

Commits on Jun 1, 2017

  1. 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).
    dvzrv committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    964756b View commit details
    Browse the repository at this point in the history
  2. 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().
    dvzrv committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    64c5e72 View commit details
    Browse the repository at this point in the history
  3. 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().
    dvzrv committed Jun 1, 2017
    Configuration menu
    Copy the full SHA
    c988b9a View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2017

  1. 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.
    dvzrv committed Jun 2, 2017
    Configuration menu
    Copy the full SHA
    58be8ea View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2017

  1. 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().
    dvzrv committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    92470da View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    4c1646f View commit details
    Browse the repository at this point in the history
  3. src/networking/oscreceiver.cpp: Fixing linewraps. Improving readabili…

    …ty of all source related VERBOSE messages by adding more relevant output derived from incoming message.
    dvzrv committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    89d4f79 View commit details
    Browse the repository at this point in the history

Commits on Jun 4, 2017

  1. src/networking/oschandler.*: Adding public definition and implementat…

    …ion of is_server() and is_client().
    dvzrv committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    30b547b View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    c948656 View commit details
    Browse the repository at this point in the history
  3. 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.
    dvzrv committed Jun 4, 2017
    Configuration menu
    Copy the full SHA
    7bdfc6d View commit details
    Browse the repository at this point in the history

Commits on Jun 5, 2017

  1. 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.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    181d625 View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    da910cc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d50da83 View commit details
    Browse the repository at this point in the history
  4. 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().
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    941d654 View commit details
    Browse the repository at this point in the history
  5. 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.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    a60d262 View commit details
    Browse the repository at this point in the history
  6. src/networking/oscsender.*: Adding private member for setting the /po…

    …ll message frequency in milliseconds. Removing commented, now obsolete function bool_to_message_type().
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    d12b118 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f91e370 View commit details
    Browse the repository at this point in the history
  8. 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.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    60f4c9c View commit details
    Browse the repository at this point in the history
  9. 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.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    89fd1f5 View commit details
    Browse the repository at this point in the history
  10. src/networking/oscreceiver.cpp: Capturing *this for callbacks, that n…

    …eed to access its functions.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    f00c516 View commit details
    Browse the repository at this point in the history
  11. src/networking/oscreceiver.cpp: Changing VERBOSE output to 'Added cal…

    …lback...' instead of 'Added method...' for each callback add.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    16e8fcd View commit details
    Browse the repository at this point in the history
  12. src/networking/oscreceiver.cpp: Ordering all callback handlers alphab…

    …etically for readability. Unifying output style of message types.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    2c77126 View commit details
    Browse the repository at this point in the history
  13. 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.
    dvzrv committed Jun 5, 2017
    Configuration menu
    Copy the full SHA
    10147c2 View commit details
    Browse the repository at this point in the history

Commits on Jun 6, 2017

  1. 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.
    dvzrv committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    fef26e9 View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    1a22195 View commit details
    Browse the repository at this point in the history
  3. 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.
    dvzrv committed Jun 6, 2017
    Configuration menu
    Copy the full SHA
    4079bf1 View commit details
    Browse the repository at this point in the history

Commits on Jun 16, 2017

  1. 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.
    dvzrv committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    8e58d47 View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jun 16, 2017
    Configuration menu
    Copy the full SHA
    8a3c30a View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2017

  1. 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.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    49612ff View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cb6f8f7 View commit details
    Browse the repository at this point in the history
  3. src/ssr_global.h: Adding GUI_SERVER to MessageLevel enum class for me…

    …ssages only meant for GUI updates. Making int representation implicit.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    535f8e1 View commit details
    Browse the repository at this point in the history
  4. src/networking/oscsender.cpp: Changing all MessageLevel checks for cl…

    …ients, when trying to send to server from GUI_CLIENT to GUI_SERVER.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    9ee4df3 View commit details
    Browse the repository at this point in the history
  5. 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.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    2f8d25e View commit details
    Browse the repository at this point in the history
  6. 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.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    19084d7 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    37c323b View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f6435bd View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    d80e052 View commit details
    Browse the repository at this point in the history
  10. 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.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    15fe3dd View commit details
    Browse the repository at this point in the history
  11. 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.
    dvzrv committed Jun 17, 2017
    Configuration menu
    Copy the full SHA
    0f1f811 View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2017

  1. Configuration menu
    Copy the full SHA
    ad0b562 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c1d4b38 View commit details
    Browse the repository at this point in the history
  3. src/networking/oschandler.cpp: Fix missing return statement in ssr::O…

    …scReceiver::client_has_message_level() friend function implementation.
    dvzrv committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    651da3b View commit details
    Browse the repository at this point in the history
  4. 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.
    dvzrv committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    f102eaf View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    38c49db View commit details
    Browse the repository at this point in the history
  6. src/ssr_global.h: Removing unused field THIN_CLIENT from enum class M…

    …essageLevel. Moving SERVER and GUI_SERVER to the top values.
    dvzrv committed Jun 18, 2017
    Configuration menu
    Copy the full SHA
    5d23744 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2017

  1. 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.
    dvzrv committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    159107d View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jun 19, 2017
    Configuration menu
    Copy the full SHA
    b785d0e View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2017

  1. supercollider/workflows.scd: Adding workflow example for 'sclang is a…

    … client controlling the server' and 'sclang mimics a server, controls a client'.
    dvzrv committed Jun 21, 2017
    Configuration menu
    Copy the full SHA
    86ecfff View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2017

  1. supercollider/tests.scd: Adding tests for server and client (subscrib…

    …ed and not subscribed).
    dvzrv committed Jun 24, 2017
    Configuration menu
    Copy the full SHA
    ac12dd1 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2017

  1. 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.
    dvzrv committed Jun 28, 2017
    Configuration menu
    Copy the full SHA
    a3b020b View commit details
    Browse the repository at this point in the history
  2. 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).
    dvzrv committed Jun 28, 2017
    Configuration menu
    Copy the full SHA
    1d44008 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2017

  1. src/networking/oscsender.cpp: Wrapping all VERBOSE output information…

    … about hostname:port in ''. Minor linewrap fixes.
    dvzrv committed Jun 29, 2017
    Configuration menu
    Copy the full SHA
    ffb473c View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2017

  1. 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.
    dvzrv committed Jul 10, 2017
    Configuration menu
    Copy the full SHA
    de68cce View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2017

  1. src/networking/*: Let calls to increment_client_alive_counter in OSCR…

    …eceiver implicitely copy by value.
    dvzrv committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    d25f975 View commit details
    Browse the repository at this point in the history
  2. src/ssr_global.h: Extending MessageLevel by MAX_VALUE.

    src/networking/*: Making assignment of client/server MessageLevel sane.
    dvzrv committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    8eddc1f View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2017

  1. 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.
    dvzrv committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    7f2abb4 View commit details
    Browse the repository at this point in the history
  2. 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).
    dvzrv committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    82cfa57 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2017

  1. src/networking/oscreceiver.cpp: Adding check, if id > 0 to all source…

    … related callbacks.
    dvzrv committed Jul 13, 2017
    Configuration menu
    Copy the full SHA
    e2eabb5 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2017

  1. Revert "Merge remote-tracking branch 'origin/gitignore-entries' into …

    …networking-with-osc"
    
    This reverts commit b8c0747, reversing
    changes made to 7f102e6.
    dvzrv committed Jul 25, 2017
    Configuration menu
    Copy the full SHA
    927bf47 View commit details
    Browse the repository at this point in the history
  2. 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.
    dvzrv committed Jul 25, 2017
    Configuration menu
    Copy the full SHA
    df44f14 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2017

  1. supercollider/workflows.scd: Adding Sensors2OSC example, setting refe…

    …rence orientation through orientation sensor and two sources through multi-touch interface.
    dvzrv committed Jul 27, 2017
    Configuration menu
    Copy the full SHA
    80d9d3e View commit details
    Browse the repository at this point in the history

Commits on Aug 18, 2017

  1. 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.
    dvzrv committed Aug 18, 2017
    Configuration menu
    Copy the full SHA
    195fef2 View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2018

  1. Configuration menu
    Copy the full SHA
    f57b696 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    06c9e74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a7bf9c8 View commit details
    Browse the repository at this point in the history
  4. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    13ede39 View commit details
    Browse the repository at this point in the history
  5. src/configuration.cpp: Renaming trim to remove_whitespace. Moving cur…

    …ly bracket to next line in parse_network_clients.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    3122871 View commit details
    Browse the repository at this point in the history
  6. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    94beaba View commit details
    Browse the repository at this point in the history
  7. src/configuration.cpp: Using the multimap of client information by re…

    …ference. Fixing a missing comma in the help output of ssr.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    3b0e427 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    fc0ae5f View commit details
    Browse the repository at this point in the history
  9. src/configuration.cpp: Dropping network-port-{send,receive} in favor …

    …of osc-port. Using only hyphen instead of underscore for option strings.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    0d94cca View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    74e5142 View commit details
    Browse the repository at this point in the history
  11. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    9f1a8c8 View commit details
    Browse the repository at this point in the history
  12. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    cac6fcd View commit details
    Browse the repository at this point in the history
  13. Merging latest changes regarding includes (thread,chrono) and conf.re…

    …nderer_params.set().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    79b2a26 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    e8ed336 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    fef9496 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    a434c17 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    0e6236f View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    198d456 View commit details
    Browse the repository at this point in the history
  19. src/networking/oscsender.h: Added reference to controller as private …

    …member and to client/server constructor.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    83b3835 View commit details
    Browse the repository at this point in the history
  20. src/networking/oschandler.cpp: Adding controller to initializer list …

    …for initializing OscSender.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    1b1aeba View commit details
    Browse the repository at this point in the history
  21. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a7d5e4b View commit details
    Browse the repository at this point in the history
  22. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a788092 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    a927664 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    6831522 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    b33fdfd View commit details
    Browse the repository at this point in the history
  26. src/networking/oscreceiver.cpp: Removing superfluous implementations.…

    … Adding/updating documentation.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    606a90f View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    bf67f58 View commit details
    Browse the repository at this point in the history
  28. src/networking/oscsender.cpp: Updating documentation. Implementing po…

    …ll_clients(), send_to_server() methods.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    81f46a0 View commit details
    Browse the repository at this point in the history
  29. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    8e168a6 View commit details
    Browse the repository at this point in the history
  30. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    f7bdd21 View commit details
    Browse the repository at this point in the history
  31. src/networking/oscreceiver.cpp: Updating OSCReceiver methods to be pa…

    …rt of namespace ssr. Changing constructor to be more explicit.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    f99e4b4 View commit details
    Browse the repository at this point in the history
  32. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    7548d11 View commit details
    Browse the repository at this point in the history
  33. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    90b427f View commit details
    Browse the repository at this point in the history
  34. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    fe8d00e View commit details
    Browse the repository at this point in the history
  35. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    0c7f71a View commit details
    Browse the repository at this point in the history
  36. src/networking/oschandler.h: Removing explicit client constructor for…

    … OscHandler. Adding friend functions for OscReceiver to send messages/bundles to server and client(s).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c2ea971 View commit details
    Browse the repository at this point in the history
  37. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    4e3cfe2 View commit details
    Browse the repository at this point in the history
  38. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ce5a2ed View commit details
    Browse the repository at this point in the history
  39. src/networking/oscsender.cpp: Adding implementation for is_client, is…

    …_server and all Subscriber interface functions.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    9599f9a View commit details
    Browse the repository at this point in the history
  40. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    849171f View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    a215b47 View commit details
    Browse the repository at this point in the history
  42. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    e42e99d View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    3b6337a View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    4fc7bab View commit details
    Browse the repository at this point in the history
  45. src/networking/oschandler.cpp: Fixing accidental std::multimap initia…

    …lization in Constructor.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    e8f9600 View commit details
    Browse the repository at this point in the history
  46. Configuration menu
    Copy the full SHA
    cb9a3a5 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    1189248 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    28967ac View commit details
    Browse the repository at this point in the history
  49. src/networking/oschandler.cpp: Fix start/stop functionality. The clas…

    …s members were wrongly named and the function declaration insufficient.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    06a876d View commit details
    Browse the repository at this point in the history
  50. src/networking/oscsender.cpp: Adding public function to add a lo::Add…

    …ress to the vector of clients.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    eddee2d View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    032d50d View commit details
    Browse the repository at this point in the history
  52. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    419c50a View commit details
    Browse the repository at this point in the history
  53. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    f621afa View commit details
    Browse the repository at this point in the history
  54. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    e9a9864 View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    6c0e5ea View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    7e79dc1 View commit details
    Browse the repository at this point in the history
  57. Configuration menu
    Copy the full SHA
    44c5c31 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    2f2c391 View commit details
    Browse the repository at this point in the history
  59. Configuration menu
    Copy the full SHA
    580f785 View commit details
    Browse the repository at this point in the history
  60. Configuration menu
    Copy the full SHA
    ef45045 View commit details
    Browse the repository at this point in the history
  61. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    37aa3ec View commit details
    Browse the repository at this point in the history
  62. 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 <.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    643ec51 View commit details
    Browse the repository at this point in the history
  63. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    f48100d View commit details
    Browse the repository at this point in the history
  64. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    aee92c9 View commit details
    Browse the repository at this point in the history
  65. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    191ef7d View commit details
    Browse the repository at this point in the history
  66. src/networking/oscsender.h: Removing unused member _mode. Moving memb…

    …ers around to reflect Constructor implementation.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a33d902 View commit details
    Browse the repository at this point in the history
  67. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    9d3ba25 View commit details
    Browse the repository at this point in the history
  68. src/networking/oscsender.h: Changing std::thread pointer to object ty…

    …pe for _poll_thread. Removing public function poll_clients() (unused).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    38ca305 View commit details
    Browse the repository at this point in the history
  69. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    1dc41b5 View commit details
    Browse the repository at this point in the history
  70. Configuration menu
    Copy the full SHA
    3f07df2 View commit details
    Browse the repository at this point in the history
  71. configure.ac: Adding liblo libs to LIBS, by checking with pkg-config.…

    … Removing useless CPPFLAGS from header check for liblo.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ce1fda1 View commit details
    Browse the repository at this point in the history
  72. src/networking/oscreceiver.cpp: Moving _receiver.stop() to the OscRec…

    …eiver.stop() implementation, which wasn't there yet.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    73ac865 View commit details
    Browse the repository at this point in the history
  73. Configuration menu
    Copy the full SHA
    ffc64da View commit details
    Browse the repository at this point in the history
  74. Configuration menu
    Copy the full SHA
    b6bfce8 View commit details
    Browse the repository at this point in the history
  75. Configuration menu
    Copy the full SHA
    0ee234f View commit details
    Browse the repository at this point in the history
  76. src/networking/oscsender.cpp: Adding VERBOSE message to constructor. …

    …Fixing _server_address initialization by adding a port.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    dcc794e View commit details
    Browse the repository at this point in the history
  77. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ebcda0c View commit details
    Browse the repository at this point in the history
  78. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    bf979e8 View commit details
    Browse the repository at this point in the history
  79. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c98b403 View commit details
    Browse the repository at this point in the history
  80. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    2bb729e View commit details
    Browse the repository at this point in the history
  81. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c886738 View commit details
    Browse the repository at this point in the history
  82. src/networking/oschandler.cpp: Adding VERBOSE message before adding c…

    …lients. Adding clients using the new add_client() function.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    d7b53e3 View commit details
    Browse the repository at this point in the history
  83. Configuration menu
    Copy the full SHA
    be39415 View commit details
    Browse the repository at this point in the history
  84. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    02a0e81 View commit details
    Browse the repository at this point in the history
  85. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    1ce818e View commit details
    Browse the repository at this point in the history
  86. src/networking/oscreceiver.h: Removing lo::ServerThread member from O…

    …scReceiver. Removing port_in argument to constructor.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    59d8301 View commit details
    Browse the repository at this point in the history
  87. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    38ef6c0 View commit details
    Browse the repository at this point in the history
  88. src/networking/oscsender.h: Removing lo::ServerThread as member of Os…

    …cSender. Removing obsolete OscSender Constructor. Removing port_out argument of remaining constructor.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    61bcea1 View commit details
    Browse the repository at this point in the history
  89. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    d50157b View commit details
    Browse the repository at this point in the history
  90. Configuration menu
    Copy the full SHA
    0200518 View commit details
    Browse the repository at this point in the history
  91. Configuration menu
    Copy the full SHA
    1379d47 View commit details
    Browse the repository at this point in the history
  92. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    45c472e View commit details
    Browse the repository at this point in the history
  93. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    01a12f8 View commit details
    Browse the repository at this point in the history
  94. src/networking/oschandler.cpp: Adding implementations of OscReceiver'…

    …s friend functions add_client() and remove_client(). Adding implementation of message_level() function.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    994fa0a View commit details
    Browse the repository at this point in the history
  95. src/networking/oscreceiver.h: Adding functions add_client() and remov…

    …e_client() to add and remove clients on OscSender.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    e79797b View commit details
    Browse the repository at this point in the history
  96. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ab0480e View commit details
    Browse the repository at this point in the history
  97. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    282f225 View commit details
    Browse the repository at this point in the history
  98. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ad7219a View commit details
    Browse the repository at this point in the history
  99. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    2367dd8 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    02969e6 View commit details
    Browse the repository at this point in the history
  101. Configuration menu
    Copy the full SHA
    8b2c641 View commit details
    Browse the repository at this point in the history
  102. Configuration menu
    Copy the full SHA
    1a0fa21 View commit details
    Browse the repository at this point in the history
  103. Configuration menu
    Copy the full SHA
    3c0da39 View commit details
    Browse the repository at this point in the history
  104. src/networking/oscclient.h: Adding bool for active state. Adding publ…

    …ic functions to retrieve the _active state of OscClient objects and deactivating them.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    24df018 View commit details
    Browse the repository at this point in the history
  105. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a1d658b View commit details
    Browse the repository at this point in the history
  106. src/networking/oscclient.h: Shortening member names of enum class Mes…

    …sageLevel. Changing _address to be non-const. Returning _address by reference in address().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    70fdfb5 View commit details
    Browse the repository at this point in the history
  107. src/networking/oscclient.cpp: Adding VERBOSE message to constructor. …

    …Changing return type of address() to be a lo::Address reference.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c9ba518 View commit details
    Browse the repository at this point in the history
  108. Configuration menu
    Copy the full SHA
    fa4cdea View commit details
    Browse the repository at this point in the history
  109. src/networking/oscclient.cpp: Adding implementation of activate(). De…

    …leting false @param documentation for deactivate().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a414469 View commit details
    Browse the repository at this point in the history
  110. src/networking/oschandler.h: Renaming remove_client() friend function…

    … to deactivate_client().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    935ddf6 View commit details
    Browse the repository at this point in the history
  111. src/networking/oschandler.cpp: Changing implementation of remove_clie…

    …nt() to deactivate_client().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    b341bf8 View commit details
    Browse the repository at this point in the history
  112. src/networking/oscreceiver.h: Changing definition of remove_client() …

    …to deactivate_client. src/networking/oscreceiver.cpp: Changing call to remove_client() to deactivate_client().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    d555638 View commit details
    Browse the repository at this point in the history
  113. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    cfa64ef View commit details
    Browse the repository at this point in the history
  114. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    0afaab3 View commit details
    Browse the repository at this point in the history
  115. Configuration menu
    Copy the full SHA
    ed5333b View commit details
    Browse the repository at this point in the history
  116. src/networking/oscsender.cpp: Removing unneeded calls through this po…

    …inter. Changing all calls to clients to use ->
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    8823dc9 View commit details
    Browse the repository at this point in the history
  117. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c3d0eab View commit details
    Browse the repository at this point in the history
  118. src/networking/oschandler.h: Removing definition of _message_level an…

    …d message_level(). src/networking/oschandler.cpp: Removing implementation of message_level().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    9953866 View commit details
    Browse the repository at this point in the history
  119. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    3d7c37c View commit details
    Browse the repository at this point in the history
  120. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    5a1f74d View commit details
    Browse the repository at this point in the history
  121. Configuration menu
    Copy the full SHA
    9c2535c View commit details
    Browse the repository at this point in the history
  122. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    cdfa31f View commit details
    Browse the repository at this point in the history
  123. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    0d5f5b9 View commit details
    Browse the repository at this point in the history
  124. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a59a95e View commit details
    Browse the repository at this point in the history
  125. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    f6ff6a5 View commit details
    Browse the repository at this point in the history
  126. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    1885a08 View commit details
    Browse the repository at this point in the history
  127. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c90d857 View commit details
    Browse the repository at this point in the history
  128. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    8bba979 View commit details
    Browse the repository at this point in the history
  129. src/networking/oscreceiver.cpp: Fixing linewraps. Improving readabili…

    …ty of all source related VERBOSE messages by adding more relevant output derived from incoming message.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ebcf35c View commit details
    Browse the repository at this point in the history
  130. src/networking/oschandler.*: Adding public definition and implementat…

    …ion of is_server() and is_client().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    9331db6 View commit details
    Browse the repository at this point in the history
  131. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    e9dd3da View commit details
    Browse the repository at this point in the history
  132. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ddcf7e3 View commit details
    Browse the repository at this point in the history
  133. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    6005596 View commit details
    Browse the repository at this point in the history
  134. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    3570ed4 View commit details
    Browse the repository at this point in the history
  135. 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().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    d239eff View commit details
    Browse the repository at this point in the history
  136. src/networking/oscsender.*: Adding private member for setting the /po…

    …ll message frequency in milliseconds. Removing commented, now obsolete function bool_to_message_type().
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    0f6ea8c View commit details
    Browse the repository at this point in the history
  137. Configuration menu
    Copy the full SHA
    2ad7515 View commit details
    Browse the repository at this point in the history
  138. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a6605f0 View commit details
    Browse the repository at this point in the history
  139. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    1a6ebab View commit details
    Browse the repository at this point in the history
  140. src/networking/oscreceiver.cpp: Capturing *this for callbacks, that n…

    …eed to access its functions.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    50eac35 View commit details
    Browse the repository at this point in the history
  141. src/networking/oscreceiver.cpp: Changing VERBOSE output to 'Added cal…

    …lback...' instead of 'Added method...' for each callback add.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    d186620 View commit details
    Browse the repository at this point in the history
  142. src/networking/oscreceiver.cpp: Ordering all callback handlers alphab…

    …etically for readability. Unifying output style of message types.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    976dbda View commit details
    Browse the repository at this point in the history
  143. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    e2e041f View commit details
    Browse the repository at this point in the history
  144. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ec48974 View commit details
    Browse the repository at this point in the history
  145. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    408cd90 View commit details
    Browse the repository at this point in the history
  146. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    394d79f View commit details
    Browse the repository at this point in the history
  147. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    7a81d3c View commit details
    Browse the repository at this point in the history
  148. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ec7244e View commit details
    Browse the repository at this point in the history
  149. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    b917545 View commit details
    Browse the repository at this point in the history
  150. Configuration menu
    Copy the full SHA
    fae6c39 View commit details
    Browse the repository at this point in the history
  151. src/ssr_global.h: Adding GUI_SERVER to MessageLevel enum class for me…

    …ssages only meant for GUI updates. Making int representation implicit.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    0d020e4 View commit details
    Browse the repository at this point in the history
  152. src/networking/oscsender.cpp: Changing all MessageLevel checks for cl…

    …ients, when trying to send to server from GUI_CLIENT to GUI_SERVER.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ee00790 View commit details
    Browse the repository at this point in the history
  153. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a817281 View commit details
    Browse the repository at this point in the history
  154. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ab13fd9 View commit details
    Browse the repository at this point in the history
  155. Configuration menu
    Copy the full SHA
    c7562b9 View commit details
    Browse the repository at this point in the history
  156. Configuration menu
    Copy the full SHA
    d4f6f7d View commit details
    Browse the repository at this point in the history
  157. Configuration menu
    Copy the full SHA
    fbc2852 View commit details
    Browse the repository at this point in the history
  158. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    cd3dcb9 View commit details
    Browse the repository at this point in the history
  159. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c5b0682 View commit details
    Browse the repository at this point in the history
  160. Configuration menu
    Copy the full SHA
    34df06e View commit details
    Browse the repository at this point in the history
  161. Configuration menu
    Copy the full SHA
    26ba4ea View commit details
    Browse the repository at this point in the history
  162. src/networking/oschandler.cpp: Fix missing return statement in ssr::O…

    …scReceiver::client_has_message_level() friend function implementation.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    17b813a View commit details
    Browse the repository at this point in the history
  163. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    d6b90d1 View commit details
    Browse the repository at this point in the history
  164. Configuration menu
    Copy the full SHA
    a465024 View commit details
    Browse the repository at this point in the history
  165. src/ssr_global.h: Removing unused field THIN_CLIENT from enum class M…

    …essageLevel. Moving SERVER and GUI_SERVER to the top values.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    66e8bd5 View commit details
    Browse the repository at this point in the history
  166. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    aa39998 View commit details
    Browse the repository at this point in the history
  167. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    46dd7c2 View commit details
    Browse the repository at this point in the history
  168. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    7add407 View commit details
    Browse the repository at this point in the history
  169. src/networking/oscsender.cpp: Wrapping all VERBOSE output information…

    … about hostname:port in ''. Minor linewrap fixes.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    1b93585 View commit details
    Browse the repository at this point in the history
  170. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    eb98369 View commit details
    Browse the repository at this point in the history
  171. src/networking/*: Let calls to increment_client_alive_counter in OSCR…

    …eceiver implicitely copy by value.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    cbefee9 View commit details
    Browse the repository at this point in the history
  172. src/ssr_global.h: Extending MessageLevel by MAX_VALUE.

    src/networking/*: Making assignment of client/server MessageLevel sane.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    a76e690 View commit details
    Browse the repository at this point in the history
  173. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    34669e6 View commit details
    Browse the repository at this point in the history
  174. src/networking/oscreceiver.cpp: Adding check, if id > 0 to all source…

    … related callbacks.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    3bb0b96 View commit details
    Browse the repository at this point in the history
  175. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    9fd8b02 View commit details
    Browse the repository at this point in the history
  176. 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.
      ...
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    4f62cd4 View commit details
    Browse the repository at this point in the history
  177. supercollider/workflows.scd: Adding workflow example for 'sclang is a…

    … client controlling the server' and 'sclang mimics a server, controls a client'.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    af9c2c9 View commit details
    Browse the repository at this point in the history
  178. supercollider/workflows.scd: Adding Sensors2OSC example, setting refe…

    …rence orientation through orientation sensor and two sources through multi-touch interface.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    74d944a View commit details
    Browse the repository at this point in the history
  179. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    ebc1eb4 View commit details
    Browse the repository at this point in the history
  180. 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'.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    c6754c0 View commit details
    Browse the repository at this point in the history
  181. 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.
      ...
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    b05baf0 View commit details
    Browse the repository at this point in the history
  182. supercollider/tests.scd: Adding tests for server and client (subscrib…

    …ed and not subscribed).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    965bf52 View commit details
    Browse the repository at this point in the history
  183. 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.
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    406a06b View commit details
    Browse the repository at this point in the history
  184. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    29fed64 View commit details
    Browse the repository at this point in the history
  185. 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).
    dvzrv committed Dec 15, 2018
    Configuration menu
    Copy the full SHA
    11e1cf1 View commit details
    Browse the repository at this point in the history

Commits on Dec 16, 2018

  1. Configuration menu
    Copy the full SHA
    2c9ec30 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5410521 View commit details
    Browse the repository at this point in the history
  3. 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'.
    dvzrv committed Dec 16, 2018
    Configuration menu
    Copy the full SHA
    31dd677 View commit details
    Browse the repository at this point in the history