summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)Author
2013-05-25Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann
This reverts commit 6c61b20a8d4a6dcac28801cde82a211fb7e30654. As discussed at <http://lists.freedesktop.org/archives/libreoffice/2013-May/052449.html> "Re: fdo#46808, Convert awt::UnoControlDialogModel to new style problem" why the odd change in 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again" appears to fix things again: The problem is that the implementation of the css.awt.UnoControlDialogModel involves UNO aggregation (IMPL_CREATE_INSTANCE_WITH_GEOMETRY(UnoControlDialogModel) in toolkit/soruce/helper/registerservices.cxx creating a OGeometryControlModel<UnoControlDialogModel> instance that aggregates a UnoControlDialogModel instance). That means that queryInterface can return a reference to something that is technically a different object, and that's what's happening here, and explains why calling setPropertyValue in two different ways on what logically appears to be a single object can end up calling two different implementations (of two different physical objects). (UNO aggregation is known to be broken and should not be used. Nevertheless, there's still code that does---code that is a horrible mess and hard to clean up.) That all this worked as intended in the past is just sheer luck, but any way of substantially touching it is asking for trouble. I'm going to revert 6c61b20a8d4a6dcac28801cde82a211fb7e30654 again. I wasn't able to revert without also reverting be50ad28f5bbdaeff527f646481ce263843c2401 "fdo#46808, Convert awt::XUnoControlDialog to new style," as the two were tightly dependant. Also reverts all the follow-up fixes cb4b6dde8fda2a5848e11063028bf44d72f85431 "-Werror,-Wuninitialized" (sans the const-ness fix in UpdateHandler::insertControlModel), 697a007c61b9cabceb9767fad87cd5822b300452 "Fix exception specifications," 2ce6828bbbf6ba181bb2276adeec279e74151ef6 "fix awt::UnoControlModelDialog crash," and 2e2a4827ce6708f0e8677dba9cc92e1479a44086 "scripting: get CreateUnoDialog() work again." Conflicts: basctl/source/dlged/dlged.cxx filter/source/t602/t602filter.cxx xmlscript/test/imexp.cxx Change-Id: I5d133468062f3ca36300db52fbd699be1ac72998
2013-05-23Fix build breakerAriel Constenla-Haile
(cherry picked from commit 4f7c31cdcf7ba9558e59bc345b3925f6b3d2695c) Change-Id: Iccb1de40dc66d94128d4db2ca08b05b7e4c567f5
2013-05-22AppendAscii cleanupRicardo Montania
Change-Id: I7398272de0bd340ebfb5f31b314d32fcff007eec Reviewed-on: https://gerrit.libreoffice.org/3974 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-21-Werror,-WuninitializedStephan Bergmann
Bogus uno::Reference< awt::XControlModel > xControlModel = xControlModel; introduced with 6c61b20a8d4a6dcac28801cde82a211fb7e30654 "fdo#46808, Convert awt::UnoControlDialogModel to new style." Correct fix involves adding missing "const" in declaration of UpdateHandler::insertControlModel, so implicit Reference up-cast works. Change-Id: I8f6d679a38d99188eb893366e9b552974b3c1bf2
2013-05-21fix for linkingNoel Grandin
caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec
2013-05-21fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-20Avoid linker warning LNK4222Tor Lillqvist
These symbols should not be assigned an ordinal as they are always located by name, using GetProcAddress(), says MSDN. Change-Id: I46caf7da634b1379a5baf5de631571335c6134ca
2013-05-15Don't export a variable called PATH_SEPARATORTor Lillqvist
It used to be mis-spelled PATH_SEPERATOR. Now, after correcting the spelling, it breaks the build of 3rd-party libraries using autoconfigury on Windows. The value of PATH_SEPARATOR is ";" on Windows, and the configure scripts of those libs run in Cygwin and assume that a PATH_SEPARATOR environment variable should be correct for Cygwin. Which ";" isn't. Rename the variable to LIBO_PATH_SEPARATOR. Change-Id: Iff0eb93bf11d9f844a28be7ea4456e4c0ae10844
2013-05-15Spelling "separate" (etc) correctly is hardTor Lillqvist
2013-05-11Related: #i120413# document helpful precalculated CheckInterval valsAriel Constenla-Haile
(cherry picked from commit 1045898eb4be2f19d8435e86ff600f4d9541abf9) Conflicts: extensions/source/update/check/Jobs.xcu Change-Id: Iddf1ba34bd6a48ae64c3b7b104d2e942f39df244
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-07-Werror=unused-macrosStephan Bergmann
Change-Id: I9fd616930eb0b336ce89e97bc333f19d4cf449ae
2013-05-07np_sdk: remove both Package_inc and Package_npapiMichael Stahl
This is a bit of a mess, apparently there are some headers here that may come from the system and others that are always internal? Change-Id: Ifbf486d3016bc87849e2593d83b3d48dae3aeca0
2013-05-07twain: remove Package_incMichael Stahl
Change-Id: I67d0801d8d353951f9c9b1ca7f08b23de9b34067
2013-05-06fix typos (wich instead of which)Philipp Riemer
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-05-02build fix s/$(BUILD)/$(LIBO_VERSION_PATCH)/Andras Timar
Change-Id: I4573f77418b3631a2f324aac29e225698da53ba6
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-05-02fdo#54087 link the correct resource file to npsoplugin.dllAndras Timar
I had to add a new function to gbuild system: set_nativeres, because the trick in extensions/Library_npsoplugin.mk did not work. It linked the default.res, and that made the plugin unusable under Windows. Also, one export was missing compared to LibreOffice 3.5. Conflicts: extensions/Library_npsoplugin.mk extensions/WinResTarget_npsoplugin.mk Change-Id: Ib91fa2a3b72b15912587f22becccb0aebc2aa390
2013-04-30install SpotlightImporter bundle using filelistsDavid Tardon
Change-Id: I01ea506b76356ce62688350d096ff77c2cddcbdf
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-29Remove residue of undocumented "edition" featureStephan Bergmann
...whereby some branding could be orverridden with information from a program/edition/ directory. Change-Id: I7f9324678b09bc8069775dfcbda97be8e0618a91
2013-04-25workaround race condition with mixing internal/system cairo libsLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2013-April/051026.html Change-Id: I81031d8290efcc4f343af7bdffb4762411f4f107
2013-04-25fdo#46808, Convert form::ControlFontDialog to new styleNoel Grandin
Change-Id: I83487cddbd6b3fce1fdcdfa48623b63a0e026d90
2013-04-24extensions: rename WinResTarget target to match source fileMichael Stahl
Change-Id: I8e528f76d08f7a0d7acec05dcf306cd78b95a885
2013-04-24Java cleanup, use generic containers where possibleNoel Grandin
Change-Id: Icd830004de3e121f5b96393e7d7b447775833419 Reviewed-on: https://gerrit.libreoffice.org/3569 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-24gbuild: drop empty use_packages callsDavid Tardon
Change-Id: I8e9f70eb5d929c98b4379416c2259a74e31d587f Reviewed-on: https://gerrit.libreoffice.org/3503 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-24move URE headers to include/David Tardon
Change-Id: Ib48a12e902f2311c295b2007f08f44dee28f431d Reviewed-on: https://gerrit.libreoffice.org/3499 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-22Data-aware ListBox: can have a BoundColumn even without bound database columnLionel Elie Mamane
It defines what goes into the ValueList property, what getCurrentValue() returns, and what an external value binding gets. Change-Id: I9242d3a6040ec98c22b1d4350942dfa0e7aa6c5b
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19remove unused component_canUnload functionsMatúš Kukan
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19Java cleanup, remove unnecessary castsNoel Grandin
Change-Id: Id12089bc7df16631737e6acaee0973fb91dd953f Reviewed-on: https://gerrit.libreoffice.org/3431 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-17-Werror=int-to-pointer-cast (MinGW, extensions)Stephan Bergmann
Change-Id: I16db60c861ef7ac0a2a9076fde1996a7b7b0e991
2013-04-17-Werror=unused-variable (MinGW, extensions)Stephan Bergmann
Change-Id: I43c2ad4a601ffe20f471d81ed7697b89c496fa6f
2013-04-17-Werror=write-strings (MinGW, extensions)Stephan Bergmann
Change-Id: I0761af5d2a6af23dbef67e4aadf4e6d21df1e58f
2013-04-17-Werror=unused-macros (MinGW, extensions)Stephan Bergmann
Change-Id: I208b5f1a8f3faabd03961bd58e2f09bb8338c790
2013-04-17-Werror=shadow (MinGW, extensions)Stephan Bergmann
...and aStr, aStr2 are not necessary, anyway. Change-Id: I04fbd1fb3c7375015168e866e8b77eebfb62f648
2013-04-17-Werror=unknown-pragmas (MinGW, extensions)Stephan Bergmann
Change-Id: I3eeb8864ddf931361f6504c04b8bfa787115cfd1
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