summaryrefslogtreecommitdiff
path: root/tubes
AgeCommit message (Collapse)AuthorFilesLines
2012-07-17tubes: warning guard for boost/signals2.hpp [-Werror=shadow]Eike Rathke3-1/+46
boost 1.44 boost/signals2.hpp with gcc 4.6.3 causes solver/unxlngx6/inc/boost/signals2/detail/slot_template.hpp:122:7: error: declaration of ‘slot’ shadows a member of 'this' [-Werror=shadow] Change-Id: I276e008aaebaca9c115bedc58d29c93c6dc526b8
2012-07-17tubes: fix makefiles after rebaseMatúš Kukan1-1/+1
Change-Id: I99a0dd6765d57c4a1d842b25d600d760930704fa
2012-07-17tubes: make TeleManager::startGroupSession work and use itMatúš Kukan2-17/+17
2012-07-17tubes: use new TeleManager::get() method without parameterMatúš Kukan1-0/+1
2012-07-17tubes: cleanup abstraction, and add in-process demo modeMichael Meeks3-7/+19
Pass const rtl::OUString &s around instead of random pointers. Allow sc/ to build and work without telepathy enabled. Add aforementioned demo mode hack.
2012-07-17tubes: tweak makefilesMatúš Kukan2-21/+15
2012-07-17tubes: mention local copy of needed telepathy-glibEike Rathke1-0/+9
2012-07-17conference: remove a stray dbus-glib import.Will Thompson1-1/+0
This is no longer needed since the switch to using GDBus for the tube connection.
2012-07-17tubes: use tp_dbus_tube_channel_offer/accept_asyncWill Thompson2-118/+49
I added these to the recently-released telepathy-glib 0.18.0 mainly to let us simplify the code here. With this new API, tp-glib takes care of waiting for the state changes, creating the GDBusConnection, etc.
2012-07-17tubes: make conference hold a TpDBusTubeChannelWill Thompson3-17/+19
It already was, actually. :)
2012-07-17tubes: use GDBus rather than libdbusWill Thompson3-77/+111
GDBus is the future. And TpDBusTubeChannel will ultimately give us a GDBusConnection, so...
2012-07-17tubes: move Accept() logic into conferenceWill Thompson4-119/+98
This makes sense, because the flow for Accept() and Offer() is basically symmetrical, and then conference becomes solely responsible for the handling of channels once they've been requested/given to us. While we're at it we also fix both code paths to work correctly if the state becomes Open before Accept/Offer returns (which is possible).
2012-07-17tubes: reduce code duplication when opening connectionWill Thompson2-37/+25
2012-07-17cleanout flushLoopEike Rathke3-23/+0
relict from testing era, not needed anymore
2012-07-17silence WaE incompatible pointer type and unused parametersEike Rathke1-10/+18
* "passing argument 1 of ‘gtk_message_dialog_format_secondary_markup’ from incompatible pointer type" * dialog was in fact constructed as GtkMessageDialog using gtk_message_dialog_new_with_markup(), so use it as such * "passing argument 1 of ‘gtk_widget_destroy’ from incompatible pointer type" * use GTK_WIDGET() on dialog GtkMessageDialog* * "passing argument 1 of ‘g_object_get_data’ from incompatible pointer type" * use G_OBJECT on dialog GtkWidget* * "passing argument 1 of ‘gtk_dialog_set_response_sensitive’ from incompatible pointer type" * use GTK_DIALOG on dialog GtkWidget* * "passing argument 1 of ‘gtk_message_dialog_set_image’ from incompatible pointer type" and "passing argument 1 of ‘gtk_dialog_add_buttons’ from incompatible pointer type" * use GTK_MESSAGE_DIALOG() on dialog GtkWidget* * "passing argument 1 of ‘g_object_set_data_full’ from incompatible pointer type" * use G_OBJECT() on dialog GtkWidget*:x * "passing argument 3 of ‘g_signal_connect_data’ from incompatible pointer type" * use G_CALLBACK() on dialog_response_cb * "passing argument 1 of ‘gtk_window_set_skip_taskbar_hint’ from incompatible pointer type" * use GTK_WINDOW() on dialog GtkWidget* How awful C is :-/ GtkMessageDialog is a GtkDialog is a GtkWindow is a GtkWidget is a GObject, but still ...
2012-07-17silence WaE unused-parameterEike Rathke1-0/+8
2012-07-17tubes: work around “We are supposed to handle only one channel” bug.Will Thompson2-0/+32
This is the bug which breaks the first request after the offerer signed in.
2012-07-17tubes: quick hack to allow running two instancesWill Thompson3-7/+12
To record a screencast, I wanted to get two instances of LibreOffice running in the same session. But the Client object(s) claim D-Bus names, so initializing the second instance failed. This patch changes things so that if LIBO_TUBES=master, no Client objects are created. As a result, only the slave can receive files.
2012-07-17tubes: make the contacts list show somethingMichael Meeks2-2/+2
2012-07-17Include packet in packetReceived signals.Will Thompson4-27/+16
(And also signalify receiving files.)
2012-07-17tubes: add a shared TeleManager singletonWill Thompson2-1/+46
Yes, this is in addition to the existing TeleManagerImpl singleton. This class needs to be properly split in half: one Manager part from which the UI can request new sessions and which signals the appearance of new incoming sessions, and another Session part representing the shared editing session (which in turn owns one or more Conferences, which owns exactly one tube, as now). The Manager will dispatch incoming files to the appropriate Conference by UUID or similar. But for now, Michael is opening a new window with the received file, so we want incoming and outgoing events to go to both windows so that it works well enough for a demo.
2012-07-17tubes: replace packetReceived link with a boost signalWill Thompson3-21/+25
2012-07-17ContactList: ask for avatar data for our contactsWill Thompson1-0/+1
2012-07-17tubes: delete MainLoopFlusherWill Thompson2-44/+0
This doesn't actually seem to have any effect on the test passing or failing.
2012-07-17tubes: reinstate erroneously-commented unrefsWill Thompson1-2/+2
I think I commented these out while hunting stack corruption.
2012-07-17tubes: update readme, get -something- working wrt. document transferMichael Meeks1-0/+18
2012-07-17tubes: push sent packets onto the incoming queue.Will Thompson3-7/+24
This ensures that our changes are echoed locally as well as being sent to the peer.
2012-07-17tubes: delete some loop-spinning debugWill Thompson1-2/+0
2012-07-17tubes: calm debug thrash and get master connections right.Michael Meeks1-3/+0
2012-07-17tubes: mangle service name into file descriptionWill Thompson2-2/+2
The version of Gabble that Michael and Eike are using doesn't support the Metadata interface that we're using to direct this channel to LibreOffice. Perhaps putting something magic into the mime type would be a better temporary workaround but hey.
2012-07-17Use a slightly nicer filenameWill Thompson2-2/+8
2012-07-17tubes test: remove an unused functionWill Thompson1-9/+0
2012-07-17tubes test: disable testFailAlways()Will Thompson1-1/+3
2012-07-17tubes: skip self contactWill Thompson1-1/+4
You should only have yourself on your contact list on rare occasions, but…
2012-07-17tubes: improve the hack to work outside the test suite!Will Thompson1-13/+10
2012-07-17tubes: add a hack to give time for caps to propagate :(Will Thompson1-0/+11
2012-07-17fixup!Will Thompson1-1/+1
2012-07-17WIPWill Thompson5-54/+37
2012-07-17TeleManager: make g_type_init() the first thing doneWill Thompson1-4/+4
2012-07-17tubes: wrapper to enable tubesEike Rathke5-7/+41
If environment variable LIBO_TUBES is set, Calc's ScDocFuncSend and ScDocFuncRecv act over tubes.
2012-07-17tubes: remove "account without account??" warningWill Thompson1-3/+1
It's completely kosher for Telepathy accounts not to have a parameter called 'account' (which really means 'username'): Salut (link-local XMPP) accounts do not, for example, because you don't need to specify a username. tp_account_get_normalized_name() gets your contact ID for an account, which is really what we're looking for here.
2012-07-17tubes: implement receiving files.Will Thompson7-8/+202
2012-07-17tubes test: fix stack corruption on test failureWill Thompson1-3/+9
We can't use CPPUNIT_ASSERT() from a callback called by C code (such as the FileSent callback), or we'll trash the stack if it fails.
2012-07-17tubes: pull in tubes headers and linkageEike Rathke2-0/+40
2012-07-17tubes: don't bypass approval for tubesWill Thompson1-1/+1
Setting BypassApproval makes incoming channels skip the approver step—the step which triggers the dialog box asking whether the user wants to accept the offer.
2012-07-17tubes: Add preliminary API for sending a fileWill Thompson8-0/+2014
Crashes if the file transfer fails. file-transfer-helper.[ch] are, as their license headers state, LGPL v2.1+. They come from Empathy. I am in the process of refactoring them so they can live in a future version of telepathy-glib (which is itself LGPL v2.1+), so their presence here is temporary.
2012-07-17tubes test: refactor spinning mainloopWill Thompson1-14/+20
2012-07-17tubes manager: fix a compiler warningWill Thompson1-3/+4
2012-07-17Throw an error if we get channels we don't understand.Will Thompson1-1/+11
2012-07-17tubes: make Conference hold TpAccountWill Thompson4-14/+45