Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update st to latest upstream #11

Open
wants to merge 135 commits into
base: wayland
Choose a base branch
from

Commits on Dec 21, 2016

  1. Configuration menu
    Copy the full SHA
    b5fbc92 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2016

  1. Configuration menu
    Copy the full SHA
    b27f17d View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2017

  1. Configuration menu
    Copy the full SHA
    e2ee5ee View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2017

  1. Change default keybindings

    CTRL+SHIFT is an impossible combination in the terminal world
    (0x20 | x & 0x1F), so it is perfect to be used for internals
    shortcuts of terminals, and being a double combination
    reduces the prossibility of having comflicts.
    k0gaMSX committed Jan 25, 2017
    Configuration menu
    Copy the full SHA
    20f7135 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2017

  1. Support xterm Ms feature to set clipboard

    This is used by, e.g., tmux.
    osandov authored and k0gaMSX committed Mar 19, 2017
    Configuration menu
    Copy the full SHA
    e7ed326 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2017

  1. keep some glyph modes for the cursor

    st currently does not keep any mode for the cursor that was active
    in the underlying glyph (e.g. italic text), the mode is always
    ATTR_NULL [1].  At [2] you can find a screenshot that shows the
    implications.  Other terminals (at least vte-based, such as
    XFCE-terminal) keep some modes for the cursor.  I find the current
    behaviour very disruptive, so here is a patch that keeps a few
    (arbitrarily chosen) modes for the cursor.
    
    [1] http://git.suckless.org/st/tree/st.c#n3963
    [2] http://i.imgur.com/R2yCEaC.png
    drm00 authored and k0gaMSX committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    f2bfd51 View commit details
    Browse the repository at this point in the history
  2. Fix commented out code

    Alexander Krotov authored and k0gaMSX committed Mar 29, 2017
    Configuration menu
    Copy the full SHA
    149c0d3 View commit details
    Browse the repository at this point in the history

Commits on Apr 4, 2017

  1. Simplify how we keep ATTRs under cursor

    Thanks to tarug0 for the suggestion/patch.
    Quentin Rameau authored and k0gaMSX committed Apr 4, 2017
    Configuration menu
    Copy the full SHA
    745c40f View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2017

  1. st.1: modify man page to accurately reflect default keybindings

    Attached.
    
    ===> 2/ (text/x-patch) [file]
    	cp /mail/fs/mbox/298/2/body /usr/k0ga/0001-st.1-modify-man-page-to-accurately-reflect-default-k.patch
    
    From 265db94b1eca5850d484f86b7db4af8e57822cfe Mon Sep 17 00:00:00 2001
    From: Greg Reagle <[email protected]>
    Date: Sun, 9 Apr 2017 23:05:47 -0400
    Subject: [PATCH] st.1: modify man page to accurately reflect default
     keybindings
    [email protected] authored and k0gaMSX committed Apr 10, 2017
    Configuration menu
    Copy the full SHA
    5a10aca View commit details
    Browse the repository at this point in the history

