summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* * xsettings.c: Include "keyboard.h".Andreas Schwab2009-12-092-0/+3
|
* (xg_tool_bar_proxy_help_callback): Fix missing return.Andreas Schwab2009-12-092-1/+3
|
* * cmds.c: Include "frame.h".Andreas Schwab2009-12-094-3/+11
| | | | | | * 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-093-0/+18
| | | | | | | * 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-072-7/+4
|
* * xdisp.c (push_display_prop): Don't set avoid_cursor_p. Return 0Chong Yidong2009-12-052-9/+14
| | | | | | if push failed. (handle_line_prefix): Set avoid_cursor_p here. Check return value of push_display_prop (Bug#5000).
* Minor doc fix.Chong Yidong2009-12-051-0/+1
|
* * xfaces.c (Fx_family_fonts): Handle 2009-07-14 change to returnChong Yidong2009-12-052-26/+37
| | | | value of font_list_entities (Bug#5085).
* Fix a comment and delete trailing whitespace.Chong Yidong2009-12-051-8/+8
|
* (next_element_from_ellipsis): Fix a typo in the commentary.Eli Zaretskii2009-12-051-1/+1
|
* (next_element_from_display_vector): Fix a typo in the commentary.Eli Zaretskii2009-12-051-2/+2
|
* Fix `string-to-number' to deal consistently with integers and floats.Juanma Barranquero2009-12-044-8/+20
| | | | | | | | | * 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-042-1/+5
|
* (lisp, shortlisp): Replace indian.el with indian.elc.Eli Zaretskii2009-12-032-2/+6
|
* (Fmake_network_process): Fix up the tests forStefan Monnier2009-12-032-4/+9
| | | | "connectionless socket", so they DTRT for seqpacket sockets as well.
* (Qseqpacket): New symbol.Stefan Monnier2009-12-032-3/+25
| | | | | | | (HAVE_SEQPACKET): New macro. (Fmake_network_process): Accept new :type `seqpacket'. (init_process): Add `seqpacket' feature when applicable. (syms_of_process): Initialize Qseqpacket.
* Add arch taglineMiles Bader2009-12-014-0/+11
|
* (font_load_for_lface, font_open_by_name): Don't store nameYAMAMOTO Mitsuharu2009-12-012-3/+12
| | | | if entity is Qnil.
* (print_preprocess): Preprocess the key_and_value table ofStefan Monnier2009-11-302-1/+13
| | | | hashtables, even tho they're "hidden" (bug#5082).
* frame.c (frame_make_pointer_invisible)Jan Djärv2009-11-292-2/+9
| | | | (frame_make_pointer_visible): Declare f before statements.
* (skip_invisible): Fix a typo in a comment.Eli Zaretskii2009-11-281-1/+1
|
* [!AUTO_DEPEND]: Remove outdated comment about omitted dependencies on lisp.h.Eli Zaretskii2009-11-282-4/+5
|
* Don't crash if an X terminal is deleted with force == t.Jan Djärv2009-11-274-1/+23
| | | | | | | | | | | * 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-272-1/+5
|
* (power_letter): Remove duplicate const.Dan Nicolaescu2009-11-262-1/+5
|
* (delete_tty): Remove check for last terminal (bug#4970).Jan Djärv2009-11-252-15/+2
|
* xsettings.c: Revert changes from 2009-11-23. Just use Xft defaults (bug #5025).Jan Djärv2009-11-252-20/+5
|
* (adjust_markers_for_delete): Move it in the right direction! (bug#4803)Stefan Monnier2009-11-242-2/+7
|
* (x_new_font): Update f->scroll_bar_actual_width.YAMAMOTO Mitsuharu2009-11-242-0/+10
|
* (font_open_entity): Don't use ASET if font_object is Qnil.YAMAMOTO Mitsuharu2009-11-241-1/+2
|
* (focus-follows-mouse): Mention mouse-autoselect-window.Glenn Morris2009-11-242-1/+5
|
* Must create deps for ecrt0.o in its rule.Jan Djärv2009-11-232-0/+5
|
* Set Xft defaults if no XSETTING is found, better default for Gtk+ font dialog.Jan Djärv2009-11-235-14/+80
| | | | | | | | | | | | | | | | * 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-222-15/+17
| | | | searching backwards through multibyte buffer.
* Use a select wrapper around the GLib event loop, thus taking into account GLibJan Djärv2009-11-218-167/+236
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-2123-125/+107
| | | | | | | 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.
* Fix last change.Chong Yidong2009-11-211-2/+0
|
* * xterm.c (x_new_font):Dan Nicolaescu2009-11-214-8/+15
| | | | | * print.c (print_object): * cmds.c (Fself_insert_command): Move declarations before statements.
* * s/cygwin.h: Remove unneeded linker flags.Chong Yidong2009-11-202-4/+6
|
* Always suggest system font because .emacs may not have been read yet.Jan Djärv2009-11-204-8/+30
| | | | | | | | | | | * 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-202-0/+9
| | | | add a blank entry so it doesn't collapse into nothing.
* (Funintern): Comment out last change.Stefan Monnier2009-11-192-3/+11
|
* * lread.c (Funintern): Error if symbol is t or nil.Richard M. Stallman2009-11-192-0/+7
|
* (make_gap_larger): Don't make as many assumptions about theStefan Monnier2009-11-192-23/+29
| | | | | representation of Lisp integers. Reported by MJ Chan <mjchan.inbox@gmail.com>.
* * lisp.h: Remove declaration of Ffont_get_system_font.Andreas Schwab2009-11-174-6/+9
| | | | | * 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-172-2/+13
| | | | | | | | | | * 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-172-1/+2
|
* (Fbyteorder, init_font, Ffont_get_system_font): Declare.Andreas Schwab2009-11-172-0/+9
|
* * xftfont.c (xftfont_fix_match): Older versions of fontconfig doesJan Djärv2009-11-173-11/+15
| | | | not have FC_LCD_*. #define them if not there.
* #ifdef on FC_LCD_FILTER.Jan Djärv2009-11-173-0/+17
| | | | | | | | | | | * 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.