summaryrefslogtreecommitdiffstats
path: root/src/xmlpatterns/schema
Commit message (Collapse)AuthorAgeFilesLines
* Fix memory leak in XSD component of XmlPatternsHonglei Zhang2012-01-3110-25/+25
| | | | | | | | | | | | There are couple of memory leaks in XmlPatterns when parsing XSD files. The reason is that the module over uses the shared data pointer and generates many cyclic reference loop. Some part of the code is refactored. Instead of using shared data pointer, normal C++ pointer is used to break the ownership loop. This is bug fix for QTBUG-8948. Task-number: QTBUG-8948 Reviewed-by: Sami Merila and Laszlo Agocs
* Update licenseheader text in source filesJyri Tahtela2011-05-1394-1601/+1601
| | | | | | | Updated version of LGPL and FDL licenseheaders. Apply release phase licenseheaders for all source files. Reviewed-by: Trust Me
* Update copyright year to 2011.Jason McDonald2011-01-103-3/+3
| | | | Reviewed-by: Trust Me
* Doc: Fixing typoSergio Ahumada2010-11-093-7/+7
|
* XML schema internals: fix memory leakPeter Hartmann2010-09-221-0/+1
| | | | | Patch-by: Tobias König Task-number: QTBUG-8948
* QXmlSchema: allow usage of xsd:allPeter Hartmann2010-06-142-0/+37
| | | | | | | | | | previously, loading schemas that contained xsd:all elements was not possible because the algorithm used did not scale in that case. This patch introduces a special checking for those elements which removes the performance downside. Reviewed-by: Tobias Koenig <tokoe@kde.org> Task-number: QTBUG-6485
* QXmlSchema internals: fix crash with anonymous typesPeter Hartmann2010-04-261-1/+8
| | | | | | | | | | | | | | The crash occurred when an anonymous type was created that was a list type. In that case, we did not set the item type, which is used later at XsdSchemaChecker::checkSimpleDerivationRestrictions(), which would lead to a crash. Additionally, in the xmlpatternsvalidator test, check the exit status of the process after it has finished, to detect crashes. Reviewed-by: Tobias Koenig <tokoe@kde.org> Reviewed-by: Frans Englich Task-number: QTBUG-8920
* QXmlSchema internals: include/import/redefine schemas only oncePeter Hartmann2010-03-082-6/+64
| | | | | | | | | | | | | | | According to the Schema standard, loading a schema needs only be done once for each schema location. Currently, there was a problem with indirect includes (and imports/redefines): a In this scenario, schema a would only remember to have loaded / \ b, but not d, which resulted in an error when c was loading d b c again and the types in d were redefined. | | d d Reviewed-by: Tobias Koenig <tokoe@kde.org> Task-number: QTBUG-8394
* QXmlSchema: fix crash in schema parserPeter Hartmann2010-02-111-1/+1
| | | | | | | | previously, annotations were only supposed to appear within elements of the form <element name="..."> ; However, they can also appear in elements of the form <element ref="foo:bar"> Patch-by: Tobias König <tokoe@kde.org>
* Update copyright year to 2010Jason McDonald2010-01-063-3/+3
| | | | Reviewed-by: Trust Me
* Merge branch '4.6' of git@scm.dev.nokia.troll.no:qt/qt-doc-team into 4.6David Boddie2009-11-033-4/+4
|\ | | | | | | | | | | Conflicts: src/gui/kernel/qevent.cpp src/network/ssl/qsslerror.cpp
| * Doc/i18n: Fixed source strings for translation.David Boddie2009-11-033-4/+4
| | | | | | | | Reviewed-by: Oswald Buddenhagen
* | Compile on Symbian winscw.Frans Englich2009-10-272-67/+66
|/ | | | | | | Patch by Martin Jones. Malformed in codepaster so was manually applied. Builds with public 5th SDK. The compiler workaround was documented. Reviewed-by: Frans Englich
* Fixing some GCC warningsJoão Abecasis2009-10-071-0/+1
| | | | Reviewed-by: Markus Goetz
* Fix typo in XmlPatterns license headers.Jason McDonald2009-10-0691-91/+91
| | | | Reviewed-by: Trust Me
* Fix translation strings.Frans Englich2009-10-017-349/+349
| | | | | | | | | | This change cleans up schema translation comments by having customary copy editing for sentences: starts with a capital letter and ends with a full stop. Pointed out by Friedemann. Reviewed-by: Friedemann Kleint
* Used the correct placeholder for the second argumentJure Repinc2009-09-291-1/+1
| | | | | Merge-request: 1320 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
* Update license headers again.Jason McDonald2009-09-0994-376/+376
| | | | Reviewed-by: Trust Me
* Update tech preview license header for files that are new in 4.6.Jason McDonald2009-08-3186-1118/+1118
| | | | Reviewed-by: Trust Me
* Merge branch '4.5' into 4.6Thiago Macieira2009-08-318-104/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: demos/boxes/glshaders.cpp demos/boxes/vector.h demos/embedded/fluidlauncher/pictureflow.cpp demos/embedded/fluidlauncher/pictureflow.h doc/src/desktop-integration.qdoc doc/src/distributingqt.qdoc doc/src/examples-overview.qdoc doc/src/examples.qdoc doc/src/frameworks-technologies/dbus-adaptors.qdoc doc/src/geometry.qdoc doc/src/groups.qdoc doc/src/objecttrees.qdoc doc/src/platform-notes.qdoc doc/src/plugins-howto.qdoc doc/src/qt3support.qdoc doc/src/qtdbus.qdoc doc/src/qtdesigner.qdoc doc/src/qtgui.qdoc doc/src/qtmain.qdoc doc/src/qtopengl.qdoc doc/src/qtsvg.qdoc doc/src/qtuiloader.qdoc doc/src/qundo.qdoc doc/src/richtext.qdoc doc/src/topics.qdoc src/corelib/tools/qdumper.cpp src/gui/embedded/qkbdpc101_qws.cpp src/gui/embedded/qkbdsl5000_qws.cpp src/gui/embedded/qkbdusb_qws.cpp src/gui/embedded/qkbdvr41xx_qws.cpp src/gui/embedded/qkbdyopy_qws.cpp src/gui/embedded/qmousebus_qws.cpp src/gui/embedded/qmousevr41xx_qws.cpp src/gui/embedded/qmouseyopy_qws.cpp src/gui/painting/qpaintengine_d3d.cpp src/gui/painting/qwindowsurface_d3d.cpp src/opengl/gl2paintengineex/glgc_shader_source.h src/opengl/gl2paintengineex/qglpexshadermanager.cpp src/opengl/gl2paintengineex/qglpexshadermanager_p.h src/opengl/gl2paintengineex/qglshader.cpp src/opengl/gl2paintengineex/qglshader_p.h src/opengl/util/fragmentprograms_p.h src/plugins/kbddrivers/linuxis/linuxiskbdhandler.cpp src/plugins/mousedrivers/linuxis/linuxismousehandler.cpp src/script/parser/qscript.g src/script/qscriptarray_p.h src/script/qscriptasm_p.h src/script/qscriptbuffer_p.h src/script/qscriptclass.cpp src/script/qscriptclassdata_p.h src/script/qscriptcompiler.cpp src/script/qscriptcompiler_p.h src/script/qscriptcontext.cpp src/script/qscriptcontext_p.cpp src/script/qscriptcontext_p.h src/script/qscriptcontextfwd_p.h src/script/qscriptecmaarray.cpp src/script/qscriptecmaarray_p.h src/script/qscriptecmaboolean.cpp src/script/qscriptecmacore.cpp src/script/qscriptecmadate.cpp src/script/qscriptecmadate_p.h src/script/qscriptecmaerror.cpp src/script/qscriptecmaerror_p.h src/script/qscriptecmafunction.cpp src/script/qscriptecmafunction_p.h src/script/qscriptecmaglobal.cpp src/script/qscriptecmaglobal_p.h src/script/qscriptecmamath.cpp src/script/qscriptecmamath_p.h src/script/qscriptecmanumber.cpp src/script/qscriptecmanumber_p.h src/script/qscriptecmaobject.cpp src/script/qscriptecmaobject_p.h src/script/qscriptecmaregexp.cpp src/script/qscriptecmaregexp_p.h src/script/qscriptecmastring.cpp src/script/qscriptecmastring_p.h src/script/qscriptengine.cpp src/script/qscriptengine_p.cpp src/script/qscriptengine_p.h src/script/qscriptenginefwd_p.h src/script/qscriptextenumeration.cpp src/script/qscriptextenumeration_p.h src/script/qscriptextqobject.cpp src/script/qscriptextqobject_p.h src/script/qscriptextvariant.cpp src/script/qscriptfunction.cpp src/script/qscriptfunction_p.h src/script/qscriptgc_p.h src/script/qscriptmember_p.h src/script/qscriptobject_p.h src/script/qscriptprettypretty.cpp src/script/qscriptprettypretty_p.h src/script/qscriptvalue.cpp src/script/qscriptvalueimpl.cpp src/script/qscriptvalueimpl_p.h src/script/qscriptvalueimplfwd_p.h src/script/qscriptvalueiteratorimpl.cpp src/script/qscriptxmlgenerator.cpp src/script/qscriptxmlgenerator_p.h tests/auto/linguist/lupdate/testdata/recursivescan/project.ui tests/auto/linguist/lupdate/testdata/recursivescan/sub/finddialog.cpp tests/auto/qkeyevent/tst_qkeyevent.cpp tools/linguist/shared/cpp.cpp
* Update obsolete email addresses.Jason McDonald2009-08-1241-41/+41
| | | | Reviewed-by: Trust Me
* Eliminate last mentions of "Qt Software".Jason McDonald2009-08-1246-46/+46
| | | | Reviewed-by: Trust Me
* Update contact URL in license headers.Jason McDonald2009-08-1294-94/+94
| | | | Reviewed-by: Trust Me
* Xml Schema: license header updatePeter Hartmann2009-07-2045-45/+45
| | | | Reviewed-by: TrustMe
* XmlSchema: update license headersPeter Hartmann2009-07-163-12/+12
| | | | Reviewed-by: TrustMe
* XmlSchema: add license headers for some filesPeter Hartmann2009-07-164-0/+131
| | | | | | some files did not contain the proper license headers. Reviewed-by: TrustMe
* Update the license headers in XML Schema to the new formatThiago Macieira2009-07-1691-91/+91
|
* Xml Schema: move license file to the right directoryPeter Hartmann2009-07-151-0/+0
| | | | | | move the license file for the xml.xsd schema file Reviewed-by: TrustMe
* Add W3C license text for xml.xsdTobias Koenig2009-07-131-0/+40
|
* Revert "Remove builtin xml schema file until legal issues are clarified"Tobias Koenig2009-07-132-0/+146
| | | | This reverts commit 3ded2e1ea5a74a6fc0d3938fa732f886aa275ca2.
* Remove builtin xml schema file until legal issues are clarifiedTobias Koenig2009-07-102-146/+0
|
* Forward errors from QXmlStreamReader to XsdSchemaParserTobias Koenig2009-05-191-0/+3
| | | | (missed this commit on the first merge, autotest works again)
* Remove unneeded qDebug statementTobias Koenig2009-05-191-1/+0
|
* Adapt license headers to LGPLTobias Koenig2009-05-1691-182/+2912
|
* Various api, documentation and code cleanupsTobias Koenig2009-05-1614-54/+128
|
* Add W3C XML Schema validation supportTobias Koenig2009-05-16155-0/+31784
This was done by Tobias Koenig, as part of an internship at Trolltech/Qt Software, started at Wed Oct 1 18:32:43 2008 +0200, and the last commit being part of this commit dating Tue Feb 24 11:03:36 2009 +0100. This is work consisting of about 650 commits squashed into one, where the first commit was 61b280386c1905a15690fdd917dcbc8eb09b6283, in the repository before Qt's history cut.