Commit Graph

121 Commits

Author SHA1 Message Date
72e5d0c8fb Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-30 13:34:06 +01:00
62badf3828 Move to MPLv2 license headers, with ESC decision and author's permission. 2013-04-22 09:37:38 +01:00
9dd52eb86a use GLIB_CHECK_VERSION instead of GLIB_VERSION_X_XX
Michael Meeks pointed out that the latter can cause problems.

Change-Id: I68e7f8c6dcfae52305738b2a8cdee72e9c2c7f93
2013-04-19 17:46:28 +04:00
025857d81d WaE: g_type_init has been deprecated since GLib 2.36
Change-Id: Ied9b2c2424d780d589cb1b07df0ec38107d49829
Reviewed-on: https://gerrit.libreoffice.org/3434
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-04-18 09:19:46 +00:00
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
2bded30459 Remove RTL_CONSTASCII_STRINGPARAM from tubes
Change-Id: If30e500ad751a220fcecd78cbf29a8e4dde08ff7
2013-03-16 10:48:06 +01:00
0c22f3eadd Make LO buildable again after the GraphicFilter move.
Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c
2013-01-04 22:02:51 +01:00
bb121c864c fdo#46808, Convert frame::Desktop to new style service.
I had to drop XEventBroadcaster from the merged interface
because it introduced method name conflicts (addEventListener).

Shouldn't be an issue since it was scheduled to be dropped anyhow,
and the service implementation still implements it, so existing clients
will be fine.

I dropped the interface XPropertySet from the combined IDL because nobody
seems to be using it, and it's primary purpose appears to be to set weird
flags.

I dropped the optional interfaces
   XStatusIndicatorFactory
   XDispatchInformationProvider
from the combined IDL because the service does not implement them, and
nobody seems to be using them. I suspect they were mistakenly copied
from XFrame.

I also did not convert the Title, UserDefinedAttributes and LayoutManager
properties to attributes, again because no-one is using them.

Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21 10:57:09 +02:00
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
e74fc93e4a tubes: use new .ui format for contacts dialog
it looks worse; more work needed

Change-Id: If8d15d614d49b1cea751852164b3e0edf43c52a6
2012-10-13 16:31:30 +02:00
1ad0aef2ab tubes: getProcessServiceFactory does not return NULL anymore
Change-Id: I3e5e2e2c826a732028c1ffc32b9620d22c3409d1
2012-10-10 20:55:25 +02:00
24209be305 tubes: fix indentation and scope of variables
Change-Id: Ibd0b000d2a8f216e0eb202f7fa7795903e5e18e8
2012-08-20 17:35:59 +02:00
466edaa9fb tubes: move getContacts() to TeleManager where it belongs, I believe
Change-Id: I69ca3bde24890d809d8fad60398687c54aa1ca54
2012-08-20 17:35:58 +02:00
9adf29502b tubes: correctly use SAL_INFO and SAL_WARN macros
Change-Id: Ib08ff43a4a65029b37ddbddea1538d570d258300
2012-08-16 15:38:37 +02:00
86b81fb1ef tubes: add include for clang
Change-Id: Ia0fd4c84b3c6e37250c6f0289bf0765977855bd2
2012-08-16 15:38:36 +02:00
4662df8a75 tubes: simplify and make more readable, I believe
Change-Id: I83a4332d9947d03382b10ea050f26bf3ed544299
2012-08-16 11:41:52 +02:00
27861421a3 tubes: do not include tubes' object files in unit test library
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
2012-08-16 11:41:52 +02:00
ece8eadbc0 tubes: fix unittest again and simplify
- killed GMailLoop, seems to work with g_main_context_iteration( NULL, TRUE);
- added test for sending and also receiving file

Change-Id: Ida11f875709dab71d404697e8c39fe4548f653b0
2012-08-16 11:41:51 +02:00
766a0247fc tubes: also prepare the Account Manager when creating; and simplify
Change-Id: I7705d627d17f20c3c81de7aa4debbefc127354b0
2012-08-16 11:41:51 +02:00
7f6b2321a5 tubes: use channel's signal closed to know when end the collaboration
Change-Id: I11e0aa2db3b41a166e23c85fd040f883e0d3be08
2012-08-14 19:39:46 +02:00
011e348e11 tubes: add invite to Collaboration class
Change-Id: I37463d4365a2fe81e58d5f4bcf9f86d9830e26be
2012-08-08 10:04:21 +02:00
c3c2dcf80d tubes: do not encode UUID into file name anymore
Change-Id: I6c3828eb9c2f2d1810822e90006fc1af4bfcf277
2012-08-08 10:04:20 +02:00
1fa1894ec4 tubes: use file channel description for sending UUID
Change-Id: I44129798110491cd59e1eb39d2f4c2cf3eb3c81b
2012-08-08 10:04:19 +02:00
35aa0360ed Revert "tubes: mangle service name into file description"
Hopefully, it will work now, and we can use description field for UUID.

This reverts commit 98411a76545737f4b2b956fb1cc137a924c64641.

