1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-27 15:40:47 -08:00
Commit graph

102039 commits

Author SHA1 Message Date
Paul Eggert
e5d76069f0 * image.c (check_image_size): Use 1024x1024 if unknown frame (Bug#9189).
This is needed if max-image-size is a floating-point number.
2011-07-29 00:05:17 -07:00
Reiner Steib
29c8a348c5 Fix my mail address. 2011-07-29 08:47:56 +02:00
Andreas Schwab
43dc9f5b01 Update NEWS 2011-07-28 22:23:19 +02:00
Andreas Schwab
9a79b20c28 Implement ## reader macro
* src/lread.c (read1): Read ## as empty symbol.

* src/print.c (print_object): Print empty symbol as ##.
2011-07-28 22:23:19 +02:00
Alp Aker
d55e9c533f Fix for raise display property on NS (Bug#8913).
* src/nsfont.m (nsfont_open): Remove assignment to voffset and
unnecessary vars hshink, expand, hd, full_height, min_height.
(nsfont_draw): Use s->ybase as baseline for glyph drawing.

* src/nsterm.h (nsfont_info): Remove voffset field.
2011-07-28 14:50:05 -04:00
Alp Aker
bf3492a57e Fix display artifacts from ns_dumpglyphs_stretch (Bug#8470).
* src/nsterm.m (ns_dumpglyphs_stretch): Avoid overwriting left fringe
or scroll bar.
2011-07-28 14:41:21 -04:00
Alp Aker
be8ec0b3d4 Allow building with librsvg on Darwin (Bug#9177).
* configure.in (HAVE_RSVG): Allow use of -lrsvg-2 for any NextStep
build, not just GNUstep.
2011-07-28 14:33:24 -04:00
Alp Aker
ffe57a7a0e Fix tooltip dimensions on NS (Bug#9176).
* src/nsmenu.m (-setText): Size tooltip dimensions precisely to
contents.
(EmacsTooltip -init): Remove bezels and add shadows to
tooltip windows.
2011-07-28 14:30:59 -04:00
Alp Aker
d8c2fa7879 Fix image fg and bg colors on NS (Bug#9175).
* nsfns.m (x_set_foreground_color): Set f->foreground_pixel when
setting frame foreground color.
(x_set_background_color): Likewise.
2011-07-28 14:29:09 -04:00
Alp Aker
4843aac304 Implement strike-through and overline on NextStep (Bug#8863).
* src/nsfont.m (nsfont_open): Use underline position provided by font,
instead of hard-coded value of 2.
(nsfont_draw): Call ns_draw_text_decoration instead.

* src/nsterm.h: Add declaration for ns_draw_text_decoration.

* src/nsterm.m (ns_draw_text_decoration): New function for drawing
underline, overline, and strike-through.
(ns_dumpglyphs_image, ns_dumpglyphs_stretch): Add call to
ns_draw_text_decoration.  Change treatment of cursor drawing to
accomodate underlining, etc.
2011-07-28 14:26:29 -04:00
Eli Zaretskii
bc7ece8713 src/buffer.c: Fix last change. 2011-07-28 20:46:21 +03:00
Eli Zaretskii
4cc60b9b85 Turn on bidi-display-reordering by default.
src/buffer.c (init_buffer_once, syms_of_buffer): Set
 bidi-display-reordering to t by default.
 doc/emacs/mule.texi (Bidirectional Editing): Document the fact that
 bidi-display-reordering is t by default.
 lispref/display.texi (Bidirectional Display): Document the fact that
 bidi-display-reordering is t by default.
2011-07-28 20:18:25 +03:00
Paul Eggert
66606eea1f * alloc.c (memory_full) [!SYNC_INPUT]: Fix signal-related race.
Without this fix, if a signal arrives just after memory fills up,
'malloc' might be invoked reentrantly.
2011-07-28 10:05:33 -07:00
Bastien Guerry
21956cce2b admin/MAINTAINERS: Added Bastien Guerry as current maintainer of Org 2011-07-28 19:03:01 +02:00
Bastien Guerry
58e9b49a90 org: don't always refresh the agenda. 2011-07-28 17:25:29 +02:00
Bastien Guerry
3ab2c837b3 Merge changes from Org 7.4 to current Org 7.7. 2011-07-28 17:13:49 +02:00
Bastien Guerry
44a8054f97 Remove org-complete.el.
It will be replaced by org-pcomplete.el in the next commit.
2011-07-28 16:30:02 +02:00
Jose E. Marchesi
a514d8567c Fix goto-line bug.
lisp/simple.el (goto-line): Use string-to-number to provide a
numeric argument to read-number.
2011-07-28 16:05:07 +02:00
Glenn Morris
1fb8351b1d Auto-commit of generated files. 2011-07-28 06:18:13 -04:00
Paul Eggert
476371c4fd * image.c (x_check_image_size) [!HAVE_X_WINDOWS]: Return 1.
In other words, assume that every image size is allowed, on non-X
hosts.  This assumption is probably wrong, but it lets Emacs compile.
2011-07-28 02:40:05 -07:00
Andreas Schwab
f3fcc40d5e * regex.c (re_iswctype): Convert return values to boolean. 2011-07-28 11:34:13 +02:00
Eli Zaretskii
350c992fe3 Fix bug #9184 with org-agenda crashing under bidi redisplay.
src/xdisp.c (compute_display_string_pos): Don't use cached display
 string position if the buffer had its restriction changed.
2011-07-28 02:44:45 -04:00
Paul Eggert
5266b4bb60 * callproc.c (Fcall_process): Use 'volatile' to avoid vfork clobbering. 2011-07-27 18:46:23 -07:00
Paul Eggert
044c22e545 Merge: Integer signedness and overflow and related fixes.
Fixes: debbugs:9079
2011-07-27 17:48:01 -07:00
Paul Eggert
8265d3bb30 * bidi.c (bidi_dump_cached_states): Merge ptrdiff_t fix. 2011-07-27 17:24:58 -07:00
Paul Eggert
2573a8376a Merge from trunk. 2011-07-27 17:15:43 -07:00
Lars Magne Ingebrigtsen
dbf38e02c9 Silence error message we get in gnutls when the peer hangs up
* gnutls.c (emacs_gnutls_read): Don't message anything if the peer
closes the connection while we're reading.

Fixes: debbugs:9182
2011-07-27 22:45:56 +02:00
Paul Eggert
427c285b57 * GNUmakefile: New file.
This is for convenience, so that one can run GNU make in an
unconfigured source tree, and get a default build.
2011-07-27 13:25:22 -07:00
Michael Albinus
8a7eddd7bf * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
connection process, it could be nil.
2011-07-27 13:22:22 +02:00
Leo Liu
1ddd96f5cf Simplify url handling in rcirc-mode 2011-07-27 11:44:45 +08:00
Alan Mackenzie
b248a85d10 Fontify bitfield declarations properly.
cc-langs.el (c-has-bitfields): New lang variable.
(c-symbol-chars): Now exported as a lang variable.
(c-not-primitive-type-keywords): New lang variable.

cc-fonts.el (c-font-lock-declarations): Jump over the QT keyword "more"
to prevent "more slots: ...." being spuriously parsed as a bitfield
declaraion.

cc-engine.el (c-beginning-of-statement-1): Refactor and enhance to handle
bitfield declarations.
(c-punctuation-in): New function.
(c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
declarations properly.
2011-07-26 19:18:40 +00:00
Ulf Jasper
68575ab00b icalendar: Take care of multiple vcalendars in a single file.
lisp/ChangeLog:

	* calendar/icalendar.el (icalendar--all-events): Take care of
	multiple vcalendars in a single file.
	(icalendar--convert-float-to-ical): checkdoc fixes.

	* automated/icalendar-tests.el (icalendar-tests--compare-strings):
	Removed, simply use string=.
	(icalendar--diarytime-to-isotime)
	(icalendar--datetime-to-diary-date)
	(icalendar--datestring-to-isodate)
	(icalendar--format-ical-event)
	(icalendar--parse-summary-and-rest)
	(icalendar-tests--do-test-import)
	(icalendar-tests--do-test-cycle) : Changed argument order of
	string= to EXPECTED ACTUAL.
	(icalendar--import-format-sample)
	(icalendar--format-ical-event)
	(icalendar-import-non-recurring)
	(icalendar-import-rrule)
	(icalendar-import-duration)
	(icalendar-import-bug-6766)
	(icalendar-real-world): Adjusted to string= instead of
	icalendar-tests--compare-strings.
	(icalendar-import-multiple-vcalendars): New.
2011-07-26 17:36:04 +02:00
Jan Djärv
d6f0886cf1 * nsmenu.m (ns_popup_dialog): Add an "ok" button if no buttons
are specified.

Fixes: debbugs:9168
2011-07-25 23:49:42 +02:00
Paul Eggert
2eb1f9e6a5 * bidi.c (bidi_dump_cached_states): Fix printf format mismatch.
Found by GCC static checking and --with-wide-int on a 32-bit host.
2011-07-25 09:39:39 -07:00
Eli Zaretskii
2238127283 Fix logic of caching display string positions for bidi display.
src/xdisp.c (compute_display_string_pos): Fix logic of caching
 previous display string position.  Initialize cached_prev_pos to -1.
 Fixes slow-down at the beginning of a buffer.
2011-07-25 18:36:47 +03:00
Deniz Dogan
0f0a88b94c * lisp/image.el (insert-image): Clarifying docstring. 2011-07-25 03:44:10 +02:00
Andrew Cohen
43a0a4fab7 nnimap.el (nnimap-make-thread-query): Quote message-ids for gmail. 2011-07-24 22:15:15 +00:00
Eli Zaretskii
7daee9109e Fix cursor motion slowdown at the beginning of buffer.
src/xdisp.c (compute_display_string_pos): Fix logic of caching
 previous display string position.  Initialize cached_prev_pos to -1.
2011-07-24 21:19:10 +03:00
Stefan Monnier
14486a1036 * src/xml.c: Fix Lisp_Object/int mixup. 2011-07-24 10:01:58 -04:00
Michael Albinus
0b3f36df8c * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
`tramp-send-command-and-check' if there is no error.
(tramp-send-command-and-read): Suppress *all* errors if NOERROR.
2011-07-24 11:56:26 +02:00
Eli Zaretskii
f25e39b45a Fix crash at startup under XASSERTS.
src/xfaces.c (check_lface_attrs) [HAVE_WINDOW_SYSTEM]: Allow `nil'
 for attrs[LFACE_FONTSET_INDEX].
2011-07-24 01:30:09 -04:00
Andrew Cohen
47f0b35ef3 Merge changes made in Gnus trunk.
nnir.el (nnir-search-thread): New function to make an nnir group based on a thread query.
gnus-sum.el (gnus-refer-thread-use-nnir): New variable to control use of nnir in thread referral.
 (gnus-summary-refer-thread): Use it.
nnimap.el (nnimap-request-thread): Use it.
2011-07-24 00:19:29 +00:00
Paul Eggert
04c4b52e0a * xml.c (parse_region): Remove unused local
that was recently introduced.
2011-07-23 11:31:25 -07:00
Yair Friedman
c27ac9aedf Improve and expand the Hebrew input methods.
leim/quail/hebrew.el ("hebrew"): Additional key mappings.
 ("hebrew-new", "hebrew-lyx", "hebrew-full")
 ("hebrew-biblical-tiro", "hebrew-biblical-sil", "yiddish-royal")
 ("yiddish-keyman"): New input methods.
2011-07-23 20:29:42 +03:00
Eli Zaretskii
5deb92fd9f doc/lispref/display.texi (Bidirectional Display): New section. 2011-07-23 18:36:52 +03:00
Eli Zaretskii
8719d1dcad src/bidi.c: Backport from trunk a bugfix for bidi_paragraph_init at EOB. 2011-07-23 17:34:51 +03:00
Eli Zaretskii
be18c5a51f Fix compilation with GLYPH_DEBUG.
src/xfns.c (unwind_create_frame) [GLYPH_DEBUG]: Adapt to changes in
 2008-02-22T17:42:09Z!monnier@iro.umontreal.ca.
2011-07-23 08:15:53 -04:00
Eli Zaretskii
a2709514e6 src/xdisp.c: Fix a typo in a comment. 2011-07-23 06:58:44 -04:00
Eli Zaretskii
a9269c1877 Fix pos-visible-in-window-p under bidi redisplay.
src/xdisp.c (move_it_in_display_line_to): Record the best matching
 position for TO_CHARPOS while scanning the line, and restore it on
 exit if none of the characters scanned was an exact match.  Fixes
 vertical-motion and pos-visible-in-window-p under bidi redisplay
 when exact match is impossible due to invisible text, and the
 lines are truncated.
2011-07-23 13:46:21 +03:00
Eli Zaretskii
c1734fbd6f Fix pos-visible-in-window-p under bidi redisplay when lines are truncated.
src/xdisp.c (move_it_in_display_line_to): Record the best matching
 position for TO_CHARPOS while scanning the line, and restore it on
 exit if none of the characters scanned was an exact match.  Fixes
 vertical-motion and pos-visible-in-window-p when exact match is
 impossible due to invisible text, and the lines are truncated.
2011-07-23 13:42:24 +03:00