aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (power_letter): Remove duplicate const.Dan Nicolaescu2009-11-261-0/+4
|
* (delete_tty): Remove check for last terminal (bug#4970).Jan Djärv2009-11-251-0/+2
|
* xsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).Jan Djärv2009-11-251-0/+5
|
* (adjust_markers_for_delete): Move it in the right direction! (bug#4803)Stefan Monnier2009-11-241-0/+5
|
* (x_new_font): Update f->scroll_bar_actual_width.YAMAMOTO Mitsuharu2009-11-241-0/+6
|
* (focus-follows-mouse): Mention mouse-autoselect-window.Glenn Morris2009-11-241-0/+4
|
* Must create deps for ecrt0.o in its rule.Jan Djärv2009-11-231-0/+2
|
* Set Xft defaults if no XSETTING is found, better default for Gtk+ font dialog.Jan Djärv2009-11-231-0/+16
| | | | | | | | | | | | | | | | * xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name because that is what Gtk+ font dialog understands. * font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead of Fcopy_sequence. (font_open_by_name): Put name given into QCname for font-object returned. * frame.c (x_set_font): Save original font name as frame parameter font-parameter. * xsettings.c (set_default_xft_settings): New function. (init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window is found.
* (simple_search): Avoid CHAR_TO_BYTE in inner loop whenAndreas Schwab2009-11-221-0/+5
| | | | searching backwards through multibyte buffer.
* Use a select wrapper around the GLib event loop, thus taking into account GLibJan Djärv2009-11-211-0/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timeouts and event sources. This simplifies Gtk+-code a lot, and is needed for handling GConf death/restart. * xterm.c: #include xgselect.h. (x_initialize): Call xgselect_initialize. * xsettings.c (something_changedCB): C++ comments => C comments. (init_gconf): Do not deal with any GLib file descriptors, xg_select does that now. * gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer) (xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback) (scroll_bar_button_cb): Remove. (create_menus): C++ comments => C comments. Don't bind grab-notify event. (xg_create_scroll_bar): Don't bind button-press-event and button-release-event. * process.c: Include xgselect.h if defined (USE_GTK) || defined (HAVE_GCONF). (wait_reading_process_output): Call xg_select for the same condition. * xgselect.c (xg_select): New function to better integrate with GLib/Gtk event handling. Needed if GConf daemon dies/restarts. * xgselect.h: New file, declare xg_select, xgselect_initialize. * Makefile.in (XOBJ): Add xgselect.o.
* * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): RemoveAndreas Schwab2009-11-211-0/+8
| | | | | | | ignored second argument. All callers changed. * regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR) (RE_STRING_CHAR_AND_LENGTH): Likewise. * xdisp.c (string_char_and_length): Likewise.
* * xterm.c (x_new_font):Dan Nicolaescu2009-11-211-0/+6
| | | | | * print.c (print_object): * cmds.c (Fself_insert_command): Move declarations before statements.
* * s/cygwin.h: Remove unneeded linker flags.Chong Yidong2009-11-201-0/+4
|
* Always suggest system font because .emacs may not have been read yet.Jan Djärv2009-11-201-0/+9
| | | | | | | | | | | * xfns.c (x_default_font_parameter): Call xsettings_get_system_font. * xsettings.h: Declare xsettings_get_system_font. * xsettings.c (xsettings_get_system_font): New function. (init_gconf): No use initiating gconf unless we have Xft also. (syms_of_xsettings): Only provide system-font-setting if HAVE_XFT and HAVE_GCONF.
* gtkutil.c (xg_modify_menubar_widgets): If menubar is totally emptyJan Djärv2009-11-201-0/+5
| | | | add a blank entry so it doesn't collapse into nothing.
* (Funintern): Comment out last change.Stefan Monnier2009-11-191-1/+5
|
* * lread.c (Funintern): Error if symbol is t or nil.Richard M. Stallman2009-11-191-0/+4
|
* (make_gap_larger): Don't make as many assumptions about theStefan Monnier2009-11-191-13/+19
| | | | | representation of Lisp integers. Reported by MJ Chan <mjchan.inbox@gmail.com>.
* * lisp.h: Remove declaration of Ffont_get_system_font.Andreas Schwab2009-11-171-0/+6
| | | | | * xfns.c: Move include of "xsettings.h". * xsettings.h: Use EXFUN to declare Ffont_get_system_font.
* xsettings.c didn't check font-use-system-font, fix that.Jan Djärv2009-11-171-0/+6
| | | | | | | | | | * xsettings.c (something_changedCB, Ffont_get_system_font): Check use_system_font. (syms_of_xsettings): DEFVAR font-use-system-font. * font-setting.el (font-use-system-font): Moved ... * cus-start.el (all): ... to here.
* (x_default_font_parameter): Remove dead assignment.Andreas Schwab2009-11-171-0/+2
|
* (Fbyteorder, init_font, Ffont_get_system_font): Declare.Andreas Schwab2009-11-171-0/+4
|
* * xftfont.c (xftfont_fix_match): Older versions of fontconfig doesJan Djärv2009-11-171-1/+1
| | | | not have FC_LCD_*. #define them if not there.
* #ifdef on FC_LCD_FILTER.Jan Djärv2009-11-171-0/+5
| | | | | | | | | | | * xftfont.c (xftfont_fix_match): Older versions of fontconfig does not have FC_LCD_FILTER. #ifdef it. * xsettings.c (parse_xft_settings, apply_xft_settings): Ditto * xftfont.c (xftfont_fix_match): New function. (xftfont_open): Call XftDefaultSubstitute before XftFontMatch. Call xftfont_fix_match after XftFontMatch.
* Handle system default font and changing font parameters.Jan Djärv2009-11-171-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xterm.h (struct x_display_info): Add atoms and Window for xsettings. * xterm.c (handle_one_xevent): Call xft_settings_event for ClientMessage, PropertyNotify and DestroyNotify. (x_term_init): If we have XFT, get DPI from Xft.dpi. Call xsettings_initialize. * xftfont.c (xftfont_fix_match): New function. (xftfont_open): Call XftDefaultSubstitute before XftFontMatch. Call xftfont_fix_match after XftFontMatch. * xfont.c (xfont_driver): Initialize all members. * xfns.c (x_default_font_parameter): Try font from Ffont_get_system_font. Do not get font from x_default_parameter if we got one from Ffont_get_system_font. (Fx_select_font): Get the defaut font name from :name of FRAME_FONT (f). * w32font.c (w32font_driver): Initialize all members. * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new. * lisp.h: Declare syms_of_xsettings. * keyboard.c (kbd_buffer_get_event, make_lispy_event): Handle CONFIG_CHANGED_EVENT. * ftfont.c (ftfont_filter_properties): New function. * frame.c (x_set_font): Remove unused variable lval. * font.h (struct font_driver): filter_properties is new. * font.c (font_put_extra): Don't return if val is nil, it means boolean option is off. (font_parse_fcname): Collect all extra properties in extra_props and call filter_properties for all drivers with extra_props and font as parameter. (font_open_entity): Do not use cache, it does not pick up new fontconfig settings like hinting. (font_load_for_lface): If spec had a name in it, store it in entity. * emacs.c (main): Call syms_of_xsettings * config.in: HAVE_GCONF is new. * Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF. xsettings.o is new. * menu-bar.el: Put "Use system font" in Option-menu. * loadup.el: If feature system-font-setting or font-render-setting is there, load font-setting. * Makefile.in (ELCFILES): font-settings.el is new. * font-setting.el: New file. * NEWS: Mention dynamic font changes (font-use-system-font). * configure.in: New option: --with(out)-gconf. Set HAVE_GCONF if we find gconf.
* (x_produce_glyphs): Consider face-remapping when fallingKenichi Handa2009-11-171-0/+5
| | | | back to the default font in case that no suitable font is found.
* (Fx_popup_menu) [HAVE_NS]: Use generic code for window edge.Stefan Monnier2009-11-171-3/+8
| | | | | Suggested by Chad Brown <yandros@mit.edu>. (push_menu_item): Use MENU_ITEMS_ITEM_* names.
* xmenu.c(x_menu_wait_for_event): Call XFlush before select.Jan Djärv2009-11-161-0/+4
|
* Ignore errors from mkdir when creating depsAndreas Schwab2009-11-141-0/+5
| | | | directory.
* gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already has a parent.Jan Djärv2009-11-141-0/+3
|
* Use gcc-generated dependency files if we can (GNU Make and gcc required).Jan Djärv2009-11-141-0/+7
| | | | | | | | | | | * Makefile.in: If AUTO_DEPEND is defined, make gcc generate dependency files in deps/. Include those files into Makefile. * config.in: Generated (AUTO_DEPEND). * configure.in: --enable-autodepend is new. Check for GNU Make and that gcc supports -MMD -MF. Define AUTO_DEPEND if we can use gcc and GNU make to generate dependencies.
* * dbusbind.c (Vdbus_registered_objects_table): Renamed fromMichael Albinus2009-11-131-0/+8
| | | | | | | Vdbus_registered_functions_table, because it contains also properties. Fix docstring. (Fdbus_call_method, Fdbus_call_method_asynchronously): Fix docstring.
* (mark_object): Don't reprocess marked strings.Stefan Monnier2009-11-131-1/+7
| | | | | Check vector's markbit earlier. Adjust calls to mark_vectorlike. (mark_vectorlike, mark_char_table): Assume the object is unmarked.
* (word_boundary_p): Adjusted for the change of theKenichi Handa2009-11-131-0/+7
| | | | | | semantics of Vword_combining_categories. (Vword_combining_categories): Describe the slight change of the semantics.
* (SYSTEM_PURESIZE_EXTRA): Revert last change.Eli Zaretskii2009-11-131-0/+6
|
* (syms_of_xdisp): Fix typo in last change.Stefan Monnier2009-11-121-0/+4
|
* * makefile.w32-in: Update dependencies; add dependencies to lisp.h.Juanma Barranquero2009-11-121-0/+4
|
* menu.c (Fx_popup_menu): Remove left-over debugging code and rename variables ↵David Reitter2009-11-121-0/+5
| | | | to fix 2009-11-09 change.
* * process.c (ifflag_def): Make flag_sym constant.Dan Nicolaescu2009-11-111-0/+18
| | | | | | | | | | | | | | | | | | (Fnetwork_interface_info): Use a constant pointer. (ifflag_table): * xfns.c (cursor_bits): * xdisp.c (power_letter): * termcap.c (speeds, esctab): * sysdep.c (baud_convert): * keyboard.c (lispy_accent_codes, modifier_names): * image.c (xbm_format, xpm_format, pbm_format, png_format) (jpeg_format, tiff_format, gif_format, svg_format) (interlace_start, interlace_increment, gs_format): * gtkutil.c (separator_names): * fringe.c (swap_nibble): * fns.c (base64_value_to_char, base64_char_to_value): * fileio.c (make_temp_name_tbl): * coding.c (suffixes): Make constant.
* * frame.c (make_initial_frame):Dan Nicolaescu2009-11-111-0/+5
| | | | | | * buffer.c (init_buffer_once): Use make_pure_c_string instead of build_string. * alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory.
* * s/freebsd.h:Dan Nicolaescu2009-11-111-0/+3
| | | | * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o.
* Add dependencies to lisp.h. Remove dependenciesDan Nicolaescu2009-11-111-0/+3
| | | | for non-existent files: unexmips.c, unexnext.c, abbrev.c, malloc.c.
* * xfns.c (syms_of_xfns): Use make_pure_string instead of build_string.Dan Nicolaescu2009-11-111-0/+11
| | | | | | | | | | * xterm.c (syms_of_xterm): * xfaces.c (syms_of_xfaces): * xdisp.c (syms_of_xdisp): * lread.c (syms_of_lread): * keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of build_string. * doc.c (Fsnarf_documentation): Purecopy Vbuild_files.
* (Fplist_get): Merge the active and the uncommented code.Stefan Monnier2009-11-101-1/+6
|
* Bug #4574. Common code for file/font dialog. Handle timers with glib-timers.Jan Djärv2009-11-101-0/+21
| | | | | | | | | | | | | | | | | | | | | * keyboard.h: Declare timer_check. * keyboard.c (timer_check_2): New function that does what the old timer_check did. (timer_check): Call timer_check_2 until -1 or a non-zero time is returned, i.e. don't return -1 with timers pending. * process.c: Remove extern declaration of timer_check. * xmenu.c (x_menu_wait_for_event): Remove code that did a timeout even if timer_check returned -1. * gtkutil.c (xg_dialog_response_cb): data is now a struct xg_dialog_data (pop_down_dialog): Destroy widget (if any), cancel timer and unref the event loop. (xg_maybe_add_timer, xg_dialog_run): New functions (bug #4574). (xg_get_file_name, xg_get_font_name): Call xg_dialog_run (bug #4574). Destroy the dialog after xg_dialog_run.
* (Fx_popup_menu) [HAVE_NS]: Remove unused vars.Stefan Monnier2009-11-101-0/+4
|
* xmenu.c (xmenu_show): Must not be static after 2009-11-09 changes.Jan Djärv2009-11-101-0/+4
|
* Fix typos.Juanma Barranquero2009-11-091-10/+8
|
* * menu.c [HAVE_NTGUI]: Declare current_popup_menu.Juanma Barranquero2009-11-091-0/+4
|
* * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c,Stefan Monnier2009-11-091-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | w32menu.c, and nsmenu.m. Simplify the obsolete case where position is nil. (cleanup_popup_menu): New function, moved from nsmenu.m. (struct skp): Remove slot `notreal'. (single_keymap_panes, keymap_panes): Remove arg `notreal' and adjust callers. (single_menu_item): Adjust call to parse_menu_item. (syms_of_menu): Defsubr x-popup-menu. * menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c. (keymap_panes): Don't export any more. (mouse_position_for_popup, w32_menu_show, ns_menu_show, xmenu_show): Declare. * keyboard.c (parse_menu_item): Remove arg `notreal'. (menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers. * keyboard.h (parse_menu_item): Update declaration. * xmenu.c (Fx_popup_menu): Remove. (syms_of_xmenu): Don't defsubr x-popup-menu. * w32menu.c (Fx_popup_menu): Remove. (syms_of_w32menu): Don't defsubr x-popup-menu. * nsmenu.m (cleanup_popup_menu): Remove. (ns_menu_show): Rename from ns_popup_menu and remove all the code moved to menu.c's Fx_popup_menu. (Fx_popup_menu): Remove. (syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize menu_items (it's done in menu.c already).