Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Move image_compression to RedsState struct | Jonathon Jongsma | 2015-02-23 | 5 | -10/+10 | |
| | | | | Removing more global variables | |||||
* | Move streaming_video to RedsState struct | Jonathon Jongsma | 2015-02-23 | 5 | -7/+13 | |
| | | | | | Also requires adding reds_get_streaming_video() accessor so that other files can check this value. | |||||
* | Move ticketing_enabled to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -5/+6 | |
| | | | | Removing more global variables | |||||
* | Move spice_uuid, spice_uuid_is_set to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -7/+10 | |
| | | | | Removing more global variables | |||||
* | Move spice_name to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -5/+5 | |
| | | | | Remove more global variables | |||||
* | Move sasl_enabled, sasl_appname to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -14/+18 | |
| | | | | Removing more global variables | |||||
* | Move taTicket to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -11/+11 | |
| | | | | Removing more global variables | |||||
* | Move spice_family to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -5/+6 | |
| | | | | Removing more global variables | |||||
* | Move spice_addr to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -3/+3 | |
| | | | | Removing more global variables | |||||
* | Move spice_listen_socket_fd to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -5/+6 | |
| | | | | Removing more global variables | |||||
* | Move spice_secure_port to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -4/+5 | |
| | | | | removing more global variables | |||||
* | Move migration_interface to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -16/+16 | |
| | ||||||
* | Move vdagent to RedsState struct | Jonathon Jongsma | 2015-02-23 | 5 | -33/+33 | |
| | | | | | Also change API of reds_has_vdagent() to take RedsState arg. Removes another global variable. | |||||
* | Move spice_port to RedsState struct | Jonathon Jongsma | 2015-02-23 | 2 | -4/+5 | |
| | | | | Remove another global variable | |||||
* | Store 'renderers' as GArray in RedsState | Jonathon Jongsma | 2015-02-23 | 5 | -19/+23 | |
| | ||||||
* | Fix crash when checking mouse mode | Jonathon Jongsma | 2015-02-23 | 2 | -1/+4 | |
| | | | | | | Since the mouse mode is now stored in the inputs channel, we were crashing when somebody was calling this API before the inputs channel was created. | |||||
* | Move default_renderer into RedsState | Jonathon Jongsma | 2015-02-23 | 2 | -4/+5 | |
| | | | | Not global. | |||||
* | Make default_security and channels_security non-global | Jonathon Jongsma | 2015-02-23 | 2 | -15/+17 | |
| | | | | | Move them into the RedsState struct, adjust functions that use these variables to take a RedsState arg. | |||||
* | Change init_vd_agent_resources() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Remove use of global 'reds' var from spice_server_remove_interface() | Jonathon Jongsma | 2015-02-23 | 5 | -9/+40 | |
| | | | | | | | Since this is public API, we can't easily change the signature of the function to take a RedsState argument, so instead we apply a hack and store the reds argument inside the device state struct when the interface is added, and retrieve it for use later when it is removed. | |||||
* | main_channel_init() -> main_channel_new() | Jonathon Jongsma | 2015-02-23 | 3 | -3/+3 | |
| | | | | Rename to make function name more consistent | |||||
* | inputs_init() -> inputs_channel_new() | Jonathon Jongsma | 2015-02-23 | 3 | -3/+3 | |
| | | | | Rename function to be more consistent | |||||
* | Remove global inputs channel | Jonathon Jongsma | 2015-02-23 | 4 | -129/+168 | |
| | | | | | | | Make the RedsState object own an InputsChannel object rather than having a global inputs channel. This means changing a lot of inputs-related API to take an InputsChannel* argument and moving the keyboard, mouse, and tablet objects into the InputsChannel object. | |||||
* | spice_server_add_interface: use local 's' variable | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 | |
| | | | | Prefer local argument variable over global 'reds' variable | |||||
* | Change spice_server_char_device_remove_interface to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_on_char_device_state_destroy() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 3 | -3/+3 | |
| | ||||||
* | Change reds_char_device_remove_state() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 | |
| | ||||||
* | Change reds_char_device_add_state() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 | |
| | ||||||
* | Change attach_to_red_agent() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_disable_mm_time() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 3 | -4/+4 | |
| | ||||||
* | Change reds_enable_mm_time() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 3 | -4/+4 | |
| | ||||||
* | Change migrate_timeout() to take reds as data arg | Jonathon Jongsma | 2015-02-23 | 1 | -1/+2 | |
| | ||||||
* | Change reds_mig_switch() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_mig_finished() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_migrate_channels_seamless() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_mig_remove_wait_disconnect_client() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 | |
| | ||||||
* | Change reds_mig_cleanup_wait_disconnect() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -3/+3 | |
| | ||||||
* | Change reds_mig_fill_wait_disconnect() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_mig_started() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_mig_release to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -5/+5 | |
| | ||||||
* | Change spice_server_set_ticket() to use local 's' | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | | | | Rather than using global 'reds' variable | |||||
* | change on_activating_ticketing() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_init_ssl() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change do_spice_init() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_init_net() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_set_client_mm_time_latency() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 3 | -4/+4 | |
| | ||||||
* | Change reds_send_mm_time() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -5/+5 | |
| | ||||||
* | Change reds_handle_link() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -4/+4 | |
| | ||||||
* | Change reds_handle_other_links() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 1 | -2/+2 | |
| | ||||||
* | Change reds_on_client_semi_seamless_migrate_complete() to take RedsState arg | Jonathon Jongsma | 2015-02-23 | 3 | -3/+3 | |
| |