Commits on Jun 3, 2017

  1. Add bold off SGR

    Quentin Rameau committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    6cb6d61 View commit details
    Browse the repository at this point in the history
  2. Add color change terminfo capabilities

    martanne authored and Quentin Rameau committed Jun 3, 2017
    Configuration menu
    Copy the full SHA
    b331da5 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2017

  1. Do not obfuscate what make is doing.

    Change some styling too while we're at it.
    Quentin Rameau committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    fabd460 View commit details
    Browse the repository at this point in the history
  2. Let the user specify C and LD FLAGS

    Quentin Rameau committed Jul 11, 2017
    Configuration menu
    Copy the full SHA
    d4928ed View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2017

  1. Add dim/smxx/rmxx to terminfo, remove duplicate kich1

    Quentin Rameau committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    c0882f2 View commit details
    Browse the repository at this point in the history
  2. Revert "Add bold off SGR"

    This reverts commit 6cb6d61.
    This wasn't a useful thing after all.
    Quentin Rameau committed Jul 12, 2017
    Configuration menu
    Copy the full SHA
    8dacdfb View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2017

  1. Configuration menu
    Copy the full SHA
    7f99032 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2017

  1. Configuration menu
    Copy the full SHA
    77c51c5 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2017

  1. Revert "make clipboard patch obsolete"

    This reverts commit 77c51c5.
    
    Having multiple clipboards are useful, for example for plumber scripts.
    I've discussed this on IRC and it is useful to have.
    hiltjo committed Sep 2, 2017
    Configuration menu
    Copy the full SHA
    9c61f29 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2017

  1. Revert "fixed STLDFLAG order in broken st Makefile"

    This reverts commit 7f99032.
    
    this was wrong as pointed out by k0ga:
    "STLDFLAGS is about flags to the linker, for example -L
    not about -l for that reason it must go before the object list".
    hiltjo committed Sep 13, 2017
    Configuration menu
    Copy the full SHA
    274d46a View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2017

  1. base64dec: skip non-printable characters like \r\n

    Non-printable characters, such as line breaks, in a base64 encoded
    string violate the "string length must be a multiple of four" rule.
    
    This patch pads the result buffer by one extra unit of four bytes,
    and skips over non-printable characters found in the input string.
    sunaku authored and hiltjo committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    ee5cc8e View commit details
    Browse the repository at this point in the history
  2. Revert "Revert "fixed STLDFLAG order in broken st Makefile""

    This reverts commit 274d46a.
    
    Sorry, the original commit was correct after all. It allows has the
    correct link order and supports static-linking also.
    
    Just a reminder: it is important to give a (brief) rationale of the
    patch intentions.
    hiltjo committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    b2ac917 View commit details
    Browse the repository at this point in the history
  3. Add an error for XftFontOpenPattern failure.

    Gary Allen Vollink authored and hiltjo committed Sep 15, 2017
    Configuration menu
    Copy the full SHA
    b1338e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2017

  1. Fix manpage typo

    Signed-off-by: Paride Legovini <[email protected]>
    Paride Legovini authored and hiltjo committed Oct 10, 2017
    Configuration menu
    Copy the full SHA
    0ac685f View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2017

  1. Fix FAQ typo

    shapeshed authored and hiltjo committed Dec 21, 2017
    Configuration menu
    Copy the full SHA
    c1d23af View commit details
    Browse the repository at this point in the history

