Commit graph

477 commits

Author SHA1 Message Date
Stephan Bergmann
116fdcfa27 -Werror,-Wsign-compare
Change-Id: Id240e2eb51e3ac40f13f813386a21e97ab1e9ff1
2013-02-20 21:24:49 +01:00
Joel Madero
5fb8aa7774 fdo#36635 Added WMV/WMA/AAC to list of Movie and Sound File Types
WMV, WMA and AAC are all supported but were not listed in movie and sound
file types (Insert -> Movie and Sound...) so they would not appear in
file browser unless you chose "Show All Files". Added these to list

	modified:   avmedia/source/viewer/mediawindow.cxx

Change-Id: I459b41a1ca647d7a90cec75436438097df5df962
Reviewed-on: https://gerrit.libreoffice.org/2287
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-02-20 08:53:33 +00:00
Norbert Thiebaud
e681622f3d coverity#704551 Dereference after null check
Change-Id: I47aa14ba58d993fa8ed20c8f0d99e92f18dc53e6
Reviewed-on: https://gerrit.libreoffice.org/2214
Reviewed-by: Andras Timar <atimar@suse.com>
Tested-by: Andras Timar <atimar@suse.com>
2013-02-18 21:36:57 +00:00
Peter Foley
b9d6c7a48c convert libxml2 to gbuild and add to tail_build
Change-Id: Ie6ae2150e1f011e17034abcace18c5967b4dacf5
Reviewed-on: https://gerrit.libreoffice.org/2023
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Peter Foley <pefoley2@verizon.net>
2013-02-07 22:33:16 +00:00
Jean-Noël Rouvignac
0dc532bffc fdo#38838 Some removal/replacement of the String/UniString with OUString
Changed SfxItemPool::GetPresentation( SfxItemPresentation ePres, SfxMapUnit eCoreMetric, SfxMapUnit ePresMetric, String &rText ) const; to use OUString.

Change-Id: I656c1d321ff96f1f2e5b77f6adc103ef0a6fdf66
2013-01-28 17:36:20 +01:00
Noel Grandin
09cf6fe83a fd0#46808, convert some getProcessServiceFactory
... to getProcessComponentContext

Change-Id: I8d5c2be0186db963ba8aac31e1b527145b8bca2b
2013-01-28 08:22:59 +02:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- do not use gb_UnpackedTarball_copy_header_files for boost
- adapt the optimization in concat-deps.c for new path
- use boost_headers in all LinkTargets that require it
- add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus

Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2013-01-26 22:20:06 +01:00
Chr. Rossmanith
e3f11c10d8 Changed SetText() / GetText() to take/return OUString
replaced lots of Len() with isEmpty()

Change-Id: I6b82d48245ee2a0782e05a326f7934e9357227d0
Reviewed-on: https://gerrit.libreoffice.org/1795
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-21 20:48:35 +00:00
Tor Lillqvist
e103887c8c QUARTZ is equivalent to MACOSX
So just check MACOSX in the sources, and don't pass any -DQUARTZ to
compilations.

Change-Id: Ia1de6024810f81f1eea01b8eb0b885d9d1ee8e20
2013-01-11 11:16:59 +02:00
Michael Meeks
1c010bd288 avmedia: cleanup unused listener logic in gstreamer, and update docs.
Change-Id: Ic64a4e0ed1ad194d94f5451b60e926f13ad85578
2013-01-08 22:08:19 +00:00
Marcos Paulo de Souza
d6f25fdf04 fdo#57950: Remove last chained appends from avmedia
Change-Id: I0906bf7493828c5923f3243c6849a2eca5f37bb0
Signed-off-by: Marcos Paulo de Souza <marcos.souza.org@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1548
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-01-07 09:29:09 +00:00
Chr. Rossmanith
ffaf6adba6 RTL_CONSTASCII_(U)STRINGPARAM removed in avmedia
Change-Id: Id9ae8600d7f688bd733148663ef501b6ba2bc7d1
Reviewed-on: https://gerrit.libreoffice.org/1528
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-01-01 21:03:14 +00:00
Tor Lillqvist
c29098917a Get rid of (most uses of) GUI
GUI only takes values UNX or WNT, so it is fairly pointless. One can check
whether OS is WNT or not instead.

