aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* * src/image.c (imagemagick_error): New function. Juri Linkov2011-12-162-3/+39
| | | | | | | | | | (imagemagick_load_image): Comment out `MagickSetResolution' call. Use `imagemagick_error' where ImageMagick functions return `MagickFalse'. (Fimagemagick_types): Add `Fnreverse' to return the list in the proper order. Fixes: debbugs:10112
* Spelling fixes.Paul Eggert2011-12-147-12/+11
|
* xftfont.c (xftfont_draw): Use the font metrics of s->font to fill background ↵Kenichi Handa2011-12-152-1/+6
| | | | (Bug#8992).
* Spelling fixes.Paul Eggert2011-12-143-3/+3
|
* Fix doc-string typo.Martin Rudalics2011-12-132-1/+2
|
* Fix doc-string of recenter-redisplay.Martin Rudalics2011-12-132-3/+6
|
* Minor fixes in window handling code and docs.Martin Rudalics2011-12-132-3/+11
| | | | | | | | | | * window.c (Vwindow_combination_resize) (Vwindow_combination_limit): Use t instead of non-nil in doc-strings. * window.el (delete-other-windows): Use correct frame in call to window-with-parameter. * windows.texi (Splitting Windows): Use t instead of non-nil when describing window-combination-resize.
* Spelling fixes.Paul Eggert2011-12-1114-25/+24
|
* coding.c (Funencodable_char_position): Pay attention to the buffer text ↵Kenichi Handa2011-12-112-0/+16
| | | | relocation (Bug#9389).
* * src/xterm.c (x_term_init): Move call to gdk_window_add_filter beforeJan Djärv2011-12-102-3/+10
| | | | | | gtk_init. Fixes: debbugs:10100
* Fix bug #10263 with assertion violation using telugu-itrans input method.Eli Zaretskii2011-12-102-1/+7
| | | | | src/xdisp.c (RECORD_MAX_MIN_POS): Use IT->cmp_it.charpos only if IT->string is nil.
* * nsterm.h (x_free_frame_resources): Declare.Jan Djärv2011-12-102-0/+3
|
* Don't crash on bad user input.Jan Djärv2011-12-104-9/+25
| | | | | | | | | | | * nsfns.m (ns_get_defaults_value): New function. (Fns_get_resource, x_get_string_resource): Call ns_get_defaults_value. * nsterm.h (ns_get_defaults_value): Declare. * nsterm.m (ns_default): Call ns_get_defaults_value. Fixes: debbugs:10103
* Fix bug #10170 with extra scrolling after C-s.Eli Zaretskii2011-12-092-2/+8
| | | | src/xdisp.c (try_scrolling): Don't set scroll_down_p if dy is zero.
* Fix for GNUstep build failure during dumping.YAMAMOTO Mitsuharu2011-12-092-3/+15
| | | | | | * unexelf.c (unexec) [NS_IMPL_GNUSTEP]: Take account of the case that where the value of an _OBJC_* symbol points to is in the .bss section (Bug#10240).
* Add a bug number to a ChangeLog entry.Kenichi Handa2011-12-091-1/+1
|
* coding.c (encode_coding_ccl): Check (charbuf < charbuf_end) after the loop ↵Kenichi Handa2011-12-082-1/+7
| | | | to call ccl_driver at least once.
* ftfont.c (get_adstyle_property): Fix previous change (Bug#10233).Kenichi Handa2011-12-082-2/+7
|
* src/w32.c: Implement --no-site-lisp on Windows (bug#10208).Juanma Barranquero2011-12-082-0/+23
|
* Small init_lread fix for bug#10208Glenn Morris2011-12-062-10/+21
| | | | | * src/lread.c (init_lread): If no_site_lisp, exclude site-lisp/ in installation and source directories as well.
* * src/minibuf.c (Fread_from_minibuffer): Doc fix.Chong Yidong2011-12-062-12/+26
| | | | Fixes: debbugs:10228
* * src/process.c (start_process_unwind): Treat any pid <= 0, except -2,Glenn Morris2011-12-062-2/+8
| | | | | | | as an error, not just -1. For example, make_process inits the pid to 0. Fixes: debbugs:10217
* Fix typos.Juanma Barranquero2011-12-062-3/+3
|
* Handle X selection requests in input-pending-p.Chong Yidong2011-12-052-6/+24
| | | | | | | * src/keyboard.c (process_special_events): New function. (swallow_events, Finput_pending_p): Use it. Fixes: debbugs:10195
* * coding.c (encode_designation_at_bol): Don't use uninitializedPaul Eggert2011-12-052-1/+6
| | | | local variable (Bug#9318).
* Spelling fixes.Paul Eggert2011-12-0511-22/+22
|
* ftfont.c (get_adstyle_property): If the font is not BDF nor PCF, return Qnil ↵Kenichi Handa2011-12-052-0/+12
| | | | (Bug#8046, Bug#10193).
* merge trunkKenichi Handa2011-12-0535-121/+299
|\
| * src/lisp.h (process_quit_flag): Fix external declaration.Juanma Barranquero2011-12-052-2/+6
| |
| * Don't macro-inline non-performance-critical code.Stefan Monnier2011-12-045-23/+34
| | | | | | | | | | * src/eval.c (process_quit_flag): New function. * src/lisp.h (QUIT): Use it.
| * * nsfns.m (get_geometry_from_preferences): New function.Jan Djärv2011-12-042-0/+40
| | | | | | | | | | | | (Fx_create_frame): Call get_geometry_from_preferences. Fixes: debbugs:10103
| * Don't call Lisp in signal handlerAndreas Schwab2011-12-044-14/+36
| | | | | | | | | | | | | | | | | | | | * emacs.c (Qkill_emacs): Define. (syms_of_emacs): Initialize it. * keyboard.c (interrupt_signal): Don't call Fkill_emacs here, set Qquit_flag to `kill-emacs' instead. (quit_throw_to_read_char): Add parameter `from_signal'. All callers changed. Call Fkill_emacs if requested and safe. * lisp.h (QUIT): Call Fkill_emacs if requested.
| * Spelling fixes.Paul Eggert2011-12-0421-30/+30
| |
| * * widget.c (update_wm_hints): Return if wmshell is null.Jan Djärv2011-12-034-0/+30
| | | | | | | | | | | | | | | | | | | | | | (widget_update_wm_size_hints): New function. * widget.h (widget_update_wm_size_hints): Declare. * xterm.c (x_wm_set_size_hint): If USE_X_TOOLKIT, call widget_update_wm_size_hints. Fixes: debbugs:10104
| * Fix bug #10192 with assertion violation when scrolling.Eli Zaretskii2011-12-032-1/+2
| | | | | | | | | | | | src/xdisp.c (redisplay_window): Don't let `margin' become negative. This could happen when scroll-margin is zero and scroll-*-aggressively is a small float number.
| * Fix parts 1 & 2 of bug #10183 with RTL headings in Org mode.Eli Zaretskii2011-12-032-20/+37
| | | | | | | | | | | | src/xdisp.c (handle_invisible_prop): If the invisible text ends just before a newline, prepare the bidi iterator for consuming the newline, and keep the current paragraph direction.
| * Change `wordify' to `word-search-regexp'.Juri Linkov2011-12-022-20/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/isearch.el (isearch-occur): Use `word-search-regexp' for `isearch-word'. (isearch-search-and-update): Add condition for `isearch-word' and call `word-search-regexp'. * src/search.c (Fword_search_regexp): New Lisp function created from `wordify'. Change type of arg `lax' from `int' to `Lisp_Object'. (Fword_search_backward, Fword_search_forward) (Fword_search_backward_lax, Fword_search_forward_lax): Use `Fword_search_regexp' instead of `wordify'. Doc fix. (syms_of_search): Define `Sword_search_regexp'. Fixes: debbugs:10145
| * * src/fileio.c (Finsert_file_contents): Move after-change-function callStefan Monnier2011-12-012-10/+17
| | | | | | | | | | | | | | to before the "handled:" label, since all "goto handled" appear in cases where the *-change-functions have already been properly called. Fixes: debbugs:10117
| * Fixes: debbugs:10169Andreas Schwab2011-12-012-1/+6
| | | | | | | | | | * src/keyboard.c (interrupt_signal): Don't call kill-emacs when waiting for input.
| * REALLY fix bug #10164 with crashes when linum-mode is turned on.Eli Zaretskii2011-11-302-4/+6
| | | | | | | | | | | | src/dispnew.c (adjust_glyph_matrix): Remove the assertion that verifies glyph row's hash code--we have just reallocated the glyphs, so their contents can be complete garbage.
| * Fix typos.Juanma Barranquero2011-11-303-3/+3
| |
| * src/dispnew.c (adjust_glyph_matrix) [XASSERTS]: Add missing check.Juanma Barranquero2011-11-302-1/+5
| |
| * Fix bug #10164 with assertion violations in linum-mode.Eli Zaretskii2011-11-302-3/+10
| | | | | | | | | | | | src/dispnew.c (adjust_glyph_matrix) [XASSERTS]: Ensure ROW's attributes are tested _before_ calling verify_row_hash, to protect against GCC re-ordering of the tests.
* | src/ChangeLog: Fix previous change.Kenichi Handa2011-12-051-9/+8
| |
* | Pay attetion to the buffer relocation on encoding (Bug#9318).Kenichi Handa2011-12-052-40/+159
|/
* * xterm.c (handle_one_xevent): Only set async_visible and friendsJan Djärv2011-11-293-2/+19
| | | | | | | | | | if net_wm_state_hidden_seen is non-zero (get_current_wm_state): Set net_wm_state_hidden_seen to 1 if _NET_WM_STATE_HIDDEN is in NET_WM_STATE. * xterm.h (struct x_output): net_wm_state_hidden_seen is new. Fixes: debbugs:10002
* Remove GCPRO-related macros that exist only to avoid shadowing locals.Paul Eggert2011-11-286-149/+143
| | | | | | | | | * lisp.h (GCPRO1_VAR, GCPRO2_VAR, GCPRO3_VAR, GCPRO4_VAR, GCPRO5_VAR) (GCPRO6_VAR, UNGCPRO_VAR): Remove. See <http://lists.gnu.org/archive/html/emacs-diffs/2011-11/msg00265.html>. All uses changed to use GCPRO1 etc. (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5, GCPRO6, UNGCPRO): Revert to old implementation (i.e., before 2011-03-11).
* Truncate scroll runs that copy to where we copied to.YAMAMOTO Mitsuharu2011-11-282-8/+72
| | | | | | * dispnew.c (scrolling_window): Truncate overlaps in copy destination of scroll runs so as to avoid assigning disabled bogus rows and unnecessary graphics copy operations.
* Fix MS-Windows build with MSVC compiler.Eli Zaretskii2011-11-273-7/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | Parts of the changes by Fabrice Popineau <fabrice.popineau@supelec.fr>. lib-src/makefile.w32-in (LOCAL_FLAGS): Add $(EMACS_EXTRA_C_FLAGS). lib-src/emacsclient.c (main) <environ>: Remove declaration, already pulled in by unistd.h on Posix hosts and stdlib.h on MS-Windows. nt/inc/stdint.h (uint32_t, uint64_t) [_WIN64]: New typedefs. (UINT64_MAX) [_WIN64]: Fix definition. (uintmax_t, intmax_t): Fix definitions. nt/inc/inttypes.h (strtoumax, strtoimax) [!__MINGW32__]: Provide correct definitions. nt/config.nt (HAVE_DECL_STRTOLL): Define. (va_copy) [_WIN64]: Provide a better definition. src/s/ms-w32.h (utimbuf) [_MSC_VER]: Don't define. (snprintf) [_MSC_VER]: Redirect to _snprintf. (strtoll) [_MSC_VER]: Redirect to _strtoi64. (malloc, free, realloc, calloc): Redirect to e_* only when compiling Emacs. src/lisp.h (GCTYPEBITS): Move before first use. (ALIGN_GCTYPEBITS) [_MSC_VER]: Define. (DECL_ALIGN) [_MSC_VER]: Use it, as MSVC doesn't like bit ops in this macro definition. (tzname): Redirect to _tzname for all values of _MSC_VER. Fixes: debbugs:9960
* Work around an Ubuntu 11.10 bug where Emacs loops forever when started.Jan Djärv2011-11-272-0/+14
| | | | | | | | * configure.in: Check for gtk_window_set_has_resize_grip. * src/gtkutil.c (xg_create_frame_widgets): Call gtk_window_set_has_resize_grip (FALSE) if that function is present with Gtk+ 2.0.