1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00
Commit Graph

2154 Commits

Author SHA1 Message Date
Roland McGrath
252e4dba33 (F{next,previous}_single_property_change): Doc fix. 1993-08-19 20:18:46 +00:00
Roland McGrath
0114e17e66 *** empty log message *** 1993-08-16 19:10:25 +00:00
Richard M. Stallman
039f26a48f (mkdir, rmdir): Use wait_for_termination to wait.
Redirect descriptors 0...2 to /dev/null.
1993-08-15 04:28:05 +00:00
Richard M. Stallman
74e299845c (HAVE_VFORK, INTEL386, aix386): Add #undef. 1993-08-15 03:55:29 +00:00
Richard M. Stallman
719b4a405f (Qread_file_name_internal): New var.
(syms_of_minibuf): Set it up and protect it.
(Fminibuffer_complete_word): When completing a file name,
expand envvar references.
1993-08-15 03:54:35 +00:00
Richard M. Stallman
94c8642adf Include syswait.h. 1993-08-15 03:53:33 +00:00
Richard M. Stallman
889255b458 Include syswait.h.
(wait_reading_process_input): Exit without waiting
if wait_for_cell is already non-nil.
1993-08-15 03:52:43 +00:00
Richard M. Stallman
2313b945f2 (adjust_intervals_for_insertion): If inserting in middle
of interval that is sticky in neither direction, don't copy props.
(merge_properties_sticky): Handle non-list as front-sticky or
rear-nonsticky property.
1993-08-15 03:49:28 +00:00
Richard M. Stallman
9d11b9a193 (mostlyclean): Don't delete emacs here.
(clean): Delete emacs and emacs-* here.
(distclean): Don't delete emacs-* here.
1993-08-15 03:39:42 +00:00
Richard M. Stallman
d1f21a66c4 (struct property_change): New field `arrived'.
(expect_property_change): Return struct property_change *.
Clear `arrived'.
(unexpect_property_change): Take one as argument.
(wait_for_property_change): Take one as argument.
If `arrived' is set, don't wait.
(wait_for_property_change_unwind): Corresponding changes.
(receive_incremental_selection): Corresponding changes.
(x_reply_selection_request): Corresponding changes.
(property_deleted_p): Function deleted.

(x_handle_selection_clear): Redisplay.
1993-08-14 23:02:58 +00:00
Richard M. Stallman
b90d9e8043 (compile_pattern): Cast result of re_compile_pattern. 1993-08-14 20:16:43 +00:00
Richard M. Stallman
e443f843a4 (init_cmdargs): Check openp result for 1, not != 0. 1993-08-14 18:37:47 +00:00
Richard M. Stallman
6dba18584c (x_wm_set_size_hint): New args spec_x and spec_y.
Set the window gravity.  All callers changed.

(XTread_socket): Make copy_buffer unsigned.

(x_calc_absolute_position): For negative coords, take
account of added width from window manager's outer window.
1993-08-14 11:00:54 +00:00
Richard M. Stallman
8014cc0367 (x_wm_set_size_hint): New args spec_x and spec_y.
Set the window gravity.  All callers changed.
1993-08-14 10:59:10 +00:00
Richard M. Stallman
1658603c0c (Fx_popup_menu): Adjust coords so they are relative to the inner window. 1993-08-14 10:30:09 +00:00
Richard M. Stallman
43626ea48d entered into RCS 1993-08-14 09:38:56 +00:00
Richard M. Stallman
64c1864a88 (__CTOR_LIST__): Don't declare it on Linux. 1993-08-14 07:34:28 +00:00
Richard M. Stallman
4601350064 (getpwuid): Declare it as in xrdb.c.
(init_filelock): Don't use return value of strcpy.
1993-08-14 07:21:00 +00:00
Richard M. Stallman
11378c410a (x_set_frame_parameters): Don't die if just one of
height and width was set.  Likewise left and top.
1993-08-14 07:20:08 +00:00
Richard M. Stallman
871d0ce7fb (internal_equal): Typo in previous change. 1993-08-14 07:14:13 +00:00
Richard M. Stallman
e050ef745e (property_change_between_p): Test NULL_INTERVAL_P
in loop, before looking at next->position.
1993-08-14 04:36:08 +00:00
Richard M. Stallman
5843fef346 (internal_equal): All markers in no buffer are equal. 1993-08-14 03:50:26 +00:00
Roland McGrath
453a645a41 Added #undef HAVE_XSCREENNUMBEROFSCREEN. 1993-08-13 23:35:42 +00:00
Richard M. Stallman
bdb8d0854a (C_DEBUG_SWITCH, SYSTEM_MALLOC): Defined. 1993-08-13 22:23:19 +00:00
Richard M. Stallman
820829e347 (C_SWITCH_MACHINE): Deleted. 1993-08-13 22:21:52 +00:00
Richard M. Stallman
404daac1a1 (XScreenNumberOfScreen): New function. 1993-08-13 22:16:38 +00:00
Richard M. Stallman
b2fe4ec62d (START_FILES, LIB_STANDARD): Don't define if USG5_4.
(DEFAULT_ENTRY_ADDRESS): Likewise.
(UNEXEC): Use unexelfsgi.o if USG5_4.
1993-08-13 21:40:37 +00:00
Richard M. Stallman
e1111f28fb Delete conditionals for HAVE_X_WINDOWS and HAVE_SOCKETS. 1993-08-13 19:09:21 +00:00
Richard M. Stallman
6a6eec7e22 (C_ALLOCA): Don't define it. 1993-08-13 08:44:21 +00:00
Richard M. Stallman
27203ead54 (kbd_buffer_store_event): Use bcopy to copy
a selection request event.

(read_char): Never start echoing if -batch.
1993-08-13 06:19:21 +00:00
Richard M. Stallman
6930925e83 (get_data_region): Add cast to avoid warning. 1993-08-13 05:38:33 +00:00
Richard M. Stallman
d3fc9c800d (Flogb): Error at run time if not supported. 1993-08-13 00:46:48 +00:00
Roland McGrath
3070929adb *** empty log message *** 1993-08-12 22:17:13 +00:00
Richard M. Stallman
1a3ac8b9d2 (Flogb): Doc fix. 1993-08-12 22:07:47 +00:00
Richard M. Stallman
6c362a8bb2 Include process.h.
(init_cmdargs): Use EXEC_SUFFIXES.
1993-08-12 22:05:30 +00:00
Richard M. Stallman
b7a11e2101 Include alloca.h if appropriate.
Fix the #include file name.
(ULIMIT_BREAK_VALUE, GETPGRP_NO_ARG, NO_MATHERR): New macros.
(LIB_STANDARD): #undef it.
1993-08-12 21:55:46 +00:00
Richard M. Stallman
9fbb139c5a (Fdelete_frame): Add parens for clarity. 1993-08-12 21:01:06 +00:00
Richard M. Stallman
5ca24800d3 Fix typo in last change. 1993-08-12 07:56:35 +00:00
Richard M. Stallman
5b67709011 (HAVE_GETHOSTNAME): #if 0'd. 1993-08-12 05:39:25 +00:00
Richard M. Stallman
c45a32d459 (BIG_ENDIAN): Don't actually define it. 1993-08-12 04:53:38 +00:00
Richard M. Stallman
e4865e3fbe (LD_SWITCH_SYSTEM): Delete the -L options. 1993-08-11 23:15:09 +00:00
Richard M. Stallman
a588e041b4 (describe_buffer_bindings): Declare shadow just once. 1993-08-11 21:10:44 +00:00
Richard M. Stallman
cdf0b09689 (verify_overlay_modification): initialize endpos. 1993-08-11 21:08:13 +00:00
Richard M. Stallman
f8f5a0575b (enum resource_types): Delete final comma. 1993-08-11 20:48:04 +00:00
Richard M. Stallman
a68c0d3b6e (enum window_loop): Delete final comma. 1993-08-11 20:46:27 +00:00
Richard M. Stallman
6cd195e292 (enum event_kind): Delete final comma.
(meta_modifier): Delete final comma.
1993-08-11 20:45:15 +00:00
Richard M. Stallman
dc35af79cb (BIG_ENDIAN): Don't define if already defined. 1993-08-11 20:42:43 +00:00
Richard M. Stallman
f16a1ed371 (Frecenter): Preserve point in the buffer we change it in. 1993-08-11 19:29:19 +00:00
Richard M. Stallman
dbf8da3952 (Fnewline): If we don't do the first SET_PT,
clear flag, so we don't do the second SET_PT.
1993-08-11 19:09:15 +00:00
Richard M. Stallman
2e3b94e7e9 (make_lispy_event): Clear all but 0377 in event->code. 1993-08-11 07:56:40 +00:00
Roland McGrath
6c5c8bbece *** empty log message *** 1993-08-11 07:27:10 +00:00
Richard M. Stallman
2f24f5ac0c (direct_output_forward_char): Fix previous change:
verify position is in range before calling Fget_text_property,
and calculate position properly.
1993-08-11 05:24:29 +00:00
Richard M. Stallman
5c781212c8 (Qminibuffer_setup_hook, Vminibuffer_setup_hook): New vars.
(syms_of_minibuf): Set them up.
(read_minibuffer): Run the hook, if not empty.
1993-08-11 05:23:49 +00:00
Richard M. Stallman
018cfa0756 (receive_incremental_selection): Use bcopy, not memcpy. 1993-08-11 04:51:08 +00:00
Richard M. Stallman
806f25b218 (BIG_ENDIAN): Provide a value that matches the system. 1993-08-11 04:49:27 +00:00
Richard M. Stallman
31ba73cb9d (C_SWITCH_X_SYSTEM): Define instead of C_SWITCH_SYSTEM. 1993-08-11 04:47:56 +00:00
Richard M. Stallman
82c1ecc6e5 Add #undef HAVE_FTIME. 1993-08-11 04:47:39 +00:00
Richard M. Stallman
465db27b59 (term_get_fkeys_define_1, term_get_fkeys_define): New functions.
(term_get_fkeys): Use them.
1993-08-11 04:09:28 +00:00
Richard M. Stallman
404e81d617 *** empty log message *** 1993-08-10 21:27:23 +00:00
Richard M. Stallman
dbe2a425d2 (LIB_X11_LIB, LIBX11_SYSTEM): Make #undefs unconditional. 1993-08-10 21:24:41 +00:00
Richard M. Stallman
c62e995865 Handle NO_TERMIO in principal HAVE_TERMIOS case. 1993-08-10 21:22:44 +00:00
Richard M. Stallman
abfc2e5fd2 (x_get_customization_string): Don't use value of strcpy. 1993-08-10 21:16:01 +00:00
Richard M. Stallman
551dd6e32f (HAVE_TCATTR): Macro #defined.
(HAVE_CLOSEDIR): #undef to allow use of closedir in sysdep.c.
(SIGTSTP): Commented #undef to allow use of ^Z in shell-mode.
(SIGNALS_VIA_CHARACTERS): #defined.
1993-08-10 17:27:50 +00:00
Richard M. Stallman
28d849dbb8 (Fexpt): Use IN_FLOAT2. 1993-08-10 05:47:49 +00:00
Richard M. Stallman
3530d53400 (Vinvocation_directory): Declared. 1993-08-10 04:36:30 +00:00
Paul Eggert
44fa9da5d7 (Fmod): New function; result is always same sign as divisor. 1993-08-10 04:14:17 +00:00
Paul Eggert
ce426daa32 (main): Invoke syms_of_floatfns even if LISP_FLOAT_TYPE
isn't defined, since `(floor A B)' is now needed for integers.
1993-08-10 04:14:17 +00:00
Paul Eggert
fc2157cb0f (Ffloor): Optional second operand specifies divisor, as in Common Lisp.
(syms_of_floatfns): Invoke syms_of_floatfns even if LISP_FLOAT_TYPE
isn't defined, since `(floor A B)' is now needed for integers.
1993-08-10 04:14:17 +00:00
Richard M. Stallman
d7cb42c349 (unexec): Add casts for some comparisons.
(PATCH_INDEX): Likewise.
1993-08-10 01:32:23 +00:00
Jim Blandy
6d3c6adbdf * config.h.in (HAVE_LOGB, HAVE_FREXP): Add #undefs for the
configuration script to edit.
* floatfns.c (Flogb): Use HAVE_LOGB and HAVE_FREXP, instead of
assuming that all USG systems have FREXP.
1993-08-09 06:04:14 +00:00
Richard M. Stallman
c5a9c3e6a6 (term_init): Improve error messages (give sh commands). 1993-08-09 05:45:12 +00:00
Richard M. Stallman
41f54422a4 (mark_object): Declare ptr volatile, or don't use it
after a recursive call.  Delete the aborts if ptr is clobbered.
1993-08-08 23:19:24 +00:00
Richard M. Stallman
2224a5fc74 (struct font_info): New structure.
(x_font_table): Use struct font_info as elements.
(x_new_font): Corresponding changes.
Use XListFonts, not XListFontsWithInfo.
Use XFreeFontNames, not XFreeFontInfo.
Compare fonts by name, not by fid.
If already_loaded is 0, that counts as "yes".
1993-08-08 22:38:31 +00:00
Richard M. Stallman
6f5d1a4f52 Don't put -q in args.
Don't unset TERM and TERMCAP--show them instead.
1993-08-08 07:41:41 +00:00
Richard M. Stallman
651c847c8f (HAVE_VFORK): Defined. 1993-08-08 06:55:45 +00:00
Richard M. Stallman
ace40a6918 (Vinvocation_directory): New var.
(init_cmdargs): Set up its value.
(Finvocation_directory): New function.
(main): Call init_buffer, init_callproc and init_cmdargs
before init_lread.
(syms_of_emacs): Install the function, and protect the variable.
1993-08-08 06:23:21 +00:00
Richard M. Stallman
ddc61f4653 (expand_and_dir_to_file): Use Fdirectory_file_name. 1993-08-08 05:17:22 +00:00
Richard M. Stallman
80667d531d (init_lread): Normally put Vinvocation_directory
at end of Vload_path, if not present already.
1993-08-08 05:01:06 +00:00
Richard M. Stallman
b30b24cbc3 (x_term_init): Set the hooks before we call Fset_input_mode. 1993-08-06 23:37:41 +00:00
Richard M. Stallman
fe8aeef3c3 (set_poll_suppress_count): New function. 1993-08-06 22:45:22 +00:00
Richard M. Stallman
1cdc315501 (unwind_to_catch): Call set_poll_suppress_count. 1993-08-06 22:44:00 +00:00
Richard M. Stallman
34f04431e2 (Fset_input_mode): Start polling, if appropriate.
At the beginning, stop polling.
Remove period from error message.
(stop_polling, start_polling): Check for interrupt_input.
(POLL_FOR_INPUT): Define whether or not target supports SIGIO.
1993-08-06 21:17:16 +00:00
Richard M. Stallman
69b4bf37c4 Total rewrite; includes ibmps2-aix.h. 1993-08-06 01:01:53 +00:00
Richard M. Stallman
76c2b0cc7d (do_autoload): Don't report autoload failure
if the autoload definition now is a different one.
1993-08-05 21:21:27 +00:00
Richard M. Stallman
b921eae6ab (SYSTEM_TYPE): Don't redefine it here. 1993-08-05 21:03:28 +00:00
Richard M. Stallman
af50f9e585 Doc fix. 1993-08-05 17:38:20 +00:00
Richard M. Stallman
0ce830bc26 (Fyes_or_no_p): Use Qyes_or_no_p_history.
(syms_of_fns): Set up Qyes_or_no_p_history.
1993-08-05 01:51:54 +00:00
Richard M. Stallman
298b760ea5 (expand_and_dir_to_file): Remove final / by copying abspath. 1993-08-04 22:51:22 +00:00
Richard M. Stallman
cefeb3a98d [BSD4_3] (HAVE_FTIME): Defined. 1993-08-04 04:18:32 +00:00
Richard M. Stallman
aa29f9b923 (Frem): Don't accept floats, just ints and markers. 1993-08-04 04:17:08 +00:00
Richard M. Stallman
df208aafdb (CRT0_COMPILE): Add -O and -Demacs. 1993-08-03 18:23:39 +00:00
Jim Blandy
e3a7436e6f Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
* 7300.h [__GNUC__]: #define HAVE_ALLOCA.
[not __GNUC__]: #define SWITCH_ENUM_BUG, C_ALLOCA, and STACK_DIRECTION.
(HAVE_SYSVIPC, USE_UTIME): #define these.
(memmove): We don't have this; call safe_bcopy.
(CRT0_COMPILE): #define this, so we always use the system's cc.
* config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
* ymakefile (crt0.o): Replace the compiler and switches with the
symbol CRT0_COMPILE.
(CRT0_COMPILE): If the system and machine description files have
left this undefined, then define it to do the same as the old
crt0.o rule used to.
1993-08-03 07:28:04 +00:00
Jim Blandy
23524fb950 * config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
1993-08-03 07:02:38 +00:00
Richard M. Stallman
2f1895276f Don't mention dir `s/' in #include. 1993-08-03 04:30:43 +00:00
Richard M. Stallman
0e18d8ef78 (vfork): Move this outside the USG conditional. 1993-08-03 02:40:31 +00:00
Roland McGrath
ef2c57aca0 (Fprevious_frame): New function, for parity with Fnext_frame.
(syms_of_frame): Add defsubr for Sprevious_frame.
1993-08-02 22:16:09 +00:00
Jim Blandy
db6f348c69 * xdisp.c (display_menu_bar): Redisplay all lines occupied by the
menu bar, not just the first.
1993-08-02 21:19:23 +00:00
Roland McGrath
f870f3fefd *** empty log message *** 1993-08-02 20:48:12 +00:00
Richard M. Stallman
ef58099133 (save_excursion_restore): Never make the buffer visible. 1993-08-02 07:58:13 +00:00
Richard M. Stallman
2e864a763b (read_key_sequence): Use XFASTINT to convert value
of Flength to an int.
1993-08-02 07:29:53 +00:00
Richard M. Stallman
be8b1c6b25 (Fmove_overlay): Avoid initializer for Lisp_Object vars.
(verify_overlay_modification): Declare ostart, oend as Lisp_Object.
1993-08-02 07:28:31 +00:00
Richard M. Stallman
4524cb1c30 (Fset_frame_position): Doc fix. 1993-08-02 05:54:55 +00:00
Roland McGrath
04402ae3dc *** empty log message *** 1993-08-01 23:03:26 +00:00
Roland McGrath
db6730c7ad *** empty log message *** 1993-08-01 20:39:38 +00:00
Richard M. Stallman
559f9d0405 (last_mouse_button): Renamed from button_up_button.
(last_mouse_x, last_mouse_y): Likewise.
(button_down_time): Replaces button_up_time.
(make_lispy_event): Set button_down_time.
Detect and report double-down and double-drag events.
(apply_modifiers_uncached): Put `double' or `triple' first.
(read_key_sequence): Convert unbound double-drag/down to drag/down.
1993-08-01 18:48:20 +00:00
Richard M. Stallman
57d8d46819 (Finsert_file_contents): Don't call prepare_to_modify_buffer
if inserting zero characters.
1993-08-01 12:19:11 +00:00
Richard M. Stallman
ec11639d93 Doc fix. 1993-08-01 08:42:46 +00:00
Richard M. Stallman
b0a0fbdac8 (try_window): Handle invisible newline at end of buffer.
(display_text_line): Don't display invisible text.
1993-07-31 22:00:33 +00:00
Richard M. Stallman
5a05d3d297 (compute_motion): Compute correctly for invisible text.
(vmotion): Take care of invisible newlines.

