1. 28 Jun, 2018 4 commits
  2. 27 Jun, 2018 4 commits
  3. 26 Jun, 2018 4 commits
  4. 25 Jun, 2018 5 commits
    • Wolthera van Hövell's avatar
      CPMT: Fix the exporter so it produces clean acbf files. · 8d8dc773
      Wolthera van Hövell authored
      The output files are verified against the acbf-1.1.xsd
      Only two errors remain:
      1. Keyword element cannot appear multiple times according to the xsd, but
         this should be possible according to the spec, once for each translation.
      2. References cannot have language tags in 1.1, but they can in 1.2. I'll
         leave this for now.
      Other than that this replaces the spaces with underlines because spaces are annoying
      in the command line.
    • Dmitry Kazakov's avatar
      Fix initialization of the global assistants color · 4dc097c9
      Dmitry Kazakov authored
      1) KisDocument is a 'model' of global color
      2) KisPaintingAssistantsDecoration is a 'controller' of global color
      3) KisPaintingAssistant is a 'view' of global color
      Decoration is responsible for updating the global color cache
      of global color in all the assistants.
    • Dmitry Kazakov's avatar
      Save global color to KRA file · 67823cd5
      Dmitry Kazakov authored
      This is a patch on top of my custom colors patch.
      The shared/global assistant color for painting assistants is stored outside of the assistant data model. Because of this I had to add a new property to save to in the KRA saver and loader.
      I also had to fix up a few initialization areas in the UI so the loaded values didn't get wiped out.
      I also removed a couple "legacy" comments in the KRA saver that got me confused. boud confirmed that those notes were in the calligra days
      Test Plan:
      Have multiple assistants. A couple with a shared color and one with a custom color.
      Saved and loaded the file and made sure it kept the same value.
      Reviewers: #krita, dkazakov
      Subscribers: dkazakov
      Tags: #krita
      Differential Revision: https://phabricator.kde.org/D13437
    • Boudewijn Rempt's avatar
      Update gmic to 2.3.0 · cb3736e1
      Boudewijn Rempt authored
    • Jonathan Liu's avatar
      Do not scroll pop-up palette when setting document offset · eadfec3d
      Jonathan Liu authored
      QWidget::scroll(int dx, int dy) will scroll the widget including its
      children. Since KisPopupPalette is a child of KisQPainterCanvas when
      using the QPainter-based canvas we want to scroll only the widget
      and not its children by calling QWidget::scroll(int dx, int dy,
      const QRect &r) instead.
      Test Plan:
      1. Click Settings > Configure Krita > Display
      2. Uncheck "Canvas Graphics Acceleration" and click OK
      3. File > New to create new document
      4. Click "Freehand Brush Tool"
      5. Right-click on canvas, rotate using wheel. The popup should not move.
      6. Right-click on canvas, reset rotation by clicking at top circle of wheel. The popup should not move.
      7. Right-click on canvas, zoom using zoom slider. The popup should not move.
      8. Right-click on canvas, reset zoom to 100% by clicking "100%" button. The popup should not move,.
      Reviewers: #krita, dkazakov
      Reviewed By: #krita, dkazakov
      Subscribers: dkazakov, #krita
      Tags: #krita
      Differential Revision: https://phabricator.kde.org/D13703
  5. 24 Jun, 2018 6 commits
    • L. E. Segovia's avatar
      Fix PyKrita library search path for MacOS · 16bc5c48
      L. E. Segovia authored
      If Krita detects that its embedded Python comes from a system
      installation, it must preserve the original search path (Py_GetPath)
      and append the PyKrita module paths.
      This prevents PyKrita from not being able to find the 'sip' and
      'encodings' modules, which in turn cause the Python engine to
      fail to initialize and to outright crash, respectively.
      Differential Revision: https://phabricator.kde.org/D13682
    • Pino Toscano's avatar
      metadata editor: translate name of config pages · b88180ea
      Pino Toscano authored
      Extract the name of configuration pages from the .xmlgui files, and
      translate them at runtime using the same context.
    • Pino Toscano's avatar
      metadata editor: add XML PI to metadata editor files · 88dd0d8b
      Pino Toscano authored
      Add the XML processing instructions to the .xmlgui files of the
      metadata editors, so tools can recognize them easily as XML.
    • Jouni Pentikäinen's avatar
    • Pino Toscano's avatar
      pykrita: expose the real i18n() function · b7b39889
      Pino Toscano authored
      Using QCoreApplication.translate() as i18n() function in pykrita does
      not work, since the translations are not in Qt .qm files, but in
      Gettext .po files.
      Hence, create an helper krita_i18n() function in libkis, bind it with
      SIP, and set it as builtin i18n() function for pykrita (and thus for
      all the Python plugins).  This fixes most of the lack of translations
      in Python plugins.
      Test Plan:
      Builds fine, and Python plugins are translated properly
      (mostly, since there are few more issues, but unrelated to this).
      Reviewers: #krita, rempt
      Reviewed By: #krita, rempt
      Subscribers: rempt
      Tags: #krita
      Differential Revision: https://phabricator.kde.org/D13689
    • Pino Toscano's avatar
      i18n: use location for strings of palettes/brushes/etc · f57f76e6
      Pino Toscano authored
      If known, output the location of the strings as comment; together with
      the usage of rc.cpp (instead of i18ndata) as temporary file for these
      strings, this makes sure the .po file shows their locations.
  6. 23 Jun, 2018 2 commits
  7. 22 Jun, 2018 6 commits
  8. 21 Jun, 2018 9 commits