Commit Graph

1473 Commits

Author SHA1 Message Date
Thorsten Behrens
7a66bd7713 Fix fdo#67908 - keep Visual around until after GL context is created.
Change-Id: Ie84decdccfa5bbf44c9cb05e2c2229f7384c1912
2013-08-13 11:05:01 +02:00
Stephan Bergmann
b3d898c201 -Werror=maybe-uninitialized
Change-Id: Ie6814e8ebb3fa17d545a86d18f5c9a895ab5a0ca
2013-08-09 15:10:21 +02:00
Siqi LIU
731f3d986e request immdiateupdate for pointerSymbol, but bad performance
Change-Id: I943019f6f6c6aaddeb40bf7f56bd0ffefff8a6b3
2013-08-04 14:18:10 +02:00
Siqi LIU
dffc87dd13 pointer display on the screen
Change-Id: I43c91bdf6c364da282d354e5a07f871a9247f2d6
2013-08-04 14:18:10 +02:00
Siqi LIU
65134fb75c minor updates for avahi/bonjour refacotration
Change-Id: I89e0115ddbea953de4ee0468c66e949070087a96
2013-07-25 17:28:02 +02:00
Siqi LIU
cca0b9ae02 patch for review
Change-Id: I86ac0123e0a7073eaf6b971458d2c7c984a6c6fa
2013-07-25 17:28:00 +02:00
Jelle van der Waa
689363662c fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
Change-Id: If2c1ce9ca27e27ed5ecc15a448b7332855e31309
Reviewed-on: https://gerrit.libreoffice.org/5058
Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-23 21:25:59 +00:00
Takeshi Abe
542b45af44 Mark as const
Change-Id: I0bf93f1293fb08b8b558fcac0cb496ed99ad13d9
2013-07-14 08:17:20 +09:00
Armin Le Grand
cc7a301dad Resolves: #i118671# take emergency exit when local slideshow...
is disposed from executing macros

(cherry picked from commit 58eca806173ea9ede4efda89a96996d147227473)

Change-Id: Ifd07faa0a4bb051dea7b57b775eaf8818a7ce6d3
2013-07-09 14:50:50 +01:00
Arnaud Versini
1a44cf5f6d Remove warning by using the right printf commands
Change-Id: Id476a0eb1f5965098c8cc2e2847547b1d23387eb
Reviewed-on: https://gerrit.libreoffice.org/4753
Reviewed-by: Petr Mladek <pmladek@suse.cz>
Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-09 10:10:39 +00:00
Thomas Arnhold
ba0a57702c remove OUString wrap for string literals
For some functions and all kinds of Exceptions.

CannotConvertException
CloseVetoException
DisposedException
EmptyUndoStackException
ErrorCodeIOException
Exception
GridInvalidDataException
GridInvalidModelException
IOException
IllegalAccessException
IllegalArgumentException
IllegalTypeException
IndexOutOfBoundsException
NoMasterException
NoSuchElementException
NoSupportException
PropertyVetoException
RuntimeException
SAXException
ScannerException
StorageWrappedTargetException
UnsupportedFlavorException
VetoException
WrappedTargetException
ZipIOException
throwGenericSQLException
throwIllegallArgumentException

createInstance
createInstanceWithContext
forName
getByName
getPackageManager
getPropertyValue
getUnpackedValueOrDefault
getValueByName
hasPropertyByName
openKey
setName
setPropertyValue
supportsService

bash command:

for i in `cat list`; do git grep "$i\s*(\s*OUString(\s*\"" -- '*.[hc]xx'
	| cut -d ':' -f1 | sort -u
	| xargs sed -i
		-e "s/\(\<$i\s*(\)\s*OUString(\s*\(\"[^\")\\]*\"\)\s*)\s*/\1\2/g"
		-e "s/\($i.*\)\"+ /\1\" + /g";
done

