View Single Post
Old 01-02-2021, 08:45 PM   #32
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 7,736
Karma: 5446592
Join Date: Nov 2009
Device: many
Okay, I hardened CNode up a lot, removed the uneeded CDocument.h/.cpp and integrated it into a new find method in Sigil/src/Misc/GumboInterface.cpp

Also adjusted the test cases in main.cpp to use the new GumboInterface approach.

This should be enough to play around with for a while, while we either use the embedded python interface and css_parser to get a good list of selectors that need to be queried for or we end up writing our own quick and dirty css parser along the lines of QuickParser.cpp approach used for xhtml files.

Last edited by KevinH; 01-03-2021 at 09:48 AM.
KevinH is offline   Reply With Quote