plugins/fmcomms2.c: Update the spinbuttons range of DDS tones
Let the dac_data_manager know the tx sampling freq value before updating its widgets.

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/fmcomms2.c: Integrate AD-FREQCVT1-EBZ functionality
User will be presented a checkbox that needs to be toggled when the up/down converter is used.

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
osc: Don't open the plot window if the IIO context was not created

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Connect dialog: Fix memory leak

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Connect dialog: Grey out the "local context" option if not available

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Connect dialog: don't hard-code a fake IP

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Connect dialog: Update the list of IIO devices according to selection

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
osc: Create the IIO contextes using the default backend

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
osc: Added global function application_reload

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Connect dialog: Only preload device list and FRU info if using local ctx

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
Connect dialog: Reload application with the new IIO context

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
plugins/fmcomms2: Stop update thread when exiting

It was previously making the OSC randomly segfault when exiting the OSC,
which was resulting in the INI profile being only partly saved.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
osc: Additional cleanups when exiting/reloading the OSC

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
osc: Fix segmentation fault

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
osc: Only close plugins that were loaded

This fixes a segmentation fault occuring when a plugin couldn't be
loaded (due for instance to a timeout on the network).

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
plugins/cn0357.c: Stop update thread when exiting

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
OSC: Add an info bar that will be used to display error messages

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
OSC: Show info bar when connection the with IIOD drops

This info bar displays an error message and offers you the possibility
to reconnect.

Signed-off-by: Paul Cercueil <paul.cercueil@analog.com>
plugins/fmcomms5.c: Fix plugin not loading due to dac_data_manager

Signed-off-by: Dan Nechita <dan.nechita@analog.com>
plugins/daq2.c: Add IQ correction controls on ADC side

Signed-off-by: Dan Nechita <dan.nechita@analog.com>