aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-03-05 23:53:03 -0800
committerPaul Eggert2011-03-05 23:53:03 -0800
commit58635e4de85621d4f16befe15b1df44a637bd078 (patch)
treeb5dc80332d5912ba795e59ee86cea1527324709e /src
parent5489860be109ec6fa2a7d143cdecb6887e37f5d5 (diff)
parent555e9b5c69d70acca13310fbe533594a8f1eab98 (diff)
downloademacs-58635e4de85621d4f16befe15b1df44a637bd078.tar.gz
emacs-58635e4de85621d4f16befe15b1df44a637bd078.zip
Merge from mainline.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog26
-rw-r--r--src/config.in3
-rw-r--r--src/nsterm.m7
-rw-r--r--src/sheap.c2
-rw-r--r--src/window.c20
5 files changed, 31 insertions, 27 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 29514f03177..920355b1723 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -9,6 +9,18 @@
9 (mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame): 9 (mouse_face_from_buffer_pos, note_mouse_highlight, expose_frame):
10 Rename or move local decls. 10 Rename or move local decls.
11 11
122011-03-06 Michael Shields <shields@msrl.com> (tiny change)
13
14 * window.c (Fnext_window): Doc fix. (Bug#5567)
15
162011-03-05 Chong Yidong <cyd@stupidchicken.com>
17
18 * nsterm.m (ns_draw_window_cursor): Fix typo in 2011-02-23 commit.
19
202011-03-02 Ken Brown <kbrown@cornell.edu>
21
22 * sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.
23
122011-03-02 Paul Eggert <eggert@cs.ucla.edu> 242011-03-02 Paul Eggert <eggert@cs.ucla.edu>
13 25
14 Work around some portability problems with symlinks. 26 Work around some portability problems with symlinks.
@@ -32,7 +44,7 @@
32 44
33 * msdos.c (readlink) [DJGPP < 2.04]: New stub function. 45 * msdos.c (readlink) [DJGPP < 2.04]: New stub function.
34 46
35 * msdos.h: (readlink) [DJGPP < 2.04]: Declare prototype. 47 * msdos.h (readlink) [DJGPP < 2.04]: Declare prototype.
36 48
37 * w32.c (symlink, readlink): New stub functions. 49 * w32.c (symlink, readlink): New stub functions.
38 50
@@ -1178,7 +1190,7 @@
1178 (x_underline_at_descent_line): Remove declaration. 1190 (x_underline_at_descent_line): Remove declaration.
1179 (syms_of_nsterm): Remove & from DEFVAR_LISP and DEFVAR_BOOL. 1191 (syms_of_nsterm): Remove & from DEFVAR_LISP and DEFVAR_BOOL.
1180 1192
1181 * nsselect.m (Vns_sent_selection_hooks, Vns_lost_selection_hooks 1193 * nsselect.m (Vns_sent_selection_hooks, Vns_lost_selection_hooks)
1182 (Vselection_alist, Vselection_converter_alist): Move to globals.h. 1194 (Vselection_alist, Vselection_converter_alist): Move to globals.h.
1183 (syms_of_nsselect): Remove & from DEFVAR_LISP. 1195 (syms_of_nsselect): Remove & from DEFVAR_LISP.
1184 1196
@@ -2895,7 +2907,7 @@
2895 (Qglyphless_char_display, Qhexa_code, Qempty_box, Qthin_space) 2907 (Qglyphless_char_display, Qhexa_code, Qempty_box, Qthin_space)
2896 (Qzero_width): New variables. 2908 (Qzero_width): New variables.
2897 (THIN_SPACE_WIDTH): New macro. 2909 (THIN_SPACE_WIDTH): New macro.
2898 (lookup_glyphless_char_display): New funciton. 2910 (lookup_glyphless_char_display): New function.
2899 (last_glyphless_glyph_frame, last_glyphless_glyph_face_id) 2911 (last_glyphless_glyph_frame, last_glyphless_glyph_face_id)
2900 (last_glyphless_glyph_merged_face_id): New variables. 2912 (last_glyphless_glyph_merged_face_id): New variables.
2901 (get_next_display_element): Check glyphless characters. 2913 (get_next_display_element): Check glyphless characters.
@@ -3181,7 +3193,7 @@
31812010-10-12 Jan Djärv <jan.h.d@swipnet.se> 31932010-10-12 Jan Djärv <jan.h.d@swipnet.se>
3182 3194
3183 * nsterm.m (Qleft): Declare. 3195 * nsterm.m (Qleft): Declare.
3184 (ns_right_alternate_modifier): New variable 3196 (ns_right_alternate_modifier): New variable.
3185 (NSRightAlternateKeyMask): New define. 3197 (NSRightAlternateKeyMask): New define.
3186 (EV_MODIFIERS): Parse NSRightAlternateKeyMask if 3198 (EV_MODIFIERS): Parse NSRightAlternateKeyMask if
3187 ns_right_alternate_modifier isn't Qleft. 3199 ns_right_alternate_modifier isn't Qleft.
@@ -3205,7 +3217,7 @@
3205 * Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line. 3217 * Makefile.in (temacs): Use $(ALL_CFLAGS) on the link line.
3206 (PROFILING_LDFLAGS): Remove, not needed anymore. 3218 (PROFILING_LDFLAGS): Remove, not needed anymore.
3207 3219
3208 * Makefile.in: Use $(...) everywhere instead of ${...} 3220 * Makefile.in: Use $(...) everywhere instead of ${...}.
3209 (CRT_DIR): Move near potential user. 3221 (CRT_DIR): Move near potential user.
3210 (START_FILE): Move near CRT_DIR, it might use it. 3222 (START_FILE): Move near CRT_DIR, it might use it.
3211 3223
@@ -6142,7 +6154,7 @@
6142 6154
6143 * eval.c: Fix indentation problem. 6155 * eval.c: Fix indentation problem.
6144 6156
6145 * keyboard.c: Include "process.h" 6157 * keyboard.c: Include "process.h".
6146 6158
6147 * eval.c: Remove obsolete noinline declaration. 6159 * eval.c: Remove obsolete noinline declaration.
6148 * fns.c: Likewise. 6160 * fns.c: Likewise.
@@ -8548,7 +8560,7 @@
8548 Qtool_bar_style. Initialize current_tool_bar_style to nil. 8560 Qtool_bar_style. Initialize current_tool_bar_style to nil.
8549 defsubr Stool_bar_get_system_style. Fprovide on 8561 defsubr Stool_bar_get_system_style. Fprovide on
8550 dynamic-setting. 8562 dynamic-setting.
8551 Move misplaced HAVE_GCONF 8563 Move misplaced HAVE_GCONF.
8552 8564
8553 * xsettings.h (Ftool_bar_get_system_style): Declare. 8565 * xsettings.h (Ftool_bar_get_system_style): Declare.
8554 8566
diff --git a/src/config.in b/src/config.in
index 4e49b4df170..7f33727c0b1 100644
--- a/src/config.in
+++ b/src/config.in
@@ -1203,9 +1203,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
1203# define __restrict__ 1203# define __restrict__
1204#endif 1204#endif
1205 1205
1206/* Define to `unsigned int' if <sys/types.h> does not define. */
1207#undef size_t
1208
1209/* Define to any substitute for sys_siglist. */ 1206/* Define to any substitute for sys_siglist. */
1210#undef sys_siglist 1207#undef sys_siglist
1211 1208
diff --git a/src/nsterm.m b/src/nsterm.m
index 8e77c89c3f7..cc2c4cf9807 100644
--- a/src/nsterm.m
+++ b/src/nsterm.m
@@ -189,7 +189,7 @@ static NSMutableArray *ns_pending_files, *ns_pending_service_names,
189 *ns_pending_service_args; 189 *ns_pending_service_args;
190static BOOL inNsSelect = 0; 190static BOOL inNsSelect = 0;
191 191
192/* Convert modifiers in a NeXTSTEP event to emacs style modifiers. */ 192/* Convert modifiers in a NeXTstep event to emacs style modifiers. */
193#define NS_FUNCTION_KEY_MASK 0x800000 193#define NS_FUNCTION_KEY_MASK 0x800000
194#define NSLeftControlKeyMask (0x000001 | NSControlKeyMask) 194#define NSLeftControlKeyMask (0x000001 | NSControlKeyMask)
195#define NSRightControlKeyMask (0x002000 | NSControlKeyMask) 195#define NSRightControlKeyMask (0x002000 | NSControlKeyMask)
@@ -2282,9 +2282,8 @@ ns_draw_window_cursor (struct window *w, struct glyph_row *glyph_row,
2282 to the glyph width; replace with CURSOR_WIDTH for bar cursors. */ 2282 to the glyph width; replace with CURSOR_WIDTH for bar cursors. */
2283 if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR) 2283 if (cursor_type == BAR_CURSOR || cursor_type == HBAR_CURSOR)
2284 { 2284 {
2285 if (cursor_width < 0) 2285 if (cursor_width < 1)
2286 cursor_width = FRAME_CURSOR_WIDTH (f); 2286 cursor_width = max (FRAME_CURSOR_WIDTH (f), 1);
2287 cursor_width = min (cursor_width, 1);
2288 w->phys_cursor_width = cursor_width; 2287 w->phys_cursor_width = cursor_width;
2289 } 2288 }
2290 2289
diff --git a/src/sheap.c b/src/sheap.c
index 65fbab538bb..31414fbe5c6 100644
--- a/src/sheap.c
+++ b/src/sheap.c
@@ -25,7 +25,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
25 25
26#include <unistd.h> 26#include <unistd.h>
27 27
28#define STATIC_HEAP_SIZE (12 * 1024 * 1024) 28#define STATIC_HEAP_SIZE (13 * 1024 * 1024)
29 29
30int debug_sheap = 0; 30int debug_sheap = 0;
31 31
diff --git a/src/window.c b/src/window.c
index 7965269f0e7..7c55be972b2 100644
--- a/src/window.c
+++ b/src/window.c
@@ -1769,8 +1769,10 @@ window_list (void)
1769 1769
1770 ALL_FRAMES t means search all frames, 1770 ALL_FRAMES t means search all frames,
1771 nil means search just current frame, 1771 nil means search just current frame,
1772 `visible' means search just visible frames, 1772 `visible' means search just visible frames on the
1773 0 means search visible and iconified frames, 1773 current terminal,
1774 0 means search visible and iconified frames on the
1775 current terminal,
1774 a window means search the frame that window belongs to, 1776 a window means search the frame that window belongs to,
1775 a frame means consider windows on that frame, only. */ 1777 a frame means consider windows on that frame, only. */
1776 1778
@@ -1836,8 +1838,8 @@ candidate_window_p (Lisp_Object window, Lisp_Object owindow, Lisp_Object minibuf
1836 1838
1837 1839
1838/* Decode arguments as allowed by Fnext_window, Fprevious_window, and 1840/* Decode arguments as allowed by Fnext_window, Fprevious_window, and
1839 Fwindow_list. See there for the meaning of WINDOW, MINIBUF, and 1841 Fwindow_list. See candidate_window_p for the meaning of WINDOW,
1840 ALL_FRAMES. */ 1842 MINIBUF, and ALL_FRAMES. */
1841 1843
1842static void 1844static void
1843decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object *all_frames) 1845decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object *all_frames)
@@ -1871,12 +1873,6 @@ decode_next_window_args (Lisp_Object *window, Lisp_Object *minibuf, Lisp_Object
1871 ; 1873 ;
1872 else if (!EQ (*all_frames, Qt)) 1874 else if (!EQ (*all_frames, Qt))
1873 *all_frames = Qnil; 1875 *all_frames = Qnil;
1874
1875 /* Now *ALL_FRAMES is t meaning search all frames, nil meaning
1876 search just current frame, `visible' meaning search just visible
1877 frames, 0 meaning search visible and iconified frames, or a
1878 window, meaning search the frame that window belongs to, or a
1879 frame, meaning consider windows on that frame, only. */
1880} 1876}
1881 1877
1882 1878
@@ -1974,9 +1970,9 @@ ALL-FRAMES nil or omitted means consider all windows on WINDOW's
1974 windows on all frames that share that minibuffer too. 1970 windows on all frames that share that minibuffer too.
1975ALL-FRAMES t means consider all windows on all existing frames. 1971ALL-FRAMES t means consider all windows on all existing frames.
1976ALL-FRAMES `visible' means consider all windows on all visible 1972ALL-FRAMES `visible' means consider all windows on all visible
1977 frames. 1973 frames on the current terminal.
1978ALL-FRAMES 0 means consider all windows on all visible and 1974ALL-FRAMES 0 means consider all windows on all visible and
1979 iconified frames. 1975 iconified frames on the current terminal.
1980ALL-FRAMES a frame means consider all windows on that frame only. 1976ALL-FRAMES a frame means consider all windows on that frame only.
1981Anything else means consider all windows on WINDOW's frame and no 1977Anything else means consider all windows on WINDOW's frame and no
1982 others. 1978 others.