aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***Kim F. Storm2004-02-121-0/+4
|
* (Fwindow_fringes): Doc fix.Kim F. Storm2004-02-121-3/+1
|
* * xselect.c (x_get_foreign_selection): Add new optional parameterJan Djärv2004-02-101-0/+9
| | | | | | | | time_stamp. (Fx_get_selection_internal): Ditto, pass time_stamp to x_get_foreign_selection. * data.c (Fbyteorder): New function.
* * xselect.c (x_get_foreign_selection): Add new optional parameterJan Djärv2004-02-101-8/+24
| | | | | | time_stamp. (Fx_get_selection_internal): Ditto, pass time_stamp to x_get_foreign_selection.
* * data.c (Fbyteorder): New function.Jan Djärv2004-02-101-0/+15
|
* Move include stdio for some files.Jan Djärv2004-02-101-0/+10
|
* Add fringe.o to OBJ1.Kim F. Storm2004-02-101-1/+2
|
* (w32_draw_fringe_bitmap): Fixed a typo in the last patch.Sam Steingold2004-02-092-5/+9
|
* Move include stdio.h to same place as in other files.Jan Djärv2004-02-094-6/+6
|
* Resolve CVS conflictsMiles Bader2004-02-091-0/+2
|
* (mac_draw_bitmap): Add overlay_p arg.Kim F. Storm2004-02-091-30/+10
| | | | | | (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; thanks to YAMAMOTO Mitsuharu for advice on how to do this. Use cursor color for displaying cursor in fringe.
* *** empty log message ***Kim F. Storm2004-02-091-3/+4
|
* *** empty log message ***Kim F. Storm2004-02-081-0/+105
|
* (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps.Kim F. Storm2004-02-081-5/+31
| | | | | | Use cursor color for displaying cursor in fringe. (x_redisplay_interface): Add null handlers for define_fringe_bitmap and destroy_fringe_bitmap functions.
* (Voverflow_newline_into_fringe, syms_of_xdisp)Kim F. Storm2004-02-081-686/+93
| | | | | | | | | | | | | | | | | (left_bits, right_bits, up_arrow_bits, down_arrow_bits) (continued_bits, continuation_bits, ov_bits, first_line_bits) (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) (draw_window_fringes, compute_fringe_widths, update_window_fringes): Move fringe handling vars and code to new file fringe.c. (handle_display_prop): Handle left-fringe and right-fringe display properties; store user fringe bitmaps in iterator. (move_it_in_display_line_to): Handle cursor in fringe at eob. (clear_garbaged_frames): Set force_flush_display_p if resized. (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. (display_line): Handle cursor in fringe at eob. (display_line): Set row user fringe bitmaps from iterator.
* (w32_draw_fringe_bitmap): Copy unadapted code fromKim F. Storm2004-02-081-35/+60
| | | | | | | | | | | | xterm.c to handle overlayed fringe bitmaps and to use cursor color for displaying cursor in fringe. (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 specific functions to define and destroy fringe bitmaps in fringe_bmp. (w32_redisplay_interface): Add them to redisplay_interface. (w32_term_init): Call w32_init_fringe instead of explicitly defining fringe bitmaps in fringe_bmp array. (x_delete_display): Call w32_reset_fringes instead of explicitly destroying fringe bitmaps in fringe_bmp array.
* (x_draw_fringe_bitmap): Copy unadapted code fromKim F. Storm2004-02-081-4/+33
| | | | | | | xterm.c to handle overlayed fringe bitmaps and to use cursor color for displaying cursor in fringe. (x_redisplay_interface): Add null handlers for define_fringe_bitmap and destroy_fringe_bitmap functions.
* (syms_of_fringe, init_fringe, init_fringe_once):Kim F. Storm2004-02-081-0/+5
| | | | Add prototypes.
* (struct frame): New member force_flush_display_p.Kim F. Storm2004-02-081-0/+4
|
* (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once,Kim F. Storm2004-02-081-0/+9
| | | | syms_of_fringe, and init_fringe.
* (row_equal_p): Compare fringe bitmap faces and overlayKim F. Storm2004-02-081-5/+17
| | | | | | | | | | arrows. (update_frame): Do flush_display if force_flush_display_p to ensure display (specifically fringes) are updated in a timely manner when resizing the frame by dragging the mouse. (update_window_line): Update row if overlay arrow changed. (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces or overlay arrow changed.
* (FRINGE_ID_BITS): New definition for number ofKim F. Storm2004-02-081-38/+59
| | | | | | | | | | | | | | | | | bits allocated to hold a fringe number. Increase number of bits from 4 to 8 to allow user defined fringe bitmaps. (struct glyph_row, struct it): New members left_user_fringe_bitmap, left_user_fringe_face_id, right_user_fringe_bitmap, right_user_fringe_face_id. (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): Move to new file fringe.c. (MAX_FRINGE_BITMAPS): Define here. (struct draw_fringe_bitmap_params): New members bits, cursor_p, and overlay_p. Change member which to int. (struct redisplay_interface): New members define_fringe_bitmap and destroy_fringe_bitmap. (valid_fringe_bitmap_id_p): Add prototype. (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes.
* New file. Move original fringe related declarationsKim F. Storm2004-02-081-0/+1318
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and code from dispextern.h and xdisp.c here. Rework code to support user defined fringe bitmaps, redefining standard bitmaps, ability to overlay user defined bitmap with overlay arrow bitmap, and add faces to bitmaps. (Voverflow_newline_into_fringe): Declare here. (enum fringe_bitmap_align): New enum. (..._bits): All bitmaps are now defined without bitswapping; that is now done in init_fringe_once (if necessary). (standard_bitmaps): New array with specifications for the standard fringe bitmaps. (fringe_faces): New array. (valid_fringe_bitmap_id_p): New function. (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. (draw_fringe_bitmap): New function which draws fringe bitmap, possibly overlaying bitmap with cursor in right fringe or the overlay arrow in the left fringe. (update_window_fringes): Do not handle overlay arrow here. Compare and copy fringe bitmap faces. (init_fringe_bitmap): New function. (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to define and destroy user defined fringe bitmaps. (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. (syms_of_fringe): New function. Defsubr new DEFUNs. DEFVAR_LISP Voverflow_newline_into_fringe. (init_fringe_once, init_fringe): New functions. (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions.
* (obj): Add fringe.o.Kim F. Storm2004-02-081-1/+2
| | | | (fringe.o): New dependencies.
* macfns.c, w32fns.c (Fx_change_window_property):Jan Djärv2004-02-073-10/+43
| | | | Make doc string and parameters same as for X version.
* (hscroll_window_tree): Position cursor near to right margin in hscrolledKim F. Storm2004-02-072-1/+8
| | | | window when jumping to end of line (rather than centering cursor).
* (wait_reading_process_input): Don't do adaptive readKim F. Storm2004-02-062-1/+6
| | | | buffering if waiting for a specific process.
* (Fminibufferp, Fread_from_minibuffer)Luc Teirlinck2004-02-062-76/+151
| | | | | | | | | | | | | | (Fread_minibuffer, Feval_minibuffer) (Fread_string, Fread_no_blanks_input) (Fcompleting_read): Doc fixes. (syms_of_minibuf): Doc fixes for minibuffer-completion-table and completion-regexp-list. Define Qcase_fold_search and staticpro it. (read_minibuf): Fix initial comment. (Ftry_completion, Fall_completions, Ftest_completion): Bind case-fold-serach to the value of completion-ignore-case when checking completion-regexp-list. (Fdisplay_completion_list): Make it handle arguments that are symbols. Doc fix.
* * xterm.h: Add declaration of free_frame_menubar.Jan Djärv2004-02-051-3/+10
| | | | | | | * xfns.c (x_create_bitmap_mask): Removed unused variable depth. (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. (Fx_change_window_property): Add declaration of parameters type and format. Remove unused variable cons.
* * xfns.c (x_create_bitmap_mask): Removed unused variable depth.Jan Djärv2004-02-051-5/+2
| | | | | | (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. (Fx_change_window_property): Add declaration of parameters type and format. Remove unused variable cons.
* Add declaration of free_frame_menubar.Jan Djärv2004-02-051-0/+1
|
* (Fset_char_table_range): Fix previous change.Kenichi Handa2004-02-052-1/+3
|
* (Fchar_after, Fchar_before): Doc fixes.Luc Teirlinck2004-02-052-2/+6
|
* * xselect.c: Include stdio,h.Jan Djärv2004-02-052-0/+5
|
* (Fset_buffer_multibyte): Fix docstring.Kenichi Handa2004-02-052-1/+7
|
* *** empty log message ***Stefan Monnier2004-02-041-7/+10
|
* (Vmouse_events): Rename from Vmenu_events.Stefan Monnier2004-02-041-10/+14
| | | | (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it.
* (Fset_char_table_range): Handle charsets ascii,Kenichi Handa2004-02-042-6/+23
| | | | eight-bit-control, and eight-bit-graphic correctly.
* * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe.Jason Rumney2004-02-033-0/+16
| | | | * w32fns.c (x_to_w32_font): Likewise.
* Added C support for drag and drop (xterm.h, xterm.c, xfns.c and xselect.c)Jan Djärv2004-02-031-0/+24
|
* * xfns.c (x-send-client-message): Moved to xselect.cJan Djärv2004-02-031-141/+129
| | | | | | | | | (Fx_change_window_property): Add optional arguments TYPE, FORMAT and OUTER_P. (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp if vector_ret_p is true. (syms_of_xfns): Sx_send_client_message moved to xselect.c.
* * xselect.c: Include termhooks.h and X11/Xproto.hJan Djärv2004-02-031-0/+351
| | | | | | | | (x_check_property_data, x_fill_property_data) (x_property_data_to_lisp, mouse_position_for_drop) (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. (Fx_send_client_event): Moved here from xfns.c. (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message.
* * xterm.c (handle_one_xevent): Call x_handle_dnd_message forJan Djärv2004-02-031-1/+19
| | | | ClientMessages.
* * xterm.h: Add x_handle_dnd_message, x_check_property_data,Jan Djärv2004-02-031-0/+16
| | | | x_fill_property_data, x_property_data_to_lisp and check_x_display_info.
* (Fcopy_file): If NEWNAME is a directory, expand theEli Zaretskii2004-02-022-1/+6
| | | | basename of FILE relative to it, not FILE itself.
* (coding_restore_composition): Check invalidKenichi Handa2004-02-022-0/+8
| | | | composition data more rigidly.
* *** empty log message ***Luc Teirlinck2004-01-311-0/+9
|
* (Fread_file_name_internal): Correctly handle the case whereLuc Teirlinck2004-01-311-12/+24
| | | | | | | | insert-default-directory is nil. (Fread_file_name): Always return an empty string if the user exits with an empty minibuffer. Adapt the docstring accordingly. (syms_of_fileio): Adapt the docstring of insert-default-directory to the change in Fread_file_name.
* Fix the prototype for xfree.Eli Zaretskii2004-01-302-1/+5
|
* (string_char_to_byte): Optimize for ASCII only string.Kenichi Handa2004-01-292-6/+9
| | | | (string_byte_to_char): Likewise.