Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6194 - just a new version of the cdk library of curses widgets
Summary: just a new version of the cdk library of curses widgets
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Nick Hadaway
URL: http://dickey.his.com/cdk/cdk.html
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-08 03:27 UTC by Bjarke Sørensen
Modified: 2003-04-04 01:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
A new version of cdk (cdk-4.9.10.20020727.ebuild,724 bytes, text/plain)
2002-08-08 03:29 UTC, Bjarke Sørensen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bjarke Sørensen 2002-08-08 03:27:45 UTC
+ several changes to make destroyCDKScreenObjects() and
  destroyCDKScreen() actually work (needed for perlcdk):
  + record all objects and screens created/destroyed, in cdkscreen.c
  + reimplement destroyCDKObject() by a function _destroyCDKObject(),
    which first does an erase for the given object, then calls the
    destroy method, and finally frees the object.
  + add a check in each erase-method to ensure that the object is still
    valid.
+ add check in setCDKGraphValues() to ensure that X and Y scales are
  nonzero, since they are used as denominators.  This makes perlcdk's
  graph example work.
+ add configure check for curses feature which would allow one to move
  a subwindow, or (in the case of NetBSD curses) at least compile.
+ add configure check and fallback for addchnstr() to accommodate
  NetBSD's partial implementation of curses.
+ move version information to VERSION file.
+ add --with-libtool configure option
+ make most wgetch() calls use the object's inputWindow via the
  getcCDKObject() function.
+ improve type-checking and array-limits in cdkscreen.c
+ remove cdktype member from CDKSCREEN since it is redundant.
+ eliminate several fixed-buffers with new function writeBlanks().
+ interpret home/end keys in entry widget.
+ warn about special keys such as insert which are not recognized in
  alphalist, entry, matrix, mentry, template (it was using the low 8
  bits of those, inserting that).
+ rewrote/simplified dirName().
+ rewrote/simplified baseName().
+ eliminate fixed-size buffers in fselect.c
+ correct a couple of places where fselect.c freed constant memory.
+ correct an unterminated string in fselect.c tilde-expansion, and use
  $HOME if no account name is given.
+ simplified several functions using mvhline(), mvvline() and
  mvaddchnstr().
+ add vFSCALE as a valid object type in cdkscreen.c
+ modify moveCursesWindow(), which did not work with ncurses after
  2000/9/15 changes to use mvwin() in preference to directly modifying
  the _begx/_begy members of WINDOW.  That made position_ex not work.
  The change was originally for NetBSD's curses implementation which
  does not move derived windows properly anyway.
+ simplify calls to moveCursesWindow() by moving null-pointer check
  inside that function.
+ change tab-expansion in char2Chtype() to expand based on the current
  length of the string rather than always to 8 columns.
+ correct limit-checks in stripWhiteSpace()
+ interpret back-tab in buttonbox.c and dialog.c inject-methods for
  symmetry with tab.
+ corrected return-values of button, matrix, scale widgets to match
  documentation as well as to conform with other widgets.
+ reorganized inject methods (which may return data of different types)
  to return the actual data in an area of the widget, and defined macros
  to preserve source-compatibility.
+ rewrote initCDKColor() to check if color is available before trying
  to initialize it, and to use the terminal's actual number of colors
  in making color pairs.
+ use 2-digit fields in bind_ex.c for time, date.
+ modify matrix.c to add borderSize before the column titles, to
  match the change to box layout.
+ modify matrix_ex.c to consistently center row-titles.  Some were
  centered, some were right- and some left-justified.  The change to
  justifyString() produced an odd effect.
+ add functions
    CDKVersion()
    chtype2String().
Comment 1 Bjarke Sørensen 2002-08-08 03:29:04 UTC
Created attachment 2918 [details]
A new version of cdk

Here is the new ebuild.
Comment 2 Bjarke Sørensen 2002-08-08 16:05:25 UTC
Uhm, actually it just needs a new name since the old ebuild was done really well.
That's "cdk-4.9.10.20020727.ebuild"

Sorry.
Comment 3 Maik Schreiber 2003-01-17 17:41:18 UTC
Bouncing back to bug-wranglers due to time constraints.
Comment 4 Nick Hadaway 2003-02-05 15:03:07 UTC
cdk-4.9.10.20020809 has been added to portage.  Please test.
Comment 5 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:21:32 UTC
db fix
Comment 6 John Davis (zhen) (RETIRED) gentoo-dev 2003-04-04 01:26:24 UTC
db fix