Change-Id: I78ae32c03536a496a563e5deeb0fca78aebf9c34
Reviewed-on: https://gerrit.libreoffice.org/1304
Reviewed-by: Peter Foley <pefoley2@verizon.net>
Tested-by: Peter Foley <pefoley2@verizon.net>
2012-12-25 17:53:25 +00:00
Tor Lillqvist
12152d253e Replace GUIBASE checks with equivalent OS checks
The idea is to get rid of GUIBASE and GUI checks as much as possible.

GUIBASE=aqua <=> OS=MACOSX
GUIBASE=WIN <=> OS=WNT
GUIBASE=cocoatouch <=> OS=IOS
GUIBASE=android <=> OS=ANDROID

Don't set GUIBASE to these values any more in configure.ac
either.

GUIBASE_FOR_BUILD is not used anywhere.

Conflicts:
	configure.ac
	postprocess/packcomponents/makefile.mk
	postprocess/packregistry/makefile.mk

Change-Id: Ie0526b40e1073f2328ba6c333e28752104b0fed3
2012-12-18 20:52:24 -05:00
Matúš Kukan
e37eb6345d postprocess: convert to gbuild
Change-Id: I6c81fa0f1b8d7273541d5d9883b5fc96a5091bbd
Reviewed-on: https://gerrit.libreoffice.org/1080
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2012-12-15 21:20:27 +00:00
Stephan Bergmann
a9916dabb4 Remove xml2cmp leftovers
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-12-12 10:27:41 +01:00
David Tardon
54107c9b3c more explicit ctors
Change-Id: If91343890d9ed29ff2887e47c7c0a332baa5a8e1
2012-12-04 14:26:30 +01:00
Thorsten Behrens
66a175834c c++ API: use css alias in generated headers, adds global css decl
This changes all generated API headers (.hpp and .hdl) to use a
namespace alias 'css' instead of the pointlessly long com::sun::star

Makes the change in cppumaker & associated tools, adds a global
namespace alias definition in sal/types.h, and removes a kiloton
of local, now pointless-to-harmful versions of that alias from all
over the code.

Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-30 14:36:36 +01:00
Tor Lillqvist
a3ce60eb3c We only support MSVC 2008 (_MSC_VER 1500) or later
We can drop or simplify many conditionals.

Change-Id: I37e820e515cc09845c30b62c89ddb3b6ff370f97
2012-11-28 20:53:40 +02:00
Eike Rathke
9955dbebbd AllSettings with LanguageTag
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-22 12:34:59 +01:00
Andras Timar
fa88b3717d Merge branch 'feature/killsdf'
Conflicts:
	desktop/prj/build.lst
	helpcontent2
	l10ntools/Executable_gsicheck.mk
	l10ntools/Executable_uiex.mk
	regexp/inc/regexp/reclass.hxx
	solenv/gbuild/AllLangResTarget.mk

Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-20 15:03:34 +01:00
Stephan Bergmann
61763f7399 Adapt component prefix for old GStreamer, too
Change-Id: Ie9c46ab5d6e1b824a2b6927c8632bf57847c0274
2012-11-16 15:19:33 +01:00
Andras Timar
06ec1c0895 Merge branch 'master' into feature/killsdf
Conflicts:
	Repository.mk
	RepositoryFixes.mk
	connectivity/prj/build.lst
	extensions/prj/build.lst
	filter/prj/build.lst
	fpicker/prj/build.lst
	l10ntools/StaticLibrary_transex.mk
	saxon/build.xml
	shell/prj/build.lst
	solenv/gbuild/AllLangResTarget.mk
	solenv/gbuild/Configuration.mk
	solenv/gbuild/UI.mk
	ucb/source/ucp/webdav/webdavcontent.cxx
