1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

20834 commits

Author SHA1 Message Date
Juanma Barranquero
267ee78f84 *** empty log message *** 2006-03-29 09:50:10 +00:00
Juanma Barranquero
9c8c4d5b9a (process_tool_bar_item): Reorganize dummy args. 2006-03-29 09:38:03 +00:00
Stefan Monnier
293bd73323 (tool_bar_items): Use map_keymap.
(process_tool_bar_item): Add dummy args to fit the required interface.
2006-03-29 08:00:23 +00:00
Eli Zaretskii
4fccedb5bb (pr, pp, pp1, pv, pv1): Force print_output_debug_flag to zero
before calling debug_print or safe_debug_print.
2006-03-25 18:01:38 +00:00
Eli Zaretskii
945b01119f (print_output_debug_flag): New global variable.
(Fexternal_debugging_output) [WINDOWSNT]: Don't call OutputDebugString if
print_output_debug_flag is zero.
2006-03-25 17:58:37 +00:00
Eli Zaretskii
71c3f28fb7 Move explanations from ChangeLog to the source. 2006-03-25 08:56:07 +00:00
Paul Eggert
aac18aa436 * editfns.c: (TM_YEAR_BASE): Move up.
(Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900.
(Fdecode_time): Cast tm_year to EMACS_INT, to avoid overflow when
int is narrower than EMACS_INT.
(Fcurrent_time_string): As with Fformat_time_string, report an
invalid time specification if the argument is invalid.  Also,
check for out-of-range time stamps.
2006-03-24 20:40:24 +00:00
Kim F. Storm
99c60e860c (handle_one_xevent): Don't let key-press clear mouse face
on in toolbar window if mouse-highlight is an integer.
2006-03-24 15:24:20 +00:00
Kim F. Storm
442a3a9670 (w32_read_socket): Don't let key-press clear mouse face
on in toolbar window if mouse-highlight is an integer.
2006-03-24 15:24:05 +00:00
Kim F. Storm
cf1474a282 (XTread_socket): Don't let key-press clear mouse face
on in toolbar window if mouse-highlight is an integer.
2006-03-24 15:23:35 +00:00
Kim F. Storm
95d8aa287f *** empty log message *** 2006-03-24 15:22:06 +00:00
Kim F. Storm
0ef4f79b47 *** empty log message *** 2006-03-24 13:28:11 +00:00
Kim F. Storm
ea284f335c (sxhash_list): Include last non-nil CDR in hash. 2006-03-24 13:26:36 +00:00
YAMAMOTO Mitsuharu
e2e206ae66 (enum mac_menu_kind): New enum.
(min_menu_id): New variable.
(POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID)
(MIN_SUBMENU_ID): Remove defines.  All uses are replaced with
min_menu_id and enumerators in enum mac_menu_kind.
(fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND.
All uses changed.  Add range check for menu ID.
(fill_menubar): Add range check for menu ID.
[HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of
GetEventParameter.
(set_frame_menubar, mac_menu_show): Call install_menu_quit_handler
for each menu kind.
2006-03-24 08:12:36 +00:00
Kim F. Storm
47021b111d Define aliases for append_glyph and produce_stretch_glyph
when `static' is defined to avoid name clash with those in xdisp.c.
2006-03-22 22:47:32 +00:00
Kim F. Storm
5bd3b1b2da * xdisp.c: Undo 2006-03-21 change. 2006-03-22 22:47:22 +00:00
Kim F. Storm
ea049c5e0a *** empty log message *** 2006-03-22 22:46:57 +00:00
Kim F. Storm
5088da42b6 (Faccept_process_output): Fix to comply with lisp reference.
Change arg "timeout" to "seconds" and allow both integer and float value.
Change arg "timeout-msec" to "millisec" and interpret" as milliseconds
rather than microseconds.  Fix doc string accordingly.
2006-03-22 22:33:35 +00:00
Kim F. Storm
5a32a2f2ff *** empty log message *** 2006-03-22 22:30:32 +00:00
Ken Raeburn
d63cd76657 (store_next_glyph): Renamed from append_glyph.
(generate_stretch_glyph): Renamed from produce_stretch_glyph.
All callers changed accordingly.
2006-03-22 05:06:41 +00:00
Jan Djärv
11e887e29e * xterm.c: x_session_initialized new variable.
(x_term_init): Use x_session_initialized to check if
x_session_initialize should be called.
(x_initialize): Initialize x_session_initialized.
2006-03-21 14:39:41 +00:00
Kim F. Storm
52bd2f4383 *** empty log message *** 2006-03-21 13:30:42 +00:00
Kim F. Storm
7dfa5c4928 (draw_fringe_bitmap): Don't calculate default overlay arrow
bitmap here, but ...
(update_window_fringes): ... here, so we can test if it has changed.
2006-03-21 13:29:26 +00:00
Andreas Schwab
c1fc674b45 * dispnew.c (init_display): Check DISPLAY here.
* emacs.c (main): Don't check here.
* xterm.c (x_display_ok): Don't use DISPLAY env var.
2006-03-20 22:41:23 +00:00
Stefan Monnier
7d6194544e (window_scroll_pixel_based): Yet another int/Lisp_Object mixup (YAILOM). 2006-03-20 22:22:25 +00:00
Eli Zaretskii
e291625152 (main): Fix last change. 2006-03-20 20:34:16 +00:00
Kenichi Handa
95c1c9018e (Fwrite_region): Set visit_file to Qnil before GCPRO
it.
2006-03-20 06:26:23 +00:00
Kenichi Handa
d89b5760af (map_keymap): Set tail to Qnil before GCPRO it. 2006-03-20 06:24:31 +00:00
Kenichi Handa
5b2936ae6a (x_term_init): Remove unnecessary GCPRO. 2006-03-20 06:23:55 +00:00
Kenichi Handa
daf9e22086 (xg_set_icon): Remove unnecessary GCPRO. 2006-03-20 06:22:55 +00:00
Kim F. Storm
45c1c789a5 *** empty log message *** 2006-03-19 19:59:17 +00:00
Kim F. Storm
3dcef10bbc (set_cursor_from_row): Fix cursor property on overlay string,
so it doesn't associate overlay string with following glyph by default.
Allow integer property value to specify explicit number of buffer
positions associate with overlay string.
2006-03-19 19:38:48 +00:00
Chong Yidong
11aaf44796 * xterm.c (x_display_ok): Fix minor bug and compilation warnings. 2006-03-18 15:41:59 +00:00
Eli Zaretskii
e4d181dcba *** empty log message *** 2006-03-18 15:12:38 +00:00
Eli Zaretskii
c3f5c8258a (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define.
(LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define.
(START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]:
Don't redefine.
2006-03-18 14:52:40 +00:00
Eli Zaretskii
73372e83a8 Don't use unexmips on NetBSD.
(LIBS_MACHINE): Move definition lower, so it doesn't use
LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP,
C_SWITCH_MACHINE, and C_DEBUG_SWITCH.
2006-03-18 14:52:19 +00:00
Eli Zaretskii
8daaf78be8 [BROKEN_NOCOMBRELOC]: Include assert.h.
(unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc option
is broken (e.g., MIPS/NetBSD).
2006-03-18 14:51:54 +00:00
Eli Zaretskii
7b833ed171 *** empty log message *** 2006-03-18 14:12:32 +00:00
Eli Zaretskii
50f9edc202 (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB. 2006-03-18 14:02:43 +00:00
Eli Zaretskii
7e37c7c001 *** empty log message *** 2006-03-18 13:49:45 +00:00
Eli Zaretskii
a397507469 Add prototype for x_display_ok. 2006-03-18 13:49:11 +00:00
Eli Zaretskii
3c7b6f9f1b (x_display_ok): New function. 2006-03-18 13:48:57 +00:00
Eli Zaretskii
c5e02f73cd (main): If user asks for a display that is unavailable, simulate -nw. 2006-03-18 13:48:33 +00:00
Eli Zaretskii
c85eab3af0 (Fw32_select_font): Doc fix. 2006-03-18 13:30:13 +00:00
YAMAMOTO Mitsuharu
e09ce637d3 (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]:
Create GWorld in ARGB pixel format.
(mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]: Remove
functions.
(x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image
instead of mac_copy_area/mac_copy_area_with_mask.
2006-03-16 08:06:16 +00:00
YAMAMOTO Mitsuharu
c7fea3257f [MAC_OS] (XPutPixel, XGetPixel)
[!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized
version when depth is 32.
(mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]: New
function.
(prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it.
(x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage.
2006-03-16 08:05:34 +00:00
Juanma Barranquero
364d0cf805 *** empty log message *** 2006-03-15 19:41:35 +00:00
Romain Francoise
875e613d00 Whitespace fixups. 2006-03-15 19:26:08 +00:00
Kim F. Storm
dcb1bc0030 (extend_face_to_end_of_line): Always add space glyph to
empty row.  Fixes memory corruption revealed by 2006-03-02 change.
(display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0.
(tool_bar_lines_needed): Fix tool-bar display in case the tool-bar
width is exactly the same as the window width.  Don't count a final
empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line).
2006-03-15 19:02:14 +00:00
Kim F. Storm
b08962806e *** empty log message *** 2006-03-15 19:02:00 +00:00