Martin Angers
7d9aa5c1e6
misc/git: remove excessively verbose lint tools
2018-01-11 08:49:46 -05:00
Martin Angers
c56812c109
fix godoc comment to comply with golint
2018-01-11 08:48:49 -05:00
Martin Angers and GitHub
cab5e2c9d6
Merge pull request #229 from davidjwilkins/feature-226
...
Fixes #226 - Added the AddBack, AddBackFiltered, and AddBackMatcher methods.
2018-01-11 08:45:45 -05:00
David Wilkins
802bece6d0
Move deprecated notice to end of comment
2018-01-10 21:36:54 -08:00
David Wilkins
499bd47957
Fixes #226 - Added the AddBack, AddBackFiltered, and AddBackMatcher methods. Changed AndSelf to simply be an alias for AddBack, and added a deprecation notice to AddBack (as with https://api.jquery.com/andself/ )
2018-01-09 20:34:18 -08:00
Martin Angers and GitHub
bc4e06eb07
Merge pull request #221 from y-yagi/patch-1
...
Add go1.9 to travis
2017-12-06 07:16:06 -05:00
Yuji Yaginuma and GitHub
d8ab9abbf4
Add go1.9 to travis
2017-12-06 18:46:13 +09:00
Martin Angers and GitHub
1a71cc719d
Merge pull request #215 from kataras/patch-1
...
README.md: Add colly - Scraping Framework to the Related Projects
2017-10-07 10:12:28 -04:00
Gerasimos (Makis) Maropoulos and GitHub
4b3a6d701e
README.md: Add colly - Scraping Framework to the Related Projects
2017-10-07 07:57:40 +03:00
Martin Angers and GitHub
63e7f870c2
Merge pull request #211 from 38elements/fix-typo
...
Fix typo
2017-09-29 06:56:09 -04:00
38elements and GitHub
109d3a6a56
Fix typo
2017-09-29 18:51:07 +09:00
Martin Angers
ce645ea5e6
use svg travis badge, master branch
2017-08-16 09:38:31 -04:00
Martin Angers
8806ada2a4
update README with "related projects" section instead of just "downstream"
2017-06-23 12:21:02 -04:00
Martin Angers and GitHub
2dc93891ab
Merge pull request #183 from andrewstuart/master
...
Add goquery marshaling library as a downstream project in Readme
2017-05-20 15:45:20 -04:00
Andrew Stuart
4a7586a83f
Update readme with some downstream projects
2017-05-15 16:49:20 -07:00
Martin Angers
ed7d758e9a
add 1.8, test on latest patches
2017-03-24 09:54:48 -04:00
Martin Angers and GitHub
c641b87978
Merge pull request #162 from rohanpai/master
...
Added Sourcegraph Badge
2017-03-08 14:48:52 -05:00
Rohan Pai and GitHub
28076b7c97
Added Sourcegraph Badge
2017-03-08 11:27:24 -08:00
Martin Angers
e1271ee34c
Merge branch 'glebtv-setHtml'
v1.1.0
2017-02-12 11:36:42 -05:00
Martin Angers
f5c5de8530
update readme for new release
2017-02-12 11:36:10 -05:00
Martin Angers
46c32cef0e
unexport SetNodes, add SetHtml tests
2017-02-12 11:34:10 -05:00
Gleb Tv
755fd592bb
implement SetHtml and SetText, fixes #123
2017-02-08 16:27:36 +03:00
Martin Angers and GitHub
3cb3b86568
Update README.md
v1.0.2
2016-12-29 22:41:54 -05:00
Martin Angers and GitHub
2ee2e49ac5
Merge pull request #142 from radovskyb/master
...
Optimizes the *Selection.Text method and reduces allocations.
2016-12-29 22:37:29 -05:00
Benjamin Radovsky
c0b805c7dc
greatly optimize the *Selection.Text method and highly reduce it's amount of allocations per op.
2016-12-27 17:37:31 +11:00
Martin Angers
152b1a2c8f
remove wiki section on big docs, cascadia is now almost as fast as workarounds
2016-08-31 12:22:11 -04:00
Martin Angers
9043fe2599
add tip for large documents
2016-08-30 20:10:13 -04:00
Martin Angers
56a198aba8
add go1.7 to travis
v1.0.1
2016-08-28 21:21:01 -04:00
Martin Angers
5dccaa115b
optimize winnowNodes and ClosestNodes in the same way
2016-08-28 11:55:36 -04:00
Martin Angers
26f4f54c91
simplify string search expressions, remove unused code
2016-08-28 11:09:29 -04:00
Martin Angers
e89fe653fd
update README for v1.0.1
2016-08-28 11:06:06 -04:00
Martin Angers
ab2bb46123
update pre-commit hook with other static checks
2016-08-28 11:04:26 -04:00
Martin Angers
b91267330e
add tests and benchmark for appendWithoutDuplicates optimization
2016-08-28 11:03:18 -04:00
Martin Angers
d85ad7e2ed
remove var declaration
2016-08-27 22:44:10 -04:00
Martin Angers
6841d28c6f
comment and explain the appendWithoutDuplicates logic
2016-08-27 22:29:53 -04:00
Martin Angers
7bd630023a
reuse the deduplication set map in mapNodes
2016-08-27 22:25:02 -04:00
Martin Angers
c7533ba696
maintain a set of existing target nodes to deduplicate
...
The old implementation used nested loops to check if one of the
new nodes was already in the existing nodes. This commit
maintains a map[*html.Node]bool so that a single loop over
the new elements is required. This is slower for small
slices though, and allocates more. The next step is for
appendWithoutDuplicates to accept a map as argument so
that the set is not recreated on each call from mapNodes.
2016-08-27 18:55:21 -04:00
Martin Angers
ad8b3d8222
remove logging from benchmarks, validate expected result instead
2016-08-27 18:37:55 -04:00
Martin Angers
7f4291566c
tag v1.0.0, closes #124
v1.0.0
2016-07-27 21:43:13 -04:00
Martin Angers
f0d75731e0
fix example, closes #120
2016-06-29 08:59:28 -04:00
Martin Angers and GitHub
77cbaef46a
Merge pull request #115 from PuerkitoBio/i114
...
Treat invalid selector strings as a Matcher that doesn't match anything
2016-06-15 09:48:05 -04:00
Martin Angers
2441483128
update doc
2016-06-15 09:40:19 -04:00
Martin Angers
2ab590df05
use a failing matcher if selector fails to compile, adjust tests
2016-06-15 09:27:17 -04:00
Martin Angers
9cc531274b
implement tests for selection methods with invalid selector strings
2016-06-15 08:42:27 -04:00
Martin Angers
2cd8b4e49a
test all go versions since 1.1
2016-06-15 07:50:27 -04:00
Martin Angers
aeecb06b1e
doc: better explain the arguments to the function passed to Each and Map, closes #107
2016-05-26 08:12:20 -04:00
Martin Angers
2e29ea41f0
add a test for issue #103
2016-04-08 07:41:18 -04:00
Martin Angers
5cc721859e
edit example to follow Go conventions
2016-04-08 07:39:02 -04:00
Martin Angers
4126223a86
exclude testdata/ files from github language stats
2016-02-16 20:35:17 -05:00
Martin Angers
81e6517758
doc: fix list for godoc
2016-02-02 12:40:27 -05:00