Commits on Dec 26, 2017

  1. Apply ATTR_REVERSE after ATTR_FAINT

    An example where the new behaviour makes more sense:
    
    Suppose some text is formatted with ATTR_FAINT for red for the foreground, so it
    is rendered in a dark red. In that case, when selected with the mouse, the
    intended behaviour is that foreground and background color are swapped: so the
    selection should be rendered in dark red and the text in the default background
    color.
    
    Before this patch, what happened was that the selection would be in normal red
    and the text in the darkened background color, making it almost unreadable.
    
    For an example application that uses the FAINT attribute, try dmesg from
    util-linux with color support, it uses FAINT for segfault messages.
    bennofs authored and hiltjo committed Dec 26, 2017
    Configuration menu
    Copy the full SHA
    e829e13 View commit details
    Browse the repository at this point in the history
  2. Fix color with FAINT attribute

    The alpha value needs to be initialized as well.
    bennofs authored and hiltjo committed Dec 26, 2017
    Configuration menu
    Copy the full SHA
    1f24bde View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2018

  1. Move config.h include from st.c to x.c

    config.h includes references to KeySyms and other X stuff.  Until we
    come up with a cleaner way to separate configuration, it is simpler
    (leads to more code removal) to have this here.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    65976c1 View commit details
    Browse the repository at this point in the history
  2. Inline clipboard functions

    No need to keep a function that only calls another function in the same
    file.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    428f019 View commit details
    Browse the repository at this point in the history
  3. Remove unneeded array-length variables

    These were only used in x.c, which now has direct visibility of the
    config.h arrays.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    75c9a0e View commit details
    Browse the repository at this point in the history
  4. Call xsetenv() in main process instead of child

    This makes xsetenv internal to x.c, and allows iso14755's external
    command to use $WINDOWID instead of having to snprintf it again.  (The
    same benefit will apply to the externalpipe patch.)  The xwinid function
    is no longer needed.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    3e44ee5 View commit details
    Browse the repository at this point in the history
  5. Move X-related config.h types into x.c

    No need to expose Shortcut, MouseShortcut, and Key anymore.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    416dd25 View commit details
    Browse the repository at this point in the history
  6. Move usage() to be with run() in x.c

    run/usage/xinit are now all internal to x.c
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    3518dba View commit details
    Browse the repository at this point in the history
  7. Make win variable internal to x.c

    There was only a single reference to the `win` variable in st.c, so
    exporting that to x.c allows us to rid ourselves of another extern.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    323d38d View commit details
    Browse the repository at this point in the history
  8. Move zoom functions into x.c

    This makes x(un)loadfonts internal to x.c.  Needed to reorder includes
    and move a typedef to keep the compiler happy.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    d527501 View commit details
    Browse the repository at this point in the history
  9. Remove Time argument from xsetsel

    This is an X type and should be internal to x.c.
    
    The selcopy() function was a single line and only used in one place, so
    it was inlined to reduce LOC.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    3bb900c View commit details
    Browse the repository at this point in the history
  10. Move window urgency handling entirely into x.c

    This allows us to make xseturgency internal.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    626b0ae View commit details
    Browse the repository at this point in the history
  11. Remove X and fontconfig from st.c

    None of the X-related includes are needed any longer.  In addition, move
    the X modifier defines into x.c, as they are not used outside.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    8b564c1 View commit details
    Browse the repository at this point in the history
  12. Move font/fontspec variables into x.c and XWindow

    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    a09138a View commit details
    Browse the repository at this point in the history
  13. Rely on ttyresize to set tty size

    This removes ttynew's dependency on cresize being called first, and then
    allows us to absorb the ttyresize call into cresize (which always
    precedes it).
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    d84f3f4 View commit details
    Browse the repository at this point in the history
  14. Move window-manipulating functions into x.c

    xresize is now internal to x.c
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    a831464 View commit details
    Browse the repository at this point in the history
  15. Have selected() check whether selection exists

    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    138caf2 View commit details
    Browse the repository at this point in the history
  16. Pass new dimensions into ttyresize

    This removes another reference to TermWindow from st.c.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    dbe8676 View commit details
    Browse the repository at this point in the history
  17. Move X-specific selection info into XSelection

    Data about PRIMARY/CLIPBOARD and clicks are part of the front-end, not
    the terminal.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    5683b1f View commit details
    Browse the repository at this point in the history
  18. Move key-matching functions into x.c

    Modifiers and keysyms are specific to X, and the functions match and
    kmap are only used in x.c.  Needed to global-ize the key arrays and
    lengths from config.h (for now).
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    ed132e1 View commit details
    Browse the repository at this point in the history
  19. Move terminal-related selection logic into st.c

    The front-end determines information about mouse clicks and motion, and
    the terminal handles the actual selection start/extend/dirty logic by
    row and column.
    
    While we're in the neighborhood, we'll also rename getbuttoninfo() to
    mousesel() which is, at least, less wrong.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    bcb5d3a View commit details
    Browse the repository at this point in the history
  20. Move opt_* into same file as main()/run()

    This commit is purely about reducing externs and LOC.  If the main and
    run functions ever move elsewhere (which will probably make sense
    eventually), these should come along with them.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    69e32a6 View commit details
    Browse the repository at this point in the history
  21. Move remaining selection mode logic into selextend

    The "done" parameter indicates a change which finalizes the selection
    (e.g. a mouse button release as opposed to motion).
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    cfc7acd View commit details
    Browse the repository at this point in the history
  22. Move CRLF input processing into ttywrite

    This also allows us to remove the crlf field from the Key struct, since
    the only difference it made was converting "\r" to "\r\n" (which is now
    done automatically in ttywrite).  In addition, MODE_CRLF is no longer
    referenced from x.c.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    33201ac View commit details
    Browse the repository at this point in the history
  23. Factor out equivalent code from ttyread/ttysend

    The echo-to-terminal portions of ttyread and ttysend were actually doing
    the same thing.  New function twrite() now handles this.  The parameter
    show_ctrl determines whether control characters are shown as "^A".  This
    was the only difference between tputc and techo, and techo is now unused
    and removed.
    
    (This commit should not change st's behaviour.)
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    32d3b1d View commit details
    Browse the repository at this point in the history
  24. Move terminal echo logic into st.c

    The only thing differentiating ttywrite and ttysend was the potential
    for echo; make this a parameter and remove ttysend.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    52d6fb1 View commit details
    Browse the repository at this point in the history
  25. Pull term references out of xdrawcursor

    Gradually reducing x.c dependency on Term object.  Old and new cursor
    glyph/position are passed to xdrawcursor.  (There may be an opportunity
    to refactor further if we can unify "clear old cursor" and "draw new
    cursor" functionality.)
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    a5dc1b4 View commit details
    Browse the repository at this point in the history
  26. Remove x.c dependency on term

    The xinit function only needs to the rows/cols, so pass those in rather
    than accessing term directly.  With a bit of arithmetic, we are able to
    avoid the need for term.row and term.col in x2col, y2row, and
    xdrawglyphfontspecs as well, completing the removal.
    
    Term is now fully internal to st.c.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    a3beb62 View commit details
    Browse the repository at this point in the history
  27. Limit usage of extern to config.h globals

    Prefer passing arguments to declaring external global variables.  The
    only remaining usage of extern is for config.h variables which are
    needed in st.c instead of x.c (where it is now included).
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    30683c7 View commit details
    Browse the repository at this point in the history
  28. Reduce visibility wherever possible

    When possible, declare functions/variables static and move struct
    definitions out of headers.  In order to allow utf8decode to become
    internal, use codepoint for DECSCUSR extension directly.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    e0215d5 View commit details
    Browse the repository at this point in the history
  29. Split mode bits between Term and TermWindow

    Moves the mode bits used by x.c from Term to TermWindow, absorbing
    UI/input-related mode bits (visible/focused/numlock) along the way.
    
    This is gradually reducing external references to Term.  Since
    TermWindow is already internal to x.c, we add xsetmode() to allow st to
    modify window bits in accordance with escape sequences.
    
    IS_SET() is redefined accordingly (term.mode in st.c, win.mode in x.c).
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    05c66cb View commit details
    Browse the repository at this point in the history
  30. Clean up #includes

    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    403c57e View commit details
    Browse the repository at this point in the history
  31. Move win-agnostic parts of draw/drawregion to st.c

    Introduces three functions to encapsulate X-specific behavior:
     * xdrawline: draws a portion of a single line (used by drawregion)
     * xbegindraw: called to prepare for drawing (will be useful for e.g.
       Wayland) and returns true if drawing should happen
     * xfinishdraw: called to finish drawing (used by draw)
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    88d8293 View commit details
    Browse the repository at this point in the history
  32. General cleanup

    Simplifies logic in a couple places and removes a redundant function
    call.
    
    Signed-off-by: Devin J. Pohly <[email protected]>
    djpohly committed Feb 26, 2018
    Configuration menu
    Copy the full SHA
    20e0da7 View commit details
    Browse the repository at this point in the history

Commits on Mar 9, 2018

  1. Configuration menu
    Copy the full SHA
    8b8255a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b81888e View commit details
    Browse the repository at this point in the history
  3. use math.h for ceilf

    hiltjo committed Mar 9, 2018
    Configuration menu
    Copy the full SHA
    c5ba9c0 View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2018

  1. bump version to 0.8

    hiltjo committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    49a4f91 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0f245df View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    a712c2d View commit details
    Browse the repository at this point in the history
  4. LICENSE: fix a few years

    hiltjo committed Mar 14, 2018
    Configuration menu
    Copy the full SHA
    8ab6290 View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2018

  1. Fix regression from 69e32a6 when setting title.

    Quentin Rameau authored and hiltjo committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    e7ef3c4 View commit details
    Browse the repository at this point in the history
  2. Fix title initialization

    Quentin Rameau authored and hiltjo committed Mar 16, 2018
    Configuration menu
    Copy the full SHA
    0b507bb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7648697 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2018

  1. Configuration menu
    Copy the full SHA
    5345db3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ac8c8a View commit details
    Browse the repository at this point in the history

Commits on Mar 20, 2018

  1. don't modify argv, use a counter

    on some platforms (OpenBSD) this changes the exposed argv in tools using
    the kvm_* interface, such as ps and pgrep.
    hiltjo committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    a5a928b View commit details
    Browse the repository at this point in the history
  2. fix regression by selecting clipboard text

    "restore the old behaviour that the primary doesn't get deleted by a simple
    left click"
    
    Patch by Daniel Tameling <[email protected]>, thanks!
    hiltjo committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    f4020b2 View commit details
    Browse the repository at this point in the history
  3. bump version to 0.8.1

    hiltjo committed Mar 20, 2018
    Configuration menu
    Copy the full SHA
    6f0f2b7 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2018

  1. Configuration menu
    Copy the full SHA
    74cff67 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd3f7fd View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    041912a View commit details
    Browse the repository at this point in the history

Commits on May 25, 2018

  1. Pledge on OpenBSD

    hiltjo committed May 25, 2018
    Configuration menu
    Copy the full SHA
    30ce2cc View commit details
    Browse the repository at this point in the history
  2. code-style for pledge(2)

    feedback from Klemens, thanks
    hiltjo committed May 25, 2018
    Configuration menu
    Copy the full SHA
    235a783 View commit details
    Browse the repository at this point in the history

Commits on Jun 2, 2018

  1. Configuration menu
    Copy the full SHA
    dc3b5ba View commit details
    Browse the repository at this point in the history

Commits on Jun 30, 2018

  1. Fix crash on resize

    Prevent to realloc xw.specbuc with a negative number of col.
    Add proper hints for the minimal size, for one character.
    Jules Maselbas authored and hiltjo committed Jun 30, 2018
    Configuration menu
    Copy the full SHA
    29f341d View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2018

  1. Simplify cursor color handling

    Jules Maselbas authored and hiltjo committed Jul 14, 2018
    Configuration menu
    Copy the full SHA
    1911c92 View commit details
    Browse the repository at this point in the history
  2. Make cursor follow text color

    Jules Maselbas authored and hiltjo committed Jul 14, 2018
    Configuration menu
    Copy the full SHA
    b51bcd5 View commit details
    Browse the repository at this point in the history

Commits on Jul 15, 2018

  1. Fix crash when cursor color is truecolor

    Reported-by: Ivan Tham <[email protected]>
    Jules Maselbas authored and hiltjo committed Jul 15, 2018
    Configuration menu
    Copy the full SHA
    5535c1f View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2018

  1. Revert "Fix crash when cursor color is truecolor"

    This reverts commit 5535c1f.
    hiltjo committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    732be22 View commit details
    Browse the repository at this point in the history
  2. Revert "Make cursor follow text color"

    This reverts commit b51bcd5.
    hiltjo committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    8ed7a4b View commit details
    Browse the repository at this point in the history
  3. Revert "Simplify cursor color handling"

    This reverts commit 1911c92.
    hiltjo committed Jul 17, 2018
    Configuration menu
    Copy the full SHA
    4f4bccd View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Remove the ISO 14755 feature

    And move it to the patches section.
    Keeping it would force to add an exec pledge on OpenBSD, and some
    people think it's bloated, so bye!
    Quentin Rameau authored and hiltjo committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    67d0cb6 View commit details
    Browse the repository at this point in the history
  2. small code-style fix

    hiltjo committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    30ec9a3 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2018

  1. st: small typofix in comment

    hiltjo committed Nov 4, 2018
    Configuration menu
    Copy the full SHA
    b4d68d4 View commit details
    Browse the repository at this point in the history
  2. fix memory leak in xloadcols()

    reported by Avi Halachmi (:avih)" <[email protected]>
    
    patch slightly changed by me.
    hiltjo committed Nov 4, 2018
    Configuration menu
    Copy the full SHA
    d7bf023 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2018

  1. Configuration menu
    Copy the full SHA
    096b125 View commit details
    Browse the repository at this point in the history

Commits on Jan 4, 2019

  1. Makefile: fix dependencies on config.h

    patch by Younes Khoudli (changed slightly). Thanks
    hiltjo committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    7e19e11 View commit details
    Browse the repository at this point in the history
  2. Set the path of pkg-config in a variable instead of hardcoding it

    In this way the path of pkg-config can be overridden from the command
    line. This is useful for example when cross-compiling.
    Paride Legovini authored and hiltjo committed Jan 4, 2019
    Configuration menu
    Copy the full SHA
    e23acb9 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2019

  1. Let the user specify CPPFLAGS

    This complements the work done in d4928ed, allowing the user to specify
    the preprocessor flags with the CPPFLAGS environment variable. This is
    useful for example to specify preprocessor macros with -D.
    
    CFLAGS could be used instead, but CPPFLAGS is more correct and is expected
    to be honored in some cases. For example, the helper scripts to build
    Debian packages make use of CPPFLAGS, but the variable is currently
    being ignored unless manually appended to CFLAGS.
    Paride Legovini authored and hiltjo committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    16d9873 View commit details
    Browse the repository at this point in the history
  2. config: add Shift+Insert as selpaste() again

    This was changed before in:
    commit 20f7135 on Wed Jan 25 19:17:38 2017
    hiltjo committed Jan 10, 2019
    Configuration menu
    Copy the full SHA
    3be4cf1 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2019

  1. bump version to 0.8.2

    hiltjo committed Feb 9, 2019
    Configuration menu
    Copy the full SHA
    75f92eb View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2019

  1. better Input Method Editor (IME) support

    Features:
    
    - Allow input methods swap with hotkey (E.g. left ctrl + left shift).
    - Over-the-spot pre-editing style, pre-edit data placed over insertion point.
    - Restart IME without segmentation fault.
    
    TODO:
    
    - Automatically pickup IME if st started before IME
    pickfire authored and hiltjo committed Feb 12, 2019
    Configuration menu
    Copy the full SHA
    e85b6b6 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2019

  1. fix use after free in font caching algorithm

    Current font caching algorithm contains a use after free error. A font
    removed from `frc` might be still listed in `wx.specbuf`. It will lead
    to a crash inside `XftDrawGlyphFontSpec()`.
    
    Steps to reproduce:
    $ st -f 'Misc Tamsyn:scalable=false'
    $ curl https://www.cl.cam.ac.uk/~mgk25/ucs/examples/UTF-8-demo.txt
    
    Of course, result depends on fonts installed on a system and fontconfig.
    In my case, I'm getting consistent segfaults with different fonts.
    
    I replaced a fixed array with a simple unbounded buffer with a constant
    growth rate. Cache starts with a capacity of 0, gets increments by 16,
    and never shrinks. On my machine after `cat UTF-8-demo.txt` buffer
    reaches a capacity of 192. During casual use capacity stays at 0.
    magras authored and hiltjo committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    a8cb8e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4e0135a View commit details
    Browse the repository at this point in the history
  3. simplify (greedy) font caching allocating a bit

    POSIX says:
    "If ptr is a null pointer, realloc() shall be equivalent to malloc() for the
     specified size."
    hiltjo committed Mar 3, 2019
    Configuration menu
    Copy the full SHA
    ed68fe7 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2019

  1. Configuration menu
    Copy the full SHA
    75b4ba4 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2019

  1. replace utf8strchr with wcschr

    lotheac authored and hiltjo committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    d5efd25 View commit details
    Browse the repository at this point in the history
  2. use iswspace()/iswpunct() to find word delimiters

    this inverts the configuration logic: you no longer provide a list of
    delimiters -- all space and punctuation characters are considered
    delimiters, unless listed in extrawordchars.
    lotheac authored and hiltjo committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    add0211 View commit details
    Browse the repository at this point in the history
  3. config.def.h: tweak extra worddelimiters

    This changes the selection more like xterm.
    To test try: "find /" and select a path.
    hiltjo committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    927621f View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9acec46 View commit details
    Browse the repository at this point in the history
  5. dont print color warning on color reset OSC 104 without parameter

    also print explicitly "(null)" when printf "%s" p=NULL.
    
    noticed when exiting mutt: printf '\x1b]104\x07'
    hiltjo committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    b650256 View commit details
    Browse the repository at this point in the history
  6. revert part of commit add0211

    "use iswspace()/iswpunct() to find word delimiters
    
        this inverts the configuration logic: you no longer provide a list of
        delimiters -- all space and punctuation characters are considered
        delimiters, unless listed in extrawordchars."
    
    Feedback from IRC and personal preference.
    hiltjo committed Mar 15, 2019
    Configuration menu
    Copy the full SHA
    21367a0 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2019

  1. Configuration menu
    Copy the full SHA
    f1546cf View commit details
    Browse the repository at this point in the history

Commits on May 17, 2019

  1. FAQ: add entry about color emoji Xft bug

    This has been asked many times on IRC and the mailinglist. Make it easier to
    find information about this particular Xft issue by adding it to the FAQ.
    hiltjo committed May 17, 2019
    Configuration menu
    Copy the full SHA
    caa1d8f View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2019

  1. Change from using xdg shell v5 to v6.

    Also fix shell return value detection.
    etherealvisage authored and ianbeyst committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    2b23448 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    680909c View commit details
    Browse the repository at this point in the history
  3. Change xdg shell from unstable_v6 to stable

    st is now usable on velox/swc. Before, it gave a segfault on startup.
    ianbeyst committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    38c3b45 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0270454 View commit details
    Browse the repository at this point in the history
  5. Replaced all references to "st" by "st-wl"

    To prevent contaminating the already existing x11 st on my system.
    ianbeyst committed Jun 11, 2019
    Configuration menu
    Copy the full SHA
    eb57fe7 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2019

  1. Configuration menu
    Copy the full SHA
    24b6ab8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7eaafe4 View commit details
    Browse the repository at this point in the history
  3. Initial work on split implementation similar to upstream st

    crude first steps to move the wayland stack to a state where it becomes
    easy to track upstream st. Most wayland related functions are separated
    out and the program compiles and runs. Further work is needed to flesh
    out bugs, clean up the messy code and eventually merge with upstream.
    ianbeyst committed Jun 12, 2019
    Configuration menu
    Copy the full SHA
    5ca2e61 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2019

  1. cleaned up st-wl.c

    ianbeyst committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    96ebe10 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a905bde View commit details
    Browse the repository at this point in the history
  3. Cleaned up wl.c

    ianbeyst committed Jun 13, 2019
    Configuration menu
    Copy the full SHA
    fcb79e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    972be5f View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2019

  1. Configuration menu
    Copy the full SHA
    c282abf View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0b2b624 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    cdeac36 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e0cb46f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    274ccfd View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    9b95f42 View commit details
    Browse the repository at this point in the history
  7. merged with upstream st up until commmit 88d8293, harmonized names

    A lot of functions called in st.c were prepended by "wl" to
    differentiate them from their "x" counterparts, eg xclipcopy ->
    wlclipcopy. These are all renamed to be prepended with "x" to ease
    merging. In the future, st should move to neutral terminology here.
    ianbeyst committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    eb15932 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4fdd325 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    ba5c78d View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2019

  1. Configuration menu
    Copy the full SHA
    c6c40a4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    cad5d5f View commit details
    Browse the repository at this point in the history
  3. Fixed window visibility handling, fixed makefile install bug, other b…

    …ugfixes
    
    There was an issue where the surface never gets drawn if xstartdraw
    returns the window visibility mode that was temporarily fixed by always
    returning 1. This has been fixed by simply initializing win.mode to
    MODE_VISIBLE. Also removed the useless wl.vis attribute.
    ianbeyst committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    f43d695 View commit details
    Browse the repository at this point in the history
  4. removed x.c

    ianbeyst committed Jun 15, 2019
    Configuration menu
    Copy the full SHA
    cfde55e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2019

  1. cleanup, reordered some code

    ianbeyst committed Jun 17, 2019
    Configuration menu
    Copy the full SHA
    a062974 View commit details
    Browse the repository at this point in the history