Change-Id: Iaf8e641b0abf28c082906014f87a183517630535
Reviewed-on: https://gerrit.libreoffice.org/4624
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-06-29 21:52:54 +00:00
Caolán McNamara
7a123cae33 boost::shared_dynamic_cast -> boost::dynamic_pointer_cast
Change-Id: I2db39313de7df003b59a00a6d6a210f29c3a24ea
2013-06-26 08:52:42 +01:00
Radu Ioan
db979ee28a fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFO
- replaced RTL_CONTEXT_ with SAL_INFO
- replace OSL_* with SAL_*

Change-Id: I9a7cce0d3abef42c9d9d0ad56609d94d504854cb
Reviewed-on: https://gerrit.libreoffice.org/4128
Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-10 08:41:50 +00:00
Mark Wielaard
a775188f6b Fix memory leak in OGLTransitionerImpl::createWindow.
XFree the result of glXChooseVisual, glXGetVisualFromFBConfig and
glXGetFBConfigs when done.

Change-Id: I145c7f5f083718d983ccea4b534d4e90056eb14e
Reviewed-on: https://gerrit.libreoffice.org/4195
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
2013-06-10 04:58:56 +00:00
Michael Meeks
c32c11fbd4 MPLv2 subset improvements. 2013-06-04 17:45:42 +01:00
Michael Meeks
1e4422a4b4 re-base on ALv2 code. Includes:
Patches contributed by Mathias Bauer
        gnumake4 work variously
        http://svn.apache.org/viewvc?view=revision&revision=1394707
        http://svn.apache.org/viewvc?view=revision&revision=1394326
        http://svn.apache.org/viewvc?view=revision&revision=1397337
        http://svn.apache.org/viewvc?view=revision&revision=1397315
        http://svn.apache.org/viewvc?view=revision&revision=1396797

	Patches contributed by Andre Fischer
	Fixed getcsym.awk to handle #-comments that contain special regexp chars.
        http://svn.apache.org/viewvc?view=revision&revision=1230971
	118778: Added ADDITIONAL_REPOSITORIES environment variable and its
	automatic setup in configure.
        http://svn.apache.org/viewvc?view=revision&revision=1232004
	118160: Added external CoinMP library.
        http://svn.apache.org/viewvc?view=revision&revision=1233909

	Patches contributed by Herbert Duerr
	#i119168# use generic LICENSE file for langpacks and sdks
        http://svn.apache.org/viewvc?view=revision&revision=1310178
	macosxotoolhelper: need to quote perl regexp if it may contain regexp metachars
        http://svn.apache.org/viewvc?view=revision&revision=1183367
	allow gbuild with empty sysroot on linux
        http://svn.apache.org/viewvc?view=revision&revision=1179186

	Patches contributed by Ingo Schmidt
	native373: #164472# improvements for msi database
        http://svn.apache.org/viewvc?view=revision&revision=1167540
        http://svn.apache.org/viewvc?view=revision&revision=1167539

	Patches contributed by Jurgen Schmidt
	adapt setup package scripts to handle special DS_Store file for
	developer snapshot builds
        http://svn.apache.org/viewvc?view=revision&revision=1232430
	imported patch extensions_i117681.patch
	http://svn.apache.org/viewvc?view=revision&revision=1172102

	Patches contributed by Michael Stahl
	gbuild: RepositoryFixes.mk should be optional
        http://svn.apache.org/viewvc?view=revision&revision=1166123
	xslt filter: remove the FLA horror
	wordml import filter: replace FLA usage with plain XSLT
	http://svn.apache.org/viewvc?view=revision&revision=1363727

	Patch contributed by Oliver-Rainer Wittmann
	i#88652: applied patch, remove unicows deps
	http://svn.apache.org/viewvc?view=revision&revision=1177585

    Remove lots of OS2 conditionals, re-extract Rhino Java, unwind
    cppunit pieces, cleanup Mac image bits, remove coin-mp and
    re-package lpsolve, Oxygen & Crystal, fixup qstart bits, expand
    MPLv2 subset checking.

Change-Id: Iad5c8a76399620b892671633c0d8c29996db3564
2013-06-03 11:41:36 +01:00
Herbert Dürr
982462ac5c eliminate type ambiguity for std::accumulate() invocation
else clang/libc++ cannot decide between bool and a reference into a bit-vector
specialization

