Commit Graph

352600 Commits

Author SHA1 Message Date
Markus Mohrhard
945ee34483 hide OpenGLWindow in normal charts
Change-Id: Ie45a910d2b99b7644a8055476aa191ef8a724d38
2014-05-07 21:23:55 +02:00
Markus Mohrhard
5ae77e8fbf provide bar color for 3D OGL chart
Change-Id: Ia41748cabba89a0257c62f66a280810adc56960e
2014-05-07 21:23:55 +02:00
Markus Mohrhard
464439667f fix crash when canceling the chart wizard
Change-Id: Iebd9db279e9db22bc273509cf480737d7c7a1dd6
2014-05-07 21:23:54 +02:00
Markus Mohrhard
66d02a5604 set the size to context and renderer before rendering
Change-Id: I2945a7b8647d0a40270b1e65cde2a0eb936ab1d1
2014-05-07 21:23:54 +02:00
Markus Mohrhard
62b71e9ad3 let us pass the window to get the size correct
Change-Id: I8bd8a319e67cdcf7266d3c8f86d1bf132163d665
2014-05-07 21:23:54 +02:00
Markus Mohrhard
4df22646d4 the temporary context can finally die
Change-Id: I7dec2772000e25c4bd23f21b61dbd835ef9397cf
2014-05-07 21:23:53 +02:00
Markus Mohrhard
a7eba60df0 the rendering is working on-screen
I can't believe that I finally see something on the screen.

Change-Id: Ic374c8a0d0fa5050b0701a5553136759c9c7602c
2014-05-07 21:23:04 +02:00
Markus Mohrhard
af578839ca let us use the new OpenGLWindow
Change-Id: I5cbab0aa1707513b62f7a9958fac013b3beb2dcb
2014-05-07 21:23:04 +02:00
Markus Mohrhard
67c134d4e2 avoid linking against the OpenGL libs when only using the window
This lets us avoid to link libsclo against all the OpenGL libraries and
only link against libvcl_opengl. Only code actually using the context
will need to link against the OpenGL libs.

Change-Id: Ia47f4c651702a7fb8517073cda6fb113e7e26e50
2014-05-07 21:23:04 +02:00
Markus Mohrhard
a8e66dd657 add new window that contains OpenGL context
Change-Id: I81ce3581942d03785809d728b6b54b570899bcdc
2014-05-07 21:23:03 +02:00
Markus Mohrhard
036b6c9ef4 fix the OpenGL offscreen rendering a bit
Change-Id: I1f11cdff0de48e3281a58aec9ea37a78c637195e
2014-05-07 21:23:03 +02:00
Markus Mohrhard
a28bcb6e57 provide the OpenGL window
This approach looks much better. We get size and position correct
without much work and can easily plug the window into the sc window
hierarchy.

We still have a crash on exit as the ScGridWindow goes out of scope and
the SystemChildWindow is still alive. We need to fix it and bind the
lifecycle of the SystemChildWindow to ScGridWindow.

Another open item is the OpenGL context work. Right now it looks like
the best way forward is to create a subclass of SystemChildWindow that
contains the OpenGLContext.

Change-Id: Ie0a74531e1b818cea92912345464c8fa219bbae2
2014-05-07 21:22:28 +02:00
Markus Mohrhard
42a47cd66e remove global variable
Change-Id: Ie5f55feb39798dff27e0c6b41d5b88b6e9bf19bc
2014-05-07 21:22:10 +02:00
Andras Timar
3307a63bb1 typo fix
Change-Id: Ia692d095c024ed4bf4713e9d31083e6cff5c9ded
2014-05-07 21:00:42 +02:00
Chris Sherlock
d32b2863be Handle non-initialized pImplSVData in InitAppFontData
If pSVData->maWinData.mpFirstFrame is null in
Application::InitAppFontData() then we need to create a new WorkWindow.

Change-Id: I6665ff6525321554c8fd4943ec623978ce35f168
Reviewed-on: https://gerrit.libreoffice.org/9272
Reviewed-by: Tor Lillqvist <tml@collabora.com>
Tested-by: Tor Lillqvist <tml@collabora.com>
2014-05-07 17:27:08 +00:00
Apostolos Syropoulos
09555ce045 Avoid inlining of bridge functions on Solaris / Intel.
Change-Id: Id047044f86ca358c40a87bebde84453787ccec6d
2014-05-07 18:25:56 +01:00
Andrew
777b8f4318 Icon Redux 02: Optimised Galaxy theme
Lossless optimisation of Galaxy PNG files. Saved ~20% overall.

