Commit Graph

48 Commits

Author SHA1 Message Date
Martin Angers
5dccaa115b optimize winnowNodes and ClosestNodes in the same way 2016-08-28 11:55:36 -04:00
Martin Angers
d85ad7e2ed remove var declaration 2016-08-27 22:44:10 -04:00
Martin Angers
7bd630023a reuse the deduplication set map in mapNodes 2016-08-27 22:25:02 -04:00
Martin Angers
2ab590df05 use a failing matcher if selector fails to compile, adjust tests 2016-06-15 09:27:17 -04:00
HARUYAMA Seigo
d9b2b5ed51 cascadia has moved.
code.google.com/p/cascadia
->
github.com/andybalholm/cascadia
2015-03-28 11:15:11 +09:00
Martin Angers
fb2312a925 add final *Matcher* overloads 2014-11-07 12:19:01 -05:00
Martin Angers
ef025592df more *Matcher overloads of selector string methods 2014-11-07 11:37:50 -05:00
Martin Angers
875b65f385 finish transition for Matcher-based overloads 2014-11-07 08:36:55 -05:00
Martin Angers
251095afb5 start adding matcher functions 2014-11-06 21:43:08 -05:00
Martin Angers
cc9b6f8c6f Merge branch 'master' into manipulation 2014-11-06 20:46:11 -05:00
Martin Angers
040cf98281 change paths to golang.org/x/, fails to build because cascadia has to switch too 2014-11-05 20:30:33 -05:00
Andrew Stone
9848519841 filter: Add *Selector for filtering methods that accepts a pre-compiled cascadia selector. 2014-10-24 11:49:05 -04:00
Martin Angers
cf82003f7e add test to detect a   from a call to Text() 2014-04-25 15:28:38 -04:00
Martin Angers
6938944908 final linting 2014-04-11 12:06:28 -04:00
Martin Angers
28cf4a77e1 more linting 2014-04-11 12:04:03 -04:00
Martin Angers
2c6687f6d3 lint 2014-04-11 12:00:17 -04:00
Dobrosław Żybort
474b169363 Update exp/html import paths 2013-02-12 20:32:16 +01:00
Martin Angers
971be3c4e4 add nodes and selection overloads for Closest 2012-11-08 21:08:24 -05:00
Martin Angers
2f94000c0a start closest with selector string 2012-11-04 20:31:03 -05:00
Martin Angers
0f850e5c82 remove commented code 2012-10-18 21:18:56 -04:00
Martin Angers
2371acd273 refactor Next...() and Prev...() functions to use linked list, much faster 2012-09-17 11:01:00 -04:00
Martin Angers
d5e9341ca1 add PrevFilteredUntil...() with tests 2012-09-10 10:04:00 -04:00
Martin Angers
2fc9009621 add NextFilteredUntil...() with tests 2012-09-10 09:09:32 -04:00
Martin Angers
ab7dea3da3 update to use new exp/html package 2012-09-09 18:44:47 -04:00
Martin Angers
5da274a53d add NextUntil...() with tests 2012-09-06 14:40:15 -04:00
Martin Angers
eea8ab69ed add PrevUntilSelection() and PrevUntilNodes() with tests 2012-09-06 10:57:54 -04:00
Martin Angers
7dcaa4213b add PrevUntil() with tests 2012-09-06 10:39:30 -04:00
Martin Angers
a9c4ad4c8f start work on PrevUntil() and NextUntil() 2012-09-06 10:27:42 -04:00
Martin Angers
bf960f0855 fix order for prevAll 2012-09-06 09:20:24 -04:00
Martin Angers
2d885ccd3a add tests for End() rollbacks, doc 2012-09-05 09:35:53 -04:00
Martin Angers
3aaca8f8ea refactor of Find() methods to use mapNodes 2012-09-04 15:18:51 -04:00
Martin Angers
6b27ec19a5 refactor Children() and Contents() to use mapNodes internally 2012-09-04 14:56:20 -04:00
Martin Angers
af4a62048b add PrevAll() and PrevAllFiltered() with tests 2012-09-04 13:44:20 -04:00
Martin Angers
19c7e27fc0 add NextAll(), NextAllFiltered(), refactor all filtered methods 2012-09-04 13:34:52 -04:00
Martin Angers
9394a923e0 add Prev() and PrevFiltered() with tests 2012-09-04 13:06:03 -04:00
Martin Angers
ed3b9aca8a add Next() and NextFiltered() with tests 2012-09-04 12:07:59 -04:00
Martin Angers
ff0cbc32c4 add SiblingsFiltered() and tests 2012-09-04 11:20:20 -04:00
Martin Angers
b26e37d262 add Siblings() with tests 2012-09-04 11:15:09 -04:00
Martin Angers
f461c82030 add ParentsFilteredUntil...() with tests 2012-09-04 10:58:44 -04:00
Martin Angers
d03482bacd add ParentsUntil...() with tests 2012-09-04 10:39:59 -04:00
Martin Angers
cfa964cff5 add Parents() and ParentsFiltered(), with tests 2012-09-04 10:11:00 -04:00
Martin Angers
01f04bca8b add Parent() and ParentFiltered(), refactor tests using Asserts...() 2012-09-04 09:52:19 -04:00
Martin Angers
81b024325c add FindSelection and FindNodes, needs tests 2012-09-02 21:26:14 -04:00
Martin Angers
6e1e76af6b refactor Document to make Root a Selection, with all API available 2012-09-02 14:45:50 -04:00
Martin Angers
bae24062b4 add Contents() and Children() with tests. 2012-09-02 14:07:18 -04:00
Martin Angers
9f46e15492 start work on Contents() and Children() 2012-09-01 21:23:43 -04:00
Martin Angers
3631dc402c fix Find() so that is searches only descendents 2012-09-01 20:00:44 -04:00
Martin Angers
de74d0bf97 reorganize code in what seems like a sane structure 2012-08-30 17:35:41 -04:00