summaryrefslogtreecommitdiff
path: root/package
AgeCommit message (Collapse)AuthorFilesLines
2013-10-04'ist' -> 'is' here and there.Jan Holesovsky1-1/+1
Change-Id: I0a463c38214b95582db2c7b3979367255426c14e
2013-10-02WaE: unused variableTor Lillqvist1-1/+0
Change-Id: Iad493e5022a36895a30438340826ef4df50b2837
2013-10-02WaE: unused variableTor Lillqvist1-2/+0
Change-Id: Iae213402c69a4ca35f160aae1a7ecae9a7a0d47e
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann1-2/+0
Change-Id: I1a6f8fdd6904c9567b72d4bf5156aef5ce7d84f0
2013-10-02Resolves: rhbz#1013844 fdo#47482 encrypted OOo 1.0 docs cannot be reopenedCaolán McNamara1-5/+29
Workaround for the encrypted OpenOffice.org 1.0 documents generated by Libreoffice <= 3.6 with the new encryption format and using SHA256, but missing a specified startkey of SHA256 Change-Id: Ib1acc4441b5adc6721cb3cde7a1191aa978e9a1b
2013-09-23Try to fix cross-compilationTor Lillqvist1-1/+1
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann1-1/+1
Introduced gb_INSTROOT, which is the same as $(INSTDIR) except for Mac OS X, where it is $(INSTDIR)/LibreOffice.app/Contents. Most stuff ends up there (so most occurrences of $(INSTDIR) have been replaced with $(gb_INSTROOT)), but SDK- related stuff goes to $(INSTDIR)/$(gb_Package_SDKDIRNAME). (And GeneratedPackage needed to be made more flexible, to allow for packages that go into either of those two places.) For Android and iOS, gb_INSTROOT probably still needs to be set. The most obvious missing thing yet to make instdir work for Mac OS X is the instdir/*/LibreOffice.app/Contents/ure/ vs. instdir/*/LibreOffice.app/Contents/ure-link/ split. Change-Id: I4478edd27b14c92c96d92d5169bdca3ec50d78f5
2013-08-28End iterator might not be constJulien Nabet1-2/+1
Change-Id: I95c0999903762e79e606fdae7fd11b1ce79fe8d0
2013-08-27These shall apparently check for URL scheme prefix matchStephan Bergmann1-1/+1
...they had originally been aURL.equalsIgnoreAsciiCaseAsciiL( "vnd.sun.star.pkg", 16 ) etc., so where likely confused with the OUString compareTo functions that take a maxLength argument. Change-Id: Ie12df4f589dda310b7e49eb93535ad797f88a8a7
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák1-4/+4
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-18Further work on the "Mac-like app structure" optionTor Lillqvist1-1/+1
Lots of stuff still either ended up in the wrong place, or was looked up from the wrong place, or both. Fix most cases. Change-Id: I06ebbce207c219f3cd82b4387dd9b3fdb83420d4
2013-08-16fdo#68084: OOXML import: handle exceptions if stream is missingMichael Stahl1-1/+5
The bugdoc does not have a styles.xml but a stylesWithEffects.xml, whatever that may mean. (the app.xml contains "Microsoft Macintosh Word") Change-Id: If3d11c5d166dcaf3d94129339559787c20e6db46
2013-07-31fdo#62475 removed pointless commentsJelle van der Waa34-619/+7
Change-Id: Ic3743e48ef9055933ff040c180561ef41b3a2990 Reviewed-on: https://gerrit.libreoffice.org/5174 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-23fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFOJelle van der Waa1-9/+0
Change-Id: I595c10b9c3df8ea487d9fde0a7910ba0bca0ab43 Reviewed-on: https://gerrit.libreoffice.org/5059 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-05hair splitting on years in dates in ZIP structureLionel Elie Mamane1-2/+15
Change-Id: I9d7a6436e3df75eff592d19dcaca0f655ebf2160
2013-06-29remove OUString wrap for string literalsThomas Arnhold1-1/+1
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-26remove unused constAndras Timar1-1/+0
Change-Id: If7e998065390d89cc22556adcd727a63f6496aad
2013-06-12Fix exception specification for ZipFileAccess::createWithURLNoel Grandin1-1/+1
Broken during my conversion to new-style UNO in commit 28e3aff576f06b0b02c7232da5d723e865b3c7ed. Also revert mmeeks workaround in commit c0b78901dba033ed112a023a787575ae54ef877d. Change-Id: I1f711bbe19556f1bde7699295ca4f56cff54ddb9
2013-06-10fdo#63690 - replace RTL_CONTEXT_ macros with SAL_INFORadu Ioan2-134/+130
- 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-05remove unused componentcontext.hxx includesNoel Grandin2-2/+0
Change-Id: I598926b72c5540b472f9607e2f3df134a8c50048
2013-05-30Accept even more corrupted zip documents as long as we can read themFridrich Štrba1-1/+0
Change-Id: I8d039664d6c33d978b9addc3f35cbeae86d6c710
2013-05-30Revert "Accept even more corrupted zip documents as long as we can read them"Fridrich Štrba1-0/+1
This reverts commit ef2ad0063a530aee186568579378a368180547a4.
2013-05-30Accept even more corrupted zip documents as long as we can read themFridrich Štrba1-1/+0
Change-Id: I8d039664d6c33d978b9addc3f35cbeae86d6c710
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin1-2/+1
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-08zlib: remove ExternalPackage_zlibMichael Stahl2-8/+0
Change-Id: I5bce88b2044279a6563fd68c35f9c1ac824c8850
2013-05-08fdo#46808, Convert ZipFileAccess service to new styleNoel Grandin1-5/+4
Dropped XComponent from merged interface because noone is using it. Change-Id: Id22c49e63679f42d86f617a919fdfd7cea4d5381
2013-05-06fix typos (wich instead of which)Philipp Riemer2-2/+2
2013-05-04install package DTD using filelistDavid Tardon1-1/+3
Change-Id: I5c0ec48ecd8616358b728d426bc5ef91aa6b08e3
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks4-92/+16
2013-04-24gbuild: drop uses of removed packagesDavid Tardon1-2/+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-23execute move of global headersBjoern Michaelsen5-180/+0
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-17fdo#62096 - replace some O(U)String compareTo with ==Artur Dryomov2-2/+2
Change-Id: I98d04d7da4c2b7ea0b769df9c2bfa8c1ad86bf2d Reviewed-on: https://gerrit.libreoffice.org/3422 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-04-09Missing #includesStephan Bergmann1-0/+2
...once cppumaker would no longer needlessly emit #includes for optional interface bases to .hdl/.hpp files. Change-Id: Icbcfbf64c33be50652c5611a4962111fa8d13c05
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák35-465/+457
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-04Simplify a bitJulien Nabet1-7/+7
Change-Id: I77cb2b08b1d92f3c8ad406bb1ebd2d080cdbfa1a Reviewed-on: https://gerrit.libreoffice.org/3123 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-03-27-Wunused-macrosStephan Bergmann2-8/+4
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-23coverity#704243 Logically dead codeJulien Nabet1-2/+2
Change-Id: Ie1140a90a6c9723582fa5e18ca0cf1dc1f918742 Reviewed-on: https://gerrit.libreoffice.org/2942 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-03-15Improve debug messagesStephan Bergmann3-11/+22
Some of those SAL_WARNs might actually better be SAL_INFOs; please change if they hit too often. Change-Id: I2a3b9bd485586b7878194f84bc734b54ce69bc06
2013-03-15compareToAscii(RTL_CONSTASCII_STRINGPARAM(s)) != compareToAscii(s)Stephan Bergmann1-1/+1
...broken with 2cbdaf677c0a1e88aa582c6a17b496dff61a78b0 "package: no more RTL_CONSTASCII_USTRINGPARAM in zippackage" Change-Id: I867b9be723d1fde374ade68355e6b66df3c19332
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-2/+0
2013-03-11use startsWith() instead of compareToAscii()Thomas Arnhold1-1/+1
brain damage... Change-Id: I4dc63c7346f724eded9ac7b82cda25c2bb60beff
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold2-3/+3
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-20typo: allways -> alwaysAndras Timar2-3/+3
Change-Id: I48bd0161dd76c36eeaa39c45e9539584a4ef6841
2013-02-11fdo#46808, Convert package module to XComponentContextNoel Grandin20-187/+161
Change-Id: I1b322e57d27e16d177ffa87d3cd42a7d06f3dfab
2013-02-11fdo#46808, use service constructor for document::DocumentIOLogRingNoel Grandin2-12/+9
Change-Id: I39f6d9f671dcb03779d594df5af60c9a0e3ca451
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl2-0/+3
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-12-03WaE: BaseReference::_pInterface may be used uninitialized in this functionTor Lillqvist1-2/+6
Change-Id: Ia127816f994f7ce6fc7230a0a7dacaa7396ba825
2012-11-26API CHANGE: com.sun.star.lang.IllegalArgumentExceptionMichael Stahl1-7/+0
... derives from com.sun.star.uno.RuntimeException instead of com.sun.star.uno.Exception. Only test that breaks with this change is jurt_uno/AnyConverter_Test, which for mysterious reasons effectively tests that IllegalArgumentException is a subclass of Exception and not RuntimeException. Presumably this is just a generic exception test that happens to use IllegalArgumentException. Some further testing indicates there are no problems expected at runtime: Running "make subsequentcheck" with all Java test code compiled against a ridl.jar that does not contain the change, running against a soffice that uses ridl.jar and rdbs with the change + ridl.jar with the change on the test side yields exactly the same AnyConverter_Test failure, with no other failures. Change-Id: Iad183de76ec7e0d56648084e97cdcc160b5b033d
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin5-14/+10
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b