Paul Eggert
d65b42351f
* lib-src/b2m.c (main): Don't include <limits.h>.
...
(TM_YEAR_BASE): New macro.
(TM_YEAR_IN_ASCTIME_RANGE): Don't define if already defined, so
that s/ files can override this. Use the more-conservative range
1000-9999.
(main): Check for asctime returning NULL.
* lib-src/fakemail.c: Likewise.
* src/editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to
../lib-src/b2m.c and ../lib-src/editfns.c.
(Fcurrent_time_string): Use it.
Document that the year might not consume 4 columns if it's outside
the range 1000-9999.
Check for asctime failure.
Don't assume that the output string length is always exactly 24.
2006-04-04 04:13:02 +00:00
YAMAMOTO Mitsuharu
fc9f8d1541
(XTread_socket): Initialize variable `f' before its use.
2006-04-03 06:28:48 +00:00
Kenichi Handa
022af1243c
Include "charset.h" and "coding.h".
...
(x_find_image_file): Return an encoded file name.
2006-04-03 01:23:44 +00:00
Eli Zaretskii
61be4a8a1f
*** empty log message ***
2006-04-01 14:32:13 +00:00
Eli Zaretskii
7c00e1e974
Regenerated.
2006-04-01 13:51:18 +00:00
Kenichi Handa
a869edd4e7
(xg_set_icon): Delete superfluous UNGCPRO.
2006-03-31 00:40:21 +00:00
Dan Nicolaescu
29444a2f7c
(syms_of_xdisp): Fix variable name.
2006-03-30 19:35:11 +00:00
Kenichi Handa
3c5f949213
(x_term_init): Delete superfluous UNGCPRO.
2006-03-30 00:47:04 +00:00
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