1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
Commit graph

20859 commits

Author SHA1 Message Date
Romain Francoise
8fd0f424be (gethomedir): Use xstrdup. 2006-04-10 11:01:29 +00:00
Andreas Schwab
f8f107772d (gethomedir): Make sure to always return a pointer that
can be passed to free.
2006-04-10 09:33:40 +00:00
Richard M. Stallman
2a8da5551c Undo previous change. 2006-04-09 19:56:27 +00:00
Eli Zaretskii
b6063442a6 Fix last lisp.h entry. 2006-04-09 18:35:58 +00:00
Eli Zaretskii
a86a2f6d7e Remove extraneous newline. 2006-04-09 18:32:11 +00:00
Dan Nicolaescu
4ca412ecd0 (args_out_of_range, args_out_of_range_3)
(Fkill_buffer): Likewise.
2006-04-09 09:18:47 +00:00
Dan Nicolaescu
404be028b9 * puresize.h (pure_write_error): Mark as NO_RETURN.
* lisp.h (args_out_of_range, args_out_of_range_3): Likewise.
2006-04-09 09:03:44 +00:00
Richard M. Stallman
6786a1071a (boyer_moore): Test ch >= 0400, not >. 2006-04-09 01:59:45 +00:00
Eli Zaretskii
f93bd8e401 (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements if a menu is active
on this frame.
2006-04-08 20:05:43 +00:00
Dan Nicolaescu
31a4f621f9 (report_file_error): Mark as NO_RETURN. 2006-04-08 19:35:48 +00:00
Eli Zaretskii
4f27350a99 [STDC_HEADERS]: Include stddef.h. 2006-04-08 16:44:27 +00:00
Eli Zaretskii
7e77352939 (PSEUDOVECSIZE): Fix last change. 2006-04-08 16:37:46 +00:00
Stefan Monnier
6bfd98e75d * process.h (struct Lisp_Process): Replace Lisp_Objects `pid',
`raw_status_high', and `raw_status_low' with plain integers, and move
them to the end of the structure.

* alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the
pseudovector's size field so only the Lisp_Object fields get GC'd.

* process.c (update_status, make_process, Fdelete_process)
(Fprocess_status, list_processes_1, start_process_unwind)
(create_process, Fmake_network_process, server_accept_connection)
(wait_reading_process_output, send_process, Fprocess_running_child_p)
(process_send_signal, proc_encode_coding_system, Fprocess_send_eof)
(sigchld_handler, status_notify): Adjust to new non-Lisp fields for
`pid' and `raw_status'.
(Fprocess_id, Fsignal_process): Same, and additionally use floats when
representing PIDs that are larger than most-positive-fixnum.
2006-04-08 15:07:35 +00:00
Stefan Monnier
df631196ed (PSEUDOVECTOR_SIZE_MASK): Expand docstring. 2006-04-08 14:34:31 +00:00
Stefan Monnier
15fdcac722 (describe_map): Don't use XINT if we haven't checked INTEGERP. 2006-04-08 14:20:10 +00:00
Stefan Monnier
d0ebe33a4a (OFFSETOF, PSEUDOVECSIZE): New macros. 2006-04-08 14:15:04 +00:00
Eli Zaretskii
1d79e5217c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos. 2006-04-08 12:27:13 +00:00
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