From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: [PATCH 0/4] Support Win32 GUI in Cygwin Emacs Date: Thu, 29 Dec 2011 06:03:20 -0800 Message-ID: NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1325167421 4924 80.91.229.12 (29 Dec 2011 14:03:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 29 Dec 2011 14:03:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 29 15:03:37 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RgGa0-0005uJ-15 for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2011 15:03:36 +0100 Original-Received: from localhost ([::1]:37537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgGZz-00012B-86 for ged-emacs-devel@m.gmane.org; Thu, 29 Dec 2011 09:03:35 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49243) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgGZu-0000sO-NQ for emacs-devel@gnu.org; Thu, 29 Dec 2011 09:03:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RgGZr-0007TF-R0 for emacs-devel@gnu.org; Thu, 29 Dec 2011 09:03:30 -0500 Original-Received: from dancol.org ([96.126.100.184]:33786) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RgGZr-0007Rn-Mk for emacs-devel@gnu.org; Thu, 29 Dec 2011 09:03:27 -0500 Original-Received: from dancol by dancol.org with local (Exim 4.72) (envelope-from ) id 1RgGZk-0007mX-U5 for emacs-devel@gnu.org; Thu, 29 Dec 2011 06:03:20 -0800 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 96.126.100.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146992 Archived-At: This set of patches allows a Cygwin Emacs to use the w32 window-system instead of X11. It 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. Daniel Colascione (4): Compilation cleanups Refactor window-system configuration Implement cygw32 Fix emacsclient to work with cygw32 configure.in | 133 ++++++- lib-src/emacsclient.c | 71 ++-- lib-src/update-game-score.c | 2 + lisp/battery.el | 2 +- lisp/faces.el | 2 +- lisp/frame.el | 4 +- lisp/international/mule-cmds.el | 3 +- lisp/loadup.el | 13 +- lisp/mouse.el | 2 +- lisp/server.el | 10 +- lisp/simple.el | 2 +- lisp/term/common-win.el | 2 +- lisp/term/w32-win.el | 42 ++- lisp/w32-common-fns.el | 130 +++++++ lisp/w32-fns.el | 105 +------ lisp/w32-vars.el | 22 +- src/Makefile.in | 41 ++- src/ccl.h | 2 + src/cygw32.c | 168 +++++++++ src/cygw32.h | 59 ++++ src/dispextern.h | 4 +- src/dispnew.c | 14 +- src/emacs.c | 42 ++- src/font.c | 18 +- src/font.h | 4 +- src/fontset.c | 2 +- src/frame.c | 23 +- src/frame.h | 33 ++- src/gmalloc.c | 4 +- src/gtkutil.h | 1 + src/image.c | 85 +++-- src/keyboard.c | 31 +- src/keyboard.h | 4 +- src/menu.c | 21 +- src/nsterm.h | 26 +-- src/process.c | 8 +- src/s/cygwin.h | 11 + src/termhooks.h | 6 +- src/unexcw.c | 2 + src/w32.c | 19 +- src/w32.h | 10 - src/w32console.c | 48 --- src/w32fns.c | 728 ++++++++++++++++++++++++++++++++------- src/w32font.c | 4 + src/w32font.h | 4 + src/w32heap.c | 54 --- src/w32heap.h | 38 ++- src/w32inevt.c | 192 +---------- src/w32menu.c | 21 +- src/w32proc.c | 14 - src/w32select.c | 5 + src/w32select.h | 30 ++ src/w32term.c | 49 ++- src/w32term.h | 71 ++++- src/w32xfns.c | 34 ++- src/window.c | 2 +- src/xdisp.c | 6 +- src/xfaces.c | 36 +- src/xterm.h | 31 +-- 59 files changed, 1626 insertions(+), 924 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.5.1