diff options
Diffstat (limited to 'src/cdk.patch')
-rw-r--r-- | src/cdk.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/cdk.patch b/src/cdk.patch index 19fe4464..d2d57c7e 100644 --- a/src/cdk.patch +++ b/src/cdk.patch @@ -1,3 +1,39 @@ +CDK changes: + +Exclude the following source files: alphalist.c, button.c, calendar.c, +cdk_compat.{c,h}, cdk_params.c, cdk_test.h, debug.c, dialog.c, {d,f}scale.{c,h}, +fslider.{c,h}, gen-scale.{c,h}, get_index.c, get_string.c, graph.c, histogram.c, +marquee.c, matrix.c, menu.c, popup_dialog.c, position.c, radio.c, scale.{c,h}, +swindow.c, template.c, u{scale,slider}.{c,h}, view_{file,info}.c, and viewer.c. + +binding.c utilizes libtermkey for universal input. + +cdk.h does not #include matrix.h, viewer.h, and any headers labeled +"Generated headers" due to their machine-dependence, except for slider.h. It +also #defines "boolean" as "CDKboolean" on Windows platforms since the former is +already a typedef. + +cdk_config.h no longer defines HAVE_SETLOCALE since Textadept handles locale +settings, no longer defines HAVE_NCURSES_H and NCURSES since Textadept supports +multiple curses implementations (not just ncurses), conditionally enables +HAVE_GRP_H, HAVE_LSTAT, and HAVE_PWD_H definitions on *nix platforms since +Windows does not have them, and explicitly undefines NCURSES_OPAQUE since newer +versions of ncurses on macOS define it. + +cdk_util.h #defines "Beep" as "CDKBeep" on Windows platforms since Windows +already defines Beep. + +The "baseName" and "dirName" functions in cdk.c recognize Window's '\' +directory separator. + +Deactivated the "deleteFileCB" function in fselect.c. + +Removed some of CDK's initial screen handling code. + +cdk.c has some basic UTF-8 handling functions and draw.c, entry.c, and +itemlist.c use them for UTF-8 drawing and character handling. (Note: mentry.c +cannot handle UTF-8.) + diff -r c40f79827990 binding.c --- a/binding.c Sun Nov 23 16:42:21 2014 -0500 +++ b/binding.c Sun Nov 23 16:45:38 2014 -0500 |