summary refs log tree commit diff stats
path: root/lib/pure/xmltree.nim
Commit message (Collapse)AuthorAgeFilesLines
* closureiters: fixes #15243 (#15454) [backport:1.2]Andreas Rumpf2020-10-021-2/+2
| | | | * fixes #15243 [backport:1.2]
* Remove `noSideEffect` pragmas (#15143)sschwarzer2020-08-011-1/+1
| | | | | | These don't seem to make sense for the purpose of the procs and lead to errors when the `--experimental:strictFuncs` feature is enabled. See also https://github.com/nim-lang/Nim/issues/15142
* move since from inclrtl to std/private/since (#14188)hlaaftana2020-05-021-2/+2
| | | | * move since from inclrtl to std/private/since * move since import in system below for HCR
* fix #14064 xmltree should allow create text node with raw text(non-es… ↵Bung2020-04-221-1/+11
| | | | | | | | | | | | | (#14070) * fix #14064 xmltree should allow create text node with raw text(non-escaped) eg. html style element's text * change xnRawText to VerbatimText,newRawText to newVerbatimText ,add since anotation * change changelog_1_2_0.md latest date * move change log Co-authored-by: bung87 <crc32@qq.com>
* xmltree: Make indentation consistent with any num of children nodes (#13482)Kaushal Modi2020-02-261-34/+135
| | | Ref: https://forum.nim-lang.org/t/5972
* use system.move instead of system.shallowCopy if the GC mode requires itAndreas Rumpf2019-10-041-2/+8
|
* [backport] run nimpretty on web stuffnarimiran2019-09-301-13/+15
|
* Update documentation on `xmltree.items`/`mitems` (#11930)sschwarzer2019-08-121-2/+2
| | | | | | | | | | * Update documentation on `xmltree.items`/`mitems` So far the documentation on `items` and `mitems` wasn't explicit about whether the iteration recurses down the node's children or not. I assumed recursion, which was wrong. * Improve wording in comment Use the more common and shorter word "direct".
* Fix typo in xmltree docs [ci skip]Zestyr2019-06-271-3/+3
|
* xmltree: use code-block for arch-dependent testsnarimiran2019-05-271-38/+44
|
* fixes #1286; object case transitions are now soundAndreas Rumpf2019-05-271-2/+1
|
* fix #8329, allow case insensitive xmltree.findAll (#11305)Miran2019-05-231-11/+23
|
* add `xmltree.clear`, fixes #3797 (#10711)Miran2019-02-201-0/+29
| | | | | * add `xmltree.clear`, fixes #3797 * use `setLen`
* Use standard XML escapingEmery Hemingway2019-02-131-4/+2
|
* better docs: xmltreenarimiran2019-01-241-117/+426
|
* [cleanup] remove `xmldom` and `xmldomparser` (#9234)Miran2018-10-091-1/+1
|
* make tests green againAndreas Rumpf2018-08-181-1/+0
|
* Rstgen/xml tree fixes (#7823)Dominik Picheta2018-05-231-10/+16
| | | | | | | | | | | | | * Don't prefix lang names with "lang" in rstgen. * Implements ability to render xmltree w/o \n. Fixes <> for `data-*` attrs. * Various rstgen fixes. * Fixes security vulnerabilities due to not escaping some code. * Adds <video> support and improve `.. image:: ` directive. * Adds comment as requested.
* remove deprecated stuff from the stdlib; introduce better deprecation warningsAraq2018-05-051-8/+0
|
* Fixes #7738Yuriy Glukhov2018-05-031-2/+2
|
* xmltree: remove usage of deprecated callsite()Andreas Rumpf2018-04-241-6/+3
|
* Remove expr/stmt (#5857)Arne Döring2017-07-251-1/+1
|
* Clean up (as suggested by @Araq)Dmitry Polienko2016-12-011-6/+5
|
* Rewrite xmltools.innerTextDmitry Polienko2016-11-301-7/+19
| | | | Make it recursive, define for node types other than xnElement
* xmltree: separate escaping for attributesDmitry Polienko2016-09-051-3/+14
|
* udpated the compiler and tester to use getOrDefaultAraq2015-10-131-1/+1
|
* added getOrDefault; bootstrapping works againAraq2015-10-131-1/+1
|
* Merge branch 'mget' of https://github.com/def-/Nim into def--mgetAraq2015-10-131-2/+7
|\ | | | | | | | | | | | | | | | | | | Conflicts: lib/pure/collections/critbits.nim lib/pure/collections/tables.nim lib/pure/xmltree.nim lib/system/sets.nim tests/collections/ttables.nim tests/collections/ttablesref.nim
| * Rename mget to `[]`def2015-03-311-2/+7
| | | | | | | | | | | | | | | | | | - In sets, tables, strtabs, critbits, xmltree - This uses the new var parameter overloading - mget variants still exist, but are deprecated in favor of `[]` - Includes tests and fixed tests and usages of mget - The non-var `[]` now throws an exception instead of returning binary 0 or an empty string
* | added proc to change an element tag and proc to insert xmlnode childsergey.anufriev2015-09-261-0/+13
| |
* | allow to delete xmlnode childsAndrey Sobolev2015-09-071-0/+5
| |
* | add text modification procAndrey Sobolev2015-09-071-0/+6
| |
* | fixes #3282Araq2015-09-051-1/+1
| |
* | Remove dead code in findAll procBruce Doan2015-05-261-2/+1
| |
* | Fix a test in xmltreeOleh Prypin2015-04-211-1/+2
|/
* Rename PNimrodNode to NimNodedef2015-03-171-45/+45
|
* Add mitems and mpairs where it makes sensedef2015-01-281-0/+10
|
* GitHub link fixes: nim-code -> nim-langdef2015-01-151-4/+4
|
* merged things from develAraq2014-09-121-0/+4
|\
| * Escape ' and / when using escape in xmltreeErwan Ameil2014-08-301-0/+4
| |
* | Nimrod renamed to NimAraq2014-08-281-5/+5
| |
* | Nimrod renamed to NimAraq2014-08-281-4/+4
| |
* | more modules updatedAraq2014-08-281-29/+29
| |
* | big renameAraq2014-08-271-17/+20
| |
* | renamefestAraq2014-08-231-1/+1
|/
* Fixes xmltree <> macro docstring.Grzegorz Adam Hankiewicz2013-08-221-1/+5
|
* Adds findAll() convenience procs to xmltree.Grzegorz Adam Hankiewicz2013-07-201-0/+37
|
* Notes kind() getter is used to read TXmlNode.k field.Grzegorz Adam Hankiewicz2013-07-191-1/+1
|
* fixed a long standing xml parser bug; html parser bugfixes + speed improvementsAraq2013-06-271-0/+10
|
* Fixes #428Dominik Picheta2013-05-111-1/+1
|