1. 01 Jan, 2020 1 commit
  2. 01 Jan, 2019 1 commit
  3. 28 Apr, 2018 1 commit
    • Paul Eggert's avatar
      Port --enable-gcc-warnings to GCC 8 · 8c3215e7
      Paul Eggert authored
      * configure.ac: Do not use GCC 8’s new -Wcast-align flag.
      * lib-src/ebrowse.c (xmalloc):
      * lib-src/emacsclient.c (xmalloc, xstrdup):
      * lib-src/etags.c (xmalloc):
      * lib-src/make-docfile.c (xmalloc):
      * lib-src/movemail.c (xmalloc):
      * src/dispnew.c (new_glyph_pool):
      * src/regex.c (xmalloc):
      * src/term.c (tty_menu_create):
      * src/tparam.h (tparam):
      Use ATTRIBUTE_MALLOC.  Also see GCC bug 85562.
      * lib-src/emacsclient.c (fail):
      Do not dereference a null pointer.
      * src/frame.c (delete_frame):
      Add a decl with UNINIT to work around GCC bug 85563.
      * src/menu.h (finish_menu_items):
      Do not use attribute const.
      * src/regex.c (analyze_first): Use FALLTHROUGH, not a comment.
      8c3215e7
  4. 10 Feb, 2018 1 commit
    • Rami Ylimäki's avatar
      Support standard Terminfo direct mode terminals · 7f6153d9
      Rami Ylimäki authored
      Latest Terminfo introduces terminal definitions that support direct
      color mode.  The "Co"/"colors" capability is set to 0x1000000 on these
      terminals and Emacs is already compatible with them.
      However, if used Terminfo library hasn't been compiled with 32-bit
      value support, "Co"/"colors" is truncated to 0x7fff.  In this case
      direct color mode support can be detected from the "RGB" capability
      flag.
      There are some minor problems if the color count isn't corrected from
      0x7fff.  First eight standard colors defined in xterm-standard-colors
      are shown correctly.  However, their RGB values match the terminal
      settings, not the RGB values defined in xterm-standard-colors.  Bright
      versions of these colors are shown incorrectly.  They are interpreted
      as pixels #000008 - #000015, which are very dark shades of blue.
      
      * src/term.c (init_tty): Force terminal color count to 0x1000000 if
      "RGB" capability is present.
      * src/tparam.h: Define prototype for tigetflag.  (Bug#30308)
      
      * doc/misc/efaq.texi (Colors on a TTY): Add information about direct
      mode terminals supported by Terminfo.
      7f6153d9
  5. 01 Jan, 2018 1 commit
  6. 13 Sep, 2017 1 commit
    • Paul Eggert's avatar
      Prefer HTTPS to FTP and HTTP in documentation · bc511a64
      Paul Eggert authored
      Most of this change is to boilerplate commentary such as license URLs.
      This change was prompted by ftp://ftp.gnu.org's going-away party,
      planned for November.  Change these FTP URLs to https://ftp.gnu.org
      instead.  Make similar changes for URLs to other organizations moving
      away from FTP.  Also, change HTTP to HTTPS for URLs to gnu.org and
      fsf.org when this works, as this will further help defend against
      man-in-the-middle attacks (for this part I omitted the MS-DOS and
      MS-Windows sources and the test tarballs to keep the workload down).
      HTTPS is not fully working to lists.gnu.org so I left those URLs alone
      for now.
      bc511a64
  7. 18 Feb, 2017 1 commit
    • Rami Ylimäki's avatar
      Support 24-bit direct colors on text terminals · e463e576
      Rami Ylimäki authored
      * src/term.c (init_tty): Use 24-bit terminal colors if corresponding
      foreground and background functions are present in terminal type
      definition.
      * src/tparam.h: Define prototype for tigetstr.
      
      * lisp/term/tty-colors.el (tty-color-define): Convert color palette
      index to pixel value on 16.7M color terminals.
      (tty-color-24bit): New function to convert color palette index to
      pixel value on 16.7M color terminals.
      (tty-color-desc): Don't approximate colors on 16.7M color terminals.
      * lisp/term/xterm.el (xterm-register-default-colors): Define all named
      TTY colors on 16.7M color terminals.
      
      * doc/misc/efaq.texi (Colors on a TTY): Add instructions on how to
      enable direct color TTY mode.
      * etc/NEWS: Mention direct color TTY mode and point to FAQ.
      e463e576
  8. 01 Jan, 2017 1 commit
  9. 10 Mar, 2016 1 commit
    • Paul Eggert's avatar
      Rework C source files to avoid ^( · 7352c6c6
      Paul Eggert authored
      Work around Bug#22884 by rewording comments and strings to avoid ‘(’
      at the start of a line unless it starts a function.  This change
      is a short-term hack; in the longer run we plan to fix cc-mode’s
      performance for C files that have ‘(’ at the start of a line in a
      comment or string.
      7352c6c6
  10. 01 Jan, 2016 1 commit
  11. 16 Oct, 2015 1 commit
    • Paul Eggert's avatar
      Make src headers idempotent and standalone · 55ba8c02
      Paul Eggert authored
      Redo src/*.h so that each include file is idempotent (that is, can
      be included multiple times with the latter inclusions having no
      effect) and standalone (that is, can be included by itself,
      with no include file other than config.h needed as a prerequisite).
      This is standard practice in GNU programs nowadays.
      * lwlib/lwlib-widget.h, src/buffer.h, src/category.h, src/character.h:
      * src/charset.h, src/coding.h, src/commands.h, src/disptab.h:
      * src/fontset.h, src/gnutls.h, src/indent.h, src/keymap.h, src/macros.h:
      * src/regex.h [emacs]:
      * src/syntax.h, src/systty.h, src/termhooks.h:
      Include lisp.h, for Lisp_Object.
      * src/buffer.h, src/category.h, src/cm.h, src/commands.h, src/disptab.h:
      * src/indent.h, src/intervals.h, src/keyboard.h, src/macros.h:
      * src/process.h, src/puresize.h, src/region-cache.h, src/syntax.h:
      * src/syssignal.h, src/sysstdio.h, src/systty.h, src/termchar.h:
      * src/termopts.h, src/tparam.h, src/unexec.h:
      Protect against multiple inclusion.
      * src/buffer.h: Include character.h, for STRING_CHAR.
      * src/emacsgtkfixed.h (struct frame):
      * src/fontset.h (struct face):
      * src/region-cache.h (struct buffer):
      * src/termhooks.h (struct glyph):
      * src/xsettings.h (struct x_display_info):
      Add possibly-forward decl.
      * src/syntax.h: Include buffer.h, for BVAR.
      * src/sysselect.h: Include lisp.h, for eassume.
      * src/termchar.h: Include <stdio.h>, for FILE.
      * src/widget.h: Include <X11/IntrinsicP.h>, for Widget.
      * src/xsettings.h: Include <X11/Xlib.h>, for XEvent.
      55ba8c02
  12. 01 Jan, 2015 2 commits
  13. 01 Jan, 2014 1 commit
  14. 01 Jan, 2013 1 commit
  15. 05 Jan, 2012 1 commit
  16. 19 Mar, 2011 1 commit
    • Paul Eggert's avatar
      Make tparam.h and terminfo.c consistent. · af8a867c
      Paul Eggert authored
      * cm.c (tputs, tgoto, BC, UP): Remove extern decls.  Include
      tparam.h instead, since it declares them.
      * cm.h (PC): Remove extern decl; tparam.h now does this.
      * deps.mk (cm.o, terminfo.o): Depend on tparam.h.
      * terminfo.c: Include tparam.h, to check interfaces.
      (tparm): Make 1st arg a const pointer in decl.  Put it at top level.
      (tparam): Adjust signature to match interface in tparam.h;
      this removes some undefined behavior.  Check that outstring and len
      are zero, which they always are with Emacs.
      * tparam.h (PC, BC, UP): New extern decls.
      af8a867c
  17. 09 Mar, 2011 1 commit
  18. 08 Mar, 2011 1 commit
    • Paul Eggert's avatar
      * tparam.h: New file. · 50938595
      Paul Eggert authored
      * term.c, tparam.h: Include it.
      * deps.mk (term.o, tparam.o): Depend on tparam.h.
      * term.c (tputs, tgetent, tgetflag, tgetnum, tparam, tgetstr):
      Move these decls to tparam.h, and make them agree with what
      is actually in tparam.c.  The previous trick of using incompatible
      decls in different modules does not conform to the C standard.
      All callers of tparam changed to use tparam's actual API.
      * tparam.c (tparam1, tparam, tgoto):
      Use const pointers where appropriate.
      50938595
  19. 21 Feb, 2011 1 commit
    • Christoph Scholtes's avatar
      Add stdint.h for MS-Windows. · 9f8370e6
      Christoph Scholtes authored
       nt/inc/stdint.h: New file, to support compilation with tool chains
       that do not have stdint.h (e.g. MSVC).
       lib/makefile.w32-in: ($(BLD)/md5.$(O)): Added dependency on
       $(EMACS_ROOT)/nt/inc/stdint.h.
      9f8370e6
  20. 26 Jan, 2011 1 commit
  21. 25 Jan, 2011 1 commit
  22. 15 Jan, 2011 1 commit
  23. 02 Jan, 2011 1 commit
  24. 02 Jul, 2010 1 commit
    • Jan D's avatar
      Remove P_ and __P macros. · 383e0970
      Jan D authored
      * lwlib/lwlib-Xaw.h: Remove P_ and __P macros.
      * lwlib/lwlib-Xlw.h:
      * lwlib/lwlib-Xm.h:
      * lwlib/lwlib-int.h:
      * lwlib/lwlib-utils.h:
      * lwlib/lwlib.h: Likewise.
      
      * src/buffer.h: Remove P_ and __P macros.
      * src/category.h:
      * src/ccl.h:
      * src/character.h:
      * src/charset.h:
      * src/cm.h:
      * src/coding.h:
      * src/composite.h:
      * src/dispextern.h:
      * src/disptab.h:
      * src/font.h:
      * src/fontset.h:
      * src/frame.h:
      * src/gtkutil.h:
      * src/indent.h:
      * src/intervals.h:
      * src/keyboard.h:
      * src/keymap.h:
      * src/lisp.h:
      * src/macros.h:
      * src/md5.h:
      * src/menu.h:
      * src/msdos.h:
      * src/nsterm.h:
      * src/puresize.h:
      * src/region-cache.h:
      * src/syntax.h:
      * src/syssignal.h:
      * src/systime.h:
      * src/termhooks.h:
      * src/w32term.h:
      * src/widget.h:
      * src/window.h:
      * src/xgselect.h:
      * src/xsettings.h:
      * src/xterm.h: Likewise.
      383e0970
  25. 13 Jan, 2010 1 commit
  26. 01 Dec, 2009 1 commit
  27. 21 Nov, 2009 1 commit
    • Jan Djärv's avatar
      Use a select wrapper around the GLib event loop, thus taking into account GLib · 872870b2
      Jan Djärv authored
      timeouts and event sources.  This simplifies Gtk+-code a lot, and is needed
      for handling GConf death/restart.
      
      * xterm.c: #include xgselect.h.
      (x_initialize): Call xgselect_initialize.
      
      * xsettings.c (something_changedCB): C++ comments => C comments.
      (init_gconf): Do not deal with any GLib file descriptors, xg_select
      does that now.
      
      * gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
      (xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
      (scroll_bar_button_cb): Remove.
      (create_menus): C++ comments => C comments. Don't bind grab-notify
      event.
      (xg_create_scroll_bar): Don't bind button-press-event and
      button-release-event.
      
      * process.c: Include xgselect.h if defined (USE_GTK) ||
      defined (HAVE_GCONF).
      (wait_reading_process_output): Call xg_select for the same condition.
      
      * xgselect.c (xg_select): New function to better integrate with
      GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.
      
      * xgselect.h: New file, declare xg_select, xgselect_initialize.
      
      * Makefile.in (XOBJ): Add xgselect.o.
      872870b2
  28. 08 Jan, 2009 1 commit
  29. 09 May, 2008 2 commits
  30. 07 Jan, 2008 1 commit
  31. 25 Jul, 2007 1 commit
  32. 21 Jan, 2007 1 commit
  33. 06 Feb, 2006 1 commit
  34. 10 Aug, 2005 1 commit
  35. 04 Jul, 2005 1 commit
  36. 16 Apr, 2004 1 commit
  37. 08 Sep, 2003 1 commit
  38. 01 Sep, 2003 1 commit