Lines Matching +refs:python +refs:indent +refs:guess +refs:indent +refs:offset
3370 // Check for possible overflow of size + offset
3372 + angle::CheckedNumeric<decltype(size + offset)> checkedSize(size);
3373 checkedSize += offset;
4577 int64_t offset,
4579 + DCHECK_GE(offset, 0);
4583 backing_file_.Read(offset, reinterpret_cast<char*>(data.data()), size);
4589 + int64_t offset,
4591 + DCHECK_GE(offset, 0);
4598 + if (!base::CheckAdd(offset, write_size).AssignIfValid(&write_end_offset)) {
4608 + int result = backing_file_.Write(offset, reinterpret_cast<char*>(data.data()),
5063 // The offset into the current item of the first byte not yet written to the
7708 - * The stop offset between 0 and 1 along the gradient.
7709 + * The stop offset along the gradient, expressed as a 16.16 fixed-point
8210 + FT_ULong offset,
8217 + FT_ULong offset,
8886 + FT_ULong offset,
8892 + return mm->load_item_var_store( FT_FACE(face), offset, itemStore );
8898 + FT_ULong offset,
8906 + return mm->load_delta_set_idx_map( FT_FACE( face ), offset, map,
20770 state->offset = (unsigned)here.val;
20779 Tracevv((stderr, "inflate: distance %u\n", state->offset));
21222 - typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */
21532 z_off_t offset, int whence));
21535 - compressed file. The offset represents a number of bytes in the
21536 + Set the starting position to offset relative to whence for the next gzread
21537 + or gzwrite on file. The offset represents a number of bytes in the
21570 - Returns the current offset in the file being read or written. This offset
21572 - appending or when using gzdopen() for reading. When reading, the offset
21575 + Return the current compressed (actual) read or write offset of file. This
21576 + offset includes the count of bytes that precede the gzip stream, for example
21578 + offset does not include as yet unused buffered input. This information can
21794 - typedef long ptrdiff_t; /* guess -- will be caught if guess is wrong */
22501 /* sort them by offset and check that they don't overlap. */
22537 *dst_size, (*offset + size) ));
22540 - (FT_ULong)( *offset + size ) ) )
22543 + (FT_ULong)( *offset + size ) ) )
22546 *dst_size = *offset + size;
22582 FT_UInt offset;
22623 - offset = ( 2 + num_substreams ) * 4;
22624 + offset = 2 + 2 + 2 + 2 + ( num_substreams * 4 );
22625 if ( offset > info->glyf_table->TransformLength )
22629 offset += substream_size;
22637 + if ( overlap_bitmap_length > info->glyf_table->TransformLength - offset )
22640 + overlap_bitmap_offset = pos + offset;
22642 + FT_TRACE5(( " Overlap bitmap: offset = %lu; size = %lu;\n",
22644 + offset += overlap_bitmap_length;
22651 bbox_bitmap_offset = substreams[BBOX_STREAM].offset;
22655 - substreams[BBOX_STREAM].offset += bitmap_length;
22658 + substreams[BBOX_STREAM].offset += bbox_bitmap_length;
22721 if ( FT_STREAM_SEEK( substreams[N_POINTS_STREAM].offset ) )
22934 FT_UInt offset;
22945 - /* read pointer is strictly greater than a position offset */
22949 + /* read pointer is strictly greater than a position offset by certain */
23520 + /* This is a guess, since Apple's CoreText engine doesn't */
23560 FT_ULong offset,
23675 FT_ULong offset,
24202 + FT_ULong offset,
24207 + FT_ULong offset,
24533 - if ( !(dir_entry1.offset & 0x80000000UL ) /* DataIsDirectory */ )
24534 + if ( !( dir_entry1.offset & 0x80000000UL ) /* DataIsDirectory */ )
24542 - if ( !(dir_entry2.offset & 0x80000000UL ) /* DataIsDirectory */ )
24543 + if ( !( dir_entry2.offset & 0x80000000UL ) /* DataIsDirectory */ )
24809 + eliminating offset overflows. The API is not available unless HarfBuzz is
25299 representation where each subtable is a node and each offset forms an edge. The nodes only need
25332 For each overflow in each iteration the algorithm will attempt to apply offset overflow resolution
25337 * If the overflowing offset is inside a space other than space 0 and the subgraph space has more
25346 …the case where a single subtable is 65k and the graph structure requires an offset to point over i…
25366 +Simple tables are tables that do not use offset graphs.
25387 +Complex tables are made up of graphs of objects, where offset's are used
25426 +of the offset field within the parent object, and the width of the offset.
25433 +An important optimization in packing offset graphs is de-duplicating equivalent objects. If you
25450 +Once all objects have been packed the next step is to assign actual values to all of the offset
25452 +link the resolver computes the offset between the parent and child and writes the offset into
25458 +in that offset field link resolution is aborted and the offset overflow resolver is invoked.
27355 + for (auto& offset : it) {
27357 + if (unlikely (!o) || !o->serialize_subset (c, offset, this))
28292 print ('check-static-inits.py: needs python 3.5 for recursive support in glob')
28769 print ("#define use_offset_0x%04xu %d" % (start, offset))
28776 offset += ends[-1] - starts[-1]
28778 print ("}; /* Table items: %d; occupancy: %d%% */" % (offset, occupancy))
32667 - auto offset = feature_records.length;
32685 - range->features.features = reinterpret_cast<hb_ms_feature_t *> (offset);
32686 - range->features.num_features = feature_records.length - offset;
32836 + auto offset = feature_records.length;
32854 + range->features.features = reinterpret_cast<hb_ms_feature_t *> (offset);
32855 + range->features.num_features = feature_records.length - offset;
33313 …ctStr (StructAtOffsetOrNull<UnsizedByteStr> (cff2, font->privateDictInfo.offset), font->privateDic…
34537 const LangSys& l = this+_.first.offset;
34546 const LangSys& l = this+_.first.offset;
34556 - * Adobe tools calculated the offset of the FeatureParams sutable from the
34557 + * Adobe tools calculated the offset of the FeatureParams subtable from the
36207 - for (auto& offset : it) {
36209 - if (unlikely (!o) || !o->serialize_subset (c, offset, this))
36928 - unsigned int offset,
36935 - skippy_iter.reset (c->buffer->idx + offset - 1, count);
37408 * table of the font. The list returned will begin at the offset provided.
38080 + * @start_offset: offset of the first kern entry to retrieve
42004 // guidance to the repacker for better offset overflow resolution.
43028 + * offset overflows. A nullptr is returned if the repacking attempt fails.
43085 + * position: position of the offset field in bytes
43102 + * num_real_links: num of offset field in the object
43103 + * real_links: pointer to array of offset info
43191 unsigned offset = 0, num_tables = ARRAY_LENGTH (table_tags);
43192 - while ((hb_face_get_table_tags (source, offset, &num_tables, table_tags), num_tables))
43193 + while ((hb_face_get_table_tags (plan->source, offset, &num_tables, table_tags), num_tables))
72328 + unsigned offset = 0, len;
72332 + offset,
73390 -#!/usr/bin/env python
74615 - * python/libxml2class.txt: python update modified the order
74794 - * include/libxml/tree.h tree.c python/generator.py: adds
74855 - * doc/xml.html doc/news.html configure.in python/setup.py NEWS:
74863 - * python/tests/Makefile.am python/tests/xpathleak.py: add the
74877 - * Makefile.am: run the python tests on make check
74879 - * python/libxml.c: convert python serialization to the xmlSave APIs
75154 - * python/generator.py python/setup.py: apply patch from Martin fixing
75155 - python whitespaces
75171 - python/types.c python/libxml_wrap.h python/libxml.c: fx compilation
75227 - * python/generator.py: fix an infinite loop bug
75385 - * python/types.c: fix a memory error when using namespace nodes
75387 - * python/tests/Makefile.am python/tests/xpathns.py: add a specific
75431 - * python/Makefile.am python/tests/Makefile.am: applied cleanup
75538 - Makefile.am python/tests/Makefile.am python/Makefile.am
75735 - * python/types.c: try to allow compilation on old python version
75853 - * libxml2-python-api.xml: also added accessor for the python bindings
75953 - * python/libxml.py: fixed tab problem with patch from
76012 - * python/libxml.c: fix a memory leak in the python string handling
76013 - when SAX event are passed back to the python handlers
76035 - * python/generator.py python/libxml.py: apparently id() sometimes
76238 - * python/Makefile.am: remove the build path recorded in the python
76277 - * python/libxml.py python/types.c: applied patch from Ross Reedstrom,
76322 - on validation errors, the heuristic to guess is a vctxt user
76365 - * python/generator.py: fixed the conversion of long parameters
76434 - * python/libxml.c, python/libxml.py, python/tests/compareNodes.py,
76435 - python/tests/Makefile.am:
76483 - * python/types.c: patch from Nic Ferrier to provide a better type
76484 - mapping from XPath to python
76728 - guess that this sneaked trying to eliminate the query
76805 - the python detection scheme should fix bug #338526
76883 - python/libxml.c: more cleanups based on coverity reports.
76923 - * python/libxml2.py: remove a tab, as pointed out on IRC
76947 - * python/types.c: Nic Ferrier found debug statement left in the
77416 - * python/libxml.py: remove warnings to stdout patch from Nic Ferrier
77834 - * configure.in: changes the way the python binary is found, should
77863 - * python/generator.py: fixed a deprecation warning
77864 - * python/tests/tstLastError.py: silent the damn test when Okay !
78085 - * python/libxml.c: applied fix from Jakub Piotr Clapa for
78137 - * python/libxml.c: don't output any message on failed resolver lookups,
78138 - better done by the python user provided resolver layer.
78520 - * python/generator.py python/libxml2-python-api.xml: fixed
78596 - * xstc/xstc-to-python.xsl: Cleanup.
78671 - * doc/* testapi.c elfgcchack.h: rebuilt to add python bindings
78784 - * xstc/Makefile.am xstc.py xstc-to-python.xsl: Adapted the
78938 - * python/libxml.c python/libxml.py: applied patch from Brent Hendricks
78939 - adding namespace removal at the python level #300209
78940 - * python/tests/Makefile.am python/tests/nsdel.py: added the regression
79093 - * python/libxml.c: fixed bug #168504
79108 - * python/generator.py python/libxml.py: another patch from Brent
79110 - * python/tests/Makefile.am python/tests/validDTD.py
79111 - python/tests/validRNG.py python/tests/validSchemas.py: also
79116 - * python/generator.py python/libxml.c: applied patch from Brent
79117 - Hendricks to avoid leak in python bindings when using schemas
79202 - decimal-handling routines. Fixes python some problems
79203 - turned up by the python tests.
79256 - * python/tests/Makefile.am python/tests/readernext.py: added
79315 - * Makefile.am doc/examples/Makefile.am python/tests/Makefile.am
79317 - * python/generator.py python/libxml.c python/tests/Makefile.am
79318 - python/tests/tstmem.py: applied memory leak fix from Brent Hendricks
79461 - * Makefile.am, python/tests/Makefile.am, xstc/Makefile.am: added
79539 - * python/generator.py: applied Stéphane Bidoul patch to find
79683 - * python/libxml.py: make __str__ call serialize() on nodes, c.f.
79752 - * Makefile.am configure.in: fixed dependency on python 2.3,
79878 - * python/generator.py: added most required entries to
79890 - * python/Makefile.am, python/generator.py: enhanced for enabling
79894 - (e.g. UTF16), and code to use python 't' format instead of
79919 - * python/generator.py: modified to allow the ns and nsDefs
80034 - * python/generator.py python/libxml.c python/libxml2class.txt
80035 - python/libxml_wrap.h python/types.c: Applied patch from Brent
80037 - * python/tests/Makefile.am python/tests/dtdvalid.py
80038 - python/tests/test.dtd: integrated the provided regression test
80262 - * python/libxml.c: register xmlSchemaSetValidErrors, patch from
80319 - * test/HTML/python.html result/HTML/python.html*: added specific tests
80327 - * python/libxml.c: fixed a problem occurring only in x86_64 when
80353 - * python/Makefile.am: applied patch from Thomas Fitzsimmons fixing
80395 - * python/generator.py python/libxml.c python/tests/outbuf.py:
80397 - related to saving to python file objects.
80471 - * python/drv_libxml2.py: another patch from Malcolm Tredinnick
80484 - * python/libxml.py: applied patch from Malcolm Tredinnick fixing
80485 - python exception hierarchy #139824
80622 - * xstc/Makefile.am xstc/xstc-to-python.xsl xstc/xstc.py Makefile.am:
80643 - * xstc/xstc-to-python.xslt xstc/ms-test-def.xml xstc/nist-test-def.xml
80645 - create python test scripts, which will run the W3C XML Schema Test
80651 - The stylesheet "xstc-to-python.xslt" should be run against the
80652 - definition files to produce the python scripts.
80777 - * python/libxml.c: fix a problem on last commit
80782 - include/libxml/xpathInternals.h python/libxml.c
80783 - python/libxml_wrap.h: trying to remove some warning when compiling
80846 - * xmlschemas.c include/libxml/xmlschemas.h python/generator.py
80847 - python/libxml.c python/libxml_wrap.h python/types.c
80848 - python/tests/schema.py python/tests/Makefile.am: Applied patch
80908 - * python/libxml.py: apply fix from Marc-Antoine Parent about
80945 - * Makefile.am config.h.in configure.in python/Makefile.am:
80946 - applied a patch from Gerrit P. Haase to get python bindings
81044 - * python/generator.py: added a check on the argument for some
81048 - * python/libxml.c: minor fix for a warning message; added a
81051 - * python/libxml2class.txt: regenerated
81071 - * python/libxml.py: ran 'expand' on the file to get rid of mixture
81076 - * python/drv_libxml.py: added an encoding "special comment" to avoid
81078 - * Makefile.am, python/Makefile.am, python/tests/Makefile.am: small
81101 - * python/tests/sync.py: added a specific test
81102 - * python/tests/Makefile.am doc/examples/Makefile.am
81113 - * python/libxml.c: Changed the number of XPath extension functions
81120 - * xmlmemory.c python/libxml.c python/libxml2-python-api.xml:
81122 - with libxslt python bindings
81126 - * python/libxml.c python/generator.py python/libxml.py
81127 - python/libxml2-python-api.xml python/libxml2class.txt:
81140 - * python/generator.py: do not provide functions used as destructor
81518 - * python/tests/tstLastError.py: better portability fix for f(*args),
81530 - * Makefile.am python/tests/Makefile.am python/tests/tstLastError.py:
81568 - * xmllint.c xmlsave.c python/generator.py python/libxml.c: Fixed
81667 - * python/tests/Makefile.am python/tests/reader8.py: test for
81696 - * python/Makefile.am: applied fix from Mike Hommey
81719 - * libxml.spec.in: fixing Red Hat bug #120482 , libxml2-python
81720 - should depend on the version of python used to compile it.
81746 - * python/.cvsignore: Add generated files, to make cvs silent.
81762 - * Makefile.am: added PYTHONPATH to python tests for Schemas
81909 - * python/libxml.c python/libxml.py: applied patch from Anthony Carrico
81914 - * .cvsignore and python/.cvsignore patched
82045 - * python/tests/*.py: applied patch from Malcolm Tredinnick
82046 - to avoid tabs in python sources, should fix #135095
82100 - * python/tests/indexes.py python/tests/reader.py: indicated
82101 - encoding of the test file, needed for python 2.3
82156 - * python/tests/Makefile.am python/tests/indexes.py: added a
82208 - * python/libxml.c: fixed problem with serialization of namespace
82318 - * python/libxml.c: applied patch from Frederic Peters
82383 - * python/generator.py python/tests/tstLastError.py: applied
82425 - * python/libxml2-python-api.xml python/libxml_wrap.h python/types.c
82426 - python/tests/Makefile.am python/tests/tstLastError.py: applied
82428 - python, and the associated test
82483 - * xmlwriter.c: applied patch from Lucas Brasilino fixing an indent
82538 - * python/generator.py, python/libxml2class.txt: fixed problem
82655 - * python/Makefile.am, python/tests/Makefile.am,
82788 - * python/libxml.py: tried to fix the problems reported in
82829 - * python/libxml.py: oops forgot to modify/commit the new code.
82833 - * python/generator.py python/libxml.c python/libxml_wrap.h:
82836 - * python/tests/outbuf.py python/tests/serialize.py: fixes and
82896 - * doc/xml.html doc/python.html: fix tst.py text, which didn't
83194 - python/libxml2class.txt: enhanced for range checking,
83196 - * python/generator.py: minor change to fix a warning
83219 - * python/generator.py: small enhancement to assure ATTRIBUTE_UNUSED
83281 - * python/libxml.c: previous fix for #124044 was broken, correct
83293 - * python/libxml.c: be more defensive in the xmlReader python bindings
83401 - * python/libxml.py: removed tabs, replaced with spaces
83466 - * xmlreader.c python/tests/reader6.py: bugfixing some problem some
83477 - * win32/libxml2.def.src python/libxml2class.txt doc/libxml2-api.xml:
83479 - * python/tests/Makefile.am python/tests/reader7.py
83480 - python/tests/walker.py: adding regression testing for the
83503 - * python/libxml2class.txt doc/libxml2-api.xml: rebuilt the API
83514 - * python/tests/error.py result/HTML/doc3.htm.err
83579 - * testHTML.c, testSAX.c, python/libxml.c: minor fixes to avoid
83587 - glade (or glade-python)
83793 - * python/tests/reader2.py: the error messages changed.
83840 - * python/tests/reader2.py result/VC/* result/valid/*:
83936 - include/libxml/xpathInternals.h python/libxml.c:
83942 - * xmlmemory.c: better fix, avoids breaking the python bindings
84061 - * python/libxml.c: fix a stupid bug so that ns() works on
84082 - the parseDoc() python bindings
84168 - * python/libxml.c: use stderr and not stdout for default errors
84169 - in python environment bug #122552
84202 - * Makefile.am result/*.rdr : adding non-python reader regression
84343 - globals entry points to the python bindings
84369 - to avoid problem in python parsing.
84688 - * error.c trionan.[ch] testThreads.c python/generator.py:
84696 - python/libxml.c include/libxml/xmlmemory.h: small changes
84727 - * python/tests/reader2.py: updated the testcase with
84796 - * python/generator.py python/libxml.c python/libxml2class.txt:
84798 - in python
85082 - * python/tests/Makefile.am python/tests/reader2.py
85083 - python/tests/thread2.py: integrated the associated testcase and
85088 - * configure.in libxml.spec.in python/Makefile.am: trying
85089 - to conciliate --with-python= requirements and RPM builds,
85194 - * win32/configure.js python/setup.py.in: applied patch
85223 - * python/generator.py: fixed a problem in the generator where
85225 - not symmetric and dependent on python internal hash order,
85266 - * doc/libxml2-api.xml python/libxml2class.txt: automatic update
85291 - * python/libxml.c python/libxml.py: applied patch from
85361 - * python/tests/Makefile.am python/tests/reader[46].py: added some
85420 - * doc/libxml2-api.xml python/libxml2class.txt: resulting updates
85421 - * python/tests/reader5.py: added an example for those new
85561 - * python/tests/ctxterror.py python/tests/readererr.py: update the
85587 - * python/libxml.c: Python may require TRIO as Albert Chin pointed out
85602 - * python/setup.py.in : was missing "drv_libxml2.py"
85672 - * python/tests/reader.py: added to test to the regression checks
85918 - * python/libxml.c: fixed some base problems when Python provides
85996 - * relaxng.c: guess what ! Relax-NG bugfixing, what a surprise...
86031 - * python/generator.py: patch from Stéphane Bidoul to fix the generator
86032 - on python < 2.2
86086 - * check-relaxng-test-suite.py: python script to run regression
86101 - * python/generator.py python/libxml_wrap.h python/types.c: adding
86103 - * python/tests/Makefile.am python/tests/relaxng.py: added a specific
86155 - * python/generator.py python/libxml_wrap.h: prepared the integration
86187 - * configure.in valid.c xmlreader.c python/libxml_wrap.h
86188 - python/types.c: fixing #104096 to compile without regexps
86236 - * python/libxml.c: removed an unprotedted debug message Aleksi Suhonen
86384 - * python/generator.py: seems there is no good reasons to
86396 - * xmlreader.c python/drv_libxml2.py python/generator.py
86397 - python/libxml.c python/libxml.py python/libxml_wrap.h
86398 - python/types.c: patch from Stéphane Bidoul for better per
86400 - * python/tests/ctxterror.py python/tests/readererr.py:
86410 - * xmlreader.c include/libxml/xmlreader.h python/generator.py
86411 - python/libxml.c python/libxml.py win32/libxml2.def.src: applied
86414 - * python/tests/Makefile.am python/tests/readererr.py: adding the
86424 - * python/libxml.c: cleanup patch from Stéphane Bidoul
86432 - * python/generator.py python/libxml.c python/libxml.py
86433 - python/libxml_wrap.h python/types.c: applied and fixed a patch
86436 - * python/tests/Makefile.am python/tests/ctxterror.py: added a
86463 - * python/generator.py: fixed a bug raised by Raymond Wiker,
86469 - * python/libxml.py python/libxml.c python/libxml2-python-api.xml:
86482 - * python/tests/reader3.py: added a specific test.
86486 - * python/drv_libxml2.py: update from Stéphane Bidoul: python 2.1
86532 - * python/Makefile.am: fix a filename bug
86555 - * python/tests/reader.py python/tests/reader2.py
86556 - python/tests/reader3.py: small changes mostly due to context
86563 - * python/libxml.py: integrated the Python 2.2 optimizations
86572 - * python/libxml.py: a few fixes pointed out by Hannu Krosing
86576 - * python/setup.py.in: patch from Stéphane Bidoul to include
86591 - * xmlreader.c python/tests/reader2py: okay the DTD validation
86596 - * xmlreader.c python/tests/reader2py: Fixing some more mess
86602 - * xmlreader.c python/tests/reader.py: another couple of problem
86608 - * libxml.spec.in python/Makefile.am python/drv_libxml2.py:
86610 - based on the python XmlTextReader interface.
86631 - * xmlreader.c python/tests/reader.py: fixed another couple of
86636 - * xmlreader.c python/tests/reader2.py: fixed another validity
86639 - * python/tests/reader3.py: cleanup
86643 - * xmlreader.c python/tests/reader2.py: fixed a problem with
86649 - * python/generator.py: modified the generator to allow keeping
86652 - xmlTextReader instance gets destroyed if the python wrapper for
86657 - * xmlreader.c python/tests/reader.py: fixed another pair of problem
86662 - * xmlreader.c python/tests/reader.py: fixed another problem
86667 - * xmlreader.c python/tests/reader.py: fixed a limit case problem
86673 - * xmlreader.c python/tests/reader.py: fixed a couple of problem
86684 - * xmlreader.c python/tests/reader.py: fixed a bug pointed out
86693 - * python/libxml.py python/libxml2class.txt: related updates
86694 - * python/tests/Makefile.am python/tests/reader.py
86695 - python/tests/reader2.py python/tests/reader3.py: updated a bit
86700 - * python/generator.py python/libxml2class.txt
86701 - python/tests/reader.py python/tests/reader2.py: changed the
86715 - * python/tests/Makefile.am python/tests/reader2.py: added a
86720 - * python/libxml.py: added a few predefined xmlTextReader parser
86725 - * python/libxml_wrap.h: trying to fix #102037
86747 - * python/libxml.c python/setup.py.in: patch from Stéphane Bidoul
86756 - * doc/libxml2-api.xml python/tests/reader.py: one really need
86819 - * python/libxml2class.txt python/tests/reader.py: this increased the
86827 - * python/generator.py python/libxml_wrap.h python/types.c
86828 - python/libxml2class.txt: added the reader to the Python bindings
86829 - * python/tests/Makefile.am python/tests/reader.py: added a specific
86857 - too many symbols in the API breaking the python bindings.
86879 - enums. Still a couple of bugs, but good enough for the python
86884 - cleanup based on the python analysis script reports.
86949 - * python/setup.py.in: another patch from Stéphane Bidoul for
86964 - * python/libxml.c (libxml_prev): Return the previous as opposed to
86965 - the next node (I guess this is the result of some cut & paste programming:)
86973 - * python/generator.py python/libxml.c python/setup.py.in: trying
86978 - * win32/configure.js: added option for python bindings
87032 - * python/generator.py python/libxml2class.txt: fixed the generator
87034 - breaking the python generation.
87041 - did I say that python xmllib sucks ?
87057 - * configure.in (PYTHON_SITE_PACKAGES): If --with-python is
87063 - * python/libxml.c: fixing bug #98792 , node may have no doc
87089 - * Makefile.am python/Makefile.am python/tests/Makefile.am:
87280 - * python/types.c: fixed bugs when passing result value tree
87425 - * python/generator.py python/libxml2class.txt: fixed a stupid error
87426 - breaking the python API
87437 - * xmlregexp.c: found and fixed a mem leak with python regression tests
87440 - * python/generator.py python/libxml2class.txt python/libxml_wrap.h
87441 - python/types.c: added access to the XML Schemas regexps from
87442 - python
87443 - * python/tests/Makefile.am python/tests/regexp.py: added a
87459 - xmlschemastypes.c xpath.c python/libxml.c: removed a bunch of
87492 - all the python subdir if python ain't detected
87526 - * python/libxml_wrap.h: stupid bug found by mattam@netcourrier.com
87554 - * python/generator.py python/libxml.c python/libxml.py
87555 - python/libxml2-python-api.xml python/libxml2class.txt
87556 - python/libxml_wrap.h python/types.c: updated the python
87559 - * python/tests/Makefile.am python/tests/inbuf.py
87560 - python/tests/outbuf.py python/tests/pushSAXhtml.py
87561 - python/tests/resolver.py python/tests/serialize.py: updated
87619 - * python/Makefile.am: applied patch from Christophe Merlet to
87673 - * python/generator.py: closing bug #85258 by generating conditional
87682 - * python/Makefile.am: typo in target name resulted in libxml2.py
87705 - * configure.in python/Makefile.am: more AMD 64 induced changes from
87721 - * configure.in: applied patch from Frederic Crozat for python
87748 - * python/tests/serialize.py: fixed the test results, indenting
87778 - * python/generator.py python/setup.py.in: applied cleanup
87810 - * python/Makefile.am: enhanced to fix bug 72012 (errors
88056 - used to do one-level indent) with default value " " (as it was
88108 - * python/generator.py python/libxml2class.txt : fixed a problem
88110 - * python/tests/Makefile.am python/tests/pushSAXhtml.py: sdding the
88293 - * python/Makefile.am: patch from Cristian Gafton to build on
88397 - * python/Makefile.am python/tests/Makefile.am: Albert Chin pointed
88493 - tests (except python ones) under Valgrind (using valgrind -q
88536 - * python/Makefile.am: people were complaining about
88537 - the generated file in python dir not being built
88541 - * libxml.spec.in python/Makefile.am python/tests/Makefile.am
88542 - python/generator.py python/libxml.c python/types.c: Cleanup
88543 - of the python Makefiles based on Jacob and James feedback,
88569 - * python/Makefile.am: remove LDADD and CFLAGS as this is broken
88588 - get fully parenthesized, ran indent on the output
88610 - * configure.in python/setup.py python/setup.py.in: fixed to
88611 - have the version of the python scripts automatically updated
88623 - * python/libxml.c: fixed a possible reentrancy problem
88627 - * tree.c python/tests/Makefile.am python/tests/attribs.py:
88630 - * python/generator.py: xmlHasNsProp() and xmlHasProp() shall
88657 - * tree.c python/tests/Makefile.am python/tests/cutnpaste.py:
88660 - * python/libxml.py: fixed node.doc on document nodes and added
88666 - * python/libxml.c python/tests/Makefile.am python/tests/serialize.py:
88677 - * python/libxml.c python/libxml.py: added methods serialize()
88690 - * python/generator.py python/libxml.c python/libxml.py
88691 - python/libxml2-python-api.xml python/libxml2class.txt
88692 - python/tests/error.py python/tests/xpath.py: implemented
88698 - * python/generator.py: applied patch fixing #73450
88731 - * python/types.c python/tests/Makefile.am python/tests/xpathret.py:
88737 - * python/*: committing some Python bindings work done while travelling
88746 - * python/generator.py python/libxml.c python/libxml2-python-api.xml
88747 - python/libxml2class.txt python/libxml_wrap.h python/types.c:
88750 - * python/tests/Makefile.am python/tests/tstURI.py: added a specific
88755 - * python/README python/generator.py python/libxml.c python/setup.py:
88756 - added the 'usual' setup.py to allow building a libxml2-python
88778 - * doc/xml.html doc/python.html doc/*: added a Python and binding
88785 - * doc/* python/libxml2class.txt: updated and rebuilt the docs,
88868 - * check-xml-test-suite.py: python script to run regression tests
88873 - * python/Makefile.am: fixed a dependendy
88898 - * python/libxml.c: couple of bug fixes
88902 - * python/*.py: removed tabs and used spaces.
88935 - * python/libxml.c: fixed a warning.
88947 - * python/Makefile.am: seems some version of automake didn't
88955 - * libxml.spec.in python/Makefile.am python/generator.py
88956 - python/libxml.c python/libxml.py: Fixed the python Makefiles
88958 - python internal module too
88985 - * python/generator.py python/libxml.c python/libxml2-python-api.xml
88986 - python/libxml2class.txt python/libxml_wrap.h python/types.c:
88989 - * python/tests/tstxpath.py python/tests/xpath.py
88990 - python/tests/xpathext.py: Updated the tests accordingly
88998 - * python/Makefile.am python/generator.py python/libxml2class.txt
88999 - python/libxml_wrap.h python/types.c: augmented the number of bindings
89001 - * python/tests/Makefile.am: avoid a stupid problem due to the
89010 - * python/TODO python/libxml.c: cleanup the extension function lookup
89015 - * configure.in python/Makefile.am: do not install outside
89020 - * python/TODO python/libxml.c: started adding SAX interfaces
89021 - * python/tests/Makefile.am python/tests/pushSAX.py: added a basic
89027 - * python/generator.py python/libxml.c python/libxml2-python-api.xml
89028 - python/libxml2class.txt python/libxml_wrap.h python/TODO:
89031 - * python/tests/Makefile.am python/tests/build.py: added a test
89038 - * python/TODO python/libxml.c python/libxml2-python-api.xml
89039 - python/libxml2class.txt python/libxml_wrap.h python/types.c:
89041 - * python/tests/*.py: changed all tests to check for leaks,
89046 - * python/TODO python/generator.py python/libxml2-python-api.xml
89047 - python/libxml2class.txt: more accessor classes for the parser
89049 - * python/tests/Makefile.am python/tests/error.py
89050 - python/tests/invalid.xml python/tests/valid.xml
89051 - python/tests/validate.py: added more test and added error.py
89056 - * python/Makefile.am python/types.c: cleanup
89057 - * python/libxml.c python/libxml.py python/libxml_wrap.h
89058 - python/generator.py python/libxml2-python-api.xml
89059 - python/libxml2class.txt: added class for parser context, added
89062 - * python/tests/Makefile.am python/tests/push.py: added a push
89067 - * python/Makefile.am python/TODO python/libxml.py: fixed a small
89072 - * python/Makefile.am python/libxml.c python/libxml2-python-api.xml
89073 - python/libxml2class.txt: adding error redirections and preformat
89074 - to a python handler
89075 - * python/tests/Makefile.am python/tests/*.py: cleanup made all
89080 - * python/libxml.c python/libxml.py: fixed a stupid bug when renaming
89085 - * libxml.spec.in python/Makefile.am python/TODO python/generator.py
89086 - python/libxml.c python/libxml2-python-api.xml
89087 - python/libxml2class.txt: Progressing through the TODOs, class
89089 - for all python installed versions
89093 - * configure.in libxml.spec.in python/Makefile.am python/TODO
89094 - python/generator.py python/libxml2class.txt: added more information
89095 - in the libxml2-python package including docs. Slightly changed
89097 - * python/tests/*: added basic regression tests infrastructure too
89101 - * configure.in libxml.spec.in example/Makefile.am python/Makefile.am:
89102 - added libxml2-python as part of the packages installed
89106 - * python/Makefile.am python/generator.py python/libxml.c
89107 - python/libxml.py: more work, now able to extend the
89108 - XPath interpreter with functions written in python.
89112 - * python/Makefile.am: Jacob sent a patch to allow building from
89117 - * python/Makefile.am python/libxml.c configure.in Makefile.am:
89118 - inserted the python wrappers build, I hope this won't be too
89124 - * python/generator.py python/libxml.c python/libxml.py
89125 - python/libxml_wrap.h: more work on the python bindings,
89130 - * python/generator.py python/libxml.c python/libxml.py:
89131 - more work on the python bindings generator.
89135 - * python/generator.py python/libxml.c python/libxml_wrap.h:
89136 - more work on the python bindings.
89140 - * python/generator.py python/libxml.c python/libxml.py
89141 - python/libxml_wrap.h: committed early version of a python binding
89180 - doc/parsedecl.py doc/Makefile.am: updated the python extractor
93676 - * tree.h: indent cleanup
93783 - * all .h : changed the prototype declaration indent as in gtk
94509 +SUBDIRS += python
94512 DIST_SUBDIRS = include . doc example fuzz python xstc
94704 - @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
94736 - @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; \
95738 + Port python 3.x module to Windows and improve distutils (Chun-wei Fan)
95742 + python/Makefile.am: use *_LIBADD, not *_LDFLAGS for LIBS (Sam James)
95847 + Convert python/libxml.c to PY_SSIZE_T_CLEAN (Victor Stinner),
96018 + Updated python/tests/tstLastError.py (Pieter van Oostrum),
96232 (Robert Schwebel), python whitespace (Martin), many space/tabs cleanups,
96258 serialization (Kasimier), python generator for long types, bug in
96321 Hummel), HTML parser frameset (James Bursa), libxml2-python RPM
96341 + - Parsers: added xmlByteConsumed(ctxt) API to get the byte offset in
96944 +# locations to install python extension modules (shared libraries).
96948 +# If your package is configured with a different prefix to python,
96950 +# environment variable, or create a .pth file (see the python
96954 +# cause an error if the version of python installed on the system
96962 +[python python2 python3 dnl
96976 + am_display_PYTHON=python
97029 + dnl If --with-python-sys-prefix is given, use the values of sys.prefix
97049 + AC_ARG_WITH([python-sys-prefix],
97050 + [AS_HELP_STRING([--with-python-sys-prefix],
97065 + # using python sys.prefix value, not GNU
97066 + AC_CACHE_CHECK([for python default $am_display_PYTHON prefix],
97081 + else # using GNU prefix value, not python sys.prefix
97116 + if $am_use_python_sys; then # using python sys.exec_prefix, not GNU
97117 + AC_CACHE_CHECK([for python default $am_display_PYTHON exec_prefix],
97132 + else # using GNU $exec_prefix, not python sys.exec_prefix
97145 +# with python 3.x. See automake bug#10227.
97163 + dnl 1. pythondir: where to install python scripts. This is the
97164 + dnl site-packages directory, not the python standard library
97193 + *) am_cv_python_pythondir="\${PYTHON_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
97207 + dnl 3. pyexecdir: directory for installing python extension modules
97235 + *) am_cv_python_pyexecdir="\${PYTHON_EXEC_PREFIX}/lib/python$PYTHON_VERSION/site-packages"
97540 -#!/usr/bin/python
97541 +#!/usr/bin/env python
97553 sys.path.insert(0, "python")
97958 -#!/usr/bin/python
97959 +#!/usr/bin/env python
97971 sys.path.insert(0, "python")
98423 -#!/usr/bin/python
98424 +#!/usr/bin/env python
98429 sys.path.insert(0, "python")
98718 -#!/usr/bin/python
98719 +#!/usr/bin/env python
98724 sys.path.insert(0, "python")
99195 -#!/usr/bin/python
99196 +#!/usr/bin/env python
99208 sys.path.insert(0, "python")
100123 AC_ARG_WITH(python,
100124 -[ --with-python[[=DIR]] build Python bindings if found])
100126 -[ --with-python-install-dir=DIR
100128 +[ --with-python build Python bindings (on)])
100264 dnl check for python
100273 - if test -x "$with_python/bin/python"
100275 - echo Found python in $with_python/bin/python
100276 - PYTHON="$with_python/bin/python"
100278 - if test -x "$with_python/python.exe"
100280 - echo Found python in $with_python/python.exe
100281 - PYTHON="$with_python/python.exe"
100285 - echo Found python in $with_python
100290 - echo Found python in environment PYTHON=$PYTHON
100293 - AC_PATH_PROG(PYTHON, python python2.6 python2.5 python2.4 python2.3 python2.2 …
100302 -# does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
100309 - if test -r $with_python/include/python$PYTHON_VERSION/Python.h
100311 - PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
100313 - if test -r $prefix/include/python$PYTHON_VERSION/Python.h
100315 - PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
100317 - if test -r /usr/include/python$PYTHON_VERSION/Python.h
100319 - PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
100325 - echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
100337 - if test -d $libdir/python$PYTHON_VERSION/site-packages
100339 - PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
100350 - PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
100357 - PYTHON_SUBDIR=python
100366 + PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
100836 …les/Makefile doc/devhelp/Makefile example/Makefile fuzz/Makefile python/Makefile python/tests/Make…
100837 AC_CONFIG_FILES([python/setup.py], [chmod +x python/setup.py])
120156 -#!/usr/bin/python -u
120157 +#!/usr/bin/env python
120416 -#!/usr/bin/python -u
120417 +#!/usr/bin/env python
120425 - print "libxml2 python bindings not available, skipping testapi.c generation"
120426 + print("libxml2 python bindings not available, skipping testapi.c generation")
122913 BuildRequires: python-devel
122928 -sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py
122929 +sed -i 's|#!/usr/bin/env python|#!/usr/bin/env %{__python3}|' py3doc/*.py
122977 BuildRequires: python-devel
122992 -sed -i 's|#!/usr/bin/python |#!%{__python3} |' py3doc/*.py
122993 +sed -i 's|#!/usr/bin/env python|#!/usr/bin/env %{__python3}|' py3doc/*.py
124264 + PYTHON=python
124300 +Byte compile some python scripts FILES. Use --destdir to specify any
124375 +sys.stdout.write('Byte-compiling python modules...\n')
124390 +# this will fail for python < 1.5, but that doesn't matter ...
124399 +sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n')
124429 -#!/usr/bin/python -u
124436 -# This is a "Work in Progress" attempt at a python script to run the
124490 - # (using python 2.3.3 and 2.3.4) the following code went into
136190 -#!/usr/bin/env python
136922 +SUBDIRS += python
136925 DIST_SUBDIRS = libxslt libexslt xsltproc python doc tests
136950 - @(if [ "$(PYTHON_SUBDIR)" != "" ] ; then cd python ; $(MAKE) -s tests ; fi)
136952 + @cd python && $(MAKE) tests
137505 dnl check for python
137513 AC_ARG_WITH(python,
137514 -[ --with-python[[=DIR]] build Python bindings if found])
137516 -[ --with-python-install-dir=DIR
137519 - if test -x "$with_python/bin/python"
137521 - echo Found python in $with_python/bin/python
137522 - PYTHON="$with_python/bin/python"
137524 - if test -x "$with_python/python.exe"
137526 - echo Found python in $with_python/python.exe
137527 - PYTHON="$with_python/python.exe"
137531 - echo Found python in $with_python
137536 - echo Found python in environment PYTHON=$PYTHON
137539 - AC_PATH_PROG(PYTHON, python python2.6 python2.5 python2.4 python2.3 python2.2 …
137548 -# does not work as it produce a /usr/lib/python path instead of/usr/lib64/python
137561 - echo Found libxml2-python module
137563 - echo Warning: Missing libxml2-python
137568 - if test -r $with_python/include/python$PYTHON_VERSION/Python.h
137570 - PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
137572 - if test -r $prefix/include/python$PYTHON_VERSION/Python.h
137574 - PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
137576 - if test -r /usr/include/python$PYTHON_VERSION/Python.h
137578 - PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
137584 - echo could not find python$PYTHON_VERSION/Python.h or $with_python/include/Python.h
137596 - if test -d $libdir/python$PYTHON_VERSION/site-packages
137598 - PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
137609 - PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
137616 - PYTHON_SUBDIR=python
137623 +[ --with-python build Python bindings (on)])
137627 + PKG_CHECK_MODULES([PYTHON], [python-${PYTHON_VERSION}])
138302 BuildRequires: python python-devel
138330 %files python
138335 %{_libdir}/python*/site-packages/libxslt.py*
138336 %{_libdir}/python*/site-packages/libxsltmod*
138337 %doc python/libxsltclass.txt
138339 %doc python/tests/*.xsl
138361 BuildRequires: python python-devel
138389 %files python
138394 %{_libdir}/python*/site-packages/libxslt.py*
138395 %{_libdir}/python*/site-packages/libxsltmod*
138396 %doc python/libxsltclass.txt
142491 + # even though it is searched at run-time. Try to do the best guess by
148756 + PYTHON=python
148792 +Byte compile some python scripts FILES. Use --destdir to specify any
148867 +sys.stdout.write('Byte-compiling python modules...\n')
148882 +# this will fail for python < 1.5, but that doesn't matter ...
148891 +sys.stdout.write('Byte-compiling python modules (optimized versions) ...\n')
150130 + [](size_t offset, const Break& value) {
150131 + return offset < value.first;
150976 // must be offset to just before the param slots, using this |slot_offset_|.
151094 - wasm::kGpParamRegisters, wasm::kFpParamRegisters, 0 /* no slot offset */);