all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Daniel Colascione <dancol@dancol.org>
To: emacs-devel@gnu.org
Subject: [PATCH 0/9] Support Win32 GUI in Cygwin Emacs
Date: Tue, 07 Aug 2012 01:19:27 -0700	[thread overview]
Message-ID: <cover.1344326992.git.dancol@dancol.org> (raw)

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	other threads:[~2012-08-07  8:19 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-07  8:19 Daniel Colascione [this message]
2012-08-07  8:19 ` [PATCH 6/9] Rename `w32' local to `nt' for clarity Daniel Colascione
2012-08-07 10:49   ` Lennart Borgman
2012-08-07 15:45   ` Stefan Monnier
2012-08-07 16:31     ` Eli Zaretskii
2012-08-07 16:40       ` Drew Adams
2012-08-07 17:07         ` Daniel Colascione
2012-08-07 20:00       ` Stefan Monnier
2012-08-08  2:50         ` Eli Zaretskii
2012-08-07  8:19 ` [PATCH 2/9] Refactor window-system configuration Daniel Colascione
2012-08-07 17:20   ` Eli Zaretskii
2012-08-07 17:31     ` Daniel Colascione
2012-08-07 20:47     ` Stefan Monnier
2012-08-07  8:19 ` [PATCH 9/9] Detect window-system from display name Daniel Colascione
2012-08-07 15:50   ` Stefan Monnier
2012-08-07 17:09     ` Daniel Colascione
2012-08-07 20:01       ` Stefan Monnier
2012-08-07 20:19         ` Daniel Colascione
2012-08-07 22:52           ` Lennart Borgman
2012-08-07 22:54             ` Daniel Colascione
2012-08-07 23:02               ` Lennart Borgman
2012-08-07 18:18   ` Eli Zaretskii
2012-08-07 20:28     ` Daniel Colascione
2012-08-08 16:50   ` Eli Zaretskii
2012-08-07  8:19 ` [PATCH 7/9] Add alt_display to emacsclient for w32, ns Daniel Colascione
2012-08-07 15:22   ` Stefan Monnier
2012-08-07  8:19 ` [PATCH 5/9] Prevent crash if w32 used before it's initialized Daniel Colascione
2012-08-07 17:23   ` Eli Zaretskii
2012-08-07 17:28     ` Daniel Colascione
2012-08-07 18:11       ` Eli Zaretskii
2012-08-07  8:19 ` [PATCH 8/9] Generalize fork+exec logic, add DAEMON_MUST_EXEC Daniel Colascione
2012-08-07  8:19 ` [PATCH 4/9] Fix emacsclient to work with cygw32 Daniel Colascione
2012-08-07 18:14   ` Eli Zaretskii
2012-08-07 20:16     ` Daniel Colascione
2012-08-08  2:55       ` Eli Zaretskii
2012-08-07  8:19 ` [PATCH 1/9] Under Remote Desktop, NUMCOLORS is unreliable; workaround Daniel Colascione
2012-08-07 17:07   ` Eli Zaretskii
2012-08-07  8:19 ` [PATCH 3/9] Implement cygw32 Daniel Colascione
2012-08-07 15:40   ` Stefan Monnier
2012-08-07 18:02   ` Eli Zaretskii
2012-08-07 20:11     ` Daniel Colascione
2012-08-08 17:15       ` Eli Zaretskii
2012-08-07 17:22 ` [PATCH 0/9] Support Win32 GUI in Cygwin Emacs Eli Zaretskii
2012-08-07 17:29   ` Daniel Colascione
2012-08-07 18:10     ` Eli Zaretskii
2012-08-07 19:18       ` Eli Zaretskii
2012-08-07 20:15       ` Daniel Colascione
2012-08-07 20:24         ` Juanma Barranquero
2012-08-08  2:53         ` Eli Zaretskii
2012-08-08  2:33     ` Daniel Colascione
2012-08-08  3:03       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1344326992.git.dancol@dancol.org \
    --to=dancol@dancol.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.