1. 23 Eyl, 2013 5 kayıt (commit)
  2. 22 Eyl, 2013 35 kayıt (commit)
    • Tor Lillqvist's avatar
      Try to fix cross-compilation · 4c63fd10
      Tor Lillqvist yazdı
      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
      4c63fd10
    • Michael Stahl's avatar
      fdo#69601: quick fix for wrong cli_cppuhelper.dll in instset · b5fa3764
      Michael Stahl yazdı
      This needs more investigation to find proper solution but the problem is
      probably that URE/bin/cli_cppuhelper.dll is not signed by "sn.exe".
      
      Change-Id: I318293603be838c41d09791136697de74091d37d
      b5fa3764
    • Caolán McNamara's avatar
      Related: fdo#38838 remove UniString::CompareIgnoreCaseToAscii · 81202ae7
      Caolán McNamara yazdı
      Change-Id: I4a9b34d63d2534a35aa9a878b8c2bec15262c2be
      81202ae7
    • Michael Stahl's avatar
      gbuild: fix gb_LinkTarget_set_precompiled_header · da2c3cf0
      Michael Stahl yazdı
      ... for --enable-selective-debuginfo, use the right argument for that.
      
      Change-Id: I34bc1f473e02d8f7038478afadc8de24780ae88a
      da2c3cf0
    • Caolán McNamara's avatar
      unused typedef · f5555904
      Caolán McNamara yazdı
      Change-Id: Ib07f06b1fa0402795fa4b5b33574f53e4d266ab2
      f5555904
    • Andrzej J.R. Hunt's avatar
      WaE: Unused return value of OUString. · 647fb29f
      Andrzej J.R. Hunt yazdı
      Seems to be a leftover of the String->OUString conversion?
      
      Change-Id: I5ecbdbc0131894f5240b472d3981e69178b503c5
      647fb29f
    • Andrzej J.R. Hunt's avatar
      WaE: unused variables. · 174caa87
      Andrzej J.R. Hunt yazdı
      Change-Id: I269c5fd4817059f33df111f12ffd16ef8241a2fc
      174caa87
    • Ivan Timofeev's avatar
      remove unused members from OutlinerView · 6536270e
      Ivan Timofeev yazdı
      Change-Id: Iac32c42afef80e01af70479e5b2f9de4e1dfab26
      6536270e
    • Tor Lillqvist's avatar
      Fix python3 build on a clean OS X with no /usr/include · 1727fc27
      Tor Lillqvist yazdı
      Change-Id: I5982c44d5995baeaffff4ff12316f1f8fa7d0ade
      1727fc27
    • Caolán McNamara's avatar
      ensure OUString::copy is within bounds · c86a23b9
      Caolán McNamara yazdı
      Change-Id: I7b8c2e764da01e38fb9f7048bcaeca93a72fafa3
      c86a23b9
    • Caolán McNamara's avatar
      Related: fdo#38838 remove UniString::InsertAscii · 28c9207d
      Caolán McNamara yazdı
      Change-Id: I949b62842d77fe83caed2cc79784fe1e3f3ae400
      28c9207d
    • Caolán McNamara's avatar
      add mode lines to new files (and idls) since last run · 3656a57e
      Caolán McNamara yazdı
      Change-Id: Id1e74f18c90e69d1a781c8f02e30dc3c005ed4fd
      3656a57e
    • Caolán McNamara's avatar
      drop remaining easy UniString::InsertAscii cases · bcc8e86a
      Caolán McNamara yazdı
      Change-Id: Ie7f33d0debfdb91db842608d5b14d0671b44c76d
      bcc8e86a
    • Michael Stahl's avatar
      configure: oops, there were 2 harfbuzz lines to fix · 95fd5562
      Michael Stahl yazdı
      Change-Id: Ib1869134b971c04a9cbd5d15b206898e943aaa5e
      95fd5562
    • Michael Stahl's avatar
      make the PythonTest run on WNT · 2c092f35
      Michael Stahl yazdı
      - fix the PATH
      - file url needs to start with file:///X:/ (three slashes, literal :)
      
      Change-Id: I0d16d1e946fd06ba5523961c23c3b46872c0c050
      2c092f35
    • Michael Stahl's avatar
      gbuild: drop mkdir -p calls from gb_LinkTarget__command · a3699e6a
      Michael Stahl yazdı
      ... should be obsoleted by previous commit.
      
      Change-Id: I378de1465d293a60dc20c545770f029c8f71bd50
      a3699e6a
    • Michael Stahl's avatar
      gbuild: add consistent directory dependencies for LinkTargets · dab82360
      Michael Stahl yazdı
      - StaticLibrary and CppunitTest have all files in one directory
      - Executable may have the executable itself in a different one
      - Library may have files in up to 3 directories
      
      ... so create 2 directories (which may be the same) in
      gb_LinkTarget_LinkTarget and a 3rd one in gb_Library__Library_impl.
      
      This allows to get rid of the "mkdir LinkTarget/pdb/..." thing in
      the header target rule, which was always ugly since it did not
      get rebuilt when deleting it (or whole LinkTarget dir) from workdir.
      
      Oh and the pattern dependency causes trouble:
      
      $(WORKDIR)/LinkTarget/% : $(call gb_LinkTarget_get_headers_target,%)
      
      ... for files in ExtensionLibrary; it would be possible to put
      ExtensionLibrary somewhere else of course but actually this pattern
      dependency is unnecessary since we get the same thing whenever any
      object is added to a link target and there shouldn't be link targets
      without objects anyway.
      
      Furthermore directory dependencies must be on the headers_target because
      MSVC will write a PDB file when compiling objects.
      
      Change-Id: Icd92e8768d6aafb094a4144f90165aa5ff233647
      dab82360
    • Michael Stahl's avatar
      gbuild: clean up naming of PDB files for MSVC · 3f0ee22e
      Michael Stahl yazdı
      There are 2 of these, one is written to by cl.exe and read by link.exe
      and the second one written by link.exe.  Name the second one as the
      linktargetname with .pdb appended, no need to substitue 5 different
      crazy suffixes.
      
      Change-Id: I2decad898ed1292b069bdda3124ce6f6c3667108
      3f0ee22e
    • Michael Stahl's avatar
      gbuild: MSVC: ignore LIBS for static libraries · 2cfef67c
      Michael Stahl yazdı
      Not sure if it causes actual problems but all other platforms ignore
      LIBS on static libraries already when linking.
      
      Change-Id: I8a5ff4b2243b625827f82b0f64f007cea7c9d7c5
      2cfef67c
    • Michael Stahl's avatar
      gbuild: remove static libraries from OUTDIR · 520c7dc9
      Michael Stahl yazdı
      Refactor to find and link static libraries directly in WORKDIR.
      
      - gb_StaticLibrary_get_target is now same as the gb_LinkTarget_get_target
      - fix the StaticLibrary clean target
      
      Change-Id: Icf29d32d6487747a2e39d4599ceebccfead04667
      520c7dc9
    • Michael Stahl's avatar
      stop delivering lots of external static libraries · f33c8644
      Michael Stahl yazdı
      Change-Id: Id0c5908adbdec40346c1b62304d1f72ed077ca54
      f33c8644
    • Michael Stahl's avatar
      find lots of external static libraries in UnpackedTarball dir · 2f6261fa
      Michael Stahl yazdı
      Note: do NOT put file paths to static libraries into FOO_LIBS variables
      that are passed to bundled externals that are built with --enable-static:
      on Mac OS X this will result in .a archives that contain other .a
      archives as entries, and trying to link those results in errors like:
      
      ld: warning: ignoring file .../libodfgen-0.0.a, file was built for
      archive which is not the architecture being linked (i386)
      
      Change-Id: If2c5a458058e4da76f80b3643e55b489d1edee24
      2f6261fa
    • Michael Stahl's avatar
      gbuild: rename LinkTarget variable LIBS · 8b4deabe
      Michael Stahl yazdı
      LIBS is apparently used by autotools build system and passed to
      configure at least in mythes and hunspell, where the LinkTarget variable
      could cause problems by inheritance.
      
      Change-Id: Ia267dd0a24c96914208869d7b47552b44a701735
      8b4deabe
    • Michael Stahl's avatar
      gbuild: change linking order on ELF platforms · f861ae6a
      Michael Stahl yazdı
      If there are static libraries in $(LIBS) then things get really annoying
      if they depend on other static libs that are StaticLibraries, e.g. orcus
      and boost_system.  So reorder this to include $(LIBS) in the --start-group
      --end-group and hope that doesn't break anything.
      
      Hopefully $(LIBS) does not need -Wl$(COMMA)--no-as-needed, that should
      only be required for $(LINKEDLIBS).
      
      Change-Id: Ie15239a0fb7b5295f85941150e2c60912be73bfb
      f861ae6a
    • Michael Stahl's avatar
      gbuild: remove executables from OUTDIR and WORKDIR · f2899508
      Michael Stahl yazdı
      Call and link executables directly in INSTDIR.
      
      - gb_Library_get_target is now same as the gb_LinkTarget_get_target
      - disable gb_Library_add_auxtarget, no auxtargets need to be copied
      - adjust paths of all external executables to OUTDIR_FOR_BUILD for now
      - use lazy assignment instead of := in AllLangResTarget because it's
        read before Executable
      - link.exe generates an import library for lots of executables
        because they export symbols, especially since commit
        0ffab936
        "force 'main' to always be DLLPUBLIC."
      
      Change-Id: I3e1ee7425dd430bb83c7cd59e265869a0541b38d
      f2899508
    • Michael Stahl's avatar
      add some dependencies on ure/services.rdb · 4c51feb0
      Michael Stahl yazdı
      ... so that custom targets in i18npool run.  Can't remember if that is a
      pre-existing problem or caused by one of my changes.
      
      Change-Id: Ic0aa1f2b8600f4951d30a5ac6f3ade1a4fb2d313
      4c51feb0
    • Michael Stahl's avatar
      desktop: soffice.bin and unopkg.bin cleanup · 764e688f
      Michael Stahl yazdı
      Clean up the horrible mess around unopkg.bin unopkg.com unopkg.exe and
      soffice.bin soffice.exe and crashrep.com executables and associated
      renaming via Packages in the desktop makefiles by simply using
      RepositoryFixes to correct the names.
      
      Change-Id: I4d3a549462cfa90a63d62b35db1b0407b25239f7
      764e688f
    • Michael Stahl's avatar
      cli_ure: copy cli_basetypes to INSTDIR/sdk/bin · 814ec764
      Michael Stahl yazdı
      The library is already in the URE/bin directory, but that is not
      sufficient to be able to run sdk/bin/climaker.exe.
      
      There are apparently 4 ways for a .net/CLR executable to locate
      shared libraries:
      1) in the same directory as the executable
      2) in some mysterious "GAC" thing in C:/Windows
         (which is presumably how it works if you actually install LO)
      3) via an application configuration file entry "probing",
         which only works when it's in a sub-directory of the
         one the executable is in
      4) via a DEVPATH variable, but that only works with a
         special configuration entry in a system "machine config" file
         of the .net framework
      
      Specifically PATH is apparently ignored.  Since building on Windows is
      enough of a PITA already and we don't want developers to have to edit
      another config file, put another copy of the library into sdk/bin.
      
      http://tutorials.csharp-online.net/.NET_CLR_Components%E2%80%94Resolving_Names_to_Locations
      http://tutorials.csharp-online.net/.NET_CLR_Components%E2%80%94CLR_Loader
      
      Change-Id: I511957ad9a9a918ed0c316126304a1980fb2d289
      814ec764
    • Michael Stahl's avatar
      cli_ure: cleanup in Library_cli_cppuhelper_native · 4ac93494
      Michael Stahl yazdı
      Change-Id: I76b4815208354e78eb3575982235b6f26f1e02fd
      4ac93494
    • Michael Stahl's avatar
      pyuno: rename the python wrapper executable · a546bf8d
      Michael Stahl yazdı
      Putting it in a subdirectory on solver is no longer necessary since
      python3 started delivering to INSTDIR, so lose the crazy naming.
      
      Change-Id: I17e924e5d872768a64f6a3112f1294f3def7120e
      a546bf8d
    • Michael Stahl's avatar
      sal: rename "cppunit/cppunittester" executable · 70f83482
      Michael Stahl yazdı
      ... and put it in OOO layer since it's used by the smoketest instset.
      
      It was in subdirectory for hysteric reasons, to pick up libraries from
      module local output directories in the dmake build system.
      
      Change-Id: I73b66672b17ede52c03071eb2ddee1a23c059ea9
      70f83482
    • Michael Stahl's avatar
      odk: remove Package_bin, instead auto-install executables · 5e300e90
      Michael Stahl yazdı
      This is somewhat annoying since it requires re-introducing stupid
      directories in scp2, but if the executables should be put in INSTDIR
      directly then the Package_bin needs to go.
      
      Change-Id: I893694c7f9d4cb5b9ef8ec4a3d30e08536223740
      5e300e90
    • Michael Stahl's avatar
      gbuild: add a SHLXTHDL layer for libraries · def1a59d
      Michael Stahl yazdı
      ... because this is the time of day when one thinks, wouldn't life
      simply be more awesome if there were a SHLXTHDL layer?
      
      Change-Id: I02df8a8bf9d7d641ea060e2cfef6643fe2202353
      def1a59d
    • Michael Stahl's avatar
      gbuild: remove libraries from OUTDIR and WORKDIR · 70c35265
      Michael Stahl yazdı
      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
      70c35265
    • Michael Stahl's avatar
      odk: remove cli_cppuhelper from Package_cli · c0c7df91
      Michael Stahl yazdı
      It is actually installed by scp2/source/ooo/ure.scp already.
      
      Change-Id: I0ca538e3d6c52b1e228f1b1191778d8fb5d84954
      c0c7df91