summaryrefslogtreecommitdiff
path: root/tubes
AgeCommit message (Collapse)Author
2012-07-17tubes: improve contacts dialogMatúš Kukan
- do not show until it's ready - do not close it with buttons - buttons for both 1-1 and MUC sessions - display all online contacts Change-Id: Idfbea7ffdf76ef3f31dbeeefe62d69cb5e3e64b7
2012-07-17tubes: guard unref() against "accidental" callsEike Rathke
Change-Id: I73b0f8faaa9b6d0707153f3150ca531a33cb0dd3
2012-07-17tubes: add possibility to invite contacts to MUCMatúš Kukan
Change-Id: Ia27c725aff1d16d21ee1f5abcfff9a107bd87a82
2012-07-17tubes: selectively export TeleManager's symbolsMatúš Kukan
Change-Id: I70053c4b1e31ecd281701bab692764ef581e0f57
2012-07-17tubes: remove now unused code, when we don't use maConferencesMatúš Kukan
Change-Id: I403253793791236eaf8e9fd3fc72489ebd447d99
2012-07-17tubes: associate the document directly with TeleConferenceMatúš Kukan
Packet communication now goes directly through TeleConference and TeleManager is used only for receiving files and new channels. This should also allow collaboration of different documents with different contacts independently. Change-Id: Iaf719dce156f1c4c9edc3db4ff0964dec0e0c944
2012-07-17tubes: remove unused TeleConference::maSessionIdMatúš Kukan
Change-Id: Ic6100aa03764cd62b5426e4ec1f3aeb085241c16
2012-07-17tubes: remove unused TeleManager::mbAcceptIncomingMatúš Kukan
Change-Id: Idb4f8e4e47be88efa9e199588936cf426b3e1ce4
2012-07-17tubes: split TeleManager::connect method.Matúš Kukan
Use createAccountManager instead. Optionally also register clients for accepting tubes. Will be used more later. Change-Id: I353d45e95fa130c0c578b74d016b650039358ea7
2012-07-17tubes: warning guard for boost/signals2.hpp [-Werror=shadow]Eike Rathke
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úš Kukan
Change-Id: I99a0dd6765d57c4a1d842b25d600d760930704fa
2012-07-17tubes: make TeleManager::startGroupSession work and use itMatúš Kukan
2012-07-17tubes: use new TeleManager::get() method without parameterMatúš Kukan
2012-07-17tubes: cleanup abstraction, and add in-process demo modeMichael Meeks
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úš Kukan
2012-07-17tubes: mention local copy of needed telepathy-glibEike Rathke
2012-07-17conference: remove a stray dbus-glib import.Will Thompson
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 Thompson
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 Thompson
It already was, actually. :)
2012-07-17tubes: use GDBus rather than libdbusWill Thompson
GDBus is the future. And TpDBusTubeChannel will ultimately give us a GDBusConnection, so...
2012-07-17tubes: move Accept() logic into conferenceWill Thompson
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 Thompson
2012-07-17cleanout flushLoopEike Rathke
relict from testing era, not needed anymore
2012-07-17silence WaE incompatible pointer type and unused parametersEike Rathke
* "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 Rathke
2012-07-17tubes: work around “We are supposed to handle only one channel” bug.Will Thompson
This is the bug which breaks the first request after the offerer signed in.
2012-07-17tubes: quick hack to allow running two instancesWill Thompson
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 Meeks
2012-07-17Include packet in packetReceived signals.Will Thompson
(And also signalify receiving files.)
2012-07-17tubes: add a shared TeleManager singletonWill Thompson
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 Thompson
2012-07-17ContactList: ask for avatar data for our contactsWill Thompson
2012-07-17tubes: delete MainLoopFlusherWill Thompson
This doesn't actually seem to have any effect on the test passing or failing.
2012-07-17tubes: reinstate erroneously-commented unrefsWill Thompson
I think I commented these out while hunting stack corruption.
2012-07-17tubes: update readme, get -something- working wrt. document transferMichael Meeks
2012-07-17tubes: push sent packets onto the incoming queue.Will Thompson
This ensures that our changes are echoed locally as well as being sent to the peer.
2012-07-17tubes: delete some loop-spinning debugWill Thompson
2012-07-17tubes: calm debug thrash and get master connections right.Michael Meeks
2012-07-17tubes: mangle service name into file descriptionWill Thompson
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 Thompson
2012-07-17tubes test: remove an unused functionWill Thompson
2012-07-17tubes test: disable testFailAlways()Will Thompson
2012-07-17tubes: skip self contactWill Thompson
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 Thompson
2012-07-17tubes: add a hack to give time for caps to propagate :(Will Thompson
2012-07-17fixup!Will Thompson
2012-07-17WIPWill Thompson
2012-07-17TeleManager: make g_type_init() the first thing doneWill Thompson
2012-07-17tubes: wrapper to enable tubesEike Rathke
If environment variable LIBO_TUBES is set, Calc's ScDocFuncSend and ScDocFuncRecv act over tubes.
2012-07-17tubes: remove "account without account??" warningWill Thompson
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.