aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMiles Bader2007-03-12 00:42:43 +0000
committerMiles Bader2007-03-12 00:42:43 +0000
commit497fb25eb16b715d24354db87a0ef9415e94b878 (patch)
treeb8d969273f83c0b53c319caeee770febe61f18d3 /src
parentd73d5c1ca40c08984353d1a78bfaa2e15bd8b23c (diff)
parent7ab2e82f0e19aead5fafaf7f959e4db29f3926b5 (diff)
downloademacs-497fb25eb16b715d24354db87a0ef9415e94b878.tar.gz
emacs-497fb25eb16b715d24354db87a0ef9415e94b878.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 662-669) - Update from CVS - Fix read-only prompt problem in isearch - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 207-208) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-184
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog103
-rw-r--r--src/macfns.c22
-rw-r--r--src/process.c16
3 files changed, 102 insertions, 39 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index af6d98afb2a..2c241cd2a51 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,12 +1,90 @@
12007-03-11 Sam Steingold <sds@gnu.org>
2
3 * process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop.
4
52007-03-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6
7 * macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.".
8
92007-03-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
10
11 * macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event): Ignore
12 mouse wheel movement on title bar or tool bar.
13
142007-03-10 Chong Yidong <cyd@stupidchicken.com>
15
16 * keyboard.c (help_form_saved_window_configs): New var.
17 (read_char_help_form_unwind): New function.
18 (read_char): Don't restore window configuration if a mouse click
19 arrives while the help form is being displayed.
20
212007-03-10 Kim F. Storm <storm@cua.dk>
22
23 * xdisp.c (redisplay_window): Don't automatically select a new window
24 start for a contination line during mouse-click.
25
262007-03-09 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
27
28 * xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar.
29
302007-03-09 Juanma Barranquero <lekktu@gmail.com>
31
32 * keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid.
33
342007-03-08 Richard Stallman <rms@gnu.org>
35
36 * keyboard.c (syms_of_keyboard): Doc fix.
37
382007-03-08 Chong Yidong <cyd@stupidchicken.com>
39
40 * minibuf.c (Ftry_completion): Don't short circuit if
41 completion-ignore-case is non-nil.
42
432007-03-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
44
45 * macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers):
46 Undo 2006-03-06 changes.
47
48 * macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll
49 bar if its width is smaller than that of Aqua small scroll bar.
50
512007-03-07 Stefan Monnier <monnier@iro.umontreal.ca>
52
53 * minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as
54 to handle correctly prompts with read-only property.
55
562007-03-06 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
57
58 * sound.c (wav_play): Check header->data_length to see how much we
59 shall read.
60 (alsa_period_size): Convert ALSA period size in frames to bytes.
61 (alsa_write): Return if frames is zero.
62
632007-03-06 Kenichi Handa <handa@m17n.org>
64
65 * xselect.c (Vselection_coding_system): Documentation improved.
66
672007-03-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
68
69 * macterm.c (x_scroll_bar_create, XTread_socket): Replace #if
70 USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS.
71 (x_set_window_size): Call SET_FRAME_GARBAGED. Clear window if
72 internal border width has changed.
73
74 * macterm.h (struct mac_output): New member `internal_border_width'.
75
762007-03-04 Richard Stallman <rms@gnu.org>
77
78 * window.c (Fdisplay_buffer): Doc fix.
79
12007-03-03 Glenn Morris <rgm@gnu.org> 802007-03-03 Glenn Morris <rgm@gnu.org>
2 81
3 * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does 82 * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does
4 not include -lX11 on Solaris. 83 not include -lX11 on Solaris.
5 84
62007-03-02 Stuart D. Herring <herring@lanl.gov> 852007-03-02 Stuart D. Herring <herring@lanl.gov>
7 86
8 * keymap.c (Fkey_binding): Don't consider two-element lists as 87 * keymap.c (Fkey_binding): Don't consider one-element lists as events.
9 events.
10 88
112007-03-01 Kenichi Handa <handa@m17n.org> 892007-03-01 Kenichi Handa <handa@m17n.org>
12 90
@@ -35,8 +113,8 @@
35 (x_scroll_bar_create, XTset_vertical_scroll_bar) 113 (x_scroll_bar_create, XTset_vertical_scroll_bar)
36 [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. 114 [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle.
37 115
38 * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: New 116 * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]:
39 member `min_handle'. 117 New member `min_handle'.
40 118
412007-02-23 Kim F. Storm <storm@cua.dk> 1192007-02-23 Kim F. Storm <storm@cua.dk>
42 120
@@ -59,11 +137,11 @@
59 (mac_flush_display_optional) [USE_CG_DRAWING]: New function. 137 (mac_flush_display_optional) [USE_CG_DRAWING]: New function.
60 (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for 138 (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for
61 flush_display_optional. 139 flush_display_optional.
62 [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press): New 140 [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press):
63 argument MOUSE_POS. All uses changed. Set bar->dragging to 141 New argument MOUSE_POS. All uses changed. Set bar->dragging to
64 negative integer if scroll bar handle is pressed. 142 negative integer if scroll bar handle is pressed.
65 [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release): Negative 143 [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release):
66 bar->dragging means scroll bar handle is not dragged. 144 Negative bar->dragging means scroll bar handle is not dragged.
67 [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial 145 [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial
68 offset of scroll bar handle from negative bar->dragging. 146 offset of scroll bar handle from negative bar->dragging.
69 (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll 147 (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll
@@ -98,8 +176,7 @@
98 176
99 * w32menu.c (current_popup_menu): Make available globally. 177 * w32menu.c (current_popup_menu): Make available globally.
100 (menubar_selection_callback): Free menu strings before pushing the 178 (menubar_selection_callback): Free menu strings before pushing the
101 menu event into the keyboard buffer. Remove 179 menu event into the keyboard buffer. Remove menu_command_in_progress.
102 menu_command_in_progress.
103 180
104 * w32fns.c (current_popup_menu): Use from w32menu.c. 181 * w32fns.c (current_popup_menu): Use from w32menu.c.
105 (w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active 182 (w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active
@@ -369,8 +446,8 @@
369 446
3702007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> 4472007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
371 448
372 * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Use 449 * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]:
373 DisableControl for disabled items. Set default button to first 450 Use DisableControl for disabled items. Set default button to first
374 enabled one. Use icon of application in execution. 451 enabled one. Use icon of application in execution.
375 452
3762007-01-13 Eli Zaretskii <eliz@gnu.org> 4532007-01-13 Eli Zaretskii <eliz@gnu.org>
diff --git a/src/macfns.c b/src/macfns.c
index 072bc6f50b5..888c3bdf8e8 100644
--- a/src/macfns.c
+++ b/src/macfns.c
@@ -1909,24 +1909,6 @@ x_set_scroll_bar_default_width (f)
1909#endif /* not MAC_OSX */ 1909#endif /* not MAC_OSX */
1910} 1910}
1911 1911
1912void
1913mac_set_scroll_bar_width (f, arg, oldval)
1914 struct frame *f;
1915 Lisp_Object arg, oldval;
1916{
1917#ifdef MAC_OSX
1918 if (INTEGERP (arg) && XINT (arg) > 0)
1919 {
1920 if (XINT (arg) < (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH
1921 + MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) / 2)
1922 XSETINT (arg, MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH);
1923 else
1924 XSETINT (arg, MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH);
1925 }
1926#endif
1927 x_set_scroll_bar_width (f, arg, oldval);
1928}
1929
1930static void 1912static void
1931mac_set_font (f, arg, oldval) 1913mac_set_font (f, arg, oldval)
1932 struct frame *f; 1914 struct frame *f;
@@ -3052,7 +3034,7 @@ If omitted or nil, that stands for the selected frame's display. */)
3052 (display) 3034 (display)
3053 Lisp_Object display; 3035 Lisp_Object display;
3054{ 3036{
3055 return build_string ("Apple Computers"); 3037 return build_string ("Apple Inc.");
3056} 3038}
3057 3039
3058DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0, 3040DEFUN ("x-server-version", Fx_server_version, Sx_server_version, 0, 1, 0,
@@ -4677,7 +4659,7 @@ frame_parm_handler mac_frame_parm_handlers[] =
4677 x_set_menu_bar_lines, 4659 x_set_menu_bar_lines,
4678 x_set_mouse_color, 4660 x_set_mouse_color,
4679 x_explicitly_set_name, 4661 x_explicitly_set_name,
4680 mac_set_scroll_bar_width, 4662 x_set_scroll_bar_width,
4681 x_set_title, 4663 x_set_title,
4682 x_set_unsplittable, 4664 x_set_unsplittable,
4683 x_set_vertical_scroll_bars, 4665 x_set_vertical_scroll_bars,
diff --git a/src/process.c b/src/process.c
index 4611ce2c05c..f3162c9d3e5 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6401,12 +6401,16 @@ sigchld_handler (signo)
6401#define WUNTRACED 0 6401#define WUNTRACED 0
6402#endif /* no WUNTRACED */ 6402#endif /* no WUNTRACED */
6403 /* Keep trying to get a status until we get a definitive result. */ 6403 /* Keep trying to get a status until we get a definitive result. */
6404 do 6404 while (1) {
6405 { 6405 errno = 0;
6406 errno = 0; 6406 pid = wait3 (&w, WNOHANG | WUNTRACED, 0);
6407 pid = wait3 (&w, WNOHANG | WUNTRACED, 0); 6407 if (! (pid < 0 && errno == EINTR))
6408 } 6408 break;
6409 while (pid < 0 && errno == EINTR); 6409 /* avoid a busyloop: wait3 is a system call, so we do not want
6410 to prevent the kernel from actually sending SIGCHLD to emacs
6411 by asking for it all the time */
6412 sleep (1);
6413 }
6410 6414
6411 if (pid <= 0) 6415 if (pid <= 0)
6412 { 6416 {