1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
Commit Graph

112568 Commits

Author SHA1 Message Date
Ken Brown
f747d82e08 Change size of static heap on Cygwin; report maximum usage after dumping.
* src/sheap.c (STATIC_HEAP_SIZE): Adjust to current needs; use bigger
static heap if ENABLE_CHECKING is defined.
(max_bss_sbrk_ptr): New variable.
(bss_sbrk): Use it.
(report_sheap_usage): Report maximum static heap usage instead of
ending static heap usage.
2013-08-18 13:37:31 -04:00
Eli Zaretskii
d2c28fab13 Fix a minor issue with loading zlib DLL on MS-Windows.
src/decompress.c (Fzlib_available_p) [WINDOWSNT]: Update the value
 of zlib_initialized according to the results of calling
 init_zlib_functions.
2013-08-17 20:18:07 +03:00
Xue Fuqiao
ad6643fe1a * text.texi (Case Changes): Fix an `args-out-of-range' error in the example. 2013-08-17 22:14:41 +08:00
Xue Fuqiao
ab1006358f * doc/lispref/modes.texi (SMIE, SMIE Grammar, SMIE Indentation): Add some indexes. 2013-08-17 19:14:10 +08:00
Xue Fuqiao
38b4c7f838 * doc/emacs/text.texi (Columns): Comment out undefined behavior. 2013-08-17 18:46:11 +08:00
Michael Albinus
f95527c8b2 * net/tramp.el:
* net/tramp-adb.el:
* net/tramp-cmds.el:
* net/tramp-ftp.el:
* net/tramp-gvfs.el:
* net/tramp-gw.el:
* net/tramp-sh.el: Don't wrap external variable declarations by
`eval-when-compile'.
2013-08-17 12:20:15 +02:00
Xue Fuqiao
d311017740 * doc/emacs/text.texi (Sorting): Fix indentation. 2013-08-17 16:04:31 +08:00
Xue Fuqiao
c9b39934d6 * doc/emacs/text.texi (Filling): Add cross-reference for hard newlines. 2013-08-17 12:31:22 +08:00
Xue Fuqiao
f33650d8cc * doc/emacs/text.texi (Enriched Justification): Minor fixes. 2013-08-17 10:45:22 +08:00
Xue Fuqiao
278d6dd088 Mention interactive call of buffer-disable-undo.
* doc/lispref/text.texi (Maintaining Undo): Mention interactive call of
buffer-disable-undo.
2013-08-17 08:48:35 +08:00
Xue Fuqiao
70ff8240e4 Another doc fix for `buffer-undo-list'. 2013-08-17 06:32:24 +08:00
Lars Magne Ingebrigtsen
49ceb676b0 (imagemagick_load_image): Remove the ping_wand code
The apparently only saved time on invalid animated images, and slowed
down everything else.  Optimise for the common case.
2013-08-16 17:31:04 +02:00
Lars Magne Ingebrigtsen
4b5fe4ee09 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
Now that Emacs supports ImageMagick animations.
2013-08-16 17:17:21 +02:00
Lars Magne Ingebrigtsen
6146bf5d2f image.c: Fix debugging code accidentally checked in 2013-08-16 17:13:42 +02:00
Lars Magne Ingebrigtsen
8a6f875f7e (imagemagick_get_animation_cache): Fix a double-free error. 2013-08-16 17:10:13 +02:00
Lars Magne Ingebrigtsen
274ff63f7f * image.c: Implement an ImageMagick per-image cache. 2013-08-16 16:54:46 +02:00
Xue Fuqiao
e4043ba039 Doc fix for `buffer-undo-list'. 2013-08-16 22:16:45 +08:00
Michael Albinus
13c366c974 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
(tramp-append-tramp-buffers): Rewrite buffer local variables part.
2013-08-16 14:41:17 +02:00
Glenn Morris
32c8eae2ad Auto-commit of generated files. 2013-08-16 06:17:35 -04:00
Martin Rudalics
3dfc5cd613 In mouse-autoselect-window-select do autoselect when mouse pointer is on margin.
* window.el (mouse-autoselect-window-select): Do autoselect when
mouse pointer is on margin.
2013-08-16 11:44:32 +02:00
Xue Fuqiao
907699465f Reverse previous change, because kill-{new, append} don't have obvious advantage. 2013-08-16 16:27:49 +08:00
Xue Fuqiao
7bef426b5f Advertise using kill-new' and kill-append' in Lisp programs.
* lisp/simple.el (copy-region-as-kill, kill-ring-save): Advertise using
`kill-new' and `kill-append' in Lisp programs.
2013-08-16 16:11:44 +08:00
Glenn Morris
86837e815e * net/ange-ftp.el (ange-ftp-skip-msgs): Bump :version. 2013-08-16 00:18:17 -07:00
William Parsons
4bbb43819f * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV (tiny change)
Fixes: debbugs:1972
2013-08-16 00:17:33 -07:00
Glenn Morris
e8bedf5a88 * lisp/net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
Handle "Remote Directory" response of some clients.

Fixes: debbugs:15058
2013-08-16 00:13:48 -07:00
Glenn Morris
58c4682f76 * bytecomp.el (byte-compile-make-variable-buffer-local): Tweak warning.
Fixes: debbugs:14926
2013-08-15 23:53:41 -07:00
Glenn Morris
57953f498a Simplify news and mail menu items
* lisp/menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
(menu-bar-tools-menu): Simplify news and mail items.

