aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19)Kenichi Handa2009-12-141-0/+5
| | | | in 8-bit encoding.
* Set the extended window manager hint for tooltip windows.Jan Djärv2009-12-131-0/+11
| | | | | | | | | | | * xfns.c (x_create_tip_frame): Set the extended window manager hint for tooltip windows. * xterm.h (struct x_display_info): Add Xatom_net_window_type_tooltip and Xatom_net_window_type. * xterm.c (x_term_init): Initialize Xatom_net_window_type_tooltip and Xatom_net_window_type.
* Work around warning about g_set_prgname() called multiple times.Jan Djärv2009-12-131-0/+4
| | | | | | * xterm.c (my_log_handler): New function. (x_term_init): Set my_log_handler as log handler during gtk_init so we can filter out buggy messages. (bug #5120).
* Bug 5177: Scroll bar thumb did not move when scrolling with mouse wheel.Jan Djärv2009-12-131-0/+18
| | | | | | | | | | | | | | | | | | | | * xterm.c (xg_scroll_callback): Parameter list changed, use parameter GtkScrollType to determine scroll/line/page. Only allow dragging if a button < 4 is grabbed (bug #5177). (xg_end_scroll_callback): New function. (x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to xg_create_scroll_bar. * gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling. (scroll_end_callback): Remove. (xg_create_scroll_bar): Add parameter end_callback, bind it to button-release-event. Replace value-changed event with change-value, bug #5177, (xg_event_is_for_scrollbar): Only return true if button is less than 4, bug #5177. * gtkutil.h (XG_LAST_SB_DATA): Remove. (xg_create_scroll_bar): Add GCallback end_callback.
* xftfont.c: Parse symbolic names for constants also.Jan Djärv2009-12-131-0/+6
| | | | | | (QClcdfilter): New variable. (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER. (syms_of_xftfont): Initialize QClcdfilter.
* Fix typo.Jan Djärv2009-12-121-1/+1
|
* DPI might get set to 0 if we saw some Xsettings, but not DPI.Jan Djärv2009-12-121-0/+8
| | | | | | | | xsettings.c (struct xsettings): Add member seen. (parse_xft_settings): Update member seen with what we have read. Return 0 if Xft-settings have been parsed, 0 otherwise. (apply_xft_settings): Only update Xft settings with what member seen indicates as new.
* (struct text_pos): Use EMACS_INT;Eli Zaretskii2009-12-121-0/+10
| | | | | | | (struct glyph): Use EMACS_INT for charpos. (struct it): Use EMACS_INT for stop_charpos, end_charpos, region_beg_charpos, region_end_charpos, redisplay_end_trigger_charpos, and also for iterator_stack_entry.end_charpos and iterator_stack_entry.stop_charpos.
* gtkutil.c: Scroll bar thumb not updated properly (bug #5177).Jan Djärv2009-12-121-0/+7
| | | | | | | (scroll_end_callback): New function (bug #5177) (xg_create_scroll_bar): Call scroll_end_callback on button release event (bug #5177). (xg_event_is_for_scrollbar): != replaced with ==.
* (struct ftfont_info): New member matrix.Kenichi Handa2009-12-121-0/+16
| | | | | | | | (ftfont_open): Setup xftfont_info->matrix. (MFLTFontFT): New member matrix. (FLOOR, CEIL, ROUND): New macros. (ftfont_get_metrics): Handle matrix transformation. (ftfont_shape_by_flt): New arg matrix. Callers changed.
* * xsettings.c: Include "keyboard.h".Andreas Schwab2009-12-091-0/+2
|
* (xg_tool_bar_proxy_help_callback): Fix missing return.Andreas Schwab2009-12-091-0/+2
|
* * cmds.c: Include "frame.h".Andreas Schwab2009-12-091-0/+8
| | | | | | * frame.c: Include "font.h" also if !HAVE_WINDOW_SYSTEM. * frame.h: Move declaration of delete_frame outside of HAVE_WINDOW_SYSTEM.
* * configure.in: Allow compiling Emacs with GTK on Cygwin.Chong Yidong2009-12-091-0/+7
| | | | | | | * src/s/cygwin.h (G_SLICE_ALWAYS_MALLOC): New variable. * src/emacs.c (main): Set the G_SLICE environment variable for Cygwin GTK builds.
* (unexec): Don't search for .data twice.Andreas Schwab2009-12-071-0/+4
|
* * xdisp.c (push_display_prop): Don't set avoid_cursor_p. Return 0Chong Yidong2009-12-051-0/+5
| | | | | | if push failed. (handle_line_prefix): Set avoid_cursor_p here. Check return value of push_display_prop (Bug#5000).
* * xfaces.c (Fx_family_fonts): Handle 2009-07-14 change to returnChong Yidong2009-12-051-0/+5
| | | | value of font_list_entities (Bug#5085).
* Fix `string-to-number' to deal consistently with integers and floats.Juanma Barranquero2009-12-041-0/+10
| | | | | | | | | * lread.c (isfloat_string): New argument ignore_trailing to accept all trailing characters, not just whitespace. (read1): Pass new arg 0 to keep old behavior. * data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore trailing chars, as it is already done for integers. Doc fixes. * lisp.h (isfloat_string): Add new arg to declaration of isfloat_string.
* (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>: Delete unused enumeration value.Eli Zaretskii2009-12-041-0/+5
|
* (lisp, shortlisp): Replace indian.el with indian.elc.Eli Zaretskii2009-12-031-0/+4
|
* (Fmake_network_process): Fix up the tests forStefan Monnier2009-12-031-0/+5
| | | | "connectionless socket", so they DTRT for seqpacket sockets as well.
* (Qseqpacket): New symbol.Stefan Monnier2009-12-031-0/+8
| | | | | | | (HAVE_SEQPACKET): New macro. (Fmake_network_process): Accept new :type `seqpacket'. (init_process): Add `seqpacket' feature when applicable. (syms_of_process): Initialize Qseqpacket.
* (font_load_for_lface, font_open_by_name): Don't store nameYAMAMOTO Mitsuharu2009-12-011-0/+5
| | | | if entity is Qnil.
* (print_preprocess): Preprocess the key_and_value table ofStefan Monnier2009-11-301-1/+6
| | | | hashtables, even tho they're "hidden" (bug#5082).
* frame.c (frame_make_pointer_invisible)Jan Djärv2009-11-291-0/+5
| | | | (frame_make_pointer_visible): Declare f before statements.
* [!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h.Eli Zaretskii2009-11-281-0/+5
|
* Don't crash if an X terminal is deleted with force == t.Jan Djärv2009-11-271-0/+9
| | | | | | | | | | | * xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display is NULL. * xterm.c (x_delete_terminal): Set dpyinfo->display to NULL. * frame.c (frame_make_pointer_invisible) (frame_make_pointer_visible): Just return if there isn't any selected frame.
* serach.c (simple_search): Remove warning by making *p const.Jan Djärv2009-11-271-0/+4
|
* (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
|