1. 17 Mar, 2021 1 commit
  2. 16 Mar, 2021 1 commit
  3. 09 Mar, 2021 1 commit
  4. 03 Mar, 2021 3 commits
  5. 02 Mar, 2021 3 commits
  6. 01 Mar, 2021 1 commit
    • Dmitry Kazakov's avatar
      Implement interstroke data support · c5b14585
      Dmitry Kazakov authored
      Now brushes can attrach some temporary data to the device and use
      it for different strokes. The data is removes when incompatible
      stroke the first incompatible is started.
  7. 26 Feb, 2021 17 commits
  8. 25 Feb, 2021 13 commits
    • Timothée Giet's avatar
      update layerbox icons · ea9c436b
      Timothée Giet authored
    • Timothée Giet's avatar
      use edit icon where needed · afd4935f
      Timothée Giet authored
      use edit icon where needed
      The dirty-preset icon is a special one with mixed color, which is intended to be used
      only over preset icons to show they have been edited.
      In all other places, it's better to use the document-edit icon.
    • Agata Cacko's avatar
      Define static urlAll and urlAllUntagged functions · 61037a8c
      Agata Cacko authored
      Before this commit, Krita code contained the All and All Untagged
      strings in multiple places even though it is used as an identifier.
      This commit ensures it's defined in one place.
      Note: it can be changes to static const variables if someone wishes.
    • Agata Cacko's avatar
      Allow 'naked tags' in KisTagModel::indexForTag · 01d5b2dc
      Agata Cacko authored
      Before this commit, a fix for fake tags would prevent
      'naked tags' (tags without a proper id but that aren't fake tags)
      from working. While I'm not sure if we're still using naked tags
      anywhere, this commit fixes it by ensuring only fake tags are treated as
      fake tags.
    • Agata Cacko's avatar
      Fix tagForUrl and indexForTag for fake tags like All · 774e6f9c
      Agata Cacko authored
      Before this commit, tagForUrl and indexForTags would return
      incorrect/empty values for fake tags. This commit ensures
      that the fake tags (like All or AllUntagged) are handled
      properly and proper values are returned.
    • Agata Cacko's avatar
      Add isResourceTagged query to KisTagResourceModel · a2358870
      Agata Cacko authored
      Before this commit, there was no way to determine whether the resource
      is tagged with a specific tag or not except for going through the whole
      This commit adds this method and updates both tagResource() and
      untagResource() to use it before trying to tag or untag the resource.
    • Agata Cacko's avatar
      Fix KisTagResourceModel::(un)tagResource to take resurceId · 707606df
      Agata Cacko authored
      Before this commit, the model would get a whole resource which meant
      that the resource had to be loaded first. This commit removes that need
      by using only the resourceId for those actions.
    • Agata Cacko's avatar
      Fix Layer styles name in KisResourceTypeModel · 662d9e7f
      Agata Cacko authored
      Before this commit, layer styles would have "layerstyles" name
      in the KisResourceTypeModel. This commit fixes it by setting
      a translatable name for it.
    • Agata Cacko's avatar
      Fix database to hav only unique tag to resource connection · 374ef754
      Agata Cacko authored
      Before this commit, the database could have multiple entries
      in resource_tags table with the same resource_id and tag_id.
      Since all the entries are just that, it makes no sense to allow that.
      This commit adds a UNIQUE constraint on those two columns together
      in the database in resource_tags table.
    • Agata Cacko's avatar
      Add storage id filter for KisTagFilterResourceProxyModel · 84146126
      Agata Cacko authored
      Before this commit, ...proxyModel wouldn't have the abilitity to
      filter by storage Id. This commit makes it possible.
    • Agata Cacko's avatar
      Add KisTagModel::tagByUrl() · 70650bcb
      Agata Cacko authored
      Before this commit, there was no way to retrieve a tag based on url.
      This commit adds this possibility.
    • Timothée Giet's avatar
      new icon for mypaint brush engine · fe4ba994
      Timothée Giet authored
    • Timothée Giet's avatar
      kis_paintop_box, improve icons and buttons size · fba05dc8
      Timothée Giet authored
      replace the variable iconsize with a buttonsize, as it was actually used to set buttons sizes
      add a new iconsize variable really used to set iconSize on buttons
      also adjust accordingly the menuPadding variable used on mirror buttons to compensate
      for their side arrow
      -it would be great to change ktoolbar to set all the other toolbar buttons size to 32
      independently from selected theme, as it would harmonize perfectly the toolbar.
      -maybe add a user setting to change the toolbar buttons size as discussed on
      graphics/krita!679 (comment 188124)
      though it would need to change the size for toolbar buttons in both
      ktoolbar and kis_paintop_box, and it would need to change both the
      fixedSize and the iconSize (either with separate values, or doing
      something like "iconsize = buttonsize - 10").