- 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 1 commit
-
-
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 2 commits
-
-
Christian Schudt authored
in the same fashion as e.g. `java.util.concurrent.Callable`
-
Tom Evans authored
Provide public constructor
-
- 17 Nov, 2015 4 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.
-
David Greene authored
-
- 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 2 commits
- 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 ;-)
-
- 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 9 commits
-
-
Tom Evans authored
This patch fixes a problem introduced by an earlier patch whereby a change to the Packet namespace inadvertently cascaded to child XML elements.
-
akrherz authored
-
Christian Schudt authored
-
Christian Schudt authored
-
Christian Schudt authored
This is a followup for fcf665a9.
-
Christian Schudt authored
The homemade IntEnum and Enum classes feel totally weird and confusing, when having java.lang.Enum around. This commit removes these classes. The static constants in the RosterItem class now feel superfluous, but are kept in there, because they are referenced by a lot of other classes and JSP pages.
-
Christian Schudt authored
-
Christian Schudt authored
- Not all resources were closed in finally block (see Launcher, PluginManager, UpdateManager, FaviconServlet, ...) - Get rid of verbose finally blocks and empty catch blocks, which makes the code more readable. - Generally, this is the more modern approach to deal with resources.
-
wmz7year authored
When load plugin resource files old commit will load all resource with / path Like /images/WEB-INF/web.xml old commit is /web.xml should be /images/WEB-INF/web.xml
-