Commit Graph

63 Commits

Author SHA1 Message Date
Кирилл Жумарин
307b9630e0
fix doctype serialization by spec 2018-06-02 11:54:26 +03:00
Кирилл Жумарин
aca935f07c
Replace strcasecmp to mycore_strcasecmp 2018-06-02 11:15:22 +03:00
Кирилл Жумарин
6224a68f86
fix doctype serialization by spec
Implement missing serialization of:
- PUBLIC/SYSTEM
- systemId
-publicId
2018-06-02 11:12:15 +03:00
Кирилл Жумарин
2d8e6a3444
fix doctype serialization
whitespace after <!DOCTYPE required by spec
2018-06-02 10:05:23 +03:00
Кирилл Жумарин
d41f529335
fix serialization segfault
Fix segfault if doctype hasn't attribute
2018-06-02 01:10:26 +03:00
Alexander
a3ef4e9439
Merge pull request #51 from Azq2/patch-8
fix serialization
2018-05-22 13:18:17 +03:00
Кирилл Жумарин
0e6700cf55
sync myhtml lexborisov/myhtml/issues/139 2018-05-22 13:07:03 +03:00
Кирилл Жумарин
33dd71fe8e
fix serialization
Make serialization by spec:

"If current node is an area, base, basefont, bgsound, br, col, embed, frame, hr, img, input, link, meta, param, spacer, or wbr element, then continue on to the next child node at this point."

https://html.spec.whatwg.org/multipage/parsing.html#serialising-html-fragments
2018-05-22 13:02:37 +03:00
Кирилл Жумарин
10eaefa0de
fix nodes_by_attribute_value_recursion_end
myhtml_get_nodes_by_attribute_value_recursion_end uses invalid string offset
2018-05-20 22:17:43 +03:00
Кирилл Жумарин
27cd592b9b
Fix code formatting 2018-05-20 19:50:52 +03:00
Кирилл Жумарин
a59a78e8ea
fix segfault in myhtml_get_nodes_by_name_in_scope
Fix segfault if tag name not exists.
2018-05-20 19:39:31 +03:00
Кирилл Жумарин
c2025f620c
Add missing MyHTML_TOKEN_TYPE_DONE
If node has node->token == NULL and we call myhtml_attribute_add/myhtml_node_text_set/myhtml_node_text_set_with_charef - being created new node token, but without MyHTML_TOKEN_TYPE_DONE
Because of this myhtml_token_node_wait_for_done wait infinity.
2018-05-15 01:20:24 +03:00
Кирилл Жумарин
b5b4dcac54
fix copy node mchar
Implement missing copying mchar in myhtml_token_node_clone
2018-05-13 15:45:37 +03:00
Кирилл Жумарин
eb808777ba
Fix segfault lexborisov/myhtml#138
If node->token is NULL, then new_node->token also is NULL
2018-05-13 01:57:57 +03:00
Кирилл Жумарин
a6bb9b3232
Fix segfault
Fix segfault in myhtml_tree_node_clone if node->token is NULL
2018-05-13 01:27:53 +03:00
lexborisov
a190b8f493 Fix for myhtml module https://github.com/lexborisov/myhtml/issues/124 2018-01-03 17:29:11 +03:00
lexborisov
fc1f5d7ce7 Sync myhtml module 2017-09-07 11:30:53 +03:00
lexborisov
140a41a539 Sync with MyHTML 2017-08-31 18:53:50 +03:00
Alexey Voznyuk
3ae4dfc0aa typo fix: "pasition" -> "position" 2017-08-27 02:03:54 +03:00
lexborisov
7e2ed5fb1a Version up for myhtml 2017-06-16 17:24:40 +03:00
lexborisov
82056de77f Sync myhtml with last version 2017-06-16 17:22:46 +03:00
lexborisov
2960726738 Added new rule for make (make modules) 2017-03-20 21:57:29 +03:00
lexborisov
66d5d951df Make clone for Linux and Mac OS X 2017-03-16 23:15:55 +03:00
lexborisov
1eb9ddae92 Added define *_VERSION_STRING for all modules 2017-03-14 23:55:52 +03:00
lexborisov
455a853cf2 Changed (C) 2017-03-14 23:44:48 +03:00
lexborisov
c476946ddd Fix for https://github.com/lexborisov/Modest/issues/24 2017-03-14 11:17:17 +03:00
lexborisov
3228a2df9e Fixed problem with thread infiniti wait 2017-03-13 23:49:49 +03:00
lexborisov
4d34d0848e Added -pedantic 2017-03-13 17:52:50 +03:00
lexborisov
cf3f280fc6 Fixes for https://github.com/lexborisov/Modest/issues/16 2017-03-12 21:04:09 +03:00
lexborisov
e215019c09 Fix problem with Windows Threads 2017-03-12 18:05:22 +03:00
lexborisov
de800aeeb8 Windows 2017-03-11 22:53:26 +03:00
lexborisov
f0ecc407e2 Remove all fprintf and printf 2017-03-11 12:23:24 +03:00
lexborisov
4c7b823274 Changes for io functions 2017-03-10 15:11:35 +03:00
lexborisov
8669462c8c Refactoring Threads and Makefile 2017-03-09 23:47:39 +03:00
lexborisov
77991b6e77 New code design. Added MyCore and MyEncoding 2017-03-03 09:20:23 +03:00
lexborisov
fa45cd70e5 URL parsing by specification https://url.spec.whatwg.org/ 2017-03-01 16:07:21 +03:00
lexborisov
c0877a7b5a Sync with myhtml 2017-02-21 22:15:47 +03:00
lexborisov
5582801024 Fixed broken mapping for convert encoding functions https://github.com/lexborisov/myhtml/issues/89 2017-02-17 22:26:20 +03:00
lexborisov
32876b578f Little changes for api 2017-02-17 14:49:33 +03:00
lexborisov
5fa9d6272b Big update. See CHANGELOG 2017-02-14 14:49:05 +03:00
lexborisov
626fef0d6a MyHTML: Sync with specification and added comments for validation parse errors 2017-01-15 21:11:19 +03:00
lexborisov
017d81936f Fixed problem with collections https://github.com/lexborisov/myhtml/issues/84 2017-01-08 14:37:20 +03:00
lexborisov
30c846e9af Fixed: problem with parsing CSS and default declaration entry 2016-12-22 16:46:43 +03:00
lexborisov
ad6d54eeaf Fix for type miss (f() => if()) 2016-12-14 23:32:54 +03:00
lexborisov
100eb8418e Fixed bugs after check the Coverity Scan; Added examples; Version up 2016-12-14 23:21:35 +03:00
lexborisov
4ef1e93f07 Fixes after check the Coverity 2016-12-14 22:09:21 +03:00
lexborisov
a0ed4bada5 Fised: crashed in myhtml function myhtml_tag_get_by_name. 2016-12-07 17:13:58 +03:00
lexborisov
4e0a413cd4 Update AVL-Tree api and added more test 2016-11-21 23:41:02 +03:00
lexborisov
58dcf7ec02 Call destroy function for selectors list https://github.com/lexborisov/Modest/issues/3 2016-11-21 14:07:37 +03:00
lexborisov
a7345ef5e0 Added AVL-Tree, default declarations. 2016-11-21 02:12:38 +03:00