(Fmove_to_column): After we split a tab, make sure
to set last_known... consistently.
1993-07-31 21:59:42 +00:00
Richard M. Stallman
d169fe39da (direct_output_for_insert): Fail if character
just inserted has text properties.
(direct_ouput_forward_char): Fail if moving near invisible chars.
1993-07-31 21:58:45 +00:00
Richard M. Stallman
7ce503fdda (adjust_intervals_for_insertion): Handle insertion
between two unlike intervals via merge_properties_sticky.
(merge_properties_sticky): New function.
(graft_intervals_into_buffer): Leave handling of `sticky'-ness to
adjust_intervals_for_insertion, then merge properties of the
inserted text onto the old ones.
(textget_direct): New function.
(set_point): Fix calculating of fromprev.
(verify_interval_modification): Check for `read-only' property
and take its `sticky'-ness into account.

(set_point): Ignore `invisible' property unless property value is `hidden'.
1993-07-31 21:58:03 +00:00
Richard M. Stallman
58943db006 (MERGE_INSERTIONS): Define as 1.
(FRONT_STICKY): Add real definition.
(END_NONSTICKY): New macro.
(END_STICKY): Deleted.
(textget_direct, Qfront_sticky, Qrear_nonsticky): Declared.

(Qhidden): Declared.
1993-07-31 21:55:38 +00:00
Richard M. Stallman
19e1c4260a (Qfront_sticky, Qrear_nonsticky): New variables.
(syms_of_textprop): Set them up.

