aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog31
-rw-r--r--src/keyboard.c7
2 files changed, 21 insertions, 17 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 56833a341a4..6ef1e244f90 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,6 +1,10 @@
12005-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * keyboard.c (Fposn_at_x_y): Check integerness of X and Y.
4
12005-02-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> 52005-02-27 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2 6
3 * gtkutil.c (xg_resize_outer_widget): Removed unneeded call to 7 * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to
4 gtk_window_resize and x_wm_set_size_hint. 8 gtk_window_resize and x_wm_set_size_hint.
5 9
62005-02-25 Kim F. Storm <storm@cua.dk> 102005-02-25 Kim F. Storm <storm@cua.dk>
@@ -30,7 +34,7 @@
30 * window.c (window_scroll_pixel_based): When scrolling backwards, 34 * window.c (window_scroll_pixel_based): When scrolling backwards,
31 handle partial visible line at end of window even when we hit PT. 35 handle partial visible line at end of window even when we hit PT.
32 36
332005-02-21 Stefan <monnier@iro.umontreal.ca> 372005-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
34 38
35 * keymap.h: Declare Fcurrent_active_maps, used in doc.c. 39 * keymap.h: Declare Fcurrent_active_maps, used in doc.c.
36 40
@@ -88,8 +92,7 @@
88 (Fx_window_property): Likewise. 92 (Fx_window_property): Likewise.
89 93
90 * xselect.c (Fx_disown_selection_internal): Use union of struct 94 * xselect.c (Fx_disown_selection_internal): Use union of struct
91 input_event and struct selection_input_event to avoid aliasing 95 input_event and struct selection_input_event to avoid aliasing issues.
92 issues.
93 96
94 * xterm.c (handle_one_xevent): Use union of struct input_event and 97 * xterm.c (handle_one_xevent): Use union of struct input_event and
95 struct selection_input_event to avoid aliasing issues. 98 struct selection_input_event to avoid aliasing issues.
@@ -118,21 +121,20 @@
118 clipboard operations and delayed rendering. 121 clipboard operations and delayed rendering.
119 122
120 Drop last_clipboard_text and related code, keep track of 123 Drop last_clipboard_text and related code, keep track of
121 ownership via clipboard_owner instead. Drop old #if0 124 ownership via clipboard_owner instead. Drop old #if0 sections.
122 sections.
123 125
124 (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) 126 (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP)
125 (clipboard_owner, modifying_clipboard, cfg_coding_system) 127 (clipboard_owner, modifying_clipboard, cfg_coding_system)
126 (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) 128 (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text)
127 (current_coding_system, current_requires_encoding) 129 (current_coding_system, current_requires_encoding)
128 (current_num_nls, current_clipboard_type, current_lcid): New 130 (current_num_nls, current_clipboard_type, current_lcid):
129 static variables. 131 New static variables.
130 132
131 (convert_to_handle_as_ascii, convert_to_handle_as_coded) 133 (convert_to_handle_as_ascii, convert_to_handle_as_coded)
132 (render, render_all, run_protected, lisp_error_handler) 134 (render, render_all, run_protected, lisp_error_handler)
133 (owner_callback, create_owner, setup_config) 135 (owner_callback, create_owner, setup_config)
134 (enum_locale_callback, cp_from_locale, coding_from_cp): New 136 (enum_locale_callback, cp_from_locale, coding_from_cp):
135 local functions. 137 New local functions.
136 138
137 (term_w32select, globals_of_w32select): New global functions. 139 (term_w32select, globals_of_w32select): New global functions.
138 140
@@ -332,8 +334,7 @@
332 (casify_region): Fix loop condition, args to replace_range_2, and 334 (casify_region): Fix loop condition, args to replace_range_2, and
333 update opoint_byte. 335 update opoint_byte.
334 336
335 * insdel.c (replace_range_2): Fix bugs in adjusting markers and 337 * insdel.c (replace_range_2): Fix bugs in adjusting markers and point.
336 point.
337 338
3382005-02-01 Kim F. Storm <storm@cua.dk> 3392005-02-01 Kim F. Storm <storm@cua.dk>
339 340
@@ -11015,9 +11016,9 @@
11015 These changes were in part based upon suggestions made by Peter 11016 These changes were in part based upon suggestions made by Peter
11016 'Luna' Runestig [peter@runestig.com]. 11017 'Luna' Runestig [peter@runestig.com].
11017 11018
11018 * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token, 11019 * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token)
11019 g_b_init_get_token_information, g_b_init_lookup_account_sid, 11020 (g_b_init_get_token_information, g_b_init_lookup_account_sid)
11020 g_b_init_get_sid_identifier_authority ): Add several static 11021 (g_b_init_get_sid_identifier_authority ): Add several static
11021 global variables. 11022 global variables.
11022 11023
11023 * w32.c (globals_of_w32): New function. Used to initialize those 11024 * w32.c (globals_of_w32): New function. Used to initialize those
diff --git a/src/keyboard.c b/src/keyboard.c
index 67040847af7..4fb8206d5ee 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -1,6 +1,6 @@
1/* Keyboard and mouse input; editor command loop. 1/* Keyboard and mouse input; editor command loop.
2 Copyright (C) 1985,86,87,88,89,93,94,95,96,97,99,2000,01,02,03,04 2 Copyright (C) 1985, 1986, 1987, 1988, 1989, 1993, 1994, 1995, 1996, 1997,
3 Free Software Foundation, Inc. 3 1999, 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4 4
5This file is part of GNU Emacs. 5This file is part of GNU Emacs.
6 6
@@ -10531,6 +10531,9 @@ The `posn-' functions access elements of such lists. */)
10531 (x, y, frame_or_window, whole) 10531 (x, y, frame_or_window, whole)
10532 Lisp_Object x, y, frame_or_window, whole; 10532 Lisp_Object x, y, frame_or_window, whole;
10533{ 10533{
10534 CHECK_NATNUM (x);
10535 CHECK_NATNUM (y);
10536
10534 if (NILP (frame_or_window)) 10537 if (NILP (frame_or_window))
10535 frame_or_window = selected_window; 10538 frame_or_window = selected_window;
10536 10539