summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-02-08tdf#73071 Enable styles content panel in calc and fix spacing issuefeature/cairoYousuf Philips1-0/+5
Change-Id: I43f5d8ef5ca7c5fbd598d866622e6cbb1159f2a0 Reviewed-on: https://gerrit.libreoffice.org/18176 Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Tested-by: Maxim Monastirsky <momonasmon@gmail.com> (cherry picked from commit 1ba1a21aa6b77ef8d3d59b3658dfd2aa87d0dee2)
2016-02-08Consistently represent bullet char as OUStringStephan Bergmann5-14/+10
(One difference is that for an XFListLevelBullet for which SetBulletChar has not been called, ToXml will use an empty string now instead of a string containing a single NUL character. But given that initializing m_chBullet to zero in the XFListLevelBullet ctor was only added recently with 72069675955aaf0b72a7842453347e3e7293f56d "coverity#738770: Unitialized scalar field," assume that ToXml is supposed to be only called after SetBulletChar has been called.) (cherry picked from commit 153ea761e32238d1dd882823cf27da1b11c4d66a) Change-Id: I7a5d7496b038cd094ab11ef8cbc1823ffc5bc130 (cherry picked from commit 735b9ebbef5ca9018c8eef5bbe8e0dab55775972)
2016-02-08Remove unnecessary variableStephan Bergmann1-3/+1
Change-Id: Ibec141be604f15d1c6358d3365a7a3e60c135f1f (cherry picked from commit 6776d52be6dfe3b8725fadb77b87e20a7cc639d0)
2016-02-08Resolves: tdf#92687 implement drawPolyPolygon via cairoCaolán McNamara1-2/+1
modeled on the quartz impl (cherry picked from commit 742da70e6dd2407641835cbcac54b09aeddcb9db) Change-Id: I2f6776c14c7350954932df2bffcca36172f13473
2016-02-07build cairo on androidCaolán McNamara11-20/+41
Reviewed-on: https://gerrit.libreoffice.org/19991 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit fb7d4ba1cbe24b74dfab0f54eeffe898a0291ce3) Change-Id: Ie2f7662a4cc3955963517f265894b8f6a495ece8
2016-02-07do all the headless using platforms have cairo ?Caolán McNamara6-99/+96
Reviewed-on: https://gerrit.libreoffice.org/19953 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 81860b908b0c6104d47886a172b65d8d31f59ec3) Change-Id: I4c0250254480790f49ad45f3d42151aee4a441e8
2016-02-07need cairo >= 1.10.0 for these featuresCaolán McNamara1-1/+1
Change-Id: I8e1e45caadc6cc537f27a194851dd00b1f1d0e89 (cherry picked from commit d1419cf8ff4e9f502443012a4e8c31fa25532032)
2016-02-07loplugin:unusedmethods vclNoel Grandin1-1/+0
(cherry picked from commit 449d272daf5e99f039cdfdd25f020bd798fb9e1d) Change-Id: I98b88ca3369a2c888fd63796e39d42376d513002
2016-02-07try harder to hide this from android tinderboxCaolán McNamara1-5/+3
(cherry picked from commit f1761903cdafd12d4b33d4e8733971a3d9ad8a10) Change-Id: I586fea9f1570b68ed789da8b10a3b46216c42969
2016-02-07WaE: error: 'CAIRO_VERSION' is not definedCaolán McNamara1-1/+1
Change-Id: I9e4f0d0af541226089a6295962a91ca09debb418 (cherry picked from commit b51fe01f7c8853c353401001bdd417b9ed27fb87)
2016-02-07error: missing binary operator before token '('Caolán McNamara1-8/+5
(cherry picked from commit 3928a1514c9202a52d698570022c197ecc8703eb) Change-Id: Ieafb13245a11347cbda8a33e49ad618bf85d8a89
2016-02-07WaE: -Werror=unused-parameter on AndroidCaolán McNamara1-0/+5
(cherry picked from commit b28a63728ac081b3cc94c76d0bac4a573087ca5e) Change-Id: Ie5a4015794350a513c39a60ae650f4626d92e1b8
2016-02-07gtk3: move cairo region clipping to svpCaolán McNamara1-1/+0
(cherry picked from commit edf56cb4300f68a3e513420feccbf8d5287a0428) Change-Id: I4b4f09ee3fb7edbda3b6bb5af024c0966e3a2082
2016-02-07cairo_format_stride_for_width is 1.6 onwardsCaolán McNamara1-0/+4
(cherry picked from commit 5ce9954c5ec244b9a858ab7e996d5201a21dc3fe) Change-Id: Ic233b4b6c7067f2473eb76b0c7e520cfe1dfcd14
2016-02-07libreofficekit: -Werror,-Wformat-securityMiklos Vajna1-1/+1
Change-Id: I177ea091fb1061d9fa71f7fb1a84629128afd6a0 (cherry picked from commit b120adb290cee480516b14683f314318573c9d7e)
2016-02-07lokdocview: post_command arguments are not supposed to be constPranav Kant2-2/+2
Change-Id: Ibc22d03d9eee9fd151ecf5773e36c2519141a5eb (cherry picked from commit 2d2b392dcda5bdfab61a358dc1dd725d65fba07f)
2016-02-07lokdocview: setGraphicSelection in another threadPranav Kant2-8/+70
Change-Id: Ib7a6bf63ee6f300c6c5d50d02a3465d0a075a5be (cherry picked from commit 7c45a57081a921b8f56812dd37c2fcd4b86d2a1a)
2016-02-07lokdocview: Move postMouseEvent in separate LOK threadPranav Kant2-4/+61
(cherry picked from commit de9224bf9686550e63876eb5ac1241b27c01bc25) Change-Id: I9d1a08db2a91a596d3039a2388c22e6ea76dc2b1
2016-02-07lokdocview: Use only one ctor for instantiating LOEventPranav Kant3-47/+65
... and set each member variable manually. Additionally, improves documentation of the struct LOEvent. Change-Id: I2e8e1dc70298dc85943769e2f01c6127eedb8207 (cherry picked from commit 4fb3d2e6be39fb3a7323b11a02adf853ed37a3ca)
2016-02-07lokdocview: Follow the camelCase naming conventionPranav Kant1-10/+10
Change-Id: I05582d33ee3535d4b677fa8138c9d573585a4252 (cherry picked from commit ee0f4f75d2d95aaed8995337947c4cc665722aaf)
2016-02-07lokdocview: Cannot use same GTask object for all calls.Pranav Kant1-3/+6
Change-Id: I875d49a9e4360659087ae70456edefb15bc57b20 (cherry picked from commit 57ec1780d654e335e09a6c64c4d48234f0556635)
2016-02-07Use thread pool for LOK call: paintTile()Pranav Kant3-127/+125
(cherry picked from commit a7f12df929226ba43356d3d092851b07c84ae1c4) Change-Id: I45e94248013277affa11e91439fbc16995b8ed8e
2016-02-07lokdocview, tilebuffer: Add DOxygen commentsPranav Kant2-0/+17
Change-Id: I27377f0a758729a7877cfc6a56ea1b4bb3d1c3c9 (cherry picked from commit e032b64451347f5079c2a5bfbfda8d843db91e2d)
2016-02-07lokdocview: Make paintTile() asyncPranav Kant3-40/+91
Change-Id: I57db9e3adf26996e6e1e105b8b95f53e88e7760f (cherry picked from commit 4edbf5a01fb8d93f3e6f2b9f7100a0c3d2eafa6e)
2016-02-07lokdocview: Use a thread pool for most LOK callsPranav Kant2-78/+253
This is a thread pool with just single thread because LOK is single threaded; using multiple threads in this case would be useless. Primary reason we are using a thread pool here is to avoid the overhead in spawning a new thread for each LOK call. (cherry picked from commit a433ea9f46cc1cc0de7282f3d360d70ad215aaa8) Change-Id: Ibbfdb7cb0a8ef9f07bcc659e65ce8997716aa245
2016-02-07gtktiledviewer: Fill whole statusbar with progressbarPranav Kant1-0/+7
We don't have anything yet to put in statusbar. Let progressbar fill the whole width of statusbar for now. Change-Id: I4cd8745e997a0d2b917bc5baf358b097174d0df9 (cherry picked from commit cb94e003c066033db96da62596022385794f281c)
2016-02-07lokdocview: Emit load-changed signal showing load progressPranav Kant2-13/+49
Change-Id: I69b4c05d12c0c0b2ca6b7d1ad76ed74cc1f4346a (cherry picked from commit da129b682f81a8fdbc6be95142456f204b2b7951)
2016-02-07lokdocview: Call open_document in another threadPranav Kant3-26/+86
This is to keep the widget responsive during document load. Change-Id: I81acaffc75ca7deddd6cc2de6abae22d009d40cd (cherry picked from commit 645f00543405450cd3a3862482dc4e1cda65d098)
2016-02-07gtktiledviewer: method for resetting all tilesMihai Varga3-0/+12
[ Miklos Vajna: The point of the change is that without this, part switching in Calc does not work, as Calc does not invalidate everything after a part switch (unlike Impress), and we suppose the right fix for this is to let the clients throw away the tiles, rather than letting Calc send out invalidations, too. ] Change-Id: Id368b955c54efb87ecf3d59278ddb5cdbb2e7856 Reviewed-on: https://gerrit.libreoffice.org/17267 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk> (cherry picked from commit ed9d6ef1e647b574f58ba870d71a4291d958c0ad)
2016-02-07lokdocview: Grab focus on mouse 'button-press-event'Pranav Kant1-0/+1
Change-Id: I65187bbd2cc32d9278d8b3890a82b5555390858a (cherry picked from commit a625cd702700ae1773966a3133d27027d1c4d083)
2016-02-07g_assert_nonnull was not declaredCaolán McNamara1-0/+2
Change-Id: Ie98c37d4bdaa365ac27e8620fb5bbecbb0faccdf (cherry picked from commit 48abc97220bd95841225cf4e18cd067ef470929a)
2016-02-07gtktiledviewer: Don't continue on widget init failurePranav Kant1-2/+2
Change-Id: I5916357903fad5878d29bc31f21af45816a45ec5 (cherry picked from commit a482d3289fa7e3789a306970ea76d074527c3579)
2016-02-07lokdocview: Handle DELETE keyPranav Kant1-0/+3
Change-Id: I58d0c36decf81c812c108458b449402416ebcc2d (cherry picked from commit e2c73bf76a35ee8ce18e4499587de849c92eef1c)
2016-02-07tilebuffer: Add timer to measure paintTile() callPranav Kant1-1/+4
Change-Id: I2645863c7445e17d77e2c4e2dc24e22f8685034e (cherry picked from commit 580c70883ca8c9bc73ea42cb05983b9df57f55ff)
2016-02-07lokdocview: Remove superfluous *_post_key()Pranav Kant3-46/+20
Instead directly let LOKDocView handle the input. Change-Id: I260a460df23c3e2e5c78d8b363bb864ae5c63dab (cherry picked from commit da49b8339828c0ee27d999ac4201e0eb12a1a47f)
2016-02-07lokdocview: Don't handle hyperlink clicksPranav Kant2-3/+20
Instead emit the signal 'hyperlink-clicked', and let the application decide how it wants to handle the hyperlink clicks. (cherry picked from commit 9d2fa921470152647cc3b54355f70a1365f752ff) Change-Id: Ief72bbd16727e140cacf28b852ad43952c02f7ae
2016-02-07lokdocview: fixed a signal namePranav Kant1-1/+1
Change-Id: I645516d43562dfa03c27e2bea366e9a161829bfe (cherry picked from commit e608a754b0ab14d3c5ec21237d163218d0be3e09)
2016-02-07lokdocview: Use *get_instance_private () to get private structurePranav Kant2-57/+73
Let lok_doc_view_get_instance_private () do the pointer arithmatic. Additionally, we are saving sizeof (void*) already in the _LOKDocView struct with this approach. (cherry picked from commit cf14391bc25e977bf70870004d8df79926a99e0c) Change-Id: I6d991d5834ef15dad24acb14a1d4bbf7d03df762
2016-02-07lokdocview: Use GInitablePranav Kant3-18/+39
The construction of LokDocView widget can fail because it involves initializing the lok context via lok_init. Having lok_init calls in constructed virtual method is a bad idea since it assumes that construction will never fail. So, implement GInitable for this class, and move the object initialization from constructed to initable. Change-Id: Idf18a054cf8ef2e946392458ec52cb0107bd7454 (cherry picked from commit a2aaf911e2e7b63af920186acb2a5e03bc58bd54)
2016-02-07gtktiledviewer: do HTML copying if possibleMiklos Vajna1-2/+35
Change-Id: I24e7b18442cb08814a73dd33b368b368039a11e4 (cherry picked from commit f403cecdaedf263f11081c91bed62640362a3a3e)
2016-02-07LOK: return used format in Document::getTextSelection()Miklos Vajna1-1/+3
This allows requesting text/html, with falling back to plain text if necessary. Reviewed-on: https://gerrit.libreoffice.org/16377 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org> (cherry picked from commit af7cbebd8eed82b81e00e6c2e0dc6c2c467ad8e2) Change-Id: Ie6d4e0e173311ba018553043b6a869abf193bf6f
2016-02-07gtktiledviewer: add copy buttonMiklos Vajna1-0/+21
Change-Id: I56ed5047da118eac01d7dea150597133215278e2 (cherry picked from commit 437210d58f32177ef1829d704f7f4d2f1bbfbfdd)
2016-02-07lokdocview: couple for missing static_cast<GParamFlags>()Miklos Vajna1-8/+5
Change-Id: I038c05c0d081f52e4ac90688f73397565413632d (cherry picked from commit 9dcd2d119ab67bde9de588c42db3805525d5f06a)
2016-02-07Superfluous block; lets merge into onePranav Kant1-3/+0
Change-Id: I2f49394c53deece8e86a7f290250c4f52918c5d8 (cherry picked from commit 23ca7d8a81df74d7195d2d8916f77c6305fc8a94)
2016-02-07lokdocview: Restructure this GObject classPranav Kant3-855/+1056
This is a big messy commit restructuring the whole class to follow most common practices followed by standard GObject classes, so that it can keep gobject-introspection happy; hence, allowing this widget to be used from other languages. (cherry picked from commit 3061e486f9f9313c15cba6782edfaee96fe4f83d) Change-Id: I10c34dad402d1ec586958b2db21ff44412c36cea
2016-02-07gtktiledviewer: Replace deprecated Gtk functionsPranav Kant1-19/+36
Change-Id: I354aa987f8e732945fb552d855a3416c782bb508 (cherry picked from commit 101b616c7a2ee90b6d09eedd7a7543a63f237c97)
2016-02-07lokdocview, gtktiledviewer: Remove gtk version checksPranav Kant2-29/+0
We already have the global ENABLE_GTK3 guard for RHEL5 baseline. Change-Id: Id814a4063861a1e750952b44686ed24864c0394f (cherry picked from commit 0bb2ae2d00a280cef4cc0c148c7c3c0050709219)
2016-02-07lokdocview: Port to gtk3; 'expose-event' -> 'draw'Pranav Kant2-25/+24
(cherry picked from commit 256a9cef8bdd89b90f0c371df8f849c567f84213) Change-Id: I8d2541f5cbd2b908c2b0dc52cccf9b936bbc307a
2016-02-07lokdocview, gtktiledviewer: Port to gtk3Pranav Kant5-25/+31
(cherry picked from commit 9b3679301fe4ec4c972b68ef2cbbdd23cbc79053) Change-Id: I57f2d7b9383790e5c34fc517a905dd537519598f
2016-02-07cppcheck: postfixOperatorJulien Nabet1-1/+1
Change-Id: Ia17bdf6e8f871d64add358822ea383236ecd6405 (cherry picked from commit 01a189abcd9a4ca472a74b3b2c000c9338fc2c91)