Change-Id: Ib6feeea861949c0cd316fda0295f13751de789e5
2012-08-08 10:04:19 +02:00
6766c6a2a0 tubes: re-use typedefs from contact-list.hxx
Change-Id: I7b1ac653d22275a64d00913f014ca2536be3ffed
2012-08-08 10:04:18 +02:00
510576b6d8 tubes: finish efforts to make TeleManager static
Change-Id: I1d25a6074c3465a6e8c1df3127093d30d913b65d
2012-08-08 10:04:17 +02:00
b870f1420e tubes: make contacts dialog a member of Collaboration class
Change-Id: Ib50b550f9486bc1abfeefd5d1aac57c0d712ec04
2012-08-08 10:04:17 +02:00
34c6421bdd tubes: handle TeleConference internally in Collaboration
Hopefully, this simplifies the tubes <-> app interface

Change-Id: I8933fde490941b259d5d133972db26a09ab380d5
2012-08-08 10:04:16 +02:00
c3c9ae052b tubes: do not queue incoming packets
Change-Id: Ida0f3b9ce7cebdb0517457900d2b0b2377e6c8ab
2012-08-04 22:51:37 +02:00
b3da63d28f tubes: avoid boost::signaling received packets
Change-Id: I63e262aa05ec7c06c15eaf74201b6ac1966e2e56
2012-08-04 22:51:36 +02:00
ee1b41dcc2 tubes: avoid ugly SAL_DLLPUBLIC_EXPORT here
Change-Id: Icd839cd70dd32f766ad52d74fcf3cff28281da7e
2012-08-04 22:51:36 +02:00
8269d572d0 tubes: remove unused parameter
Change-Id: I22cd7cc866696dd7def7d7cb20d00da68d408137
2012-08-04 22:51:34 +02:00
525b1ad345 tubes: call the function directly
Change-Id: Ic9f02f7df77fabaec585c3f53bf0a86044bf27bb
2012-08-04 22:51:34 +02:00
401806233c tubes: implement another way for demoing collaboration
This way it affects code ~only internally in tubes/ module.

Change-Id: I1fd1fa460d51ad57ae2f6df0adeb5fadfc7a8c95
2012-08-04 22:51:32 +02:00
769e2b59e6 tubes: stop collaborating when the account gets off-line
Change-Id: Ic6f1bc41bc212e0c36751168f1204c41ebe0ce61
2012-08-04 01:57:17 +02:00
8aef9f4027 tubes: stop collaborating when the contact leaves
Change-Id: I779aededb95eac6cbfb2fec3e97d207704244e25
2012-08-04 01:57:16 +02:00
56977dfaa5 tubes: fix leaking ScCollaboration; add it to ScDocShell
Change-Id: I43c951b5694ad38aa1a2e5da7cc99dfb52685349
2012-08-04 01:57:14 +02:00
0c9aae91bc tubes: use SAL_INFO SAL_WARN here
Change-Id: Iae41c7f3d6718c06092d41d9b3757a821dba87b5
2012-08-04 01:57:13 +02:00
b7e0777878 tubes: do not use boost::signal here; call function directly
Change-Id: Iaab997f3d56d76fe98d70f8cffdbb44a34500901
2012-08-04 01:57:12 +02:00
4e648b8e7c tubes: create contacts dialog instance for each document separately
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
2012-08-04 01:57:11 +02:00
f2c7d7aea4 tubes: remove pointless define
Change-Id: I5ef7f8a5a37d0a77a9dadc44e1e895581c2ebb50
2012-08-04 01:57:10 +02:00
3ef03fbf80 tubes: make TeleManager::getConference() static
Change-Id: Ic7023a40eb2f09802b100d9317c0a6a66d901476
2012-08-04 01:57:10 +02:00
bc21b49a46 tubes: move sc/source/ui/collab/contacts.* to tubes
- 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
2012-08-02 18:00:55 +02:00
4311938f7e tubes: impose strict ordering on 1-1 collaboration
- master (the one who started the session) echoes back packets from
  slave, who only then, after receiving own commands executes them

Change-Id: I8b5a1d1bae0d665b65fe2ec0121430178728274d
2012-08-02 18:00:54 +02:00
df2369657e tubes: send file when inviting contact to MUC collaboration
- 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
2012-07-26 22:15:58 +02:00
7f77377850 tubes: clean this out
Change-Id: I7d4cafbe51695c0ff36480311858b9167344c119
2012-07-26 15:59:22 +02:00
f86cc45d87 tubes: move mbChannelReadyHandlerInvoked to pImpl
Change-Id: If2ddd8bdcb11727be719e8966aa689fbabd94f44
2012-07-26 15:59:20 +02:00
bb9399e2cf tubes: kill double-singletonning of TeleManager
I am not sure why it was introduced in
0dae49a03c9b4816d8cdde69e30bcd2db2e30724
and hope that it's safe to remove it now.

Change-Id: I62f0ac230a83473386eabc45c9fcc387f62631e3
2012-07-26 15:59:19 +02:00
c55b2d0b32 tubes: TeleManger's GMainLoop* now unused
Change-Id: I99b482a60155c596c4b64534f62ce4c9d4d9a94b
2012-07-26 15:59:18 +02:00
19f92976d8 tubes: resurrect unit test to serve again
- 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
2012-07-26 01:29:06 +02:00