Commit graph

25607 commits

Author SHA1 Message Date
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
2532f20ce7 (Fx_create_frame): Do not override the explicitly set parent
window ID of a frame.
(x_window): Reparent frame if embedded.
(Fx_create_frame): Don't set border width if embedded.
2008-02-07 14:08:07 +00:00
Jan Djärv
0f0d223bea (xg_create_frame_widgets): If frame is embedded, call
gtk_plug_new.
2008-02-07 14:07:55 +00:00
Jan Djärv
89f74d7c5f (struct x_display_info): Add AtomXatom_XEMBED.
(enum xembed_info, enum xerm srmbed_message, enum xembed_focus)
(enum xembed_modifier, enum xembed_accelerator): New.
(xembed_set_info, xembed_send_message): Declare.
(FRAME_X_EMBEDDED_P): New.
2008-02-07 14:07:45 +00:00
Jan Djärv
81c02ebe5c (x_detect_focus_change): Handle embed client message.
(handle_one_xevent): Ditto.
(handle_one_xevent): If embedded and we get a button press/release,
request focus.
(xembed_set_info, xembed_send_message): New functions.
(x_make_frame_visible): Call xembed_set_info if embedded.
(x_make_frame_invisible): Call xembed_set_info if embedded.
(x_term_init): Initialize Xatom_XEMBED.
(x_make_frame_visible): Check for FRAME_X_EMBEDDED_P also.
(x_iconify_frame): Ditto.
2008-02-07 14:07:35 +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
Kenichi Handa
562af9bcf5 (ftxfont_open): Don't set
dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 0.
2008-02-07 01:14:21 +00:00
Kenichi Handa
06a1ab15d6 (ftfont_open): Fix previous change. 2008-02-07 01:13:18 +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
Kenichi Handa
b21976907d (x_produce_glyphs): Don't set it->ascent and it->descent
to negative value.
2008-02-06 11:54:51 +00:00
Kenichi Handa
794e558c7f (ftxfont_draw): Use s->font_info, not face->font_info. 2008-02-06 11:53:49 +00:00
Kenichi Handa
1a2bd6faa2 (ftfont_open): Fix calculation of font->font.averange_width. 2008-02-06 11:52:58 +00:00
Kenichi Handa
3943ed767c (syms_of_charset): Set QCtest and Qeq. 2008-02-06 11:51:55 +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
Glenn Morris
77ad4cfe12 Update copyright years and GPL version. 2008-02-06 04:24:36 +00:00
Glenn Morris
7ecf3dcbe0 Update copyright years. 2008-02-06 04:21:49 +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
Stefan Monnier
15139d67db (Fcompose_region_internal, Fcompose_string_internal): Declare. 2008-02-06 03:10:25 +00:00
Stefan Monnier
c62c8ddbb5 (make_sub_char_table): Remove noop-yet-incorrect statement. 2008-02-06 03:03:52 +00:00
Jason Rumney
04b65d2b57 (w32font_open_internal): Fill min_width with tmAveCharWidth.
Set smallest_font_height and smallest_char_width in display info.
2008-02-05 21:51:14 +00:00
Kenichi Handa
fccaebfd64 *** empty log message *** 2008-02-05 04:30:27 +00:00
Kenichi Handa
69b8522de8 (decode_eol): Pay attention to coding->dst_multibyte. 2008-02-05 04:12:52 +00:00
Miles Bader
e7d7fd8ccf Revert 2008-02-01 change to src/xfaces.c by cyd@stupidchicken.com
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1051
2008-02-05 02:36:40 +00:00
Jason Rumney
e3a77b22d2 (w32font_open_internal): Use xmalloc, xrealloc, xfree. 2008-02-04 15:42:57 +00:00
Kenichi Handa
3d4448a85b (Ffontset_info): Handle the case of inhibitting the
fallback fonts.
(Ffontset_info) [USE_FONT_BACKEND]: Fix getting of opened font
names.
2008-02-04 12:16:40 +00:00
Jason Rumney
5ace1ec11f (w32font_open_internal): Use font_unparse_fcname to set full_name. 2008-02-04 00:52:02 +00:00
Jason Rumney
ffe421835c (OBJ1): Include font.o here.
(FONTOBJ) [USE_FONTBACKEND]: Instead of here.
2008-02-03 21:33:49 +00:00
Jason Rumney
bfd1fa282d Revert most of last two changes. 2008-02-02 21:16:39 +00:00