Skip to content

Commit

Permalink
[WIP] Release 1.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed May 28, 2019
1 parent dc0e60e commit ca3c108
Show file tree
Hide file tree
Showing 24 changed files with 60 additions and 2,236 deletions.
46 changes: 46 additions & 0 deletions compute-lispdir.sh
@@ -0,0 +1,46 @@
#!/bin/bash
# Figures out a reasonable --prefix
typeset -i rc=0
typeset -i DEBUG=${DEBUG:-0}
EMACS_PROG=${EMACS_PROG:-emacs}
list=$($EMACS_PROG --batch --no-splash --no-site-file --eval '(message (substring (format "%s" load-path) 1 -1))' 2>&1)
rc=$?
if (( rc != 0 )) ; then
echo >&2 "Something went wrong running $EMACS_PROG"
exit $rc
$cmd
fi
for dir in $list ; do
if [[ -d $dir ]] ; then
case $dir in
*/emacs/site-lisp)
((DEBUG)) && echo "site lisp: $dir"
echo "$dir"
exit 0
;;
esac
fi
done
for dir in $list ; do
if [[ -d $dir ]] ; then
case $dir in
*/emacs/2[5-8]\.[0-9]/site-lisp)
((DEBUG)) && echo "versioned site lisp: $dir"
echo "$dir"
exit 0
;;
esac
fi
done
for dir in $list ; do
if [[ -d $dir ]] ; then
case $dir in
*/emacs/2[5-8]\.[0-9]/site-lisp)
((DEBUG)) && echo "versioned site lisp: $dir"
echo "$dir"
exit 0
;;
esac
fi
done
exit 0
10 changes: 4 additions & 6 deletions configure.ac
@@ -1,5 +1,5 @@
dnl FIXME: pick up from realgud.el
AC_INIT(emacs-realgud, 1.4.8,)
AC_INIT(emacs-realgud, 1.5.0,)
AC_CONFIG_SRCDIR(realgud.el)
AM_INIT_AUTOMAKE([foreign])
AM_MAINTAINER_MODE
Expand All @@ -10,9 +10,9 @@ AC_ARG_WITH(emacs, AC_HELP_STRING([--with-emacs],

AC_MSG_NOTICE("Checking emacs version")
$EMACS -batch -q --no-site-file -eval \
'(if (< emacs-major-version 24)
'(if (< emacs-major-version 25)
(progn
(error "You need GNU Emacs 24 or better.")
(error "You need GNU Emacs 25 or better.")
(kill-emacs 1)
)
)'
Expand Down Expand Up @@ -41,7 +41,7 @@ AM_MISSING_PROG(GIT2CL, git2cl, $missing_dir)
# Check whether --with-lispdir was given.
if test "${with_lispdir+set}" = set; then :
else
my_lispdir="${datadir}/emacs/site-lisp"
my_lispdir=$(EMACS_PROG=$EMACS $SH_PROG $(dirname $0)/compute-lispdir.sh)
if test "${my_lispdir+set}" = set; then :
with_lispdir=$my_lispdir
fi
Expand All @@ -67,7 +67,6 @@ AC_CONFIG_FILES([Makefile \
realgud/debugger/gdb/Makefile \
realgud/debugger/gub/Makefile \
realgud/debugger/ipdb/Makefile \
realgud/debugger/jdb/Makefile \
realgud/debugger/kshdb/Makefile \
realgud/debugger/nodejs/Makefile \
realgud/debugger/perldb/Makefile \
Expand All @@ -78,7 +77,6 @@ AC_CONFIG_FILES([Makefile \
realgud/debugger/trepan2/Makefile \
realgud/debugger/trepan3k/Makefile \
realgud/debugger/trepan.pl/Makefile \
realgud/debugger/trepanjs/Makefile \
realgud/debugger/zshdb/Makefile \
realgud/lang/Makefile \
test/Makefile \
Expand Down
93 changes: 0 additions & 93 deletions elisp-comp

This file was deleted.

14 changes: 7 additions & 7 deletions realgud.el
@@ -1,11 +1,11 @@
;;; realgud.el --- A modular front-end for interacting with external debuggers
;;; realgud.el --- A modular front-end for interacting with external debuggers -*- lexical-binding: t -*-

;; Author: Rocky Bernstein <rocky@gnu.org>
;; Version: 1.4.8
;; Version: 1.5.0
;; Package-Type: multi
;; Package-Requires: ((load-relative "1.2") (loc-changes "1.2") (test-simple "1.2.0") (cl-lib "0.5") (emacs "24"))
;; Package-Requires: ((load-relative "1.2") (loc-changes "1.2") (test-simple "1.2.0") (cl-lib "0.5") (emacs "25"))
;; URL: http://github.com/realgud/realgud/
;; Keywords: debugger, gdb, python, perl, go, bash, nodejs, zsh, bashdb, zshdb, remake, trepan, perldb, pdb
;; Keywords: debugger, gdb, python, perl, go, bash, zsh, bashdb, zshdb, remake, trepan, perldb, pdb

;; Copyright (C) 2015-2019 Free Software Foundation, Inc

Expand Down Expand Up @@ -49,7 +49,7 @@
;; Oh, and because global variables are largely banned, we can support
;; several simultaneous debug sessions.

;; RealGUD supports many external debuggers. See URL
;; RealGUD supports many external debuggers. See URL
;; `https://github.com/realgud/realgud/wiki/Debuggers-Supported' for a
;; list. However, if you don't see your favorite debugger, see URL
;; `https://github.com/realgud/realgud/wiki/How-to-add-a-new-debugger/'
Expand All @@ -68,7 +68,7 @@

;; [1] Four or more years in, as of 2018 realgud sports a number of
;; old debuggers too. However we *mark* them as such, and move them
;; out of the main code base. See for example:
;; out of the main code base. See for example:
;; https://github.com/realgud/realgud-old-debuggers. So that's
;; another difference: this code better *maintained*.

Expand All @@ -84,7 +84,7 @@
"The Grand Cathedral Debugger rewrite"
:group 'processes
:group 'tools
:version "24.3")
:version "25.1")

;; FIXME: extend require-relative for "autoload".
(defun realgud:load-features()
Expand Down
2 changes: 1 addition & 1 deletion realgud/common/attach.el
Expand Up @@ -29,7 +29,7 @@
(declare-function realgud-srcbuf-init-or-update 'realgud-source)
(declare-function realgud-short-key-mode-setup 'realgud-shortkey)

(defvar realgud:attach-cmdbuf-history nil "attach command buffer history list'.")
(defvar realgud:attach-cmdbuf-history nil "Attach command buffer history list'.")


;;;###autoload
Expand Down
4 changes: 2 additions & 2 deletions realgud/debugger/Makefile.am
@@ -1,7 +1,7 @@
SUBDIRS = \
bashdb gdb gub ipdb jdb kshdb nodejs \
bashdb gdb gub kshdb nodejs \
pdb perldb rdebug remake \
trepan trepan2 trepan3k trepan.pl trepanjs \
trepan trepan2 trepan3k trepan.pl \
zshdb
EXTRA_DIST = common.mk

Expand Down
5 changes: 0 additions & 5 deletions realgud/debugger/ipdb/Makefile.am

This file was deleted.

0 comments on commit ca3c108

Please sign in to comment.