Commit Graph

1542 Commits

Author SHA1 Message Date
d8920e6d1d Make OGLFrameGrabber work
Steps of grabFrame
- Init opengl context
- Call libgltf to render
- Get a RGB buffer from libgltf
- Create a Bitmap from this RGB buffer

Additionally:
- Using mimetype is neccessary to decide which player to create.
- bAllowToCreateReplacementGraphic is unneeded.

Change-Id: I7fef043a3341771389144a4f4cac71b0862ef8a7
2014-04-20 18:00:48 +02:00
72a416bef8 fixincludeguards.sh: slideshow
Change-Id: Id966e572afb403fd652a7a9b3936e1cfae4581b9
2014-04-19 11:10:12 +02:00
be862ff4f7 Try making it possible to use --disable-avmedia for desktop platforms too
Unfinished work in progress.

Change-Id: I978755d73630b8653b169a53f937c1332799e22e
2014-04-18 00:07:20 +03:00
1160dc2a14 loplugin:unreffun
Change-Id: I9f80184d8066f69787722322915b4a70e432141a
2014-04-17 22:15:30 +02:00
4be3e38439 Adjust header guard to modified filename.
Change-Id: Ia1d5133186ec46fa566e751b2168c2a1b2b1b762
2014-04-16 10:35:58 +02:00
cae4370bce Rename ExternalMediaShape to IExternalMediaShapeBase
"I" because of interface.
"Base" because it's an interface of a base class
and because it's easy to mix it up with the inherited MediaShape.
(MediaShape also an externally rendered thing so
the name ExternalMediaShape doesn't make any
difference between the two classes)

Change-Id: I4a03dd090034092942eea39d35894ce6cfc9947b
2014-04-16 09:29:12 +02:00
728acd3390 Revertion of changes related to ExternalShapeBase
This reverts commits:
50b60c5508b3ba5a0b8dc05eac511d7edaa5a343
0ae0301d1cd6e690473f932411ca880c20f45e13
2a594eb22bfed62fdbcef51a56c2c180bea0283f

Got some suggestions that the deleted things can be usefull.
2014-04-16 09:29:11 +02:00
50b60c5508 Slideshow: these methods override public methods
So make them public too.

Change-Id: I34baccd258ccd70185ee88efc8f09a8b868f6b67
2014-04-15 22:24:48 +02:00
0ae0301d1c Slideshow: remove unneded function duplicates
Change-Id: I682ae771f13e42dd1a4e1cf6a1ee062a5eca640f
2014-04-15 21:36:35 +02:00
2a594eb22b Slideshow: Remove unneded ExternalMediaShape
ExternalShapeBase is the base class of MediaShape and
AppletShape so it's nonsense that ExternalMediaShape
to be the base of ExternalShapeBase.
Actually this class does nothing, anyway.

Change-Id: I8a278c9273a1788f0859205b8f1d0905427179b6
2014-04-15 21:36:35 +02:00
a49b453ad3 Clean up function declarations and some unused functions
Change-Id: Ia821ca4d03a467620b3ea6ea2520f0d177a5724d
2014-04-14 18:10:00 +02:00
6cde7647c9 typo: implicitely -> implicitly 2014-04-14 12:32:33 +02:00
7328e577e2 typo: stoped -> stopped 2014-04-14 12:32:12 +02:00
539017f1d9 fdo#72400: slideshow: display a snapshot of movie until its not started
Change-Id: Ibd81f2aada458dd7437053b59882d3200f78747e
2014-04-11 19:56:21 +02:00
22ab56f5e3 fdo#43157 : clean up OSL_DEBUG_ONLY
Change-Id: Ic92b64cfaec41bf4104cede5f26579d86543b9a8
Reviewed-on: https://gerrit.libreoffice.org/8804
Tested-by: David Tardon <dtardon@redhat.com>
Reviewed-by: David Tardon <dtardon@redhat.com>
2014-04-05 03:47:34 -05:00
5babf1b903 remove unnecessary scope qualifier from sal_Bool uses
i.e. convert "::sal_Bool" to "sal_Bool"

Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03 13:54:02 +02:00
6a3b0b7cc4 Explicitly mark overriding destructors as "virtual," Mac OS X redux
Change-Id: Ib7ab02bc3cdadbdfe0e0787560d1dd562eb85be9
2014-04-01 21:30:38 +02:00
362d4f0cd4 Explicitly mark overriding destructors as "virtual"
It appears that the C++ standard allows overriding destructors to be marked
"override," but at least some MSVC versions complain about it, so at least make
sure such destructors are explicitly marked "virtual."

Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-04-01 19:22:54 +02:00
7ebd40d26d SAL_OVERRIDE, Mac OS X slideshow redux
Change-Id: I91d21fa4ebec26eaa59aff93eb730c48b0afad45
2014-03-27 21:21:36 +01:00
567ef6d578 Second batch of adding SAL_OVERRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27 18:12:18 +01:00
70cc2b191b First batch of adding SAL_OVERRRIDE to overriding function declarations
...mostly done with a rewriting Clang plugin, with just some manual tweaking
necessary to fix poor macro usage.

Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-26 16:39:26 +01:00
461ee0418a coverity#708177 Uninitialized scalar field
Change-Id: I62fd8593c7c5cc0e04d54666103159a8d8932689
2014-03-22 20:52:00 +00:00
7c2e5331a7 coverity#982470 Dereference after null check
Change-Id: Ifa6a78eae364bd5f4adc717543dde508d7b1f445
2014-03-15 20:55:49 +00:00
b8183958e6 fdo#60698: Split out slideshow code from animations
Also remove the TargetPropertiesCreator service since just slideshow uses this.

