This version includes a fix for an LOB deadlock between reading
and updating LOB columns.
Bug: Issue 2365
Change-Id: I845d645ee4bc095ffb04f38a03dc00a4de7ff243
GWT 2.6.0 has Java 7 support and other new features [1].
Internal Jetty version, shipped with GWT was updated to 8.1. This
version collides with the version that is used internally by Gerrit
(9.1). To resolve the conflict, GWT's own Jetty version is stripped
from the gwt-dev.jar with maven_jar() method and Gerrit's own Jetty
used instead. Missing Jetty artifacts, needed for the GWT to run in
dev mode:
* jetty-webapp
* jetty-xml
are included now as dependency of gerrit-gwtdebug project.
New GWT version updates a number of dependencies that are used in
Gerrit [3]. Update them too.
EditIteratorTest test is failing with NSME Exception in gwt-test-utils
framework, so deactivate it for now [2].
[1] http://www.gwtproject.org/release-notes.html#Release_Notes_2_6_0_RC1
[2] https://code.google.com/p/gwt-test-utils/issues/detail?id=179
[3]
* Guava 15.0
* Protobuf 2.5.0
* ASM 4.1
Change-Id: I0fa96da6465d52febeae65168b0bd1c2913f6c7e
This avoids packing too many CSS rules, which bloats the download
to the browser and may slow down rendering while the browser picks
matching CSS classes.
Change-Id: I8888bc9daa9693ff2598ccfe29d150fa3fac0916
Add support for CM3 themes. CM3 has built in support for themes.
Unfortunately we can not use all of them out of the box, because
we set statically background colors on diff styles. However we
can use light themes. Especially "eclipse" theme looks very sexy
for Java developers that use this IDE and are acquainted with its
look and feel.
Integrate all supported themes in Buck tool chain, so that we are
prepared to extend the support for dark themes. To do that we must
dynamically assign background colors for different diff styles per
theme.
Change-Id: Ic97c237d789dc4daeff6b8bb4f7606da83f5d532
* stable-2.8:
Codemirror: Add support for Groovy mode
Codemirror: Add support for Clojure mode
Codemirror: Add support for Lisp mode
Codemirror: Add support for ruby mode
Codemirror: Add support for perl mode
Conflicts:
gerrit-server/src/main/java/com/google/gerrit/server/DefaultFileExtensionRegistry.java
Change-Id: Icf61f85ea50b02d63a222973d0781afe67e03ee6
Drop the code that removes SNAPSHOT suffix in artifact name. This prevents
Gitblit plugin from fetching its custom artifact from Gerritforge Maven
repository, making from the right name:
com/gitblit/gitblit/1.4.0-SNAPSHOT/gitblit-1.4.0-SNAPSHOT.jar
the broken artifact name:
com/gitblit/gitblit/1.4.0-SNAPSHOT/gitblit-1.4.0.jar
Change-Id: Ib16f032a9fda3ef61570a85d97659cd3ce02f5f2
Write the index entirely in RAM. Its only a few hundred KiB, which
trivially fits in memory.
Compress it twice in memory, once to build the ZIP that is unpacked
at runtime, and again to package it into a JAR for linking with
the runtime. This saves a build step in the BUCK rules.
Move the ZIP under the server package name, to reduce any risk
of collision with another concept of "index.zip".
Change-Id: I74e59712e9855ac79c5220ff0a6b30ecbc3d152f
Drop the code that removes SNAPSHOT suffix in artifact name. This prevents
Gitblit plugin from fetching its custom artifact from Gerritforge Maven
repository, making from the right name:
com/gitblit/gitblit/1.4.0-SNAPSHOT/gitblit-1.4.0-SNAPSHOT.jar
the broken artifact name:
com/gitblit/gitblit/1.4.0-SNAPSHOT/gitblit-1.4.0.jar
Change-Id: Ib16f032a9fda3ef61570a85d97659cd3ce02f5f2
In 61698b14e0 I changed the section title style, which caused an extra "= " in
front of the documentation titles in the Lucene index. Use a regular expression
to strip it out.
Change-Id: I550bcd32ee9e4475c8f71db1ab466895339d91f2
Also remove unused artifacts from the Buck file.
Gerrit gitblit plugin must ship Lucene binaries in shaded jar, because
the versions of Lucene that Gerrit and Gitblit ship are different.
This change and this pull request [1] harmonize the Lucene versions in Gerrit
and Gitblit distributions.
[1] https://github.com/gitblit/gitblit/pull/124
Change-Id: Ib94a288b60445d73f617174d58f69e4fe91b4d36
937d527ac0e4ee685fccb60ae604406a6638daec upgraded bouncy castle to 1.49.
The old JAR artifact was renamed and split to number of files. For Gerrit
two libraries must be downloaded and be available under `$gerrit_site/lib`:
* bcprov-jdk15on-149.jar
* bcpkix-jdk15on-149.jar
Update download logic to support a basic concept of required dependencies,
ensuring BC provider is downloaded if the SSL library is installed by init.
Change-Id: I60092ebe136f78a5649fe8512737275f50195a34
Buck changed export_deps from a boolean to be exported_deps, a list of
dependencies that are to be added to deps and also exported. This
allows libraries to have dependencies for implementation use only, but
not expose them to callers for linkage.
exported_deps aren't transparently transitive anymore. This mostly
impacts the plugin-api:lib rule.
This is the first time Gerrit is using upstream Buck with no patches.
- Java memory settings for Buck can now be supplied in a project
specific file using `.buckjavaargs` in the root directory. The file
replaces the `.buckrc` previously supported by Gerrit's fork.
- Temporary directories for java_application() invoked from genrule()
is now supplied as part of the arguments using $TMP. This removes
one of the patches Gerrit had for Buck.
- Unit tests use the system temporary directory during testing. This
can be faster if the temporary directory is a tmpfs. Unfortunately
not all passing tests clean up after themselves, making it possible
to exhaust system memory and swap with useless tmpfs contents.
Using the system temporary directory for tests removes another patch
Gerrit had on top of Buck.
Change-Id: I3a9fe4aab0a33a8673df727e618122027a742638
Many bugs were fixed since version 1.44 that we are using[1].
JARs artifacts were renamed.
[1] http://www.bouncycastle.org/releasenotes.html
Change-Id: Ie2b22328c77b0100dfff61139b737894b88e7664
Upstream fixed an issue with line numbers
disappearing after a skip bar.
Change-Id: Ia7765f6956d7fc85d83b94fb6ec14a9d3ea4e42b
(cherry picked from commit 4bbf8b01672a7d1dddb34b3af535d4c4c7805523)
buck build api
generates now javadocs.
buck build api_install
installs all plugin/extension related artifacts with javadocs in the
local Maven repository.
Change-Id: Ifa6a8eb469f388e16449576ff2bff01a5dce67dd
New version has features which be useful for Gerrit core and plugins:
* new hidden attribute, specifying to hide it in help message
* new depends attribute, specifying the dependent option(s)
* multiValued attribute was removed
Change-Id: Ic7e9f37231cb83940db50fe3b9efe8ad972108cf