Commit graph

4931 commits

Author SHA1 Message Date
YAMAMOTO Mitsuharu
b96fe6eadb (XCreateGC, x_per_char_metric, xlfdpat_create)
(init_font_name_table, init_font_name_table, mac_do_list_fonts)
(XLoadQueryFont, mac_store_apple_event): Don't check
return value of xmalloc.
2006-04-18 08:13:49 +00:00
Kim F. Storm
39d7883583 *** empty log message *** 2006-04-17 21:50:43 +00:00
Nick Roberts
6c7809b31d *** empty log message *** 2006-04-17 00:23:20 +00:00
Eli Zaretskii
4bba30640b (SYSTEM_PURESIZE_EXTRA): Reduce to 24000. 2006-04-16 18:07:30 +00:00
Romain Francoise
8d95636b2e (BASE_PURESIZE): Decrement back to 1200000. 2006-04-16 17:27:17 +00:00
Andreas Schwab
6a258a33e0 (PURESIZE_RATIO): Reduce to 10/6. 2006-04-16 12:19:47 +00:00
Romain Francoise
f70a96b051 (BASE_PURESIZE): Increment to 1210000. 2006-04-15 17:53:32 +00:00
Eli Zaretskii
cda4c00bef *** empty log message *** 2006-04-13 10:55:47 +00:00
Kenichi Handa
6e9715ae06 (setup_coding_system): If eol-type is not yet decided
and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK.
If coding_system is nil, return 0.
(code_convert_region1): Even if coding_system is nil, don't skip
conversion if system_eol_type is not LF.
(code_convert_string1): Likewise.
(code_convert_string_norecord): Likewise.
2006-04-13 06:47:18 +00:00
Kenichi Handa
73ec0f8900 (shrink_encoding_region): If eol_type is not yet decided and
system_eol_type is not LF, don't shrink.
2006-04-13 04:58:07 +00:00
Kenichi Handa
9642847f36 (encode_coding): If eol_type is not yet decided, use
system_eol_type.
2006-04-13 04:39:20 +00:00
Kenichi Handa
2b89a53fc4 (setup_coding_system): Fix previous change. 2006-04-13 04:25:44 +00:00
Richard M. Stallman
a53fe666c2 (read_key_sequence): Explicitly avoid keybuf[-1]. 2006-04-13 01:25:52 +00:00
Nick Roberts
5c24517a22 *** empty log message *** 2006-04-13 01:19:56 +00:00
Richard M. Stallman
9d1a8e5da1 (conv_lisp_to_sockaddr): Fix previous change. 2006-04-13 01:08:27 +00:00
Romain Francoise
7e37cb6957 *** empty log message *** 2006-04-12 18:17:17 +00:00
YAMAMOTO Mitsuharu
190998d863 *** empty log message *** 2006-04-12 08:11:35 +00:00
Jan Djärv
00d70d574c * dispnew.c (init_display): Don't init X display if the user asked
for a non-X display.
2006-04-12 06:23:12 +00:00
Kenichi Handa
957b3c5f2f (setup_coding_system): Use system_eol_type for default
coding->eol_type.
2006-04-12 05:48:37 +00:00
Dan Nicolaescu
db926d8091 * lisp.h (wrong_type_argument): Mark as NO_RETURN.
* data.c (wrong_type_argument): Try to avoid compiler warnings due
to the fact the function is now marked as NO_RETURN.
2006-04-11 07:13:33 +00:00
Eli Zaretskii
978781a5f7 *** empty log message *** 2006-04-10 20:11:12 +00:00
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
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
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
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
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
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
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
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