From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-01v.sys.comcast.net (resqmta-ch2-01v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:33]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 47FE5779BE for ; Sun, 16 Aug 2015 03:35:14 -0700 (PDT) Received: from resomta-ch2-15v.sys.comcast.net ([69.252.207.111]) by resqmta-ch2-01v.sys.comcast.net with comcast id 5Nes1r0042Qkjl901NetxY; Sun, 16 Aug 2015 10:38:53 +0000 Received: from eklhad ([IPv6:2601:405:4002:b0a:21e:4fff:fec2:a0f1]) by resomta-ch2-15v.sys.comcast.net with comcast id 5Net1r0020GArqr01Netee; Sun, 16 Aug 2015 10:38:53 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: User-Agent: edbrowse/3.5.4.1+ Date: Sun, 16 Aug 2015 06:38:53 -0400 Message-ID: <20150716063853.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1439721533; bh=NewBXSwxF4+zpyfxAixFjlKcwoUhzIDg3wbzD2T8ZFY=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=jarcVYEHWryqc71dzK6aR9X6PLVLJEYvrs9E24WAy38jegyCj+0UfDE7kCe3hXXFm 9F4C2NWpL72w3zNatyxPfDzSUDtkhHkk17KdUUfwLKqdgSZy8hNs2fjXvLHYzZhClO nAvyg56s0HYcD2GhQte1YQQhp4DuaqHimo8Xffe5Jt6jrdotLXotiRVnPw14DC98X4 NEg7cDldF+JGQRz0cmiCL0EwlD3wgUmlgi1btmSoJppPHapEr5hYUUuI+pdhNmHE1Q Gq8WD++FnG5xZvsuQhf06xPBrNxqd7amh0ZHjPVN3kzV698RfVcGeFoMPpom7XBJk6 +ykx4nYqMafcA== Subject: [Edbrowse-dev] tidy5 X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2015 10:35:14 -0000 > And would some or most of the old case blocks be preserved, such as: > the old case TAGACT_TABLE might resemble a new case TidyTag_TABLE Yes I'm sure we would need to do that, but I would save all that for step 2, step 1 is just calling tidy and holding the resulting tree in-window, until the window is freed. > We're still building the new string 'ns'.. hmmm... Let ns build as it does today in step 1, but by step 2 a routine render(), perhaps in render.c, will build it by traversing our dom tree. So we will need to catch and retain text nodes, which aren't even part of our world today. We have some tag nodes, but no text nodes. > there is a name collision ... mkdir I found the same collision when I tried to recompile an old math program I wrote 15 years ago. The call use to be mkdir(file), now, in most libraries, mkdir(file, mode), yet sometimes mkdir(file) works anyways, sometimes not. I'll check into this and most likely change to the second form, which will most likely fix the problem. Notice mkdir has the second form in main.c. > thanks.. this is fun.. It is, but a bit concerning in that I don't know if tidy5 will be maintained long term, but if not, worst case, we can take it over which is better than writing our own html parser from scratch as we were doing. Hurray for open source. Karl Dahlke