medit (1.3.4) unstable; urgency=low

  * Add a language server client, built the way the ctags plugin is. It ships
    switched off and is turned on in Preferences / Plugins. Diagnostics
    underlined in the text, marked in the gutter and listed in an output pane;
    a document symbol tree; go to definition on F12 and from the context menu;
    hover documentation; completion on Ctrl+Space. The server list lives in
    lsp.xml and is edited through Tools / LSP Servers, and the copy written on
    first use is a worked example for clangd, gopls, pylsp and rust-analyzer.
    This adds a build dependency on libjson-glib-dev, and suggests clangd,
    python3-pylsp and gopls.
  * Replace the syntax highlighting definitions with gtksourceview 5.20.0's.
    The copy in the tree came in with 1.2.92 in 2017; the refresh adds 52
    languages, TOML, TypeScript, Zig, Nix, Dart, Elixir, Groovy, Terraform,
    Docker, SCSS, Less, Fish and PowerShell among them, and nine years of
    corrections to the rest -- fenced code blocks in Markdown, raw string
    literals in C++, the *.glsl and *.sgml globs. The bundled style schemes
    gained the markup styles the newer definitions ask for.
  * Point Help / Help at the project page and drop the bundled manual, which
    described the python and Windows era of medit.
  * Fix the window title lagging a document behind after a tab was closed.
  * Fix a line mark added to a view that was not realized yet never getting
    its gutter icon.
  * Fix the class_init signature MOO_DOC_PLUGIN_DEFINE declares, which
    -Wcast-function-type reports.

 -- Anton Batenev <antonbatenev@yandex.ru>  Sun, 06 Sep 2026 13:40:00 +0300

medit (1.3.3) unstable; urgency=low

  * Bring back the terminal pane, which was a python plugin on top of the GTK+2
    vte and went away with python. It is a builtin plugin over vte-2.91 now:
    the same shell, the same ten color schemes and context menu, plus a Tools
    menu entry bound to Ctrl+` and a preferences page for the shell, the font
    and the scheme.
  * Build against GTK+3 by default, and make the medit metapackage install
    medit-gtk3. A system already on medit-gtk2 stays there; -DGTK_VERSION=2
    still builds against GTK+2, which has no terminal pane because vte dropped
    GTK+2 in 0.30.
  * Add packaging for Fedora (rpm/medit.spec) and Arch (arch/PKGBUILD).
  * Fix the About and Credits dialogs coming up untranslated: the glade era
    left msgids the plain C code no longer asks for, in every catalog.
  * Fix the warnings gcc 14 and LTO report.

 -- Anton Batenev <antonbatenev@yandex.ru>  Sat, 05 Sep 2026 23:00:00 +0300

medit (1.3.2) unstable; urgency=low

  * Build the dialogs with GtkBuilder. The interfaces are .ui files inside the
    resource bundle now, which retires tools/glade2c.py and the hand written
    libglade parser it fed — 3341 lines of our own code replaced by what gtk
    has shipped since 2.12.
  * Take the menu descriptions and the credits text from the resource bundle as
    well. With that the build needs no python at all: the generators under
    tools/ and api/ are gone, and python3 is out of the build dependencies.
  * Compress the resources: 711 KB of interface descriptions become 134 KB.
  * Fix a crash when opening the user tools preferences page, and give every
    GtkBuilder an owner — eleven of them were leaked, seven on every call of
    the dialog they belonged to.

 -- Anton Batenev <antonbatenev@yandex.ru>  Fri, 05 Sep 2026 20:00:00 +0300

medit (1.3.1) unstable; urgency=low

  * Replace autotools with CMake. The build is out of source, so a gtk-2 and a
    gtk-3 build directory can live side by side; the set of installed files is
    unchanged.
  * Split the package in three: medit is now a metapackage depending on
    medit-gtk2 | medit-gtk3, and those two carry the actual builds. They are
    mutually exclusive, so a system runs whichever gtk version its user picked.
  * Fix the pkg-config name asked for by GTK_VERSION=4 (gtk4, not gtk+-4.0),
    and point README at the git repository instead of a mercurial checkout.

 -- Anton Batenev <antonbatenev@yandex.ru>  Sat, 05 Sep 2026 13:00:00 +0300

medit (1.3.0) unstable; urgency=low

  * Port to GTK+3. medit now builds and runs against gtk-3.24 while still
    building against gtk-2.24; GTK_VERSION=3 selects the gtk-3 build, gtk-2
    stays the default. Both builds were verified.
  * Drop the platform code that is not supported any more: windows, macos
    and darwin, along with the python and lua bindings, the html widget and
    the tests. The about, credits and license dialogs are plain C now
    instead of glade.
  * Move the sources under src/, switch to -std=gnu17 and remove ~2000 lines
    of dead code.

 -- Anton Batenev <antonbatenev@yandex.ru>  Fri, 04 Sep 2026 22:35:00 +0300

medit (1.2.92) unstable; urgency=low

  * Release 1.2.92 from original source code from
    <https://sourceforge.net/projects/mooedit/files/medit/1.2.92/>
    released at 2017-11-12, upstream repo was deleted, see also
    <https://sourceforge.net/p/mooedit/discussion/571682/thread/87dbc94e/>.
  * Convert python scripts to python3 support, see also
    <https://github.com/fangq/mooedit>
    thanks to Qianqian Fang <fangqq@gmail.com>.
  * Update Russian translation, see also:
    <https://sourceforge.net/p/mooedit/bugs/197/>
    thanks to Olesya Gerasimenko <gammaray@basealt.ru>.
  * Fix SIGSEGV program crash in settings widget, see also
    <https://sourceforge.net/p/mooedit/bugs/193/>
    thanks to Alexey Dokuchaev.
  * Change package name to 'medit' instead 'mooedit' (like in debian repo).
  * Add debianisation again.

 -- Anton Batenev <antonbatenev@yandex.ru>  Fri, 21 Jul 2023 09:06:32 +0300
