edbrowse-dev - development list for edbrowse
 help / color / mirror / Atom feed
* [Edbrowse-dev] startwindow / class NodeList
@ 2015-08-10  8:56 Kevin Carhart
  2015-08-11 21:38 ` Adam Thompson
  0 siblings, 1 reply; 19+ messages in thread
From: Kevin Carhart @ 2015-08-10  8:56 UTC (permalink / raw)
  To: Edbrowse-dev



Hi guys

I was familiarizing myself with DOM discussions on the listserv over 
2014-15, so that I can hopefully contribute and be up to date on 
recent work when trying to figure out how.  I've installed from github, 
and have been taking a look at the startwindow.js.  Maybe I could help 
build out some pieces of DOM?

I noticed something in past DOM discussions on the list.  A while ago, 
Adam said, "Also, as per comments in startwindow.js, apparently we're 
supposed to return something called a node list object rather than an 
array from getElement* functions. No idea what one of these is yet, more 
future research I think."

You may know this already, but the env.js code has a specification for 
NodeList!  I put it up at:
http://carhart.net/~kevin/nodelist.js

Adam, you said you had taken a look at env.js, right?  I know it isn't 
suitable as an implementation out of the box, but do you think env is 
useable as a guide, for example if I was to try and adapt 
document.getElementsByTagName to return a NodeList?

I notice in the env code that they cite URLs from w3, which makes me 
hopeful that they have done good generic work that just happens to be in 
javascript.  Here's what they have to say about document and about the 
'Node' class,
http://carhart.net/~kevin/document.js
http://carhart.net/~kevin/node.js

thanks!
Kevin

--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [Edbrowse-dev]  tidy5
@ 2015-02-03 22:15 Karl Dahlke
  2015-02-03 23:41 ` Adam Thompson
  0 siblings, 1 reply; 19+ messages in thread
From: Karl Dahlke @ 2015-02-03 22:15 UTC (permalink / raw)
  To: Edbrowse-dev

> if tidy5 builds as a library (I hope it does)
> then we build and install their code same as any other library.

Sure, that makes sense.
So we'll see who has a chunk of time first to look into this.

If said library swallows html and gives us a tree of nodes, should we:

A) convert those nodes into the struct htmlTags we have today
and use most of our existing machinery, incremental, or

b) follow that tree directly, build js nodes off of it, use those nodes,
don't use our structures any more, this more of a rewrite.

I'm not expecting an answer, because we'd probably have to look
at the code, and library, and resulting tree to answer the question.
Just something to chew on.

Karl Dahlke

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [Edbrowse-dev] tidy5
@ 2015-02-02 19:58 Karl Dahlke
  2015-02-03 21:18 ` Adam Thompson
  0 siblings, 1 reply; 19+ messages in thread
From: Karl Dahlke @ 2015-02-02 19:58 UTC (permalink / raw)
  To: Edbrowse-dev

I'm trying to get my head around this, and one problem is I don't
know hardly anything about git.
If we wanted to use and follow the tidy5 package, how would we do it?
Could we, or should we,
git clone the package under src, so there is then an src/tidy
directory, that would build via make,
that we could fold into our product and build upon?
Could we git pull from them to keep up to date with them,
and continue to do our work on top of it?
Or is it impossible to put one git structure beneath another?
If that doesn't work then what is the mechanics of following and incorporating
another project in ours?

Karl Dahlke

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-08-16 18:06 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-10  8:56 [Edbrowse-dev] startwindow / class NodeList Kevin Carhart
2015-08-11 21:38 ` Adam Thompson
2015-08-12  0:15   ` Karl Dahlke
2015-08-12 19:55     ` Kevin Carhart
2015-08-12 20:56       ` Karl Dahlke
2015-08-13  1:08         ` Chris Brannon
2015-08-13  4:36           ` [Edbrowse-dev] tidy5 Kevin Carhart
2015-08-13 20:07             ` Adam Thompson
2015-08-14  0:54               ` Kevin Carhart
2015-08-14  3:45                 ` Karl Dahlke
2015-08-14 20:17                   ` Chris Brannon
2015-08-16  5:54                     ` Kevin Carhart
2015-08-16 10:38                       ` Karl Dahlke
2015-08-14  3:37               ` Karl Dahlke
2015-08-16 18:10                 ` Adam Thompson
  -- strict thread matches above, loose matches on Subject: below --
2015-02-03 22:15 Karl Dahlke
2015-02-03 23:41 ` Adam Thompson
2015-02-02 19:58 Karl Dahlke
2015-02-03 21:18 ` Adam Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).