Commit graph

49 commits

Author SHA1 Message Date
Dominik Picheta
85b7d8fcc4 Rstgen/xml tree fixes (#7823)
* 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.
2018-05-23 16:28:53 +02:00
Araq
bbb0fd4eb7 remove deprecated stuff from the stdlib; introduce better deprecation warnings 2018-05-05 21:45:07 +02:00
Yuriy Glukhov
9955ee0a9b Fixes #7738 2018-05-03 18:15:31 +03:00
Andreas Rumpf
8ce9e43434 xmltree: remove usage of deprecated callsite() 2018-04-24 09:34:29 +02:00
Arne Döring
000b8afd26 Remove expr/stmt (#5857) 2017-07-25 09:28:23 +02:00
Dmitry Polienko
ff69656f80 Clean up (as suggested by @Araq) 2016-12-01 09:14:14 +07:00
Dmitry Polienko
6bd86f7543 Rewrite xmltools.innerText
Make it recursive, define for node types other than xnElement
2016-11-30 10:38:22 +07:00
Dmitry Polienko
8c9e2d7a43 xmltree: separate escaping for attributes 2016-09-05 15:43:44 +07:00
Araq
8be9e46403 udpated the compiler and tester to use getOrDefault 2015-10-13 14:10:33 +02:00
Araq
2fda95a4d6 added getOrDefault; bootstrapping works again 2015-10-13 03:03:05 +02:00
Araq
d8b0edc323 Merge branch 'mget' of https://github.com/def-/Nim into def--mget
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
2015-10-13 00:22:27 +02:00
sergey.anufriev
64737c8496 added proc to change an element tag and proc to insert xmlnode child 2015-09-26 10:09:07 +06:00
Andrey Sobolev
a534434056 allow to delete xmlnode childs 2015-09-07 21:19:52 +06:00
Andrey Sobolev
f405876b35 add text modification proc 2015-09-07 12:25:53 +06:00
Araq
0f2a37cf1b fixes #3282 2015-09-05 11:34:36 +02:00
Bruce Doan
ae3fc71462 Remove dead code in findAll proc 2015-05-26 00:02:59 +07:00
Oleh Prypin
a8c3c2ef0d Fix a test in xmltree 2015-04-21 14:39:34 +03:00
def
63f9385327 Rename mget to []
- 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
2015-03-31 00:32:39 +02:00
def
fd4e629905 Rename PNimrodNode to NimNode 2015-03-17 17:50:32 +01:00
def
46cf40c40d Add mitems and mpairs where it makes sense 2015-01-28 02:31:26 +01:00
def
2a7a5a69d0 GitHub link fixes: nim-code -> nim-lang 2015-01-15 03:26:59 +01:00
Araq
9d9c3fe121 merged things from devel 2014-09-12 01:37:48 +02:00
Erwan Ameil
05c1fb060f Escape ' and / when using escape in xmltree 2014-08-30 22:21:38 +02:00
Araq
4523b29d7a Nimrod renamed to Nim 2014-08-28 09:59:26 +02:00
Araq
d05df2173b Nimrod renamed to Nim 2014-08-28 09:50:51 +02:00
Araq
12d2a37519 more modules updated 2014-08-28 01:39:45 +02:00
Araq
11b6958755 big rename 2014-08-27 23:42:51 +02:00
Araq
2f43fdb837 renamefest 2014-08-23 01:43:49 +02:00
Grzegorz Adam Hankiewicz
64cf8d3893 Fixes xmltree <> macro docstring. 2013-08-22 23:01:15 +02:00
Grzegorz Adam Hankiewicz
55bcd0ba1e Adds findAll() convenience procs to xmltree. 2013-07-20 00:06:23 +02:00
Grzegorz Adam Hankiewicz
e7be3d873f Notes kind() getter is used to read TXmlNode.k field. 2013-07-19 23:25:22 +02:00
Araq
a674c039fb fixed a long standing xml parser bug; html parser bugfixes + speed improvements 2013-06-27 01:04:56 +02:00
Dominik Picheta
37b5be0133 Fixes #428 2013-05-11 20:30:46 +01:00
Dominik Picheta
b76ee0d9e1 Fixed bug with xmltree.attrs when attributes have not been initialised
yet.
2013-03-23 20:09:24 +00:00
Grzegorz Adam Hankiewicz
72a3e21f28 Removes executable bit for text files. 2013-03-16 23:53:07 +01:00
Araq
b56df72a32 made tests green again 2012-08-31 00:00:14 +02:00
Araq
b4844a189d parameter passing works the same for macros and templates; use callsite magic to access the invokation AST 2012-08-28 22:15:29 +02:00
Araq
4f1b89c30c year 2012 for most copyright headers 2012-01-02 23:07:35 +01:00
Araq
2183bf77a6 added xmltree.innerText; fixes #49 2011-08-15 19:40:00 +02:00
Araq
990dc2d715 code gen bugfixes; marshal.nim implemented 2011-06-26 17:21:52 +02:00
Araq
4741e8f9a1 ugh, maybe broke git 2011-04-01 15:07:16 +02:00
Araq
770cc71640 added base64 module; decoding still broken 2010-10-23 17:19:32 +02:00
Andreas Rumpf
7bf98411b6 version 0.8.8 2010-03-14 01:25:25 +01:00
Andreas Rumpf
ddb7185482 bugfixes: re; pegs module 2010-02-28 18:14:27 +01:00
Andreas Rumpf
40ea1d0330 fixed pango/pangoutils new wrappers 2010-02-26 01:26:16 +01:00
rumpf_a@web.de
6bc16904ed bugfixes for unicode; xmlparser; htmlparser; scanner 2010-02-20 19:21:38 +01:00
rumpf_a@web.de
40a5d6c3b9 continued work on html/xmlparser 2010-02-14 00:29:35 +01:00
Andreas Rumpf
16c0beb27c further progress on the new XML processing modules 2010-02-12 00:03:18 +01:00
Andreas Rumpf
f721ddd75b new XML modules 2010-02-10 03:21:03 +01:00