Difference between revisions of "Uno/To-Dos"

From Apache OpenOffice Wiki
< Uno
Jump to: navigation, search
(Bugs: Added another bug. Fixed a link.)
(Added link to issue 75053.)
Line 56: Line 56:
 
* [http://udk.openoffice.org/common/man/draft/logging.html Logging support]
 
* [http://udk.openoffice.org/common/man/draft/logging.html Logging support]
 
* [http://udk.openoffice.org/cpp/man/draft/stacktraces_for_exceptions.html Exceptions with Stack Traces]
 
* [http://udk.openoffice.org/cpp/man/draft/stacktraces_for_exceptions.html Exceptions with Stack Traces]
 +
* [http://www.openoffice.org/issues/show_bug.cgi?id=75053 Issue 75053: Language binding support for service contstructors]
  
 
==Tests==
 
==Tests==
 
* [http://udk.openoffice.org/common/man/tasks/apitests.html API Tests] - Help implement API tests.
 
* [http://udk.openoffice.org/common/man/tasks/apitests.html API Tests] - Help implement API tests.

Revision as of 09:50, 2 March 2007

To-Dos and potential To-Dos.

General

Uno/Todo/Clear Separation between C and Cpp and Core Components

Bugs

Naming / Clean up

  • Rename module udk/cppu to reflect that it is implementing the Binary Uno runtime.
  • Rename module udk/cppuhelper to reflect that it is implementing the C++ Uno runtime.
  • Rename the Binary Uno to JNI (Jave Native Interface) bridge: java_uno -> jni_uno. Because that is what the bridge is about.
  • Rename the Binary Uno to Remote Uno bridge: urp_uno -> remote_uno. Because that is what the bridge is about (actually, there is no URP object to program against, at least not in Binary Uno).
  • Remove the "lib" prefixes under UNIX from the Binary Uno bridges.
  • Rename udk/cpputools to something like "unotools" (unfortunately this name is already in use).
  • Mark SAL_IMPLEMENT_MAIN_WITH_ARGS as deprecated, the right way to deal with args are the RTL command line arg functions, see porting/sal/inc/rtl/process.h

Simplification and Performance

  • Remove the Binary Uno Object Binary Interface (OBI) (struct uno_Interface) and friends, replace it with one of the platform C++ OBIs.
  • Support direct access of Uno types in Uno IDL, without includes.
  • Let the *makers retrieve type information from the type providers and not from rdb files.
  • Harmonize initial object access for Remote Uno and components -> it is actually the same. E.g.
    "uno:library;[gcc3];<implementation name>"
    may be used to access an instance factory, or any other object of interest.
  • Leverage Purpose Bridges for global variables, e.g. the "ServiceManager" or the "ComponentContext". Use this for bootstrapping as well. E.g.
    Reference<XComponentContext> cppu::getComponentContext();
    always returns the current component context. It is usable in components, libraries or applications and may even bootstrap Uno, if no context is available yet.
  • Remove all exception specifications.
  • Consolidate the Binary Uno structs "uno_Environment" and "uno_ExtEnvironment".
  • Remove #ifndef EXCEPTIONS_OFF macros, actually C++ Uno is not usable without exceptions anyway.
  • Is SAL_CALL really necessary for "inline" stuff? If not, remove it.
  • Unify command line interface for all Uno tools.
  • Convert the ProxyFactory service into a library and deprecate it.

Features

Tests

Personal tools