Changed anchorRegExp to ignore emptiness as a criteria for inserting an
anchor.
Prevent '\0' from being included in NCCLASS.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17959 18797224-902f-48f8-a5cc-f745e15eee43
to reflect that. Numberious changes in jsfile.c: native support only
works for standard streams and pipes, error handling, macros, url
support, etc.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17723 18797224-902f-48f8-a5cc-f745e15eee43
standard streams. Otherwise, there are too much problems.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17698 18797224-902f-48f8-a5cc-f745e15eee43
- ungreedy versions of + * {}
- non-capturing parens (?: )
- multiline as an instance property (set with m flag)
Also bug fixes for -
- "|a" was being interpreted as a 2 char literal instead of an alternate
with an empty first case.
- { } wasn't back-tracking.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17524 18797224-902f-48f8-a5cc-f745e15eee43
elements. Currently turned off via JS_HAS_SPARSE_ARRAYS in jsconfig.h.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@17328 18797224-902f-48f8-a5cc-f745e15eee43
<rainer@aaa-plus.com> for great memory leak and garbage variable
fixes.
These fixes clear up some leaks in the errors-as-exceptions mechanism
(currently turned off in jsconfig.h), and also some uninitialized
variables that sometimes resulted in garbage fields in the ErrorReport
struct, independent of the exception code.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@16822 18797224-902f-48f8-a5cc-f745e15eee43
next frame to see if it has any idea where the error came from.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@16106 18797224-902f-48f8-a5cc-f745e15eee43
[[DefaultValue]] operator doesn't call valueOf() for function/closure
objects when hint is not JSTYPE_STRING.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14943 18797224-902f-48f8-a5cc-f745e15eee43
they're not added to the compile lines for libjs, but only to the js
executable.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14663 18797224-902f-48f8-a5cc-f745e15eee43
this made it possible to remove the TSF_INTERACTIVE flag from the
scanner, and also much SCAN_NEWLINES twiddling.
- Restructured js.c to use the new interactive APIs; interactive
execution now parses the same language grammar as execution from a
file - it's now legal to put opening braces on a new line. This
fixes a longstanding bug where
while(false)
5
evaluated to 5 in interactive mode.
- Added support for line-editing and history for the standalone
javascript engine; added files for the open-licensed 'editline'
library. Line-editing is currently enabled for Linux, Irix and SunOS,
and is likely to work elsewhere; see editline/README.
- Fixed rules.mk to recur into PREDIRS and DIRS for clean and clobber.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14655 18797224-902f-48f8-a5cc-f745e15eee43
Fixed bug in ucclass op following anchor1 op - needed to update next pc
value to account for length of ucclass data.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14599 18797224-902f-48f8-a5cc-f745e15eee43
the JSREPORT_UNCAUGHT_EXCEPTION flag. Moved this code out of #if
HAS_ERROR_EXCEPTIONS code, because it applies to all exceptions, not
just error exceptions.
git-svn-id: svn://10.0.0.236/branches/SpiderMonkeyDev_BRANCH@14279 18797224-902f-48f8-a5cc-f745e15eee43
Build. Changed build/Makefile.in so that we do not compile
nsMotifWidgetFactory.cpp if we are using GTK as we have one in the GTK dir
now.
Add nsWidgetFactory.cpp to gtk/Makefile.in
Cleanup of nsWindow.cpp: removed lots of unused code and general cleanups and
fixes.
Don't create a toplevel window in nsAppShell.cpp as it isn't really needed.
git-svn-id: svn://10.0.0.236/trunk@14129 18797224-902f-48f8-a5cc-f745e15eee43