1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-29 08:31:35 -08:00
Commit graph

10116 commits

Author SHA1 Message Date
Richard M. Stallman
0aee588ddc (Fbeginning_of_line): Don't handle minibuffer prompt here. 1999-09-11 01:12:39 +00:00
Gerd Moellmann
fcf431dc3f (x_build_heuristic_mask): Accept a list `(R G B)'
as background color specification instead of an integer.
(image-cache-eviction-delay): Replaces image-eviction-seconds.
(Vimage_cache_eviction_delay): Replaces Vimage_eviction_seconds.
(clear_image_cache, syms_of_xfns): Use it.
(Qpostscript): Replaces Qghostscript.
(gs_type): Use it.
(gs_image_p): Ditto.
(syms_of_xfns): Initialize Qpostscript.
1999-09-10 16:19:34 +00:00
Richard M. Stallman
c280bc6a3d (Ferase_buffer): Don't erase the minibuffer prompt. 1999-09-10 06:32:34 +00:00
Gerd Moellmann
3ccff1e302 (QCindex): New.
(syms_of_xfns): Initialize QCindex.
(gif_load): Use it instead of `:image'.
1999-09-09 14:54:29 +00:00
Gerd Moellmann
38b5e49776 (Fmakehash): Accept just one optional argument TEST. 1999-09-09 14:54:28 +00:00
Richard M. Stallman
72bba429ca (Fwrite_region): Finish renaming CONFIRM to MUSTBENEW.
(Fwrite_region) [DOS_NT]: Handle `excl' here too.
1999-09-09 04:24:12 +00:00
Gerd Moellmann
d3acf96b57 (Qwhen): Replaces QCwhen.
(syms_of_xdisp): Initialized it instead of QCwhen.
(handle_single_display_prop): Use it instead of QCwhen.
1999-09-08 22:12:34 +00:00
Richard M. Stallman
fbd1209a4a (read_minibuf): Put all three properties on the same range--the whole prompt. 1999-09-08 21:14:25 +00:00
Kenichi Handa
63f4d57914 (CHAR_COMPONENTS_VALID_P): Fix for ASCII. 1999-09-08 11:49:34 +00:00
Kenichi Handa
0ad3f83d15 Reset MSBs of arguments of MAKE_CHAR. 1999-09-08 11:16:02 +00:00
Richard M. Stallman
0205059671 Clear up previous change. 1999-09-08 08:01:16 +00:00
Richard M. Stallman
95dccf7583 (Fbufsize): Accept an extra BUFFER parameter. 1999-09-08 07:56:20 +00:00
Richard M. Stallman
e52ad9c9c7 (Fbase64_decode_region): Don't place point outside of the
current accessible portion.
1999-09-08 07:54:18 +00:00
Richard M. Stallman
61684f41fc (fix_submap_inheritance): Do nothing if the proper parent is an
ancestor of SUBMAP; otherwise, add it as the ultimate ancestor.
1999-09-08 05:14:39 +00:00
Gerd Moellmann
5a4c88c4f4 (handle_single_display_prop): Change conditional
display property to `:when FORM . VALUE'.
1999-09-07 22:31:38 +00:00
Richard M. Stallman
f7b4065fc9 (Fwrite_region): Doc fix. 1999-09-07 19:40:09 +00:00
Richard M. Stallman
505ab9bc44 (Qexcl): New variable.
(report_file_error): Handle EEXIST specially.
(Fwrite_region): Special handling for CONFIRM = `excl'.
(syms_of_fileio): Initialize Qexcl.
1999-09-07 18:20:27 +00:00
Gerd Moellmann
05c8abbee2 (x_set_foreground_color): Call
update_face_from_frame_parameter.
(x_set_background_color): Ditto.
(x_set_mouse_color): Ditto.
(x_set_cursor_color): Ditto.
(x_set_border_color): Ditto.
(x_set_scroll_bar_foreground): Ditto.
(x_set_scroll_bar_background): Ditto.
1999-09-07 14:49:01 +00:00
Gerd Moellmann
8bd201d6c4 (recompute_basic_faces): Clear face cache.
(Finternal_set_lisp_face_attribute): Modify frame parameters
if attributes of certain faces are changed.
(update_face_from_frame_parameter): New.
(realize_basic_faces): Realize new basic faces.
(Qscroll_bar, Qcursor, Qborder, Qmouse): New.
(syms_of_xfaces): Intialize new symbols.
(Qfringe): Replaces Qmargin.
1999-09-07 14:48:59 +00:00
Gerd Moellmann
cfa2208264 (Fset_window_margins): Make window the first argument.
(set_window_buffer): Call Fset_window_margins with window as first
argument.
1999-09-07 14:48:56 +00:00
Gerd Moellmann
a46866a03a (Fmakehash): Take one argument, test, make all the
rest keyword arguments.
1999-09-07 14:48:55 +00:00
Gerd Moellmann
76a6bc491b (SCROLL_BAR_FACE_ID, BORDER_FACE_ID,
CURSOR_FACE_ID, MOUSE_FACE_ID): New.
1999-09-07 14:48:54 +00:00
Kenichi Handa
44c6492dfa Lots of comments fixed.
(SPLIT_MULTIBYTE_SEQ): Make it work also for ASCII string.
(CHAR_COMPONENTS_VALID_P): Name changed from
CHAR_COMPONENT_VALID_P.  Caller changed.
1999-09-07 12:19:26 +00:00
Kenichi Handa
9dd2aa1a51 Lots of comments fixed.
(PARSE_MULTIBYTE_SEQ): Make it work also for ASCII string.
(STRING_CHAR_AND_CHAR_LENGTH): This macro removed.
1999-09-07 12:18:57 +00:00
Richard M. Stallman
7baf49cf5e (syms_of_insdel): Define Lisp variable inhibit-modification-hooks. 1999-09-07 03:25:35 +00:00
Richard M. Stallman
c4ea52a64f [macintosh] (stat, fstat, mkdir, rmdir, utime, access)
(open, creat, unlink, read, write, rename, fopen, pause, alarm)
(signal, sleep, gmtime, localtime, ctime, time, index, mktemp)
(getpwuid, getpwnam, dup, dup2, isatty, getgid, getegid, getuid)
(geteuid, getpid, getenv, uname, opendir, closedir, readdir, getwd.):
New functions, replacing POSIX features.

[macintosh] (Mac2UnixPathname, Unix2MacPathname, CheckAlarm)
(InitMyPasswd, GetTempDirName, mystrchr, mystrtok, mystrcpy):
(InitEmacsPasswdDir, run_mac_command): New subroutines.

[macintosh] (targetTicks, alarm_signal_func, myPasswdName)
(myPasswd, emacsPasswdDir, emacsPasswd, myPasswdInited, mask)
(myPasswdDir, TempDirName, sys_siglist): New variables.

[macintosh] (execvp, wait, croak, fork, kill, sigsetmask)
(sigblock, request_sigio, unrequest_sigio, setpgrp, pipe, symlink)
(link, lstat, readlink, umask, chmod, sbrk, fsync, ioctl):
Define empty stubs so Emacs will link.
1999-09-06 22:32:26 +00:00
Dave Love
6340679d44 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
* s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c.
1999-09-06 16:07:27 +00:00
Dave Love
96fe259801 1998-05-17 Michael Sperber [Mr. Preprocessor] <sperber@informatik.uni-tuebingen.de>
* s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c.
1999-09-06 16:06:14 +00:00
Dave Love
0248680a42 New version incorporating Michael Sperber's changes from XEmacs.
Should solve problems on AIX 4.3.
1999-09-06 16:01:15 +00:00
Dave Love
9426b3ccc4 Remove comment on DEFVAR_BOOL. 1999-09-06 11:03:51 +00:00
Dave Love
1ffcc3b149 (Vbyte_boolean_vars): New variable.
(defvar_bool, syms_of_lread): Use it.
1999-09-06 11:02:28 +00:00
Gerd Moellmann
e82d09c942 (Fx_show_tip): Improve documentation. 1999-09-05 21:22:48 +00:00
Gerd Moellmann
470049525f (Fset_window_vscroll): Make window the first argument,
amount to scroll the second.  Take non-negative vscroll as
argument.
(Fwindow_vscroll): Return non-negative vscroll.
1999-09-05 21:22:46 +00:00
Gerd Moellmann
2a53558db3 (Qplay_sound_functions): Replaces Qplay_sound_hook.
(Fplay_sound, syms_of_sound): Use it.
(parse_sound): Allow float volume values in the range [0, 1].
(Fplay_sound): Ditto.
1999-09-05 21:22:45 +00:00
Gerd Moellmann
045dee35ff Change
`top-line' and `top_line' to `header-line' and `header_line'.
Likewise for similar spellings.
1999-09-05 16:39:19 +00:00
Gerd Moellmann
9ea173e830 Change spelling of toolbar' to tool_bar' or `tool-bar'.
Likewise for upper-case etc.
1999-09-05 15:49:07 +00:00
Gerd Moellmann
e037b9ecb3 (row_containing_pos): New.
(try_window_id): Use it.
Change spelling of `toolbar' to `tool_bar' or `tool-bar'.
Likewise for upper-case etc.
1999-09-05 15:48:57 +00:00
Gerd Moellmann
92857db0fa (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]:
Fix reference to renamed variable.
1999-09-05 12:13:41 +00:00
Gerd Moellmann
8a37516b4a (Qwindow_size_fixed): Replaces Qfixed_window_size.
(window_fixed_size_p): Use Qwindow_size_fixed instead of
Qfixed_window_size.
(syms_of_window): Ditto.
1999-09-04 20:11:12 +00:00
Gerd Moellmann
c5092f3e57 (Fmakehash): Exchange optional test and size arguments. 1999-09-04 20:11:09 +00:00
Gerd Moellmann
55115f0920 Change protorype of x_alloc_nearest_color. 1999-09-03 18:50:06 +00:00
Gerd Moellmann
80c32bcc71 (XTset_vertical_scroll_bar): Block input when clearing
under newly created scroll bar.
(expose_window): If window is not yet fully initialized, do
nothing.  This can happen when toolkit scroll bars are used and a
window is split.  Reconfiguring the scroll bars will generate an
expose for a newly created window.
(x_alloc_nearest_color_for_widget) [USE_X_TOOLKIT]:
New.  Allocate color for lwlib widgets.
(x_alloc_nearest_color): Change parameter list include the
frame on which to allocate colors.  Gamma-correct colors.
(x_alloc_lighter_color): Call x_alloc_lighter_color with new
parameter list.
1999-09-03 18:50:00 +00:00
Gerd Moellmann
d62c876925 Include math.h. Add extern declaration for atof in case
we don't see one.
(Qscreen_gamma): New.
(struct x_frame_parm_table): Add prototypes, add
x_set_screen_gamma.
(gamma_correct): New function.
(defined_color): Call it.
(x_set_screen_gamma): New.
(x_set_title): Add parameter old_value.
(RES_TYPE_FLOAT): New.
(x_get_arg): Handle RES_TYPE_FLOAT.
(Fx_create_frame): Call x_default_parameter for `screen-gamma'.
(lookup_pixel_color): Change call to x_alloc_nearest_color to
new prototype.
(lookup_rgb_color): Ditto.
(syms_of_xfns): Initialize Qscreen_gamma.
1999-09-03 18:49:56 +00:00
Gerd Moellmann
b61cbba3c1 (struct frame): New member `gamma'. 1999-09-03 18:49:55 +00:00
Richard M. Stallman
f019cded83 [macintosh]: Set KBD_BUFFER_SIZE to a smaller value
(512) because Mac compilers limit local data of a function to 32K.
1999-09-03 18:48:46 +00:00
Richard M. Stallman
0e01515357 Do nothing if included a second time.
(enum output_method): Add mac_output frame type.
(union output_data): Add new alternative `mac'.
(FRAME_MAC_P): New macro.
1999-09-03 18:44:39 +00:00
Richard M. Stallman
574a1a902e (Fframep) [macintosh]: Handle mac frame type.
(syms_of_frame_1): Initialize Qmac.
(make_terminal_frame) [macintosh]: Initialize output_data.mac fields.
(Fmake_terminal_frame) [macintosh]: Add an alternate error check.
(Fmodify_frame_parameters) [macintosh]: Call
mac_set_frame_parameter in macterm.c.
1999-09-03 18:39:38 +00:00
Richard M. Stallman
052062e0d8 (call-process) [macintosh]: Call mac_run_command in
sysdep.c.  The Mac code is modeled after the DOS code.
1999-09-03 18:29:30 +00:00
Richard M. Stallman
066d59b3d5 Delete the system-independent include of stdlib.h
(leaving only the one in the WINDOWSNT conditional).
1999-09-03 18:26:26 +00:00
Richard M. Stallman
29c42596c4 [macintosh]: Include macterm.h to define substitute X
Window types and macros.
1999-09-03 18:15:24 +00:00