Skip to content
Snippets Groups Projects
  1. May 13, 2022
  2. May 10, 2022
  3. May 09, 2022
    • sdegrande's avatar
      Fix a crash during startup, when built with clang64 · 42d57855
      sdegrande authored
      The AssetManager's ctor is called during the global initialization,
      due to uses of AssetProviderImpl() in order to register some
      additional asset dirs.
      
      In that ctor, logstreams is used to output some infos.
      
      The default initialization of some logstreams's members seems to be
      different with clang64, and so the use of logstreams crashes.
      
      This patch transfers all the code from the ctor into a new
      AssetManager::init() function, called by main().
      
      In the same way, the actual registration of the asset dirs is defered
      into AssetManager::init().
      42d57855
  4. May 05, 2022
  5. Apr 29, 2022
  6. Apr 27, 2022
  7. Apr 26, 2022
  8. Apr 22, 2022
    • sdegrande's avatar
      Fixup of the previous commit (ebf45e57) · c4da0309
      sdegrande authored
      The binaryop of std::reduce, without the parallel execution policy,
      must be able to be commutative, and so accept parameters in any order.
      
      Our accum binaryop is not commutative, so we get back to using
      std::accumulate.
      c4da0309
    • sdegrande's avatar
      Remove the use of a 'parallel' execution policy of std::reduce() · ebf45e57
      sdegrande authored
      The parallelism specification is not yet implemented in LLVM libc++,
      and gcc on mingw64 complains about a deprecation.
      ebf45e57
    • sdegrande's avatar
      Fixup to previous commit (27991797) · 294bb624
      sdegrande authored
      Generation of vairdraw.pdb must also be commented out in
      src/Makefile.am
      294bb624
    • sdegrande's avatar
      As of 04/2022, cv2pdb is not more working, for an unknown reason · 27991797
      sdegrande authored
      We intend to remove it, and use clang-ld to generate the .pdb file
      Meanwhile, we comment out the use of cv2pdb in configure.ac
      27991797
    • sdegrande's avatar
    • sdegrande's avatar
      Introduce the use of a local assets dir [step 2/2 : VAirDraw] · 1ef583a2
      sdegrande authored
      Deep change in AssetManager on the way to define the directories to
      look for an asset.
      
      Let's call 'topDir' the directory containing the VAirDraw's assets/
      subdir.
      
      3 assets dirs are hardcoded (just as before this commit):
      topDir, topDir/assets and topDir/extra-assets.
      
      Applications and Modules can now also register their own assets dir,
      using AssetManager::regiterAssetDir(path, priority).
      
      Six levels of look-for priority are defined (1 being the highest
      priority):
       1 : for Apps assets
       2 : for Modules assets
       3 : for local assets (the new local asset dir)
       4 : for distrib assets (VAirDraw's assets/)
       5 : for extra-assets
       6 : reserved for hard-coded dirs
      1ef583a2
    • sdegrande's avatar
      Introduce the use of a local assets dir [step 1/2 : Launcher] · 35769b6c
      sdegrande authored
      Add a GUI to set a local asset dir in the VAirDraw launcher panel.
      The content of the panels is now extracted from the following
      directories (see the '@ALL' option in Setup.cpp):
        $TOP/src/$APP_DIR/assets,
        $LOCAL_ASSET,
        $TOP/assets,
        $TOP/extra-assets
      
      (Modules assets are still to be added).
      
      A check box is also added, so that only the local asset dir is
      used to fill the content of the panels.
      
      The local-asset-dir is written into the config_local.json file before
      to launch VAirDraw.
      
      NOTE : the launcher-app.ini MUST BE REMOVED, to be regenerated, due to
      changes in the Setup's options.
      35769b6c
    • sdegrande's avatar
      7180fd4d
    • sdegrande's avatar
      Rename launcher/assets into launcher/launcher_assets. · 9803a577
      sdegrande authored
      This is in preparation to the creation of an Installer.
      That installer would potentially put the launcher's assets in the
      top install dir.
      And so we need to differentiate them with the VAirDraw's assets.
      9803a577
  9. Mar 29, 2022
    • sdegrande's avatar
      Avoid the 'check warning:mingw64' CI job to fail · 0495655b
      sdegrande authored
      For the CoFadeVR apps, externals/libhttpserver is build, and
      during its build rule, autoconf is called.
      
      On the mingw64 VM, the installed autoconf is newer than on Fedora,
      and it generates warnings.
      
      Those warnings are captured by the 'check warning' job, which
      consequently fails.
      
      TODO: we should find a way to call the libhttpserver's configure from
      the whole project's configure, and not from a make rule...
      0495655b
  10. Mar 28, 2022
  11. Mar 09, 2022
  12. Mar 08, 2022
    • sdegrande's avatar
      Introduce a libhttpserver external submodule. · 9e487607
      sdegrande authored
      It is only built if that module is requested by an App in its
      configure_app.m4, with :
      
      AS_VAR_SET([WITH_EXTERNAL_LIBHTTPSERVER], [true])
      
      CXXFLAGS and LIBS are 'automatically' set accordingly.
      9e487607
  13. Mar 07, 2022
  14. Mar 04, 2022
Loading