summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-01-29xpi: add Proxy memberHEADmasterMarc-André Lureau5-1/+29
Set SPICE_PROXY environment variable accordingly.
2013-01-29xpi: use safer g_environ_setenv()Marc-André Lureau1-8/+11
Quoting GLib: Environment variable handling in UNIX is not thread-safe, and your program may crash if one thread calls g_setenv() while another thread is calling getenv(). (And note that many functions, such as gettext(), call getenv() internally.) This function is only safe to use at the very start of your program, before creating any other threads (or creating objects that create worker threads of their own). If you need to set up the environment for a child process, you can use g_get_environ() to get an environment array, modify that with g_environ_setenv() and g_environ_unsetenv(), and then pass that array directly to execvpe(), g_spawn_async(), or the like.
2013-01-29xpi: add a few g_environ functions from GLib >= 2.28Marc-André Lureau4-0/+240
2012-12-10fix issues in ScriptablePluginObject::SetPropertyFederico Simoncelli1-3/+9
2012-12-10support smaller NPNetscapeFuncs tablesFederico Simoncelli1-47/+5
2012-11-21bump post release version to 2.9prePeter Hatina1-1/+1
2012-11-20release v2.8Peter Hatina1-0/+11
2012-11-20bump spice-xpi version to 2.8Peter Hatina1-1/+1
2012-11-20fix distcheck when not compiling with test page generatorPeter Hatina4-18/+23
2012-11-20bump max. firefox versionPeter Hatina1-1/+1
2012-07-16validate tcp port valuesPeter Hatina1-2/+29
2012-07-11remove data/test.htmlPeter Hatina1-308/+0
Spice-xpi test page is autogenerated by spice-xpi-generator.
2012-07-11generator, fix Makefile.am's to build test.htmlPeter Hatina2-3/+10
2012-07-11generator, add info about generated pagePeter Hatina1-1/+2
2012-07-11generator, fix binary namePeter Hatina3-3/+6
2012-07-10generator, fix --help optionPeter Hatina1-1/+1
2012-07-10update rdf versions - plugin, firefoxPeter Hatina1-2/+2
2012-07-04add missing IDL attributesPeter Hatina1-0/+2
2012-07-02introduce test page generatorPeter Hatina19-6/+1679
2012-05-09SetSSLChannels: add ssmartcard, susbredir, stunnelAlon Levy1-1/+2
Adding some more channels to the RHEL 5 list. The longer winded story is that ovirt-engine passes us those values because vdsm unconditionally removes the first letter of every channel name in the secure channels list (aka SSLChannels here). Instead of changing vdsm, and dealing with multiple vdsm versions for each cluster, a huge PITA, let spice-xpi parse some extra channel names. RHBZ: 790416
2012-05-03fix signal handling when disconnectingPeter Hatina1-1/+3
2012-04-23remove leading 's' from all spice channel namesPeter Hatina1-9/+15
2012-04-04Fix printf-format stringChristophe Fergeau1-1/+1
Use %z modifier for ssize_t variables, and for an uint32_t variable, the %l modifier shouldn't be neeeded.
2012-04-04Remove unused SendWStr()Christophe Fergeau2-16/+0
2012-04-04Change SendStr to handle a std::stringChristophe Fergeau2-15/+15
All callers were using std::string::c_str(), better to move this call to SendStr instead of doing it everywhere.
2012-04-04Move secure channel fixup to secure channel setterChristophe Fergeau1-15/+14
The secure channel names need to be fixed for compatibility with older spice versions. However, it's better to do it directly when m_secure_channels is set rather than waiting until its first use
2012-04-04Set USB filter upon connection in test.htmlChristophe Fergeau1-0/+1
spice-xpi doesn't currently support changing properties after the initial connection, so set the USB filter during initial connection so that USB filters can be tested.
2012-04-04Handle USB-related plugin propertiesChristophe Fergeau3-10/+10
The Firefox plugin exposes the UsbAutoShare property and the SetUsbFilter method that were not wired until now. This commit propagates their value to the nsPluginInstance object and send them through the controller socket.
2012-04-03tmp files owned by current userPeter Hatina1-0/+2
2012-04-03initialize nsPluginInstancePeter Hatina1-3/+11
2012-04-03check string length before calling strcpyPeter Hatina1-0/+2
2012-04-03remove unused class memberPeter Hatina1-1/+0
2012-04-03add support for DisableEffects and ColorDepthYonit Halperin7-1/+67
- ColorDepth should be 32 or 16 - DisableEffects is a comma separated string, composed of one or more of the following options: "wallpaper"/"font-smooth"/"animation", or "all" rhbz #747313 Signed-off-by: Yonit Halperin <yhalperi@redhat.com>
2012-03-21fix disconnect signal sendingPeter Hatina1-1/+2
2012-03-18test page overhaulDavid Jaša1-55/+264
This patch * gets the test page in sync with API defined in nsISpicec.idl * cleans up HTML and JavaScript to more coherent & up-to-date style * improves page log: adds timestamps, structures it to table * allows "disabling" of any value (well, setting it to empty string, as undefining it or setting it to Null does not make the spice-xpi plugin happy) The only missing part is OnDisconnected event logging, i just couldn't make it work on my machine.
2012-03-09~/.spicec is no longer neededMarc-André Lureau2-6/+0
Don't attempt to create an unused directory See also: https://bugzilla.redhat.com/show_bug.cgi?id=801871
2012-03-08Drop sigchld handlerPeter Hatina2-34/+31
2012-03-05Use G_GUINT64_FORMAT to print guint64 valuesChristophe Fergeau1-2/+2
gcc complains about the format string being wrong otherwise (the modifier to use is compiler/architecture dependant).
2012-03-05Fix SendCtrlAltDelete xpi property spellingChristophe Fergeau5-13/+13
It was spelt SendCtrlAltdelete (lower case "d" in delete) throughout the code base while spice-x and the rhev/ovirt portals use SendCtrlAltDelete. This commit changes all occurences of Altdelete to AltDelete. After this change, the "Pass Ctrl+Alt+Del" check box in the rhev/ovirt portal works as expected.
2012-03-05Default to enabling Ctrl+Alt+DelChristophe Fergeau1-1/+1
On Linux, the default behaviour of the client is to have Ctrl+Alt+Del passthrough enabled, so it's better to default to enabling it from the controller as well to avoid getting a different behaviour when the client handles controller messages about CAD. Thanks to Uri for this suggestion.
2012-03-05Add ctrl-alt-del setting to test pageChristophe Fergeau1-0/+2
2012-03-05Add controller message for "SEND_CAD"Christophe Fergeau1-0/+1
2012-03-05Use ::SendBool for smartcard controlChristophe Fergeau1-1/+1
2012-03-05Add nsPluginInstance::SendBoolChristophe Fergeau2-0/+7
::SendVal will not send messages when the value is 0, which is not what is expected when sending a boolean value.
2012-03-02idl: add missing attribute Smartcard to nsISpicec interfaceMarc-André Lureau1-0/+1
Interestingly, this doesn't seem to prevent it from working correctly. So this patch is mostly for correctness.
2012-02-27Fix spice-protocol git submodule pathChristophe Fergeau1-1/+1
It's using ./spice-protocol instead of ../spice-protocol as the relative path to use to build the submodule clone URI.
2012-02-24Remove unused global variableMarc-André Lureau1-2/+0
2012-02-24Switch from log4cpp to glibMarc-André Lureau7-242/+51
GLib is used in the defacto library for desktop projects. It includes logging facilities that can be filtered by domain and level, and can be redirected or formated in various ways. Instead of pulling an extra large depedency for a small plugin, let's use what is common to the desktop. Afaict, nobody else is using log4cpp in Fedora. The configuration file is not user friendly. In comparison, you can just run "G_MESSAGES_DEBUG=SpiceXPI firefox" and easily modify logging via environment variable. There is no logging to file, and there is no configuration file. If you want to redirect to file, you can do so via redirection, or other mechanisms (ldpreload, environment..).
2012-02-24build: some clean-upMarc-André Lureau4-84/+56
- remove invalid or obsolete includes, variables - get rid of useless variables - make it more silent - shorten file location: /foo/baz/bar -> bar - prefer $(top_srcdir)/foo/bar vs ../../../foo/bar - remove useless configure check - sort a few lines
2012-02-24build: use spice-protocol as a submoduleMarc-André Lureau5-1/+9