Skip to content

PDCurses 3.2 - 2007-06-06

Compare
Choose a tag to compare
@wmcbrine wmcbrine released this 11 Apr 14:11
· 924 commits to master since this release

This release mainly covers changes to the build process, along with a
few structural changes.

New features:

  • The panel library has been folded into the main library. What this
    means is that you no longer need to specify "-lpanel" or equivalent
    when linking programs that use panel functionality with PDCurses;
    however, panel.lib/.a is still provided (as a copy of pdcurses.lib/.a)
    so that you can, optionally, build your projects with no changes. It
    also means that panel functionality is available with the DLL or
    shared library. Note that panel.h remains separate from curses.h.

  • Setting the PDCURSES_SRCDIR environment variable is no longer required
    before building, unless you want to build in a location other than the
    platform directory. (See INSTALL.)

  • MinGW and Cygwin makefiles support building DLLs, via the "DLL=Y"
    option. Partly due to Timofei Shatrov.

  • Support for the Digital Mars compiler.

  • Watcom makefiles now use the "loaddll" feature.

Bug fixes and such:

  • Eliminated the platform defines (DOS, WIN32, OS2, XCURSES) from
    curses.h, except for X11-specific SCREEN elements and functions.
    Dynamically-linked X11 apps built against an old version will have
    their red and blue swapped until rebuilt. (You can define PDC_RGB to
    build the library with the old color scheme, but it would also have to
    be defined when building any new app.) Any app that depends on
    PDCurses to determine the platform it's building on will have to make
    other arrangements.

  • Documentation cleanup -- added more details; removed some content that
    didn't apply to PDCurses; moved the doc-building tool to the doc
    directory; changed *.man to *.txt.

  • The EMX makefile now accepts "DLL=Y", builds pdcurses.dll instead of
    curses.dll, builds either the static library or the DLL (not both at
    once), and links all the demos with the DLL when building it.

  • In Win32, read the registry only when needed: when init_color() or
    color_content() is called, instead of at startup.

  • A few additional consts in declarations.

  • The Win32 compilers that build DLLs now use common .def files.

  • panel.h functions sorted by name, as with other .h files; curses.h is
    no longer included by repeated inclusions of panel.h or term.h.

  • Simplified Borland makefiles.

  • Makefile.aix.in depended on a file, xcurses.exp, that was never there.
    This problem was fixed as part of the change to common .def files;
    however, I still haven't been able to test building on AIX.