summaryrefslogtreecommitdiffstats
path: root/tubes
Commit message (Collapse)AuthorAgeFilesLines
* tubes: update READMEMatúš Kukan2012-08-201-62/+14
| | | | Change-Id: Iab26aa96301851ace6244688a38bbb99630afd73
* tubes: add few more commentsMatúš Kukan2012-08-202-5/+12
| | | | Change-Id: I263443d341805583f8ecedf0da738b75249b5d97
* tubes: fix indentation and scope of variablesMatúš Kukan2012-08-201-39/+30
| | | | Change-Id: Ibd0b000d2a8f216e0eb202f7fa7795903e5e18e8
* tubes: move getContacts() to TeleManager where it belongs, I believeMatúš Kukan2012-08-208-255/+126
| | | | Change-Id: I69ca3bde24890d809d8fad60398687c54aa1ca54
* tubes: correctly use SAL_INFO and SAL_WARN macrosMatúš Kukan2012-08-161-2/+2
| | | | Change-Id: Ib08ff43a4a65029b37ddbddea1538d570d258300
* tubes: add include for clangMatúš Kukan2012-08-161-0/+1
| | | | Change-Id: Ia0fd4c84b3c6e37250c6f0289bf0765977855bd2
* tubes: simplify and make more readable, I believeMatúš Kukan2012-08-162-64/+32
| | | | Change-Id: I83a4332d9947d03382b10ea050f26bf3ed544299
* tubes: do not include tubes' object files in unit test libraryMatúš Kukan2012-08-166-61/+44
| | | | | | | | Instead link against the library again. Unit test is now closer to what the real app looks like. Only 4 more functions exported because of unit test. Change-Id: I6fd784725564e577658d68ff7fe0595a79cf7639
* tubes: implement simple TestCollaboration to test receiving packetsMatúš Kukan2012-08-161-3/+22
| | | | Change-Id: I46621589f2e1282fbaf369bdb387bb63c5768206
* tubes: fix unittest again and simplifyMatúš Kukan2012-08-165-117/+70
| | | | | | | - killed GMailLoop, seems to work with g_main_context_iteration( NULL, TRUE); - added test for sending and also receiving file Change-Id: Ida11f875709dab71d404697e8c39fe4548f653b0
* tubes: also prepare the Account Manager when creating; and simplifyMatúš Kukan2012-08-164-116/+44
| | | | Change-Id: I7705d627d17f20c3c81de7aa4debbefc127354b0
* tubes: clean this makefileMatúš Kukan2012-08-141-8/+4
| | | | Change-Id: Iaae75640e2daac0edce609a99f20056e12756ffc
* tubes: use channel's signal closed to know when end the collaborationMatúš Kukan2012-08-146-63/+42
| | | | Change-Id: I11e0aa2db3b41a166e23c85fd040f883e0d3be08
* tubes: add invite to Collaboration classMatúš Kukan2012-08-083-11/+10
| | | | Change-Id: I37463d4365a2fe81e58d5f4bcf9f86d9830e26be
* tubes: do not encode UUID into file name anymoreMatúš Kukan2012-08-084-25/+15
| | | | Change-Id: I6c3828eb9c2f2d1810822e90006fc1af4bfcf277
* tubes: use file channel description for sending UUIDMatúš Kukan2012-08-083-4/+38
| | | | Change-Id: I44129798110491cd59e1eb39d2f4c2cf3eb3c81b
* Revert "tubes: mangle service name into file description"Matúš Kukan2012-08-082-2/+2
| | | | | | | | Hopefully, it will work now, and we can use description field for UUID. This reverts commit 98411a76545737f4b2b956fb1cc137a924c64641. Change-Id: Ib6feeea861949c0cd316fda0295f13751de789e5
* tubes: re-use typedefs from contact-list.hxxMatúš Kukan2012-08-081-20/+16
| | | | Change-Id: I7b1ac653d22275a64d00913f014ca2536be3ffed
* tubes: finish efforts to make TeleManager staticMatúš Kukan2012-08-084-193/+125
| | | | Change-Id: I1d25a6074c3465a6e8c1df3127093d30d913b65d
* tubes: make contacts dialog a member of Collaboration classMatúš Kukan2012-08-088-70/+39
| | | | Change-Id: Ib50b550f9486bc1abfeefd5d1aac57c0d712ec04
* tubes: handle TeleConference internally in CollaborationMatúš Kukan2012-08-088-36/+95
| | | | | | Hopefully, this simplifies the tubes <-> app interface Change-Id: I8933fde490941b259d5d133972db26a09ab380d5
* tubes: fix buildMatúš Kukan2012-08-051-1/+1
| | | | Change-Id: I3251d6282df132c3df0217187eb140beb95718e6
* tubes: do not queue incoming packetsMatúš Kukan2012-08-044-50/+15
| | | | Change-Id: Ida0f3b9ce7cebdb0517457900d2b0b2377e6c8ab
* tubes: avoid boost::signaling received packetsMatúš Kukan2012-08-047-67/+9
| | | | Change-Id: I63e262aa05ec7c06c15eaf74201b6ac1966e2e56
* tubes: avoid ugly SAL_DLLPUBLIC_EXPORT hereMatúš Kukan2012-08-042-4/+12
| | | | Change-Id: Icd839cd70dd32f766ad52d74fcf3cff28281da7e
* tubes: remove unused parameterMatúš Kukan2012-08-044-26/+10
| | | | Change-Id: I22cd7cc866696dd7def7d7cb20d00da68d408137
* tubes: call the function directlyMatúš Kukan2012-08-043-25/+4
| | | | Change-Id: Ic9f02f7df77fabaec585c3f53bf0a86044bf27bb
* tubes: implement another way for demoing collaborationMatúš Kukan2012-08-046-10/+95
| | | | | | This way it affects code ~only internally in tubes/ module. Change-Id: I1fd1fa460d51ad57ae2f6df0adeb5fadfc7a8c95
* tubes: stop collaborating when the account gets off-lineMatúš Kukan2012-08-042-2/+38
| | | | Change-Id: Ic6f1bc41bc212e0c36751168f1204c41ebe0ce61
* tubes: fix build of unit test; set include path for nowMatúš Kukan2012-08-041-0/+5
| | | | | | Later we would want to move headers if they are not used outside. Change-Id: I863f6f00254b335af563598a195aea01595f6c99
* tubes: stop collaborating when the contact leavesMatúš Kukan2012-08-045-2/+34
| | | | Change-Id: I779aededb95eac6cbfb2fec3e97d207704244e25
* tubes: fix leaking ScCollaboration; add it to ScDocShellMatúš Kukan2012-08-041-1/+0
| | | | Change-Id: I43c951b5694ad38aa1a2e5da7cc99dfb52685349
* tubes: use SAL_INFO SAL_WARN hereMatúš Kukan2012-08-041-4/+4
| | | | Change-Id: Iae41c7f3d6718c06092d41d9b3757a821dba87b5
* tubes: we use less symbols after bc21b49a464ae153341ee8d836993ca89b1a6919Matúš Kukan2012-08-044-13/+10
| | | | Change-Id: Ibf2e3d3f5de87848ba8efb669308fe790d6622d6
* tubes: do not use boost::signal here; call function directlyMatúš Kukan2012-08-043-11/+17
| | | | Change-Id: Iaab997f3d56d76fe98d70f8cffdbb44a34500901
* tubes: create contacts dialog instance for each document separatelyMatúš Kukan2012-08-042-3/+16
| | | | | | | This solves a crash when static dialog instance was destroyed on closing of one document but then was used in another document. Change-Id: I6ac9edb1de83f638bdf4ce7c0814fcbdf4b4b1e5
* tubes: remove pointless defineMatúš Kukan2012-08-041-6/+0
| | | | Change-Id: I5ef7f8a5a37d0a77a9dadc44e1e895581c2ebb50
* tubes: make TeleManager::getConference() staticMatúš Kukan2012-08-042-2/+2
| | | | Change-Id: Ic7023a40eb2f09802b100d9317c0a6a66d901476
* tubes: move sc/source/ui/collab/contacts.* to tubesMatúš Kukan2012-08-0210-1/+456
| | | | | | | | | - sc no longer directly links against telepathy - there is new class ScCollaboration derived from abstract Collaboration describing collaboration functionality for apps used in tubes/ - also added resource manager into tubes/ Change-Id: Ic89ae955f5b47490f4f4b8781bcee5dea5336bae
* tubes: impose strict ordering on 1-1 collaborationMatúš Kukan2012-08-023-10/+29
| | | | | | | - master (the one who started the session) echoes back packets from slave, who only then, after receiving own commands executes them Change-Id: I8b5a1d1bae0d665b65fe2ec0121430178728274d
* tubes: send file when inviting contact to MUC collaborationMatúš Kukan2012-07-264-5/+6
| | | | | | | | - add UUID info to TeleConference - let SendFile function take argument for contact instead of getting contact from the channel info, what couldn't work for MUC channel Change-Id: I4dc45c084966a030ff4b503e192d452797f0bfdd
* tubes: clean this outMatúš Kukan2012-07-262-13/+8
| | | | Change-Id: I7d4cafbe51695c0ff36480311858b9167344c119
* tubes: move mbChannelReadyHandlerInvoked to pImplMatúš Kukan2012-07-262-9/+16
| | | | Change-Id: If2ddd8bdcb11727be719e8966aa689fbabd94f44
* tubes: kill double-singletonning of TeleManagerMatúš Kukan2012-07-263-55/+6
| | | | | | | | I am not sure why it was introduced in 0dae49a03c9b4816d8cdde69e30bcd2db2e30724 and hope that it's safe to remove it now. Change-Id: I62f0ac230a83473386eabc45c9fcc387f62631e3
* tubes: TeleManger's GMainLoop* now unusedMatúš Kukan2012-07-262-40/+6
| | | | Change-Id: I99b482a60155c596c4b64534f62ce4c9d4d9a94b
* tubes: resurrect unit test to serve againMatúš Kukan2012-07-265-207/+114
| | | | | | | | | | - make it subsequent test to be less annoying - we again inherit from CppUnit::TestFixture - currently there is no test that we've received the sent packet - nor any test for received file - to prevent exporting more symbols we link directly tubes' object files Change-Id: I79edf0c701f8c46eb45d507266f6dafc0c8eeea2
* tubes: keep contacts dialog updated on contacts' presence changesMatúš Kukan2012-07-242-0/+21
| | | | | | - make the dialog - TubeContacts static pointer, so there is only one Change-Id: I12f256bebc27ba31a82082d7107066de8079893c
* tubes: init TeleManager in desktopMatúš Kukan2012-07-242-0/+18
| | | | | | | - register clients when we run --invisible - create ScDocFuncSend only if we are going to use it Change-Id: I7e33cd5a2e42e34a055146dc6c2bdac3657d6529
* tubes: do not include telepathy-glib.h in public headersMatúš Kukan2012-07-235-4/+15
| | | | Change-Id: Ib2c88f2f1fc1c9ebffbbdc9896045c3d1e5b719c
* tubes: create TeleConferenceImpl to hide more details from publicMatúš Kukan2012-07-233-61/+74
| | | | Change-Id: If1be001e336991218893e3bc455a16e73ecaab0f