From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 1380979E33 for ; Thu, 14 May 2015 00:03:06 -0700 (PDT) Received: by wibt6 with SMTP id t6so3826807wib.0 for ; Thu, 14 May 2015 00:03:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=4B4ylhk7wEazPu3s8TYx9r/wd4gDHQGzKBEIhP0t8/4=; b=bEHhahWe7qBIjkEZNnaxE1P/Z0Axk9epwdxEswed0xr6JtXgq15bYOW6e3rFlx27Df QXKrNsUWKZCp3CxtMvpJHPY5zWGwQzjhSD6AAYNX+TAAGF2JrWxRBIaZMK9fdcQpw5rB 89Hjm/YlDVXqb7HSeiAf1zToiRs2V/QgvKg5hemqnK/GvvRfEmELi5w4waJimc9BerZE TuZZJCb9sJqGHP88y9EEIaxmfDtpCuFvluny0VNE7gx7C+QEELQgRY8YTpsWMG0BvlqG r6n026kJLNxAKZH1EVXo0yu/feYA3dgs65ETRAAhlugAROwA7PnA/s82APcZoYDaFkPb E6iw== X-Received: by 10.180.186.99 with SMTP id fj3mr5688662wic.10.1431586997213; Thu, 14 May 2015 00:03:17 -0700 (PDT) Received: from toaster.adamthompson.me.uk (toaster.adamthompson.me.uk. [2001:8b0:1142:9042::2]) by mx.google.com with ESMTPSA id n1sm11726723wix.0.2015.05.14.00.03.15 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 00:03:16 -0700 (PDT) Date: Thu, 14 May 2015 08:03:14 +0100 From: Adam Thompson To: Karl Dahlke Message-ID: <20150514070314.GH2917@toaster.adamthompson.me.uk> References: <20150410193753.eklhad@comcast.net> <20150513071739.GG2917@toaster.adamthompson.me.uk> <20150413091557.eklhad@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bpVaumkpfGNUagdU" Content-Disposition: inline In-Reply-To: <20150413091557.eklhad@comcast.net> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: Edbrowse-dev@lists.the-brannons.com Subject: Re: [Edbrowse-dev] V 3.5.4 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: Thu, 14 May 2015 07:03:06 -0000 --bpVaumkpfGNUagdU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 13, 2015 at 09:15:57AM -0400, Karl Dahlke wrote: > > since this is in C, I was just going to use the already built edbrowse = modules. >=20 > Reviewing the various undefines, most are global variables, > which can of course be moved, and then perhaps just a couple > functions to move or stub. > Here is what I propose, and I would be happy to lay this groundwork if yo= u like. > Move a few functions and variables around, > and perhaps stub one or two in jseng-moz.cpp, > so that edbrowse and edbrowse-js share stringfile.o url.o messages.o. > This seems to be the best place to draw the circle around. > Of course I'd need separate make rules to compile these three sources > stringfile++.o url++.o messages++.o > when folding them into the c++ program jseng-moz. > I haven't used make in this way before but I'm sure it can be done. > I can work on this in preparation for your work on different js engines, > or I can just wait to see what comes of your duktape research. > As you wish. I'd say go for it, may be make a separate header file for these (included in eb.h of course). For the c++ versions I'd be tempted to leave jseng-moz.cpp= as is at the moment. If duktape fails we can revisit this. Regards, Adam. --bpVaumkpfGNUagdU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVVEiyAAoJELZ22lNQBzHOEsMH/1tsBEm4+aZi9Mo5zxhEYo90 AXwtb9MRLse+3wsgP6NUBN0/D5qGP0tOdwICaF+nPT/ny9lvvvVBREh0tnYPQBQ7 wLzXHTmSYx5gc2Jjgn1SArECKxgV9HGi2mYivazf+MPG53pdmEIRcjmmIrwczS5J tXxoIzfnFDjQcdb79epLyeSiq+rddZYu6aWQeyKrXPoEUBzApOF7lHXiZ4PxpteM dIJZ3ncXXiWpl/xFLPyENtrb9fGqLTZU0xByzPgOBPtgnD1FoEFsWypLaPeSS6RT 6ztTGSOhVGuUbD4dzBPNbXKLWW7R0VOaYUR8CjAfqZcHezLpHxvDAkF4V+znIOU= =BgCr -----END PGP SIGNATURE----- --bpVaumkpfGNUagdU--