flywind
891329cd4b
move io out of system ( #19442 )
...
* move io out of system
* fix tests
* fix tests
* next step
* rename to syncio
* rename
* fix nimscript
* comma
* fix
* fix parts of errors
* good for now
* fix test
2022-02-02 17:10:11 +01:00
Jonas Schubert Erlandsson
f35e9a5752
Adds source to single tags list ( #18920 )
2021-09-29 18:14:31 +02:00
Danil Yarantsev
56461c280f
Change stdlib imports to use std prefix in most examples ( #17202 )
2021-02-28 13:17:19 -08:00
flywind
fcb5cf643c
use single backtick ( #17181 )
2021-02-24 21:47:27 -08:00
narimiran
b17ed2ca9c
[backport] run nimpretty on parsers
2019-09-30 13:58:08 +02:00
Federico Ceratto
39290cf88c
Fix spellings ( #12277 ) [backport]
2019-09-27 07:02:54 +02:00
Araq
5abe880469
last stdlib cleanups
2019-09-21 06:43:37 +02:00
Anthon van der Neut
5ac7e32c7c
Matching actual proc name ( #10766 ) [ci skip]
2019-03-02 15:50:21 +01:00
Leorize
78d7ecae90
htmlparser: update example
...
This update htmlparser example to compile with the current stdlib.
2019-03-02 01:51:38 +07:00
rec
9899c4525c
Add parsing empty attribs to htmlparser ( #9559 )
2018-10-30 06:58:39 +01:00
rec
9fd0a71e4d
Make htmlparser parse unquoted attrib values ( #9537 )
...
Fixes #6154
2018-10-29 11:10:00 +01:00
Tim
55a8649749
Decrease source code size in htmlparser and add one check ( #8690 )
2018-08-23 10:30:16 +02:00
Andreas Rumpf
94684488d6
make more tests green
2018-08-14 21:15:03 +02:00
Andreas Rumpf
59a5c0462f
fixes #8338
2018-07-17 15:49:55 +02:00
Araq
bbb0fd4eb7
remove deprecated stuff from the stdlib; introduce better deprecation warnings
2018-05-05 21:45:07 +02:00
Tim
a568e4dac6
Changes entityToUtf8 implementation from htmlparser and add two procs ( #7288 )
...
`entityToUtf8` now supports every entity name and decimal and hexadecimal values from https://dev.w3.org/html5/html-author/charref .
As it finally turned out, the `case` implementation generates even a smaller binary size compared to a `[(name, val)]` implementation.
Additionally the procs `entityToRune` and `runeToEntity` are now available. The last one only generates numeric html entities, so it doesn't need a lookup table.
2018-03-04 21:18:03 +01:00
Oscar Nihlgård
7847cd8759
Add parseHtml overload for string ( #7198 )
2018-02-10 22:47:20 +01:00
Araq
c66580911e
htmlparser: different error corrections
2016-11-07 18:58:39 +01:00
Araq
89320e133b
Make htmlparser compile without warnings
2016-09-09 16:15:53 +02:00
Stephane Fontaine
5bac8cd855
htmlparser: Allow <p> as children of <dd> and <li>
2016-07-27 15:29:26 +04:00
Joey Payne
b1ab82715e
Fix modules that import both strutils and unicode
...
This is only an issue when a proc in both modules that is named the same
is used, such as toLower or toUpper for strings.
2016-07-01 07:37:49 -06:00
Araq
13259c669d
minor doc updates
2015-07-01 15:40:29 +02:00
Dominik Picheta
89727ef207
Merge branch 'patch-2' of https://github.com/rgv151/Nim into rgv151-patch-2
...
Conflicts:
lib/pure/htmlparser.nim
2015-06-20 11:36:59 +01:00
pdw
6914244f30
lib/pure/e-o - Dropped 'T' from types
2015-06-04 13:18:35 +02:00
Bruce Doan
c02be0fe00
Allow TR, TH, TD tags inside THEAD and TFOOT
2015-05-27 00:18:15 +07:00
Oleh Prypin
32109a7867
Don't run non-test code when defined(testing)
2015-04-21 14:37:29 +03:00
Federico Ceratto
c95f6f117a
Fix typos
2015-02-15 16:06:06 +00:00
Araq
30823c1ce3
make tests green
2014-08-31 15:15:26 +02:00
Araq
11b6958755
big rename
2014-08-27 23:42:51 +02:00
Araq
550b5d9aea
stdlib compiles mostly without warnings again
2014-02-06 00:27:01 +01:00
Grzegorz Adam Hankiewicz
6e451d4f33
Merge pull request #695 from gradha/pr_adds_htmlparser_example
...
Adds an example to htmlparser showing how to save changes.
2013-12-02 15:13:40 -08:00
Grzegorz Adam Hankiewicz
dc9e17503e
Makes htmlparser handle whitespace. Refs #694 .
...
Without the flag, htmlparser will ignore some significant whitespace in
HTML files. A more correct fix would be to not reuse the xml parser
since the rules for HTML are slightly different, but this will do for
the moment.
2013-12-02 20:55:55 +01:00
Grzegorz Adam Hankiewicz
f91a34c9e6
Adds an example to htmlparser showing how to save changes.
2013-11-30 21:03:41 +01:00
Grzegorz Adam Hankiewicz
dd60372226
Silences debug echo.
2013-07-04 16:18:36 +02:00
Araq
82ceca0717
fixes #492
2013-06-27 07:43:04 +02:00
Araq
a674c039fb
fixed a long standing xml parser bug; html parser bugfixes + speed improvements
2013-06-27 01:04:56 +02:00
Grzegorz Adam Hankiewicz
72a3e21f28
Removes executable bit for text files.
2013-03-16 23:53:07 +01:00
Araq
0758508895
bugfix: typeinfo.extendSeq
2013-01-27 19:15:13 +01:00
Araq
b38c7adad1
bugfix: GC more forgiving
2011-04-03 22:59:00 +02:00
Araq
11d3d94438
bugfixes: htmlparser module
2010-10-30 23:36:36 +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
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
77c6e52cd4
further development of graphics module
2010-02-14 13:02:39 +01:00
rumpf_a@web.de
01fb99bc80
further improvements for the HTML parser
2010-02-14 09:59:01 +01:00
rumpf_a@web.de
597d98e7ee
further improvements for the HTML parser
2010-02-14 09:53:56 +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