From: root
Date: Tue, 10 Jan 2006 18:09:21 +0000 (+0000)
Subject: *** empty log message ***
X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=ed1ec5a43c8ac5a41cc72373ca9dfbd31a645786;p=dana%2Furxvt.git
*** empty log message ***
---
diff --git a/Changes b/Changes
index 94c71410..e7d94d71 100644
--- a/Changes
+++ b/Changes
@@ -9,6 +9,7 @@ WISH: OnTheSpot editing, or maybe switch to miiiiiiif
WISH: just for fun, do shade and tint with XRender.
WISH: support tex fonts
+TODO: urxvt::popup is undocumented
- added sections for DISTRIBUTION MAINTAINERS and about
SETUID/SETGID to the FAQ.
- selection, searchable-scrollback, selection-popup and
@@ -27,6 +28,8 @@ WISH: support tex fonts
side effect, it also gets rid of XGetDefault calls.
- free one of the cursors, fixes a small memory leak.
- built-in (as opposed to terminfos) visual bell was broken/too fast.
+ - applied minor cleanups by Ladislav Michnovic.
+ - applied better configure support for openpty by Emanuele Giaquinta.
6.3 Wed Jan 4 22:37:10 CET 2006
- SECURITY FIX: on systems using openpty, permissions were
diff --git a/autoconf/config.h.in b/autoconf/config.h.in
index 20138fdb..dcab8034 100644
--- a/autoconf/config.h.in
+++ b/autoconf/config.h.in
@@ -136,6 +136,9 @@
/* Define if you have the header file. */
#undef HAVE_LIBC_H
+/* Define if you have the header file. */
+#undef HAVE_LIBUTIL_H
+
/* Define if you have the header file. */
#undef HAVE_PTY_H
@@ -178,6 +181,9 @@
/* Define if you have the header file. */
#undef HAVE_UNISTD_H
+/* Define if you have the header file. */
+#undef HAVE_UTIL_H
+
/* Define if you have the header file. */
#undef HAVE_UTMP_H
diff --git a/autoconf/configure.in b/autoconf/configure.in
index c845b523..12c525be 100644
--- a/autoconf/configure.in
+++ b/autoconf/configure.in
@@ -564,6 +564,8 @@ AC_CHECK_HEADERS( \
utmpx.h \
stdint.h \
pty.h \
+ util.h \
+ libutil.h \
wchar.h \
cwchar \
clocale \
diff --git a/configure b/configure
index f0d78bd5..b9dade0f 100755
--- a/configure
+++ b/configure
@@ -7307,6 +7307,8 @@ done
+
+
@@ -7332,6 +7334,8 @@ for ac_header in \
utmpx.h \
stdint.h \
pty.h \
+ util.h \
+ libutil.h \
wchar.h \
cwchar \
clocale \
@@ -12830,6 +12834,10 @@ fi
+if text x$support_perl = xyes; then
+ support_frills=yes
+fi
+
CFLAGS=${CFLAGS--O}
LDFLAGS=${LDFLAGS--O}
diff --git a/doc/rxvtperl.3.html b/doc/rxvtperl.3.html
index 3cd2e8c7..03acad9a 100644
--- a/doc/rxvtperl.3.html
+++ b/doc/rxvtperl.3.html
@@ -15,9 +15,10 @@
NAME
SYNOPSIS
DESCRIPTION
+ PREPACKAGED EXTENSIONS
+ API DOCUMENTATION
scripts will be shared (but not enabled) for all terminals.
-
-This section describes the extensiosn delivered with this version. You can
+
+
+This section describes the extensions delivered with this release. You can
find them in /opt/rxvt/lib/urxvt/perl/.
You can activate them like this:
@@ -84,13 +86,13 @@ find them in /opt/rxvt/lib/urxvt/perl/.
selection (enabled by default)
-Intelligent selection. This extension tries to be more intelligent when
-the user extends selections (double-click). Right now, it tries to select
-urls and complete shell-quoted arguments, which is very convenient, too,
-if your ls supports --quoting-style=shell
.
+(More) intelligent selection. This extension tries to be more intelligent
+when the user extends selections (double-click). Right now, it tries to
+select urls and complete shell-quoted arguments, which is very convenient,
+too, if your ls supports --quoting-style=shell
.
-It also offers the following bindable event:
+It also offers the following bindable keyboard command:
- rot13
@@ -114,7 +116,8 @@ runtime.
-
Binds a popup menu to Ctrl-Button3 that lets you convert the selection
-text into various other formats/action.
+text into various other formats/action (such as uri unescaping, perl
+evalution, web-browser starting etc.), depending on content.
- searchable-scrollback<hotkey> (enabled by default)
@@ -161,6 +164,10 @@ overlays or changes.
+
+
+
+
All objects (such as terminals, time watchers etc.) are typical
reference-to-hash objects. The hash can be used to store anything you
diff --git a/doc/rxvtperl.3.man.in b/doc/rxvtperl.3.man.in
index 2597fb98..2189ba5a 100644
--- a/doc/rxvtperl.3.man.in
+++ b/doc/rxvtperl.3.man.in
@@ -162,9 +162,9 @@ thus must be encoded as \s-1UTF\-8\s0.
.PP
Each script will only ever be loaded once, even in @@RXVT_NAME@@d, where
scripts will be shared (but not enabled) for all terminals.
-.Sh "Prepackaged Extensions"
-.IX Subsection "Prepackaged Extensions"
-This section describes the extensiosn delivered with this version. You can
+.SH "PREPACKAGED EXTENSIONS"
+.IX Header "PREPACKAGED EXTENSIONS"
+This section describes the extensions delivered with this release. You can
find them in \fI@@RXVT_LIBDIR@@/urxvt/perl/\fR.
.PP
You can activate them like this:
@@ -174,12 +174,12 @@ You can activate them like this:
.Ve
.IP "selection (enabled by default)" 4
.IX Item "selection (enabled by default)"
-Intelligent selection. This extension tries to be more intelligent when
-the user extends selections (double\-click). Right now, it tries to select
-urls and complete shell-quoted arguments, which is very convenient, too,
-if your \fIls\fR supports \f(CW\*(C`\-\-quoting\-style=shell\*(C'\fR.
+(More) intelligent selection. This extension tries to be more intelligent
+when the user extends selections (double\-click). Right now, it tries to
+select urls and complete shell-quoted arguments, which is very convenient,
+too, if your \fIls\fR supports \f(CW\*(C`\-\-quoting\-style=shell\*(C'\fR.
.Sp
-It also offers the following bindable event:
+It also offers the following bindable keyboard command:
.RS 4
.IP "rot13" 4
.IX Item "rot13"
@@ -198,7 +198,8 @@ runtime.
.IP "selection-popup (enabled by default)" 4
.IX Item "selection-popup (enabled by default)"
Binds a popup menu to Ctrl\-Button3 that lets you convert the selection
-text into various other formats/action.
+text into various other formats/action (such as uri unescaping, perl
+evalution, web-browser starting etc.), depending on content.
.IP "searchable\-scrollback (enabled by default)" 4
.IX Item "searchable-scrollback (enabled by default)"
Adds regex search functionality to the scrollback buffer, triggered
@@ -225,6 +226,8 @@ similar-looking ascii character.
Displays a very simple digital clock in the upper right corner of the
window. Illustrates overwriting the refresh callbacks to create your own
overlays or changes.
+.SH "API DOCUMENTATION"
+.IX Header "API DOCUMENTATION"
.Sh "General \s-1API\s0 Considerations"
.IX Subsection "General API Considerations"
All objects (such as terminals, time watchers etc.) are typical
diff --git a/doc/rxvtperl.3.txt b/doc/rxvtperl.3.txt
index 57a4b2b2..ee4e5fe1 100644
--- a/doc/rxvtperl.3.txt
+++ b/doc/rxvtperl.3.txt
@@ -23,8 +23,8 @@ DESCRIPTION
Each script will only ever be loaded once, even in rxvtd, where scripts
will be shared (but not enabled) for all terminals.
- Prepackaged Extensions
- This section describes the extensiosn delivered with this version. You
+PREPACKAGED EXTENSIONS
+ This section describes the extensions delivered with this release. You
can find them in /opt/rxvt/lib/urxvt/perl/.
You can activate them like this:
@@ -32,12 +32,13 @@ DESCRIPTION
rxvt -pe
selection (enabled by default)
- Intelligent selection. This extension tries to be more intelligent
- when the user extends selections (double-click). Right now, it tries
- to select urls and complete shell-quoted arguments, which is very
- convenient, too, if your ls supports "--quoting-style=shell".
+ (More) intelligent selection. This extension tries to be more
+ intelligent when the user extends selections (double-click). Right
+ now, it tries to select urls and complete shell-quoted arguments,
+ which is very convenient, too, if your ls supports
+ "--quoting-style=shell".
- It also offers the following bindable event:
+ It also offers the following bindable keyboard command:
rot13
Rot-13 the selection when activated. Used via keyboard trigger:
@@ -50,7 +51,9 @@ DESCRIPTION
selection-popup (enabled by default)
Binds a popup menu to Ctrl-Button3 that lets you convert the
- selection text into various other formats/action.
+ selection text into various other formats/action (such as uri
+ unescaping, perl evalution, web-browser starting etc.), depending on
+ content.
searchable-scrollback (enabled by default)
Adds regex search functionality to the scrollback buffer, triggered
@@ -79,6 +82,7 @@ DESCRIPTION
the window. Illustrates overwriting the refresh callbacks to create
your own overlays or changes.
+API DOCUMENTATION
General API Considerations
All objects (such as terminals, time watchers etc.) are typical
reference-to-hash objects. The hash can be used to store anything you
diff --git a/src/main.C b/src/main.C
index dfaab157..1646a80f 100644
--- a/src/main.C
+++ b/src/main.C
@@ -78,7 +78,7 @@ rxvt_set_locale (const char *locale)
return true;
}
-bool
+void
rxvt_push_locale (const char *locale)
{
strcpy (savelocale, curlocale);
diff --git a/src/ptytty.C b/src/ptytty.C
index 8fe4a49e..77a9aef3 100644
--- a/src/ptytty.C
+++ b/src/ptytty.C
@@ -24,18 +24,15 @@
#include "../config.h" /* NECESSARY */
#include "rxvt.h"
-#ifdef HAVE_STDLIB_H
# include
-#endif
+# include
+
#ifdef HAVE_SYS_TYPES_H
# include
#endif
#ifdef HAVE_UNISTD_H
# include
#endif
-#if defined(HAVE_STRING_H)
-# include
-#endif
#ifdef HAVE_FCNTL_H
# include
#endif
@@ -48,14 +45,11 @@
#ifdef HAVE_ISASTREAM
# include
#endif
-#ifdef HAVE_PTY_H
+#if defined(HAVE_PTY_H)
# include
-#endif
-
-// better do this via configure, but....
-#if defined(__FreeBSD__)
+#elif defined(HAVE_LIBUTIL_H)
# include
-#elif defined(__DARWIN__) || (defined (__MACH__) && defined (__APPLE__))
+#elif defined(HAVE_UTIL_H)
# include
#endif
diff --git a/src/rxvt.h b/src/rxvt.h
index a66c39ed..82d45ad5 100644
--- a/src/rxvt.h
+++ b/src/rxvt.h
@@ -841,7 +841,7 @@ extern void rxvt_exit_failure () __attribute__ ((noreturn));
#define SET_LOCALE(locale) rxvt_set_locale (locale)
extern bool rxvt_set_locale (const char *locale);
-extern bool rxvt_push_locale (const char *locale);
+extern void rxvt_push_locale (const char *locale);
extern void rxvt_pop_locale ();
/****************************************************************************/