Azq2
68d0adbe4d
sync modest from myhtml
2019-01-12 18:38:11 +02:00
Alexander Borisov
d021b90751
Fixed parsing problem for PRE element with CDATA in thread and single mode.
2018-09-06 20:08:30 +03:00
Alexander Borisov
6d957dd24d
Change of IRC channel link.
2018-08-20 23:10:23 +03:00
Alexander Borisov
25fef09c5f
Fixed the problem of parsing chunks when there was a script tag.
2018-08-18 21:49:56 +03:00
Alexander
b8b6ca6861
Merge pull request #57 from Azq2/patch-13
...
fix charef parsing
2018-08-17 11:08:16 +03:00
Alexander
bcc92e72ae
Merge pull request #55 from Azq2/patch-12
...
fix serialization segfault
2018-06-22 18:30:08 +03:00
Кирилл Жумарин
0feee0101d
fix charef parsing
...
fix bugs like this:
&redirect => ®direct
2018-06-16 14:37:28 +03:00
Alexander
7a710b8849
Merge pull request #56 from trikko/patch-1
...
Added arrogant ref
2018-06-15 12:42:45 +03:00
Andrea Fontana
55fb76437c
Added arrogant ref
2018-06-15 08:47:18 +02:00
Кирилл Жумарин
7725ed2441
fix serialization segfault
2018-06-02 11:56:41 +03:00
Кирилл Жумарин
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
578bedb548
Merge pull request #54 from Azq2/patch-11
...
fix specificity for .class
2018-05-27 00:15:33 +03:00
Кирилл Жумарин
b5c2eba12d
fix extra space
2018-05-26 15:43:25 +03:00
Кирилл Жумарин
92c465f81a
fix specificity for pseudo elements
...
Fix specificity for pseudo-elements with one semi-colon, for example :after
2018-05-26 15:42:51 +03:00
Кирилл Жумарин
91f37b6365
fix specificity for .class
2018-05-26 15:32:52 +03:00
Alexander
a465dea0ad
Merge pull request #53 from Azq2/patch-10
...
Link to perl5 module
2018-05-23 23:20:57 +03:00
Кирилл Жумарин
72fed08856
Link to perl5 module
...
Link to perl5 module HTML5::DOM
2018-05-23 23:09:13 +03:00
Alexander
a3ef4e9439
Merge pull request #51 from Azq2/patch-8
...
fix serialization
2018-05-22 13:18:17 +03:00
Alexander
a918f4344d
Merge pull request #52 from Azq2/patch-9
...
sync myhtml lexborisov/myhtml/issues/139
2018-05-22 13:17:59 +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
Alexander
05ce218c5f
Merge pull request #50 from Azq2/patch-7
...
fix nodes_by_attribute_value_recursion_end
2018-05-21 12:44:39 +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
Alexander
3a36d7cbfc
Merge pull request #49 from Azq2/patch-6
...
fix segfault in myhtml_get_nodes_by_name_in_scope
2018-05-20 19:54:28 +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
Alexander
7430ac7798
Merge pull request #48 from Azq2/patch-5
...
fix segfault myhtml_tag_get_by_id
2018-05-20 19:25:36 +03:00
Кирилл Жумарин
d22b12b000
fix segfault myhtml_tag_get_by_id
...
If pass some big tag id value to myhtml_tag_get_by_id, then mcsimple_get_by_absolute_position access to uninitialized memory area.
Now checks calculated list index by mcsimple->list_pos_length_used value to fix this.
2018-05-20 18:30:50 +03:00
Alexander
e15a4e5dd4
Merge pull request #47 from Azq2/patch-4
...
Add missing MyHTML_TOKEN_TYPE_DONE
2018-05-15 02:55: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
Alexander
653f355eb2
Merge pull request #46 from Azq2/patch-3
...
fix copy node mchar
2018-05-13 18:50:44 +03:00
Кирилл Жумарин
b5b4dcac54
fix copy node mchar
...
Implement missing copying mchar in myhtml_token_node_clone
2018-05-13 15:45:37 +03:00
Alexander
41a20da340
Merge pull request #45 from Azq2/patch-2
...
Fix segfault lexborisov/myhtml#138
2018-05-13 02:02:25 +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
Alexander
f2b9714e91
Merge pull request #44 from Azq2/patch-1
...
Fix segfault lexborisov/myhtml#138
2018-05-13 01:31:58 +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
Alexander
87d75c9585
Merge pull request #42 from f34nk/support-for-pseudo-class-contains
...
New CSS selector ":contains(text)"
2018-03-26 16:55:54 +03:00
frank
412ba67abc
Cleaned formatting
2018-03-26 15:21:14 +02:00
frank
d650d013af
Removed memory leak in case mycore_realloc failes
2018-03-26 15:04:53 +02:00
frank
76b1839599
Added failed allocation check
2018-03-26 14:48:44 +02:00
frank
f8076d98e6
Added comma separated arguments test
2018-03-26 14:34:40 +02:00
frank
2f65f50f5f
Removed concat function; Refactored 'modest_finder_selector_sub_type_pseudo_class_function_contains' to use mycore_malloc, mycore_realloc and snprintf
2018-03-26 14:25:58 +02:00
frank
bee75d5d36
Added parser for 'contains'
2018-03-26 14:24:12 +02:00
frank
8dc0c4c2b5
Cleanup
2018-03-26 14:22:48 +02:00
frank
8b947b64db
Cleanup
2018-03-25 11:46:43 +02:00
frank
5feb533d5e
Merge branch 'master' into support-for-pseudo-class-contains
2018-03-25 10:55:31 +02:00