Commit graph

25967 commits

Author SHA1 Message Date
Jason Rumney
e157d7babc (w32font_open_internal): Set max_bounds.descent in
compatibility struct, for better underline positioning.
2008-04-14 16:16:01 +00:00
Michael Albinus
48f7d2134f * dbusbind.c (dbus-get-unique-name): Remove extra copying of name string. 2008-04-13 16:29:55 +00:00
Dan Nicolaescu
36c0886413 (XUINT, XSET): Remove. 2008-04-12 17:09:19 +00:00
Juanma Barranquero
f5acc07172 (Fexpand_file_name): Add declaration for `p' missing in previous change. 2008-04-12 09:15:10 +00:00
Stefan Monnier
5b5a2ea177 (Fexpand_file_name): Tighten the scope of p' and o' vars.
Relocate `nm' after calling DECODE_FILE, in case the GC was run.
2008-04-12 05:12:18 +00:00
Stefan Monnier
492d9fd6bc * keymap.h (map_keymap_canonical): Declare.
* xmenu.c (single_keymap_panes): Use it.
2008-04-11 15:35:41 +00:00
Glenn Morris
dd60787c17 (Fdefvaralias): If the alias is bound and the target is not, set the
target's value to that of the alias.
2008-04-11 03:41:34 +00:00
Stefan Monnier
c23b5410c5 (set_tty_color_mode): Left over typo. 2008-04-11 01:40:41 +00:00
Michael Albinus
e89b536d4b * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK
only after check for file name handler functions. Signal, when
native functionality is not supported.
(syms_of_fileio): Declare it unconditionally.
2008-04-10 20:35:54 +00:00
Jason Rumney
31403b2446 (is_simple_dialog, simple_dialog_show): New functions.
(Fx_popup_dialog): Handle simple yes/no questions as dialogs.
2008-04-10 15:20:07 +00:00
Jason Rumney
40a339c881 (logon_network_drive): Also logon to remote drives that
are mapped to drive letters.
2008-04-10 11:38:15 +00:00
Glenn Morris
4ef65ef932 Revert changes included by mistake in previous commit. 2008-04-10 07:53:50 +00:00
Glenn Morris
96a7394f29 (truncate-partial-width-windows): Doc fix. 2008-04-10 07:49:07 +00:00
Stefan Monnier
34b67b0f6b * minibuffer.el (minibuffer--double-dollars, read-file-name-internal):
New functions.
* fileio.c (read_file_name_cleanup, Fread_file_name_internal):
Move functions to minibuffer.el.
(syms_of_fileio): Don't declare them.
2008-04-10 03:12:49 +00:00
Stefan Monnier
ba5ff07b2a * minibuffer.el (minibuffer): Move group from cus-edit.el.
(completion-auto-help): Move from C code.
(minibuffer--maybe-completion-help): Remove.
(minibuffer--bitset): New function.
(minibuffer--do-completion): Rename from minibuffer-do-completion.
Renumber a bit.  Really complete on string *before* point.
Add argument used for word-completion.
Join trailing / in completion with following text, as done in
minibuffer-complete-word.
Handle new value `lazy' for completion-auto-help.
(minibuffer-try-word-completion): New function extracted from
minibuffer-complete-word.
(minibuffer-complete-word): Use minibuffer--do-completion.
(minibuffer--insert-strings): Rename from
minibuffer-complete-insert-strings.
(exit-minibuffer): Fix typo.
* cus-edit.el (minibuffer): Move group to minibuffer.el.
* cus-start.el: Remove completion-auto-help.
* minibuf.c (Vcompletion_auto_help): Move to minibuffer.el.
(syms_of_minibuf): Remove its initialization.
2008-04-09 19:33:56 +00:00
Stefan Monnier
c025fb0a25 (temp_echo_area_glyphs): Remove unused function. 2008-04-09 18:02:08 +00:00
Jason Rumney
3dc94c3075 (LOADDEFS): Add mh-loaddefs.el.
($(lisp)/mh-e/mh-loaddefs.el): Simplify rule.
(pre-mh-loaddefs.el-CMD, pre-mh-loaddefs.el-SH): Remove.
(AUTOGENEL): New variable.
(distclean, maintainer-clean): New targets.
2008-04-09 16:26:54 +00:00
Jason Rumney
c237889829 (distclean): Delete makefile too.
(maintainer-clean): New target.
2008-04-09 16:21:34 +00:00
Juanma Barranquero
7a6a86adef (Ffield_string_no_properties): Fix typo in docstring. 2008-04-09 15:57:40 +00:00
Jason Rumney
8d28646bf8 (redisplay_internal) [!WINDOWSNT]: Conditionalize last change. 2008-04-09 13:33:56 +00:00
Jason Rumney
cf907d69dd (w32_compute_glyph_string_overhangs): Compute overhangs
for new font backend and composite cases.
2008-04-09 12:14:52 +00:00
Jan Djärv
ef5eb9256f (wait_reading_process_output): If SYNC_INPUT and pending_atimers, run atimers. 2008-04-09 06:47:19 +00:00
Jan Djärv
cb5c5b3d7c (emacs_write): If SYNC_INPUT and pending_atimers, run atimers. 2008-04-09 06:46:14 +00:00
Jan Djärv
170c80bed4 (alarm_signal_handler): Call run_timers if not SYNC_INPUT.
Most of the code moved to run_timers.
(do_pending_atimers): Call run_timers.
(run_timers): New function.
2008-04-09 06:46:02 +00:00
Stefan Monnier
32bae13cf7 * lisp/minibuffer.el: New file.
* src/minibuf.c (last_exact_completion): Remove variable.
(Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete)
(complete_and_exit_1, complete_and_exit_2)
(Fminibuffer_complete_and_exit, Fminibuffer_complete_word)
(Fdisplay_completion_list, display_completion_list_1)
(Fminibuffer_completion_help, Fself_insert_and_exit)
(Fexit_minibuffer, Fminibuffer_message): Move functions to minibuffer.el.
(syms_of_minibuf): Remove corresponding initializations.
2008-04-09 03:34:19 +00:00
Stefan Monnier
5c4cc82aeb (Qdeactivate_mark): New var.
(command_loop_1): Use it to call `deactivate-mark'.
(syms_of_keyboard): Initialize it.
2008-04-09 03:29:46 +00:00
Stefan Monnier
9b2cd40320 * xdisp.c (redisplay_internal): Reset tty's color_mode when switching
to another frame.
* frame.c (do_switch_frame): Refine the top_frame/async_visible code.
Don't call set_tty_color_mode.
(store_frame_param): Reset previous_frame rather than call
set_tty_color_mode.
* term.c (set_tty_color_mode): Rewrite.
* dispextern.h (set_tty_color_mode): New type.
* termchar.h (struct tty_display_info): Add `previous_color_mode'.
2008-04-09 03:25:14 +00:00
Stefan Monnier
84cb7b4562 (access_keymap): Remove the value 2 for t_ok which was used
for generic chars, which do not exist any more in emacs-unicode.
2008-04-08 22:13:13 +00:00
Michael Albinus
3ed051d450 * coding.c (detect_coding_emacs_mule)
(Ffind_operation_coding_system): Fix typo.
2008-04-08 20:18:14 +00:00
Jason Rumney
3bf8d23048 (SNAME): Extract only symbol name. 2008-04-08 14:46:49 +00:00
Jason Rumney
56a70cca39 (struct w32_metric_cache): New struct.
(w32font_info): Use it.
(W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL)
(CACHE_BLOCKSIZE): New constants.
2008-04-08 14:29:39 +00:00
Jason Rumney
58c3ea4277 *** empty log message *** 2008-04-08 13:58:29 +00:00
Jason Rumney
8f112d5210 (Qja, Qko, Qzh): New symbols.
(syms_of_w32font): Initialise them.
(font_matches_spec): Use them to filter by language.
(recompute_cached_metrics): Remove function.
(compute_metrics, clear_cached_metrics): New functions.
(w32font_encode_char): Use them to manage metric cache.
(w32font_text_extents): Cache metrics for all glyphs on demand.
Delay converting glyph indices to WORD until needed.
(w32font_open_internal): Initialize metric cache to empty.
(registry_to_w32_charset): Charset should always be a symbol.
(fill_in_logfont, list_all_matching_fonts): Family should always be a symbol.
2008-04-08 13:52:21 +00:00
Juanma Barranquero
fbf57abbfe *** empty log message *** 2008-04-07 11:11:28 +00:00
Jason Rumney
b7655e0cb4 (uniscribe_shape): Map char at FROM to current glyph. 2008-04-06 14:29:29 +00:00
Jason Rumney
0ce24b2d12 (uniscribe_shape): Increase items buffer size.
Give up if glyph indices not supported.  Use uniscribe obtained
ABC widths for individual metrics.  Map glyph clusters back to
characters using fClusterStart flag.  Return number of glyphs
produced, not chars processed.
2008-04-06 01:08:19 +00:00
Miles Bader
5bc6ddff00 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Chong Yidong
37128b5497 (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:42:59 +00:00
Chong Yidong
6ffb36c380 * search.c (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:42:01 +00:00
Chong Yidong
d8c852509f (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:40:16 +00:00
Chong Yidong
9605d5675e * search.c (compile_pattern_1): Treat non-nil and non-string of
search-spaces-regexp as nil.
2008-04-05 21:40:04 +00:00
Juanma Barranquero
c5ad7a3d92 *** empty log message *** 2008-04-05 21:08:50 +00:00
Chong Yidong
c6a82c1866 (Fassoc_string): Tweak docstring. 2008-04-05 21:03:47 +00:00
Chong Yidong
c36e15db97 * minibuf.c (Fassoc_string): Tweak docstring. 2008-04-05 21:03:40 +00:00
Miles Bader
80d0c8d97f Add arch tagline 2008-04-05 20:18:32 +00:00
Eli Zaretskii
f3a3640be8 (Ffile_attributes) [WINDOWSNT]: Force inode be positive. 2008-04-05 19:10:08 +00:00
Eli Zaretskii
aa08d1ff92 (init_user_info): Don't restrict UID and GID to 0-60000 range. 2008-04-05 15:26:10 +00:00
Eli Zaretskii
40beb14781 New file. 2008-04-05 14:34:28 +00:00
Eli Zaretskii
e3b88685f9 (sys_chown, stat, fstat): Use S_* constants instead of _S_* ones, since we
now use our own sys/stat.h.
(stat, fstat): Don't mangle the inode number.
2008-04-05 14:32:28 +00:00
Eli Zaretskii
e058f331f5 (Ffile_attributes): Support inode numbers wider than 32 bits.
Remove ugly WINDOWSNT-specific kludge introduced on 2008-03-14 to force
inode be positive.
2008-04-05 14:31:42 +00:00