Commit graph

279 commits

Author SHA1 Message Date
Rüdiger Timm
1a58ac05be INTEGRATION: CWS uno2 (1.2.62); FILE MERGED
2003/04/07 08:33:34 sb 1.2.62.1: #108678# Replaced sandbox-based proxy with java.lang.reflect based one.
2003-04-23 16:04:10 +00:00
Rüdiger Timm
b8789bce5c INTEGRATION: CWS uno2 (1.27.2.1.16); FILE MERGED
2003/04/10 13:50:26 sb 1.27.2.1.16.3: #108825# In the RefHolder, keep a hard reference to the local object (the java_environment will only hold it weakly, so that a local object might be garbage-collected otherwise).
2003/04/07 08:33:33 sb 1.27.2.1.16.2: #108678# Replaced sandbox-based proxy with java.lang.reflect based one.
2003/04/04 09:13:59 sb 1.27.2.1.16.1: #108628# Always send back a release for a known object in mapInterfaceFrom (e.g., when the object is a local one mapped out via another bridge and now mapped back in); cleaned up handling of disposed bridge.
2003-04-23 16:03:59 +00:00
Rüdiger Timm
dc80c49936 INTEGRATION: CWS uno2 (1.1.2); FILE ADDED
2003/04/07 08:43:12 sb 1.1.2.2: #108678# Added documentation.
2003/04/07 08:31:08 sb 1.1.2.1: #108678# Replacement for com.sun.star.lib.uno.environments.java.IRequester.
2003-04-23 16:03:48 +00:00
Rüdiger Timm
b90b8d2507 INTEGRATION: CWS uno2 (1.1.2); FILE ADDED
2003/04/15 09:31:36 sb 1.1.2.3: #107753# Adapted hashCode and equals.
2003/04/10 12:51:51 sb 1.1.2.2: #108678# Fixed handling of proxy's queryInterface when supported type equals requested type.
2003/04/07 08:30:54 sb 1.1.2.1: #108678# Replacement for com.sun.star.lib.uno.environments.java.Proxy.
2003-04-23 16:03:38 +00:00
Vladimir Glazounov
39865c769e INTEGRATION: CWS tune01 (1.2.54); FILE MERGED
2003/03/12 15:06:41 sb 1.2.54.1: #107990# Introduced NativeLibraryLoader to unify loading/locating system libraries.
2003-04-15 13:34:21 +00:00
Vladimir Glazounov
cae963767c INTEGRATION: CWS tune01 (1.1.2); FILE ADDED
2003/03/12 15:06:40 sb 1.1.2.1: #107990# Introduced NativeLibraryLoader to unify loading/locating system libraries.
2003-04-15 13:34:07 +00:00
Vladimir Glazounov
34f0e481a9 INTEGRATION: CWS tune01 (1.1.4.1.10); FILE MERGED
2003/03/12 15:06:37 sb 1.1.4.1.10.1: #107990# Introduced NativeLibraryLoader to unify loading/locating system libraries.
2003-04-15 13:33:59 +00:00
Jens-Heiner Rechtien
44bf5dacd7 MWS_SRX644: migrate branch mws_srx644 -> HEAD 2003-03-26 11:41:32 +00:00
Stephan Bergmann
1ef41f44bc #104312# Removed useless import. 2002-10-30 14:32:52 +00:00
Stephan Bergmann
a8603cd04b #104312# Adapted to new TypedProxy. 2002-10-30 14:32:05 +00:00
Stephan Bergmann
8e8004db87 #104312# 2002-10-30 14:27:51 +00:00
Daniel Boelzle
dd494ed41b #104312# workaround partly initialized Type object 2002-10-29 08:17:05 +00:00
Joachim Lingner
be2022e70a #97822# 2002-10-22 14:46:43 +00:00
Stephan Bergmann
abc17b70ec #103968# Cleaned up socketAcceptor/Connector. 2002-10-07 12:17:19 +00:00
Stephan Bergmann
6e63cafea8 #103968# Cleaned up Acceptor/Connector. 2002-10-07 12:16:28 +00:00
Joachim Lingner
9e50970ccf #97822# Removed ComponentFactoryWrapper 2002-10-01 12:30:46 +00:00
Stephan Bergmann
1f3119d63c #98508# Keep it compilable with JDK 1.3. 2002-09-23 10:57:12 +00:00
Joachim Lingner
70ef9f2719 #98344# Factory now implements XTypeProvider 2002-09-18 08:59:02 +00:00
Stephan Bergmann
967272f60a #98508# In execute, do not call sendReply a second time with an exception in case the regular sendReply caused an exception. 2002-09-17 14:07:24 +00:00
Stephan Bergmann
2319693769 #98508# Cleaned up. 2002-09-17 14:06:14 +00:00
Stephan Bergmann
caa6bec08c #98508# In sendReply, dispose the bridge when _iProtocol.writeReply causes an exception (with urp, the bridge is probably no longer usable, because the caching will be out of sync). 2002-09-17 13:58:52 +00:00
Daniel Boelzle
f21f2d50a5 #102916# fixed manifest file RegistrationClassName lookup 2002-09-04 08:20:04 +00:00
Daniel Boelzle
a55732e8d1 #102601# caught java.lang.Exception 2002-09-02 13:36:28 +00:00
Daniel Boelzle
af3d1f44eb #100232# added support for __getComponentFactory 2002-08-13 10:40:35 +00:00
Joachim Lingner
04aa8014c2 #99466# isObject and toObject now treat an Any with interface type and null reference as vali objects,i.e. do not throw IllegalArgumentException 2002-08-08 13:34:27 +00:00
Jörg Budischewski
5dd34933da #101084# resources are now held hard, otherwise resource might become garbagecollected 2002-07-19 08:02:20 +00:00
Joachim Lingner
4330254e02 #101419# disposed exception occurred when closing basic IDE, a stack trace was printed also in non - debug 2002-07-17 09:54:11 +00:00
Daniel Boelzle
a07783af0a #99059# fixed macro expander init 2002-07-03 07:49:50 +00:00
Jörg Budischewski
64dac91688 #99601# performance optimizations 2002-06-25 06:18:12 +00:00
Daniel Boelzle
894cb67c27 #100075# using macro expander singleton handling macrofied urls 2002-06-14 12:12:10 +00:00
Daniel Boelzle
c28dcca32e #100075# using macro expander singleton handling macrofied urls 2002-06-14 12:09:52 +00:00
Jörg Budischewski
b303b2aa26 #99373# fixes problem with java 1.4., __getMethodsAsTable() does not rely anymore on the sequence of function names 2002-05-16 13:58:46 +00:00
Joachim Lingner
c7b49c54a6 #97746# java helper classes 2002-04-11 14:43:31 +00:00
Joachim Lingner
7d297b2a75 #98379# HolderProxy.isSame 2002-03-27 12:03:56 +00:00
Joachim Lingner
968dccbf9a #98345# 2002-03-26 13:13:10 +00:00
Jörg Budischewski
eb1e9e42a9 #98036# mappingException now deprecated 2002-03-21 15:25:03 +00:00
Jörg Budischewski
d90dd9f646 #98036# runtime exception replaced by DisposedException 2002-03-21 15:23:31 +00:00
Joachim Lingner
05ac712fcd #96438# UrlResolver.java 2002-02-18 12:18:16 +00:00
Jörg Budischewski
e38b8bde71 #96701# API review 2002-01-18 13:06:54 +00:00
Stephan Bergmann
eb90f28f11 #94448# Fixed to call performance-optimized writebyteSequence from writeSequence. 2001-12-20 07:54:37 +00:00
Joachim Lingner
ad9bb8a810 #75148# ClassLoader are created as secure 2001-11-22 12:26:37 +00:00
Jörg Budischewski
ff455b4a74 #94215# asynchronous queue is not made public anymore 2001-11-02 09:48:29 +00:00
Jörg Budischewski
912a8656fa #93678# added typeinfo for structs (necessary for jdk14_beta2) 2001-10-26 10:44:11 +00:00
Joachim Lingner
60d94f828c #88569# added AnyConverter 2001-07-09 07:11:08 +00:00
Joachim Lingner
03e145efdc new 2001-07-05 12:58:35 +00:00
Daniel Boelzle
cfb3fc5f40 #87233# component context support 2001-06-14 10:54:57 +00:00
Kay Ramme
ee19c132d5 renamed ThreadID; changed to new ThreadPool interface (#87110#) 2001-05-17 11:55:06 +00:00
Kay Ramme
18d2636e5f renamed ThreadID; changed to new ThreadPool interface; throws dispose reasong (#87110#) 2001-05-17 11:53:18 +00:00
Kay Ramme
7fc5971486 renamed ThreadID -> ThreadId 2001-05-17 11:46:28 +00:00
Kay Ramme
df146902e9 new ThreadPool interface (#87110#) 2001-05-17 11:44:32 +00:00
Kay Ramme
2a16a6d8f8 must not be a service 2001-05-09 10:31:39 +00:00
Kay Ramme
9e2edc84a6 removed method: addFactories 2001-05-08 08:53:03 +00:00
Kay Ramme
62e804ea09 type clean up 2001-05-08 08:41:02 +00:00
Kay Ramme
73c4501bf4 use typedescription provider instead of Type.getTypeDescription 2001-05-08 08:35:52 +00:00
Kay Ramme
78aeab22ad removed obsolet exception declaration; made must change to getInstnace conformity; cleaned up exception specification 2001-05-04 11:00:32 +00:00
Kay Ramme
d4be64fff7 cleaned up exception specification 2001-05-04 10:57:12 +00:00
Kay Ramme
904027a5ac removed obsolet exception specification 2001-05-04 10:52:11 +00:00
Kay Ramme
f2047f6e25 removed obsolet import of MappingException 2001-05-04 10:38:13 +00:00
Kay Ramme
0f250378db removed obsolet import 2001-05-04 10:37:36 +00:00
Kay Ramme
b69ade5fd1 map void-any on Any(void.class) 2001-04-20 10:57:33 +00:00
Kay Ramme
ebc4b0b9b1 removed obsolete toString method 2001-04-20 09:28:13 +00:00
Kay Ramme
d08880b06b removed obsolet methods for connection inheritance 2001-04-19 15:24:57 +00:00
Kay Ramme
296aeba35b joined 1.8.4.11 - 1.8.4.12 (enabled the socket-close-bug workaround only for linux jdk1.3.0 from blackdown or sun (#84339#)) 2001-04-19 14:56:19 +00:00
Kay Ramme
61b3d7387b joined changes from 1.6.2.6 - 1.6.2.8 2001-04-17 15:14:21 +00:00
Kay Ramme
8d67e7ebb0 new option: tcpNoDelay (#85985#) 2001-04-17 08:52:17 +00:00
Kay Ramme
376c65afb1 new option: tcpNoDelay (#85985#) 2001-04-17 08:43:05 +00:00
Kay Ramme
b580037e79 unrole arrays of interface sequences (must not be XInterface) in structs correctly (#84354#) 2001-03-14 09:16:07 +00:00
Kay Ramme
a38d233414 get MANIFEST relative to jar files (#84787#) 2001-03-13 08:29:37 +00:00
Kay Ramme
3b40944695 cleaned; removed one sendReply 2001-03-12 15:49:23 +00:00
Kay Ramme
fd4b557147 removed unnecessary synchronizeds; correct _message_count (#84611#) 2001-03-12 14:46:07 +00:00
Kay Ramme
8fa11b239c now synchronized correctly on _outputStream (something went wrong with some merges)(#84611#) 2001-03-12 14:40:09 +00:00
Kay Ramme
62b119c5e7 merged changes from 1.6.2.2 - 1.6.2.6 2001-03-09 10:45:22 +00:00
Kay Ramme
e442fb0870 (#84764#) 2001-03-08 11:28:12 +00:00
Kay Ramme
511ec8a6d1 joined changes 1.6.2.3 - 1.6.2.4 (#84162#) 2001-03-06 16:39:30 +00:00
Kay Ramme
d3626f93c1 let the JobDispatcher go through the javaThreadPool (#84162#) 2001-03-06 16:13:57 +00:00
Kay Ramme
ad760037f8 joined changes 1.4 - 1.4.4.1 (#84162#) 2001-03-06 16:09:08 +00:00
Kay Ramme
0ef854ca8e sync _jobQueus access; remove JobQueue only if it is a remote thread (#84395#) 2001-02-28 09:47:01 +00:00
Kay Ramme
53a6fd0095 merged changes from 1.2 - 1.2.4.1 (synchronize incs, decs, _objects) 2001-02-26 17:26:36 +00:00
Kay Ramme
446e5876a0 merged changes from 1.8.4.6 - 1.8.4.7(synchronize incs, decs, _objects) 2001-02-26 17:22:14 +00:00
Kay Ramme
c6811dc609 merged diff 1.8.4.5-1.8.4.6 (the source environment has to be set, when creating the procol (#82290#)) 2001-02-22 16:12:21 +00:00
Kay Ramme
4dcd74de67 remove JobQueue from ThreadPool, if disposed (#82560#) 2001-02-20 09:48:05 +00:00
Kay Ramme
b05360b9b6 merged chainges from 1.6.2.1 - 1.6.2.2 (only print stack trace if job in queue or job in progress (#83868#)) 2001-02-19 14:42:37 +00:00
Kay Ramme
5d06cf695b fill in stackTrace 2001-02-19 09:02:53 +00:00
Kay Ramme
4741d1a9f3 resolve InvocationTargetException 2001-02-19 09:01:01 +00:00
Kay Ramme
6432c6c1da let a possible exception from >createInstance< fly through 2001-02-19 09:00:07 +00:00
Kay Ramme
7d38073be3 joined changes from 1.8.4.4 - 1.8.4.5 (#83116# add interface IInvokeable and IInvokeHook (must be used for netscape under linux/solaris)) 2001-02-06 12:36:17 +00:00
Kay Ramme
7f74b53850 joing changes from 1.6 - 1.6.2.1 (#83116# add interface IInvokeable and IInvokeHook (must be used for netscape under linux/solaris)) 2001-02-06 12:31:14 +00:00
Kay Ramme
ce64c5fc2b #83116# add interface IInvokeable and IInvokeHook (must be used for netscape under linux/solaris) 2001-02-06 11:32:04 +00:00
Kay Ramme
d0dbc11b68 joined changes from: #80673# this enables force synchronous and fixes a small bug urp.java 2001-02-02 08:01:04 +00:00
Kay Ramme
4eeb339928 merged #83361# (bug fix for releasing multi mapped objects) from diff 1.8.4.2-1.8.4.3 2001-01-31 09:32:33 +00:00
Kay Ramme
38dd41be77 #82550# create a new java environment for every bridge 2001-01-22 16:35:05 +00:00
Kay Ramme
6e1f5c70ed #82702# workaround for linux socket problem 2001-01-18 13:23:37 +00:00
Kay Ramme
8ba62925bc create type by class only 2001-01-16 17:07:14 +00:00
Kay Ramme
fc27d61878 Mapping renamed to IMapping 2001-01-16 17:03:50 +00:00
Kay Ramme
49b4d41601 use Type and TypeDescription instead of Class 2001-01-16 17:01:32 +00:00
Jörg Budischewski
0ea3c45e93 #82606# removed an ambiguity, introduced by a change in sandbox 2001-01-09 12:43:15 +00:00
Kay Ramme
bd051fffa5 #82443# added thread run hooks 2000-12-22 09:01:29 +00:00
Kay Ramme
994448b954 #81786# be kind of tolerant against null sequences 2000-12-13 15:32:20 +00:00
tpf
eb16646154 #81493# set bridge to null if not with correct name 2000-12-07 18:10:03 +00:00
cdt
a67dea2b3f #80230 Get rights for Netscape 2000-11-30 17:59:51 +00:00
cdt
a6b34b91e9 # Get rights for nescape 2000-11-30 17:56:25 +00:00
Kay Ramme
8214d01a8b give the reason of InvocationTargetException 2000-11-28 13:47:05 +00:00
Kay Ramme
b84d44b41e fixed tests to find a usable contructor; throw exception if no usable constructor available; check before calling initialize 2000-11-28 13:46:09 +00:00
Kay Ramme
0b87e087e2 #80785# added attributes: localHost,localPort,peerHost,peerPort 2000-11-28 10:17:52 +00:00
Kay Ramme
bbf1ce3a15 method getBridge fixed 2000-11-27 10:32:40 +00:00
tpf
9cf856e24f #80249# disabled DEBUG 2000-11-20 10:59:18 +00:00
Kay Ramme
e0fbd05c6c forward genuine java exceptions to client 2000-11-17 09:45:40 +00:00
Daniel Boelzle
9be3c618e0 #80090# restrict jar file access to java system property com.sun.star.comp.loader.CPLD_ACCESSPATH 2000-11-16 08:09:13 +00:00
Kay Ramme
e057246579 wait not only for async jobs in progress, but also for queued ones 2000-11-15 16:11:44 +00:00
Juergen Schmidt
a8761066ba remove generation of java files from idl 2000-11-08 12:08:15 +00:00
Kay Ramme
2f2e0072ea added negotiate and forceSynchronouse attributes for bridge 2000-11-03 09:33:50 +00:00
Kay Ramme
823b3a21f2 inform listeners also when EOF reached 2000-10-30 10:39:35 +00:00
Kay Ramme
47e44422b7 #79736# use the latest added factory for services 2000-10-27 08:56:36 +00:00
Kay Ramme
c886760ee7 changed the BridgeFactory to use the UnoRuntime for bridge access 2000-10-19 14:46:30 +00:00
Kay Ramme
f640281c0c moved thread add counting from JobQueue to JavaThreadPool 2000-10-19 14:44:57 +00:00
Kay Ramme
1d0f60c164 constructor accepts a 4th parameter as the bridge name; only print exceptions occurred during sendRequest, when debug enabled 2000-10-19 14:42:11 +00:00
Kay Ramme
825cc5a283 typo: missing dot in service path added 2000-10-19 12:07:52 +00:00
Kay Ramme
0e481b7ac0 #79524# reduce verbosity - do not print connection failures 2000-10-17 14:44:59 +00:00
Jörg Budischewski
ad8b1cd6f5 XEventListener,XComponent added 2000-10-09 06:31:48 +00:00
Jörg Budischewski
7cf653fd66 BridgeFactory is now EventListener for every created bridges, so that disposed bridges are removed from the internal hashmap 2000-10-06 15:29:18 +00:00
Kay Ramme
a6a106d204 extrace parameter for sendRequest: mustReply 2000-09-28 15:54:22 +00:00
Kay Ramme
34c7bde1a3 extra parameter for sendRequest; urp extensions 2000-09-28 15:53:48 +00:00
Kay Ramme
db46b82f5b support for cache disabling; enums are uncompressed (urp changes) 2000-09-28 15:53:16 +00:00
Kay Ramme
9bb92d882f check if the in mapped object is java object, send release immediatly, only create proxy for real remote objects 2000-09-28 10:47:06 +00:00
Kay Ramme
f3b51c2c51 insert StableListeners into right table 2000-09-28 10:44:34 +00:00
Kay Ramme
0e19fa2ba4 replaced getDeclaredFields with getFields 2000-09-28 10:43:18 +00:00
Kay Ramme
383afea213 disabled debug output; removed synchronize of enter method 2000-09-28 10:32:50 +00:00
Kay Ramme
2d038608fc now uses XInitialisation for passing arguments 2000-09-27 08:38:07 +00:00
Jens-Heiner Rechtien
b525a3115f initial import 2000-09-18 14:29:57 +00:00