From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from QMTA11.westchester.pa.mail.comcast.net (qmta11.westchester.pa.mail.comcast.net [IPv6:2001:558:fe14:44:76:96:59:211]) by hurricane.the-brannons.com (Postfix) with ESMTP id 0D80A77CBF for ; Wed, 12 Feb 2014 06:51:46 -0800 (PST) Received: from omta13.westchester.pa.mail.comcast.net ([76.96.62.52]) by QMTA11.westchester.pa.mail.comcast.net with comcast id RRhh1n00317dt5G5BSr5aU; Wed, 12 Feb 2014 14:51:05 +0000 Received: from eklhad ([107.5.36.150]) by omta13.westchester.pa.mail.comcast.net with comcast id RSr41n00W3EMmQj3ZSr4sV; Wed, 12 Feb 2014 14:51:05 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke User-Agent: edbrowse/3.5.1 Date: Wed, 12 Feb 2014 09:51:04 -0500 Message-ID: <20140112095104.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=q20121106; t=1392216665; bh=Z0vdn37guwinNJhsTL30GOey8midzCQxv4C2yrfp1zk=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=d2xpQRTR7vpvXy4bwJZt4T5Wq3sDhd3V6JUIfZndRrvaWhF+FATzpP0OIiQNnbUC2 onHgSwXL6w2Ce+XrpjsesfLeLUBg2srcMggrxUldW5BzImpeado8yg2STNV/ngU9in WxRKEe6g54Va4nakwTRikhGSNDIRuMer6cEj7gnkzA7zkERN1QaEZ13qeyKsYmDBdW zB7p+/xFHaUGRSkf3xlkwkpHQpwX6bDOkqjVYfHAx4eCAdqGREBnxzXe2ejG/NlVKt UR1dwNVFxrXRGuHpl1/HClBWYxCuSkJbdGmVUzEpHbZ2g1+ZfmExxp/Cy88oNnxQit pSCSVyqofY5bg== Subject: [Edbrowse-dev] switch compartment X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Karl Dahlke List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 14:51:47 -0000 > Yeah, I guess we'll need some wrappers to do this. Well the logic is if(unrecoverable failure) { i_puts("helpful messsage saying your javascript is rendered invalid for this session, but will still operate in other sessions."); DestroyContext(cw->jss->jcx); delete cw->jss); cw->jss = NULL; } This could be a function, inline function, or macro, guess I don't have strong feelings about that. We'll need at least one new message which is fine; just add some zeros on the end for the other languages so I can keep the books. Don't reindent messages.h, it messes up the line counts. I've been driving for a while and need to work on some other things so if you want to carry on for a bit that's fine. Karl Dahlke