Commit graph

14 commits

Author SHA1 Message Date
tnn
db103a7cc0 Update to xterm-243.
Patch #243 - 2009/3/28
* revert change to default for allowTcapOps (request by Bram Moolenaar).
* reallocate result returned by xtermEnvLocale() to avoid reference to freed
  memory after handling menuLocale resource.
* fix an old (X11R5) bug in tek4014 for switching fontsizes.
* add resource defaultString to make configurable the use of "#" when pastes
  of UTF-8 text fail due to limitations in the current locale settings.
* make the set of selection target Atom's configurable by two new resources
  eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT Atom in
  preference to UTF8_STRING (discussion with Stanislav Sedov regarding
  koi8rxterm and the FreeBSD port).
* modify handling of TARGETS Atom by making it return exactly the set of
  targets as those which xterm is currently providing.
* set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work around
  /etc/man.conf's with those variables already set
* improve error-checking of tcap-query parser.
* add check for keyboard tcap), which ensures that terminal descriptions
  containing the same string for shifted/unshifted keys will be seen by
  tcap-query as only the unshifted key. (This would only happen with an
  incorrect terminal description).
* fix conversion for input event-state to modifier-parameter which made
  tcap-query feature not work with tcapFunctionKeys (keyboard type tcap).
* add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the
  default compiled-in values for "allowxxx" resources.