(cherry picked from commit 6a88a21257124d953637c4b8ead9c9771e15b899)

Change-Id: I694bbad82b1a05ebe86c5c941f3ac85c71f5fc9e
2013-05-27 12:58:21 +01:00
Andre Fischer
6016963783 Resolves: #i120764# Reduce grid size for snake wipe transition to 8*8.
Patch by: Wang Zhe
Review by: Andre Fischer
(cherry picked from commit 2de9df3bc309f480c68a970b3353b718ca4e9c68)

Change-Id: I33b5d9975d52492d296e77b191ae1a394c8443a0
2013-05-16 16:17:54 +01:00
Michael Stahl
5e7c0378c2 slideshow: that define causes -Wunused-macros with 10.6 SDK too
So since that is the new baseline let's get rid of it.

Change-Id: I20e921afca5e66f22d5403f383fb9fd5f0591142
2013-04-10 16:21:41 +02:00
Noel Grandin
b248624126 fdo#46808, Convert frame::Frame to new style
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-08 13:53:04 +02:00
Luboš Luňák
ba044b1e96 remove needless forward rtl::OUString declarations
Change-Id: I97d91a758dd82d64768d75c1d2ddd279de5f6034
2013-04-07 14:23:12 +02:00
Luboš Luňák
1946794ae0 mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk
have kept them, in order not to break external API (the automatic using declaration
is LO-internal).

Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-07 14:23:11 +02:00
Tor Lillqvist
07c9bb1038 Drop workarounds for Mac OS X SDKs 10.4 and 10.5
Change-Id: Ifa07f9b5613b4a75c5b72178cb276b9c0b495a62
2013-04-07 03:04:31 +03:00
Cao Cuong Ngo
2c82e5d304 fdo#59071 Slideshow: allow automatic transitions with sub-second
Enable slide transition each 0.25 second instead of whole second.

Change-Id: I1907a1baf30cede91a0438d021e003204ea06651
2013-04-05 13:05:42 +02:00
Stephan Bergmann
ce1cce54ec At least Mac OS X SDK 10.7 does not need that
(causes -Werror,-Wunused-macros, rather)

Change-Id: Ic8449c7794739033ddf1f6227f025ce4a0c899d0
2013-03-27 14:07:15 +01:00
Noel Grandin
c09c64ede6 fdo#46808, convert drawing::GraphicExportFilter to new style
Change-Id: Icd456209406ee8f4dc4ea1f966058f71dce08d58
2013-03-20 07:32:52 +02:00
Stephan Bergmann
4c0c23af21 Simplify equalsIgnoreAsciiCaseAscii[L] calls
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19 11:32:20 +01:00
Thomas Arnhold
8b27d78b4a automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings
Done with a perl regex:

s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms

Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec
Reviewed-on: https://gerrit.libreoffice.org/2832
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19 09:00:26 +00:00
nccuong
a6b9173005 fdo#60148 Clean up warnings from the Clang compiler plugin
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671
loplugin: clean warnings: unused variables, incorrect indentation and log area.
Reviewed-on: https://gerrit.libreoffice.org/2544
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2013-03-06 12:59:26 +00:00
Thomas Arnhold
26e37ca4c7 doubled includes
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04 13:58:40 +01:00
Thomas Arnhold
f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Markus Mohrhard
969a8c566d coverity#982270: fix copy&paste error
Change-Id: I845a858935cf00ff3b07dbfead8e827820329309
2013-03-03 09:10:10 +01:00
Thomas Arnhold
dd3e879cfd remove some trivial duplicates
Change-Id: Ie736cb6d5ff7f4d1998338f4a3a3a3b0a67c79ad
2013-02-25 19:34:36 +01:00
Thomas Arnhold
d5caf6898b loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24 17:44:31 +01:00
Julien Nabet
5a68d2cbe2 Fix member variables not initialized in constructor
Change-Id: I17275e7e17f76da967d2fa798f5ee88b50fd6d72
Reviewed-on: https://gerrit.libreoffice.org/2121
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-02-12 15:30:01 +00:00
Mark Wright
d4bab97023 fix compile for change to boost 1.53.0 declaring smart pointer operator bool as explicity for C++11 compilers
Change-Id: If2c3ad68b2ffea645a9f2035cd802553edc0ee79
Reviewed-on: https://gerrit.libreoffice.org/2064
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-02-09 22:41:50 +00:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Michael Meeks
ab8e375736 fdo#59881 - sdremote: revert un-necessary locking change.
Change-Id: Id455dd87f01bbea0c5a4ae26734c0aba5699ac71
2013-01-29 11:26:04 +11:00
Michael Meeks
58b05ce98e fdo#59881 - sdremote: give up on threaded / UNO usage.
Process incoming commands in the main thread in a Timeout, build
thumbnail / previews there too - to avoid the deadlocks mentioned
in the bug.

