On Sat, Dec 27, 2014 at 06:43:28AM -0500, Karl Dahlke wrote:
> With some help from Adam, edbrowse is entirely back to C.
> I even changed the bool true false stuff back.
> This was easy for me because of a program I wrote many years ago
> called sedunit, like sed but it only replaces logical units.
> If you ask to change foo it won't change foobar.
> So I just type
> 
> sedunit *.[chp] <<!
> eb_bool/bool
> eb_true/true
> eb_false/false
> !
> 
> and it's done.

That's cool.
Is the code anywhere?

> Also got rid of the extern "C" {} in eb.p, don't need that any more.
> That means eb.p can be indented, if you wish,
> and it will come out properly.

Yeah, I'm not sure if you've done it yet,
but once things have stabilised a bit we need to re-indent things.
> Well I didn't mention in my list of tasks to track down the seg fault in js.
> Sorry to hear you are plagued by that again Adam.
> Does the hello world program run?
> That would be a good test.

I've not tried that yet, but I suspect not.
I've simply switched back to the hand-compiled mozjs and things work again.

> If nobody else is jumping on it, I may look into the download
> in background task, cause I think it should be straightforward.
> We don't need a lot of ipc communications, just fork and run in background
> and tell user when done.
> I'd go along with Adam on having some kind of download directory,
> cause as he says, you can always type ./foo, and even more than that,
> you can omit the download directory from the config file,
> and then you just don't have one, if that's your preference.
> I thought about spawning a curl command to do the download,
> that's easy programming,
> but someone on this llist pointed out that some sites
> require you to step through some javascript to actually make the download 
> work,
> which curl is never going to understand,
> so the only way to cover this case is to start the download as usual,
> then switch to another curl callback function that writes
> the chunks of data to a file,
> instead of adding them to a growing buffer in memory.

Yeah, I've ran into such sites on multiple occasions.
I like the idea of switching callbacks,
that should allow us to avoid code duplication hopefully.

Cheers,
Adam.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev

Reply via email to