- 10 Apr, 2010 1 commit
-
-
Eli Zaretskii authored
xdisp.c [HAVE_WINDOW_SYSTEM]: Add prototype for append_stretch_glyph. (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.
-
- 08 Apr, 2010 4 commits
-
-
Eli Zaretskii authored
xdisp.c (set_cursor_from_row): Don't dereference glyphs beyond the end of TEXT_AREA. (Bug#5856)
-
Jan Djärv authored
-
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 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 functions. (syms_of_xsettings): Initialize current_font. defsubr Sfont_get_system_normal_font. * 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 apply_systemfont_to_menu. * 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 HAVE_XFT. (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 xft_font. * xresources.texi (Lucid Resources): Mention faceName to set Xft fonts.
-
- 07 Apr, 2010 3 commits
-
-
Jan D authored
* frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use FRAME_LINE_TO_PIXEL_Y. * xterm.c (x_set_window_size_1): Don't add border_width/height to pixelwidth/height.
-
Dan Nicolaescu authored
* m/hp800.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, NO_REMAP): Do not define for GNU_LINUX, not needed. (UNEXEC, NEED_BSDTTY): Move definitions... * s/hpux10-20.h (UNEXEC, NEED_BSDTTY): ... here.
-
Dan Nicolaescu authored
* s/irix6-5.h (UNEXEC): ... here.
-
- 04 Apr, 2010 1 commit
-
-
Jan Djärv authored
* xfns.c (set_machine_and_pid_properties): New function. (Fx_create_frame): Call set_machine_and_pid_properties.
-
- 03 Apr, 2010 5 commits
-
-
Eli Zaretskii authored
bidi.c (bidi_resolve_explicit, bidi_level_of_next_char): Check bidi_it->bytepos against ZV_BYTE instead of bidi_it->ch against BIDI_EOB.
-
Eli Zaretskii authored
-
Dan Nicolaescu authored
* s/msdos.h (NO_REMAP): ... here.
-
Dan Nicolaescu authored
-
Dan Nicolaescu authored
used on those platforms.
-
- 02 Apr, 2010 3 commits
-
-
Eli Zaretskii authored
-
Dan Nicolaescu authored
* xterm.c: * xrdb.c: * w32term.c: * unexec.c: * unexaix.c: * sysdep.c: * process.c: * lread.c: * keyboard.c: * floatfns.c: * filelock.c: * fileio.c: * emacs.c (main): * ecrt0.c: * dispnew.c: * callproc.c: * buffer.c: Remove errno extern declarations. * s/netbsd.h (NEED_ERRNO): Remove. * movemail.c: * etags.c: * emacsclient.c: Remove extern errno declarations.
-
Juanma Barranquero authored
-
- 01 Apr, 2010 4 commits
-
-
Dan Nicolaescu authored
* Makefile.in (LIBX11_SYSTEM): Remove. * s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM instead. * configure.in: Remove all references to LIBX11_SYSTEM.
-
Eli Zaretskii authored
src/: w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility. s/msdos.h: 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) (IT_set_terminal_modes): (__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. lread.c: 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__. msdos/: sed3.inp: sed2.inp: sed1.inp: mainmake: Files removed.
-
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 authored
* Makefile.in (LIBTIFF, LIBJPEG, LIBPNG, LIBGIF, LIBXPM, XFT_LIBS): Define as Makefile variables. (LIBX): Use above variables rather than directly using autoconf.
-
- 31 Mar, 2010 9 commits
-
-
Chong Yidong authored
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL. * nsterm.h: Fix prototype.
-
Dan Nicolaescu authored
* xterm.c: * process.c: * emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard for including <sys/ioctl.h>. * sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this code is only used for MSDOS.
-
Juri Linkov authored
http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01456.html * image.c: Add `Qextension_data'. (syms_of_image): Initialize and staticpro `Qextension_data'. (Fimage_metadata): Rename from `Fimage_extension_data'. (gif_load): Put GIF extension data to the property `Qextension_data'. * image.el (image-animated-p): Use `image-metadata' instead of `image-extension-data'. Get GIF extenstion data from metadata property `extension-data'.
-
Eli Zaretskii authored
xdisp.c (highlight_trailing_whitespace): Support highlight of trailing whitespace in right-to-left rows.
-
Chong Yidong authored
* nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL. * nsterm.h: Fix prototype.
-
Eli Zaretskii authored
w32fns.c (x_create_tip_frame): Copy `parms' before we modify it in this function.
-
Stefan Monnier authored
* keyboard.c (nonundocount): Remove extern declaration. (command_loop_1): Remove brittle optimisation for cheap and common operations. * xdisp.c (redisplay_internal): Don't bother checking redisplay_performed_directly_p any more. * sysdep.c (init_sys_modes): Don't call direct_output_forward_char any more. * dispnew.c (redisplay_performed_directly_p) (direct_output_for_insert, direct_output_forward_char): * dispextern.h (redisplay_performed_directly_p) (direct_output_for_insert, direct_output_forward_char): Remove. * cmds.c (nonundocount): Make it static.
-
Chong Yidong authored
-
Stefan Monnier authored
-
- 30 Mar, 2010 7 commits
-
-
Chong Yidong authored
-
Eli Zaretskii authored
xdisp.c (BUFFER_POS_REACHED_P, move_it_in_display_line_to): Restore original behavior when the iterator is not bidi_p.
-
Dan Nicolaescu authored
-
Jan Djärv authored
-
Eli Zaretskii authored
bidi.c (bidi_cache_iterator_state): Invalidate the cache if we are outside the range of cached character positions.
-
Juanma Barranquero authored
-
Dan Nicolaescu authored
* s/usg5-4.h (LIBS_DEBUG): * s/irix6-5.h (C_DEBUG_SWITCH): * s/gnu-linux.h (LIBS_DEBUG): * s/darwin.h (LIBS_DEBUG): * s/bsd-common.h (LIBS_DEBUG): * s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH): * m/iris4d.h (LIBS_DEBUG): * m/hp800.h (LIBS_DEBUG): Remove definitions. * Makefile.in (LIBES): Remove reference to LIBS_DEBUG. (LIBS_DEBUG): Remove definition. * configure.in: Remove all references to C_DEBUG_SWITCH.
-
- 29 Mar, 2010 1 commit
-
-
Chong Yidong authored
Patch from Adrian Robert, see http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01391.html * 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 ns_set_doc_edited. * nsterm.m: Remove unneeded prototype.
-
- 28 Mar, 2010 1 commit
-
-
Glenn Morris authored
* Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always in the DOC file.
-
- 27 Mar, 2010 1 commit
-
-
Chong Yidong authored
-