medit (1.3.6-1) unstable; urgency=low

  * version number update by debtransform

 -- debtransform <build@opensuse.org>  Wed, 09 Sep 2026 16:05:35 +0000

medit (1.3.6) unstable; urgency=low

  * Fix the scroll arrows of an overfull document tab strip, which were drawn
    a pixel high in the corner of the notebook and would not scroll it.
  * Fix closing a document in a background tab, which moved the window to a
    third document instead of leaving the view alone.
  * Fix the bookmarks in the Document menu, whose entries were offset by a row
    whenever a bookmark had been added or removed since the menu was built.
  * Fix Preferences / Tools, where picking a type for a new tool showed no
    settings, and the two tabs of the page read an untranslated context.
  * Test what a user does: 124 UI tests against the accessibility bus, and 70%
    of the lines covered over both toolkits, gated in CI.

 -- Anton Batenev <antonbatenev@yandex.ru>  Wed, 09 Sep 2026 18:57:56 +0300

medit (1.3.5) unstable; urgency=low

  * Read all 53 blocks the GTK+3 port left marked as unreviewed against the
    GTK+2 code beside them, and fix the 19 defects they named.
  * Fix the file selector's icon view, which is its default view and could not
    be scrolled: a directory with more files than fit offered no way to reach
    the rest of them.
  * Fix the splitter between a pane and the document, and the line beside the
    pane buttons, neither of which was drawn.
  * Fix a document tab being dragged showing uninitialised memory instead of a
    picture of itself, and the invisible outline of where a dragged pane would
    land.
  * Fix New File in the file selector, dead since the port along with Save As:
    the two dialogs share a .ui file and had given their entries the same id,
    which a GtkBuilder refuses, and then builds none of the file.
  * Offer Open in the file selector's menu for a single file, where it had
    appeared only for a selection of more than one.
  * Fix Go to Definition from the context menu asking the language server about
    the wrong place when the line numbers are on.
  * Fix the empty shortcut column in the file view's menus, the pane button
    icons not reacting to the pointer, and the expander of a tree view drawn
    grey and two pixels wide.
  * Let the terminal's and the language server client's commands be rebound in
    Configure Shortcuts, under a heading per plugin, and translate both into
    all ten catalogs.

 -- Anton Batenev <antonbatenev@yandex.ru>  Tue, 08 Sep 2026 17:01:08 +0300

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