QA- Inspect icons with Galaxy theme selected, using all aspects of the office suite. There should be no visible changes.

Change-Id: I41f17e06cea7acd729749a069fc0ab4f8fbc9630
Signed-off-by: Andrew <dent.ace@gmail.com>
2014-05-07 18:25:55 +01:00
Michael Stahl
bba3c94155 SwTxtNode::CopyText(): actually check hints of destination node too
Change-Id: I1bb883502ccd4c6fb5bdfd93f2fa5a04de0b2701
2014-05-07 18:01:08 +02:00
Michael Stahl
80b131038d fdo#74790: sw: Compare Document: fix assertions about RSID-only hints
For ordinary documents the SwTxtNode::MakeFrm() would set the
m_bFormatIgnoreStart/End flags of the RSID-only hints, but the document
loaded by Compare Document (and Merge Document) is special because it
is loaded, there are editing operations on it, but it has no layout,
so the assertions about these flags trigger.

(regression from 6db39dbd73)

Change-Id: I8a6e02b68f22e609640adbe93ff194e4081d9856
2014-05-07 18:01:08 +02:00
Caolán McNamara
b179235f70 center slide after changing zoom
Change-Id: I08698b06d0485d2cd3573af665e0621b42d37349
2014-05-07 16:35:35 +01:00
Takeshi Abe
34ae7b16d7 Avoid possible memory leaks in case of exceptions
Change-Id: Idf1460e5207e0797390593535f2b2c080609a77b
2014-05-08 00:10:34 +09:00
Caolán McNamara
8c4acc98d1 coverity#735932 Explicit null dereferenced
Change-Id: I35ccc5ba619f7e861fca2c5e78de86d88480017d
2014-05-07 15:47:27 +01:00
Caolán McNamara
b5e8833f57 coverity#735924 Explicit null dereferenced
Change-Id: I77044f6f9e99ddaa64cf69ba22205d6536a90b1b
2014-05-07 15:47:27 +01:00
Caolán McNamara
f36614bb78 coverity#735860 Explicit null dereferenced
Change-Id: I2c031ffc70e7ddacde52f120513f9dd5ff1a4c50
2014-05-07 15:47:26 +01:00
Caolán McNamara
88613ffeda coverity#735859 Explicit null dereferenced
Change-Id: I8edbf48bc981b4636dd55b5f4cd2b314d387486d
2014-05-07 15:47:26 +01:00
Caolán McNamara
1084a75242 coverity#735858 Explicit null dereferenced
Change-Id: Ia8964b4b7e38d7bba9417695f571858683c2fd5b
2014-05-07 15:47:26 +01:00
Caolán McNamara
5d5d773fc7 coverity#735848 Explicit null dereferenced
Change-Id: I9fb6da4d448923fd5b8822a72d6945a0c0b5f40d
2014-05-07 15:47:26 +01:00
Caolán McNamara
5818415ded coverity#735842 Explicit null dereferenced
Change-Id: I53112795f301679429afb8da4e01c77e4d2fe820
2014-05-07 15:47:26 +01:00
Caolán McNamara
017d9b48aa coverity#735839 Dereference after null check
Change-Id: I1d07802f2671c460dbe145c4d5178aff272ca091
2014-05-07 15:47:25 +01:00
Caolán McNamara
6c7d2e39e7 coverity#735834 Explicit null dereferenced
Change-Id: I806058555f58a3f03153372e581fae6d8cb0670b
2014-05-07 15:47:25 +01:00
Caolán McNamara
d386da8bb3 coverity#735832 Explicit null dereferenced
Change-Id: Ifcce7f0d75cb595add30a4403e5c42348043137b
2014-05-07 15:47:25 +01:00
Caolán McNamara
2241ffeaa5 coverity#1209611 Explicit null dereferenced
Change-Id: I1efe68a3b63ddd4b1583a29dd8d71d217bfdd9a8
2014-05-07 15:47:25 +01:00
Caolán McNamara
d348f39883 coverity#1209592 Unchecked dynamic_cast
Change-Id: Id9ac29ec88a98e626a1ecfb364e474b2a11a8004
2014-05-07 15:47:25 +01:00
Caolán McNamara
439d6a07f7 coverity#1209591 Unchecked dynamic_cast
Change-Id: Id9d014d01d4c2da2d2c421893ba49a4b2fddacc0
2014-05-07 15:47:24 +01:00
Caolán McNamara
5314bb664c coverity#1209590 Dereference after null check
Change-Id: Iedee81b4c0474a1bbda0b2366c246f6b6b433a10
2014-05-07 15:47:24 +01:00
Caolán McNamara
5a5eb251d5 coverity#1209588 Explicit null dereferenced
Change-Id: I6abb408c91c9d6ea2d60c328be221c7608a7906c
2014-05-07 15:47:24 +01:00
Caolán McNamara
304d90669a coverity#1209587 Explicit null dereferenced
Change-Id: I51b3e9bccbe54686fbe869ce5ba669d000530572
2014-05-07 15:47:24 +01:00
Caolán McNamara
148b9a23fa coverity#1209554 Explicit null dereferenced
Change-Id: Iacf4373221b93a97e030b09501cc91589f2fdff7
2014-05-07 15:47:24 +01:00
Caolán McNamara
3e423ebe1c coverity#1209549 Unchecked dynamic_cast
Change-Id: I118771b78d83441202c15d3b08b9055ba5e63623
2014-05-07 15:47:23 +01:00
Caolán McNamara
93e0922131 coverity#1209527 Dereference after null check
Change-Id: I8a829ee5d36281098f2788a704b203e6b777d371
2014-05-07 15:47:23 +01:00
Caolán McNamara
4877271537 coverity#1209523 Dereference after null check
Change-Id: If4c218c471b34e2f0c8f083131bc24f1ac9d48e3
2014-05-07 15:47:23 +01:00
Caolán McNamara
c029a81a79 coverity#1209500 Explicit null dereferenced
Change-Id: I11aa7ecfa52054085aaca70b165a831b5ec8577b
2014-05-07 15:47:23 +01:00
Julien Nabet
a0f77cbfe2 Updated core
Project: dictionaries  d478664ac0a8e8997d8d17a76a39d2704f7a254d
2014-05-07 14:09:52 +00:00
Michael Stahl
cc0a7699bb fdo#75519: fix chapter cross references
It would be possible to modify the condition in
SwChapterField::ChangeExpansion() to check for rTxtNd.GetNumRule() as
well and make the bugdoc work again, but do we really want to use
"chapter reference" to refer to plain numbering?  Perhaps it would be
better to add a "numbering reference" field type; without investigating
what Word actually does here and what the actual problem is that was
supposedly fixed here (which is not possible given there's no reproducer
document) it's best for now to just revert it.

