Commit Graph

223 Commits

Author SHA1 Message Date
Кирилл Жумарин
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
frank
11bddf6833 Minor change 2018-03-24 22:27:52 +01:00
frank
a3040f2b7a Removed all dev printing 2018-03-24 21:44:16 +01:00
frank
b4e4e453fb Some cleanup... 2018-03-24 21:37:24 +01:00
frank
bec0bc87c6 Implemented modest_finder_selector_sub_type_pseudo_class_function_contains(); Test pseudo_class_contains succeeds 2018-03-24 21:31:05 +01:00
frank
58836153d9 modest_finder_selector_sub_type_pseudo_class_function_contains in progress... 2018-03-24 20:04:46 +01:00
frank
aed3e3d105 Prepared for serialization... 2018-03-24 13:13:44 +01:00
frank
bfc525605c In progress 2018-03-21 12:37:46 +01:00
frank
3ef1c283cd Removed some debug printing 2018-03-21 12:11:14 +01:00
frank
6b7c2c4c5e Generated new 'mycss_selectors_function_begin_map_index' with 'perl utils/MyCSS/functions.pl' 2018-03-21 12:04:09 +01:00
Alexander
000578ae73
Merge pull request #41 from mody/debian-fix-make-clean
Don't fail make clean if there is no modest.pc
2018-03-21 14:02:58 +03:00
Patrik Modesto
025462a659 Don't mix and in the target 2018-03-21 11:49:09 +01:00
Patrik Modesto
870a19d988 fixed missing $ in pkgconfig includes 2018-03-21 10:33:08 +01:00
frank
6322e2c276 Added more debugging prints 2018-03-21 10:07:28 +01:00
Patrik Modesto
889a4c49ee Don't fail make clean if there is no modest.pc 2018-03-21 08:49:37 +01:00
Alexander
050b1eb458
Merge pull request #40 from mody/fix-pkgconfig-for-debian
fixed prefix in pkgconfig for Debian
2018-03-20 19:14:37 +03:00
Patrik Modesto
6a044b2cac fixed prefix in pkgconfig for Debian 2018-03-20 16:58:09 +01:00
Alexander
9af0440556
Merge pull request #39 from mody/debianize
An attempt to Debian packaging
2018-03-20 17:33:59 +03:00
Patrik Modesto
cab7182a52 An attempt to Debian packaging 2018-03-20 15:06:12 +01:00
frank
b97bce9480 Removed binaries 2018-03-10 11:34:13 +01:00
frank
f5e7360b7f In Progress... 2018-03-08 11:48:12 +01:00
frank
bfdc22b9c0 Added missing functions 2018-03-03 22:06:59 +01:00
lexborisov
12f7a721d3 Added link for Elixir/Erlang bindings 2018-02-28 20:42:15 +03:00
frank
f2bd21d780 Incremented xy_LAST_ENTRY 2018-02-27 23:39:53 +01:00
frank
d6e9727aab Added _contains declaration 2018-02-27 23:04:11 +01:00
frank
97fc234a68 Marked function as TODO and added default return 2018-02-27 23:01:23 +01:00
frank
ee1578eb24 Added new pseudo-clas type 'contains'; Added placeholder function for 'contains' type 2018-02-27 22:56:50 +01:00
lexborisov
a190b8f493 Fix for myhtml module https://github.com/lexborisov/myhtml/issues/124 2018-01-03 17:29:11 +03:00
lexborisov
b4ae81947d Python binding link 2017-11-27 18:16:39 +03:00
lexborisov
b54f02742c Project description (ru) 2017-10-26 22:19:02 +03:00