* remove check on bell-percentage added in patch #242, which disallowed
  zero/negative values (Redhat Bugzilla #487829).

Patch #242 - 2009/2/15
* fix configure check for XkbBell and provide appropriate parameter for it.
* fix a caching problem with double-size fonts versus reverse video that could
  cause core dump.
* repair double-size fonts from workaround used in patch #240.
* add new section to the VT Fonts menu which allows enabling or disabling the
  font, termcap (tcap-query), title and window operations.
* add fontWarnings resource, to control whether to show warnings on failure to
  load a font.
* improve warnings for unloadable fonts introduced in patch #240 by limiting
  those to the cases where a font would be specified directly by a resource
  setting rather than a derived fontname.
* further amend fix for Debian #252873 from patch #197 to treat a blank cell
  which does not have both foreground and background colored as a non-colored
  cell. This improves a special case where the cursor is on a blank cell which
  had foreground color scrolled in (report by Miroslav Lichvar).
  Also add the same logic when hiding cursor, so the outline matches the
  in-focus cursor.
* modify internals to reduce places PAIRED_CHARS() is used, making WriteText()
  and ScrnWriteText() accept IChar array, as well as providing a wrapper for
  drawXtermText().
* change default XIM font from "*" to "fixed" to improve startup time in
  zh_CN.UTF-8 locale (Mike Fabian, SuSE Bugzilla #464930).
* typo in #240 log (Slava Semushin)

Patch #241 - 2009/1/26
*  improve checks for missing bitmap fonts, fallback to "fixed" as needed to
  work around broken font-packages (report by Jacek Luczak).
* fix breakage from patch #240 changes for xtermAddInput() (patches by
  Jeff Chua, Julien Cristau).

Patch #240 - 2009/1/25
* use plink.sh for linking xterm (suggested by Larry Doolittle).
* add resource descriptions for input method to xterm manpage.
* update configure script; consistently append to $CFLAGS rather than prepend.
* add install-scripts rule to makefile, to allow koi8rxterm and uxterm scripts
  to be altered independently of install-bin
* add -maximized command-line option and corresponding resource (prompted by
  alt.os.linux newsgroup comment).
* modify translations of scrollbar widget using xtermAddInput() (see
  patch #181) to accept the actions that the vt100 widget accepts, such as
  shift-insert to perform a paste operation (request by Martin Zwickel).
* change default for allowTcapsOpS resource to false, since it causes
  unexpected behavior for vim users with AltGr.
* update config.guess, config.sub
2009-05-22 19:52:02 +00:00
bjs
b506eb8222 Update to xterm-236. Changes:
Patch #236 - 2008/07/27

     * correct memory reallocation when handling a paste of UTF-8 text from
       patch #225 changes (report/patch by Max Mikhanosha).
     * correct allocation of temporary buffer in xtermFindShell in case the
       user's $PATH contains no ":" (report/analysis by Victor Stinner,
       Freedesktop.Org Bugzilla #16790).
     * modify CF_XOPEN_SOURCE to add case for DragonFly BSD, to fix new
       compile problem exposed by fix for fd_mask (patch by Hasso Tepper).
     * add configure-check for ncurses use_extended_names, (report by
       Martin Mokrejs).
     * correct computation for toolbar height; layout manager already takes
       into account borderWidth resource.
     * implement VT320-style SCS (select character set) for ISO Latin-1
       supplemental.
     * fixes for vt100-style character sets in UTF-8 mode (Ubuntu #230919).
     * fix to make luit work with xterm's -ls option (report/patch by
       Marius Tolzmann).
     * update config.guess, config.sub
2008-08-01 23:14:47 +00:00
obache
af05abe754 Fix build failure on DragonFly, treat DragonFly same as FreeBSD.
Patch provided by Hasso Tepper in PR 39048.
2008-07-02 13:50:56 +00:00
bjs
ec6c4ba6b4 Update to xterm-235.
Changes within pkgsrc:

    - Remove most options, as I see no reason not just to build them in
      by default (they shouldn't be intrusive).  I also enabled a few
      features that weren't there before (mouse support for readline
      applications, support for the mini/built-in luit, paste64, etc.).

    - Build-in the toolbar by default.  I patched xterm to disable the
      toolBar resource by default.

    - Include xaw.buildlink3.mk instead of libXaw/buildlink3.mk and
      add some code to configure xterm properly according to the
      user's preference.

    - Use @unexec ${RMDIR} ... when attempting to remove
      lib/X11/app-defaults.

    - Install xterm.desktop and uxterm.desktop to share/applications
      (I don't think this needs desktopdb.mk).

    - Added a 'debug' option which builds in support for event tracing.
      Also, if PKG_DEVELOPER=yes, tell configure to --enable-warnings.


                            Patch #235 - 2008/04/20

     * add control sequences for some of the recent resource/menu settings:

          * altSendsEscape (private mode 1039)
          * keepSelection (private mode 1040)
          * selectToClipboard (private mode 1041)
          * bellIsUrgent (private mode 1042)
          * popOnBell (private mode 1043)

     * add resource formatOtherKeys to provide an alternate escape sequence
       format for the modifyOtherKeys resource (request by Paul LeoNerd
       Evans).
     * adjust saved-cursor position if the window is resized while
       displaying the alternate screen (Novell #196880, Debian #383384).
     * improve pointer-checks to fix a bug exposed by resizing during
       initialization under StumpWM window manager (Fedora Bugzilla #437928).
     * modify unselectwindow() to ensure that the mouse pointer is not
       hidden after xterm loses focus (report by Jeremy Huddleston).
     * add special check for fd_mask on Mac OS X (report by Jeremy
       Huddleston).
     * add dylib to autoconf's suffix list used for checking the result
       from xmkmf, to work with Mac OS X (report by Jeremy Huddleston).
     * correct initialization of bold- and wide-, wide-bold fonts which may
       be set via the utf8Fonts subresource (Debian #347790).

                            Patch #234 - 2008/03/02

     * modify sinstall.sh to use POSIX locale to bypass GNU ls changes to
       date-format.
     * improved/refined changes for closing bitmap font (patch by Andrea
       Odetti).
     * improve resize computation for situations where the negotiation
       fails, by invoking the xterm widget's core-class resize method
       (Debian #365602, patch by Jim Paris).
     * restore initialization of terminal's VMIN and VTIME settings, from
       patch #232 changes (patch by Matthieu Herrb).

                            Patch #233 - 2008/02/24

     * add configure check for ttydefaults.h, include if needed, e.g., for
       systems where defining _POSIX_C_SOURCE, etc., prevents it from being
       included via termios.h (prompted by comments by Robert Delius Royar
       and Jeremy Huddleston).
     * patches from Alan Coopersmith. These correspond to bug-ids on
       bugs.opensolaris.org

            4029911
                    fix a typo in manpage

            4045962
                    xterm doesn't properly set ut_syslen

            4192572
                    left-left-right misinterpreted as triple click

     * minor optimization to tab-initialization (patch by Nemeth Marton).
     * fix a case where an incorrect font was freed during initialization
       from patch #232 changes (patch by Andrea Odetti).
     * improve comparison used in SameFont function for GC-caching (Julien
       Cristau).
     * correct macro name used for default CKILL definition to work with
       Mac OS X (report by Jeremy Huddleston).

                            Patch #232 - 2008/01/30

     * corrected logic in a font-cache used for reverse-video (Debian
       #404079).
     * add control sequence to alter pointerMode at runtime.
     * add limit-checks for rectangle operation parameters (report by
       Martin Pirker).
     * modify minstall.sh to suppress $MANPAGER and $PAGER environment
       variables, which may interfere with redirecting output of man to a
       shell variable (report/patch by Zdenek Sekera).
     * do not try to hide mouse pointer in the tek4014 window, fixes broken
       "-t" option at startup from patch #230 changes (report by Robert K.
       Nelson).
     * correct datatype used when drawing tek4014 data using xterm compiled
       for wide-characters, on big-endian machines (reports by Jeremy
       Huddleston, Harald Hanche-Olsen, Martin Costabel, Merle Reinhart).
     * modify to cache the font-names along with the bitmap font data, to
       improve comparison of fonts.
     * modify to allow building with configure options --disable-ansi-color
       and --disable-leaks (Debian #459817, report/patch by Nemeth Marton).
     * modify to allow building with configure options --enable-wide-chars
       and --disable-c1-print (Debian #459816, report/patch by Nemeth
       Marton).
     * add pointerMode resource to control whether and when the pointer
       cursor is hidden as the user types.
     * simplify initialization of ttyMode- and related characters using a
       table.
     * modify initialization-logic for stty values that correspond to
       ltchars structure and the BSD TIOCSLTC ioctl (susp, dsusp, rprnt
       flush, werase, lnext). These were reset to constants for both
       termios and legacy interfaces immediately after asking the system
       for the existing values since X11R6.1, rather than using them to
       provide inherited values. While the legacy interface has some
       constraints, e.g., on HPUX, the POSIX or termios interface should
       not. Your shell may reset these anyway (prompted by patch by Ed
       Schouten).
     * improve logic for hiding/displaying pointer-cursor (report by Mark
       Brukhartz).
     * add limit-checks to tabs.c, increase maximum column for setting
       tab-stops from 320 to 1024 (report by Nemeth Marton).
     * correct length, i.e., number of types of selection targets, computed
       by ConvertSelection() when not handling wide characters for the
       XA_TARGETS() case. This leaves an extra Atom on the end of the list
       which is not handled by Java applications. The problem was introduced
       in patch #151 (report by David Wood).
2008-04-21 17:10:40 +00:00
minskim
f66cfb0707 Update xterm to 203.
Changes:
  - pkgsrc patches for Darwin and DragonFlyBSD were incorporated.
  - Many bug fixes and improvements.  See
    http://dickey.his.com/xterm/xterm.log.html for the complete list.
2005-08-28 17:58:16 +00:00
minskim
3ec978d98a setpgrp(pid_t, pid_t) is not available on Darwin-8.x. Use setpgid instead. 2005-06-30 05:05:37 +00:00
reed
78ca6514a8 Add patch-aa and patch-ab for DragonFly support.
This is from Joerg Sonnenberger via PR #30256.

(I redid patch-aa and my patch sums were different too.)
2005-05-25 02:55:01 +00:00
minskim
ba9d197da3 Update xterm to 200.
Changes:

    * increase color pairs value for xterm-256color and xterm-88color
      to match ncurses, which has an experimental option to support this.

    * modify ifdef's to make AIX use termios rather than termio; the
      struct sizes for the two were not the same.

    * improve CF_WITH_IMAKE_CFLAGS configure macro script for
      OSMAJORVERSION and OSMINORVERSION values, e.g., for Tru64 and AIX.

    * modify ifdef to define USE_POSIX_TERMIOS for Darwin (patch by
      Min Sik Kim).

    * modify find_utmp() to initialize the whole utmpx struct (except
      ut_id), since that is needed for OSF1 4.0D to prevent an infinite loop
      on exit.

    * add configure check before adding -D_POSIX_SOURCE since some
      platforms predefine it, e.g., cygwin.

    * add simplified sed expressions in CF_IMAKE_CFLAGS configure
      script macro to ensure value for PROJECTROOT is quoted on Solaris,
      i.e., when nested \( and \) are not interpreted correctly.

    * correct DEC rectangle operations to reset state after completing
      the operations.

    * modify CASE_ST handling in charproc.c to ensure that the parse
      state is reset even if xterm is not currently processing an OSC or
      other string (patch by Johnny Billquist forwarded by Matthias Scheler,
      NetBSD xsrc/29003).

    * fix OS/2 build for innotek_libc (patch by David Yeo).

    * fix a regression from patch #197 fix for Debian #277832 which
      disowned the selection if it was scrolled, e.g., by the user pressing
      return at the bottom of the screen (Debian #291787).

    * move the warning/exit for missing $DISPLAY into the error
      handler in case -display is given, and the connect fails for some
      other reason.
2005-02-14 22:46:50 +00:00
minskim
6432429c55 Make xterm build on Darwin by defining USE_POSIX_TERMIOS as on other
BSDs.
2005-02-05 06:22:51 +00:00
minskim
83143cc9fb Update xterm to 197.
Mainly bug fixes.  See http://dickey.his.com/xterm/xterm.log.html
for the complete changelog.
2004-12-21 17:24:48 +00:00
minskim
8d13151221 Use POSIX termios on Interix. 2004-10-21 07:51:14 +00:00
minskim
c0a72c32b3 Use initgroups(3) only when it is available. 2004-10-21 07:39:43 +00:00
minskim
94a4dc72f5 Add patch missed in the previous commit, which replaces setpgrp with
setpgid when setpgrp is not available.
2004-10-16 21:47:37 +00:00
minskim
9290f81663 Use setpgid(3) if setpgrp(3) is not available (e.g. on Interix). 2004-10-16 18:19:54 +00:00