Mercurial > emacs
view etc/schema/README @ 108750:3339da3cfeb3
Redesign bidi-aware edge positions of glyph rows, fix bug #6036.
dispextern.h (struct glyph_row): New members minpos and maxpos.
(MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
(MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
and maxpos members instead of start.pos and end.pos, respectively.
xdisp.c (display_line): Compare IT_CHARPOS with the position in
row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
(cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
(try_window_reusing_current_matrix, try_window_id): Use
ROW->minpos rather than ROW->start.pos.
(init_from_display_pos, init_iterator): Use EMACS_INT for
character and byte positions.
(find_row_edges): Renamed from find_row_end. Accept additional
arguments for minimum and maximum buffer positions seen by
display_line for this row. Don't use iterator to find the
position following the maximum one; instead, increment the
position found by display_line directly. Fix logic; eol_pos
should be tested before the rest. Handle the case of characters
delivered from display vector (bug#6036). Fix tests related to
it->method. Handle the truncated_on_right_p rows.
(RECORD_MAX_MIN_POS): New macro.
(display_line): Use it to record the minimum and maximum buffer
positions for glyphs in the row being assembled. Record the
position of the newline that terminates the line. If word wrap is
in effect, restore minimum and maximum positions seen up to the
wrap point, when iterator returns to it.
(try_window_reusing_current_matrix): Give up if in bidi-reordered
row and cursor not already at point. Restore original pre-bidi
code for unidirectional buffers.
dispnew.c (increment_row_positions, check_matrix_invariants):
Increment and check row->start.pos and row->end.pos, in addition
to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
.gdbinit (prowlims): Display row->minpos and row->maxpos.
Display truncated_on_left_p and truncated_on_right_p flags.
Formatting fixes.
(pmtxrows): Display the ordinal number of each row. Don't display
rows beyond the last one.
bidi.c (bidi_cache_iterator_state): Don't zero out new_paragraph:
it is not copied by bidi_copy_it.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 22 May 2010 22:32:21 +0300 |
parents | 8c6e6dcfccb4 |
children |
line wrap: on
line source
locate.rnc, relaxng.rnc, and schemas.xml are part of Emacs. They are used by nXML mode for mapping schemas to documents. The remaining files in this directory are schema for a variety of specifications released by the DocBook project, the Organization for the Advancement of Structured Information Standards (OASIS) and the World Wide Web Consortium (W3C). These schema are used by nXML mode. COPYRIGHT AND LICENSE INFORMATION FOR SCHEMA FILES The following files are part of the DocBook project: calstbl.rnc dbcalstbl.rnc dbhier.rnc dbnotn.rnc dbpool.rnc dbstart.rnc docbook.rnc These files are Copyright (C) 1992-2002 HaL Computer Systems, Inc., O'Reilly & Associates, Inc., ArborText, Inc., Fujitsu Software Corporation, Norman Walsh, Sun Microsystems, Inc., and the Organization for the Advancement of Structured Information Standards (OASIS). They are distributed under the terms of the following license: Permission to use, copy, modify and distribute the DocBook DTD and its accompanying documentation for any purpose and without fee is hereby granted in perpetuity, provided that the above copyright notice and this paragraph appear in all copies. The copyright holders make no representation about the suitability of the DTD for any purpose. It is provided "as is" without expressed or implied warranty. The following files are derived from technical recommendations published by the World Wide Web Consortium (W3C): 1. The XHTML Modularization Version 1.1 standard, available online at http://www.w3.org/TR/xhtml-modularization/ xhtml-applet.rnc xhtml-attribs.rnc xhtml-base.rnc xhtml-bdo.rnc xhtml-bform.rnc xhtml-btable.rnc xhtml-csismap.rnc xhtml-datatypes.rnc xhtml-edit.rnc xhtml-events.rnc xhtml-form.rnc xhtml-frames.rnc xhtml-hypertext.rnc xhtml-iframe.rnc xhtml-image.rnc xhtml-inlstyle.rnc xhtml-legacy.rnc xhtml-link.rnc xhtml-lst.rnc xhtml-meta.rnc xhtml-nameident.rnc xhtml-object.rnc xhtml-param.rnc xhtml-pres.rnc xhtml.rnc xhtml-ruby.rnc xhtml-script.rnc xhtml-ssismap.rnc xhtml-struct.rnc xhtml-table.rnc xhtml-text.rnc xhtml-tgt.rnc xhtml-xstyle.rnc 2. The XSL Transformations (XSLT) Version 1.0 standard, available online at http://www.w3.org/TR/xslt xslt.rnc 3. The W3C RDF/XML Syntax Specification (Revised), available online at http://www.w3.org/TR/rdf-syntax-grammar rdfxml.rnc These files are Copyright (C) 2001-2008 World Wide Web Consortium, (Massachusetts Institute of Technology, European Research Consortium for Informatics and Mathematics, Keio University). All Rights Reserved. This work is distributed under the W3C(R) Software License in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. From section 5.10 of the W3C Intellectual Rights FAQ ( http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620 ), schemas and DTDs that are part of W3C specifications are licensed under the W3C Software License: This work (and included software, documentation such as READMEs, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions. Permission to copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications: 1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. 2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, the W3C Software Short Notice should be included (hypertext is preferred, text is permitted) within the body of any redistributed or derivative code. 3. Notice of any changes or modifications to the files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders.