Age | Commit message (Collapse) | Author |
|
contructor -> constructor
convinient -> convenient
Notes:
prefer: 48f0a5ed3501e0b0a55cc71f85b4d1aee5a9f4ed
|
|
Firstly, add isDisposed() and checkDisposed() methods to
main/javaunohelper's com.sun.star.lib.uno.helper.ComponentBase, so that
Java components can easily test and assert their disposal state. Comment
these for a clearer understanding of how disposal works, namely that
locking against disposal must cover all access of that component, so that
the component can't be disposed half-way through being used. These methods
are stricter than before, where only bDisposed was checked, which allowed
the component to be used during disposal (as postDisposing() runs before
bDisposed is set)!!
Fix and simplify locking in the PostgreSQL driver, first by using the new
methods in ComponentBase instead of tracking disposal separately with our
own variable, then expand locking to entire methods so components can't be
disposed during a method's execution, and finally eliminate disposal
tracking in components that purely wrap another component and modify
data in transit, as all disposal management is done by the wrapped
component and we don't have to worry as long as our postDispose() has
nothing special to do and just delegates to the wrapped component.
Also eliminate internal locks in objects, and use "this" as the lock for
the non-container objects like Table / Column / Key, while using the
parent's "this" as the lock for contain objects like Tables, Columns, Keys
etc., as this further simplifies locking, allow using method-level locking
instead of "synchronized (this)", reduces the number of fields, simplifies
locking in subclasses, and theoretically allows callers to hold the lock
across multiple method invocations.
Other minor fixes, some exception cleanup, use of AtomicInteger to generate
numbers in PropertySetAdapter, etc.
Patch by: me
Notes:
ignore: aoo
|
|
to disposed, the relevant variables (bDisposed and bInDispose) are written to
outside a synchronized block.
The equivalent C++ implementation in main/cppuhelper/source/implbase.cxx,
method WeakComponentImplHelperBase::dispose(), already does this.
Patch by: me
Notes:
merged as: 1963dc64554a8b64c229ddd72bc615f3e736731a
|
|
Patch by: me
Notes:
prefer: 0d0920b13e23763ba2cc72eb48729ad2fad9d23d
|
|
fix performance bugs in getContainer() where O(n) iteration over all keys
was being done instead of an O(1) map.get(), and in getContainedTypes()
where iteration over keys and then n calls to map.get() for the value was
being done instead of iteration over entries.
Patch by: me
Notes:
prefer: f9fa0dd66b830ff21c4a2dcd201151a4e9ca2de8
|
|
instead of using "new <Type>(<value>)", use <Type>.valueOf(<value>),
or better yet, rely on autoboxing.
Since the box objects are immutable, Java can and does cache them for
values between -128 and 127, which includes all possible boolean and byte
values and many common values for all other basic types. Thus, unlike the
constructor, calling valueOf() or autoboxing such values does not allocate
memory at all, and only returns the pre-existing instance, which is not only
faster, but uses zero extra memory too.
This is the first of many patches. This one fixes this problem in bridges,
javaunohelper and jurt, which are parts of the Java<->Uno bridge, which is
critical to performance.
Patch by: me
Notes:
prefer: ff0ad0493ee1729c726587f667761b04101d774c
|
|
Patch by: me
Notes:
ignore: obsolete
|
|
Why worry about some sprinkled German when we haven't yet learned English.
Notes:
prefer: b37a07f2da6c4fcc1a01cc3ea547c558c23edd71
|
|
Notes:
prefer: 3a05aabe4190fc948ebdc94a14a15872f977ba0c
|
|
Notes:
prefer: 9ab5d436131df63c85945360520fe7ff948ee280
|
|
Notes:
prefer: 3a05aabe4190fc948ebdc94a14a15872f977ba0c
|
|
Attempt to clean up most but certainly not all the spelling
mistakes that found home in OpenOffice through decades. We
could probably blame the international nature of the code but
it is somewhat shameful that this wasn't done before.
Notes:
merged as: 19c4d8d2fbe424aaa54f098bcc6ba8c9aeb1e403
|
|
Notes:
merged as: 95ada2d65f6d999920f2a04599ac132fa632d66d
|
|
Collect several javadoc issues from Noel:
Fix a bunch of javadoc warnings in param.
Cleanup javadoc see tags.
Fix various misc. javadoc issues.
Author: Noel Grandin
Notes:
prefer: f6a62d9e4106f36aff899c847d63e3198532796e
|
|
|
|
|
|
|
|
css.lib.uno.helper.Factory
|
|
|
|
document
|
|
Microsystems to Oracle; remove CVS style keywords (RCSfile, Revision)
|
|
2009-09-01 sb #i76393# second attempt at properly #ifdef-ing previous HG commit d598efdbf012
2009-08-28 sb #i102469# change back <T extends XInterface> to just <T> on queryInterface, to avoid binary incompatibility (method changing its signature from (Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; to (Ljava/lang/Class;Ljava/lang/Object;)Lcom/sun/star/uno/XInterface;)
2009-08-28 sb #i76393# properly #ifdef previous HG commit d598efdbf012
2009-08-27 sb #i94421# work around compiler error (based on a patch supplied by cloph)
2009-08-26 sb merged in DEV300_m56
2009-08-26 sb #i76393# on Linux, include dynamic section offset in crash report so as to be able to map "prelinked" callstacks back to original (patch by cmc)
2009-08-26 sb #i88162# remove unnecessary whitespace lines from per-locale xcu files (patch by tora)
2009-08-17 Juergen Schmidt #i104292# set context classloader after create new custom UNO loader
2009-08-17 Juergen Schmidt #i103749# integrate patch
2009-08-14 sb #i103269# cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r 5124ebd5edd1 ("#i101955# changed encoding of XML file content from erroneous ISO-8859-1 to UTF-8")
2009-08-12 sb #i102469# fixed mis-applications of UnoRuntime.queryInterface (detected via the simplified UnoRuntime.queryInterface, the HG changeset 29de35fc9554) to use AnyConverter instead; changed qadevOOo's lib.MultiMethodTest.before to allow throwing arbitrary exceptions, to cater for IllegalArgumentException thrown by AnyConverter
2009-08-12 sb #i104178# drop extra libxml2-config script from libxmlsec
2009-08-10 sb #i101754# simplified osl_getProcessInfo for LINUX (patch by cmc)
2009-08-10 sb #i95018# avoid closing -1 fds (patch supplied by cmc)
2009-08-10 sb #i103585# removed (apparently unnecessary) zlib support from libxml2; in turn, removed zlib dependencies from libxmlsec, libxslt, and redland (assuming those were transitive dependencies brought in by direct dependencies on libxml2)
2009-08-10 sb #i102469# simplified UnoRuntime.queryInterface using Java 5 generics; adapted URE-related modules accordingly
2009-08-10 sb #i101213# adapted setsolar env (solenv/config/) to set PYTHONPATH (and not set PYTHONHOME) in accordance with configure env (set_soenv.in); fixed testtools/source/bridgetest/pyuno (which now should work everywhere out of the box, thanks to the fixed setsolar PYTHONPATH)
2009-08-10 sb cherry-picked ssh://hg@hg.services.openoffice.org/cws/sb111 -r ea8de6d9396b ("#i101955# work in progress for a .hgignore file, continued")
|
|
2009-05-04 13:51:10 +0200 cmc r271450 : #i101533# latest sw warnings
2009-05-04 00:02:46 +0200 cmc r271436 : #i101517# silence new warnings
2009-05-03 23:13:53 +0200 cmc r271435 : #i101305# add that one back in
2009-05-02 16:30:42 +0200 cmc r271431 : #i101493# get it to build, and remove some warnings
2009-05-02 16:12:37 +0200 cmc r271430 : CWS-TOOLING: rebase CWS cmcfixes58 to trunk@271427 (milestone: DEV300:m47)
2009-04-23 13:19:33 +0200 cmc r271163 : #i101305# remove annoying import foo is unused warnings
2009-04-21 17:10:34 +0200 cmc r271048 : #i101246# remove AVMEDIA_MANAGER_SERVICE_NAME defines again
2009-04-21 17:07:41 +0200 cmc r271047 : #i86323# remove xml2cmp unused methods
|
|
2008/04/23 09:54:49 jsc 1.15.14.2: RESYNC: (1.15-1.16); FILE MERGED
2008/04/03 07:56:47 jsc 1.15.14.1: #i86121# use NativeLibraryLoader instead of System loader
|
|
2008/05/07 11:35:25 sb 1.7.6.1: #i88687# URE code cannot know OOo data (unoil.jar)
|
|
2008/03/31 07:24:06 rt 1.8.52.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:06 rt 1.3.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:06 rt 1.2.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:06 rt 1.5.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:06 rt 1.4.22.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:06 rt 1.10.2.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:06 rt 1.4.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.6.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.4.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.3.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.2.24.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.3.22.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.8.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.6.44.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:05 rt 1.7.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:04 rt 1.7.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:04 rt 1.4.56.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:04 rt 1.15.12.1: #i87441# Change license header to LPGL v3.
|
|
2008/03/31 07:24:04 rt 1.3.22.1: #i87441# Change license header to LPGL v3.
|
|
2007/12/19 10:00:03 oj 1.9.50.1: #i84339# remove check for read only attribute
|
|
2007/06/06 08:21:10 sb 1.14.32.1: #i66196# In Bootstrap.bootstrap, give up waiting for an soffice connection after 5 min.
|
|
2006/12/13 10:13:18 sb 1.3.28.1: #i72311# Throw UnknownPropertyException from add|removeProperty|VetoableChangeListener.
|
|
|
|
|
|
2006/11/02 16:03:01 jl 1.1.2.1: #i71115# new service for use with smoketest
|