Commit Graph

21 Commits

Author SHA1 Message Date
lukem 1098edc01a Ensure widestItem is initialized in setCDKSwindowContents() before use.
Detected by gcc -Wuninitialized.
2005-06-01 11:51:11 +00:00
dsl 31d993f26a Use (unsigned char) not & 0xff on args to ctype functions 2004-10-28 20:52:20 +00:00
dsl 0cb35e8cae Mask 'char' arguments to ctype functions with 0xff, an (int) cast doesn't
solve the problem of charcter codes 0x80..0xff
2004-10-27 20:26:26 +00:00
simonb ff04be0dcd Remove unused (and completely bogus) SYSTEM_NAME define from
include/cdk_config.h
2004-04-26 05:15:17 +00:00
simonb f8d7121559 Remove ./configure droppings. 2004-04-26 05:09:22 +00:00
wiz 3f41daaf5b Add patch to handle tabs correctly, from Peter Postma.
Closes my PR 16936.
2004-04-05 10:21:23 +00:00
christos a30cb1573a PR/17595: Peter Postma: SIGSEGV+SIGBUS handler calls functions that are not
async-signal-safe. Remove the handlers.
2004-04-02 16:11:17 +00:00
agc 8fcc4625a4 Use bounded string op (snprintf instead of sprintf) for an automatic
array which is used to calculate the maximum width of a scroll entry
item.  Previous use of sprintf would blindly overwrite the stack if
there were more than 100 characters in an entry item.
2003-08-28 11:32:33 +00:00
wiz 83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
wiz bf37d79146 Fix some typos, noted in PR 19651. 2003-01-04 00:37:17 +00:00
wiz b4371d47f5 Replace some misuses of "then" with "than". 2001-12-04 17:56:30 +00:00
wiz c52d355d71 "wierd" is weird. 2001-08-20 12:20:01 +00:00
tron bb87fe99b0 Correct section numbers: we don't have "3X", use "3" instead. 2001-04-08 14:13:38 +00:00
wiz 14dbdf5518 Negative exit code cleanup: Replace exit(-x) with exit(x).
As seen on tech-userlevel.
2001-04-06 11:13:45 +00:00
garbled 50a5e07cd6 Add doupdate() call to drawCDKLabel so the widget actually appears on the
screen.
2001-01-24 08:50:36 +00:00
garbled 12a0ea436c Fix a problem in these widgets where they uncondititonally set the
exitType to either vEARLY_EXIT, or vESCAPE_HIT when returning from a bound
function.  This had the unfortunate effect that when you hit F2 to refresh
the screen in sushi, it would exit out immediately after refreshing the
screen.

This modification allows the programmer to still create an exit-causing
bound function, by simply setting the exitType in the function, as was likely
intended by the author.  Many thanks to Charles Hannum for helping me figure
this out.

This should fix problems noted by itojun on tech-userlevel with the function
keys.
2001-01-09 18:41:53 +00:00
garbled 323dece9e0 Fixup all these includes so a -I/usr/include/cdk isn't required. 2001-01-05 01:11:34 +00:00
thorpej c792f5941a Remote a binary that was accidentally imported. 2001-01-04 22:09:58 +00:00
garbled b5243a9f8d Add KEY_CR to make up for KEY_ENTER being overridden by curses.h 2001-01-04 20:17:01 +00:00
garbled 619eef692f Patches to allow CDK to compile cleanly, and add KEY_CR, because curses.h
overrides the KEY_ENTER define in curdefs.h
2001-01-04 20:15:29 +00:00
garbled 5940edcfb4 Initial import of CDK 4.9.9. The work to port this was performed by
Charles Hannum, and that is the version being imported:
cdk-4.9.9-20000407-myc3
2001-01-04 19:57:58 +00:00