Commit Graph

149 Commits

Author SHA1 Message Date
3b59dbbffd remove HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE check and macro
This is supported in GCC 4.6.0 already:
https://gcc.gnu.org/onlinedocs/gcc-4.6.0/gcc/Diagnostic-Pragmas.html

Change-Id: I2f67e588eea3a323a2e9c81e39e56ab2e715a817
2014-10-02 20:00:18 +02:00
86cd29772e remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macro
This has been supported by GCC and clang for a very long time.

Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-10-02 20:00:17 +02:00
a01ef1978c Improve logging
Change-Id: I9c879cc16de0d5353a5ab8ce4c8a8cd7f000a170
2014-09-17 11:48:20 +02:00
019632c662 WaE: unknown log area
Change-Id: I3339324ec99bbed56f81f2aa4e6cf54edcbec8e6
2014-09-10 17:56:19 +03:00
35e954149d sw HTML export: don't crash on embedded object without native data
Change-Id: I26fa823b987b2edfbb1be054a5f4d03bbe95a308
2014-08-26 18:47:17 +02:00
ce5980fe17 add formula.ui
Change-Id: I0e2b38ab8e7fae483539e02e93d25d2532bd70ef
2014-08-22 19:50:52 +02:00
b1744526cc WaE: C4722: destructor never returns, potential memory leak
Change-Id: I9691048ca7dc6e18cc904b29e8f6f59b11e002cf
2014-08-14 13:34:56 +03:00
f4a2f1e647 bnc#862510: Improve handling of OOXML gradients
OOXML gradients can have an arbitrary number of "stops". LibreOffice gradients
have just a start and end colour, plus an optional uniformly coloured border
(on the "start" side). In addition, LibreOffice has the "axial" gradient mode,
which means the gradient is reflected in the middle.

It is thus obviously impossible in general to losslessly map OOXML gradients
to LibreOffice ones. But let's try a bit harder than earlier to get visually
more similar result, in at least some simple sample cases.

We look for the widest gradient segment and use that for the start and end
colours of the LibreOffice gradient.

Also, map an OOXML gradient to an axial LibreOffice gradient only if it is
symmetrical. Also, use the border property when suitable. In general, look for
the widest OOXML gradient segment (once a segment corresponding to the
LibreOffice gradient border, if any, has been accounted for) and use that as
the LibreOffice gradient.

Possibly some perceptionally better heuristic should be used... Like, if we
have a three-segment gradient, with a wide gradient segment between two
visually very similar colours (for example, two shades of red), and a narrower
segment ending with a visually very different colour (for example, yellow), it
probably would be best to represent that in LibreOffice as a gradient from the
first red shade to yellow, instead of as a gradient between the two shades of
red. Or even, if a first or last gradient segment is between very similar
colours, equalize those start and end colours, thus using a border colour in
LibreOffice instead. The possibilities for bikeshedding are endless.

I am sure there are instances where the old code (by accident?) produced
visually more pleasing results... But hopefully this works more pleasingly and
consistently in a larger number of cases.

Change-Id: If153e986ad943454307e3ba718479d5ac4cdc7ab
2014-07-16 18:21:27 +03:00
082de4795d Add LOK and tiledrendering log areas.
Change-Id: I885acc9b4a52835fa256c2ecd1b8da917b4f7ba7
2014-07-12 05:19:15 +02:00
547135c0dc It is useful to know what macros are we expanding, and to what.
Change-Id: If7704edc5baa9759abc680b8d2040b9cdfe92317
2014-06-30 14:48:05 +02:00
efd9abb3ae loplugin:sallogareas
Change-Id: Ia5fbdfd83971ac946de6d022be55d5a286a1bf5a
2014-06-25 07:32:26 +02:00
a15715c343 -Wstrict-prototypes
...no reason to not have it enabled for URE C include files and what
little real C code is still left.  (But note that Clang ignores that
warning.)

