summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)AuthorFilesLines
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 Change-Id: I01f7a6d082a6b090c8efe71d2de137474c495c18 Reviewed-on: https://gerrit.libreoffice.org/4833 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-07-14String::SearchAndReplaceAllAscii -> OUString::replaceAllCaolán McNamara1-3/+1
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-05cleanup src filesThomas Arnhold3-28/+0
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-03restore title on Format Number single tab dialogsCaolán McNamara1-1/+3
Allow a .ui to be given to the SingleTabDialog ctor. There are *three* single-tab Format Number dialogs, we really should combine them together into one dialog. Change-Id: I1021c9b968764bd9ad35832958ef2bd067fca798
2013-07-02Resolves: fdo#66252 format->number for controls is bustedCaolán McNamara1-5/+5
Change-Id: I7c88f3acd9a6c5faa40a8fedc7c9f6e7817cefb7
2013-06-29remove OUString wrap for string literalsThomas Arnhold20-77/+77
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-29Search for char instead of 1 char long string, when possible.Thomas Arnhold1-1/+1
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold4-4/+4
Change-Id: Idb9971d848870f4d00dbf77e80e48bf7dfde8913 Reviewed-on: https://gerrit.libreoffice.org/4601 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-23Data-aware ListBox: fix case ListSourceType==TableFieldsLionel Elie Mamane1-2/+1
Change-Id: I9a89374fd1cc56c8185753f5959275a0a2d841ff
2013-06-23ListBox: when LISTSOURCETYPE changes, need to (un)lock BOUNDCOLUMNLionel Elie Mamane1-0/+1
Change-Id: If83073ec19c1389bf87fc154fa0ae83fd5bd1f3a
2013-06-23fdo#66002 correct error introduced by "AppendAscii cleanup"Lionel Elie Mamane1-12/+13
This reverts fix endless loop error: 865b5caf6e2256e06f46a39a86d67f03408718a9 which was a partial revert of AppendAscii cleanup: b7df3446c373a93dc5b77b495a54d873d83a91a7 AND fixes the original error in "AppendAscii cleanup". Change-Id: Ida29af046b277170388e4945c0cdb4ec6116be98
2013-06-23fix endless loop errorDavid Ostrovsky1-13/+12
This partially reverts this commit: b7df3446c373a93dc5b77b495a54d873d83a91a7 Change-Id: Id05939da35541f9620d03d9d3998e618d0bb9092
2013-06-20remove last uses of config 'GUI' variableMatúš Kukan2-12/+5
Change-Id: I97188235f0b72b5b54423e05deeaf17c5c681048 Reviewed-on: https://gerrit.libreoffice.org/4188 Reviewed-by: Andras Timar <atimar@suse.com> Tested-by: Andras Timar <atimar@suse.com>
2013-06-18fdo#43460 connectivity,extensions,filter,idl,idlc: use isEmpty()Jelle van der Waa1-1/+1
Change-Id: I78ba286be5aa4d731f734e5eb16adb77c686aad9 Reviewed-on: https://gerrit.libreoffice.org/4325 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-15loplugin:literalalternativeStephan Bergmann1-1/+1
Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8
2013-06-15loplugin:unusedvariablecheckStephan Bergmann1-2/+0
Change-Id: I2202b5fcca4bf4c0a552d25c5c363209fcb6bd84
2013-06-13Resolves: #i121504# Support for alpha channel in clipboard for all systemsArmin Le Grand1-3/+2
(cherry picked from commit ef3931ff410117e1237b3bef7bc090e8b83b9519) Conflicts: automation/source/server/statemnt.cxx basic/source/runtime/methods.cxx canvas/source/vcl/devicehelper.cxx canvas/source/vcl/spritedevicehelper.cxx drawinglayer/source/processor2d/vclhelperbufferdevice.cxx drawinglayer/source/processor2d/vclmetafileprocessor2d.cxx drawinglayer/source/tools/converters.cxx dtrans/source/win32/dtobj/FmtFilter.cxx editeng/source/items/bulitem.cxx extensions/source/scanner/sanedlg.cxx external/gcc3_specific/makefile.mk filter/source/graphicfilter/eos2met/eos2met.cxx filter/source/graphicfilter/ios2met/ios2met.cxx filter/source/msfilter/msdffimp.cxx fpicker/source/office/iodlg.cxx framework/source/fwe/classes/addonsoptions.cxx framework/source/fwe/helper/actiontriggerhelper.cxx sc/source/filter/excel/xiescher.cxx sc/source/ui/docshell/docsh.cxx sc/source/ui/inc/viewfunc.hxx sd/source/ui/app/sdxfer.cxx sd/source/ui/unoidl/unopage.cxx sd/source/ui/view/sdview3.cxx sfx2/source/appl/fileobj.cxx sfx2/source/appl/linkmgr2.cxx sfx2/source/dialog/filedlghelper.cxx sfx2/source/dialog/intro.cxx sfx2/source/doc/docinf.cxx sot/inc/sot/formats.hxx sot/source/base/formats.cxx svtools/bmpmaker/bmpcore.cxx svtools/bmpmaker/bmpsum.cxx svtools/inc/svtools/transfer.hxx svtools/source/filter/filter.cxx svtools/source/filter/wmf/emfwr.cxx svtools/source/filter/wmf/enhwmf.cxx svtools/source/filter/wmf/winwmf.cxx svtools/source/filter/wmf/wmfwr.cxx svtools/source/graphic/graphic.cxx svtools/source/graphic/provider.cxx svtools/source/misc/transfer.cxx svx/inc/svx/xoutbmp.hxx svx/source/sdr/overlay/overlaymanagerbuffered.cxx svx/source/xoutdev/_xoutbmp.cxx sw/source/core/view/viewsh.cxx sw/source/filter/ww1/w1filter.cxx sw/source/filter/ww8/ww8par.hxx sw/source/ui/dochdl/swdtflvr.cxx toolkit/source/awt/vclxbitmap.cxx toolkit/source/helper/vclunohelper.cxx vcl/Library_vcl.mk vcl/Package_inc.mk vcl/aqua/source/dtrans/DataFlavorMapping.cxx vcl/aqua/source/dtrans/OSXTransferable.cxx vcl/aqua/source/dtrans/PictToBmpFlt.cxx vcl/aqua/source/dtrans/PictToBmpFlt.hxx vcl/inc/vcl/alpha.hxx vcl/inc/vcl/bitmap.hxx vcl/inc/vcl/bitmapex.hxx vcl/inc/vcl/pngwrite.hxx vcl/inc/vcl/salbtype.hxx vcl/inc/vcl/wall.hxx vcl/source/gdi/animate.cxx vcl/source/gdi/bitmap2.cxx vcl/source/gdi/bitmapex.cxx vcl/source/gdi/bmpconv.cxx vcl/source/gdi/cvtsvm.cxx vcl/source/gdi/impgraph.cxx vcl/source/gdi/impimagetree.cxx vcl/source/gdi/metaact.cxx vcl/source/gdi/wall.cxx Change-Id: I79938bc412c048c3d4e64f430f216e73bec16167
2013-06-10mingw64: cast to pointer from integer of different size in extensionsFridrich Štrba2-10/+10
Change-Id: Ie2162b71e4e9de9fe24ce54815e5139774bb2ec0
2013-06-10mingw64: Use the *LongPtr Windows apiFridrich Štrba3-21/+25
Change-Id: I00c753f71460bee9f2bce3af35b352a25a3b8484
2013-06-10fdo#46808, Convert form::inspection::FormComponentPropertyHandlerNoel Grandin1-3/+2
.. to new style service Change-Id: Iee4681f94dc9874271dc8a1d5d74e161d7691a29
2013-06-08Fix typo: alway -> alwaysJulien Nabet1-1/+1
Change-Id: I60b4a6086a6e114ff4895755e4c20dfb402a1979
2013-06-06Slowly, but surely going on compiling for mingw64Fridrich Štrba2-9/+9
Change-Id: I590aa6a854a040281bf73d5be768c05d4906a984
2013-06-05Some more win64 "fixes"Fridrich Štrba2-2/+6
Change-Id: Id3de720a7ab28499644881e628a18f99121cb3c9
2013-06-05fdo#64962 - ignore exceptions from checking with the update service.Michael Meeks1-5/+11
Change-Id: If627b303f8710b915dcbdcb899454631f607e217
2013-06-05use uno::Reference#clear() method...Noel Grandin2-9/+9
...instead of assigning an empty value. Reduces code noise. Change-Id: Ic95b081a41fb740a738c92b3407a9514ccb8b06e
2013-06-05fdo#46808, Convert a copy of ComponentContext to XComponentContextNoel Grandin19-340/+102
Looks like this extensions had a modified copy of comphelper::ComponentContext in it. Change-Id: I7e29aea4e6480a619f3148530fe6d784efe260e1
2013-06-05remove unused componentcontext.hxx includesNoel Grandin2-2/+0
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-06-03Fix variable value reassigned before old value usedJulien Nabet1-2/+1
Change-Id: Ide65a35d1dd39cbce9230f951bcc229b0df7b634
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-06-03WaE: unused parameter '_rxContext'Tor Lillqvist1-1/+1
Change-Id: I75c9d894f792dd7a4ac85acace586e163d57c077
2013-06-03fdo#46808, Convert ComponentContext in connectivity,extension..Noel Grandin16-76/+46
...modules. Change-Id: Ie61976dc12b514bb85ca42496c0d9173a1c56264
2013-06-03fdo#46808, Convert office::Quickstart service to new styleNoel Grandin2-35/+3
Service already existed, just needed an IDL file. Change-Id: Ief5563e53c7331b65dd429079180c4eed2f2c071
2013-06-03fdo#46808, Convert form::TabOrderDialog service to new styleNoel Grandin3-1/+34
The service already existed, it just needed an IDL file. Change-Id: I10219da7292db5e746a89028ddc4fabb069ac388
2013-05-31Bin more VS2008 bitsTor Lillqvist1-9/+0
Change-Id: Ia52fdae1e386ea92f11185ce7cdac65baed10495
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
2013-05-28Resolves: #i121216# Allow unique logger file nameAriel Constenla-Haile1-1/+42
(cherry picked from commit a9606aa4d8a6bcb3955d991ee45c56cb93be2450) Conflicts: officecfg/registry/schema/org/openoffice/Office/Logging.xcs Change-Id: I25719f2898df2f91ef9c71234e9eab83f8140b96
2013-05-28fdo#46808, Convert awt::UnoControlDialog to new styleNoel Grandin1-9/+4
Change-Id: I9a5256c8dbacda60167403b4e26900588943a9b2
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
2013-05-23Fix build breakerAriel Constenla-Haile2-4/+4
(cherry picked from commit 4f7c31cdcf7ba9558e59bc345b3925f6b3d2695c) Change-Id: Iccb1de40dc66d94128d4db2ca08b05b7e4c567f5
2013-05-22AppendAscii cleanupRicardo Montania4-23/+20
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 Grandin5-23/+15
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 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
2013-05-21fix for linkingNoel Grandin1-0/+1
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 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