aboutsummaryrefslogtreecommitdiffstats
path: root/src/xfaces.c
Commit message (Collapse)AuthorAgeFilesLines
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-57/+57
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Use macro SPECPDL_INDEX.Juanma Barranquero2002-07-111-1/+1
|
* Rename BINDING_STACK_SIZE to SPECPDL_INDEX.Juanma Barranquero2002-07-101-2/+2
|
* In src/:Andrew Choi2002-06-161-12/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-16 Andrew Choi <[email protected]> * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of Vdefault_fontset to Monaco with mac-roman coding. * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine init_process before and after inclusion of Carbon/Carbon.h, resp. * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and cursor_gc. (add_font_name_table_entry): New function. (init_font_name_table): Use add_font_name_table_entry; add italic, bold, and bold-italic entries for truetype fonts. * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces for Mac too. (try_font_list) [MAC_OS]: If no font matches given registry, try fonts with any registry matching face_family. (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. * s/darwin.h: If autoconf detects the Ncurses library, define LIBS_TERMCAP to -lncurses to use it. In lisp/: 2002-06-16 Andrew Choi <[email protected]> * term/mac-win.el (scalable-fonts-allowed): Set to t.
* (tty_lookup_color): Type bool/Lisp_Object mismatch fixed.Stefan Monnier2002-06-111-1/+1
|
* (Ftty_supports_face_attributes_p): New function.Miles Bader2002-06-091-38/+353
| | | | | | | | | (parse_rgb_list, tty_lookup_color): New functions. (tty_defined_color): Use `tty_lookup_color' to do all the work. (color_distance, Fcolor_distance): New functions. (TTY_SAME_COLOR_THRESHOLD): New macro. (Qtty_color_standard_values): New variable. (syms_of_xfaces): Initialize new vars & functions.
* * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME andKen Raeburn2002-05-201-1/+1
| | | | XSTRING instead of XSYMBOL and name field.
* Patch for building Emacs on Mac OS X. April 26, 2002. See ChangeLog,Andrew Choi2002-04-261-29/+34
| | | | lisp/ChangeLog, and src/ChangeLog for list of changes.
* (clear_font_table): Don't free the default font ofStefan Monnier2002-04-191-3/+2
| | | | | | a frame even if it's on another display. (Finternal_set_lisp_face_attribute): Don't use XFRAME on something that could be Qt.
* (Finternal_make_lisp_face, Finternal_copy_lisp_face)Richard M. Stallman2002-02-131-0/+24
| | | | | (update_face_from_frame_parameter): Increment face_change_count and windows_or_buffers_changed to force redisplay using changed faces.
* (Qmode_line_inactive): New face variable for mode-lineKim F. Storm2002-02-081-0/+4
| | | | | | in non-selected windows. (realize_basic_faces): Realize it. (syms_of_term): Intern and staticpro it.
* (realize_default_face): Don't set the weight and slantEli Zaretskii2002-02-021-2/+4
| | | | | of the default face to Qnormal, unless these attributes are unspecified.
* Doc fix.Pavel Janík2001-12-201-1/+1
|
* (merge_face_heights): Coerce back to int explicitly.Stefan Monnier2001-11-251-1/+1
|
* Fringe cleanup.Kim F. Storm2001-11-161-1/+1
| | | | (realize_basic_faces): Use FRINGE_FACE_ID.
* (Fface_attributes_as_vector): Doc fix.Pavel Janík2001-11-131-1/+1
|
* (Finternal_set_alternative_font_family_alist): Reindent.Pavel Janík2001-11-131-1/+1
|
* (merge_face_vectors): Use braces to follow GNU Coding Standards.Pavel Janík2001-11-091-18/+22
| | | | (Finternal_set_lisp_face_attribute): Likewise.
* Update usage of CHECK_ macros (remove unused second argument).Pavel Janík2001-11-021-43/+43
|
* (Finternal_set_lisp_face_attribute_from_resource):Gerd Moellmann2001-11-011-2/+3
| | | | Handle :box so that it is possible to specify sexprs.
* (Finternal_merge_in_global_face): Reindent.Pavel Janík2001-11-011-4/+4
| | | | | | (Fface_font): Ditto. (Finternal_set_alternative_font_registry_alist): Ditto. (Ftty_suppress_bold_inverse_default_colors): Ditto.
* (realize_x_face): If C is not a single-byte character,Gerd Moellmann2001-10-311-6/+4
| | | | | | | set the face's colors_copied_bitwise_p instead of the defaulted_p members which have a different meaning. (free_face_colors): Do nothing for a face whose colors have been copied bitwise.
* (Fface_attribute_relative_p): Declare args.Stefan Monnier2001-10-311-0/+1
|
* (Fface_font): Use UNSPECIFIEDP instead of NILP forGerd Moellmann2001-10-291-1/+1
| | | | the slant attribute if FRAME is t.
* (merge_face_heights): Handle TO being relative as well.Miles Bader2001-10-281-37/+56
| | | | | | Remove #ifdef'd-out code. (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. (syms_of_xfaces): Initialize them.
* (Fface_attributes_as_vector): New function.Richard M. Stallman2001-10-241-1/+16
| | | | (syms_of_xfaces): defsubr it.
* (Finternal_set_lisp_face_attribute): Fix compilationGerd Moellmann2001-10-231-1/+1
| | | | error.
* (Finternal_set_lisp_face_attribute)Eli Zaretskii2001-10-231-17/+20
| | | | | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the frame is on a windowed display.
* (Finternal_set_lisp_face_attribute): Follow coding conventions.Gerd Moellmann2001-10-181-6/+9
|
* Change doc-string comments to `new style' [w/`doc:' keyword].Miles Bader2001-10-171-91/+89
|
* Avoid (most) uses of XCAR/XCDR as lvalues, for flexibility in experimentingKen Raeburn2001-10-161-3/+3
| | | | with lisp system changes.
* Put doc strings in comments.Gerd Moellmann2001-10-141-180/+184
|
* Don't define min/max.Gerd Moellmann2001-10-081-4/+0
|
* *** empty log message ***Pavel Janík2001-10-081-0/+2
|
* (menu_face_changed_default): New variable.Gerd Moellmann2001-08-221-9/+25
| | | | | | | | | | | | (menu_face_changed_count): Variable removed. (Finternal_set_lisp_face_attribute): Doc fix. If FRAME is t, set the menu_face_changed_default flag, otherwise set the FRAME's menu_face_changed_p flag if the `menu' face has been changed. Prevent calling set_font_frame_param if FRAME is t. (make_face_cache): Initialize cache's menu_face_changed_p from menu_face_changed_default. (realize_basic_faces): Look into the frame's face cache to determine if the menu appearance needs updating.
* (x_update_menu_appearance): Don't callGerd Moellmann2001-08-151-14/+1
| | | | set_frame_menubar, let the next redisplay do it.
* (x_update_menu_appearance): Save and restore value ofGerd Moellmann2001-08-141-2/+12
| | | | interrupt_input_blocked.
* Comment fix.Gerd Moellmann2001-07-161-2/+2
|
* (clear_face_cache): Clear fonts on a display basis.Gerd Moellmann2001-07-161-14/+30
| | | | | | Clear faces afterwards. (clear_font_table): Take a x_display_info parameter. Don't free fonts being the default font of any frame on the given display.
* (unload_color): Do nothing if PIXEL is -1.Gerd Moellmann2001-07-101-3/+6
|
* (xlfd_point_size): Don't divide pixel size fromGerd Moellmann2001-05-181-1/+1
| | | | transformation matrix by 10.
* (split_font_name): Use the right field whenGerd Moellmann2001-05-161-1/+1
| | | | checking for `[...]' syntax.
* (split_font_name): Handle `[...]' for the rightGerd Moellmann2001-05-151-2/+2
| | | | font name fields.
* (try_alternative_families): First try the FAMILY.Stefan Monnier2001-05-141-42/+46
| | | | | | | And if nothing is found in the end, try again with scalable fonts. (try_font_list): Let try_alternative_families do a bit more of the work. Only use FAMILY if it is not nil. (syms_of_xfaces) <scalable-fonts-allowed>: Fix docstring.
* (split_font_name): Make sure to leave the loopGerd Moellmann2001-05-141-1/+2
| | | | with the right value of `i'.
* (split_font_name): Handle matrix transformationsGerd Moellmann2001-05-141-8/+60
| | | | | | in the pixel and point size fields of XLFD font names. (xlfd_point_size): Likewise. (xlfd_point_size): Likewise.
* Include keyboard.h before frame.h, not after it.Eli Zaretskii2001-05-121-1/+3
|
* (try_alternative_families): New function.Gerd Moellmann2001-05-111-36/+68
| | | | | | | (try_font_list): Use it. If ATTRS specifies a family, check fonts from that family first. (choose_face_font): Remove code setting the family part of the pattern to nil.
* (compute_char_face): If buffer is unibyte, set CH toGerd Moellmann2001-04-231-1/+1
| | | | zero instead of -1.
* (Qscalable_fonts_allowed): New variable.Gerd Moellmann2001-04-181-30/+6
| | | | | | | | | (realizing_basic_faces_p): Removed. (x_face_list_fonts): Special handling for realizing_basic_faces_p removed. (realize_basic_faces): Specbind Qscalable_fonts_allowed to t. (syms_of_xfaces): Initialize Qscalable_fonts_allowed. Change default for scalable-fonts-allowed to t.