2012-11-11 18:24:14 +01:00
Michael Stahl
4a2bfe3d22 warning C4805: '!=': unsafe mix of bool and sal_Bool
Change-Id: I7607ddc9e207c87d6126715c43970ac22d3aed62
2012-10-24 21:58:25 +02:00
Andras Timar
e5ce011c3f Merge branch 'master' into feature/killsdf
Conflicts:
	Makefile.top
	Module_tail_build.mk
	RepositoryExternal.mk
	RepositoryFixes.mk
	accessibility/source/standard/vclxaccessibletoolbox.cxx
	basic/source/uno/dlgcont.cxx
	connectivity/Library_ado.mk
	cross_tail_build/prj/build.lst
	desktop/source/offacc/acceptor.cxx
	filter/Library_PptImporter.mk
	filter/source/t602/filterenv.cxx
	i18npool/Library_textconv_dict.mk
	ooo.lst.in
	saxon/ExternalProject_saxon.mk
	saxon/build.xml
	sc/sdi/scalc.sdi
	sc/source/filter/xml/xmlstyli.cxx
	sc/source/ui/condformat/condformatdlg.cxx
	sc/source/ui/condformat/condformatmgr.cxx
	sc/source/ui/view/cellsh1.cxx
	sdext/source/pdfimport/misc/pwdinteract.cxx
	shell/qa/zip/makefile.mk
	shell/qa/zip/testimpl/makefile.mk
	solenv/gbuild/CppunitTest.mk
	solenv/gbuild/gbuild.mk
	solenv/gbuild/platform/android.mk
	solenv/gbuild/platform/com_GCC_defs.mk
	solenv/gbuild/platform/macosx.mk
	soltools/Executable_adjustvisibility.mk
	soltools/Executable_checkdll.mk
	soltools/Executable_cpp.mk
	soltools/Executable_javadep.mk
	soltools/Executable_makedepend.mk
	sw/qa/extras/rtfimport/rtfimport.cxx
	tail_build/prj/build.lst
	tomcat/ExternalProject_tomcat.mk
	ucb/source/ucp/webdav/webdavcontent.cxx
	xml2cmp/Executable_xml2cmp.mk
2012-10-13 17:41:05 +02:00
Michael Meeks
140281898f elide all dependencies on .hdl files, they're ~all duplicated by .hpp
Also - verified that codemaker touches both .hdl and .hpp regardless
of whether the contents changed in anyway under gbuild.

Change-Id: I391e9cf952c61a6c59087cd7cd0ddc8c54a14df3
2012-10-12 17:47:36 +01:00
Andras Timar
39bac3f6c0 translations is a source-only module
Change-Id: I9fcddfcdfa2d60860a7b016dbb870a3b6e8f3ea4
2012-10-01 15:19:10 +02:00
Tor Lillqvist
67081cdf67 Use prefixes for the components here
Change-Id: I7bebc936cdb489331c82690c244f72e9c3619b10
2012-10-01 15:56:56 +03:00
Tor Lillqvist
8c2662b331 No need for BITNESS_OVERRIDE in makefilery as CPU etc work fine
Change-Id: I59f4d5ad275af62c997723908754112c062a31be
2012-10-01 13:55:18 +02:00
Michael Stahl
f011af716e gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-10-01 13:54:43 +02:00
Michael Stahl
8831c592e8 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-10-01 13:54:37 +02:00
Michael Stahl
ecddbecedc gbuild: clean up Mac OS X framework handling:
There are currently 3 different mechanisms being used for frameworks,
which is of course intolerable so we invent a 4th one and standardize on
it:  gb_LinkTarget_use_darwin_frameworks

