summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)AuthorFilesLines
2013-08-04fdo#67235 adapt form control code to time nanosecond API changeLionel Elie Mamane2-6/+3
squash of steps 1, 2 and 3 in master Change-Id: If68ecf0691919d71d06d7b97d46db115013f9805 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-07-31fdo#67430 Keep original order of entry positions, not alphabetically sortedStephan Bergmann1-229/+232
...turns out ca0600f0c9022d631317423ab5a59493b41906ab "multiple unsequenced modifications to 'nPos' [-Werror,-Wunsequenced]" was wrong in assuming that the order of getPropertyPos had no meaning, as it determines the order in which form property dialogs display items. So, reintroduced a fixed order, but without resorting to undefined behavior due to repeated uses of ++ with no sequence points in between. This is rather sluggish, but gets the job done. (cherry picked from commit a6fe1fde409ff1accdea49ff9de69658de1e6f5f) Conflicts: extensions/source/propctrlr/formmetadata.cxx Change-Id: If9c5f4130fe6523eebd3a13e5a685fc9c0f53fc0 Reviewed-on: https://gerrit.libreoffice.org/5215 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl1-1/+2
Add IsUTC member to: com.sun.star.util.DateTime com.sun.star.util.DateTimeRange com.sun.star.util.Time Add new stucts with explicit time zones: com.sun.star.util.DateTimeWithTimezone com.sun.star.util.DateWithTimezone com.sun.star.util.TimeWithTimezone Adapt the sax::Converter to read/write timezones, and fix the unit test. Everything else just uses default (no time zone), this commit is just to fix the API. STRUCT: /UCR/com/sun/star/util/DateTime nFields1 = 7 != nFields2 = 8 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/DateTimeRange nFields1 = 14 != nFields2 = 15 Registry2 contains 1 more fields STRUCT: /UCR/com/sun/star/util/Time nFields1 = 4 != nFields2 = 5 Registry2 contains 1 more fields Conflicts: sc/source/filter/oox/unitconverter.cxx Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 652ccbdf3111766fadc379a8cf4650b744e1e19c) i#108348: fix TimeZone -> Timezone in struct names (cherry picked from commit 604aae1fd240254fe851d93dc35b5408bd13296c) Signed-off-by: Michael Stahl <mstahl@redhat.com> Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu> Signed-off-by: Michael Meeks <michael.meeks@suse.com> Conflicts: forms/source/xforms/convert.cxx offapi/type_reference/offapi.rdb reportdesign/source/core/sdr/RptObject.cxx sc/source/filter/oox/unitconverter.cxx
2013-07-02Resolves: fdo#66252 format->number for controls is bustedCaolán McNamara1-5/+5
Change-Id: I7c88f3acd9a6c5faa40a8fedc7c9f6e7817cefb7 (cherry picked from commit 092281f1e7022ee26e3659cc1c54ac0dd73a4382) Reviewed-on: https://gerrit.libreoffice.org/4682 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-26Data-aware ListBox: fix case ListSourceType==TableFieldsLionel Elie Mamane1-2/+1
Change-Id: I9a89374fd1cc56c8185753f5959275a0a2d841ff Reviewed-on: https://gerrit.libreoffice.org/4464 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-26ListBox: when LISTSOURCETYPE changes, need to (un)lock BOUNDCOLUMNLionel Elie Mamane1-0/+1
Change-Id: If83073ec19c1389bf87fc154fa0ae83fd5bd1f3a Reviewed-on: https://gerrit.libreoffice.org/4463 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-06-05fdo#64962 - ignore exceptions from checking with the update service.Michael Meeks1-5/+11
Change-Id: If627b303f8710b915dcbdcb899454631f607e217
2013-06-03re-base on ALv2 code. Includes:Michael Meeks5-2/+7
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-30setPropertyValue can throw PropertyVetoExceptionLionel Elie Mamane2-2/+4
fixes abort in report design when entering e.g. invalid positions or size for control Change-Id: I38835ed79d5bee15c4d7b57ab6780050d250732a Reviewed-on: https://gerrit.libreoffice.org/4095 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-05-25Revert "fdo#46808, Convert awt::UnoControlDialogModel to new style"Stephan Bergmann1-18/+26
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 (cherry picked from commit e36f83d81c462e1a5959b160886e481a8d449494)
2013-05-22-Werror,-WuninitializedStephan Bergmann2-15/+14
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 (cherry picked from commit cb4b6dde8fda2a5848e11063028bf44d72f85431)
2013-05-21fix for linkingNoel Grandin1-0/+1
caused by my commit 863d38fbfa4fb4861e476828c46410602100919e "move DBG_UNHANDLED_EXCEPTION out of line" Change-Id: Idfd84d987ba9151ba476ce0516a9e5fbdb2003ec (cherry picked from commit 6bf00f0f94394c62bddcd77b776e4e3592160201) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch>
2013-05-21fdo#46808, Convert awt::XUnoControlDialog to new styleNoel Grandin1-11/+5
Change-Id: I40d2e2ddd92186a2ba22ebfbdda8367391e8d355
2013-05-21fdo#46808, Convert awt::UnoControlDialogModel to new styleNoel Grandin1-17/+16
Change-Id: I4b912034ef3f4855b87d6d6f18ff13bd1ecc8f72
2013-05-20Avoid linker warning LNK4222Tor Lillqvist1-8/+8
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 Lillqvist1-1/+1
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 Lillqvist3-6/+6
2013-05-11Related: #i120413# document helpful precalculated CheckInterval valsAriel Constenla-Haile1-0/+5
(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 Stahl3-4/+1
Change-Id: Ic05de69951b28b9cc8d62f0a534b507c424e6b25
2013-05-08support MS Office and Flat ODF file types in Mozilla Plug-inAndras Timar2-17/+119
Change-Id: I9bb3b67551dc14fd74e02defa0404e1f83359f2b
2013-05-08coverity#982973: Resource leakJulien Nabet1-0/+1
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 Bergmann2-1/+1
Change-Id: I9fd616930eb0b336ce89e97bc333f19d4cf449ae
2013-05-07np_sdk: remove both Package_inc and Package_npapiMichael Stahl3-10/+0
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 Stahl1-2/+0
Change-Id: I67d0801d8d353951f9c9b1ca7f08b23de9b34067
2013-05-06fix typos (wich instead of which)Philipp Riemer3-3/+3
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2-3/+3
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 Timar1-1/+1
Change-Id: I4573f77418b3631a2f324aac29e225698da53ba6
2013-05-02remove unsupported binfilter types from npsopluginAndras Timar1-10/+1
Change-Id: Ifd12d4d1f4dab0a6bea4701d0a1b9ab4f3763ce7
2013-05-02remove defines from npsoplugin resource, that are defined elsewhereAndras Timar2-2/+5
Change-Id: I745944202a25a348f36e79d28f03740a28b70eee
2013-05-02remove unsupported binfilter types from npsopluginAndras Timar1-3/+3
Change-Id: Ifb23e61b265697272e54df225719e006319e79af
2013-05-02fdo#54087 link the correct resource file to npsoplugin.dllAndras Timar2-8/+5
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 Tardon4-20/+38
Change-Id: I01ea506b76356ce62688350d096ff77c2cddcbdf
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks25-568/+100
2013-04-29Remove residue of undocumented "edition" featureStephan Bergmann1-8/+0
...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ňák1-0/+8
http://lists.freedesktop.org/archives/libreoffice/2013-April/051026.html Change-Id: I81031d8290efcc4f343af7bdffb4762411f4f107
2013-04-25fdo#46808, Convert form::ControlFontDialog to new styleNoel Grandin2-1/+20
Change-Id: I83487cddbd6b3fce1fdcdfa48623b63a0e026d90
2013-04-24extensions: rename WinResTarget target to match source fileMichael Stahl5-12/+12
Change-Id: I8e528f76d08f7a0d7acec05dcf306cd78b95a885
2013-04-24Java cleanup, use generic containers where possibleNoel Grandin1-4/+4
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 Tardon9-27/+0
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 Tardon10-24/+0
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 Tardon2-2/+0
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 Mamane1-7/+2
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 Meeks15-329/+60
2013-04-19Remove any remaining remnants of unused component_canUnload featureStephan Bergmann2-12/+5
Change-Id: I635fd006b5ba9f5fb0091748ee2ff9bc3c1a2d2a
2013-04-19remove unused component_canUnload functionsMatúš Kukan2-25/+0
Change-Id: Id3f41e2a620c47bb848718d0fc994739be2d64fc
2013-04-19Java cleanup, remove unnecessary castsNoel Grandin6-19/+19
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 Mamane5-9/+9
- 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 Bergmann1-5/+6
Change-Id: I16db60c861ef7ac0a2a9076fde1996a7b7b0e991
2013-04-17-Werror=unused-variable (MinGW, extensions)Stephan Bergmann1-1/+3
Change-Id: I43c2ad4a601ffe20f471d81ed7697b89c496fa6f
2013-04-17-Werror=write-strings (MinGW, extensions)Stephan Bergmann2-2/+2
Change-Id: I0761af5d2a6af23dbef67e4aadf4e6d21df1e58f