aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (kbd_buffer_get_event): Cope if mouse_position_hook does not store anything.Richard M. Stallman1994-10-231-2/+6
|
* (struct heap): New fields first_bloc, last_bloc.Richard M. Stallman1994-10-231-16/+114
| | | | | | | | | (struct bp): New field heap. (get_bloc, free_bloc, obtain, r_alloc_sbrk): Update new fields. (reorder_bloc): New function. (update_heap_bloc_correspondence): Renamed from update_heap_free_pointers. Update new fields. (relinquish): Add error check for new fields.
* (calculate_costs): Call x_screen_planes.Richard M. Stallman1994-10-221-5/+2
|
* (Finsert_buffer_substring): Use insert_from_buffer instead of insert.Karl Heuer1994-10-221-29/+5
|
* (insert_from_buffer, insert_from_buffer_1): New functions.Karl Heuer1994-10-221-2/+74
|
* (struct x_display_info): Struct renamed from x_screen.Richard M. Stallman1994-10-221-172/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (x_display): x_screen field renamed to display_info. (FRAME_X_DISPLAY): Use new name. (FRAME_X_DISPLAY_INFO): Likewise; also renamed from FRAME_X_SCREEN. (struct x_display_info): New fields *_mod_mask, icon_bitmap_id, connection, xrdb, Xatom..., grabbed, height, width, screen, visual, n_planes. (x_display_list): New variable. (FRAME_X_SCREEN): New macro. (WHITE_PIX_DEFAULT, BLACK_PIX_DEFAULT): Take arg f. (EMACS_CLASS): Macro moved here. (XExposeRegionEvent): Unused macro deleted. (XGetWindowInfo, XGetFont, XLoseFont): Unused macros deleted. (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): Unused macros deleted. (MAX_FACES_AND_GLYPHS, Bitmap): Unused macros deleted. (struct event_queue): Structure deleted (was unused). (EVENT_BUFFER_SIZE): Macro deleted. (XClear): Macro deleted. Callers use XClearWindow. (XWarpMousePointer): Macro deleted. Callers use XWarpPointer. (XStuffPending): Macro deleted. Callers use XPending. (XHandleError, XHandleIOError): Macros deleted. Callers use XSet...ErrorHandler. (XChangeWindowSize): Macro deleted. Callers use XResizeWindow. (Color): Macro deleted; replaced with XColor. (FONT_TYPE): Macro deleted; replaced with XFontStruct. (PIX_TYPE): Macro deleted; replaced with unsigned long. (ROOT_WINDOW): Macro deleted. (struct x_display_info): New field root_window. All uses changed. (XDISPLAY): Macro deleted. (XFlushQueue): Macro deleted. All callers changed. (DISPLAY_SCREEN_ARG): Maco deleted. (DISPLAY_CELLS): Macro deleted. (WINDOWINFO_TYPE): Macro deleted.
* Use FRAME_X_DISPLAY instead of x_current_display and XDISPLAY.Richard M. Stallman1994-10-221-325/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (x_make_frame_visible, x_make_frame_invisible): Pass a frame ptr to x_sync. (x_term_init): Init all the components of dpyinfo. (x_display_info_for_display): New function. (x_*_mod_mask): Variables deleted. (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): New arg dpyinfo; all callers changed. Store the masks in that structure. (icon_bitmap): Variable deleted. (x_bitmap_icon): Use icon_bitmap_id in x_display_info. (icon_font_info): Variable deleted. (x_term_init): Set up `connection' field. (x_find_modifier_meanings): Arg is now struct x_display_info *. (x_term_init): Return an x_display_info *. Store all the data in it, including X atoms and xrdb. Put the x_display_info structure on x_display_list. Pass name as Lisp_Object. (the_x_screen): Variable moved here. (syms_of_xterm): Staticpro parts of the_x_screen. (windowinfo): Variable deleted. (Xatom_*): Variables deleted. (x_iconify_frame, XTread_socket): Get atoms from the x_display_info, (XTread_socket): Don't update Vmouse_depressed. (x_mouse_grabbed): Variable deleted. (note_mouse_highlight): Use grabbed field instead. (XTmouse_position, XTread_socket): Likewise. (x_calc_absolute_position, x_wm_set_size_hint): Get screen height, width from the x_display_info structure.
* (x_sync): Take frame ptr as arg.Richard M. Stallman1994-10-221-393/+426
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (check_x_display_info): New function. (Fx_create_frame): Use it. (x_screen_planes): New function. (EMACS_CLASS): Macro moved to xterm.h. (Qdisplay): New variable. (syms_of_xfns): Set it up. (Fx_create_frame): Handle display parameter which says where to get the FRAME_X_DISPLAY_INFO. (x_display_info_for_name): New function. (select_visual): New arg dpy. (Fx_open_connection): Get dpyinfo from x_term_init. Don't set up atoms, xrdb here. Pass name as Lisp_Object. (the_x_screen): Variable moved to xterm.c. (syms_of_xfns): Don't staticpro it here. (xrdb): Variable deleted. (Fx_get_resource): Use selected_frame's xrdb. (x_get_resource_string): Likewise. (Fx_open_connection): Store the atoms in x_display_info. (hack_wm_protocols): New arg f. Get atoms from x_display_info. (x_window): Get atoms from x_display_info. (Vmouse_depressed, mouse_buffer_offset): Variables deleted. (syms_of_xfns): Delete Lisp variables too. (Fx_synchronize): Take frame as arg. (Fx_close_current_connection): Take frame as arg. Error is not fatal. (mouse_timestamp): Variable deleted. (screen_visual, x_screen_planes): Variables deleted. (x_screen, x_screen_height, x_screen_width): Variables deleted. (Fx_open_connection): Don't set them here. Put that info in the x_display_info structure. (x_window): Get the visual from x_display_info structure. (x_decode_color): Use n_planes from x_display_info structure. Use FRAME_X_DISPLAY instead of x_current_display and XDISPLAY. (x_in_use): New variable, (check_x, using_x_p): Test x_in_use. (Fx_open_connection): Set x_in_use. (check_x_frame): New function. (defined_color): New arg f specifies frame. Callers changed. (x_decode_color): New arg f. All callers changed. (Fx_color_values, Fx_color_defined_p): New arg FRAME. Use check_x_frame. (Fx_list_fonts): Use check_x_frame.
* (read_avail_input): Use input_fd.Richard M. Stallman1994-10-221-6/+8
|
* (input_fd): No longer static.Richard M. Stallman1994-10-221-4/+3
|
* (Fframe_or_buffer_changed_p):Richard M. Stallman1994-10-221-1/+8
| | | | Detect deletion of a buffer at the end of the buffer list.
* (xmenu_show): Get the screen number for DisplayHeightRichard M. Stallman1994-10-221-3/+3
| | | | and DisplayWidth. Use root_window slot in the x_display_info.
* (other_visible_frames): Pass a frame ptr to x_sync.Richard M. Stallman1994-10-221-1/+1
|
* (insert_before_markers): Don't inherit; insert_before_markers_and_inherit doesKarl Heuer1994-10-221-1/+1
| | | | that.
* (list_buffers_1): Always mark current_buffer read-only.Richard M. Stallman1994-10-201-1/+5
|
* (LD_SWITCH_MACHINE): Defined.Richard M. Stallman1994-10-201-0/+3
|
* (read_minibuf): Fix comment.Karl Heuer1994-10-201-2/+1
|
* (Fdisplay_buffer): Make old_selected_window a Lisp_Object.Karl Heuer1994-10-201-2/+3
|
* (xdialog_show, xmenu_show): Use grabbed field instead of x_mouse_grabbed.Richard M. Stallman1994-10-201-6/+4
| | | | | (xmenu_show): Use the screen in FRAME_X_DISPLAY_INFO, not the display's default screen.
* (do_mouse_tracking): Now a FRAME_PTR.Richard M. Stallman1994-10-201-12/+13
| | | | | | (EVENT_QUEUES_EMPTY, Ftrack_mouse, tracking_off): Changed accordingly. (kbd_buffer_get_event): Let do_mouse_tracking specify the display for mouse tracking.
* Log omitted from previous checkin:Richard M. Stallman1994-10-201-1/+1
| | | | | (x_own_selection, x_get_foreign_selection): Pass frame to x_catch_errors, x_check_errors, x_uncatch_errors.
* (x_get_foreign_selection): Get display fromRichard M. Stallman1994-10-201-23/+39
| | | | | | | | selected_frame. Pass frame to x_stop_queuing_selection_requests and x_start_queuing_selection_requests. (x_own_selection, Fx_disown_selection_internal, Fx_selection_exists_p) (Fx_store_cut_buffer_internal, Fx_get_cut_buffer_internal) (Fx_rotate_cut_buffers_internal): Get display from selected_frame.
* (read_minibuf): Undo previous change.Richard M. Stallman1994-10-201-17/+19
|
* (Fdisplay_buffer): If the other window is smallerRichard M. Stallman1994-10-201-0/+20
| | | | than its peer, even out their heights.
* (child_setup): Always use _exit.Richard M. Stallman1994-10-191-1/+1
|
* Use FRAME_X_DISPLAY, not XDISPLAY or x_current_display.Richard M. Stallman1994-10-191-18/+32
| | | | | (menu_item_equiv_key): Reject equiv sequences that start with mouse clicks.
* (Voverriding_local_map_menu_flag): New variable.Richard M. Stallman1994-10-191-4/+25
| | | | | (syms_of_keyboard): Set up Lisp var. (menu_bar_items): Obey Voverriding_local_map_menu_flag.
* (searchbufs): New variable, replaces searchbuf and last_regexp andKarl Heuer1994-10-191-52/+90
| | | | | | | | | | | | | | | search_fastmap. (syms_of_search): Initialize it. (searchbuf_head): New variable. (compile_pattern_1): Renamed from compile_pattern and made static. Copy the regexp string in case the caller modifies it in place later. (compile_pattern): New code, uses a cached entry if one is available. The pattern buffer is now a return value instead of an arg. (set_search_regs): Set num_regs directly, since there's no active pattern buffer to pass to re_set_registers. (Fstore_match_data): Likewise. (Flooking_at): Use the new calling convention for compile_pattern. (Fstring_match, fast_string_match, search_buffer): Likewise.
* (Fdirectory_files): Use the new calling convention for compile_pattern.Karl Heuer1994-10-191-7/+8
|
* (heap_base): Move static var to top level.Richard M. Stallman1994-10-181-81/+208
| | | | | | | | | (struct heap): New slot `free'. (obtain): Set `free' for new heap. (get_bloc): Update `free'. (find_heap): New function. (update_heap_free_pointers): New function. (resize_bloc, r_alloc_sbrk): Call update_heap_free_pointers.
* (SOME_MACHINE_OBJECTS): Add msdos.o and x*.o files.Richard M. Stallman1994-10-181-1/+3
|
* (exactn): Initializer deleted.Karl Heuer1994-10-181-7/+3
|
* (RE_EXACTN_VALUE): Deleted; Emacs doesn't need this kludge anymore.Karl Heuer1994-10-181-5/+0
|
* (read_minibuf): Store the object, not the string, into the history variable.Karl Heuer1994-10-181-21/+19
|
* (x_set_unsplittable): New function.Karl Heuer1994-10-181-0/+10
| | | | (x_frame_parms): Add that function to the table.
* (do_line_dance): Decrement index only once per loop.Karl Heuer1994-10-181-1/+1
|
* (do_line_insertion_deletion_costs): Fix argument order.Karl Heuer1994-10-181-1/+1
|
* *** empty log message ***Morten Welinder1994-10-1723-85/+1061
|
* (struct face): Delete cached_index field.Richard M. Stallman1994-10-171-7/+0
|
* (Fdisplay_buffer): In desperation case of looking forRichard M. Stallman1994-10-171-2/+6
| | | | something to split, verify that a window's frame is splittable.
* (intern_face): Update mask properly to set stippleRichard M. Stallman1994-10-171-4/+5
| | | | and fill_style. Set everything all at once in XCreateGC.
* (dumpglyphs): Explicitly draw background stipple.Richard M. Stallman1994-10-171-13/+58
| | | | | | | | (x_bitmap_icon): Arg FILE is now a Lisp_Object. (x_iconify_frame, x_make_frame_visible): Supply FILE arg to it. (x_bitmap_icon): Properly discard the previous bitmap. (x_text_icon): Discard bitmap only if we have one.
* (intern_face): Set the fill_style.Richard M. Stallman1994-10-171-32/+110
| | | | | | | | | | | | | | | | | | | (copy_face, merge_faces): Copy the pixmap_h and pixmap_w. (intern_face): Store the stipple in the GC. (unload_color): Really do free the color. (free_frame_faces): Call unload_pixmap. (Fset_face_attribute_internal): Handle background pixmap. Destroy old pixmap when necessary. (free_frame_faces): Destroy pixmaps. (load_pixmap): New function. (Fpixmap_spec_p): New function. (syms_of_xfaces): Set up Lisp function pixmap-spec-p. Set up Qpixmap_spec_p. (compute_base_face): Don't set cached_index field. (compute_base_face): Use FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL, FRAME_FONT.
* Include paths.h.Richard M. Stallman1994-10-171-14/+71
| | | | | | | | | | | | | | | Support background stipple, and search path for bitmap files: (x_set_icon_type): Pass x_bitmap_icon 2nd arg as Lisp_Object. (x_icon_type): Return a Lisp_Object. (x_destroy_bitmap, x_reference_bitmap): Take frame as arg. Callers changed. (struct x_bitmap_record): New fields height, width, depth. (x_create_bitmap_from_data): Fill in those fields. (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap): New functions. (x_create_bitmap_from_file): Arg FILE is now a Lisp_Object. Search Vbitmap_file_path for it. Fill in new fields. (syms_of_xfns): Set up Vbitmap_file_path.
* (xfns.o): Depend on paths.h.Richard M. Stallman1994-10-171-1/+1
|
* (PATH_BITMAPS): New macro.Richard M. Stallman1994-10-161-0/+4
|
* (load_unwind): Cast argument of fclose.Richard M. Stallman1994-10-161-2/+2
|
* (LIBS_SYSTEM): Add -lcposix.Richard M. Stallman1994-10-161-1/+16
| | | | (sigblock, SIG_BLOCK): Define if not defined.
* (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)Richard M. Stallman1994-10-151-0/+4
| | | | (FRAME_FONT): New macros.
* Delete HAVE_X11 conditionals.Richard M. Stallman1994-10-151-10/+0
|