Changelog
=========

Version 2.0.0

  * Use system font settings (GNOME gsettings) for editor and preview
    * Editor (GtkSourceView) uses system monospace font and size
    * Renderer (WebKit) uses system document font and monospace font
    * Font settings are applied dynamically on change
  * Fix RST ``include`` directive with relative paths when opening files
    from a subdirectory
  * Add custom directives (``formiko/directives.py``):
    * ``.. mdinclude::`` — include and inline-render a Markdown file
      (requires m2r2; works in both RST and Markdown documents)
    * ``.. file-tree::`` — render a directory tree as a bullet list
      * Options: ``:depth:`` (default 2), ``:include:``, ``:exclude:``,
        ``:links:``
  * Add tests for all custom directives
  * Inherit source file extension when opening extension-less links to
    non-existent files (e.g. link from ``doc.md`` to ``page`` creates
    ``page.md`` instead of ``page``)
  * Tab support (Gtk.Notebook):
    * Each open file lives in its own tab within a single window
    * Open new tab via Ctrl+T
    * Close tab via Ctrl+W or the tab close button; last tab closes the window
    * Navigate tabs with Ctrl+Tab / Ctrl+Shift+Tab and
      Ctrl+Page_Down / Ctrl+Page_Up
    * Tab bar is auto-hidden when only one tab is open
    * Opening a file into an empty unmodified tab reuses it instead of
      adding a new tab
    * Files already open in a tab are activated instead of reopened
    * Tab title shows an asterisk (*) for unsaved changes
    * Tab tooltip shows the full file path, or "Untitled Document (Draft)"
      for unsaved documents
    * Per-tab state: file, parser/format, word and character count,
      window title and formatting toolbar
    * Global state: writer, style, view mode (editor/preview/both),
      split orientation and position
    * Unsaved-changes dialog uses Save / Discard / Cancel (GNOME HIG)
      and activates the affected tab before showing
    * Tab keyboard shortcuts added to the Keyboard Shortcuts dialog
  * Improve About dialog (Adw.AboutDialog):
    * Add debug info via ``_build_debug_info()``:
      * Flatpak detection (``/.flatpak-info``)
      * Runtime versions of GTK, Adw, GLib, GtkSource, WebKit
      * Python interpreter version
      * Installed Python package versions: docutils,
        docutils-tinyhtmlwriter, jsonpath-ng, m2r2, pynvim, Pygments
      * All user preferences (preview, parser, writer, editor settings);
        custom stylesheet path shown only as ``<set>``/``<not set>``
    * Debug info exposed via Troubleshooting section with Copy / Save action
    * Add ``issue_url`` pointing to the GitHub issue tracker, which adds
      a "Report an Issue" button per GNOME HIG
    * Active window preferences passed to ``about_dialog()`` from ``on_about()``
  * Code refactoring
  * Remove deprecated `recommonmark`
  * Neovim support (formiko-vim)
    * Add new `vte` dependency
  * Fix #1: Fix Vim support on Wayland
  * JSON preview:
    * Add collapsible folding view
    * Add JSON path filter
  * Use `docutils` HTML5 Writer instead of deprecated `docutils-html5-writer`
  * Fix #42: Prevent "reload from storage" popup during editing
  * Fix #45: Fix `pip3 install` error
  * Migrate from GTK3 to GTK4
    * Replace WebKit2 (4.x) with WebKit (6.0)
    * Replace GtkSource 4 with GtkSource 5
    * Replace GtkSpell with libspelling 1
    * Replace VTE 2.91 (GTK3) with VTE 3.91 (GTK4)
  * Fix #53: Replace unmaintained `m2r` with `m2r2`
  * Add sidebar toggle: Folder list can now be toggled via a top-left icon (#34)
  * Add Formatting Toolbox (#16)
  * Auto-bullet completion (configurable in settings)
  * Tab key indentation for bullets (configurable in settings)
  * Show file directory in window title
  * Update Editor/Preview/Both toggle buttons to use icons
  * Add JSON folding button
  * Add support for scrolling to anchors within documents
  * Add standard keyboard shortcuts for common application actions

Version 1.5.0

  * fix local url with href anchor
  * M2R convertor support for another MarkDown parsing way
  * check_version command for version check in all files
    in repository
  * bad parser in config fix
  * desktop icon fix
  * period check/save fix
  * quit dialog fix
  * dialogs use `Document` word
  * tab width fix
  * search error fix (issue #7)
  * searching refactoring
  * don't crash application when vim window failed or formiko icon not found
  * right working with formatting and extensions by mime type
  * right margin settings (issue 36)
  * dark theme renderer support (issue #18)
  * tab_width from ini config file fix (issue #28)
  * upgrade SourceView to version 4

Version 1.4.3

  * cz.zeropage.Formiko application ID fix

Version 1.4.2

  * save_as window fix
  * AppStream metadata

Version 1.4.0

  * man pages
  * words and characters count live info
  * Recommonmark (MarkDown) support with colored code
  * change preview - set paned position fix
  * GTK Warning fix (debian bug #933622)
  * SearchBar and searching text in editor
  * searching text in preview
  * creating backup file before write changes to new one
  * refresh preview action / button
  * opening links in system from preview, known file types open in new formiko
    window
  * preview auto scroll
  * fixing positing in preview only mode
  * preview/editor/both with shortcuts and store in cache
  * edited file change time check

Version 1.3.0

  * spell check support
  * display white chars switch
  * highlighting current line switch
  * printing document output
  * shortcuts dialog

Version 1.2.1

  * fix SIGSEGV - gui threads conflict
  * fix window cache settings
  * min size of editor and preview when both widgets are visible
  * python2 fix

Version 1.2.0

  * vim with working application menu
  * realy disabled accels for vim
  * toggle buttons to on/off editor and preview
  * tabs setting in status bar
  * preferences are save automatical
  * auto indent is switchable
  * showing line numbers is switchable
  * right margin is switchable
  * text wrapping is switchable

Version 1.1.0

  * GTK Version check
  * add accels only for SourceView editor
  * export document as HTML
  * using WebKit2 engine
  * Python 2.x encoding fixies
  * links, images and media urls showen in popup bar
  * JSON preview
  * PEP writer fix
  * only one application menu
  * info for Debian and NetBSD users
  * SourceView editor settings:
     - tab width
     - usinng spaces intead of tabs
     - 80 chars length line visualization
     - periodic saving file

Version 1.0.2

  * Formiko Vim entry point

Version 1.0.1

  * New 1.0.1 release
  * Adding ChangeLog file
  * fix vim editing on empty line at and of file
  * fix file path when application server is running

Version 1.0.0
  * stable version 1.0.0
  * right source distribution
  * desktop integration
  * litle bit fixies
  * application icon from petr simcik
  * final clean code
  * Small fixies from TODO:
  * html preview mode
  * clean text and new version
  * file type detection
  * working MarkDown support with gui
  * user preferences
  * modern Gtk+3 appearance (Menu)
  * opening file for sourceview editor
  * sourceview reading from and saving to files
  * base sourceview version
  * separating code to modules
  * preview mode
  * using Gtk.Application instead of GObject.GObject
  * full working
  * python3 support
  * crashing tread does crash gtk
  * using Gtk+3
  * installable project
  * first based function
