summaryrefslogtreecommitdiff
path: root/solenv
AgeCommit message (Collapse)Author
2016-01-15vcl: allow doxygen to see boost::intrusive_ptrChris Sherlock
We are using boost::intrusive_ptr for a number of classes, unfortunately by default we cannot see this in the Doxygen collaboration diagrams. However, we can work around this problem by making a dummy namespace which we include in a header that is scanned by Doxygen, but never included in LibreOffice. To be sure of this, however, I have put #ifdef DOXYGEN_ONLY guards around the file and defined this in the Doxygen config file. Change-Id: I18d6956518a49e6006b64e2147023ec8266c8f5c
2016-01-13gbuild: let's hope this MSVC2012 specific hack is unnecessary nowMichael Stahl
... at least for dbulo.dll there are no such warnings. Change-Id: Ib0c77e71ba5737ecd3e2f6812c3cf03010b7eff9
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-08solenv: if module is vcl, then include filter directories in doxygen includeChris Sherlock
Change-Id: I79610ab5c9eb3812035d9d2c5f8ce1508451cd60 Reviewed-on: https://gerrit.libreoffice.org/21251 Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com> Tested-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-01-08vcl: exclude precompiled headers from doxygenChris Sherlock
Change-Id: I97e931ae654b3c61de92866bf6c4a3d22e3f96c9
2016-01-08vcl: configure some predefines in Doxygen for several of the vcl filtersChris Sherlock
Change-Id: I1e2c72b67ad1d26f6d3ec8a1944e417a86f57942
2016-01-08solenv: allow mkdocs.sh to index selected modules onlyChris Sherlock
I've added a test of the environment variable $INPUT_PROJECTS, if this exists then use the list of modules specified. If it doesn't exist then the script runs as normal and processes all modules. Change-Id: Ibafb826fa20a56d921e5ffacb0f5101ed936ae55
2016-01-08Upgrade doxygen config file via doxygen -u solenv/inc/doxygen.cfgChris Sherlock
Change-Id: Id6e1ac65840e1fa1b572f7548aca8e79845799ba
2016-01-07configure: hard-code /usr/bin/{sort,find} for CygwinMichael Stahl
... to avoid calling C:/Windows/system32/{sort,find}.exe, if those happen to be first in PATH. On a Windows 7 system, the other conflicts appear to be harmless, we don't use "more", "expand", "timeout", "whoami". Change-Id: Iceefeb7ee6725291b04c0eba465991bb1df96b57 Reviewed-on: https://gerrit.libreoffice.org/21175 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Tor Lillqvist <tml@collabora.com>
2016-01-05sot_component_getFactory is goneMatúš Kukan
Change-Id: I4c0360b088f7de8bbcd598fcf3f35c6de13b6c66
2016-01-02GDB: pretty-print more sw::mark::MarkBase classesJan-Marek Glogowski
Generalize the UnoMark pretty printer to actually print many objects inheriting from sw::mark::MarkBase. Also adds the mark name to the output. Change-Id: Idaec06ba448702ee3a47b474736df954646c0300
2015-12-20solenv: clarify maven/buck/jar upload howtoThorsten Behrens
Change-Id: Ia8897583ad88f30dfcfbbb36c8d37632bc2877ce
2015-12-14Fix build on BSDsBaptiste Daroussin
Change-Id: I88fbad89a78262f4c3275aa3a01fbebaacece245 Reviewed-on: https://gerrit.libreoffice.org/20660 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-12Typo: strucure->structureJulien Nabet
Change-Id: I41e0731ddafc39ebcff1c3d8984f4f4f69d35aaf
2015-12-11Get rid of StaticLibrary_pdfimport_sStephan Bergmann
...which contained the bulk of .cxx files that should logically go into Library_pdfimport. It was likely (only) used so that check_targets CppunitTest_sdext_pdfimport, Executable_pdf2xml, and Executable_pdfunip could access the library's internals without exporting them. For the CppunitTest, use the standard gb_CppunitTest_use_library_objects hack instead. For the two Executables, make that _use_library_objects hack available for Executables, too. (It is a bit unclear whether those two Executables are really needed, they are only referenced from the dead dmake-based sdext/source/pdfimport/test/testdocs/makefile.mk and from vcl/README, respectively; but just keep them alive for now.) Change-Id: Ia2478508de216678be7a2302aba0c48f80de9d91 Reviewed-on: https://gerrit.libreoffice.org/20645 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-12-07loplugin:mergeclasses OOXMLPropertyImpl into OOXMLPropertyNoel Grandin
Change-Id: I1447cfc76c529332450c90a21b6525d3103fe852
2015-12-07loplugin:mergeclasses, merge OOXMLPropertyImpl into OOXMLPropertyNoel Grandin
Change-Id: I73eb7e664c0a53f135c06c3d8ea450bd9493c780
2015-12-03Add build toolchain to upload LibreOffice API to Maven CentralDavid Ostrovsky
Set up the toolchain to create sources and javadocs artifacts in addition to JARs created during the build. Use Buck build tool for that: [1]. This is a fork of Google's build tool Blaze, created by Xooglers at Facebook. This build tool (like Blaze itself) uses Python to write build files. Add needed tools and build files to install LibreOffice API artifacts to local Maven repository or deploy them to Maven Central. To build all needed artifacts LibreOffice must be built regularly with GNU make first. To build the rest of the API (sources and javadocs): $> buck build api To replace version number with upcoming release version: $> solenv/bin/version.py 5.1.0 To install the API to local Maven repository: $> buck build api_install To deploy the API to Maven Central: $> buck build api_deploy Detailed documentation is added to document the prerequisites and the workflow to upload LibreOffice API to Maven Central. * [1] https://buckbuild.com Change-Id: Ibdd552a01110836703bc069abe829b9921491cac Reviewed-on: https://gerrit.libreoffice.org/20343 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-03gbuild: expanded "make help" with missing targets.jan iversen
Change-Id: I10d30097a7e7099d43a6760489dcbbf405828960 Reviewed-on: https://gerrit.libreoffice.org/20267 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-12-02For some odd reason, clang-cl.exe doesn't like being called by CreateProcessStephan Bergmann
...with the executable specified in the first arg, instead of as part of the second arg (i.e., the command line) Change-Id: Ie6e232f6880b5bfbb91a52ee5398b91a0ccddc4d
2015-12-02Filter out -fPIC tooStephan Bergmann
...which happens to be passed in when building external/poppler with clang-cl Change-Id: I2c17bec316081a0cdc789a84bb1447acf5e893c0
2015-12-02clang-cl needs -Wno-missing-bracesStephan Bergmann
...as in com_GCC_defs.mk Change-Id: Ic086a6f08945698cd35a312f98491cba403b9582
2015-12-02Be explicit about missing env varsStephan Bergmann
Change-Id: I1023779749c3ce114d637a39a72bc9038324f01d
2015-11-30move disabling of LNK4217Noel Grandin
since it's Visual Studio specific, not Windows-specific Change-Id: I740b392f1aa9ff9c534b0e2fe021de7f93495e4c
2015-11-30gbuild: fix typo in helpMichael Stahl
Change-Id: I6e65f70848eb466c7c08fcffb478a2963b91cdb6
2015-11-30remove LNK4217 warning spam from Windows buildNoel Grandin
it just makes the build error logs harder to read. it's not like we are ever going to fix it. Change-Id: I26be4deb7b72d142fcee62ea3eee2dd0bd607716 Reviewed-on: https://gerrit.libreoffice.org/20284 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-30gbuild: remove gb_Gallery__UNO_COMPONENTS and gb_Gallery__make_env_argsMichael Stahl
These are presumably a relic from pre-INSTDIR days: gengal should find all this stuff via redirect.rc, fundamental.rc and services.rdb. The UNO services should be found via services.rdb too after the dependency was added in the previous commit. Change-Id: I3d452acc7c4b05f254bef936c4f18a2ea8615cf8
2015-11-28Add i18nlangtag and ucbhelper to libmergedMatúš Kukan
Change-Id: I717d3289d63787cd8148d480783092868a60873b
2015-11-28Add comphelper to libmergedMatúš Kukan
Change-Id: I59af9f5a9d0d3e189280f98bb18e522dc9ebf2fb
2015-11-27macosx: typo: it is unittest-failed-MACOSX.sh not .mkNorbert Thiebaud
Change-Id: Ic1e25f3f945e32f2b99c2cfedc4b8d695635bd8b
2015-11-27gbuild: document BUILDTOOLTRACE variableMichael Stahl
Change-Id: I17ebccb268e317346ca05d6a112ec33357684876
2015-11-27try to fix gengal dependenciesMichael Stahl
The component files are not necessary as gb_Executable__register_gengal already adds the service.rdb; the gengal.rc is insufficient as that file references fundamental.rc which is missing, so depend on the Package instead. Also, INSTDIR is wrong for cross-compile. Change-Id: I30711a51e04539832657a242d2573c626b1cf8ec
2015-11-27Mend gallery build dependencies for OS/X and add services/services.rdb dep.Michael Meeks
Change-Id: I628b7986253108a6f9ea8eed28ae3b3f0f8b91b1
2015-11-26Attempt to improve gallery generation dependencies.Michael Meeks
Change-Id: Iab196e87e0eb4b063d77fe4af10c58b8355665c4 Reviewed-on: https://gerrit.libreoffice.org/20210 Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Tested-by: Michael Meeks <michael.meeks@collabora.com>
2015-11-20wrap to allow for tests with longer names without inconvenient linebreaksBjoern Michaelsen
Change-Id: I9d1ae01d29ff08ce9de34d86088c1bbbe53bd159
2015-11-20Revert "Fix dependency for Mac"Bjoern Michaelsen
This reverts commit de37e7ae4808dc9cdd84a8c21411958ed51db56. This should now be properly fixed with a2185987. nitpick: That commit was refering to a wrong commit anyway, it should have refered to a2185987d instead. Change-Id: Ic46db94568ac4074f471f42678cdf8d9fb32ef67
2015-11-20set gb_PythonTest_DEPS in .../platform/macosx.mk for realBjoern Michaelsen
Change-Id: Icc7f6f063e6a31d3d84e9757dc45859f6fe1703c
2015-11-20Fix dependency for MacStephan Bergmann
...broken with 4f76e46290b26deeb4f9660c580a5ffef58a557e "make CPPUNITTRACE=TRUE a shortcut for debuging on WNT" Change-Id: Ie6a601da3d4310ea4d43410f8a8e2ddaa16e287d
2015-11-17make CPPUNITTRACE=TRUE a shortcut for debuging on WNTBjoern Michaelsen
Change-Id: Ie834e1e1592163977435f0af6dde04c4fe86c1bf Reviewed-on: https://gerrit.libreoffice.org/19977 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-17refactor unittest help messageBjoern Michaelsen
- get platform switch logic out of shell script - platform specific stuff should be in $(GBUILDDIR)/platform, if possible - do not suggest shell-polluting exports, which might lead to confusion later, suggest setting the var as a one-off addition to the make command - move exception caching down, as it is assumed to be used rather rarely Change-Id: I01db3ca07582a6c6213ebac86fddabb28c925d50 Reviewed-on: https://gerrit.libreoffice.org/19976 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-11-12Make "make debugrun" use lldb on MacStephan Bergmann
...the way command line arguments for the debugee need to be passed to lldb with some JSON quoting looks really odd Change-Id: I11a74ee6f8969664e9ba1cd72d2e3723848ceea1
2015-11-12tdf#76239 extract real file version from ttf filesAndras Timar
Change-Id: I9f611a272e6694fe1f9bd5f75358e865eaf3fe5f Reviewed-on: https://gerrit.libreoffice.org/19941 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-12Generalize COM_GCC_IS_CLANG -> COM_IS_CLANGStephan Bergmann
...in anticipation of building with clang-cl.exe on Windows Change-Id: I1d723c9d3b5ca8a2bc6b27ef0189a7b053581398 Reviewed-on: https://gerrit.libreoffice.org/19928 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2015-11-10tdf#76239 fake file version for font filesAndras Timar
Change-Id: I59a9401c0bdc2d641ea54498af0eb1e589ab12f3
2015-11-10Avoid -Werror=pedantic when building CppunitTest_libreofficekit_checkapiStephan Bergmann
...at least the Linux-deb-x86_64@56-lhm-ubuntu-trusty tinderbox complains that > include/LibreOfficeKit/LibreOfficeKitInit.h:223:77: error: ISO C++ forbids casting between pointer-to-function and pointer-to-object [-Werror=pedantic] > pSym2 = (LokHookFunction2 *) lok_dlsym(dlhandle, "libreofficekit_hook_2"); Change-Id: Ibd75a44fcc7da35ea32bde3fd2a300a16493789f
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I5dfb8238b1365502544f6a383313311a9afd0e80
2015-11-09Remove misleading 'make build' line from gbuild helpThorsten Behrens
Change-Id: If389e2dc6f5af07662e6ab8aa94e0e9ce8e30f5b Reviewed-on: https://gerrit.libreoffice.org/19865 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-11-03Support of popupmenu resource typeMaxim Monastirsky
Reusing the same xml format as the menubar, except that a popup menu use menu:menupopup as the root element. Change-Id: I2987af0dc698b09aeeb757cff828617515bc3009
2015-11-02Let --enable-symbols only control emitting debuginfo, not optimization on MacStephan Bergmann
...as on all the other platforms Change-Id: I12def7c50b5aabf29e156e87321cd76d216191ad
2015-11-02Pass emit-debuginfo flags into special bridge compilations, if applicableStephan Bergmann
(i.e., if any of --enable-dbgutil, --enable-debug, or --enable-symbols); introduce gb_DEBUGINFO_FLAGS for the platform-specific flags Change-Id: I4306fa30ced57d40d5b1206a0b26a886411118ef