All Versions
3
Latest Version
3.9
Avg Release Cycle
256 days
Latest Release
1927 days ago

Changelog History

  • v3.9 Changes

    September 04, 2019

    768 colors, single-process X11, copy-and-paste for all, and more.

    ๐Ÿ†• New features

    Single-process, single-thread version of the X11 port. Much, much
    โœ… faster than the two-process version. Needs more testing. This version
    ๐ŸŒ omits translations.

    A common copy-and-paste system for all platforms, based on the
    PDC_*clipboard() functions. (This is the first time copy-and-paste is
    available for the SDL ports, and it replaces the old X11-specific
    C&P.) Press and hold button 1 while selecting; paste with button 2.
    โž• Add Shift if mouse events are activated in curses. You can also paste
    via Shift-Ctrl-V, and copy with Shift-Ctrl-C (although selecting
    already sets the buffer). Note that paste is implemented via
    ungetch(), and is currently limited to 256 characters at a time. (You
    can get more via PDC_getclipboard().) With some ports (e.g. Wincon),
    the existing terminal C&P mechanism may override PDCurses'. DOS and
    SDL1 can only C&P within the same app.

    A new maximum of 768 colors, for Wincon, SDL and X11. COLOR_PAIRS is
    still limited to 256. The idea is that each pair can have a unique
    foreground and background, without having to redefine any of the first
    256 (predefined) colors. Colors 256-767 have no initial definitions,
    and are intended to be set via init_color(). An example has been added
    โœ… to testcurs (loosely based on part of newtest, by Bill Gray).

    Wincon now allows redefinition of all 768 colors, and allows it even
    under ConEmu.

    ๐Ÿ‘€ True italics for ConEmu. (It seems it should also support true bold,
    but I couldn't make that work.)

    โž• Added new functions from ncurses and/or NetBSD: has_mouse(),
    is_keypad(), is_leaveok(), is_pad(), set_tabsize(), touchoverlap(),
    ๐Ÿ‘€ underscore(), underend(), wunderscore(), and wunderend(). See the man
    pages for descriptions. Partly due to Karthik Kumar Viswanathan, and
    suggestions of Simon Sobisch.

    ๐Ÿ› Bug fixes and such

    Check for standard C++ (>= 98), where native bool should exist, and use
    that; otherwise (pre-/non-standard C++) fall back to the old behavior.
    Satisfies clang, hopefully doesn't mess anything else up.

    Recent versions of clang throw an error over "-install_name".

    Most curses functions assumed a valid SP (i.e. that initscr() had
    already been called). Now, instead, they return ERR or other
    appropriate values. Suggestion of S.S.

    ๐Ÿ’พ Deprecated PDC_save_key_modifiers() -- there's no benefit to NOT
    saving them.

    โšก๏ธ Hold back screen updates due to palette changes until paused; always
    โšก๏ธ do this update now (previously only in X11 and SDL, seems necessary in
    ๐Ÿ Windows 10 1903).

    ๐Ÿ SDL2 windows were freezing on moving to another screen (reported by
    Mark Hessling). Still issues with moving between screens of different
    scaling.

    Find the X libraries in some additional locations. After M.H.

    0๏ธโƒฃ Converted default X11 icons to XPM, fixing their non-display in Ubuntu.

    ๐Ÿšš Made XIM standard, removed "classic" X11 compose system.

    ๐Ÿ— Made wide-character build the default for X11 (--disable-widec for
    narrow).

    Smoother resizing in X11, when not in scrollbar mode.

    โฌ‡๏ธ Dropped X11 options "borderWidth" (broken since at least 2.7) and
    "cursorColor" (now set automatically for contrast).

    โช Correctly restore Insert mode and QuickEdit mode in Wincon's
    PDC_reset_shell_mode(). Patch by "vyv03354".

    โž• Add a WINDRES variable to wincon/Makefile for the sake of cross-
    compilers. Patch by Marc-Andre Lureau.

    ๐Ÿšš Suppress cursor movement during color tests in testcurs.

    โž• Added UTF-8-demo.txt for tuidemo to browse (by default, only in forced
    UTF-8 mode). File by Markus Kuhn.

    ๐Ÿšš Moved the doc files from "man" to "docs" -- the docs/man thing was too
    ๐ŸŒ confusing. Streamlined the web page into two files.

    Rewrote the "Portability" sections of the man pages to reflect current
    ncurses and NetBSD. The old charts weren't very accurate.

    โฑ Document resolution of timeout() and napms(). Suggested by S.S.

    Rewrote manext (again) in Awk.

    ๐Ÿ”„ Changed most dates to ISO format.

    ๐Ÿ‘€ See the git log for more details.

  • v3.7 Changes

    January 01, 2019

    ๐Ÿ†• New features

    Avoid conflict with ncurses by having apps define PDC_NCMOUSE before
    ๐Ÿ’… including curses.h to invoke the ncurses-style mouse interface,
    instead of NCURSES_MOUSE_VERSION. (The old way will also still work.)
    ๐Ÿ‘€ After Simon Sobisch (see PR #33).

    In SDL, the box-drawing and block ACS characters are now rendered in a
    font-independent way, to ensure their correct alignment across cells.
    Underlining is now handled in a similar way.

    TTF fonts in SDL are now rendered in Blended mode instead of Solid.
    Partly after Joachim de Groot.

    ๐Ÿ†• New default fonts and font sizes for SDL/TTF.

    ๐Ÿ— SDL2 now builds under MSVC. Partly due to Alexandru Afrasinei.

    ๐Ÿ“š Documentation re-org -- more Markdown internal links; moved to man/
    ๐Ÿ“„ dir (the doc/ dir name was too similar to docs/, which is needed for
    GitHub Pages hosting); concatenated man page document now made
    ๐Ÿ— permanent, under the name MANUAL.md; new man build utils; merged
    sdl.md and x11.md into their respective READMEs; changed some
    redundant and unclear comments.

    Directory re-org -- in addition to the above, created common/, to
    unclutter the root, and eliminate a few more redundant files from
    platform directories. (We already had "pdcurses", but that's for the
    portable core; "common" is for files that are more platform-specific,
    though shared by more than one platform.)

    ๐Ÿšš Broke out the redundant ACS tables and moved them to common/.

    PDcurses' "bool" type is now based on stdbool.h, when available. There
    should be no conflicts when including stdbool.h either before or after
    curses.h.

    0๏ธโƒฃ The demos are no longer built by default, since they add a lot of time
    ๐Ÿ— to the build, and often aren't wanted. But you can still build them via
    "make demos" (tweak as needed).

    ๐Ÿ‘‰ Makefile tweaks for cross-compiling by Simon Sobisch.

    ๐Ÿ› Bug fixes and such

    ๐Ÿ‘Œ Improved Windows console resizing, when reducing the vertical size.
    ๐Ÿ‘€ After Ulf Magnusson. (See GitHub issue #26.)

    Bring back ifdef'd CONSOLE_SCREEN_BUFFER_INFOEX, for the benefit of
    older compile environments. (Not automatic -- must specify INFOEX=N on
    ๐Ÿ’ป the command line.) After Simon Sobisch.

    Replaced COMMON_LVB_* with numbers to appease some old compilers.
    After Simon Sobisch.

    KEY_RESIZE should be key_code = TRUE. Reported by Ulf Magnusson.

    ๐Ÿ›  SDL2 resize fixes to prevent crashes, by Tim Hentenarr.

    ๐Ÿ›  SDL2 fixes for handling of SDL_TEXTINPUT, keys with modifiers, and
    modifier keystrokes, by Tim Hentenarr.

    ๐Ÿ›  Fixed cursor rendering in SDL/TTF.

    ๐ŸŽ SDL1 support is now dropped for Windows and macOS, and deprecated for
    ๐Ÿง Linux. Use SDL2. The SDL1 port is likely to be dropped in the future.

    The setsyx() function is now void, after ncurses, and simplified.

    โš  Warning fixes by Patrick Georgi and Stefan Reinauer.

    X11 used SP->resized in a non-boolean way, so it's now a short.

    ๐Ÿ‘€ Under some conditions (see issue #47), the X11 port could "free" colors
    that it hadn't allocated. Reported by rin-kinokocan.

    ๐Ÿ†• New scroller for ozdemo -- no memory allocation, less copying -- to
    resolve issue #46.

    Various minor Makefile tweaks.

    ๐Ÿšš Eliminated term.h and terminfo.c, and moved mvcur() to move.c. These
    stub functions, done on request (with others then requesting that I
    take them away -- can't win), were a misguided attempt to facilitate
    using PDCurses with certain non-C languages -- which, apparently, they
    didn't end up actually doing. They're also, regrettably, specified as
    part of the X/Open curses standard, even though they in effect
    describe an entirely different interface layer (one on which
    traditional curses, but not PDCurses, is built).

    โฌ‡๏ธ Dropped support for short (16-bit) chtypes.

    ๐Ÿšš Finally removed deprec.c, as it promised.

    โฌ‡๏ธ Dropped the XOPEN, SYSVcurses and BSDcurses defines from curses.h, as
    well as NULL (which is defined in stdio.h, included). TRUE, FALSE, ERR
    and OK are now defined unconditionally.

    ๐Ÿšš Moved pdcurses.org hosting to GitHub -- as a result, the site is now
    ๐Ÿ“„ part of the repo, in the docs/ directory. (Also, it has SSL again.)

    ๐Ÿ‘€ See the git log for more details.

  • v3.6 Changes

    April 11, 2018

    Tidying up some loose ends from 3.5, and trying to bring all platforms
    up to the same level, as much as possible.

    ๐Ÿ†• New features

    ๐Ÿ 256 colors for the Windows console -- under Windows 10 or ConEmu,
    only. This version doesn't allow init_color() or color_content() for
    ๐Ÿ colors 16-255, just uses Windows' predefined palette (which matches
    0๏ธโƒฃ xterm-256color, like the default colors in X11 and SDL).

    ๐Ÿ Real blinking for the Windows console (all), and for OS/2 -- done in
    ๐Ÿ software, like the Windows version -- replacing the erraticly working
    Vio-based version (which didn't work at all in my OS/2 4.5 VM). OS/2
    now always has 16 colors, and bright backgrounds can combine with
    blinking.

    ๐Ÿ In DOS, OS/2 and Windows, attribute behavior now more closely matches
    ๐Ÿ‘€ that of the more "advanced" ports (X11 and SDL) -- see the Attribute
    โœ… test in testcurs.

    All of the A_* and WA_* attributes from X/Open are now defined in
    curses.h, although some are no-ops, pending the availablity of more
    attribute bits. A_INVIS is now a no-op on all platforms, instead of
    overloading A_ITALIC, and so is A_PROTECT. A_LEFT and A_RIGHT are now
    synonyms for PDCurses' old *LINE attributes.

    ๐Ÿ› Bug fixes and such

    ๐Ÿ— For the X11 port, "make install" and the dynamic library build were
    ๐Ÿ”ง broken, since the configure move. Fixes partly after Mark Hessling.

    ๐Ÿ“‡ Renamed "win32" to the more accurate/descriptive "wincon" (i.e.
    ๐Ÿ WINdows CONsole). Makefiles for all platforms renamed to remove the
    ๐Ÿ‘ redundant platform names, and to allow better sorting.

    In SDL2, apps that didn't explicitly handle resizing locked up. Now,
    they can continue running, at their old size. (To Do: xmas is still a
    basket case.)

    โž• Added "/MACHINE:$(PLATFORM)" to wincon/Makefile.vc -- Thomas Dickey
    ๐Ÿ— says this is needed to build 64-bit with Visual Studio Express 2012.
    โš  With 2017, it suppresses a warning.

    โš  Suppressed "Possibly incorrect assignment" warnings with BCC, which
    also results in more readable code.

    โœ๏ธ Cleaned up obsolete comments, dead code, unneeded includes, typos, and
    ๐Ÿ“š outdated documentation.

    โฌ‡๏ธ Dropped support for EMXVIDEO.

    โฌ‡๏ธ Dropped color remapping for OS/2 (broken).

    โฌ‡๏ธ Dropped X11 DLL support for Cygwin (broken).

    โœ… Rearranged extended color display in testcurs.

    โœ… In ptest, handle resizing, and check for screens too small to run in.

    Allow KEY_* codes (including KEY_RESIZE) to exit firework, as other
    keys do.

    ๐Ÿ Slightly faster Windows compilation (most noticeable in Watcom).

    ๐Ÿ‘€ See the git log for more details.