1. 09 May, 2018 1 kayıt (commit)
  2. 05 May, 2018 1 kayıt (commit)
  3. 04 May, 2018 1 kayıt (commit)
  4. 02 May, 2018 1 kayıt (commit)
    • Stephan Bergmann's avatar
      tdf#116240: Include --with-help=html in installation sets · e606179d
      Stephan Bergmann yazdı
      ...by extending the hackery in helpcontent2/CustomTarget_html.mk (see comment
      there).  (Ultimately, the gbuild HelpTarget machinery should probably be adapted
      to the needs of this new help format, once the old help format is no longer
      supported?)
      
      The Perl packaging code finds source files through the "include" paths specified
      in instsetoo_native/util/openoffice.lst.in.  To avoid potential name clashes,
      put the new .filelist files into
      workdir/CustomTarget/helpcontent2/help3xsl/filelists/html-help/ sub-directories.
      
      read_filelist in solenv/bin/modules/installer/filelists.pm does not strip white
      space following the last item in a file list, but (with HAVE_GNUMAKE_FILE_FUNC)
      the gb_HelpTarget_get_translation_target .filelist files (which are then
      transformed with sed into the .html .filelist files read by the Perl packaging
      code) may contain such trailing white space.  So $(strip ...) their content in
      solenv/gbuild/HelpTarget.mk.
      
      This is the core part of a change spanning core and helpcontent2.
      
      Change-Id: I82e0093ea2064725327330c5485f8e581573e1f2
      e606179d
  5. 25 Nis, 2018 1 kayıt (commit)
    • Mike Kaganski's avatar
      Install UCRT from MSUs, not using nested VC Redist install · b8424437
      Mike Kaganski yazdı
      Using nested install is bad because (1) MS advises against it (though it
      most possibly doesn't relate to our specific case, when we install the
      vc redist exe package in UI part, so actually only a single MSI session
      is active at any time); (2) because it adds some extra interactions
      (user sees something "unrelated" being installed, which raises concerns;
      additional admin authentication required); and (3) because it runs in
      InstallUISequence, thus only installing the UCRT when doing interactive
      installation (unattended installs, including GPO, need to install UCRT
      separately).
      
      This patch aims to incorporate the original UCRT MSU (Windows Update)
      packages (https://support.microsoft.com/en-us/help/2999226) available as
      a zip archive from
      https://www.microsoft.com/en-us/download/details.aspx?id=48234
      - the same as used in VC redists for VS 2015 and 2017. This obsoletes
      the separate installation of the redist; since we also have the redist
      as merge module in our MSI, that is enough (and removes redundancy).
      The MSUs are installed using wusa.exe in a custom action (deferred,
      non-impersonating).
      
      As a small bonus, embedding MSUs instead of redist EXE allows us to
      shrink the size of installer a little (~10 MB).
      
      As deferred custom actions cannot access current installer database,
      we workaround this by using initial immediate impersonating action to
      extract the binaries into a temporary location. To ensure that the file
      gets removed upon completion (both successful and failed), we use an
      additional cleanup action.
      
      Commit 61b1d631 is effectively reverted.
      
      Change-Id: I1529356fdcc67ff24b232c01ddf8bb3a31bb00bd
      Reviewed-on: https://gerrit.libreoffice.org/52923Tested-by: 's avatarJenkins <ci@libreoffice.org>
      Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
      b8424437
  6. 18 Nis, 2018 1 kayıt (commit)
  7. 17 Nis, 2018 1 kayıt (commit)
  8. 16 Nis, 2018 1 kayıt (commit)
  9. 15 Nis, 2018 1 kayıt (commit)
  10. 13 Nis, 2018 1 kayıt (commit)
  11. 12 Nis, 2018 2 kayıt (commit)
  12. 09 Nis, 2018 1 kayıt (commit)
  13. 23 Ock, 2018 1 kayıt (commit)
  14. 22 Ock, 2018 1 kayıt (commit)
  15. 18 Ara, 2017 1 kayıt (commit)
    • Mike Kaganski's avatar
      tdf#108580: integrate vc_redist.exe into MSI · 61b1d631
      Mike Kaganski yazdı
      ... in InstallUISequense.
      
      Use --with-vcredist-dir to point to a directory with vc_redist.x64.exe
      and/or vc_redist.x86.exe. Use --without-vcredist-dir (or
      --with-vcredist-dir=no) if you don't want to ship it as part of
      installer and want to silence the configure warning.
      
      VCRedist 2015 version 14.0.24215.1 is available at
      https://www.microsoft.com/en-us/download/details.aspx?id=53840
      
      Since VisualStudio 2015, VC redist merge module that we used before
      started to work differently: it installs the UCRT only on WinXP,
      but not on later OSes (Vista to 8.1) which may lack the UCRT (Win10
      has it out of the box). The merge module only installs VCRuntime on
      those systems, which still leaves us with "api-ms-*.dll is missing"
      problem.
      
      (https://blogs.msdn.microsoft.com/vcblog/2015/03/03/introducing-the-universal-crt/
      gives more information on VCRedist refactoring background.)
      
      Since commit 71d9a613, we use a
      workaround described at the page mentioned above as "App-local
      deployment of the Universal CRT". We just copy all UCRT DLLs to
      LibreOffice/program. This has a drawback though, that our UCRT
      is not updated by Windows Update, so users would rely on LibreOffice
      updates in case of some vulnerabilities in UCRT (and they could
      even not realize they have that problem).
      
      MS recommends to install UCRT using EXEs they provide from their
      site. The EXEs install both VCRuntimes and UCRTs, along with
      required patches, for all Windows versions (Windows XP through
      Windows 10, where they only install VCRuntimes); the installed
      libraries are managed by system's update mechanism. But those EXEs
      cannot be used in MSI custom actions inside InstallExecuteSequence,
      because they use MSI themselves.
      
      So this patch integrates the vc_redist.xXX.exe into MSI binary
      table, and uses custom action to run the EXE after ExecuteAction
      in InstallUISequence. This will show the user a VCRedist install
      window after the main LibreOffice installation finishes; no user
      interaction is required (except for one additional UAC request),
      and errors are ignored.
      
      Since this installation takes care of both VCRuntime and UCRT,
      we can ultimately drop both the app-local workaround, and
      vcredist merge module (so VCRuntime would also be updated by
      system). The former is done here: this reverts commit
      71d9a613.
      
      This approach has its drawback: if one wants to use unattended
      installation (without UI; one example is deployment using
      ActiveDirectory GPO), then InstallUISequence is not run, and so
      VCRedist isn't installed. In this case, one should install
      VCRedist separately. Supposedly this should not be huge problem,
      because this is the case for many existing applications that need
      separate VCRedist deployment in these scenarios, and unattended
      installation is advanced stuff that requires prepared user. A
      notice would be required in release notes and FAQ, though.
      
      Change-Id: Ia6a16be60af8a08f41ea7c3dbd457d8f89006006
      Reviewed-on: https://gerrit.libreoffice.org/46356Reviewed-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
      Tested-by: 's avatarMike Kaganski <mike.kaganski@collabora.com>
      61b1d631
  16. 15 Ara, 2017 1 kayıt (commit)
  17. 23 Kas, 2017 1 kayıt (commit)
  18. 13 Eyl, 2017 1 kayıt (commit)
  19. 31 Agu, 2017 1 kayıt (commit)
  20. 25 Agu, 2017 1 kayıt (commit)
  21. 20 Agu, 2017 1 kayıt (commit)
  22. 10 Agu, 2017 1 kayıt (commit)
  23. 08 Agu, 2017 1 kayıt (commit)
  24. 21 Tem, 2017 1 kayıt (commit)
    • Caolán McNamara's avatar
      migrate to boost::gettext · 00657aef
      Caolán McNamara yazdı
      * all .ui files go from <interface> to <interface domain="MODULE"> e.g. vcl
      * all .src files go away and the english source strings folded into the .hrc as NC_("context", "source string")
      * ResMgr is dropped in favour of std::locale imbued by boost::locale::generator pointed at matching
        MODULE .mo files
      * UIConfig translations are folded into the module .mo, so e.g. UIConfig_cui
        goes from l10n target to normal one, so the res/lang.zips of UI files go away
      * translation via Translation::get(hrc-define-key, imbued-std::locale)
      * python can now be translated with its inbuilt gettext support (we keep the name strings.hrc there
        to keep finding the .hrc file uniform) so magic numbers can go away there
      * java and starbasic components can be translated via the pre-existing css.resource.StringResourceWithLocation
        mechanism
      * en-US res files go away, their strings are now the .hrc keys in the source code
      * remaining .res files are replaced by .mo files
      * in .res/.ui-lang-zip files, the old scheme missing translations of strings
        results in inserting the english original so something can be found, now the
        standard fallback of using the english original from the source key is used, so
        partial translations shrink dramatically in size
      * extract .hrc strings with hrcex which backs onto
         xgettext -C --add-comments --keyword=NC_:1c,2 --from-code=UTF-8 --no-wrap
      * extract .ui strings with uiex which backs onto
         xgettext --add-comments --no-wrap
      * qtz for gettext translations is generated at runtime as ascii-ified crc32 of
         content + "|" + msgid
      * [API CHANGE] remove deprecated binary .res resouce loader related uno apis
            com::sun::star::resource::OfficeResourceLoader
            com::sun::star::resource::XResourceBundleLoader
            com::sun::star::resource::XResourceBundle
          when translating strings via uno apis
            com.sun.star.resource.StringResourceWithLocation
          can continue to be used
      
      Change-Id: Ia2594a2672b7301d9c3421fdf31b6cfe7f3f8d0a
      00657aef
  25. 12 Tem, 2017 1 kayıt (commit)
  26. 04 Tem, 2017 1 kayıt (commit)
  27. 13 Haz, 2017 1 kayıt (commit)
  28. 20 Mar, 2017 2 kayıt (commit)
  29. 16 Mar, 2017 1 kayıt (commit)
  30. 10 Şub, 2017 1 kayıt (commit)
  31. 06 Şub, 2017 1 kayıt (commit)
  32. 30 Ock, 2017 1 kayıt (commit)
  33. 27 Ock, 2017 1 kayıt (commit)
  34. 24 Ock, 2017 1 kayıt (commit)
  35. 23 Ock, 2017 1 kayıt (commit)
  36. 13 Ock, 2017 1 kayıt (commit)
  37. 08 Ock, 2017 1 kayıt (commit)
  38. 01 Ock, 2017 1 kayıt (commit)