Skip to content
Snippets Groups Projects
Select Git revision
  • release/beta-qt-202210071648
  • master default protected
  • release/beta-qt-202301101210
  • stable
  • release/beta-qt-202211182015
  • release/beta-qt-202211181752
  • release/beta-qt-202211171508
  • release/beta-qt-202211081754
  • release/beta-qt-202211071518
  • release/beta-qt-202210270957
  • release/beta-qt-202209291549
  • release/beta-qt-202209011129
  • release/beta-qt-202208261640
  • release/beta-qt-202208241511
  • release/beta-qt-202208231849
  • release/beta-qt-202208091525
  • release/beta-qt-202207191241
  • release/beta-qt-202207181708
  • release/beta-qt-202207131914
  • release/beta-qt-202207131513
  • android/release_358
  • android/release_357
  • android/release_356
  • android/release_355
  • android/release_354
  • 20221220.0956.79e1207
  • android/release_353
  • android/release_352
  • android/release_350
  • android/release_349
  • android/release_348
  • android/release_347
  • 20221031.1308.130cc26
  • android/release_346
  • android/release_345
  • android/release_344
  • android/release_343
  • android/release_342
  • android/release_341
  • android/release_340
40 results

build.py

Blame
    • Maxim Cournoyer's avatar
      139b307f
      build.py: Streamline and update dependencies, build script. · 139b307f
      Maxim Cournoyer authored and Amin Bandali's avatar Amin Bandali committed
      Remove the GNOME dependencies and have the --qt argument always
      require a value when used (exclusively to specify a Qt installation
      prefix).
      
      * build.py (ZYPPER_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (ZYPPER_CLIENT_QT_DEPENDENCIES): Rename to...
      (ZYPPER_CLIENT_DEPENDENCIES): ... this.
      (DNF_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (DNF_CLIENT_QT_DEPENDENCIES): Rename to...
      (DNF_CLIENT_DEPENDENCIES): ... this.
      (APT_DEPENDENCIES): Delete 'gnome-icon-theme-symbolic'.
      (APT_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (APT_CLIENT_QT_DEPENDENCIES): Rename to...
      (APT_CLIENT_DEPENDENCIES): ... this.
      (PACMAN_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (PACMAN_CLIENT_QT_DEPENDENCIES): Rename to...
      (PACMAN_CLIENT_DEPENDENCIES): ... this.
      (run_dependencies): Remove usage of args.gnome.  Streamline use of
      --qt; now it's only used to specify a custom Qt prefix.
      (run_uninstall): Get rid of CLIENT_SUFFIX, adjusting users
      accordingly.
      (run_install): Delete '-c' option of install script.
      (run_run): Delete hacks used to build the now-deprecated client-macos
      on macOS.  Get rid of client_suffix.  Adjust client path to run.
      (run_stop): Get rid of suffix.
      (execute_script): Test falsy values as intended.
      (parse_args): Delete '--gnome' argument.  Adjust doc of '--qt'.
      (main): Get rid of 'parsed_args.gnome'.
      * guix/manifest.scm: Streamline and update dependencies.
      * scripts/install.sh: Remove '-c' option.  Remove conditional branches
      handling GNOME client.
      * guix/channels.scm: New file.
      
      Change-Id: I26898c3331467bfc4ab63d3e9df1d50560c287c2
      139b307f
      History
      build.py: Streamline and update dependencies, build script.
      Maxim Cournoyer authored and Amin Bandali's avatar Amin Bandali committed
      Remove the GNOME dependencies and have the --qt argument always
      require a value when used (exclusively to specify a Qt installation
      prefix).
      
      * build.py (ZYPPER_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (ZYPPER_CLIENT_QT_DEPENDENCIES): Rename to...
      (ZYPPER_CLIENT_DEPENDENCIES): ... this.
      (DNF_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (DNF_CLIENT_QT_DEPENDENCIES): Rename to...
      (DNF_CLIENT_DEPENDENCIES): ... this.
      (APT_DEPENDENCIES): Delete 'gnome-icon-theme-symbolic'.
      (APT_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (APT_CLIENT_QT_DEPENDENCIES): Rename to...
      (APT_CLIENT_DEPENDENCIES): ... this.
      (PACMAN_CLIENT_GNOME_DEPENDENCIES): Delete variable.
      (PACMAN_CLIENT_QT_DEPENDENCIES): Rename to...
      (PACMAN_CLIENT_DEPENDENCIES): ... this.
      (run_dependencies): Remove usage of args.gnome.  Streamline use of
      --qt; now it's only used to specify a custom Qt prefix.
      (run_uninstall): Get rid of CLIENT_SUFFIX, adjusting users
      accordingly.
      (run_install): Delete '-c' option of install script.
      (run_run): Delete hacks used to build the now-deprecated client-macos
      on macOS.  Get rid of client_suffix.  Adjust client path to run.
      (run_stop): Get rid of suffix.
      (execute_script): Test falsy values as intended.
      (parse_args): Delete '--gnome' argument.  Adjust doc of '--qt'.
      (main): Get rid of 'parsed_args.gnome'.
      * guix/manifest.scm: Streamline and update dependencies.
      * scripts/install.sh: Remove '-c' option.  Remove conditional branches
      handling GNOME client.
      * guix/channels.scm: New file.
      
      Change-Id: I26898c3331467bfc4ab63d3e9df1d50560c287c2
    Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    account.cpp 18.01 KiB
    /*
     *  Copyright (C) 2004-2015 Savoir-Faire Linux Inc.
     *
     *  Author: Emmanuel Milou <emmanuel.milou@savoirfairelinux.com>
     *  Author: Alexandre Bourget <alexandre.bourget@savoirfairelinux.com>
     *  Author : Guillaume Roguez <guillaume.roguez@savoirfairelinux.com>
     *
     *  This program is free software; you can redistribute it and/or modify
     *  it under the terms of the GNU General Public License as published by
     *  the Free Software Foundation; either version 3 of the License, or
     *  (at your option) any later version.
     *
     *  This program is distributed in the hope that it will be useful,
     *  but WITHOUT ANY WARRANTY; without even the implied warranty of
     *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     *  GNU General Public License for more details.
     *
     *  You should have received a copy of the GNU General Public License
     *  along with this program; if not, write to the Free Software
     *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301 USA.
     *
     *  Additional permission under GNU GPL version 3 section 7:
     *
     *  If you modify this program, or any covered work, by linking or
     *  combining it with the OpenSSL project's OpenSSL library (or a
     *  modified version of that library), containing parts covered by the
     *  terms of the OpenSSL or SSLeay licenses, Savoir-Faire Linux Inc.
     *  grants you additional permission to convey the resulting work.
     *  Corresponding Source for a non-source form of such a combination
     *  shall include the source code for the parts of OpenSSL used as well
     *  as that of the covered work.
     */
    
    #ifdef HAVE_CONFIG_H
    #include "config.h"
    #endif
    #include "account.h"
    
    #include <algorithm>
    #include <iterator>
    #include <mutex>
    
    #ifdef RING_VIDEO
    #include "libav_utils.h"
    #endif
    
    #include "logger.h"
    #include "manager.h"
    
    #include "client/signal.h"
    #include "account_schema.h"
    #include "string_utils.h"
    #include "config/yamlparser.h"
    #include "system_codec_container.h"
    
    #include <yaml-cpp/yaml.h>
    
    #include "upnp/upnp_control.h"
    #include "ip_utils.h"
    #include "intrin.h"
    #include "dring/account_const.h"
    
    namespace ring {
    
    const char * const Account::ALL_CODECS_KEY              = "allCodecs";
    const char * const Account::VIDEO_CODEC_ENABLED         = "enabled";
    const char * const Account::VIDEO_CODEC_NAME            = "name";
    const char * const Account::VIDEO_CODEC_PARAMETERS      = "parameters";
    const char * const Account::VIDEO_CODEC_BITRATE         = "bitrate";
    const char * const Account::RINGTONE_PATH_KEY           = "ringtonePath";