summaryrefslogtreecommitdiff
path: root/src/salut.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove support for --disable-debugSimon McVittie2013-11-011-2/+0
|
* Initialize libdbus for thread-safetySimon McVittie2013-09-231-0/+5
| | | | | | | | | | | | | | | | | | | | libdbus is not thread-safe by default. This is a long-standing design flaw (<https://bugs.freedesktop.org/show_bug.cgi?id=54972>). We call into GIO, which calls into glib-networking, which can (at least in recent versions) invoke libproxy in a thread. libproxy apparently has a Network-Manager plugin, which uses libdbus in that thread; meanwhile, we use libdbus in the main thread and everything goes badly for us. In libdbus < 1.7.4, libraries cannot safely initialize libdbus for multi-threading, because that initialization is not itself thread-safe (!); in particular, glib-networking cannot safely initialize libdbus. So, we have to do it. Bug: https://bugs.freedesktop.org/show_bug.cgi?id=65296 [copied from Gabble commit 83bb468e -smcv] Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
* Be single-include-compliantSimon McVittie2013-01-041-2/+1
|
* Eliminate trailing whitespace so make check can pass againSimon McVittie2012-03-261-1/+1
|
* g_thread_init() is deprecated but still needed in GLib 2.30 and older.Alvaro Soliverez2012-03-201-2/+1
| | | | | | Salut calls g_type_init(), which implies g_thread_init(NULL), and depends on GLib 2.24, so it doesn't need to initialize threads explicitely. Therefore, it is safe to remove the call in this case
* salut: Use bonjour discovery clientSiraj Razick2012-03-121-0/+4
| | | | Use the bonjour discovery client when we use the bonjour backend
* salut: Support using the dummy backendSiraj Razick2012-02-221-1/+12
|
* Support building for Android.Alvaro Soliverez2011-11-211-0/+4
| | | | | | | | | | | This adds an autogen.sh and configure flag, --disable-submodules, to disable fetching the Wocky submodule (the flag is plural for consistency with other components), adds some missing compiler and linker flags, and adds targets for Androgenizer. Modified from a patch contributed by Derek Foreman. https://bugs.freedesktop.org/show_bug.cgi?id=42515
* src: remove annoying salut- prefixJonny Lamb2011-04-281-2/+2
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* symbol-hacks: add some hacks to enable all wocky symbols be visible for pluginsJonny Lamb2011-04-181-0/+3
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* plugin-loader: add plugin loader from gabbleJonny Lamb2011-02-071-1/+10
| | | | Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
* fd.o #26152: make critical warnings fatal by defaultSimon McVittie2010-05-201-0/+7
|
* Remove use of g_set_prgname in main().Mike Ruprecht2010-03-251-1/+0
| | | | | | | tp_run_connection_manager calls g_set_prgname internally. It's supposed to only be called once. Calling it in addition to tp_run_connection_manager causes an assertion. This patch removes use of it in main().
* src/salut.c: don't call debug functions if debug is disabledGuillaume Desmottes2009-01-111-0/+2
|
* Added Marco's file transfer code.Jonny Lamb2008-10-281-0/+1
| | | | 20080715185636-8ed0e-06775a31a2c94b716db41375af32db8248b9e8d3.gz
* use tp_debug_divert_messages instead of our own copy of itGuillaume Desmottes2008-08-071-1/+1
| | | | 20080807091744-7fe3f-1d323493d91e25deca165c6ab9b5a580467b48d7.gz
* Remove the two salut_discovery_client_new() functions, choose the avahi or ↵Alban Crequy2008-06-051-1/+4
| | | | | | dummy backend from the main() function and pass the GType backend to SalutConnectionManager and SalutConnection via a property when the object is created 20080605114217-a41c0-0473007078d1fc15270971e3d8c8034690662e07.gz
* Add coding style checker tools from gabble and make the main salut src tree ↵Sjoerd Simons2008-06-031-8/+10
| | | | | | valid coding style 20080603133118-93b9a-1171eedccfe23199c466c9062c56c3a88227f090.gz
* Add a hard dependency on telepathy-glib 0.6.1 and avoid using #ifdef for ↵Simon McVittie2008-04-211-9/+1
| | | | | | tp_debug_set_flags 20080421130333-53eee-01c0cf70c09ca45cf4721d0b258ac39e026e29e1.gz
* Use tp_debug_set_flags() if available, to separate 'persist' from the rest ↵Guillaume Desmottes2007-11-131-0/+12
| | | | | | of the debug flags (backport from Gabble) 20071113173704-7fe3f-476b868d3327e1529e2657d98dfa97cea6e57e25.gz
* add support for SALUT_LOGFILE env variable to log output to a fileGuillaume Desmottes2007-06-061-0/+1
| | | | 20070606102233-7fe3f-94ed9d813bc24e4630ecb141e14708132cf7a8cd.gz
* Megapatch to port to telepathy-glibSjoerd Simons2007-03-301-55/+8
| | | | 20070330104423-93b9a-d86c98af93de306470bd26138e7ed05e08b60dd6.gz
* [project @ 5e69e72e9cdf60cf75fe7d9cea48fe1a6c65b876]Sjoerd Simons2006-11-021-1/+39
| | | | | | * Exit after 5 seconds is there are no connections unless the persist debug flag is given 20061102160311-93b9a-4bd0d19a4b7f45fae62d51bbcf99a2fad425b492.gz
* [project @ 94458aec8a5f2139cc075945f7336e4307c8d96e]Sjoerd Simons2006-10-231-0/+37
First commit! 20061023172135-93b9a-ce433f8baae54b25e36a061c2863bd4304ac3f8a.gz