Permalink
Commits on Jul 16, 2018
  1. highlighter: Do not reinitialize patterns every time

    mitya57 committed Jul 16, 2018
Commits on Jul 15, 2018
  1. editor: Another optimization for LineNumberArea paint event

    mitya57 committed Jul 15, 2018
    Start directly on the block at (0, 0), without looping over all
    previous blocks first.
Commits on Jul 13, 2018
  1. editor: Remove unused variable

    mitya57 committed Jul 13, 2018
  2. editor: Optimize LineNumberArea painting for large documents

    mitya57 committed Jul 13, 2018
    block.isVisible() is always True, check the rectangle to find out
    if it is really in the viewport.
    
    Break the loop if the block is below the viewport.
    
    Move some common variables outside the loop.
    
    Refs #360.
Commits on Jul 12, 2018
  1. Require Qt 5.6 or later, and PyQt 5.6 or later

    mitya57 committed Jul 12, 2018
    Drop hasattr checks for attributes that were introduced in earlier
    versions.
    
    Fixes #376.
  2. appveyor: Drop Python 3.5 and add Python 3.7

    mitya57 committed Jul 12, 2018
    Python 3.5.3 is not supported by PyQt 5.11 wheels, and 3.5.4 is
    not available on AppVeyor.
Commits on Jul 2, 2018
  1. Ensure that cursor is visible after resizes

    mitya57 committed Jul 2, 2018
    Fixes #378.
Commits on Jun 15, 2018
  1. Update German translation, thanks Oliver A. Gubler

    mitya57 committed Jun 15, 2018
    Closes #370.
Commits on Jun 6, 2018
  1. mdx_posmap: Remove obsolete comment

    mitya57 committed Jun 6, 2018
  2. MANIFEST.in: Exclude some unwanted files from the generated tarballs

    mitya57 committed Jun 6, 2018
    Setuptools includes all files under revision control by default.
  3. Fix errors from ‘appstream-util validate’

    mitya57 committed Jun 6, 2018
    Crop the screenshot to remove the padding
  4. window: Set actionFullScreen state on startup

    mitya57 committed Jun 6, 2018
    This is needed for restoring window geometry properly.
  5. setup.py: Make sure built .qm files are included in the tarball

    mitya57 committed Jun 6, 2018
    Entries in sub_commands are processed after the manifest is built,
    so that does not work.
Commits on Jun 5, 2018
  1. Merge a new changelog entry from retext-7.0 branch

    mitya57 committed Jun 5, 2018
  2. Use generic sans serif font as preview font

    mitya57 committed Jun 5, 2018
    During the settings initialization, a QApplication is not yet
    constructed, and QFont() just returns the first font in list instead
    of the right one.
  3. Add one more test for the posmap extension

    mitya57 committed Jun 5, 2018
  4. Another attempt to fix mdx_posmap breaking code highlights

    mitya57 committed Jun 5, 2018
  5. Add (partially failing) tests for the posmap extension

    mitya57 committed Jun 5, 2018
Commits on May 26, 2018
  1. config: Clicking on checkbox label should change checkbox state

    mitya57 committed May 26, 2018
  2. tab: Update markup class before setting the textbox content

    mitya57 committed May 26, 2018
    Otherwise we are highlighting the document twice, and the rehighlight
    happens before the textbox contents are fully processed, which can lead
    to document structure damage.
    
    Fixes #345.
Commits on May 18, 2018
  1. setup.py: Drop retext_test class, just set test_suite instead

    mitya57 committed May 18, 2018
Commits on May 16, 2018
  1. Use correct contraction for “for example”

    mitya57 committed May 16, 2018
Commits on May 15, 2018
  1. highlighter: Use a bit more correct QString_length implementation

    mitya57 committed May 14, 2018
    According to the QString documentation:
    
    “Unicode characters with code values above 65535 are stored using
    surrogate pairs, i.e., two consecutive QChars.”
Commits on May 13, 2018
  1. Fix HTML files mask in German translation

    mitya57 committed May 13, 2018
Commits on May 6, 2018
  1. README.md: Update PyPI links (and also the PyQt link)

    mitya57 committed May 6, 2018
Commits on Apr 2, 2018
  1. highlighter: Specify QString lengths for char formats

    mitya57 committed Apr 2, 2018
    Fixes #357.
Commits on Feb 6, 2018
  1. .travis.yml: Skip PyQt5 version 5.10

    mitya57 committed Feb 6, 2018
    Qt 5.10.0 which is bundled with this version crashes on startup,
    see QTBUG-64928.
  2. Recommend using pip3 instead of pip

    mitya57 committed Feb 6, 2018
    Versioned commands are available since pypa/pip#1053, or pypa/pip#1251
    if pip is installed from a wheel.
    
    Fixes #353.
Commits on Dec 29, 2017
  1. window: Ctrl+F now focuses the search field, not closes the search bar

    mitya57 committed Dec 29, 2017
    To close the search bar, now the Escape key can be used.
    
    Fixes #346.
Commits on Nov 22, 2017
  1. linux: Add 'StartupWMClass' to the desktop file

    joebonrichie committed Nov 22, 2017
    * Fixes the icon double appearing in docks and fixes the ability
      of pinning to panel in Budgie.
    
    Signed-off-by: Joey Riches <josephriches@gmail.com>
Commits on Nov 3, 2017
  1. Made cell alignment dependent on markup type and fixed tests

    Griffon26 committed Nov 3, 2017
    For ReStructured text table mode should work as before. For Markdown it
    should now only align the edges of cells that are part of the same table
    column.