Change-Id: Ia6940f9f940a0c226e9b724331d65c9862ce32e6
2014-06-17 15:51:54 +02:00
e7944dabfb pct import: Add logging.
Change-Id: Ia3fe1ff0075434d0b6903bf978c16499e07d699d
2014-06-10 19:33:11 +02:00
06b63d3d83 remove the definition of SAL_THROW macro
Change-Id: I3d389174684cdc86ddb098629da57ebf142424c9
2014-06-05 08:34:46 +02:00
4cb41493ed Add SAL_INFO tracing for CoreText calls
Change-Id: Ie60e0b64a2d9d8a045cb3c59fc781d6f9b2808a0
2014-05-23 19:59:36 +03:00
9adad0d1ea Avoid undef use of null ptr, use offsetof instead
Change-Id: I095f45b537690fe98bf385d99194db6319d7ac93
2014-05-22 18:36:31 +02:00
0fcc41e6d1 WaE: unused variable 'bHandled'
While at it, make it use SAL_INFO instead of fprintf.

Change-Id: Id4018819f8f790bef219e5aca3b6bbb5f6acd6aa
2014-05-22 12:12:15 +03:00
c1dbed8ac6 Use more specific tag
Change-Id: Ife10cae3f0bd7dd294c74799412528f2596369c8
2014-05-21 13:26:15 +03:00
8899e449b7 fix include guard for sal/types.h
Change-Id: I77e10d2644b18b150f9489c7f754405974af107a
2014-05-18 11:58:22 +02:00
eddfced748 loplugin:sallogareas
Change-Id: Ic3e2a5ed247b35b4e6d80a4ad824bc9b535783fb
2014-05-15 22:26:16 +02:00
c008e4a412 Add connectivity.odbc
Change-Id: I2bad7938ddd02da8aa7191aebbd9221220fb303e
2014-05-15 14:27:34 +03:00
01d3044d30 More warnings related to glTF rendering
Use avmedia.opengl to be more explicit.

Change-Id: I07878c3648de2e4786bf8a5144ef0c1fbb5530f1
2014-05-13 00:09:10 +02:00
70e744b215 fdo#43157 Remove OSL_POSTCOND, prefer SAL_WARN_IF
Change-Id: Ia89a2dce799c7ba90bcd19919195bfd2c7a4a180
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-05-12 11:32:38 +02:00
859363d2a0 WaE: unknown log area 'chart2.3dopengl'
Change-Id: I7362c843ae7abae74e82b330832cb007478d853c
2014-05-12 08:53:38 +03:00
142d63d015 oox: add a method to dump a PropertyMap as data
It was already possible to dump a PropertyMap as code, but not as data.
The plan here is that if we dump the customshape preset definitions as
data, then once there is a parser for it, we can get rid of the ugly
generated code.

Change-Id: If596941fedf71693e5d0bff436446ac0855c4c84
2014-04-16 18:36:41 +02:00
35a7310e7f WaE: unknown log area 'chart2.barchart3D'
Change-Id: I6f4ed9a816c13d35b92059c68132d90fe532b321
2014-04-08 08:20:30 +03:00
646622d196 WaE: unknown log area 'svx.opengl'
Change-Id: Ib7b19a53fe6b523b302276d5123c070eb46a4737
2014-04-08 08:11:49 +03:00
453ee351f3 fdo#43157 : clean up more OSL_POSTCOND
Change-Id: Iaca31b4e12c258b762b3d88fbad0fb08b4f1fc16
Reviewed-on: https://gerrit.libreoffice.org/8832
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-04 07:23:43 -05:00
c03c9da8c2 fdo#43157 : clean up OSL_POSTCOND
Conflicts:
	include/sal/log-areas.dox

Change-Id: I770b8b9fb82f873ccb88dc26ac05206f703ddf33
Reviewed-on: https://gerrit.libreoffice.org/8805
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-03 11:23:49 +00:00
edb4c11b07 glTF 3D model embedding: Embed all external resources of *.json file
Store them under /Model/<json_file_name_without_extension>/
modeltools: functions for handling 3D models inside avmedia

Change-Id: Ia2bdad6064db372e1c946b6ab02c434545d1ed45
2014-04-02 12:15:49 +02:00
9c87596c8a Add SAL_INFOs for very detailed CoreGraphics tracing
One would think there would exist some kind of shim library that would
automatically provide such traces, hmm.