(Qhidden): New variable.
(syms_of_textprop): Set up Qhidden.

(property_change_between_p): New function.
1993-07-31 21:54:10 +00:00
Richard M. Stallman
2f65feb682 (prop_location_identifier): Was named prop_location_tick.
(property_change_reply_identifier): Renamed from ...-tick.
(struct prop_location): Field `identifier' renamed from `tick'.
Various functions changed accordingly.
(x_handle_selection_request): Delete local struct var `reply'.

(wait_for_property_change_unwind): New function.
(wait_for_property_change): Add unwind protect.

(wait_for_property_change): Eventually time out with error.
(x_reply_selection_request): XFlushQueue and UNBLOCK_INPUT
before calling wait_for_property_change.
(x_get_window_property): Simplify input blocking/unblocking.
Don't delete the property here.
(receive_incremental_selection): Delete property here.
Call XSelectInput to enable and disable PropertyChangeMask.
(x_get_window_property_as_lisp_data): And here.
1993-07-31 05:55:52 +00:00
Richard M. Stallman
7c011261b7 (Fnewline): Disable the "insert one position before"
optimization if it would screw up text property behavior.
1993-07-31 05:53:23 +00:00
Jim Blandy
b84b186a3a * config.h.in (HAVE_AIX_SMT_EXP): New #undef for configure to edit.
* m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't mention
/usr/lpp/X11/bin/smt.exp unless HAVE_AIX_SMT_EXP is #defined.
1993-07-31 01:39:30 +00:00
Jim Blandy
f5db3b940f * xfns.c (Fx_open_connection): Test the CPP symbol
HAVE_XRMSETDATABASE to decide whether or not to call
XrmSetDatabase.
1993-07-31 01:32:23 +00:00
Jim Blandy
d8717d1508 * config.h.in (HAVE_XSCREENRESOURCESTRING): New #undef for
configure to edit.
* xrdb.c (get_user_db): Test it to decide whether or not to try to
retrieve the screen-dependent resources.
1993-07-31 01:31:46 +00:00
Jim Blandy
1f88d61ef5 * config.h.in (HAVE_BCOPY): Add an #undef for this.
(BSTRING): #define this iff HAVE_BCOPY is #defined here.  Ignore what
the system-description files say.  They don't always make fine
enough distinctions between systems, and sometimes the bcopy
routines are available only with X windows.
1993-07-31 01:21:21 +00:00
Jim Blandy
7b3de0eaf9 * xfns.c (x_set_background_color): Change the foreground color of
the cursor, too.
1993-07-30 23:12:25 +00:00
Richard M. Stallman
f5ff08b04f (syms_of_editfns): Just staticpro Vuser...name
and Vsystem_name; don't make them Lisp variables.
1993-07-30 22:48:30 +00:00
Roland McGrath
bac7913ae4 Initial revision 1993-07-30 22:30:50 +00:00
Roland McGrath
22ddf25060 *** empty log message *** 1993-07-30 03:20:49 +00:00
Jim Blandy
d859c2cb93 * xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name;
DEFVAR_LISP takes care of that, and it's deadly to staticpro a
variable containing a string twice.
1993-07-30 03:17:18 +00:00
Jim Blandy
628df3bfd9 * window.c (check_frame_size): Include the menu bar height in the
minimum frame height.
1993-07-30 01:48:19 +00:00
Richard M. Stallman
60bf8ee426 (Fdelete_frame): New arg FORCE allows deletion of last non-invisible frame.
(Fdelete_frame): Allow deletion if there is some other
visible (perhaps iconified) frame.  Also allow deleting terminal frame
if there are X frames.
1993-07-29 06:34:03 +00:00
Richard M. Stallman
5cb70bb5ad (bzero, bcmp, bcopy): New macros.
(LIB_STANDARD): Don't include libucb.a.
1993-07-29 04:12:41 +00:00
Richard M. Stallman
af7dc6c738 File removed. 1993-07-29 02:36:54 +00:00
Roland McGrath
16ae08a92a (syms_of_xfns): Use DEFVAR_LISP, not DEFVAR_INT, for Vx_pointer_shape. 1993-07-29 00:25:38 +00:00
Jim Blandy
c1f4f81aec * hpux9.h: Doc fix. 1993-07-28 18:57:47 +00:00
Jim Blandy
869fcb701c * s/hpux9.h: Doc fix. 1993-07-28 18:12:35 +00:00
Richard M. Stallman
6cbc22ed96 (wait_reading_process_input): Undo last two changes:
when wait_for_cell, do not check the keyboard.
1993-07-28 08:19:30 +00:00
Richard M. Stallman
a5fd213fe1 (make_hdr): Use & in call to bzero. 1993-07-28 08:18:09 +00:00
Richard M. Stallman
a646e5200b (command_loop_1): Call Qrecompute_lucid_menubar only if defined. 1993-07-27 22:49:05 +00:00
Richard M. Stallman
c6e5e6e083 entered into RCS 1993-07-27 20:21:14 +00:00
Richard M. Stallman
f218b75d4e Initial revision 1993-07-27 20:20:01 +00:00
Richard M. Stallman
01567351cf (Fx_rebind_key, Fx_rebind_keys): Functions deleted. 1993-07-27 17:00:08 +00:00
Richard M. Stallman
58980a95f8 (scan_sexps_forward): Delete extra Fcdr when analyzing OLDSTATE. 1993-07-27 16:49:34 +00:00
Richard M. Stallman
a9c0010533 (x_iconify_frame): Handle case where frame was invisible. 1993-07-27 08:33:44 +00:00
Richard M. Stallman
afe9fae94c (main): Test LOCALTIME_CACHE. 1993-07-27 08:32:33 +00:00
Richard M. Stallman
8cbd32b047 [MULTI_FRAME] (PURESIZE): Increased to 210000. 1993-07-27 08:32:05 +00:00
Richard M. Stallman
ed4c10059f (OLDXMENU_OPTIONS): Definition deleted. 1993-07-27 08:31:15 +00:00
Richard M. Stallman
24a5451a04 [USG5_4] (LIBX11_SYSTEM): Don't redefine in this case. 1993-07-27 07:51:55 +00:00
Richard M. Stallman
3f57a49957 (search_buffer): If n is 0, just return POS. 1993-07-27 07:25:54 +00:00
Roland McGrath
d2a9653aab *** empty log message *** 1993-07-27 00:37:13 +00:00
Richard M. Stallman
2373f91ff4 (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs. 1993-07-26 21:27:16 +00:00
Richard M. Stallman
5a41ab94d9 (Fset_window_buffer): Clear window_end_{pos,valid}. 1993-07-26 19:14:26 +00:00
Richard M. Stallman
5c48f0da4c (Fsleep_for): If arg is 0, return right away. 1993-07-26 18:38:23 +00:00
Roland McGrath
934d56b7f1 *** empty log message *** 1993-07-26 17:37:11 +00:00
Richard M. Stallman
9fd7d80849 (kbd_buffer_store_event): Apply all the modifiers bits
before testing for quit_char and stop_character.  Don't alter
event->code, though.

(interrupt_signal): Tell Fdo_auto_save not to print msg.
Print "Auto-save done" here.
1993-07-26 05:34:46 +00:00
Richard M. Stallman
9d317b2cfd (MAXREQUEST): Defined.
(Fx_server_max_request_size): New function.
(syms_of_xfns): Set it up.
1993-07-25 22:01:06 +00:00
Richard M. Stallman
aca39f42ae (lisp_data_to_selection_data): New arg NOFREE_RET.
For a string, just return its data's address.
(x_handle_selection_request): Pass new arg.
If value comes back 1, don't call xfree.
1993-07-25 22:00:25 +00:00
Richard M. Stallman
c83febd71f (redraw_previous_char): New function. 1993-07-25 21:50:16 +00:00
Richard M. Stallman
7642679480 Commented-out code added. 1993-07-25 21:48:55 +00:00
Richard M. Stallman
44b8251a57 Fix typo in previous change. 1993-07-25 21:46:48 +00:00
Richard M. Stallman
799412761b (getpwuid): Declare at top level, and not if __386bsd__. 1993-07-25 06:35:25 +00:00
Richard M. Stallman
1c3d8eebf5 (LOCALTIME_CACHE): Defined.
(HAVE_SETSID): Defined.
(LIB_STANDARD): Override, adding $(GNULIB_VAR).
1993-07-25 06:34:47 +00:00
Richard M. Stallman
ff4c9993ec (Fdo_auto_save): Temporarily clear Vquit_flag. 1993-07-25 06:00:32 +00:00
Richard M. Stallman
e5229110c2 (Fx_create_frame): Typo in previous change. 1993-07-25 05:38:16 +00:00
Richard M. Stallman
dec5f4e3d3 (xscrollbar): Fix typo specifying doc string. 1993-07-25 03:15:25 +00:00
Jim Blandy
df86e57ea0 Add size to geometry spec.
Specify sevenbit-strings in set print.
(xfloat): New command.
1993-07-25 03:14:29 +00:00
Richard M. Stallman
e5e548e338 (Fx_create_frame): Don't look for default font
if the caller has specified a valid font.  Try several
alternative font patterns.
1993-07-24 07:23:16 +00:00
Richard M. Stallman
82411f65a3 (face_name_id_number): Use assq_no_quit, not Fassq. 1993-07-24 05:49:51 +00:00
Richard M. Stallman
eb4686e4a3 (Fprocess_status): Use Fget_process, to avoid error
if unknown process name.
1993-07-24 05:47:16 +00:00
Richard M. Stallman
a612e298a4 (command_loop_1): Run post-command-hook first thing.
(Fread_key_sequence): Doc fix.
(read_key_sequence): Handle Vkey_translation_map.

(kbd_buffer_get_event): Discard an event whose kind is no_event.
1993-07-23 23:23:57 +00:00
Roland McGrath
ab8fb1933c [_LIBC]: Define BSD4_2. 1993-07-23 20:38:15 +00:00
Richard M. Stallman
fea0b06d62 (HAVE_SOCKETS): Define, if HAVE_INET_SOCKETS 1993-07-23 19:53:44 +00:00
Richard M. Stallman
0fd6b74ee5 Comment fixes. 1993-07-23 19:17:12 +00:00
Richard M. Stallman
7719aa0601 (XTread_socket) [! HAVE_X11R5]:
Check for XK_Mode_switch and XK_Num_Lock, if defined.
1993-07-23 08:04:52 +00:00
Richard M. Stallman
ddd931ff51 (set_point): Test Vinhibit_point_motion_hooks. 1993-07-23 07:59:08 +00:00
Richard M. Stallman
688a5a0f3e (syms_of_textprop): Set up Lisp var Vinhibit_point_motion_hooks. 1993-07-23 07:58:22 +00:00
Richard M. Stallman
b81de1f7e7 (Vinhibit_point_motion_hooks): Declared. 1993-07-23 07:57:57 +00:00
Richard M. Stallman
0aaa80cc17 (TEXT_START) [__GNUC__]: Define as 0. 1993-07-23 07:48:11 +00:00
Richard M. Stallman
6e27eb5e02 (PTY_OPEN): Use sigaction, not sigsetmask. 1993-07-23 04:16:38 +00:00
Richard M. Stallman
ce8f144d55 (DECLARE_GETPWUID_WITH_UID_T): Declared. 1993-07-22 22:03:25 +00:00
Richard M. Stallman
73fc0935f0 (getpwuid): Test DECLARE_GETPWUID_WITH_UID_T. 1993-07-22 22:03:11 +00:00
Jim Blandy
837255fb49 Implement search for app-defaults directory and
localized default databases, along with some other functionality
provided by Xt.
#include <stdio.h>, since we call sprintf.
[emacs] (malloc, realloc, free): #define these to xmalloc,
xrealloc, and xfree.
(x_get_string_resource, file_p): Add forward declarations for these.
(x_customization_string): New variable.
(x_get_customization_string): New function.
(gethomedir): Return malloc'ed space of the right size, instead of
writing into a fixed-size buffer; this means that our callers do
not impose an arbitrary limit on file name length.
(magic_file_p): Rewrite of decode_magic; actually do the
substitutions, instead of expanding all %-escapes to "".  Support
the customization string.  Return 0 or the expanded file name,
instead of just zero or one.  Allocate the space for the expanded
file name ourselves, instead of writing into a fixed-size buffer
passed to us; this removes an arbitrary limit.
(search_magic_path): Rewrite of magic_searchpath_decoder.  Return
0 or the expanded file name, instead of just zero or one.
Allocate the space for the expanded file name ourselves, instead
of writing into a fixed-size buffer passed to us; this means that
our callers do not impose an arbitrary limit on file name length.
(get_system_app): Changed to work with search_magic_path.
(get_user_app): Rewritten to work with search_magic_path, and not
to assume that the values of XAPPLRESDIR is a single directory.
(get_user_db): Properly use the new version of gethomedir.
(get_environ_db): Remove arbitrary limit on length of host name.
(x_load_resources): Take a new argument, myname.
Call get_user_db early to obtain the customization string.
Changes to stand-alone testing code.
1993-07-22 22:00:48 +00:00
Richard M. Stallman
312c996467 (Fget_buffer_process): Delete doc string from
second alternative definition.
1993-07-22 19:38:51 +00:00
Roland McGrath
f7a009a5c4 (ALIGNED, ROUNDUP): Use unsigned long int' instead of unsigned int' for
casting addresses and sizes.  It matters on the 64-bit Alpha.
1993-07-22 18:59:43 +00:00
Roland McGrath
b1814de250 [_LIBC]: Just include <sys/resource.h>, and skip hairy #ifdef mess. 1993-07-22 18:55:19 +00:00
Richard M. Stallman
c08c95c7af (Fdelete_frame): Allow deletion if there is some other
visible (perhaps iconified) frame.  Also allow deleting terminal frame
if there are X frames.
1993-07-22 09:01:22 +00:00
Richard M. Stallman
54939090dc (syms_of_buffer): Lisp var doc fixes. 1993-07-22 08:53:43 +00:00
Richard M. Stallman
c901003d61 (NO_MODE_T): Defined. 1993-07-22 08:36:39 +00:00
Richard M. Stallman
322890c475 (float_to_string): Don't use uninitialized pointer `cp'.
Set width to -1 at lose: and other places.
Default to .17g, not .20g.
1993-07-22 08:34:30 +00:00
Richard M. Stallman
b8e4857c81 (graft_intervals_into_buffer): When TREE is null,
pass buffer as 2nd arg to reproduce_tree.
1993-07-22 08:06:55 +00:00
Richard M. Stallman
1110dff341 (Qmodification_hooks, Qinsert_in_front_hooks)
(Qinsert_behind_hooks): Moved to buffer.c.
(syms_of_textprop): Lisp vars setup deleted.
1993-07-21 22:33:37 +00:00
Richard M. Stallman
294d215f89 (Qmodification_hooks, Qinsert_in_front_hooks)
(Qinsert_behind_hooks): Moved here.
(syms_of_buffer): Lisp vars set up here.
1993-07-21 22:33:00 +00:00
Richard M. Stallman
5f60ed47d9 (compact_strings): Add USE_TEXT_PROPERTIES conditional. 1993-07-21 22:29:26 +00:00
Richard M. Stallman
edc28db1ae (Ftext_property_not_all): Fix typo in decl. 1993-07-21 22:25:42 +00:00
Richard M. Stallman
011f432b1a (SUNOS_LOCALTIME_BUG): Defined. 1993-07-21 22:23:24 +00:00
Richard M. Stallman
9e6e0fe245 (memmove): Defined. 1993-07-21 21:31:31 +00:00
Richard M. Stallman
b6e1c607fc (memmove): Defined as macro. 1993-07-21 04:37:46 +00:00
Richard M. Stallman
b2327b2077 (xmakefile): Use CFLAGS after C_SWITCH_SYSTEM. 1993-07-20 22:16:59 +00:00
Richard M. Stallman
1a47fa1367 (validate_x_resource_name): Call make_string properly. 1993-07-20 21:54:57 +00:00
Richard M. Stallman
c455d34d63 (X_NOT_POSIX): Defined. 1993-07-20 19:14:05 +00:00
Richard M. Stallman
5e5586769b (BROKEN_TIOCGETC, BROKEN_TIOCGWINSZ): Add #undefs. 1993-07-20 18:15:38 +00:00
Richard M. Stallman
73ba415ae2 (memmove): Delete extra parens in the safe_bcopy call. 1993-07-20 05:24:34 +00:00
Richard M. Stallman
8258ca538e Comment change. 1993-07-20 05:10:02 +00:00
Richard M. Stallman
301b4551f6 (LD_SWITCH_MACHINE): Add -bI:/usr/lpp/X11/bin/smt.exp. 1993-07-20 05:09:02 +00:00
Richard M. Stallman
e3c24a741e (Fwhile): If mocklisp, test for nonzeroness. 1993-07-19 22:09:41 +00:00