Skip to content
Snippets Groups Projects
  1. Jun 09, 2023
    • Rob Swindell's avatar
      Address new GCC (10.2) warnings from previous commit · f8c9dec3
      Rob Swindell authored
      Adding and removing typecasts and changing some types (of ints).
      f8c9dec3
    • Rob Swindell's avatar
      <Deuce> ... billion-and-one result of comparison of constant 100000 warnings. · 22d6cf8d
      Rob Swindell authored
      So Clang-FreeBSD was warning (in compiles of scfg/scfg*.c by Deuce):
      result of comparison of constant 100000 with expression of type 'uint16_t'
      (aka 'unsigned short') is always true
      
      Why? Cause a uint16_t's max value is 65535 (less than 100000). Sure we could
      have just lowered the UIFC max number of config items to 65535, but that would
      have been too easy. And why are these compared-with values of type uint16_t to
      begin with? Because most ctrl/*.cnf lists (of configuration items) were
      limited to 65535 entries cause ... 16-bit DOS, historically. Now that *.cnf
      files aren't used, we could just increase these scfg_t.*_total type sizes from
      16 to 32-bits, yeah? The result is this commit.
      
      I went to (signed) int so we could still keep -1 as the special illegal
      sub/dir num value (e.g. INVALID_SUB, which is sometimes used to indicate the
      email message base). Theoretically, 2 billion configuration items could be
      supported in these lists, but SCFG will limit you to 100000 anyway. So there's
      a whole lot of s/uint/int in this commit.
      
      I'd be very surprised if this doesn't result in some new GCC/Clang warnings,
      but at least the old "comparison of constant 100000" warnings are now gone!
      22d6cf8d
  2. Jun 08, 2023
    • Deucе's avatar
      More ATASCII improvements · 03943572
      Deucе authored
      Fix bad and poor unicode mappings, add support for sending Insert
      and Pipe.
      03943572
    • Deucе's avatar
      Support inverse mode in atascii · 16d718aa
      Deucе authored
      Toggled using backtick.
      Current state is shown in the status bar.
      
      Since we previously couldn't actually *show* the status bar in
      ATASCII (or C64) mode, enable that as well.  This means supporting
      40-column status bars too.
      
      We still default status bar to off for those modes, because that's
      likely what people actually want.
      
      Also, it seems ENTER was broken in ATASCII mode, so fix that as well.
      Implements SF feature 61
      16d718aa
    • Deucе's avatar
      Missed a 'C' in ICCCM · 325bafcc
      Deucе authored
      325bafcc
    • Deucе's avatar
      e1a6e1ac
    • Deucе's avatar
      More work on X11 fullscreen mode. · fc29b7c7
      Deucе authored
      Save the window position and size when we enter fullscreen, and
      restore when we leave... this was a bigger box of worms than
      expected since we can get ConfigureNotify events that tell is
      "Something" changed, but not be able to know the current window
      position.
      
      Just remove the x_get_window_info() and anything else that cares
      about the window position and derive it from the ALT-Enter keypress
      instead.
      
      At the same time, try to remove as much special-casing for
      fullscreen as possible.
      
      Tested under marco and xfwm4... will test under Sommelier "soon"
      fc29b7c7
  3. Jun 07, 2023
  4. Jun 06, 2023
  5. Jun 05, 2023
Loading