aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (struct x_output): Renamed from struct x_display.Richard M. Stallman1995-07-251-33/+33
|
* (struct x_display): New fields saved_button_event, id.Richard M. Stallman1995-07-251-0/+9
|
* (struct x_display): icon_name deleted.Richard M. Stallman1995-06-161-6/+0
|
* (struct x_display): New field asked_for_visible.Karl Heuer1995-06-111-0/+3
|
* (struct x_display): Rename icon_label to icon_nameKarl Heuer1995-06-051-3/+4
| | | | and make it a Lisp_Object.
* (struct x_display): New field menubar_height.Karl Heuer1995-05-241-0/+6
|
* Declare x_non_menubar_window_to_frame.Karl Heuer1995-04-291-0/+1
|
* (struct x_display_info): New members x_focus_frame,Karl Heuer1995-04-241-5/+20
| | | | x_focus_event_frame, x_highlight_frame, replacing global vars.
* (struct x_display_info): Use `struct kboard', not KBOARD.Richard M. Stallman1995-04-101-1/+1
|
* (struct x_display_info): New member cut_buffers_initialized.Karl Heuer1995-03-311-0/+1
|
* (struct x_display_info): member kboard (formerly perdisplay) is now a pointer,Karl Heuer1995-03-151-11/+3
| | | | | not an actual struct. (get_perdisplay, get_perdisplay_macro): Deleted.
* (struct x_display): New element cursor_width.Richard M. Stallman1995-02-141-0/+3
|
* [MULTI_PERDISPLAY] (get_perdisplay): Define this as a macro, for sources thatKarl Heuer1995-01-311-0/+10
| | | | | include this header. [MULTI_PERDISPLAY] (get_perdisplay_macro): Internal macro version.
* (struct x_display_info): Rename display_perd to perdisplay.Karl Heuer1995-01-281-1/+1
|
* (struct x_display_info): New member display_perd.Karl Heuer1995-01-251-0/+1
|
* (struct x_display): New field explicit_parent.Richard M. Stallman1994-12-151-1/+7
|
* (XSCROLL_BAR): Extract from Lisp_Vector, not generic pointer.Karl Heuer1994-11-161-3/+4
|
* Delete X10 code.Richard M. Stallman1994-10-251-16/+81
| | | | | | | | | | | | | | | | | | (struct x_display_info): New fields bitmaps, bitmaps_size, bitmaps_last. (struct x_bitmap_record): Structure moved here. (struct font_info): New type. (struct x_display_info): New fields font_table, font_table_size and n_fonts. (struct x_display_info): New field scratch_cursor_gc. (mouse_face_*): New fields. (struct x_display_info): New field x_id_name. (struct x_display_info): Replace elements `name' and `face_list_cache' with one cons cell `name_list_element'. (x_display_name_list): Variable declared.
* (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.
* (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL)Richard M. Stallman1994-10-151-0/+4
| | | | (FRAME_FONT): New macros.
* (x_display): Changed icon_bitmap_flag to icon_bitmap.Richard M. Stallman1994-10-151-2/+3
|
* (SCROLL_BAR_UNPACK): Use new accessor macros instead of calling XSET directly.Karl Heuer1994-10-041-2/+2
|
* Comment fix.Karl Heuer1994-09-281-1/+1
|
* (FRAME_X_DISPLAY): New macro.Richard M. Stallman1994-09-231-1/+26
| | | | | | (struct x_screen): New structure. (struct x_display): New field x_screen. (FRAME_X_SCREEN): New macro.
* (VERTICAL_SCROLL_BAR_PIXEL_WIDTH): Deleted.Karl Heuer1994-09-201-3/+0
|
* (struct scroll_bar, SCROLL_BAR_VEC_SIZE): Use EMACS_INT.Richard M. Stallman1994-09-171-2/+2
|
* Update copyright.Karl Heuer1994-05-041-1/+1
|
* (struct x_display): New field size_hint_flags.Richard M. Stallman1994-05-021-20/+26
| | | | (x_mouse_grabbed): Declared.
* (x_top_window_to_frame): Declare this function.Karl Heuer1994-04-201-0/+1
|
* (x_display): New field win_gravity.Richard M. Stallman1994-04-171-0/+3
|
* (HAVE_X11R4): If we define HAVE_X11R5, define this too.Richard M. Stallman1994-04-141-0/+3
|
* (struct x_display): New field line_height.Richard M. Stallman1994-04-091-3/+6
| | | | | (VERTICAL_SCROLL_BAR_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW) (CHAR_TO_PIXEL_ROW): Use line_height field.
* (cross_cursor): New field for struct x_display.Fred Pierresteguy1994-04-081-0/+1
|
* Define HAVE_X11R4 if AIX3_2 is defined.Fred Pierresteguy1994-03-311-2/+3
|
* Fix typo in comment.Karl Heuer1994-03-291-2/+2
|
* (VERTICAL_SCROLL_BAR_RIGHT_BORDER): Change from 3 to 2.Karl Heuer1994-03-151-1/+1
|
* (check_x): Declare it.Karl Heuer1994-02-141-0/+3
|
* Wed Jan 26 12:23:12 1994 Frederic Pierresteguy (fp@mole.gnu.ai.mit.edu)Fred Pierresteguy1994-01-261-1/+0
| | | | * xterm.h [USE_X_TOOLKIT]: Don't include Xaw/Box.h.
* [USE_X_TOOLKIT]: Include StringDefs.h, IntrinsicP.h,Richard M. Stallman1994-01-211-0/+26
| | | | | | | CoreP.h, StringDefs.h, Xaw/Box.h. (struct x_display) [USE_X_TOOLKIT]: New fields widget, column_widget, edit_widget, menubar_widget. (x_any_window_to_frame) [USE_X_TOOLKIT]: Declared.
* (HAVE_X11R4): If AIX, do not define HAVE_X11R4.Richard M. Stallman1993-09-131-0/+5
|
* Separate parameter faces (those created and modified by the user)Jim Blandy1993-06-221-16/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the computed faces (the combinations created by compute_char_face), so that we don't waste global face id's. * xterm.h (struct x_display): Replace the fields faces and n_faces with fields param_faces, n_param_faces, computed_faces, n_computed_faces, and size_computed_faces. (FRAME_FACES, FRAME_N_FACES): Replaced by... (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES, FRAME_N_PARAM_FACES): New macros. * xfaces.c: Doc fixes. (init_frame_faces): Call new_computed_face to create entries for the default and mode line faces. Use the FRAME...PARAM_FACES macros. (free_frame_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Don't use the copy flag; all parameter faces have real X resources, and all computed faces just have copies. Free both the parameter and computed face arrays. (new_computed_face): New function. (intern_computed_face): Renamed from intern_frame_face; callers changed. Call new_computed_face. (ensure_face_ready, compute_char_face, compute_glyph_face): Use the FRAME...PARAM_FACES macros. (recompute_basic_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Produce the computed faces by starting with the base faces and merging in the parameter faces. (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES macros. Just call recompute_basic_faces if the default or mode line faces have changed. * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros. * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros. * dispextern.h (struct face): Remove the copy member. This is no longer necessary; all computed faces are copies, and no parameter faces are.
* Apply typo patches from Paul Eggert.Jim Blandy1993-06-091-1/+1
|
* (PIXEL_TO_CHAR_COL, PIXEL_TO_CHAR_ROW): Fix mismatch in arg names.Richard M. Stallman1993-05-281-2/+2
|
* * xterm.h: New section for declarations for xfaces.c.Jim Blandy1993-05-251-0/+43
| | | | | | | | | | (init_frame_faces, free_frame_faces, intern_face, face_name_id_number, same_size_fonts, recompute_basic_faces, compute_char_face, compute_glyph_face): Declare these here. * xfaces.c (same_size_fonts): We can now remove this extern declaration. * xfns.c (face_name_id_number): Likewise. * xterm.c (intern_face): Likewise.
* (x_display): New field cursor_fore_pixel.Richard M. Stallman1993-05-161-0/+1
|
* Put interrupt input blocking in a separate file from xterm.h.Jim Blandy1993-03-311-29/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This isn't specific to X, and it allows us to avoid #including xterm.h in files that don't really have anything to do with X. * blockinput.h: New file. * xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT, UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h. (x_input_blocked, x_pending_input): Deleted; there are analogs in blockinput.h called interrupt_input_blocked and interrupt_input_pending. * keyboard.c (interrupt_input_blocked, interrupt_input_pending): New variables, used by the macros in blockinput.h. * xterm.c: #include blockinput.h. (x_input_blocked, x_pending_input): Deleted. (XTread_socket): Test and set interrupt_input_blocked and interrupt_input_pending instead of the old variables. * alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c: #include blockinput.h. * eval.c: #include blockinput.h instead of xterm.h. * keyboard.c: #include blockinput.h. (input_poll_signal): Just test interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and x_input_blocked. Block the processing of interrupt input while we're manipulating the malloc heap. * alloc.c: (xfree): New function, to make it easy to free things safely. (xmalloc, xrealloc): Block X input while doing the deed. (VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree instead of free. (uninterrupt_malloc): New function, to install input-blocking hooks into the GNU malloc routines. * emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc on startup. * alloc.c: (make_interval, make_float, Fcons, Fmake_vector, Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect): Use xmalloc instead of malloc; don't bother to check if out of memory here. (Fgarbage_collect): Call xrealloc instead of realloc. * buffer.c: Use xmalloc and xfree instead of malloc and free; don't bother to check if out of memory here. (Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around calls to ralloc routines. * insdel.c: Same. * lisp.h (xfree): New extern declaration. * xfaces.c (xfree): Don't #define this to be free; use the definition in alloc.c. * dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c, xmenu.c, xterm.c: Use xfree instead of free. * hftctl.c: Use xfree and xmalloc instead of free and malloc. * keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc and malloc. * search.c: Since the regexp routines can malloc, BLOCK_INPUT while runing them. #include blockinput.h. * sysdep.c: #include blockinput.h. Call xfree and xmalloc instead of free and malloc. BLOCK_INPUT around routines which we know will call malloc. ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o, xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that these depend on blockinput.h.
* (FRAME_FACES, FRAME_N_FACES, FRAME_DEFAULT_FACE)Richard M. Stallman1993-03-281-2/+13
| | | | | (FRAME_MODE_LINE_FACE): New macros. (struct x_display): New fields faces, n_faces.
* * xterm.h (x_focus_frame): Add extern keyword to declaration.Jim Blandy1993-03-251-1/+1
|
* * xfns.c (Fx_open_connection): If we have X11R5, useJim Blandy1993-03-211-0/+6
| | | | | | XrmSetDatabase to set the display's database. In older versions, just store the value into x_current_display->db. * xterm.h (HAVE_X11R5): Define this where appropriate.
* [SIGIO] (UNBLOCK_INPUT): Resignal if x_pending_input.Richard M. Stallman1993-03-161-0/+8
|