1. 17 Aug, 2021 13 commits
  2. 16 Aug, 2021 6 commits
    • Ivan Molodetskikh's avatar
      workspace: Update bg border radius in constructor · 481743dd
      Ivan Molodetskikh authored
      Otherwise non-zero initial value of stateAdjustment will produce
      incorrect radius.
      481743dd
    • Ivan Molodetskikh's avatar
      dnd: Add drag-motion signal · afdb5027
      Ivan Molodetskikh authored
      The signal is emitted whenever the drag actor's position is updated,
      allowing to accurately track its movement. For example, in the new
      screenshot UI this is used for handle dragging in area selection mode:
      when the handle is moved by dnd code, the selection rect needs to move
      along with it, and this signal provides the means to do just that
      without introducing a 1-frame lag.
      afdb5027
    • Ivan Molodetskikh's avatar
      dnd: Properly end dragging with dropFunc · 0d3346d4
      Ivan Molodetskikh authored
      When dropFunc was used, dragging wasn't ended properly (like in the
      normal flow of the function), causing glitches.
      0d3346d4
    • Sebastian Keller's avatar
      screenShield: Asyncify _syncInhibitor() · 5791e257
      Sebastian Keller authored
      Fixes: #4553
      Part-of: <!1952>
      5791e257
    • Sebastian Keller's avatar
      screenShield: Close inhibitors that finished creation after uninhibition · 85075192
      Sebastian Keller authored
      There was a potential issue when suspend was inhibited and immediately
      uninhibited again before the creation of the inhibitor has finished.
      Then the new inhibitor would be kept active.
      
      Part-of: <!1927>
      85075192
    • Sebastian Keller's avatar
      screenShield: Don't unnecessarily close or recreate inhibitors · fb313033
      Sebastian Keller authored
      ScreenShield::_syncInhibitor() was closing (and recreating) the
      inhibitor everytime it was called, even if no change was needed.
      This gets called in various places, including on property changes in
      the login1 dbus object. These happen by the time logind already started
      suspending at which point new inhibitors can no longer be created. It is
      only waiting for existing inhibitors to be closed, so closing the
      inhibitor without a new inhibitor will cause the suspending to proceed
      immediately if no other inhibitors are present. This can also happen
      before the lock screen is shown, which will then complete after resume.
      
      Fix this by keeping track of the expected inhibition state and only
      create or close inhibitors if there was a change to that.
      
      Fixes GNOME/gnome-shell#3736
      
      Part-of: <GNOME/gnome-shell!1927>
      fb313033
  3. 15 Aug, 2021 2 commits
  4. 14 Aug, 2021 4 commits
    • Florian Müllner's avatar
      extensionUtils: Add gettext convenience helpers · 1deb13e1
      Florian Müllner authored
      We have initTranslations() for binding an extension's
      gettext domain, but nothing to help with using gettext
      from an extension.
      
      Such help would be useful though, as an extension that
      calls textdomain() like a normal application would
      inadvertently changes the default domain for the whole
      gnome-shell process.
      
      Instead, extensions have to use domain-specific versions
      of the gettext functions:
      
      ```js
      const Gettext = imports.gettext.domain('my-extension');
      const _ = Gettext.gettext;
      ```
      
      Make this a bit easier by adding those functions directly
      to the extensions object when initTranslations() is called,
      then expose helper functions for calling them.
      
      #2594
      
      Part-of: <!1941>
      1deb13e1
    • Florian Müllner's avatar
      ci: Split POTFILES check between C and JS · b9f38f95
      Florian Müllner authored
      Regex are a crude tool for analyzing whether some code *calls* a
      particular function. Spidermonkey has Reflect.parse() that returns
      the AST of the passed in code, which allows for a much more precise
      check for javascript.
      
      The old script is still used for C code, where i18n-affecting changes
      are much rarer.
      
      Based heavily on Philip Chimento's mozjs migration script at
      https://gitlab.gnome.org/ptomato/moz60tool.
      
      Part-of: <GNOME/gnome-shell!1941>
      b9f38f95
    • Alexey Rubtsov's avatar
      Update Russian translation · 53e623e4
      Alexey Rubtsov authored
      53e623e4
    • Mohammed Sadiq's avatar
      status/network: Use wwan settings panel for GSM/LTE Modems · 3495873c
      Mohammed Sadiq authored
      GSM/UMTS/LTE modems now have better support with wwan panel in GNOME
      Settings.  So, if the modem supports, open wwan panel, otherwise
      fallback to opening network panel when "Mobile Broadband Settings"
      item is clicked.
      
      See gnome-control-center!583
      
      Part-of: <!1942>
      3495873c
  5. 13 Aug, 2021 9 commits
  6. 12 Aug, 2021 3 commits
  7. 11 Aug, 2021 3 commits