From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111715 invoked by alias); 14 May 2015 00:12:52 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 111706 invoked by uid 89); 14 May 2015 00:12:51 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-qg0-f44.google.com Received: from mail-qg0-f44.google.com (HELO mail-qg0-f44.google.com) (209.85.192.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 14 May 2015 00:12:49 +0000 Received: by qgg76 with SMTP id 76so3979925qgg.3 for ; Wed, 13 May 2015 17:12:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=VE2cV8FbSHD2yiGYihdrohgxr3VB8AK+Q5d/hM/aKMM=; b=nCu8pPgDO41F635+WZkW8lstAAcULIOPTPNZINM0nwoI3RavSYtY8QfD8BRUSZnv2x A6vyyYfYrnRi7tWN7Jj3gbrPjJrrpi1lpT89OQEGW58Z2dtC4Wh6WhRSRLvg8tCud3Tk pQPvlwO9nBg9LwDxt/OGR6n/igNNOBbnkBGQ4d67Y/mcs8p0f6NegEjPGyhC8zJKBY+B 1P45moSH7aONHa+ikjkTBBWbbgXZoGdvoeQlPLzfkgoIaVTRYntYe8/mGeJT5uFDujNZ YxpE0FqGiE0o6j3XUFdaa1I+VWErXC31KLJBL3BO7dpLQ4RYnhktstYU1f+6gCxHBHqz hmFw== X-Gm-Message-State: ALoCoQm10uSoYMBcbmlFyz4db2wmF2KEgldpW7p2vASfmow1jqn+7jaoHl+vw5/KtYlKbsV2DBZV X-Received: by 10.55.41.170 with SMTP id p42mr3303659qkp.106.1431562366601; Wed, 13 May 2015 17:12:46 -0700 (PDT) Received: from localhost.localdomain (ool-4353acd8.dyn.optonline.net. [67.83.172.216]) by mx.google.com with ESMTPSA id e5sm16724718qkh.19.2015.05.13.17.12.45 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 May 2015 17:12:45 -0700 (PDT) From: Patrick Palka To: gdb-patches@sourceware.org Cc: jan.kratochvil@redhat.com, Patrick Palka Subject: [PATCH] [RFC] Sync readline to version 6.3 patchlevel 8 Date: Thu, 14 May 2015 00:12:00 -0000 Message-Id: <1431562331-20448-1-git-send-email-patrick@parcs.ath.cx> X-SW-Source: 2015-05/txt/msg00352.txt.bz2 This patch syncs our upstream copy of readline to version 6.3 patchlevel 8. I basically copied what was done when Jan updated to readline 6.2 in 2011: http://sourceware.org/ml/gdb-patches/2011-05/msg00003.html Specifically, I: 1. Extracted the readline 6.3 tarball on top of readline/ 2. Applied patches 1-8 from ftp://ftp.cwru.edu/pub/bash/readline-6.3-patches/ 3. Omitted all the files in doc/ that were intentionally omitted before. 4. Regenerated readline/configure and readline/examples/rlfe/configure using autoconf 2.64. No other configure files needed regenerating. 5. Reapplied the only local patch since the update to readline 6.2 that has not already been applied to readline 6.3, 05942d8a1 ("Fix executable indicator in file name completeion on Windows."). This particular patch has been applied upstream but readline 6.3 does not have it. Whether or not a local patch has already been applied to readline 6.3 was determined via manual inspection. (Wasn't too bad really.) The new files to make it into the tree are: colors.{c,h} configure.ac parse-colors.{c,h} examples/hist_erasedups.c examples/hist_purgecmd.c Deleted files: configure.in I've been using this patch locally for a few months now and I've experienced only a single regression which has already been preemptively fixed by 8900d71e3 ("Explicitly call rl_resize_terminal() in TUI's SIGWINCH handler"). Other than that, no issues in either the CLI or the TUI, or changes in the testsuite. Though I have only been able to test this patch on Linux. Have I missed anything? What else should be done in order to sync our copy of readline? Unlike the last sync from 5.1 to 6.2, this sync to 6.3 is quite minor and hopefully painless. Because the commit is so big and so mechanical I elected to create a branch users/ppalka/readline-6.3-update where you can view/test the change. readline/ChangeLog.gdb: Import readline 6.3 and upstream patches 1-8. * configure: Regenerate. * examples/rlfe/configure: Regenerate. * complete.c: Reapply previous change. --- readline/CHANGELOG | 129 ++ readline/CHANGES | 139 ++ readline/ChangeLog.gdb | 7 + readline/INSTALL | 2 +- readline/MANIFEST | 9 +- readline/Makefile.in | 63 +- readline/NEWS | 66 +- readline/README | 11 +- readline/aclocal.m4 | 34 +- readline/bind.c | 208 +- readline/callback.c | 44 +- readline/chardefs.h | 2 +- readline/colors.c | 251 +++ readline/colors.h | 122 ++ readline/complete.c | 378 +++- readline/config.h.in | 19 +- readline/configure | 208 +- readline/configure.ac | 303 +++ readline/configure.in | 304 --- readline/display.c | 347 ++-- readline/doc/Makefile.in | 3 + readline/doc/history.3 | 15 +- readline/doc/history.texi | 26 +- readline/doc/hstech.texi | 4 +- readline/doc/hsuser.texi | 34 +- readline/doc/readline.3 | 89 +- readline/doc/rlman.texi | 27 +- readline/doc/rltech.texi | 210 +- readline/doc/rluser.texi | 228 ++- readline/doc/rluserman.texi | 27 +- readline/doc/texi2dvi | 4 +- readline/doc/texi2html | 6 +- readline/doc/version.texi | 12 +- readline/emacs_keymap.c | 6 - readline/examples/Makefile.in | 33 +- readline/examples/excallback.c | 7 +- readline/examples/hist_erasedups.c | 121 ++ readline/examples/hist_purgecmd.c | 151 ++ readline/examples/readlinebuf.h | 6 +- readline/examples/rl-callbacktest.c | 87 + readline/examples/rlfe/config.h.in | 6 +- readline/examples/rlfe/configure | 3862 +++++++++++++---------------------- readline/examples/rlfe/configure.in | 6 +- readline/examples/rlfe/extern.h | 2 +- readline/examples/rlfe/os.h | 8 +- readline/examples/rlfe/rlfe.c | 9 +- readline/examples/rlptytest.c | 6 +- readline/funmap.c | 5 +- readline/histexpand.c | 70 +- readline/histfile.c | 62 +- readline/history.c | 8 +- readline/history.h | 2 +- readline/input.c | 71 +- readline/isearch.c | 128 +- readline/macro.c | 38 +- readline/mbutil.c | 11 +- readline/misc.c | 41 +- readline/nls.c | 35 +- readline/parse-colors.c | 440 ++++ readline/parse-colors.h | 46 + readline/patchlevel | 2 +- readline/posixdir.h | 14 +- readline/posixjmp.h | 2 + readline/readline.c | 153 +- readline/readline.h | 36 +- readline/rlconf.h | 12 +- readline/rldefs.h | 10 +- readline/rlmbutil.h | 9 + readline/rlprivate.h | 35 +- readline/rlstdc.h | 12 + readline/rltty.c | 10 +- readline/rltypedefs.h | 11 +- readline/search.c | 91 +- readline/shell.c | 46 +- readline/shlib/Makefile.in | 81 +- readline/signals.c | 122 +- readline/support/config.guess | 587 +++--- readline/support/config.rpath | 0 readline/support/config.sub | 332 ++- readline/support/mkdist | 15 +- readline/support/shlib-install | 9 +- readline/support/shobj-conf | 71 +- readline/terminal.c | 57 +- readline/text.c | 7 +- readline/undo.c | 45 +- readline/util.c | 83 +- readline/vi_keymap.c | 1 - readline/vi_mode.c | 133 +- readline/xfree.c | 7 - readline/xmalloc.h | 3 - 90 files changed, 6578 insertions(+), 4016 deletions(-) create mode 100644 readline/colors.c create mode 100644 readline/colors.h create mode 100644 readline/configure.ac delete mode 100644 readline/configure.in create mode 100644 readline/examples/hist_erasedups.c create mode 100644 readline/examples/hist_purgecmd.c create mode 100644 readline/examples/rl-callbacktest.c create mode 100644 readline/parse-colors.c create mode 100644 readline/parse-colors.h mode change 100755 => 100644 readline/support/config.guess mode change 100755 => 100644 readline/support/config.rpath mode change 100755 => 100644 readline/support/config.sub mode change 100755 => 100644 readline/support/shobj-conf