1. 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
  2. 15 Ara, 2017 1 kayıt (commit)
  3. 23 Kas, 2017 1 kayıt (commit)
  4. 13 Eyl, 2017 1 kayıt (commit)
  5. 31 Agu, 2017 1 kayıt (commit)
  6. 25 Agu, 2017 1 kayıt (commit)
  7. 20 Agu, 2017 1 kayıt (commit)
  8. 10 Agu, 2017 1 kayıt (commit)
  9. 08 Agu, 2017 1 kayıt (commit)
  10. 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
  11. 12 Tem, 2017 1 kayıt (commit)
  12. 04 Tem, 2017 1 kayıt (commit)
  13. 13 Haz, 2017 1 kayıt (commit)
  14. 20 Mar, 2017 2 kayıt (commit)
  15. 16 Mar, 2017 1 kayıt (commit)
  16. 10 Şub, 2017 1 kayıt (commit)
  17. 06 Şub, 2017 1 kayıt (commit)
  18. 30 Ock, 2017 1 kayıt (commit)
  19. 27 Ock, 2017 1 kayıt (commit)
  20. 24 Ock, 2017 1 kayıt (commit)
  21. 23 Ock, 2017 1 kayıt (commit)
  22. 13 Ock, 2017 1 kayıt (commit)
  23. 08 Ock, 2017 1 kayıt (commit)
  24. 01 Ock, 2017 1 kayıt (commit)
  25. 14 Eki, 2016 1 kayıt (commit)
  26. 13 Eki, 2016 1 kayıt (commit)
  27. 11 Eki, 2016 1 kayıt (commit)
    • Armin Le Grand's avatar
      profilesafe: Add values for SecureUserConfig · 35ec8253
      Armin Le Grand yazdı
      Added default values for SecureUserConfig values
      to soffice.ini/rc which enable the mechanism,
      enable by default and set a maximum of three backups
      file in packed form. Added more handy flag for easy
      decision to add compressed/uncompressed.
      
      Change-Id: I5a624c09fec4e4278314e13fc5f693ac085d5e61
      35ec8253
  28. 17 Agu, 2016 1 kayıt (commit)
  29. 05 Agu, 2016 1 kayıt (commit)
    • Tor Lillqvist's avatar
      URI-encode spaces in PRODUCTNAME for UserInstallation · 336a9ec1
      Tor Lillqvist yazdı
      Failing to do this caused a mysterious uncaught exception in gengal,
      with no explanation printed. This turned out to be caused by the
      'CONFIGURATION_LAYERS: missing ":"' exception thrown in configmgr,
      which was caused by the unencoded space confusing the parsing of the
      CONFIGURATION_LAYERS thing.
      
      Change-Id: I9c91819906c2e0dd434d9f96a04bc14c0e0408ed
      336a9ec1
  30. 04 Agu, 2016 1 kayıt (commit)
    • Tor Lillqvist's avatar
      Introduce --with-product-name superseding --with-macosx-app-name · b640a134
      Tor Lillqvist yazdı
      The new option thoroughly replaces the product name mentioned in the
      AC_INIT() call. Work in progress.
      
      Also take care of spaces in the product name in a more systematic
      fashion.
      
      This should affect mainly OS X where the final app bundle that is
      installed should use the product name as such, including spaces, if
      any. However, our build system does not cope that well with having an
      app bundle with spaces in it in instdir. So in instdir, and also in
      test-install, spaces are stripped away from the product name when used
      as part of the app bundle name.
      
      Change-Id: Ic16b5039f23c96a4f39387a1869faeb25e05aafb
      b640a134
  31. 02 Agu, 2016 1 kayıt (commit)
  32. 11 Mar, 2016 1 kayıt (commit)
  33. 05 Ock, 2016 1 kayıt (commit)
  34. 28 Kas, 2015 1 kayıt (commit)
  35. 26 Kas, 2015 1 kayıt (commit)
  36. 23 Kas, 2015 1 kayıt (commit)
  37. 16 Eki, 2015 1 kayıt (commit)
  38. 08 Eki, 2015 1 kayıt (commit)
  39. 02 Eki, 2015 1 kayıt (commit)
    • Jan-Marek Glogowski's avatar
      Ignore grep return code for MSI builds · d526f5d7
      Jan-Marek Glogowski yazdı
      So "grep -v" returns != 0, if your input or output file is empty.
      which breaks the Jenkins build, because Jenkins runs scripts with
      -xe per default.
      
      The "strip comments" grep currently fails for the empty file
      instsetoo_native/inc_openoffice/windows/msi_templates/components.txt
      
      Change-Id: I53a477702dbcc3c00c4a23263c3b402cb936250a
      d526f5d7