Tue, 07 May 2013 05:04:46 -0400
Rewrite debug window filter in JS.
Note, this does cause a couple regressions, but they are probably not
that big a deal. First, the JS regular expression syntax is slightly
different. Second, the JS regex API lacks a way to reliably determine
the location of matched groups, so we can't highlight just the groups
and must highlight the entire expression.
I suspect that none of our users ever had to use any fancy regex in the
debug window, and that most of our developers didn't even know it could
be done. So I doubt these regressions will cause much pain.
/* * camproc.h * basecame * * Created by CS194 on Mon Apr 26 2004. * Copyright (c) 2004 __MyCompanyName__. All rights reserved. * */ //#pragma once #ifdef __APPLE_CC__ #include <Carbon/Carbon.h> #else #include <Carbon.h> #endif #include "cc_interface.h" #include "filter.h" void Die(void); OSErr CamProc(struct input_instance *inst, filter_bank *bank); void QueryCam (void);