- 21 Nov, 2015 1 commit
-
-
Christian Schudt authored
For every packet being delivered the `ByteBufferWriter` creates a new String for every few chars written and puts it to the buffer. According to my tests it is more efficient to create only one string and put it into the buffer once. (10-20% better performance)
-
- 20 Nov, 2015 1 commit
-
-
Dave Cridland authored
This patch removes the thread pool from the ServerSocketReader, causing stanzas from a particular S2S session to be processed serially on the same thread used by the ServerSocketReader. Each ServerSocketReader currently has a thread to itself, so this is unlikely to have a serious impact on performance, but does have a very positive impact on correctness.
-
- 19 Nov, 2015 3 commits
-
-
Tom Evans authored
These sources were added to support the pending Maven refactor (PR #361). However the classes are not needed for the core compile/build. Moved into separate archive for safekeeping.
-
Tom Evans authored
When switch to/from clustered deployment, ensure that critical cached items such as components and remote servers are not inadvertently dropped from the cache.
-
Guus der Kinderen authored
By replacing Jetty 6.x era libraries with 9.x-based variants, JSP support will be brought back up-to-date. Additionally, Openfire will no longer have a mix of dependencies from various versions of Jetty. This commit contains a number of changes that go hand-in-hand: - Replaces JAR files - Applies uniformity to the buildscript where JSPC is executed - Replaces JSTL 1.0 taglibs with later versions - Adds a simple logger to the build process (to stop it from complaining)
-
- 18 Nov, 2015 3 commits
-
-
Christian Schudt authored
in the same fashion as e.g. `java.util.concurrent.Callable`
-
Tom Evans authored
Provide public constructor
-
Tom Evans authored
Remove "private" default constructor to enable subclasses, mock testing,, etc.
-
- 17 Nov, 2015 6 commits
-
-
Tom Evans authored
per discussion with core team
-
Tom Evans authored
Also remove dependency for sun.security.provider.* package
-
Christian Schudt authored
This is highlighted as "probably a bug" in my IDE. E.g. `new byte[]{1}.equals(new byte[]{1})` is always false. But `Arrays.equals(new byte[]{1}, new byte[]{1});` is true.
-
Christian Schudt authored
-
David Greene authored
-
Christian Schudt authored
- The 4 replace methods were nearly identical. - Deprecate String utility, which has a simple one-liner equivalent in the JDK - Use DatatypeConverter for byte[] to hex. It's less code and even 2-3 times faster than the previous method.
-
- 16 Nov, 2015 2 commits
-
-
Tom Evans authored
- Use AtomicReference instead of synchronized block - Extend java.io.Closeable; document contract - Consolidate close/state transition logic
-
Christian Schudt authored
URLUTF8Encoder is obsolete due to `java.net.URLEncoder.encode(str, "UTF-8")`
-
- 15 Nov, 2015 1 commit
-
-
Christian Schudt authored
This package-private class is a) unused and b) redundant due to `java.nio.channels.Channels.newInputStream(ReadableByteChannel)`
-
- 13 Nov, 2015 3 commits
-
-
Tom Evans authored
Avoid recursion and synchronization issues
-
akrherz authored
-
Christian Schudt authored
- Make it final and immutable. - Use pattern-based parsing, which allows to also parse the ReleaseStatus and the statusVersion. - Implement toString() method. - Implement equals() and hashCode(), which is a strong recommendation when implementing Comparable: From the JavaDoc: "It is strongly recommended that (x.compareTo(y)==0) == (x.equals(y))", which was not the case. - Allow CharSequence - Simplify getVersionString() method (less duplicate code). - Improve compareTo() method by properly comparing more than 2 digits and also comparing ReleaseStatus and statusVersion
-
- 11 Nov, 2015 1 commit
-
-
Dele Olajide authored
-
- 10 Nov, 2015 4 commits
-
-
speedy01 authored
Reverting some changes made with PR #239. by enabling the custom socket factory. Added the use of Comparator per http://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html#pooling for connection pooling
-
speedy01 authored
Reverting some changes made with PR #239. by enabling the custom socket factory. Added the use of Comparator per http://docs.oracle.com/javase/8/docs/technotes/guides/jndi/jndi-ldap.html#pooling for connection pooling
-
speedy01 authored
-
speedy01 authored
Added readtimeout and connect time out to getcontext
-
- 09 Nov, 2015 7 commits
-
-
Christian Schudt authored
NIO.2 is the more modern and faster API and smooths the way for further improvements, e.g. using java.nio.file.WatchService to watch the plugin directory for changes.
-
Christian Schudt authored
-
Christian Schudt authored
The BrowserLauncher class seems to be really outdated (from 2001) and it doesn't even launch the browser on my Mac OS X. Since Java 1.6, there is java.awt.Desktop, which can open a browser as well, so let's use that one.
-
Christian Schudt authored
There was an old backport of SwingWorker for JDK < 6 from 2003, which was known as "SwingWorker Version 3". Openfire does not need such old backports anymore.
-
Christian Schudt authored
-
Christian Schudt authored
-
Christian Schudt authored
There were still ~1500 missing annotations! This time fixed with IntelliJ ;-)
-
- 03 Nov, 2015 1 commit
-
-
akrherz authored
-
- 02 Nov, 2015 3 commits
-
-
akrherz authored
patch from Ignite Community user andrelab
-
Christian Schudt authored
-
wmz7year authored
Hazelcast plugin work fine.
-
- 31 Oct, 2015 2 commits
-
-
Christian Schudt authored
These are actually not required by Java compiler and therefore have been removed with dfb69a76, but qdox needs them.
-
Christian Schudt authored
f81c28be replaced org.jivesoftware.util.Log with org.slf4j.Logger. This commit partially reverts this. Apparently the build process produces an additional startup.jar, which contains the ServerStarter class. However, it doesn't add slf4j-api.jar to the classpath or manifest. Because Openfire's classpath, lib folder and build structure is pretty confusing (e.g. slf4j-api.jar gets merged into a new openfire.jar, there's an extra JiveClassLoader, etc...), it's hard to solve this in a reasonable way at the moment.
-
- 30 Oct, 2015 2 commits