summaryrefslogtreecommitdiff
path: root/extensions
AgeCommit message (Collapse)Author
2013-09-26typo fixes in commentsAndras Timar
Change-Id: Iaadec33715f8e0e0c6595c5e684606905274fdab
2013-09-25Related: fdo#38838 remove UniString::EqualsIgnoreCaseAsciiCaolán McNamara
Change-Id: Ib5c3a2daa4a48bc286b14fa2cebb3306ea0012bc
2013-09-23Try to fix cross-compilationTor Lillqvist
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-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-09-19WaE: cast to 'void *' from smaller integer typeTor Lillqvist
Change-Id: I85d4a4c3c7bf708daa85dbe7f3af54311c4d7e2e
2013-09-17drop unused hidsCaolán McNamara
Change-Id: I504e2abd967476f2346095fea23c8cd8fbf9ebfc
2013-09-17move uiconfig stuff into the same toplevel source dirCaolán McNamara
Change-Id: I5cbb4d2cd367cb62af3d6ddde24e7e2d3598b75b
2013-09-17Convert tab order dialog to widget UIManal Alhassoun
Change-Id: I2aebcf6486b80af31f1a06e9ae38e5610bee0cb4 Reviewed-on: https://gerrit.libreoffice.org/5970 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-11Towards a working instdir for Mac OS XStephan Bergmann
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-09-04WaE: use number() instead of valueOf()Tor Lillqvist
Change-Id: I7a57a8c60c07909018280e52d2da70fbf22857a7
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
Change-Id: I7409f7a58796c9bf7542b6a7904ad40581637eeb
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-30ENABLE_NPAPI_* Harmonize ENABLE_* variable to TRUE/<nothing>Norbert Thiebaud
Change-Id: Ia7575f0f51bc3ba355ec01d937bd155adb287572 Reviewed-on: https://gerrit.libreoffice.org/5684 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-24build on higher debug levelsCaolán McNamara
Change-Id: I7f4d85f3e26ab8b19dae05c6907840b97a8af1d6
2013-08-21valueOf() -> number()Luboš Luňák
Change-Id: I2832229b01de0cc5a725fd5fe1574a775d0bf12a
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-21osl_getThreadIdentifier(0) -> osl::Thread::getCurrentIdentifier()Stephan Bergmann
Change-Id: Ida9785c4b9fda0459769957734952e69d7a9de44
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-19fdo#67109: Order of XConstantsTypeDescription.getConstants is unspecifiedStephan Bergmann
...it looks like it used to be the order the constants appeared in the .idl file, while now it happens to be the lexicographical order of the constant's names. For all the constant groups in com.sun.star.report the order expected by the code appears to be the order of the constant's numeric values (which happens to coincide with the order of appearance in the .idl files), so explicitly sort them that way. Change-Id: I550401b2742fffb7c96a7787498967a7cd78fff8
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
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-08-15i121946 - Use enums to identify WebDAV/HTTP methodsAriel Constenla-Haile
(cherry picked from commit 122e10cfd23b379b97e2d8ec002e7f0562ebd6f7) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/com/sun/star/ucb/makefile.mk offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb ucb/source/ucp/webdav/DAVResourceAccess.cxx ucb/source/ucp/webdav/DAVResourceAccess.hxx plus headerize.pl (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: I153e394a194d0fcad29d3e3b27d5b24f7c259fc4
2013-08-15i121945 - WebDAV ucp: return StringPair instead of NamedValueAriel Constenla-Haile
Make css::ucb::XWebDAVCommandEnvironment::getUserRequestHeaders() return a sequence of css::beans::StringPair; this avoids all the any overhead, and is much more simple and intuitive. (cherry picked from commit 80199136d0d84b51b3d0529fb313b8f20f5cf851) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb ucb/source/ucp/webdav/DAVResourceAccess.cxx (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: I1c5d0a0b225fe86aca6ba6d6c8903985005387c2
2013-08-15i121944 - Implement inheritance in css::ucb::XWebDAVCommandEnvironmentAriel Constenla-Haile
It should be derived from css::ucb::XCommandEnvironment (cherry picked from commit 817e11dccbfe3431f9cc0466051f4d154ce33e5e) Conflicts: extensions/source/update/feed/updatefeed.cxx offapi/com/sun/star/ucb/XWebDAVCommandEnvironment.idl offapi/type_reference/typelibrary_history.txt offapi/type_reference/types.rdb (Would be an incompatible API CHANGE if we had not unpublished XWebDAVCommandEnvironment with 78cca63070ae6cf82b45ec3bc75fafa2db31a7f2 "Revert publishing of lots of UNO types.") Change-Id: Ie44bed44cce09c2423adab33c3790bdcb9be452d
2013-08-15convert include/svtools/roadmapwizard.hxx from String to OUStringNoel Grandin
Change-Id: I1b5a0c3f5946aac9d353550091616cf5a31e6f82
2013-08-14make extensions XubString freeCaolán McNamara
Change-Id: I0216d11ade872af889fc805e4c2a9241f7f230c5
2013-08-04fdo#67235 adapt form control code to time nanosecond API change, step 3Lionel Elie Mamane
Change-Id: I4899c89ee5b2a54c9c05b531ab284365f1558e3d Reviewed-on: https://gerrit.libreoffice.org/5270 Tested-by: Lionel Elie Mamane <lionel@mamane.lu> Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
2013-08-04Mark as const/staticTakeshi Abe
Change-Id: I54a7daee7345e7c0c5c3f866d5c365722b567eff
2013-07-31fdo#67430 Keep original order of entry positions, not alphabetically sortedStephan Bergmann
...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. Change-Id: If9c5f4130fe6523eebd3a13e5a685fc9c0f53fc0
2013-07-29Remove effectively unused INetURLObject OString overloadsStephan Bergmann
Change-Id: Icbbe27b229d5454d27be646e00e8b362a77359b3
2013-07-28reduce use of UniString from ResID ctorCaolán McNamara
Change-Id: I8d7619e7807ff2d400ec5c7fd181375130245728
2013-07-28More details in debug outputLionel Elie Mamane
In particular, give type and message of exception when unexpectedly caught. Also miscellaneous other details. Change-Id: I87d71028dbc902e1770fee4c3643c85e75b7646d
2013-07-27Mark as const/staticTakeshi Abe
Change-Id: I9000ea607e1df140ac18d59f7c4d4abd999c71d1
2013-07-26convert GetSelectEntry family to OUStringCaolán McNamara
Change-Id: Id3282e2efd6573bed7fd172021dae9aee9342fae
2013-07-15i#108348 API CHANGE: add IsUTC to css.util.DateTime etc.Michael Stahl
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 McNamara
Change-Id: I5091835c9f71c712f15996e5c6263fc5f21f6f96
2013-07-05cleanup src filesThomas Arnhold
Those items are unused. Change-Id: If4fce0f91309d2ca09cbb636d4a5d9f86f38eb9a
2013-07-03restore title on Format Number single tab dialogsCaolán McNamara
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 McNamara
Change-Id: I7c88f3acd9a6c5faa40a8fedc7c9f6e7817cefb7
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-29Search for char instead of 1 char long string, when possible.Thomas Arnhold
follow-up of a7674482254ee996b1c4fee60f3064778be369aa Change-Id: I25f40c601454c092078307d931333af1bc1447ac
2013-06-28remove toolkit/unohlp.hxx hackThomas Arnhold
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 Mamane
Change-Id: I9a89374fd1cc56c8185753f5959275a0a2d841ff
2013-06-23ListBox: when LISTSOURCETYPE changes, need to (un)lock BOUNDCOLUMNLionel Elie Mamane
Change-Id: If83073ec19c1389bf87fc154fa0ae83fd5bd1f3a
2013-06-23fdo#66002 correct error introduced by "AppendAscii cleanup"Lionel Elie Mamane
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 Ostrovsky
This partially reverts this commit: b7df3446c373a93dc5b77b495a54d873d83a91a7 Change-Id: Id05939da35541f9620d03d9d3998e618d0bb9092
2013-06-20remove last uses of config 'GUI' variableMatúš Kukan
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 Waa
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 Bergmann
Change-Id: Ie2af2b013f95e8cdf7aab82498ce686dfa965cc8
2013-06-15loplugin:unusedvariablecheckStephan Bergmann
Change-Id: I2202b5fcca4bf4c0a552d25c5c363209fcb6bd84