summaryrefslogtreecommitdiff
path: root/extensions/source/nsplugin
AgeCommit message (Collapse)Author
2014-09-09fdo#45071 Remove Libreoffice browser pluginBryan Quigley
This removes ENABLE_NPAPI_INTO_BROWSER while it should keep ENABLE_NPAPI_FROM_BROWSER (embed flash in LO) intact. Signed-off-by: Stephan Bergmann <sbergman@redhat.com> Conflicts: extensions/source/nsplugin/source/npshell.cxx Change-Id: I80a9159a75653c74423d8fdc7c188568d3188e04
2014-09-07create clang plugin to warn about C-style castsNoel Grandin
We don't like C-style casts in our nice C++ code Change-Id: I94e7ec90de9275cd6e20c4146d4f3a74bed93c9d Reviewed-on: https://gerrit.libreoffice.org/10367 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-07-10coverity#1224983 out of boundNorbert Thiebaud
Change-Id: I58cf35e8729110f2488bf08d6cadc1ec428298cf
2014-07-05coverity#983489 String OverflowNorbert Thiebaud
Change-Id: I146844d10dc6ee147031a8ffa6fabe9e271b2bd0
2014-05-29fdo#68849: Add header guards to all include filesJens Carl
Added header guards to files in directory extensions/* Change-Id: If6a1642d726732fa05735c721f31b6fc7c405608 Reviewed-on: https://gerrit.libreoffice.org/9537 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-05-13Related fdo#60338: do not call umask(3) in a MT programStephan Bergmann
...and it is unclear what this call was supposed to help for; if a user deliberately sets its umask too strong, then better live with the consequences than to silently "fix" it. Change-Id: I0d84a7d1bd6f007794a65e1f7cc4ea09ebd9d4af
2014-05-02extensions: sal_Bool->boolNoel Grandin
Change-Id: I1730f99c08690138e9aa7aba54304fd7bc51491d
2014-04-19fixincludeguards.sh: extensionsThomas Arnhold
Change-Id: If652bce4cf7621795b084bcbc0aa4c46dd903878
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-03-22coverity#983370 Dereference before null checkCaolán McNamara
Change-Id: I524ce73811f32b7da38ef127ee4633a2c6a9f933
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-01-28bool improvementsStephan Bergmann
Change-Id: If3402725c9cbff5df45043bd2ecd22dd6241c052
2014-01-10Remove odd code that does not make any senseStephan Bergmann
For one, NPPrint.mode must be either NP_FULL or NP_EMBED, so assigning TRUE is odd. And for another, the value of printInfo->mode is read again in the next line, so assigning anything to it here looks like an error anyway. Change-Id: Icd5a7ceabd07ed8b716e2fc90b214b7da5301451
2013-12-13Targetted text updates, with seasonable changes before l10n freeze.Michael Meeks
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-04Fix one more use of wsprintfStephan Bergmann
...that would fall into the same trap as 50bd5c11f551f5274be9a4411c5ddcbd32bd9a03 "wsprintf is broken by design and never writes more than 1024 characters" if the length were not currently bounded by 2 * MAX_PATH + x < 1024 anyway. Change-Id: I2503ba0a9df960f2fdb51925d5fbbcff5bdb998a
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in appendAscii callsNoel Grandin
Convert code like: aStrBuf.appendAscii( RTL_CONSTASCII_STRINGPARAM( "ln(x)" )); to: aStrBuf.append( "ln(x)" ); which compiles down to the same code. Change-Id: I24c7cb45ceb32fd7cd6ec7ed203c2a5d746f1c5c
2013-11-11remove unnecessary use of OUString constructor in EXTENSIONS moduleNoel Grandin
Change-Id: Idf73eb831f52d4d74e6fbb6ea27f59ebbfd13a8c
2013-10-01extensions: kill StarOffice/StarSuite branding in browser pluginMichael Stahl
Change-Id: Ia4c291936ad0b31e67d8edb046424d29462171b5
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-18Use subfolder names from <config_folders.h>Tor Lillqvist
Change all instances of hardcoded "program", "share" etc subfolder names to use those from <config_folders.h> instead. In normal builds, the end result will not change. Change-Id: I91c95cd8e482818be67307e889ae6df887763f53
2013-06-29remove OUString wrap for string literalsThomas Arnhold
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-10mingw64: Use the *LongPtr Windows apiFridrich Štrba
Change-Id: I00c753f71460bee9f2bce3af35b352a25a3b8484
2013-06-05Some more win64 "fixes"Fridrich Štrba
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9
2013-06-05use uno::Reference#clear() method...Noel Grandin
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-03re-base on ALv2 code. Includes:Michael Meeks
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-05-10soltools: remove Package_inc and empty unistd.h nonsenseMichael Stahl
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-08support MS Office and Flat ODF file types in Mozilla Plug-inAndras Timar
Change-Id: I9bb3b67551dc14fd74e02defa0404e1f83359f2b
2013-05-08coverity#982973: Resource leakJulien Nabet
Change-Id: I1ea51b29c3ad05016f42c215b71877cd8c3f92f4 Reviewed-on: https://gerrit.libreoffice.org/3821 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-05-02remove unsupported binfilter types from npsopluginAndras Timar
Change-Id: Ifd12d4d1f4dab0a6bea4701d0a1b9ab4f3763ce7
2013-05-02remove defines from npsoplugin resource, that are defined elsewhereAndras Timar
Change-Id: I745944202a25a348f36e79d28f03740a28b70eee
2013-05-02remove unsupported binfilter types from npsopluginAndras Timar
Change-Id: Ifb23e61b265697272e54df225719e006319e79af
2013-04-17-Werror=unused-variable (MinGW, extensions)Stephan Bergmann
Change-Id: I88113be8ff3f4dfe641463267754ee8129bc767a
2013-04-17-Werror=unused-macros (MinGW, _WINDOWS)Stephan Bergmann
...hopefully unused anyway? In there "since the beginning." Change-Id: Ibe61ad133dc8a546a2c70626faa5f8d2ca951150
2013-04-17-Werror=unused-macros (MinGW, extensions)Stephan Bergmann
Change-Id: I9e442453108eddcfc6cbb9769ac224fc469f1efc
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-03-27Prevent duplicate definitionsStephan Bergmann
Change-Id: I4cbc231bdac93ed3dca3fb6140c5c85e9eb4339d
2013-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold
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-09fdo#43460: use isEmpty()Thomas Arnhold
Change-Id: I01f503ea5268245cc4f98524931730cfa063d57e
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold
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-02coverity#982972 & coverity#982971: fix memory leakMarkus Mohrhard
Change-Id: I3fa44aa5651584c5a90d9e18c75d0c825fcf05fc
2013-02-23coverity#982145 Buffer not null terminatedJulien Nabet
Change-Id: I5dd0050a0fbb5918da2d863998a7f24d9b144780
2013-01-31Some cppcheck cleaningJulien Nabet
Change-Id: I39e1dd985af6029e1fd688ff47350734c85928a6
2013-01-30extensions: fix wrongly converted OUString literalsMichael Stahl
Change-Id: I23594fe715fbd8d34ea5d938bde963a17dffb296
2013-01-30Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRINGJean-Noël Rouvignac
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>
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens
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-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-12WaE: fix windows build of npshell.Michael Meeks