emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 0/9] Support Win32 GUI in Cygwin Emacs


From: Daniel Colascione
Subject: [PATCH 0/9] Support Win32 GUI in Cygwin Emacs
Date: Tue, 07 Aug 2012 01:19:27 -0700

This set of patches allows a Cygwin Emacs to use the w32 window-system
instead of X11.  (The ability to use X11 with Cygwin is retained.)
This patchset also fixes a few bugs in the Windows code and makes the
window-system configuration mechanism more generic, eliminating
inclusion of window-system specific headers in most of the code.

This is the second version of this patch set.  This version is 
rebased onto the current Emacs trunk.

Daniel Colascione (9):
  Under Remote Desktop, NUMCOLORS is unreliable; workaround
  Refactor window-system configuration
  Implement cygw32
  Fix emacsclient to work with cygw32
  Prevent crash if w32 used before it's initialized
  Rename `w32' local to `nt' for clarity
  Add alt_display to emacsclient for w32, ns
  Generalize fork+exec logic, add DAEMON_MUST_EXEC
  Detect window-system from display name

 configure.ac                    |  133 ++++++-
 lib-src/emacsclient.c           |  198 ++++++-----
 lisp/battery.el                 |    2 +-
 lisp/faces.el                   |    2 +-
 lisp/frame.el                   |   55 ++--
 lisp/international/mule-cmds.el |    3 +-
 lisp/loadup.el                  |   13 +-
 lisp/mouse.el                   |    2 +-
 lisp/server.el                  |   81 +++--
 lisp/simple.el                  |    2 +-
 lisp/startup.el                 |    3 +-
 lisp/term/common-win.el         |    2 +-
 lisp/term/ns-win.el             |    4 +-
 lisp/term/w32-win.el            |   49 ++-
 lisp/term/x-win.el              |    5 +
 lisp/w32-common-fns.el          |  130 +++++++
 lisp/w32-fns.el                 |  105 +------
 lisp/w32-vars.el                |   22 +-
 src/Makefile.in                 |   34 ++-
 src/ccl.h                       |    2 +
 src/conf_post.h                 |   14 +
 src/cygw32.c                    |  169 +++++++++
 src/cygw32.h                    |   59 +++
 src/dispextern.h                |    4 +-
 src/dispnew.c                   |   14 +-
 src/emacs.c                     |   78 +++--
 src/font.c                      |   18 +-
 src/font.h                      |    4 +-
 src/fontset.c                   |    2 +-
 src/frame.c                     |   23 +-
 src/frame.h                     |   33 ++-
 src/gtkutil.h                   |    1 +
 src/image.c                     |   85 +++--
 src/keyboard.c                  |   31 +-
 src/keyboard.h                  |    4 +-
 src/menu.c                      |   21 +-
 src/nsterm.h                    |   27 +--
 src/process.c                   |    8 +-
 src/termhooks.h                 |    6 +-
 src/w32.c                       |   19 +-
 src/w32.h                       |   11 -
 src/w32console.c                |   48 ---
 src/w32fns.c                    |  748 ++++++++++++++++++++++++++++++++-------
 src/w32font.c                   |    4 +
 src/w32font.h                   |    4 +
 src/w32inevt.c                  |   29 +--
 src/w32menu.c                   |   22 ++-
 src/w32proc.c                   |   14 -
 src/w32select.c                 |    5 +
 src/w32select.h                 |   30 ++
 src/w32term.c                   |   52 ++-
 src/w32term.h                   |   73 ++++-
 src/w32xfns.c                   |   34 ++-
 src/window.c                    |    2 +-
 src/xdisp.c                     |    6 +-
 src/xfaces.c                    |   36 +-
 src/xterm.h                     |   27 +-
 57 files changed, 1804 insertions(+), 808 deletions(-)
 create mode 100644 lisp/w32-common-fns.el
 create mode 100644 src/cygw32.c
 create mode 100644 src/cygw32.h
 create mode 100644 src/w32select.h

-- 
1.7.2.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]