Change-Id: I80816f6225b7bd9fb18f48e69eb5dfd6709b6e56
2014-03-10 09:15:54 +01:00
5e21a413c7 cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26 18:22:20 +01:00
36774806da (a/A)utomaticaly -> (a/A)utomatically
Change-Id: Ice4327bdb8e5a14ef082f013fa513b2267f0fbf3
2014-02-25 22:00:50 +01:00
6f2691bb6c Remove visual noise from slideshow
Change-Id: I87d07afbffa9d4633ed31bdb88f2dad660c25a18
2014-02-25 21:22:48 +01:00
ddcd150760 loplugin:bodynotinblock, loplugin:literaltoboolconversion
Change-Id: I6773a4947900a6b58b556c3bac61cac784562d81
2014-02-25 15:17:54 +01:00
0ce0c369aa Remove unneccessary comments
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb
Reviewed-on: https://gerrit.libreoffice.org/8182
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23 03:38:49 +00:00
e8f8f24c84 vcl: sal_Bool -> bool
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21 12:53:51 +01:00
a18a1a4545 Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxx
Added vcl/settings.hxx to all cxx files which require it.
This helps to speed up compilation after changes to the settings.

Conflicts:
	sc/source/ui/dbgui/pvlaydlg.cxx

Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4
Reviewed-on: https://gerrit.libreoffice.org/7933
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-20 16:22:17 +00:00
d5c30421ca coverity#738842 Uninitialized scalar field
Change-Id: Ic362a2e18452920f1474880fc1c2aac8cc8f56b0
2014-02-19 16:53:14 +00:00
aea2c1d59e coverity#738843 Uninitialized scalar field
Change-Id: I3323ceab5eacc02123384dc6bf24a7d565641a12
2014-02-19 16:53:14 +00:00
37a0068960 coverity#984143 Uninitialized scalar field
Change-Id: I2940b86ce45dfc6b7399b76c84f88c5658f4a923
2014-02-19 09:29:43 +00:00
171bde3d1e glx 1.3 is already supported in out base line
Change-Id: I4304368ebb5f40cb946290a717240143f845e0c9
2014-02-12 01:01:36 +01:00
59a5ccb952 bool improvements
Change-Id: I89e8351001dcdda9303473f38ece3b57c0d9e72c
2014-01-17 18:45:15 +01:00
a932e78060 longparas: remove now broken STRING_LEN uses
Change-Id: I89799855925b7c246262ae56c2637e20e51cffee
2014-01-14 10:53:28 +00:00
d4dd5c34db longparas: convert ValidateKashidas to sal_Int32
we can use -1 as the failure return code as return value is always checked and
isolated from the rest of the code.

Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-13 20:35:21 +00:00
82625bb98e remove unnecessary sal_Unicode casts in OUStringBuffer::append calls
Convert code like:
    buf.append( static_cast<sal_Unicode>('!') );
to:
    buf.append( '!' );

Change-Id: Iacb03a61de65a895540940953b49620677b3d051
2014-01-07 09:43:37 +02:00
b55259eeb5 typo fixes
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-20 15:55:00 +01:00
9ed364774c Adapt all (non-extension, SharedLibrary) .components to environment="..."
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-17 11:06:00 +01:00
b415ec8cad Fix fallout from 461e0f9eaf9895ecd0eba67b35a4d2cec8a5e5c5
Change-Id: I9df591c084175848bb58a97db2241f18cbe53db2
2013-12-05 15:28:15 +02:00
73342dbb82 remove unnecessary RTL_CONSTASCII_STRINGPARAM
A final pass through the code, converting code to use the new
OUString and OString methods that can detect string literals.

Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-22 08:07:19 +02:00
2241fd5302 remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::equalsIgnoreAsciiL
Convert code like:
    aStr.equalsIgnoreAsciiCaseL(RTL_CONSTASCII_STRINGPARAM("XGRAD_SEQ_BEGIN"))
to:
    aStr.equalsIgnoreAsciiCase("XGRAD_SEQ_BEGIN")
which compiles down to the same code.

Change-Id: Ia69289d853d292b2f27b68863cb6f6ecdbf1a71e
2013-11-22 08:07:18 +02:00
5668e73beb avmedia: Implement "block untrusted referer links" feature
See f0a9ca24fd4bf79cac908bf0d6fdb8905dc504db "rhbz#887420 Implement 'block
untrusted referer links' feature" for details.  This adds some further /*TODO?*/
comments, and one known problem (marked /*TODO!*/) is that movies/sounds are not
blocked during a slideshow presentation.

Change-Id: Ib2d0c7e4f7b02c4bdec0d8a90cee5e7e1bee8325
2013-11-20 14:44:27 +01:00
5112f6a6c6 remove RTL_CONSTASCII_STRINGPARAM in OString constructor
Convert code like:
    OString aKeyName(RTL_CONSTASCII_STRINGPARAM("NDX"));
to:
    OString aKeyName("NDX");
which compiles down to the same code

Change-Id: I1780264cae4484fc78f0586b0750c09f2dce135f
2013-11-20 13:56:07 +02:00
610b2b94b3 remove unnecessary use of OUString constructor when assigning
change code like
   aStr = OUString("xxxx");
to
   aStr = "xxxx";

Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-19 10:29:31 +02:00
a6e09b196a Moved some hxx that were included once...
..and are included by another headers

Change-Id: I1adfac86525105188b68f512bcbf3b4f4a0fc490
2013-11-14 11:30:37 +00:00
c10b8c2f06 -Werror,-Wunused-member-function
Change-Id: I3da2e9d7e886c73328b65275e938bcbe9b3661cc
2013-11-14 10:15:11 +01:00
5ccb600890 -Werror,-Wunused-member-function
Change-Id: I8321893bc64e1fe401ffd5acaaa52e012c374261
2013-11-14 10:15:11 +01:00