1. 09 Jun, 2021 3 commits
  2. 08 Jun, 2021 10 commits
    • Sharaf Zaman's avatar
      Android: Update version in build.gradle · 6028420f
      Sharaf Zaman authored
      6028420f
    • Sharaf Zaman's avatar
      Android: add ABI and versionName to .apk filename · 5efa5299
      Sharaf Zaman authored
      This also moves versionName from manifest to build.gradle.
      
      (cherry picked from commit a8376233)
      5efa5299
    • Sharaf Zaman's avatar
      Android: bump up old defaults and make life easier · b237a4de
      Sharaf Zaman authored
      when project is opened using Android Studio.
      
      (cherry picked from commit 396b4501)
      b237a4de
    • Sharaf Zaman's avatar
      Bugfix: Inconsistent stroke fill and shape fill · 69ac8b85
      Sharaf Zaman authored
      Problem: Embedding KoFillConfigWidget in KoStrokeConfigWidget created
      codepaths which KisAcyclicSignalConnector doesn't block, which resulted
      in an inconsistent behavior when both strokes and fill were used in a
      shape.
      
      Solution: By default if we hadn't embedded the widgets, signals from
      ResourceManager would've been blocked by KisAcyclicSignalConnector when
      we entered slotProposeCurrentColorToResourceManager. Since we don't, we
      have to manually block events when we are in this method.
      
      BUG:399127
      BUG:422204
      BUG:434828
      (cherry picked from commit 1fffa7e3)
      69ac8b85
    • Sharaf Zaman's avatar
      b3b3d9f8
    • Sharaf Zaman's avatar
      Android: Layer Properties' text field not responding · 1e42bed5
      Sharaf Zaman authored
      ...to keyboard events
      
      Events go to the parent window and manually setting to the tool window
      doesn't change that.
      1e42bed5
    • Sharaf Zaman's avatar
      Android: SAFE_ASSERT on TouchCancel event · 3764399e
      Sharaf Zaman authored
      3764399e
    • Sharaf Zaman's avatar
      Bugfix: Artifact with more than one active assitant · b57713c2
      Sharaf Zaman authored
      Problem: With more than one assitants active on canvas, often on devices
      with high resolution the Pixmap cache would fill up immediately. This
      would internally trigger glDeleteTexture right after the first pixmap is
      rendered and when turn for second pixmap is due, it would get assigned
      the same name as the previously generated (which is a correct behavior!
      but it only seems to happen with some drivers). With same name as
      previous one Qt doesn't render it (see
      QOpenGL2PaintEngineExPrivate::updateTexture).
      
      Workaround: Because of this name clash, we workaround this Qt bug by
      increasing the cache size, so the new textures don't immediately delete
      the previous ones and take their names. Ideally, this should be fixed
      inside Qt.
      
      Devices with this problem:
      + Android
      + ChromeOS (mesa)
      + Windows (ANGLE)
      
      BUG:401940
      b57713c2
    • Sharaf Zaman's avatar
      Android: Make saving operation on exit more robust · cff205c2
      Sharaf Zaman authored
      Sometimes if file operation took too long some devices (not all) would
      kill our saving thread after a while which would leave saving operation
      incomplete. In this change rather than relying on mercy of vendor we
      start a Foreground Service which will effectively stop vendor from
      killing the process! Once we're done saving we kill the process
      overselves.
      
      (cherry picked from commit 2efb5236)
      
      # Conflicts:
      #	packaging/android/apk/AndroidManifest.xml
      cff205c2
    • Script Kiddy's avatar
      SVN_SILENT made messages (.desktop file) - always resolve ours · e7e9293e
      Script Kiddy authored
      In case of conflict in i18n, keep the version of the branch "ours"
      To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
      e7e9293e
  3. 07 Jun, 2021 1 commit
  4. 06 Jun, 2021 2 commits
  5. 04 Jun, 2021 13 commits
  6. 03 Jun, 2021 11 commits
    • Agata Cacko's avatar
      Fix KoQuaZipStore error checking · 80f43d1c
      Agata Cacko authored
      Before this commit, KoQuaZipStore would convert the number
      of bytes written into a bool, and then if the bool was true
      (which means if the number of bytes was higher than 0)
      it would return the length of whole data as the number
      of bytes written. That was the result of copying
      the line across multiple commits, when the line was only
      relevant a few commits ago in a KArchive (when writeData
      was used and it did return bool for success).
      
      Since now KoQuaZipStore uses write(), which returns the int,
      this is the number that should be returned instead.
      
      (See the deleted KArchive line 199 in commit 593dba2b).
      80f43d1c
    • Agata Cacko's avatar
      Ensure that transform worker won't try to scale to 0 · d621189b
      Agata Cacko authored
      Transform Worker did have a check for scale being 0...
      but it's only in the double value. KisFilterWeightsBuffer
      converts those values to KisFixedPoint, which has
      much different precision (the scale cannot be lower than
      1/256, otherwise it gets rounded to 0).
      This commit adds a check after converting to KisFixedPoint.
      
      Note: it would be best if the KisFixedPoint had higher precision.
      
      I added the conversion check there, because it's an easy operation,
      but it could be KisFilterWeightsBuffer and
      KisFilterWeightsApplicator checking the values to make sure
      they're correct transformation-wise and KisTransfromWorker only
      checking some kind of buffer->valid() and applicator->valid() result.
      
      CCBUG:432182
      d621189b
    • Agata Cacko's avatar
      Fix crash on saving a huge image to .kra · 0817c0f5
      Agata Cacko authored
      Before this commit, an image of size bigger than 66k
      in any dimension would crash Krita because it tries to
      scale the projection to 256x256 image, which means that
      the scale would be less than 1/256.
      KisTransformWorker uses KisFixedPoint to scale,
      which means that the scale would (in KisFixedPoint maths)
      equal 0, which means there is division by 0.
      
      BUG:432182
      0817c0f5
    • Agata Cacko's avatar
      Add initialization to KisUndoModel · 64130695
      Agata Cacko authored
      64130695
    • Agata Cacko's avatar
      Fix High DPI for canvas previews in Undo History docker · 7bfca147
      Agata Cacko authored
      Before this commit, canvas previews/thumbnails in the
      Undo History docker were low resolution on High DPI screen.
      This commit make them high resolution (respect devicePixelRatio).
      Because there is no item delegate and no manual paint command,
      it required adding a devicePixelRatio parameter to the Model.
      7bfca147
    • Agata Cacko's avatar
      Fix uninitialized values in HistogramDockerWidget · c93afb7d
      Agata Cacko authored
      CID 329509
      c93afb7d
    • Agata Cacko's avatar
      Fix referencing of null value in SvgStyleWriter · 95c5eec9
      Agata Cacko authored
      CID 329512
      95c5eec9
    • Agata Cacko's avatar
      4cfcf5e9
    • Agata Cacko's avatar
      Fix multithreading in Histogram widget · 04d8cf6c
      Agata Cacko authored
      Before this commit, Histogram widget would use a homebrew threads
      to handle its multithreading.
      This commit ensures that a proper stroke system will be used for that.
      04d8cf6c
    • Agata Cacko's avatar
      Fix updates in Histogram docker · 6ddf4a12
      Agata Cacko authored
      Before this commit, in some situations the Histogram docker
      wouldn't update after some time.
      This commit ensures it will update.
      6ddf4a12
    • Agata Cacko's avatar
      Fix updates in Channels docker · cb818205
      Agata Cacko authored
      Before this commit, the Channels docker wouldn't get
      updates on changes on canvas. This commit ensures that the docker
      will know about the canvas changes and update the view.
      Thanks to that, the previews in the docker are up to date.
      cb818205