1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-28 01:00:52 -07:00
Commit graph

117168 commits

Author SHA1 Message Date
Eli Zaretskii
e5500a96a7 Fixed BPA stack overflow and infloop with nested brackets. 2014-10-13 14:26:58 +03:00
Eli Zaretskii
b8140e6ead Fix display of TUTORIA.he jumbled by BPA. 2014-10-13 10:39:03 +03:00
Eli Zaretskii
0c26561ddd Update NEWS and lispref docs. 2014-10-13 09:50:16 +03:00
Eli Zaretskii
41d384fa99 Ignore test/biditest.txt. 2014-10-12 21:19:41 +03:00
Eli Zaretskii
84e5bb98bf Fix bidi_cache_find when NEUTRALS_OK is false; RLI no longer aborts. 2014-10-12 20:13:14 +03:00
Eli Zaretskii
942ba67827 Refactored saving prev info, resolve_neutrals, and high-level cache access. 2014-10-12 19:23:43 +03:00
Eli Zaretskii
4d5fab649d Reset bracket_resolved bit earlier; remove bytepos from bidi_saved_info. 2014-10-11 17:10:46 +03:00
Eli Zaretskii
8cc6103196 Rename type_after_w1 into type_after_wn. 2014-10-11 15:24:30 +03:00
Eli Zaretskii
4eb60cd3a1 Reset the bracket_resolved flag before advancing to next character. 2014-10-11 15:21:26 +03:00
Eli Zaretskii
70939d8240 Fix assertion violations due to unresolvable neutrals in cache. 2014-10-10 16:31:23 +03:00
Eli Zaretskii
f6d76d1c6c Fixed crash at startup by starting bidi_bracket_type_t from 1, not zero. 2014-10-10 12:38:48 +03:00
Eli Zaretskii
18e91e6296 Added BPA. Emacs aborts at startup. 2014-10-09 20:54:42 +03:00
Eli Zaretskii
5824289292 Move SOS calculation into push/pop embedding level; fix N1/N2 w/isolates. 2014-10-04 18:09:11 +03:00
Eli Zaretskii
16f54832c0 Fixed a crash in 'C-x =' and in RLE followed by PDF; fixed 'C-x =' display. 2014-10-04 15:09:46 +03:00
Eli Zaretskii
6382f0a1d6 Fixed handling of LRI, RLI, and FSI.
Scrolled successfully through the entire biditest.txt file.
The parentheses are still not implemented.
2014-10-03 19:33:07 +03:00
Eli Zaretskii
e8207eb00d Finished writing code for isolates and fixed a few bugs (no parens yet). 2014-09-27 18:38:04 +03:00
Eli Zaretskii
d51702fd71 Fix N1 and N2. Remove special level for PDF.
Improve glyphless glyph display in .gdbinit/pgx.
2014-09-26 17:52:47 +03:00
Eli Zaretskii
0df5896cd2 Fix bidi_resolve_explicit when one directional control follows another. 2014-09-26 12:24:15 +03:00
Eli Zaretskii
027fa018a9 Remove the ignore_bn_limit ``optimization''. 2014-09-24 11:30:42 +03:00
Eli Zaretskii
f0d89bb4d7 Adapt bidi_resolve_neutral to new treatment of PDF to avoid assertion violations. 2014-09-24 11:06:26 +03:00
Eli Zaretskii
61a403ecde Fixed bidi_resolve_explicit_1 wrt isolate initiators and PDF.
bidi_resolve_neutral needs to be fixed, as it now aborts at line 2432.
2014-09-20 18:00:08 +03:00
Eli Zaretskii
c58ad38af2 Rewrite LRI/RLI/FSI handling in bidi_resolve_explicit_1. 2014-09-20 12:56:38 +03:00
Eli Zaretskii
0c068f1d4f Fix assertion violations due to a bug in bidi_set_sos_type; add assertions. 2014-09-19 11:32:54 +03:00
Eli Zaretskii
924d744508 Use the level stack for initial level below bidi_level_of_next_char.
This still crashes in TUTORIAL.he.
2014-09-13 20:49:40 +03:00
Eli Zaretskii
eb71ffc65e Added bidi-resolved-levels, with a bug. 2014-09-07 20:46:54 +03:00
Eli Zaretskii
a12d75c6e2 Added initial version of biditest.el and Unicode data file it needs. 2014-09-06 17:35:55 +03:00
Eli Zaretskii
2f3daa55d1 Optimize memory footprint of the bidi level stack. 2014-09-06 14:33:43 +03:00
Eli Zaretskii
a7fed5a882 Added BidiBrackets.txt and related Unicode properties to unidqata-gen.el. 2014-09-03 19:09:48 +03:00
Eli Zaretskii
2fca7ae050 Fixed problems revealed by -Wall. 2014-08-30 17:06:59 +03:00
Eli Zaretskii
23dbf47d06 Updated bidi_resolve_weak. Removed next_en_* members from stack. 2014-08-30 17:01:35 +03:00
Eli Zaretskii
991b257bf8 Updated pushing and popping the bidi stack, and sos calculations.
Added the necessary members to bidi_stack.
2014-08-30 15:19:26 +03:00
Eli Zaretskii
5d84f5d698 Fix find_first_strong_char and implement Unicode 8.0 isolate corrections.
find_first_strong_char accepts 1 additional argument, which says to stop
at the PDI that matches the FSI where we started; callers changed.
Implemented suggested Unicode 8.0 corrections for type of RLI/LRI/PDI.
2014-08-29 17:36:05 +03:00
Eli Zaretskii
d9abb2814d Finished coding of explicit directional format characters.
Refactored part of bidi_paragraph_init into find_first_strong_char.
Removed old kludges from bidi_it and the code.
sor is now sos.
2014-08-23 18:33:11 +03:00
Eli Zaretskii
8ccc6fa95c Remove bidi_ignore_explicit_marks_for_paragraph_level. 2014-08-23 14:02:40 +03:00
Eli Zaretskii
4f6bc3c7d0 Started working on implementing UBA v6.3.
Modified struct bidi_it as required by UBA changes.
Introduced BIDI_MAXDEPTH instead of BIDI_MAXLEVEL; users changed.
Added bidi_fetch_char_skip_isolates.
Changed bidi_paragraph_init to use bidi_fetch_char_skip_isolates.
Removed uses of bidi_ignore_explicit_marks_for_paragraph_level.
Reverted temporary kludges that treat isolate initiators as weak characters.
2014-08-23 13:58:14 +03:00
Katsumi Yamaoka
30f1ca3b9a lisp/gnus/mm-view.el (mm-display-inline-fontify): Make the working buffer temporarily displayed when running a mode function (at least org-mode requires it) 2014-08-21 23:02:23 +00:00
Ken Brown
58e6bac86f * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32 build. (Bug#18302) 2014-08-21 17:52:26 -04:00
Eli Zaretskii
8ab2588c9d Fix a bug in texinfo-make-menu.
lisp/textmodes/texnfo-upd.el (texinfo-specific-section-type): Don't
 recognize a Top node if there are other sectioning commands
 earlier in the Texinfo file.  This fixes a bug in
 texinfo-make-menu and avoids inflooping in
 texinfo-all-menus-update when they are invoked on texinfo.texi.
2014-08-21 18:07:13 +03:00
Martin Rudalics
b360b106e9 Handle failed attempts to split a side window (Bug#18304).
* window.el (window--side-window-p): New function.
(split-window, window-splittable-p): Use window--side-window-p to
determine whether WINDOW can be split (Bug#18304).
* calendar/calendar.el (calendar-basic-setup): Fix one call of
`window-splittable-p' and add another (Bug#18304).
2014-08-21 10:40:29 +02:00
Glenn Morris
8dc52a1a45 ChangeLog fix
Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01038.html
2014-08-20 16:07:00 -04:00
Sam Steingold
3f05baa175 Extract python-new-pythonpath to handle PYTHONPATH in user code
* lisp/progmodes/python.el (python-new-pythonpath): Extract from
`python-shell-calculate-process-environment'.
2014-08-20 11:33:10 -04:00
Eli Zaretskii
a558cd1cc4 Remove 16-bit limitations in scroll bar position reporting on MS-Windows.
src/w32term.c (w32_scroll_bar_handle_click)
 (w32_horizontal_scroll_bar_handle_click)
 (x_scroll_bar_report_motion)
 (x_horizontal_scroll_bar_report_motion): For SB_THUMBPOSITION and
 SB_THUMBTRACK, use the 32-bit position information returned by
 GetScrollInfo, not the 16-bit information returned in the Windows
 message sent to us.
2014-08-20 17:41:15 +03:00
Eli Zaretskii
d470a23c95 Fix horizontal scroll bar dragging in R2L paragraphs.
src/w32term.c (w32_horizontal_scroll_bar_handle_click): Fix the
 second coordinate ('y') reported for dragging the horizontal
 scroll bar thumb.
2014-08-19 18:08:02 +03:00
YAMAMOTO Mitsuharu
8de8f9b5cc * xdisp.c (erase_phys_cursor): Fix confusion between window-relative
and text area-relative x-coordinates.
2014-08-19 09:51:33 +09:00
Thierry Volpiatto
2e7d4343e9 * lisp/emacs-lisp/eldoc.el (eldoc-highlight-function-argument): Add support
for &key args.
* emacs-lisp/eldoc.el (eldoc-argument-case): Obsolete and change default.
(eldoc-function-argstring-format): Remove.
(eldoc-function-argstring): Always return upcase args.
Use help-make-usage.  Don't add parens.
(eldoc-get-fnsym-args-string): Don't obey eldoc-argument-case since
it's too late to do it right (bug#18048).
2014-08-18 15:28:40 -04:00
Eli Zaretskii
a8626b7ec1 Fix horizontal scrolling in non-selected windows.
lisp/scroll-bar.el (scroll-bar-horizontal-drag-1)
 (scroll-bar-toolkit-horizontal-scroll): When determining the
 paragraph direction, use the buffer of the window designated in
 the event.
2014-08-18 17:39:26 +03:00
Eli Zaretskii
39125b2248 Avoid overwriting the reversed_p flags in the glyph matrices.
Avoid overwriting the reversed_p flags in the glyph matrices when
 init_iterator or start_display are called.

 src/xdisp.c (init_iterator): Don't initialize the reversed_p flag of
 the glyph row here.
 (tool_bar_height, redisplay_tool_bar, try_window)
 (try_window_reusing_current_matrix, try_window_id)
 (get_overlay_arrow_glyph_row, display_menu_bar): Initialize the
 reversed_p flag of the iterator's glyph row where the glyph row
 is going to be redrawn.
2014-08-17 17:58:04 +03:00
Andreas Schwab
52e7a5b99f Handle missing space marker in unified diff during header fixup
* vc/diff-mode.el (diff-fixup-modifs): Handle empty line in
context of unified diff.
2014-08-16 21:51:27 +02:00
Paul Eggert
3bcff29cea Add dependencies to fix loaddefs race during parallel builds.
Without this, for example, 'make -j bootstrap' can fail and report
"Opening input file: no such file or directory,
.../lisp/calendar/diary-loaddefs.el ... recipe for target
'calendar/hol-loaddefs.el' failed", where the hol-loaddefs.el rule
got confused because diary-loaddefs.el was being built in parallel.
* Makefile.in ($(CAL_DIR)/diary-loaddefs.el):
Depend on $(CAL_DIR)/cal-loaddefs.el.
($(CAL_DIR)/hol-loaddefs.el): Depend on $(CAL_DIR)/diary-loaddefs.el.
2014-08-16 09:50:32 -07:00
Paul Eggert
2b4c15d829 * xdisp.c (set_horizontal_scroll_bar): Don't use uninitialized local. 2014-08-16 09:10:50 -07:00