(This doesn't mean using add_libs or externals was wrong, it was just
inconsistent... and i don't see an obvious benefit of using externals here)

Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-10-01 13:54:30 +02:00
Michael Stahl
816ec4b093 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-10-01 13:54:24 +02:00
Michael Stahl
6f6f7a17dc gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-10-01 13:54:21 +02:00
Tor Lillqvist
4671e25d99 No need for BITNESS_OVERRIDE in makefilery as CPU etc work fine
Change-Id: I59f4d5ad275af62c997723908754112c062a31be
2012-09-29 08:16:31 +03:00
Michael Stahl
5032dc0fc3 gbuild: invert handling of standard system libraries:
Always link in gb_STDLIBS, except when the library explicitly opts out
with gb_LinkTarget_disable_standard_system_libs.

Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28 16:49:08 +02:00
Michael Stahl
dc397aae70 gbuild: gb_Library_PLAINLIBS_NONE cleanup for WNT:
add a new gb_LinkTarget_use_system_win32_libs to abstract different
linker options on MSVC and GCC.

Change-Id: Ic9bf2545f59bf7871e6fc06b290c486ddfbec03d
2012-09-28 16:49:08 +02:00
Michael Stahl
cee32aae39 gbuild: clean up Mac OS X framework handling:
There are currently 3 different mechanisms being used for frameworks,
which is of course intolerable so we invent a 4th one and standardize on
it:  gb_LinkTarget_use_darwin_frameworks

(This doesn't mean using add_libs or externals was wrong, it was just
inconsistent... and i don't see an obvious benefit of using externals here)

Change-Id: I5de9020402c87e7236c6a358c47f02fa56642d3d
2012-09-28 16:49:07 +02:00
Michael Stahl
b85c349783 gbuild: replace direct gb_STDLIBS use with ...
... new gb_LinkTarget_add_standard_system_libs

Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28 16:49:06 +02:00
Michael Stahl
2e677c3981 gbuild: split uwinapi out of gb_STDLIBS
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-28 16:49:05 +02:00
Ricardo Montania
1a42e2458b ::rtl::OUString cleanup in basctl
Change-Id: Icb6f04d6ad22f1652abbb399beb08645daf8b9c9
Reviewed-on: https://gerrit.libreoffice.org/705
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2012-09-27 12:53:49 +00:00
Ricardo Montania
9b65ecc37f sal_Bool to bool and some rtl::OUStrings in avmedia
Change-Id: Id58fd5d04f47302983782eb57736ff29d8f5303e
Reviewed-on: https://gerrit.libreoffice.org/697
Tested-by: Noel Power <noel.power@suse.com>
Reviewed-by: Noel Power <noel.power@suse.com>
2012-09-26 09:42:32 +00:00
David Tardon
7d56303949 WaE: comparison between signed and unsigned integer expressions
Change-Id: Iaf4ce2ed26aeaa2995821913de341e90a8039ab9
2012-09-26 05:50:49 +02:00
Michael Meeks
fc6351f5d3 avmedia: first cut at gstreamer frame grabber.
with thanks to Tim-Philipp Müller and Wim Taymans.

Change-Id: Ia095d06ea3cbed85570cc33038f98da0362c1e62
2012-09-25 19:14:25 +01:00
Michael Meeks
d20469c1b0 re-base on ALv2 code. Includes:
Ocke Janssen impress210: #i115617# set zoom to fit_to_window
    Ocke Janssen impress210: #i78386# looping sound for windows
    cleanup createPlayer fallback code & java parameter.

Change-Id: I56f06d08c66a1f754292a0c5b1abc32824e391c5
2012-09-25 15:15:39 +01:00
Ricardo Montania
588f01bf62 End of ::rtl::OUString to OUString in avmedia
Change-Id: I1ac8f773ddb72b94d1371fe60948fb2782ddecd4
Reviewed-on: https://gerrit.libreoffice.org/675
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-09-23 12:50:29 +00:00
Ricardo Montania
6c98b12cd6 ::rtl::OUString to OUString in avmedia
Change-Id: Id62d30e33ad68ffa6d3199a181b002155f224732
Reviewed-on: https://gerrit.libreoffice.org/668
Reviewed-by: Noel Power <noel.power@suse.com>
Tested-by: Noel Power <noel.power@suse.com>
2012-09-21 15:58:01 +00:00
Tor Lillqvist
ff4f54eed2 No 64-bit Quicktime framework
Change-Id: Ie0b9ae2a908814eed43b351f15436a2b9c5ad484
2012-09-21 14:01:03 +03:00
Ricardo Montania
37d21245b5 Some OUString cleanup and ::rtl::OUString to OUString in avmedia
Change-Id: If79fffec7388e73fd85f5279e773af363c5f97e3
Reviewed-on: https://gerrit.libreoffice.org/645
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-20 08:21:39 +00:00
Ricardo Montania
1ec2482f8e More ::rtl::OUString to OUString and some sal_Bool to bool in avmedia
Change-Id: Ia3ed38eb017e02df7109e684bc59017f47af3543
Reviewed-on: https://gerrit.libreoffice.org/644
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-19 09:46:37 +00:00