aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-08-14 00:18:53 -0400
committerGravatar mitchell <70453897+667e-11@users.noreply.github.com>2020-08-14 00:18:53 -0400
commit67ff8634b57968e5734fe4e3b0f63248caa6917f (patch)
tree53afb9e536e916e51b18d1b1593f462a75bf6ebd
parent44e229dd9b4b4f461f5ff6a8bef941844335c378 (diff)
Describe changes in patch files.
-rw-r--r--src/cdk.patch36
-rw-r--r--src/lua.patch8
-rw-r--r--src/pdcurses.patch7
-rw-r--r--src/scintilla.patch10
-rw-r--r--src/termkey.patch6
5 files changed, 64 insertions, 3 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
diff --git a/src/lua.patch b/src/lua.patch
index 7c31c9d5..f9f76cfb 100644
--- a/src/lua.patch
+++ b/src/lua.patch
@@ -1,3 +1,11 @@
+Lua changes:
+
+LUA_ROOT is "/usr" instead of "/usr/local".
+
+LUA_PATH and LUA_CPATH do not have "./?.lua" and "./?.so" in them.
+
+Added os.spawn() for spawning and interacting with asynchronous processes.
+
diff -r 8a23edc91533 src/luaconf.h
--- a/src/luaconf.h Mon Jan 12 18:57:53 2015 -0500
+++ b/src/luaconf.h Mon Jan 12 23:50:08 2015 -0500
diff --git a/src/pdcurses.patch b/src/pdcurses.patch
index d22b3d10..4a5a9538 100644
--- a/src/pdcurses.patch
+++ b/src/pdcurses.patch
@@ -1,3 +1,10 @@
+PDCurses changes:
+
+Remap Alt-modified keys to emit their usual key codes so Textadept can handle
+them like ncurses.
+
+Support more Alt and Shift+Alt keys.
+
--- a/wincon/pdckbd.c 2019-09-04 16:08:02.000000000 -0400
+++ b/wincon/pdckbd.c 2020-02-07 16:00:29.000000000 -0500
@@ -100,16 +80,16 @@
diff --git a/src/scintilla.patch b/src/scintilla.patch
index e5b76b97..9a525ae0 100644
--- a/src/scintilla.patch
+++ b/src/scintilla.patch
@@ -1,4 +1,11 @@
+Scintilla changes:
+
Only link the LPeg lexer.
+
+Hijack SCI_LOADLEXERLIBRARY for programmatically setting input method.
+This is helpful on newer versions of macOS, where changing the input method is
+flaky.
+
--- a/src/Catalogue.cxx Fri Dec 06 16:19:52 2013 +1100
+++ b/src/Catalogue.cxx Sun Dec 15 21:21:20 2013 -0500
@@ -74,6 +74,7 @@
@@ -18,9 +25,6 @@ Only link the LPeg lexer.
return 1;
}
-Hijack SCI_LOADLEXERLIBRARY for programmatically setting input method.
-This is helpful on newer version of Mac OSX, where changing the input method is
-flaky.
diff -r 6e368ee248e4 gtk/ScintillaGTK.cxx
--- a/gtk/ScintillaGTK.cxx Fri Oct 26 11:06:34 2018 -0400
+++ b/gtk/ScintillaGTK.cxx Sun Nov 25 00:20:58 2018 -0500
diff --git a/src/termkey.patch b/src/termkey.patch
index 3a1db0c4..efff61ac 100644
--- a/src/termkey.patch
+++ b/src/termkey.patch
@@ -1,3 +1,9 @@
+libtermkey changes:
+
+Added Win32 PDCurses driver.
+
+Prevent ^C from interrupting.
+
diff -r 49c8684413c0 driver-win32-pdcurses.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/driver-win32-pdcurses.c Tue Dec 23 13:31:50 2014 -0500