Change-Id: I568d02a2ac70078dee0280d1feb3eab7bbd43030
2014-03-31 21:09:07 +03:00
a6f0f4156e sot: convert that to SAL_INFO
Change-Id: Iaf2de623c0893b0f500d54ce6558bf40af6e655b
2014-03-30 22:41:49 +02:00
ae00e71afd Bin rest of DBG_WARNING[123]
Change-Id: Iaaf36d012e353f73f083c9c0ebbbb6d0953b16c8
2014-03-28 16:52:36 +02:00
66acee112a Add a couple SAL_INFOs
Change-Id: I3773f5432ff4e2a005e0c67d9c65fdb00de6f16b
2014-03-18 21:00:22 +02:00
7af311d281 Add vcl.opengl
Change-Id: I9c809cae0420e73d2e4a447b9d8a3a03e42dc723
2014-03-17 09:31:14 +02:00
40ea5e9dd0 Revert "Move OpenGLRender to vcl"
This reverts commit 04b70c682e2cdc52b144961a83d05fd203de6884.

The OpenGLRender is not abstract enough for vcl. Leave it in chart2.

Conflicts:
	chart2/source/view/inc/DummyXShape.hxx
	chart2/source/view/main/OpenGLRender.hxx
	vcl/Library_vclopengl.mk

Change-Id: I5392c8ee34462ff49059126ca2284d8ebe1eb379
2014-03-17 08:13:49 +01:00
04b70c682e Move OpenGLRender to vcl
Change-Id: I6383ae3f94fc18aec92596b9d857d3fde5869dd6
2014-03-14 19:59:21 +01:00
bff2ddbbfb Hack on the iOS vcl code
Attempt to make some more complex documents render OK.

Stop using SvpSalVirtualDevice on iOS. Use AquaSalVirtualDevice in all
cases. Do use a CGLayer (the AquaSalVirtualDevice::mxLayer field)
after all, like on OS X.

Change-Id: I7f7dc00c526453786cc871fd88dfb73517b15c39
2014-03-10 17:37:43 +02:00
5cab7c7b24 loplugin:sallogareas
Change-Id: Iba543bf0642071ab4a9164af8a4bcb35ac1ecfd0
2014-03-05 12:11:46 +01:00
fe7a4bccfd Adapt vcl to various loplugin warnings on Mac OS X
Change-Id: I4553ce218fbcf2ac681b284c71e7d558a451511c
2014-02-21 23:47:23 +01:00
0d8be97d0a writerfilter: convert some fprintf to SAL_INFO
Change-Id: I5fe47cfaee84c17584ba7c3d160e65b55f4e3474
2014-02-18 11:35:50 +01:00
f03e95da68 convert biblio choose data source dialog to .ui
Change-Id: Ia94c417be95f5cd8c1d694a61c5004b0e8486416
2014-02-17 09:51:39 +00:00
d55495daf9 Do not throw if AcceleratorConfigurations are missing.
Which can happen on mobile platforms if we don't want them.

Change-Id: I53639ccc75886708850d2d3a01eec76104b7f2c9
2014-02-10 16:43:54 +01:00
9bbb7ca9f7 Typo: formating -> formatting
Change-Id: If4aba89909a3ef049a756182c37d8a5d6812ae70
2014-02-06 22:41:48 +01:00
995073b08e fdo#43157 - Clean up OSL_ASSERT
Changed OSL_ASSERT to SAL_WARN_IF

Change-Id: I6f81a265aefe769e1449b1f10c796bf3aa1d0f1c
2014-02-05 12:39:03 +00:00
ed69dd79ff convert OOODEBUG to SAL_INFO
Change-Id: I63a990dca554c9defd4f168fa250ebc1685baafd
2014-02-03 10:48:25 +01:00
eed1a2ca87 Missing log are
Change-Id: Ia1ad04c24f0d50cdb5aac3a5f6d5171bd5c23c70
2014-01-29 10:55:20 +01:00
09ce5fe4ac Add cppuhelper.shlib
Change-Id: I61579c7f84bb3df0d9c493cb93b47a00b0d174b4
2014-01-24 17:58:32 +02:00
31f57cb679 Use the "sfx" log area consistently in sfx2
Change-Id: I497d2d93e1a1819ff709c94007ae98f5ef312e77
2014-01-23 08:12:37 +02:00
8293b29304 Use assert() and SAL_WARN() instead of DBG_ASSERT() and OSL_FAIL()
Change-Id: Id3be30bc95325e8f18cf8cb55da2217984a26035
2014-01-23 07:24:23 +02:00