Граф коммитов

26 Коммитов

Автор SHA1 Сообщение Дата
igor%mir2.org 28a9fb6cd8 RefCallable is new member of public API 2005-08-07 10:05:47 +00:00
igor%mir2.org 471522f868 I added DebuggableScript to javadoc list and fixed javadoc warnings about its documentation comments. 2004-11-24 10:38:40 +00:00
igor%mir2.org 90de2b091f Added GeneratedClassLoader 2004-10-14 07:34:54 +00:00
igor%mir2.org 16ae7ea84b More work for bug 244492: I deprecated ClassDefinitionException modified
ScriptableObject to use EvaluatorException instead.

For greater compatibility I also changed ClassDefinitionException to extend
from RuntimeException, not Exception so compilers would not complain about
"catch (ClassDefinitionException ex)" when no ClassDefinitionException is present in the called code.
2004-09-10 17:50:05 +00:00
igor%mir2.org ddaa32365c Deprecating PropertyException as a part of common exception root changes, see 244492. 2004-08-14 16:45:30 +00:00
igor%mir2.org 43681e3c83 Documenting ClassFactory usage 2004-08-14 15:17:40 +00:00
igor%mir2.org 09de001da9 GeneratedClassLoader is API class and should be listed in apiClasses.properties 2004-08-05 06:06:30 +00:00
igor%mir2.org f3d3d1d14a Work on bug 244492: RhinoException is the new common base class for all exceptions. 2004-06-07 16:40:28 +00:00
igor%mir2.org a58e08501c Introduction of ContextAction interface as a safe alternative for Context.enter/Context.exit. All usages of Context.enter/Context.exit in Rhino are replaced by
Context.call(new ContextAction() {
	public Object run(Context cx) { ... }
});
or similar alternatives.

It prevents bugs with missed Context.exit and provides room for optimization of Context association with current thread and simplify implementation of safe environment for execution of untrusted applets and scripts.

In addition, Rhino now supports global SecurityController that take precedence over any per/Context controllers so the application can setup the controller once and for all.
2004-06-06 15:33:59 +00:00
igor%mir2.org 08117caf7c ContextFactory is a new API class 2004-06-06 09:28:18 +00:00
igor%mir2.org e9111c411d EvaluatorException and WrappedException are public API now 2004-01-18 21:21:41 +00:00
igor%mir2.org 197d8abe67 Deprecating ClassNameHelper and ClassRepository in favor of new optimizer/ClassCompiler. 2004-01-17 21:52:30 +00:00
igor%mir2.org fd70d98f29 ClassRepository is removed from list of API classes to allow to replace it in future by direct access to optimizer. 2003-11-04 14:55:58 +00:00
igor%mir2.org 5294159feb GlobalScope is removed as its introduction had to serious consequences with compatibility and usage. Instead a special purpose class ClassCache is introduces to hold various caches. The class binds itself to an arbitrary object by using new SciptableObject.associateValue method so arbitrary ScriptableObject can be used as a scope without performance penalties. 2003-11-01 15:34:23 +00:00
igor%mir2.org ba83445719 GlobalScope is a part of API now. 2003-10-09 06:42:30 +00:00
igor%mir2.org 9db4ab159d Changing Context.newObject to use ScriptRuntime.getExistingCtor to get constructor Function instance. In this way Context.newObject will throw the same set of exceptions that other parts of Rhino will throw on bad access to constructor.
With this change NotAFunctionException is no longer used so it is deprecated and changed to extend from Error not Exception for source compatibility: otherwise compiler will complain about unreachable catch handler.
2003-09-10 12:44:23 +00:00
igor%mir2.org 071e6626a2 Removal of deprecated classes from the list of API docs 2003-03-19 14:14:29 +00:00
igor%mir2.org 3815049c3a New security implementation. 2002-07-04 21:40:12 +00:00
nboyd%atg.com f597bef5b2 Add new API class WrapFactory. 2002-06-10 14:28:37 +00:00
nboyd%atg.com 9f75ff8405 Move serialization classes to new package. 2001-09-29 20:50:59 +00:00
nboyd%atg.com 89195e2df6 Add support for serialization and deserialization. 2001-09-27 02:33:51 +00:00
nboyd%atg.com 6a729b6877 Fix javadoc with new directory structure. 2001-04-25 14:36:15 +00:00
matthias%sorted.org a5be259d64 added support for implementing Java-style synchronized methods in Javascript 2001-01-31 13:02:42 +00:00
nboyd%atg.com 68a6e91a65 Add ContextListener to API classes. 2000-12-18 19:30:26 +00:00
nboyd%atg.com 35f28776c5 Upgrade to Ant 1.2 and remove deprecated tasks. 2000-11-01 18:43:55 +00:00
nboyd%atg.com 297522e053 Add support for new Ant-based buildfile. 2000-10-06 16:26:17 +00:00