1. 10 Apr, 2010 1 commit
    • Eli Zaretskii's avatar
      Initial implementation of display of R2L paragraphs in GUI sessions. · 2204f4de
      Eli Zaretskii authored
       xdisp.c [HAVE_WINDOW_SYSTEM]: Add prototype for
       (set_cursor_from_row) <cursor_x>: Remove unused variable.  Fix
       off-by-one error in computing x at end of text in the row.
       (extend_face_to_end_of_line): If the row is reversed, prepend a
       stretch glyph whose width is such that the rightmost glyph will be
       drawn at the right margin of the window.
       (append_stretch_glyph): In reversed row, prepend the glyph rather
       than append it.  Set resolved_level and bidi_type of the glyph.
  2. 08 Apr, 2010 4 commits
    • Eli Zaretskii's avatar
      Fix bug#5856: don't dereference glyphs beyond end of glyph_row. · 21d28484
      Eli Zaretskii authored
       xdisp.c (set_cursor_from_row): Don't dereference glyphs beyond
       the end of TEXT_AREA.  (Bug#5856)
    • Jan Djärv's avatar
    • Eli Zaretskii's avatar
      Fix crash due to incorrect resolution of type of NSM characters (bug#5858). · 5930fe97
      Eli Zaretskii authored
       bidi.c (bidi_resolve_weak): Use prev.type_after_w1, instead of
       prev.orig_type, for resolving type of NSM.
    • Jan Djärv's avatar
      Lucid menus can now use Xft for fonts. · 99852628
      Jan Djärv authored
      * xsettings.c (current_font, SYSTEM_FONT, XSETTINGS_FONT_NAME): New.
      (parse_xft_settings): Also check for XSETTINGS_FONT_NAME and save that
      in current_font.
      (init_gconf): Read value of SYSTEM_FONT and save it in current_font.
      (Ffont_get_system_normal_font, xsettings_get_system_normal_font): New
      (syms_of_xsettings): Initialize current_font. defsubr
      * xsettings.h (Ffont_get_system_normal_font,
      xsettings_get_system_normal_font): Declare.
      * xfns.c (extern xlwmenu_default_font): Remove.
      (Fx_create_frame): Remove setting of xlwmenu_default_font, moved
      to xlwmenu.c.
      * menu.c (digest_single_submenu): If USE_LUCID and HAVE_XFT, encode
      menu items in UTF-8.
      * xmenu.c: include xsettings.h and xlwmenu.h if USE_LUCID.
      (apply_systemfont_to_menu): New function.
      (set_frame_menubar, create_and_show_popup_menu): Call
      * xlwmenu.c (xlwmenu_default_font): Make static.
      (xlwMenuResources): Add XtNfaceName and XtNdefaultFace.
      (string_width): Use XftTextExtentsUtf8 if HAVE_XFT.
      (MENU_FONT_HEIGHT, MENU_FONT_ASCENT): Add versions for
      (size_menu): Set max_rest_width in window_state structure.
      (display_menu_item): If HAVE_XFT and xft_draw is set, use
      XftDrawRect and XftDrawStringUtf8 to draw text.
      (make_windows_if_needed): Set max_rest_width and xft_draw
      in windows[i].
      (openXftFont): New.
      (XlwMenuInitialize): Call openXftFont if HAVE_XFT. If mw->menu.font
      is not set, load font fixed and save it in xlwmenu_default_font.
      (XlwMenuInitialize): Set max_rest_width and xft_draw in windows[0].
      (XlwMenuClassInitialize): Initialize xlwmenu_default_font.
      (XlwMenuRealize): Set xft_fg, xft_bg, xft_disabled_fg and
      windows[0].xft_draw if xft_font is set.
      (XlwMenuDestroy): Destroy all xft_draw and close xft_font.
      (facename_changed): New.
      (XlwMenuSetValues): Call facename_changed. If face name did change,
      close old fonts and destroy xft_draw:s.  Then create new ones.
      * xlwmenu.h (XtNfaceName, XtCFaceName, XtNdefaultFace,
      XtCDefaultFace): New.
      * xlwmenuP.h (_window_state): Add max_rest_width and xft_draw.
      (_XlwMenu_part): Add faceName,xft_fg, xft_bg, xft_disabled_fg and
      * xresources.texi (Lucid Resources): Mention faceName to set Xft fonts.
  3. 07 Apr, 2010 3 commits
  4. 04 Apr, 2010 1 commit
  5. 03 Apr, 2010 5 commits
  6. 02 Apr, 2010 3 commits
  7. 01 Apr, 2010 4 commits
    • Dan Nicolaescu's avatar
      Remove all uses of LIBX11_SYSTEM. · 8224f93d
      Dan Nicolaescu authored
      * Makefile.in (LIBX11_SYSTEM): Remove.
      * s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM
      * configure.in: Remove all references to LIBX11_SYSTEM.
    • Eli Zaretskii's avatar
      Remove support for DJGPP v1.x (bug#5813). · ed68db4d
      Eli Zaretskii authored
       w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility.
       unexec.c (make_hdr, copy_text_and_data): 
       sysdep.c (wait_for_termination, sys_subshell): 
       msdos.c (dos_set_window_size, msdos_set_cursor_shape)
       (__write, _rename, gethostname, gettimeofday, alarm, fork, kill)
       (dos_ttraw, dos_ttcooked, run_msdos_command, abort): Remove DJGPP
       v1.x code and tests of the value of __DJGPP__.
       (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x
       compatibility code.
       gmalloc.c (memalign): 
       fileio.c (Fcopy_file, check_executable, Ffile_modes): 
       emacs.c (main): 
       dosfns.c (init_dosfns): 
       dired.c (file_name_completion_stat): Remove tests of __DJGPP__.
       mainmake: Files removed.
    • Eli Zaretskii's avatar
      Fix bug #5816. · 814062c7
      Eli Zaretskii authored
       xdisp.c (set_cursor_from_row): Fix cursor positioning when the
       string with `cursor' property comes from an `after-string' overlay.
    • Glenn Morris's avatar
      Cosmetic change to src/Makefile.in. · 0dc2e11d
      Glenn Morris authored
      Define as Makefile variables.
      (LIBX): Use above variables rather than directly using autoconf.
  8. 31 Mar, 2010 9 commits
  9. 30 Mar, 2010 7 commits
  10. 29 Mar, 2010 1 commit
    • Chong Yidong's avatar
      Clean up unneeded ns_set_icon_type calls. · 9ae6e189
      Chong Yidong authored
      Patch from Adrian Robert, see
      * xdisp.c (x_consider_frame_title, update_window_cursor): Remove
      HAVE_NS conditionals.
      (prepare_menu_bars)[HAVE_NS]: Call ns_set_doc_edited.
      * nsfns.m (x_implicitly_set_name): If frame-title-format is t, use
      filename for the title.
      (ns_set_doc_edited): Do nothing if the selected window is a
      minibuffer window.
      * nsterm.h: Add prototypes for ns_set_name_as_filename and
      * nsterm.m: Remove unneeded prototype.
  11. 28 Mar, 2010 1 commit
    • Glenn Morris's avatar
      Close bug#5336. · 25c72475
      Glenn Morris authored
      * Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always
      in the DOC file.
  12. 27 Mar, 2010 1 commit