(regression from commit 6319803762)

Change-Id: I7eb9ea46e42729c53c350ff450d49a1eb84ee8eb
2014-05-07 15:07:19 +02:00
Caolán McNamara
9bd4bd431c Resolves: fdo#78323 consistent left spacing for previews
Change-Id: I9bfbde0f5abad6d6f297fc18e24f6b20be914ce4
2014-05-07 13:46:04 +01:00
Vort
d7fc306cd7 fdo#78382 PDF Import: add opacity support for fill and stroke
Change-Id: I76375280ee4726c1d497858165f38f4e8b4224cb
Reviewed-on: https://gerrit.libreoffice.org/9268
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-07 12:35:48 +00:00
Tor Lillqvist
21e2f5b0b1 No fpicker needed for non-DESKTOP surely?
Sure, not a lot of code, but best to not even compile it, to catch
eventual usage attempts.

Change-Id: I7462ea9a5fbe6080fcec2f424d1a1b80ad0afe21
2014-05-07 15:07:55 +03:00
Tor Lillqvist
171d001a89 Build libgltf (and freetype) for iOS, too
They won't be used for now, but just to enforce portability of the
libgltf code a bit.

Change-Id: Ie5d2b9125eb0f4a2e432dcb8b55d5f494a5ed34d
2014-05-07 15:07:41 +03:00
Caolán McNamara
087fcc43b1 Resolves: fdo#68600 limit comment width
Change-Id: I7060ae18a98e0793a936834b398f1e232d336672
2014-05-07 12:26:12 +01:00
Stephan Bergmann
3703e3985e loplugin:implicitboolconversion
Change-Id: I0dacaa9fb08062aba758613bd25ebcf7039f36e0
2014-05-07 12:31:45 +02:00