From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from resqmta-ch2-07v.sys.comcast.net (resqmta-ch2-07v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:39]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 4ED56791FB for ; Mon, 10 Jul 2017 00:22:56 -0700 (PDT) Received: from resomta-ch2-12v.sys.comcast.net ([69.252.207.108]) by resqmta-ch2-07v.sys.comcast.net with ESMTP id UT2cdJ2JeWKMWUT2cdFCaX; Mon, 10 Jul 2017 07:23:34 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1499671414; bh=KJ36GdKOHpz1eQqHIVAJ0Eyp/ZRt08061sTSAsBm/Nc=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=lmrUGFJ4FYtvtqRngdyjmBhBcF90CIGyspaEKujvwAm3jsOoTRfHgpY17BeHKhf67 PYChyPOFUmm1xoFf0YPDzOPTlaMpZt/alHxSVs4WoeylJxwgc0YoZ9sPtrMlkmv0Dt 6hv7aUDbFxFoY34plNaIdfTsCe1Bs9LJY4eu+KbOA18hKF5PKh1OZuecIDvxIfxiU8 CAtRKXk5OnYdNVokp6mtAGO7PzDFe4UDGJpvhJKQ1m7p6rYvteXDUF+j7fUtNh+a7i L+pJ/MTEOV/wwzSJnL1DoOwCTiS78pNTFNBjVEdFV38iiFhhR0h4o9BOH5geUFUk/m 0TF4H5HK7O1Ew== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-12v.sys.comcast.net with SMTP id UT2cdIDMw7ZFxUT2cdxwn6; Mon, 10 Jul 2017 07:23:34 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.6.3+ Date: Mon, 10 Jul 2017 03:23:34 -0400 Message-ID: <20170610032334.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-946726 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfM3NGHfGEROeyXR9ws3ET3x/nFST34IVJJrNAHigcK3YW+hE+FdxbRPI1j1vcGqRU5S5U3Y98Tb8jjDhuol9HUJTykdBG58yPjHqbBzUS5AhH40cIKB/ noHs8JJo/AobbaSa9m9KyMoE77U0a2wf4lbOq/vdBDHOjJaN0zBWdUEZ Subject: [Edbrowse-dev] duktape branch available X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Jul 2017 07:22:56 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-946726 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Well that was several days of head-down plowing-forward work, and now I = need to step back and take a breath. I pushed what I have even though it's far from finished. Two reasons: 1. I might get hit by a bus tomorrow and I wouldn't want all that work = to be lost. 2. I'll need your help in reviewing all these changes. Someone else should step through every line, cause this is all brand = new to me. I need another pair of eyes, so to speak. Although there are things that don't work, it's surprising that some of = it actually does work. I wrote a little file with javascript alert("hello world") and that = works. Wow! But still you don't want this to be your primary edbrowse, it's more to = test and debug. Checkout the duktape branch, build, and put it in edbrowse-duk or some = such. The new code is in total about 1300 lines shorter than the old, so = either duktape is simpler, or I've cleaned things up along the way, or = both. As you read through jseng-duk.c you'll see it's a bit of both. But first, read through startwindow.js. It does a lot more in less space. In particular, jump down to line 1157. I loop over classes, then assign the standard dom methods to each class. Do you remember how UGLY it use to be? If your adapter didn't indicate, that's ugly in all caps. Because it was UGLY! I replicated each class, and put the methods on each class, as if I = didn't know how to write a loop. Jesus Christ! That and a few more cleanups makes it more readable. And the js engine is cleaned up too, more orderly, etc. Over the next few weeks I'll test, and fix bugs, etc, and you are = encouraged to do the same. Enjoy. Karl Dahlke --nextpart-eb-946726--