Change-Id: I5f5e8d6fbc2e059d4194f72f3e086e1aa87ab2cc
2013-01-28 21:25:44 +11: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
Tor Lillqvist
4d23222b15 Avoid crash
(But the OpenGL transitions aren't really usable on the Mac. At least
not when built against the 10.7 SDK.)

Change-Id: I6b65b417a40be182b7b4077b420b4bdb52fb67c4
2013-01-11 11:13:06 +02:00
Tor Lillqvist
90ef2f1d63 I meant -1 of course, not -127
(As the signed char equivalent of 255.)

Change-Id: Iefb3ebdcf324f0a1925bb3e5d01d7d86e5c62482
2013-01-11 07:09:00 +02:00
Tor Lillqvist
294ec42e76 Copy/paste error
Change-Id: I9e4ba84eb1cc3dff8c39369a9da32dd49839ecef
2013-01-11 00:03:34 +02:00
Tor Lillqvist
ab4a0f1165 Add note that these files are unused
Change-Id: I7fd226bf61d9983d843453919a0406442daaea70
2013-01-10 23:59:06 +02:00
Tor Lillqvist
e2eb5c8d60 Rename the "unx" folder to "generic" to match reality
Change-Id: I73eb1f36e2a7be5d97e8da837bbf4ffad8282897
2013-01-10 23:53:43 +02:00
Tor Lillqvist
bb981d3687 We always define QUARTZ for Mac OS X
Change-Id: Ifc780f9afa0b52f260fdb7cb596db985d5bf0638
2013-01-10 23:53:42 +02:00
Tor Lillqvist
b51d0ec93d Make the OpenGL transition code buildable for Windows
Whether it works at run-time is another question;)

Use the same source files as for X11, with relevant conditional
coding.

The Windows OpenGL import library corresponds to OpenGL 1.2, so we
can't directly use APIs from OpenGL 1.3 or newer. (Even if they as
such are present in the "Mesa" headers we use.) So look up also
glActivetexture() dynamically.

Change-Id: I2280e2ad7e190356e9409cc28142fa9fc33e078b
2013-01-10 23:53:41 +02:00
Tor Lillqvist
6312695ad6 The "unx" and "win" OGLTrans_Shaders.cxx files were effectively identical
Just some OSL_TRACE/SAL_INFO changes in the "unx" one. And it isn't
like the "win" one would actually compile for Windows as is anyway, as
it unconditionally uses glX stuff. So certainly it is better to have
just one copy, and if we want to make the OpenGL transitions build on
Windows then add ifdefs for Windows to it.

Change-Id: If6887e24a0fc03c7e0e77f003d08feb51c264f30
2013-01-10 14:59:40 +02:00
Matúš Kukan
c26e2328ff turn some OSL_ENSURE into SAL_WARN_IF to avoid warnings about unused variables
And one OSL_ASSERT too.

Change-Id: I51f0083b9b9336e80c3b6a898c295173ad48f77c
Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-01-09 09:37:58 +01:00
Matteo Casalin
a4c7ded1fd Cleanup: #include <tools/gen.hxx>
Change-Id: Ic547b4a59102afc8bdbc85ec95ac312e32ef2530
Reviewed-on: https://gerrit.libreoffice.org/1484
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-07 13:14:57 +00:00