aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorDaniel Colascione2012-08-31 22:38:52 -0800
committerDaniel Colascione2012-08-31 22:38:52 -0800
commit17a2cbbd76385d0be8a4b28974e64f4debf459c1 (patch)
treec9d9f61e8580269679c9583ee94ccd812cca5790 /src/ChangeLog
parentc650a5dec69902c684c5333befd35da6c518c5e0 (diff)
downloademacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.tar.gz
emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.zip
Refactor window-system configuration
This change streamlines the window system selection code in configure.in and moves many common function declarations from window-specific headers to frame.h. It introduces a new TERM_HEADER macro in config.h: we set this macro to the right header to use for the window system for which we're compiling Emacs and have source files include it indirectly. This way, we don't have to teach every file about every window system.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog71
1 files changed, 71 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 4db48bbb969..0bd1d6c98a9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,74 @@
12012-09-01 Daniel Colascione <dancol@dancol.org>
2
3 * xterm.h: Add header guards. Declare x_menubar_window_to_frame.
4 Remove x_set_frame_alpha, x_bitmap_icon, x_make_frame_visible,
5 x_make_frame_invisible, x_iconify_frame, x_free_frame_resources,
6 x_wm_set_size_hint, x_query_colors, x_real_positions,
7 x_set_menu_bar_lines, x_char_width, x_char_height, x_sync,
8 x_set_tool_bar_lines, x_activate_menubar, and free_frame_menubar,
9 all of which have been moved to common code.
10
11 * xfaces.c: Include TERM_HEADER instead of listing all possible
12 window-system headers.
13
14 * w32xfns.c (x_sync): Correct definition of x_sync (a no-op here)
15 to match header.
16
17 * w32term.h (FRAME_X_WINDOW): Use FRAME_W32_WINDOW instead of
18 directly accessing frame internals.
19
20 * w32font.h (w): Include font.h. Define syms_of_w32font and
21 globals_of_w32font.
22
23 * process.c: Include TERM_HEADER instead of listing all possible
24 window-system headers.
25
26 * nsterm.h: Remove declarations now in frame.h. Define
27 FRAME_X_SCREEN, FRAME_X_VISUAL.
28
29 * menu.c: Include TERM_HEADER instead of listing all possible
30 window-system headers.
31
32 * keyboard.h: Declare ignore_mouse_drag_p whenever we have a
33 window system.
34
35 * keyboard.c: Include TERM_HEADER instead of listing all possible
36 window-system headers.
37
38 * image.c: Include TERM_HEADER instead of listing all possible
39 window-system headers. Declare Vlibrary_cache when compiling for
40 Windows.
41
42 * gtkutil.h (xg_list_node_): Include xterm.h to pick up needed
43 window system declarations.
44
45 * frame.h: Move common functions here: set_frame_menubar,
46 x_set_window_size, x_sync, x_get_focus_frame,
47 x_set_mouse_position, x_set_mouse_pixel_position,
48 x_make_frame_visible, x_make_frame_invisible, x_iconify_frame,
49 x_char_width, x_char_height, x_pixel_width, x_pixel_height,
50 x_set_frame_alpha, x_set_menu_bar_lines, x_set_tool_bar_lines,
51 x_activate_menubar, x_real_positions, x_bitmap_icon,
52 x_set_menu_bar_lines, free_frame_menubar, x_free_frame_resources,
53 and x_query_colors.
54
55 * frame.c: Include TERM_HEADER instead of listing all possible
56 window-system headers.
57
58 * font.c: Include TERM_HEADER instead of listing all possible
59 window-system headers.
60
61 * emacs.c: Include TERM_HEADER.
62
63 * dispnew.c (d): Include TERM_HEADER instead of listing all
64 possible window-system headers.
65
66 * ccl.h (c): Include character.h.
67
68 * Makefile.in: Define WINDOW_SYSTEM_OBJ to hold objects needed for
69 the current window system; include in list of objects to link into
70 Emacs.
71
12012-08-31 Dmitry Antipov <dmantipov@yandex.ru> 722012-08-31 Dmitry Antipov <dmantipov@yandex.ru>
2 73
3 Remove mark_ttys function and fix tty_display_info initialization. 74 Remove mark_ttys function and fix tty_display_info initialization.