summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Add 2010 to copyright years.Glenn Morris2010-01-13213-230/+230
|
* Call SIGNAL_THREAD_CHECK from signal handlers.YAMAMOTO Mitsuharu2010-01-133-2/+14
| | | | | | | | * keyboard.c (input_available_signal) [SYNC_INPUT]: Call SIGNAL_THREAD_CHECK (Bug#5333). * atimer.c (alarm_signal_handler) [!SYNC_INPUT]: Call SIGNAL_THREAD_CHECK.
* Try to fix bug#5314. This is probably not the final word, tho.Stefan Monnier2010-01-125-26/+63
| | | | | | | | | | * buffer.c (Fset_buffer_modified_p): Try and be careful not to modify recent-auto-save-p as a side-effect. * buffer.h (BUF_AUTOSAVE_MODIFF): New macro. * buffer.c (Fkill_buffer, reset_buffer): * editfns.c (Fsubst_char_in_region): * fileio.c (Finsert_file_contents, Fdo_auto_save) (Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
* merge trunkKenichi Handa2010-01-133-4/+28
|\
| * * keyboard.c (read_char): Don't apply previous change when currentYAMAMOTO Mitsuharu2010-01-122-4/+16
| | | | | | | | buffer is unchanged by command execution.
| * keyboard.c (read_char): Return after executing from special map.Jan Djärv2010-01-122-1/+8
| |
| * Replace emacs-pretest-bug with bug-gnu-emacs mailing list.Glenn Morris2010-01-112-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00758.html * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to bug-gnu-emacs rather than emacs-pretest-bug. * mail/emacsbug.el (report-emacs-bug-pretest-address): Set it to bug-gnu-emacs rather than emacs-pretest-bug. * CONTRIBUTE, NEWS: Use bug-gnu-emacs rather than emacs-pretest-bug for bug reports for development versions. * trouble.texi (Checklist): Use bug-gnu-emacs rather than emacs-pretest-bug for bug reports for development versions. * emacs-pretesters, make-announcement: Use bug-gnu-emacs rather than emacs-pretest-bug for bug reports for development versions. * INSTALL.BZR, README: Use bug-gnu-emacs rather than emacs-pretest-bug for bug reports for development versions.
* | Display buffer name, etc. in mode line by composing correctly.Kenichi Handa2010-01-134-14/+52
|/
* * nsterm.m: Use DEFSYM for last change.Chong Yidong2010-01-111-6/+6
|
* * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. beforeChong Yidong2010-01-112-13/+18
| | | | initializing the Lisp variables that depend on them.
* * xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]:YAMAMOTO Mitsuharu2010-01-112-1/+43
| | | | | Clear areas that will not be updated after change of menu bar lines. Clear the menu bar window's current matrix when the window gets empty.
* Fix bounds checking for text properties in `format' (Bug#5306).Chong Yidong2010-01-094-12/+35
| | | | | | | | * intervals.h, textprop.c (extend_property_ranges): Return value and args changed. Discard properties that begin at or after the new end (Bug#5306). * editfns.c (Fformat): Caller changed.
* Fix for Bug#4113.Chong Yidong2010-01-092-18/+14
| | | | | | | * nsterm.m (ns_set_default_prefs): Delete function. (syms_of_nsterm): Initialize ns_command_modifier, ns_control_modifier, ns_function_modifier, ns_antialias_text, and ns_antialias_threshold here, not in ns_term_init (Bug#4113).
* * xdisp.c (pos_visible_p): Check for invisible text at the correct pos ↵Chong Yidong2010-01-092-2/+7
| | | | (Bug#4040).
* editfns.c (Ffloat_time): Doc fix.Eli Zaretskii2010-01-092-1/+6
|
* (Fx_create_frame): Don't create frame larger than display by default bug#3643.Jan Djärv2010-01-092-0/+44
|
* Make line<->pixel_y conversion macros aware of native menu/tool bars.YAMAMOTO Mitsuharu2010-01-097-29/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | They are placed above the internal border. This supersedes special treatment of native tool bars in the display code. This fixes wrong display position of native menu bars and bogus mouse highlighting of native tool bars, both of which can be found when internal border width is large. Also it fixes wrong flashed part on visible bell with native menu bars. * frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro. (FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo windows above internal border. * window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros. (WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo windows above internal border. * xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat tool bar windows specially. * xfns.c (x_set_tool_bar_lines): Take account of menu bar height. * xterm.c (x_after_update_window_line): Don't treat tool bar windows specially. (XTflash): Take account of menu bar height. * w32term.c (x_after_update_window_line): Don't treat tool bar windows specially.
* Fix format.Eli Zaretskii2010-01-081-0/+1
|
* Frame width was not updated in fullscreen when scroll bars where removed/added.Jan Djärv2010-01-082-1/+9
| | | | | (change_frame_size_1): newwidth == FRAME_COLS (f) must also be true before we can return early (bug #5339).
* Merge from trunkJan Djärv2010-01-062-23/+33
|\
| * NS fixes for Bug#3233.Chong Yidong2010-01-062-23/+33
| | | | | | | | | | | | * nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS. (Fns_display_usable_bounds): Rewrite, computing bounds properly (Bug#3233).
* | Forgot one.Jan Djärv2010-01-061-0/+1
| |
* | Fix slowdown and wrong font choosed by XSETTINGS changes. bug #5157.Jan Djärv2010-01-064-52/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * font.c (font_open_entity): Enable chache and call cached_font_ok for the driver if defined. (QCuser_spec): New symbol. (font_spec_from_name): Save name as user-spec. (font_load_for_lface): Keep user-spec instead of name. (font_open_by_name): Save name as user-spec. (syms_of_font): Initialize QCuser_spec. * xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters. (xftfont_add_rendering_parameters, xftfont_cached_font_ok): New. (syms_of_xftfont): Initialize xftfont_driver.cached_font_ok. * font.h (struct font_driver): Add cached_font_ok. * font-setting.el (font-setting-change-default-font): Use user-spec instead of name.
* | Fixing user-spec for fonts instead of using name.Jan Djärv2010-01-061-5/+9
|/
* xterm.c (x_clear_frame): Queue draw for scroll bars.Jan Djärv2010-01-062-0/+10
|
* Merge from mainline.Jan Djärv2010-01-054-13/+50
|\
| * * keyboard.c (read_key_sequence): Catch keyboard switch afterChong Yidong2010-01-052-1/+12
| | | | | | | | making a new tty frame (Bug#5095).
| * fontset.c (fontset_find_font): Fix getting the frame pointer.Kenichi Handa2010-01-052-2/+6
| |
| * (xd_remove_watch): Avoid trying to convert a void* toStefan Monnier2010-01-042-3/+9
| | | | | | | | | | Lisp_Object, preferring to convert a lisp_Object to a void* instead. (Fdbus_init_bus): Use XHASH to get a scalar value from a Lisp_Object.
| * * dbusbind.c (xd_add_watch): Improve debug message.Michael Albinus2010-01-032-9/+26
| | | | | | | | | | | | | | (xd_remove_watch): Improve debug message. If DATA is the session bus, unset D-Bus session environment. (Fdbus_init_bus): Pass the bus as argument to dbus_connection_set_watch_functions. (Bug#5283)
* | Remove fprintfJan Djärv2010-01-051-1/+0
| |
* | Handle change of internal-border width when maximized.Jan Djärv2010-01-053-29/+111
|/ | | | | | | | | | | * xterm.c (x_new_font): Move code for setting rows/cols before resizing ... (x_set_window_size): ... to here. bug #2568. * gtkutil.c (xg_clear_under_internal_border): New function. (xg_frame_resized, xg_frame_set_char_size): Call xg_clear_under_internal_border. (xg_update_scrollbar_pos): Clear under old scroll bar position.
* Fix buffer overflow in ns_get_color.Chong Yidong2010-01-012-1/+4
| | | | * nsterm.m (ns_get_color): Fix buffer overflow (Bug#4763).
* * src/lread.c (syms_of_lread): Make it clearer that these are theChong Yidong2010-01-012-14/+17
| | | | | | | names of loaded files (Bug#5068). * doc/lispref/loading.texi (Where Defined): Make it clearer that these are loaded files (Bug#5068).
* * eval.c (run_hook_with_args): Handle the case where the globalChong Yidong2010-01-012-12/+26
| | | | value has the obsolete single-function form (Bug#5026).
* Fix typos in ChangeLogs.Juanma Barranquero2009-12-291-11/+11
|
* process.c: Fix typo in comment.Juanma Barranquero2009-12-291-1/+1
|
* *** empty log message ***Kenichi Handa2009-12-281-0/+15
|
* * minibuf.c (Fall_completions): Minor optimization.Chong Yidong2009-12-272-4/+8
|
* (pitx) Fix last change.Eli Zaretskii2009-12-262-4/+9
|
* (pgx): Fix display of composite glyphs. Display cmp.from and cmp.to as well.Eli Zaretskii2009-12-262-1/+6
|
* (command_loop_1): Fix previous change.Kenichi Handa2009-12-251-3/+5
|
* (composition_adjust_point): Update prototype.Kenichi Handa2009-12-251-1/+1
|
* (composition_reseat_it): Don't make a compositionKenichi Handa2009-12-251-22/+30
| | | | | | | spanning over point. (CHAR_COMPOSABLE_P): Treat U+200C (ZWNJ) and U+200D (ZWJ) as composable characters. (composition_adjust_point): New arg NEW_PT. Callers changed.
* (command_loop_1): Force redisplay if the last pointKenichi Handa2009-12-251-5/+20
| | | | | | was within a composition. (adjust_point_for_property): Don't adjust point for automatic composition when called after buffer modification.
* (Fsave_excursion): Mention save-current-buffer in the docstring.Stefan Monnier2009-12-241-0/+3
|
* (pitx): Don't use enum names, use their values. Remove reference toEli Zaretskii2009-12-192-15/+84
| | | | | | | | non-existing value GET_FROM_COMPOSITION. (pgx): Don't use enum names, use their values. (pitmethod): New helper command. (pitx): Use it to display iteration method. (pgrowit): New command.
* ($(BLD)/cmds.$(O)): Depend on frame.h.Eli Zaretskii2009-12-192-0/+3
|
* (alloc.o): Fix last change.Eli Zaretskii2009-12-191-1/+1
|
* Update dependencies in Makefile.in.Eli Zaretskii2009-12-192-81/+179
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (alloc.o): Depend on termhooks.h. (atimer.o): Depend on blockinput.h. (buffer.o): Depend on indent.h, keyboard.h, coding.h, keymap.h, and frame.h. (callint.o): Depend on systime.h, coding.h, and composite.h. (callproc.o): Depend on buffer.h. (casefiddle.o): Don't depend on charset.h. (casetab.o): Depend on character.h. (ccl.o): Depend on composite.h. (chartab.o): Depend on ccl.h. (cm.o): Depend on dispextern.h. (cmds.o): Depend on systime.h, coding.h, frame.h, and composite.h. (coding.o): Don't depend on $(INTERVALS_H). (composite.o): Don't depend on dispextern.h explicitly (it's in $(INTERVALS_H)). Depend on ccl.h. (data.o): Depend on systime.h, coding.h, composite.h, dispextern.h, font.h, and ccl.h. (dired.o): Depend on composite.h. (dispnew.o): Depend on coding.h. Don't depend explicitly on composite.h (it's in $(INTERVALS_H)). (doc.o): Depend on systime.h, coding.h, and composite.h. (editfns.o): Don't depend explicitly on dispextern.h. (emacs.o): Depend on frame.h and coding.h. (eval.o): Depend on coding.h, composite.h, and xterm.h. (fileio.o): Depend on frame.h and commands.h. Don't depend explicitly on dispextern.h. (filelock.o): Don't depend on epaths.h and charset.h. Depend on composite.h. (fns.o): Don't depend on termhooks.h. (font.o): Depend on buffer.h, composite.h, fontset.h, and xterm.h. (fontset.o): Depend on blockinput.h, atimer.h, systime.h, coding.h, $(INTERVALS_H), window.h, xterm.h. (frame.o): Depend on coding.h, composite.h, termhooks.h, and ccl.h. (fringe.o): Depend on blockinput.h, atimer.h, and systime.h. (ftfont.o): Depend on blockinput.h, atimer.h, systime.h, coding.h, fontset.h, ccl.h, and ftfont.h. (ftxfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h. (gtkutil.o): Depend on dispextern.h and composite.h. (image.o): Depend on epaths.h, character.h, coding.h, composite.h, termhooks.h, and ccl.h. (indent.o): Depend on systime.h, coding.h, and $(INTERVALS_H). (intervals.o): Depend on systime.h and coding.h. (keyboard.o): Depend on composite.h and coding.h. (keymap.o): Depend on coding.h and frame.h. (lread.o): Depend on systime.h, frame.h, blockinput.h, and atimer.h. (macros.o): Depend on systime.h, coding.h, and composite.h. (menu.o): Depend on systime.h, coding.h, composite.h, window.h, and atimer.h. (minibuf.o): Depend on systime.h and coding.h. Don't depend on dispextern.h explicitly. (print.o): Depend on termhooks.h, coding.h, and ccl.h. Don't depend explicitly on dispextern.h and composite.h. (process.o): Depend on character.h, xgselect.h, and sysselect.h. (regex.o): Don't depend on charset.h. (scroll.o): Depend on systime.h, coding.h, composite.h, and window.h. (search.o): Don't depend explicitly on composite.h. (sound.o): Depend on atimer.h and systime.h. (syntax.o): Don't depend explicitly on composite.h. (sysdep.o): Depend on coding.h and composite.h. (term.o): Depend on xterm.h and buffer.h. (terminal.o): Depend on dispextern.h, composite.h, and systime.h. (textprop.o): Don't depend on dispextern.h explicitly. (undo.o): Depend on dispextern.h. (window.o): Depend on coding.h and termhooks.h. Don't depend on dispextern.h and composite.h explicitly. (xdisp.o): Depend on ccl.h. (xfaces.o): Depend on coding.h and ccl.h. (xfns.o): Depend on $(INTERVALS_H) and ccl.h. (xfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h. (xftfont.o): Depend on atimer.h, systime.h, fontset.h, ccl.h, and ftfont.h. (xgselect.o): New dependency. (xmenu.o): Depend on composite.h, keymap.h, and sysselect.h. (xselect.o): Depend on keyboard.h, coding.h, and composite.h. (xsettings.o): Depend on dispextern.h, keyboard.h, systime.h, coding.h, composite.h, blockinput.h, atimer.h, and termopts.h. (xsmfns.o): Depend on frame.h and dispextern.h. (xterm.o): Depend on intervals.h, keymap.h, xgselect.h, and sysselect.h.