Commit graph

7105 commits

Author SHA1 Message Date
Eli Zaretskii
bf8360aed2 * (XMenuActivate): Don't allow non-positive menu
coordinates.
1997-01-16 12:20:49 +00:00
Jim Meyering
3da4f36796 [hpux && HAVE_PSTAT_GETDYNAMIC]: Use HPUX's pstat_getdynamic so
we don't need any special privileges to determine load averages.
Patch from Kaveh Ghazi, based on a sample implementation from
Richard J. Rauenzahn.
Indent cpp-directives to reflect nesting.
1997-01-16 03:33:02 +00:00
Richard M. Stallman
93b649d3b3 (HAVE_PSTAT_GETDYNAMIC): New definition. 1997-01-15 20:24:01 +00:00
Richard M. Stallman
1f8bd7fb36 (get_emacs_configuration): Return windows95 instead of win95. 1997-01-15 20:19:54 +00:00
Richard M. Stallman
de004cc6b4 (init_cmdargs): Allow `installation-directory'
to be set if either `lib-src' or `info' are found as its
subdirectories or siblings.
1997-01-13 21:42:33 +00:00
Richard M. Stallman
de712da3be (concat): Take modulus of thisindex before shifting.
Declare thisindex as unsigned.
1997-01-13 03:33:26 +00:00
Geoff Voelker
ef06882daf (x-popup-menu): Pass in insist flag to mouse_position_hook. 1997-01-13 01:41:59 +00:00
Paul Eggert
acbbacbe53 (rounding_driver): New function for systematic support of
2-argument rounding functions, so that `floor' isn't the only one
that supports 2 arguments.
(Fceiling, Ffloor, Fround, Ftruncate): Use it.
(ceiling2, floor2, round2, truncate2, double_identity): New functions.
(syms_of_floatfns): Define ceiling, round, and truncate even if
LISP_FLOAT_TYPE is not defined.
1997-01-11 17:44:06 +00:00
Richard M. Stallman
ec3bbd7d6b Fix previous change. 1997-01-11 00:28:34 +00:00
Richard M. Stallman
039dc30b04 (read1): Fix error messages. 1997-01-11 00:28:16 +00:00
Richard M. Stallman
acacb29209 Include <mach-o/reloc.h>.
(fgrowth): Initialize to zero.
(vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables.
[NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables.
(unexec_doit): Adjust file offsets of segments that follow the
enlarged data segment.  Adjust vmaddr of the SEG_LINKEDIT segment that
follows the data segment.
[NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load
command that follows the data segment.  Zero out relocation entries
that fall within the data segment.
1997-01-10 02:53:35 +00:00
Richard M. Stallman
49b6d120a6 (LOCK_PID_MAX): Use sizeof (unsigned long) instead of hardwiring 21.
(lock_file_1): Use LOCK_PID_MAX when allocating lock_info_str
instead of hardwiring 21.
1997-01-07 23:52:21 +00:00
Richard M. Stallman
cd0c235a9d Fix typo editing previous change. 1997-01-07 09:03:23 +00:00
Richard M. Stallman
b36701cc09 (bright_bg): Save the original state of video blink bit.
(maybe_enable_blinking): New function, restores the original state
of the blink bit.
(IT_reset_terminal_modes): Restore the original state of the blink
bit when suspending/exiting.
(run_msdos_command): Make sure bright background colors are again
enabled after subsidiary program returns.
1997-01-06 21:23:25 +00:00
Richard M. Stallman
cdb9d66596 (command_loop_1, read_char):
Run Qecho_area_clear_hook when clearing echo area.
(Qecho_area_clear_hook): New variable.
(syms_of_keyboard): Initialize it.
1997-01-05 23:05:46 +00:00
Richard M. Stallman
6d12711f44 (Fpop_to_buffer): New arg NORECORD. 1997-01-05 02:53:57 +00:00
Geoff Voelker
d9709fde35 (compare_env, merge_and_sort_env): New functions.
(sys_spawnve): Sort environment variables for subprocess.
(ppid_env_var_buffer): Variable deleted.
1997-01-04 22:26:26 +00:00
Richard M. Stallman
a2960116f6 (update_frame): Call detect_input_pending
for X as well as for termcap frames.
1997-01-03 23:05:58 +00:00
Richard M. Stallman
9005cb4f8f (lock_info_type): Declare pid as unsigned long instead of int.
(lock_file_1): Use %lu instead of %d in printf.
1997-01-02 21:02:23 +00:00
Richard M. Stallman
5e7ed09384 (HANDLE_RELOCATION): New macro.
(MAYBE_GC): Call HANDLE_RELOCATION.  Swallow following semicolon.
(Fbyte_code): Use HANDLE_RELOCATION.
1997-01-02 20:50:51 +00:00
Richard M. Stallman
9317a902a2 (internal_self_insert): Check the property
on the hook, not on the abbrev symbol.
1997-01-02 02:30:33 +00:00
Richard M. Stallman
8dbbc384da Total rewrite. 1996-12-31 22:11:05 +00:00
Paul Eggert
8db5fdf588 (BROKEN_MKTIME): New macro. 1996-12-31 19:10:03 +00:00
Paul Eggert
6009ff5ad3 (MKTIME_OBJ):
Use BROKEN_MKTIME instead of system-specific macros to determine
whether mktime is broken.
1996-12-31 19:10:03 +00:00
Paul Eggert
89e5d42066 (mktime):
Use BROKEN_MKTIME instead of system-specific macros to determine
whether mktime is broken.
1996-12-31 19:10:03 +00:00
Richard M. Stallman
c9ab42e191 Initial revision 1996-12-31 04:55:55 +00:00
Paul Eggert
ad8d56b960 <float.h>: Include if STDC_HEADERS.
(IEEE_FLOATING_POINT): New symbol.
(float_arith_driver, Fmod):
Test for division by 0 only if ! IEEE_FLOATING_POINT.
1996-12-30 08:07:51 +00:00
Paul Eggert
d137ae2faa <float.h>: Include if STDC_HEADERS.
(IEEE_FLOATING_POINT): New symbol.
(Ffloor): Test for division by 0 only if ! IEEE_FLOATING_POINT.
(fmod_float): New function.
1996-12-30 08:07:51 +00:00
Paul Eggert
22a8b81674 (MKTIME_OBJ): Use our mktime instead of SCO 3.2v4.2's, since it
botches time arithmetic as used by display-time.
1996-12-30 07:34:15 +00:00
Richard M. Stallman
3d5fc37b72 (Fbyte_code): Add error check for jumping out of range. 1996-12-30 05:59:42 +00:00
Richard M. Stallman
ececcbec2a Include blockinput.h.
(create_process): Block input around the fork.
1996-12-30 01:26:08 +00:00
Richard M. Stallman
8877186525 (process.o): Depend on blockinput.h. 1996-12-30 01:25:10 +00:00
Richard M. Stallman
e5df7c4ad7 (LD_SWITCH_SYSTEM): Use just -X.
(LIB_STANDARD): Alternate definition if NS_TARGET.
1996-12-27 04:38:50 +00:00
Richard M. Stallman
695a5c4976 (dos_set_keyboard): Test whether KEYB.COM is installed
for international keyboard support.
(dos_get_modifiers): If international keyboard support is NOT
required, make both Right and Left Alt key behave like Meta key.
1996-12-27 02:11:22 +00:00
Richard M. Stallman
73e0d965cc (Fdefalias): Change argument name and doc string. 1996-12-26 22:41:42 +00:00
Richard M. Stallman
8c0b5540a7 (Ffset): Change argument name and doc string. 1996-12-26 22:40:23 +00:00
Richard M. Stallman
1e6bc770bd (x_iconify_frame): Clear visible when we set iconified. 1996-12-26 21:07:30 +00:00
Richard M. Stallman
98381e4289 (single_keymap_panes): New arg DEPTH.
Cut off recursion at that depth.  Callers changed.
1996-12-26 21:06:19 +00:00
Richard M. Stallman
101d160585 (window_scroll): Preserve vpos of point
if we cannot preserve the actual position of it.
Make it static.  New arg WHOLE; callers changed.
1996-12-26 21:01:10 +00:00
Richard M. Stallman
8eb4d8ef14 (read_char_x_menu_prompt): Unread and record all the input events from here.
(record_menu_key): New subroutine.
1996-12-26 21:00:03 +00:00
Richard M. Stallman
2e13f8e971 (standard_args): Add -find-file and -visit. 1996-12-26 20:55:04 +00:00
Richard M. Stallman
e57640c004 (internal_self_insert): If the abbrev has no expansion,
just a hook, inhibit the insertion of the character.
1996-12-26 20:54:22 +00:00
Richard M. Stallman
f530ce2748 (Fexpand_abbrev): Return the abbrev symbol, or nil if no expansion. 1996-12-26 20:53:54 +00:00
Richard M. Stallman
ca41a64d00 (set_point): Use virtual bounds, not real bounds,
in the abort test for POSITION.
Skip the intangibility test if POSITION is at either end of buffer.
1996-12-20 18:15:52 +00:00
Richard M. Stallman
97f7b3b252 (FRONT_NONSTICKY_P): New macro. 1996-12-20 18:15:32 +00:00
Richard M. Stallman
9cbab4ff07 (try_window): Add error check for POS.
(prepare_menu_bars, update_menu_bar):
Call Fmatch_data with new explicit arguments.
1996-12-20 18:14:47 +00:00
Richard M. Stallman
2ff6714dd1 (modify_event_symbol):
Don't index thru name_table if it is null.
1996-12-19 23:57:33 +00:00
Richard M. Stallman
beb403b379 (x_set_title): Check data type of NAME. 1996-12-19 17:05:37 +00:00
Richard M. Stallman
8ca821e9f8 (Fmatch_data): Doc fix. 1996-12-19 08:11:56 +00:00
Richard M. Stallman
7935c7387b (set_frame_menubar): Call Fmatch_data with new explicit arguments. 1996-12-19 06:42:08 +00:00