Age | Commit message (Collapse) | Author |
|
Change-Id: I645516d43562dfa03c27e2bea366e9a161829bfe
|
|
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.
Change-Id: I6d991d5834ef15dad24acb14a1d4bbf7d03df762
|
|
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
|
|
Change-Id: I24e7b18442cb08814a73dd33b368b368039a11e4
|
|
This allows requesting text/html, with falling back to plain text if
necessary.
Change-Id: Ie6d4e0e173311ba018553043b6a869abf193bf6f
Reviewed-on: https://gerrit.libreoffice.org/16377
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
|
|
Change-Id: I56ed5047da118eac01d7dea150597133215278e2
|
|
This may reduce some degree of dependency on boost.
Done by running a script like:
git grep -l '#include *.boost/scoped_array.hpp.' \
| xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@'
git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \
| xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/'
... and then killing duplicate or unnecessary includes,
while changing manually
m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx,
extensions/source/ole/unoconversionutilities.hxx, and
extensions/source/ole/oleobjw.cxx.
Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd
Reviewed-on: https://gerrit.libreoffice.org/16289
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I038c05c0d081f52e4ac90688f73397565413632d
|
|
Change-Id: I2f49394c53deece8e86a7f290250c4f52918c5d8
|
|
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.
Change-Id: I10c34dad402d1ec586958b2db21ff44412c36cea
|
|
Change-Id: I354aa987f8e732945fb552d855a3416c782bb508
|
|
We already have the global ENABLE_GTK3 guard for RHEL5 baseline.
Change-Id: Id814a4063861a1e750952b44686ed24864c0394f
|
|
Change-Id: I8d2541f5cbd2b908c2b0dc52cccf9b936bbc307a
|
|
Change-Id: I57f2d7b9383790e5c34fc517a905dd537519598f
|
|
Change-Id: Ia17bdf6e8f871d64add358822ea383236ecd6405
|
|
Change-Id: I9a71ee85d2d28aed5bd3f4d1f6e91261a9228d04
|
|
Change-Id: I675192d6bd6d10e6c7974a5de6f488f9a087ac32
|
|
... so that this widget can be used from other languages.
Change-Id: Icd7d6df6aa587ffdb018af0b911300dc81ec6560
|
|
It is not the job of the widget to provide the scroll bars.
Change-Id: Iafc5724ed5b21717d711bb8f7e1a076dd1288b76
|
|
Change-Id: Ib1ff285d1f8180ecb0be8448ac4c2d1878dff274
|
|
Change-Id: Iee0e9ef3a623706c33f84c34c1fbbf5b173f7f5d
|
|
Change-Id: I2011b491012dfd623ece9fd24a265107ac690cba
|
|
Change-Id: I85fa46de5b864369158d047fd3f7c683f10c822f
|
|
Change-Id: I76cf487c66e048b5e9d0877a1b690cd066b73528
|
|
Change-Id: I1eae8c96c12ba4d272341f45fee6c1fd66ab9e28
|
|
Change-Id: I9f533f577f959c9a715e5214be99ca59cb0d206c
|
|
Change-Id: I06dae2e7a5067160326f4c65f5975c4e5afb05ce
|
|
Change-Id: I27da86c774f0450c844e742563c4a8de3f23ad34
|
|
Change-Id: I3bbd07ce8163890f9b88567966622dd4fbe9d94d
|
|
If we are mentioning this type as DocView, we should break it at each
capital letter.
Change-Id: I76c7eea455281e541b2196a03778018aa127cebe
|
|
Change-Id: Ib33f0e1dcf257350be1e2cf6c49cd92494472a55
|
|
... and place it at places only where the widget can change its size.
Change-Id: I4a4b28b35eba06a6faab434677d4d70d2a33339a
|
|
Lets follow the old advice: "Be liberal in what you accept, be strict in
what you produce".
This is after noticing negative values for x, y in
the payload in some situation, such as, hitting a backspace key when the
cursor is at the start of a line
Change-Id: I11939b981f75969b88214baee66b4c69c5e41906
|
|
Change-Id: Iaf4a5fba5c4c34d03b91ca9ca4dd4eff1dbf39f6
|
|
Improve documentation, style fixes
Change-Id: I5000e32e90cd8e3b75e8df2907673efc303a55fd
|
|
Lets use a member function to set invalid tiles that come under the
given GdkRectangle.
Change-Id: I440336ddf3c5fd9094f35bb89479aa76a42477fa
|
|
twipToPixel and pixelToTwip are also being used by the new TileBuffer
clsas. Lets move these utility functions to a common header,
tilebuffer.hxx
The variables for DPI and tileSize are also moved to tilebuffer.hxx
Change-Id: I9d0bec7f2aefe412df232040a7a9abc6db3e4ccb
|
|
Change-Id: I8637d99e6fa59129af207e667bcdf03dc212efeb
|
|
Using vector each tile needs to be allocated memory irrespective of
whether tile is required or not. This approach fails when we zoom in to
a very high level to have thousands of tiles due to lot of memory
required. Using maps instead of vector takes care of this, and only
allocates Tiles when required.
Change-Id: I523f815618451a7f014e28258e0de7b1c0693370
|
|
The TileBuffer class now manages all the tiles. The tile rendering calls
to LO core is also managed by this class.
Change-Id: Ic667a93dcf1c097e0601c0496e8a083c4742e8cb
|
|
Change-Id: I1a3d8a9229f416418f0f3e9c720b78af09b35978
|
|
Change-Id: I64212113750893f33f8a859ba52ecd8815a820f4
|
|
Change-Id: I6fcd79094bb09f9068a4182eaace794b19633f4c
|
|
Change-Id: If0219eda3a2ca3b97c37bea70e35d47e49d38e02
|
|
Change-Id: Idb1072ecedd9ab0315d67e296da6d306c098b183
|
|
Change-Id: I8a6a6dcac8355796b984f6b37b791596fe9dca02
|
|
Change-Id: Ib1b99221afbf9810bad5fd49fbf62c7a20fd28e4
|
|
Change-Id: I337eed47c56dbbbebda4d7fe716eab6177936dc0
|
|
Change-Id: I47fc389590d581155074fec63cca79bea3596860
|
|
No need to do any actual rendering, the invalidation callback takes care
of that.
Change-Id: I9a3e45cab5250fc45eccb4577fe76377f76354eb
|