Fixes: debbugs:15095
2013-08-15 23:50:58 -07:00
Glenn Morris
3a2ddc2d18 Add functions to change the speed of animated images
* lisp/image-mode.el (image-mode-map): Add menu items to reverse,
increase, decrease, reset animation speed.
(image--set-speed, image-increase-speed, image-decrease-speed)
(image-reverse-speed, image-reset-speed): New functions.
(image-mode-map): Add bindings for speed commands.

* lisp/image.el (image-animate-get-speed, image-animate-set-speed):
New functions.
(image-animate-timeout): Respect image :speed property.

* etc/NEWS: Mention this.
2013-08-15 23:33:08 -07:00
Xue Fuqiao
bd805d5bae doc/lispref/text.texi(Margins): Add an index. 2013-08-16 14:03:18 +08:00
Paul Eggert
526e5233cc Spelling fixes. 2013-08-15 22:15:51 -07:00
Xue Fuqiao
c8068af567 Refine the documentation of `insert-buffer-substring'. 2013-08-16 11:16:03 +08:00
Xue Fuqiao
de179a3e1e * src/editfns.c (insert_before_markers): Mention overlay in the doc string. 2013-08-16 10:09:08 +08:00
Xue Fuqiao
8b8bf4a3ce * doc/lispref/text.texi (Insertion): Add cross-references. 2013-08-16 09:57:58 +08:00
Xue Fuqiao
2bede2ed96 Remove documentation of undefined behavior.
* doc/lispref/positions.texi (Character Motion):
* doc/lispref/markers.texi (Moving Markers):
(Creating Markers): Comment out undefined behavior.

* src/marker.c (set_marker): Remove documentation of undefined behavior.
2013-08-16 08:20:56 +08:00
Lars Magne Ingebrigtsen
0f8a692622 Add comment. 2013-08-15 22:17:35 +02:00
Lars Magne Ingebrigtsen
1eade94342 Whitespace fixup. 2013-08-15 22:10:47 +02:00
Lars Magne Ingebrigtsen
7967001450 (imagemagick_compute_animated_image): Allow certain degenerate images
(imagemagick_compute_animated_image): Allow images that say they
have sub-images that are bigger than the main image, but just crop
them.
2013-08-15 21:46:02 +02:00
Lars Magne Ingebrigtsen
1d18b1e6ab (imagemagick_compute_animated_image): Fix animated segafault
(imagemagick_compute_animated_image): Setting the iterator row to
zero is apparently not allowed.
2013-08-15 20:47:28 +02:00
Lars Magne Ingebrigtsen
703dbebab0 image.c animation touchups
* image.c (imagemagick_compute_animated_image): Animate correctly
when sub-images are smaller than the main image.
2013-08-15 20:34:23 +02:00
Jan Djärv
63216c5ee1 * nsmenu.m (menuWillOpen:): Fix preprocessor test.
Fixes: debbugs:15001
2013-08-15 19:36:45 +02:00
Lars Magne Ingebrigtsen
6f94cbbcb5 (imagemagick_compute_animated_image): Clean up code slightly 2013-08-15 19:26:34 +02:00
Stefan Monnier
10fa0ed328 * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
previous line.
(debugger-eval-expression, debugger-record-expression):
Use read--expression (bug#15102).

Fixes: debbugs:15101
2013-08-15 13:21:19 -04:00
Lars Magne Ingebrigtsen
a5b5f73f32 (imagemagick_compute_animated_image): Respect the GIF disposal methods. 2013-08-15 19:20:06 +02:00
Michael Albinus
b74f0d960f Declare external variables. 2013-08-15 19:02:09 +02:00
Ken Brown
0fe73012cd Revert last change to gmalloc.c; update some comments. 2013-08-15 12:37:15 -04:00
Paul Eggert
691a357f3a Fix minor problems found by static checking.
* frame.c (delete_frame):
* xdisp.c (next_element_from_display_vector):
Avoid uninitialized local.
* image.c (imagemagick_compute_animated_image): Port to C89.
Prefer usual GNU indentation style for loops.
Be more careful about bizarrely large sizes, by using ptrdiff_t
instead of int.
2013-08-15 09:28:42 -07:00
Lars Magne Ingebrigtsen
f196836bc0 Further image.c compilation warning fixes 2013-08-15 18:03:56 +02:00
Lars Magne Ingebrigtsen
995be755ab (imagemagick_compute_animated_image): Implement a simple cache
(imagemagick_compute_animated_image): Fix some compilation
warnings.  Implement a very simple cache to make the animation
usable at all, but it should be replaced with a per-image cache.
2013-08-15 18:01:13 +02:00
Dmitry Antipov
42fe2e88d6 Fix infinite frame selection loop (Bug#15025).
* frame.c (delete_frame): Prefer fast ad-hoc loop to next_frame.
2013-08-15 19:37:03 +04:00
Eli Zaretskii
0542623943 Fix bug #15099 with 'box' face attribute in display tables.
src/xdisp.c (next_element_from_display_vector): Support 'box' face attribute
 in the face definitions of a display vector.
2013-08-15 18:28:53 +03:00