1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 00:30:37 -08:00
Commit graph

35925 commits

Author SHA1 Message Date
Eli Zaretskii
811aceeaef src/window.c (Fwindow_body_width): Doc fix. (Bug#19395) 2014-12-18 19:15:01 +02:00
Stefan Monnier
fb420e7789 * lisp/subr.el (sit-for): Tweak docstring.
Fixes: debbugs:19381

* src/buffer.c (syms_of_buffer) <Vafter_change_functions>: fix docstring.
* build-aux/git-hooks/commit-msg (at_sign): Bump up line-length limit
to 78.
2014-12-15 15:09:04 -05:00
Eli Zaretskii
d9005dd52d src/gnutls.c (gnutls_init): Fix deprecation warning from GCC. 2014-12-13 18:58:08 +02:00
Eli Zaretskii
16d4c1cdc8 A better fix for bug#19346
src/gnutls.c (Fgnutls_available_p, syms_of_gnutls): Move
 gnutls-available-p out of the HAVE_GNUTLS conditional, and define
 them only once.
2014-12-12 11:19:59 +02:00
Ted Zlatanov
301a4014a7 Always define `gnutls-available-p' even if GnuTLS is not available.
Fixes: debbugs:19346

* gnutls.c (Fgnutls_available_p syms_of_gnutls): Move later for
clarity.  Let the availability check return Qnil when the GnuTLS
integration is not available, instead of erroring out.

* gnutls.h: Always declare syms_of_gnutls.

* emacs.c (main): Always include gnutls.h and run syms_of_gnutls.
2014-12-11 17:55:36 -05:00
Eli Zaretskii
0c2f254bc3 Support overflow-newline-into-fringe together with word-wrap (bug#19300)
src/xdisp.c (move_it_in_display_line_to, display_line): Don't
 disallow overflow-newline-into-fringe when word-wrap is in
 effect.
2014-12-10 19:54:19 +02:00
Lee Duhem
c1c2cee7c5 * src/eval.c (Fsignal): Remove duplicate test.
(Fautoload_do_load): Fix up docstring.
2014-12-04 14:13:13 -05:00
Jan Djärv
d9d3831472 More flicker fixes for OSX, related to bug 18757.
* nsfns.m (ns_set_name_as_filename): Don't set represented filename
at once, call ns_set_represented_filename instead.

* nsterm.h: Declare ns_set_represented_filename.

* nsterm.m (represented_filename, represented_frame): New variables.
(ns_set_represented_filename): New function.
(sendEvent:): Set represented filename here to avoid flicker,
related to Bug#18757.
2014-12-02 14:05:27 +01:00
Eli Zaretskii
6b765b8fac Fix bug #19201 with after-strings not being displayed.
src/xdisp.c (handle_single_display_spec): When ignoring a fringe
 bitmap display, reset the ignore_overlay_strings_at_pos_p flag.
 (next_element_from_buffer): When done with overlays, reset the
 ignore_overlay_strings_at_pos_p flag.
2014-11-27 18:35:27 +02:00
Eli Zaretskii
73cad916c8 Fix bug #19141 with UNCs in w32-shell-execute.
src/w32fns.c (Fw32_shell_execute): Convert forward slashes in
 DOCUMENT to backslashes, if DOCUMENT is a file.
2014-11-25 19:04:14 +02:00
Ulrich Müller
ed54567c7c Use consistent paxctl and setfattr flags for temacs.
* Makefile.in (temacs$(EXEEXT)): Use consistent flag settings
for paxctl and setfattr. Fixes temacs startup failure with
grsecurity/PaX enabled Linux kernel (bug#19067).
2014-11-25 07:47:11 +01:00
Paul Eggert
f24c8f98ec Fix white-space problems in ChangeLogs. 2014-11-24 17:16:27 -08:00
Glenn Morris
3e3b940fc1 * src/keyboard.c: Fix comment typo. 2014-11-23 23:49:39 -08:00
Paul Eggert
342bc0e04b .gitignore cleanup.
* .gitignore: Merge contents of subsidiary files and organize the
result so as to avoid duplication.  Remove no-longer needed entries.
* admin/charsets/.gitignore, admin/unidata/.gitignore:
* doc/lispintro/.gitignore, etc/.gitignore, leim/.gitignore:
* leim/ja-dic/.gitignore, lib-src/.gitignore, lisp/.gitignore:
* lisp/calc/.gitignore, lisp/calendar/.gitignore:
* lisp/cedet/.gitignore, lisp/emulation/.gitignore:
* lisp/erc/.gitignore, lisp/eshell/.gitignore, lisp/gnus/.gitignore:
* lisp/international/.gitignore, lisp/language/.gitignore:
* lisp/leim/.gitignore, lisp/leim/quail/.gitignore:
* lisp/mail/.gitignore, lisp/mh-e/.gitignore, lisp/net/.gitignore:
* lisp/nxml/.gitignore, lisp/obsolete/.gitignore:
* lisp/play/.gitignore, lisp/progmodes/.gitignore:
* lisp/term/.gitignore, lisp/textmodes/.gitignore:
* lisp/url/.gitignore, nt/.gitignore, src/.gitignore:
Remove; no longer needed.
2014-11-17 17:58:28 -08:00
Oscar Fuentes
81e0cca7bb Define MINGW_W64 and use it instead of _W64
... for detecting MinGW-w64. _W64 is not specific of MinGW-w64, it is
defined for compatibility with MS VC++.

	* nt/inc/ms-w32.h: Define MINGW_W64.

	* admin/CPP-DEFINES: Mention MINGW_W64.

	* nt/addpm.c: Use it.

	* nt/addsection.c: Use it.

	* nt/preprep.c: Use it.

	* src/w32.c: Use MINGW_W64 instead of _W64

	* src/w32term.c: Likewise.
2014-11-17 23:10:00 +01:00
Stefan Monnier
8679082639 * src/frame.c (Fhandle_switch_frame): Deactivate shift-region (bug#19003).
* lisp/window.el (handle-select-window): Deactivate shift-region.
2014-11-16 00:30:12 -05:00
Jan D
a6b42789b5 Backport: Fix for 18993.
* nsterm.m (ns_send_appdefined): Check for application defined
event on Cocoa (Bug#18993).  Backport from trunk.
2014-11-15 19:20:37 +01:00
Eli Zaretskii
1fb97e79d2 Fix bug #19060 with inaccurate pixel-based scrolling.
src/window.c (window_scroll_pixel_based): Avoid truncation/rounding
 errors in computing the number of pixels to scroll.  Suggested by
 Kelly Dean <kelly@prtime.org>.
2014-11-15 19:04:17 +02:00
Jan D
b8c9a4e36d Fix getting frame size wrong when restoring desktop.
* nsmenu.m (update_frame_tool_bar): If tool bar changes height,
call updateFrameSize.
2014-11-15 14:35:15 +01:00
Jan D
836c444db7 Fixes: 18757
* nsterm.m (setFrame:): Remove call to display (Bug#18757).
2014-11-15 13:39:30 +01:00
Eli Zaretskii
71e866c066 src/window.h (WINDOW_FRAME_LINE_HEIGHT): Fix a typo in a comment.
Reported by Kelly Dean <kelly@prtime.org>.
2014-11-15 11:25:16 +02:00
Jan Djärv
6688117e79 Fixes: 19036
* nsfns.m (x_set_foreground_color, x_set_background_color)
(x_set_cursor_color, Fxw_color_values): Block/unblock input,
use SET_FRAME_GARBAGED instead of redraw_frame (Bug#19036).
2014-11-14 08:41:53 +01:00
Eli Zaretskii
ea75a0e069 Fix bug #18982 with assertion violations when reverting buffers.
src/fileio.c (Finsert_file_contents): Invalidate buffer caches also
 when the inserted text does not need decoding.
2014-11-09 18:40:43 +02:00
Eli Zaretskii
2ae1e0d427 Fix bug #18995 with compiling w32heap.c with -funroll-loops.
src/w32heap.c (allocate_heap): Set the lower limit of heap at 8MB.
2014-11-09 17:57:37 +02:00
Jan Djärv
d29658759a * nsterm.h (EmacsScroller): judge returns bool.
* nsterm.m (ns_set_vertical_scroll_bar): Release bar.
(ns_judge_scroll_bars): Only set removed if judge returns true.
(judge): Returns bool == condemned.  Remove self from window.
(setPosition:portion:whole:): Remove raise SIGIO.

Fixes: debbugs:18757
2014-11-09 14:47:02 +01:00
Jan Djärv
d244e9bf03 * nsterm.m (ns_set_vertical_scroll_bar): Don't call bar setPosition: unless
needed (Bug#18757).

Fixes: debbugs:18993
2014-11-08 20:40:17 +01:00
Jan Djärv
86b1c771e1 Attempt to fix NS hang. Will probably cause merge conflicts.
* nsterm.m (init): Replace OSX 10.9 check with IMPL_COCOA.
(run): Ditto.  Only use non-system event loop if OSX version is
exactly 10.9.

Fixes: debbugs:18993
2014-11-08 17:32:37 +01:00
Michael Albinus
499a7f1cdb * callproc.c (encode_current_directory): Encode dir at the end. 2014-11-07 21:09:34 +01:00
Glenn Morris
2a1f6afdfe * src/callproc.c (encode_current_directory): Fix thinko in previous. 2014-11-07 09:04:10 -08:00
Michael Albinus
5282dec1ec * callproc.c (encode_current_directory): Support handling of file
names prepended by "/:".

Fixes: debbugs:18891
2014-11-07 15:45:34 +01:00
Alan Mackenzie
10c5eacef0 * src/syntax.c (back_comment): Fix off-by-one error.
Fixes: debbugs:18022
2014-11-06 09:05:58 -05:00
Dima Kogan
5b9c3a5767 * src/xgselect.c (xg_select): Use g_main_context_acquire.
Fixes: debbugs:18861
2014-11-05 22:02:11 -05:00
Michael Albinus
076582fde3 * dired.c (Ffile_attributes): Return Qnil, if Fexpand_file_name
raises an error.

Fixes: debbugs:18891
2014-11-05 12:23:10 +01:00
Eli Zaretskii
3247e0eae0 src/window.c (window_scroll_pixel_based): Fix a typo in a comment. 2014-11-03 20:22:07 +02:00
Eli Zaretskii
29a13e2afe Fix minor issues with functions that dump glyph matrices.
src/xdisp.c (Fdump_glyph_matrix, Fdump_frame_glyph_matrix): Doc fix.
 (Fdump_frame_glyph_matrix): Don't segfault if invoked on a GUI
 frame; instead, print an error message.
2014-11-03 19:14:50 +02:00
Jan Djärv
c33070f492 * nsfns.m (ns_set_doc_edited): Check for FRAME_NS.
Fixes: debbugs:18925
2014-11-03 08:15:11 +01:00
Jan Djärv
4e0cc3517b * macfont.m (macfont_glyph_extents): Turn off syntetic bold
if force_integral_p (i.e. no antialias).
(macfont_draw): Check ns_antialias_text, also turn off syntetic
bold if no antialias.

Fixes: debbugs:18876
2014-10-31 19:41:07 +01:00
Jan Djärv
08f558056d * emacs.c (main): Don't chdir to $HOME on Cocoa if --chdir was given.
Fixes: debbugs:18846
2014-10-31 16:18:36 +01:00
Jan Djärv
c465f1c27f * nsfns.m (ns_set_doc_edited): Do all logic (check frames) here
instead of in xdisp.c, function now takes void.

* nsterm.h (ns_set_doc_edited): Declare taking no args.

* xdisp.c (prepare_menu_bars): Remove HAVE_NS code.
(redisplay_internal): Call ns_set_doc_edited if HAVE_NS (Bug#18884).
2014-10-30 20:15:38 +01:00
Jan Djärv
b7bf631c80 * nsfns.m (x_icon): icon_top/left is int.
* nsterm.h (EmacsScroller): Replace Lisp_Object win with
struct window*.
Remove getMouseMotionPart.
(ns_output): Make icon_top/left int.

* nsterm.m (ns_mouse_position): Remove unused code.
(initFrame🪟, dealloc): Use window instead of win.
(getMouseMotionPart🪟x:y:): Remove, unused.
(sendScrollEventAtLoc:fromEvent:): Make Lisp_Object win from window.

Fixes: debbugs:18889
2014-10-30 18:23:52 +01:00
Samuel Bronson
fda2bc46a8 * src/unexmacosx.c (copy_data_segment): Port to GCC 4.6+ (backport)
Fixes: debbugs:9927
2014-10-29 22:31:12 -07:00
Eli Zaretskii
205be0810a Fix bug #18873 with non-ASCII characters in user's HOME directory.
src/fileio.c (Fexpand_file_name): Use make_unibyte_string, not
 build_string, when importing a home directory.
2014-10-28 19:48:21 +02:00
Eli Zaretskii
475e766a94 Fix bug #18839 with incorrect image size returned by posn-at-point.
src/dispnew.c (buffer_posn_from_coords): Use
 WINDOW_WANTS_HEADER_LINE_P, not WINDOW_WANTS_MODELINE_P, to
 account for the header-line height.
2014-10-26 17:42:08 +02:00
YAMAMOTO Mitsuharu
1a7aa3ce7f * xdisp.c (erase_phys_cursor): Fix confusion between window-relative and text area-relative x-coordinates. [Backport] 2014-10-22 10:39:48 +09:00
YAMAMOTO Mitsuharu
2498362599 * xdisp.c (draw_glyphs): Set clipping to highlight boundaries. [Backport] 2014-10-22 10:31:37 +09:00
Glenn Morris
d9a72916e5 * src/minibuf.c (history-length): Increase default from 30 to 100.
* lisp/cus-start.el (history-length): Bump :version.  [Backport]
2014-10-20 18:02:40 -04:00
Stefan Monnier
290d4b570f * src/xdisp.c (redisplay_window): Re-run pre-redisplay-function after we
move point.
2014-10-20 17:48:58 -04:00
Glenn Morris
83bad90efe Add 24.4 release ChangeLog entries 2014-10-20 20:21:15 +01:00
Eli Zaretskii
cacd5c3580 Fix display on X of 1-pixel R2L characters.
src/xterm.c (x_draw_hollow_cursor): Fix display of hollow cursor on
 1-pixel R2L characters.
 Reported by Dmitry Antipov <dmantipov@yandex.ru>, see
 http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00518.html.
2014-10-17 09:43:36 +03:00
Glenn Morris
affeda3b11 Tabify recent ChangeLog change 2014-10-15 21:47:10 -04:00