Commit graph

6253 commits

Author SHA1 Message Date
Glenn Morris
be61736756 (Finternal_char_font): Fix compilation warning. 2008-02-16 22:33:01 +00:00
Eli Zaretskii
634d3003f7 (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP instead of
char arrays.  Enlarge the size of array passed to get_token_information.
2008-02-16 17:05:24 +00:00
Eli Zaretskii
2930d11791 (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation warnings. 2008-02-16 14:51:05 +00:00
Dan Nicolaescu
792140469d Don't set `args', it breaks gdb --args. 2008-02-15 22:42:02 +00:00
Stefan Monnier
7f5d2c7241 (Finsert_file_contents): Adjust offsets when replacing
within a narrowed buffer.
2008-02-14 19:41:43 +00:00
Juanma Barranquero
b270d6afc0 *** empty log message *** 2008-02-14 12:35:01 +00:00
Kenichi Handa
6edacc4375 *** empty log message *** 2008-02-14 12:21:58 +00:00
Stefan Monnier
13818c3078 * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1.
(detect_coding_system):
* lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
(string_char_to_byte, string_byte_to_char, insert_from_gap):
* insdel.c (insert_from_gap):
* fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
(string_char_to_byte, string_byte_to_char, string_make_multibyte)
(string_to_multibyte):
* character.c (chars_in_text, multibyte_chars_in_text):
* fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
2008-02-12 21:35:15 +00:00
Stefan Monnier
f1c9962838 (FETCH_STRING_CHAR_ADVANCE, FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE)
(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF.
(DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1.
2008-02-12 21:27:54 +00:00
Stefan Monnier
7927d8e343 (casify_region): Only call after-change and composition
functions on the part of the region that was changed.
2008-02-12 21:25:45 +00:00
Stefan Monnier
adf6a42938 (read_avail_input): Call Fdelete_terminal. 2008-02-12 04:05:29 +00:00
Stefan Monnier
174105f789 (Fdelete_frame): Call Fdelete_terminal. 2008-02-12 04:03:17 +00:00
Stefan Monnier
3ee24aecf6 (clone_per_buffer_values, reset_buffer_local_variables)
(Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list.
2008-02-11 17:56:13 +00:00
Juanma Barranquero
4ed4b97572 (read_key_sequence): Don't pass args with side effects to AREF,
it fails when compiling with -DENABLE_CHECKING.
2008-02-11 11:31:13 +00:00
Kenichi Handa
6e76043fb4 (${lispsource}international/charprop.el): Delete
this target.
2008-02-11 05:34:40 +00:00
Kenichi Handa
79e3bfb824 *** empty log message *** 2008-02-11 05:30:24 +00:00
Stefan Monnier
5b8de9c5e6 (Fdelete_terminal): Clean up the `force' path. 2008-02-11 03:51:39 +00:00
Stefan Monnier
c53956fead * frame.c (Qnoelisp): New symbol.
(syms_of_frame): Initialize it.
(Fdelete_frame): Use it to distinguish a mere `force' passed from
someharmles Elisp code, from a strong `force' from x_connection_closed.
* frame.h (Qnoelisp): Declare.
* xterm.c (x_connection_closed): Pass `noelisp'.
2008-02-10 21:56:38 +00:00
Stefan Monnier
eac1939a47 (struct Lisp_Misc_Any, struct Lisp_Marker)
(struct Lisp_Overlay, struct Lisp_Kboard_Objfwd)
(struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type
rather than `int' for the type of `type'.
2008-02-10 20:09:38 +00:00
Dan Nicolaescu
13f6772b12 * s/gnu-linux.h: Remove support for non-ELF and linux-1.x.
* Makefile.in (GNUC): Remove support for gcc-1.x.
2008-02-10 17:01:47 +00:00
Richard M. Stallman
e8455367a4 (ASET): Use AREF, not ASLOT. 2008-02-10 14:01:52 +00:00
Stefan Monnier
4b75ffab30 (ASET): Check bounds. 2008-02-10 03:20:40 +00:00
Glenn Morris
d224e8c251 (mode-name): Doc fix. 2008-02-10 02:14:20 +00:00
Glenn Morris
1c8658b995 (find-word-boundary-function-table): Add missing entry for this
unicode change, in approximately the right place (after the end of
emacs-unicode branch, before the start of emacs-unicode-2).
2008-02-10 02:01:47 +00:00
Dan Nicolaescu
4624371d9a * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
dealing with obsolete variables.

* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.

* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.

* s/msdos.h (DONT_NEED_ENVIRON): Don't define.

* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
2008-02-09 18:03:10 +00:00
Eli Zaretskii
274ec34ba7 (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of
unibyte_char_to_multibyte.
2008-02-09 10:53:10 +00:00
Dan Nicolaescu
deeaffe11d * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
variable.

* s/gnu-linux.h: Remove commented out code.

* unexec.c: Remove references to obsolete variable
COFF_ENCAPSULATE.

* Makefile.in: Update what RMS says about using autoconf.
(C_COMPILER):
(COFF_ENCAPSULATE):
(MAKE_PARALLEL): Remove obsolete variable.
(C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1):
(C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1)
(C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional.
2008-02-09 07:42:06 +00:00
Stefan Monnier
dfae5f9a12 * xfaces.c (Finternal_make_lisp_face): Use ASET. 2008-02-08 16:24:46 +00:00
Stefan Monnier
9141ca5e7d (Fkey_description): Move side effect outside of macro call. 2008-02-08 16:23:19 +00:00
Stefan Monnier
b1ebcadbe2 (add_command_key, parse_menu_item): Use ASET. 2008-02-08 16:22:36 +00:00
Stefan Monnier
ff7a222357 (free_face_fontset): Use FONTSET_FROM_ID.
(syms_of_fontset): Use ASET.
2008-02-08 16:20:29 +00:00
Stefan Monnier
68b587a6ea (concat): Move side effect outside of macro call.
(hash_clear): Use ASET.
2008-02-08 16:18:45 +00:00
Richard M. Stallman
a31787b1e9 (Fdelete_frame): If FORCE, don't call hooks.
If FORCE, and frame has a surrogate minibuffer for another frame,
delete the other frame first.
2008-02-08 02:38:15 +00:00
Romain Francoise
987be29bac Whitespace changes. 2008-02-07 19:12:05 +00:00
Jan Djärv
1540a61a8b (USAGE3): Add --parent-id
(standard_args): Ditto.
2008-02-07 14:08:56 +00:00
Jan Djärv
f937a7db33 (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)". 2008-02-07 12:55:55 +00:00
Jan Djärv
a1c2ac9a20 Use "do...while (0)", not "if (1)..else" in macro definitions. 2008-02-07 12:55:00 +00:00
Jan Djärv
92413ef3a1 Use "do...while (0)", not "if (1)..else" in macro definitions. 2008-02-07 12:47:00 +00:00
Glenn Morris
03fa5713cc Jim Meyering <meyering at redhat.com>
[lint]: Don't include <sys/inode.h>.
2008-02-07 06:54:39 +00:00
Stefan Monnier
3ae565b386 * xselect.c (x_handle_dnd_message):
* xmenu.c (digest_single_submenu, xmenu_show):
* xdisp.c (with_echo_area_buffer_unwind_data, format_mode_line_unwind_data)
(unwind_format_mode_line, display_menu_bar):
* eval.c (Ffetch_bytecode):
* doc.c (store_function_docstring):
* ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code)
(Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map):
* buffer.c (add_overlay_mod_hooklist): Use ASET.
2008-02-07 04:11:05 +00:00
Kenichi Handa
146b6e5507 *** empty log message *** 2008-02-07 01:34:52 +00:00
Jason Rumney
46a923ac72 * w32font.c (w32font_text_extents): Fill in lbearing metric.
Use cached metrics for ASCII characters.
(w32font_open_internal): Don't set font's owning_frame.  Cache
metrics for ASCII characters.

* w32font.h (struct w32font_info): Add ascii_metrics.
Remove owning_frame.
2008-02-06 22:35:30 +00:00
Kenichi Handa
da7d7c21f1 *** empty log message *** 2008-02-06 12:00:56 +00:00
Glenn Morris
4c4475a8cd Merge some "likewise"s. 2008-02-06 10:00:57 +00:00
Glenn Morris
1f45f6274f Tidying:
Fix typos and tense.
Avoid single words on line where possible.
Simplify unicode-merge entries of the form "fix previous change".
2008-02-06 09:33:39 +00:00
Glenn Morris
6c8a0ebf49 Move some out-of-place entries. 2008-02-06 04:59:00 +00:00
Glenn Morris
fcb314b277 Remove "sync with head" entries brought in by unicode merge. 2008-02-06 04:46:55 +00:00
Stefan Monnier
ca3199106f * process.c (Fstart_process):
* callproc.c (Fcall_process): Handle the case where
Funhandled_file_name_directory returns nil.
2008-02-06 03:16:10 +00:00
Stefan Monnier
f9ffa1eabb (check_gstring): Use them and AREF to access the vector before
we know it's really a gstring.
(Ffont_shape_text): Fix typo.
(Ffont_shape_text, Ffont_otf_alternates): Fix up int/Lisp_Oject mixups.
2008-02-06 03:14:46 +00:00
Stefan Monnier
76860cbbf5 (enum lgstring_indices, enum lglyph_indices): New enums.
(LGSTRING_SLOT, LGSTRING_SET_SLOT): New macros.
2008-02-06 03:12:57 +00:00