Commit Graph

275 Commits

Author SHA1 Message Date
Ian Wienand 234ed85a92 Retire repo
Change-Id: I7d68f82c75cbc4dc7e843198593846e19cf88f14
2022-04-05 13:20:00 +10:00
Shawn O. Pearce a52f8cd6a3 Only create source archives for packages that need one
We don't push our code to a Maven repository, so there only reason
to construct source archives is to feed source files into the GWT
compiler.  Move the source plugin onto only the packages that we
feed into the GWT code, allowing the others to skip this step.

This fixes a "bug" in a later change that adds the Prolog Cafe
translater to the build process.  Without this change first, the
Prolog Cafe translator is firing twice for every Prolog source file
that is part of our standard build.

Change-Id: Iba38aa371ce7c8950ac30dc3cf06e01b465afb5a
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-06-02 10:01:53 -07:00
Shawn O. Pearce 4e67700dab Change version to 2.2-SNAPSHOT
Change-Id: I1d3e6c42bc678536162a81d2b13372659a1c3dec
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-05-31 10:30:57 -07:00
Shawn O. Pearce b1901c0797 Move ANTLR code to its own package
This way we can set the Eclipse warnings/error reporting for the
generated code to ignore problems we normally try to prevent in
human written sources.

Change-Id: I0b32d4ebf95611f58468a14e81489bf76f5d7603
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-05-19 09:58:37 -07:00
Shawn O. Pearce a2b0e272c9 Update JGit to 0.12.1.53-g5ec4977
Bug: issue 853
Change-Id: I53941cd6cf64a8c40af03113af250d1f86d83e3e
2011-05-19 07:43:21 -07:00
Shawn O. Pearce 71ae872238 Update openid4java to 0.9.6
Change-Id: I05b21ca4f2ee75fc0e3ec789712f7314c7fd1cda
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-05-15 18:03:07 -07:00
Shawn O. Pearce 4a11a38b0b Update JGit to 0.12.1.41-g4b4df4c
Change-Id: Ia81f133de4740401ec6a4c8ab30d3c7da473c2f0
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-05-15 13:02:39 -07:00
Shawn O. Pearce 8b4dbb8aa3 Downgrade Ehcache to 1.7.2
Version 2.3.0 contains at least one bad thread locking bug where
locks are grabbed but not released in the LDAP cache, resulting in
the server eventually being unable to service any requests without
a JVM restart.

Move back to 1.7.2, a version that we have proven to be stable in
production servers.

Change-Id: I2db36dbb7a3b74435d20de64c3dbb687d4f1c580
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-05-13 20:27:08 -07:00
Shawn O. Pearce adfe269ffb Revert "Update Jetty to 7.4.0.v20110414"
This reverts commit e7db8b6de0.

The 7.4.0 release seems to have issues with SSL certificates.  We are
getting millions of log entries like:

  ...
  3166773 [2011-05-09 14:22:52,556] WARN  org.eclipse.jetty.util.log : javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
  3166774 [2011-05-09 14:22:52,556] WARN  org.eclipse.jetty.util.log : javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
  3166775 [2011-05-09 14:22:52,556] WARN  org.eclipse.jetty.util.log : javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
  3166776 [2011-05-09 14:22:52,556] WARN  org.eclipse.jetty.util.log : javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
  3166777 [2011-05-09 14:22:52,556] WARN  org.eclipse.jetty.util.log : javax.net.ssl.SSLException: Received fatal alert: certificate_unknown
  ...

Revert the upgrade until upstream is can fix the issue.

Conflicts:

	pom.xml

Change-Id: I75f58d0cf99555ae5ead75fae232b75553076a79
2011-05-13 20:16:55 -07:00
Shawn O. Pearce 459cd620c4 Remove the SSH key loading applet
Java applets are disappearing on the web; many browsers disable them
by default either by browser vendor choice, operating system developer
choice, or local corporate policy.

Strip this code out so we don't need to maintain it.

Change-Id: Ib28506aedeb684c76d948cf14025e9cb630892ea
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-05-01 20:04:35 -07:00
Shawn O. Pearce e7db8b6de0 Update Jetty to 7.4.0.v20110414
Change-Id: I0a5921abe5d0d9c272d72042b009a625aa3bb563
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-04-21 17:53:27 -07:00
Shawn O. Pearce 12a2b307ad Update JGit to 0.11.3.240-gd05d351
Change-Id: Ib4769d55d06ea10c0c6bcdde8a872911c966e416
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-04-21 16:47:02 -07:00
Shawn O. Pearce d2eaefa18a Update MINA SSHD to 0.5.1-r1095809
This fixes the keepalive@jsch.com error seen by some sites.

Change-Id: I19917d91ddeb2ab55119c71ea60e90d2034ab460
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-04-21 14:00:39 -07:00
Shawn Pearce dd187ce27f Merge "Bump dependencies to latest stable versions" 2011-04-07 19:50:03 -07:00
Shawn O. Pearce 04e7cfe8f0 Update JGit to 0.11.3.219-gefad732
Change-Id: I3d01be0b55a99b37c279cdf73182e635bfd1755e
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-04-04 22:14:49 -04:00
Shawn O. Pearce 66827cf7e4 Use version 2.1.2 of maven-source-plugin
Change-Id: Ie800b7c0c79ee73b8ab56c7f3fa5f03ffcd5def9
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-04-04 22:14:49 -04:00
Shawn O. Pearce c0bcd96099 Update Gson to 1.6
Change-Id: Iad5c099ff97ef68079a98fd3f27d55270a2e097d
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-04-04 22:14:07 -04:00
Shawn O. Pearce 701c5f67f8 Update JGit to 0.11.3.113-ga490afe
Change-Id: Ia89bdd8eebddf1bb060edfb4cf6a398a445197a6
Signed-off-by: Shawn O. Pearce <sop@google.com>
2011-03-11 17:21:01 -08:00
Sasa Zivkov b6f13cd1cb Using JGit revision 0.10.1.62-gbe38185
It is necessary to use at least this revision in order to get the
new functionality of merging Git notes available to Gerrit. Gerrit
will make use of this functionlity to finish the implementation of
the change 20045.

Change-Id: I406d3b708187fb7b15660f89dbcdf108d5d0fba7
Signed-off-by: Sasa Zivkov <sasa.zivkov@sap.com>
2011-01-11 15:12:39 +01:00
Anatol Pomozov 76de00db80 Bump dependencies to latest stable versions
Change-Id: I5e8903e55843a671408d0fee213b694f1d27669e
2011-01-05 15:39:32 -08:00
Anatol Pomozov ba318f25bb Update jsch to 0.1.44
It fixes "Corrupted MAC on input" ssh issue.

Change-Id: Ieab2c17936584912a74d4b48815798f43ab39b5e
2011-01-05 12:41:38 -08:00
Shawn O. Pearce 4b706ff6cf Update to GWT 2.1.1
We need to use gwtjsonrpc 1.2.3 as it has support for the
newer GWT remote APIs.

Change-Id: I83bfe72d51611d4ee6f201f524c45d3ec2d020ed
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-12-23 12:18:06 -08:00
Anatol Pomozov d66716a7b1 Update antlr & its mvn plugin to 3.2
Change-Id: Ib5e4cf6529b24d38eec1a37410b186e67686033e
2010-12-23 12:17:37 -08:00
Anatol Pomozov 0de57554cc Update maven plugins to latest stable versions
Change-Id: I1f1e126778cb7801512fac1e6db5a57882ae28a8
2010-12-23 12:17:26 -08:00
Shawn O. Pearce e3e9a9e825 Update JGit to 0.9.3.298-g18abb81
Change-Id: I584b2a0bc54ff19599004bc212530acdcd7a8a3c
2010-12-08 14:28:09 -08:00
Shawn O. Pearce ef16a1816f Update Jetty to 7.2.1.v20101111
Change-Id: If6bd28aab3944cc0e5e12bb560cb51e306710af5
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-12-06 18:10:46 -08:00
Shawn O. Pearce 019e1cafaa Update JGit to 0.9.3.274-g6462be8
Change-Id: Id107f5cdfe4a63844b749175fde8ed55d2d4dccc
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-12-06 18:10:45 -08:00
Shawn O. Pearce cd4c78ca62 Update JGit to 0.9.3.197-g51bf8ea
This version resolves issues with the rename detector getting
stuck in an infinite loop on certain types of large files.

Change-Id: Ie01d0a3154de2f67f53942a24909f38cb9cb2fcc
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-11-12 16:36:43 -08:00
Shawn O. Pearce 7ada9e74fd Update MINA SSHD to 0.5.1-r1033260
This version correctly ignores the keepalive messages sent by
the paramiko python SSH client.

Change-Id: Iac23cc53027ffc748fc2ed933288fcf1585b48bb
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-11-09 14:10:56 -08:00
Shawn O. Pearce 7f9e1e1326 Update MINA SSHD to 0.5.1-r1031886
The new version contains a work-around for failed sftp connections,
resolving a common NullPointerException error in server error logs.

Change-Id: Iebe667e8cd81cb79848833e2a5de68447fcd42fa
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-11-05 17:16:07 -07:00
Shawn O. Pearce 638d3d9244 Update JGit to 0.9.3.133-gaa09599
This fixes an issue with the default HistogramDiff implementation,
which was marking large unmodified regions as though they were
replaced by the author of a change.

Change-Id: Iec1ec815dce51319a9491e35f8906a6dd10f129e
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-11-01 14:21:47 -07:00
Shawn O. Pearce e3febd9e54 Update to JGit 0.9.3.86-g4c7e100
This version fixes the DiffFormatter to correctly consider inserted
blank lines near the end of a file.

Change-Id: I67111a39dd3c8214e119ee53da8a12d2b628e172
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-10-13 21:32:26 -07:00
Shawn O. Pearce ed54ec42dc Update JGit to 0.9.3.79-g5c135a5
This version of JGit switches the DiffFormatter factory to use
HistogramDiff by default, which is derived from patience diff and
tends to produce more readable results on source code.

Change-Id: Ic9218e899f24d8d6d65334f9d5986f7b75a1feac
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-10-12 13:06:57 -07:00
Shawn O. Pearce 7f243d5327 Update JGit to 0.8.4.403-ga424b7a
Change-Id: Ic94df6ecf11200965fc10ac59204f46bd5a2a631
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-09-15 10:02:38 -07:00
Shawn O. Pearce 503a28aa01 Update JGit to 0.8.4.389-gba984ba
This version fixes missing object errors identified during branch
level access control checks when receiving a push from a client.

It also corrects a pack stream corruption created while packing a
large delta compressed file as a whole object.

Change-Id: Ic67064ce5bc086331caf7ee76620de11318d62c1
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-09-06 12:28:56 -07:00
Shawn O. Pearce 329fe79e4e Update to JGit 0.8.4.378-g2aa4196
This fixes a bug in the path quoting in the patch cache, which caused
"@2" in a filename to disappear in the web UI.

We can also now take advantage of DiffFormatter's ability to
do rename detection for us, as well as configure the streaming
threshold from gerrit.config (via the WindowCache).

Bug: issue 706
Change-Id: Id45676bdeb5a73035472ea5e27c2c4ec94d4b9dc
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-09-03 15:58:37 -07:00
Shawn O. Pearce 2122241ebf Update to JGit 0.8.4.329-g9239c10
ReceivePack now includes the full stack trace when an unpack error
occurs.  This should help track down strange issues being seen with
some pushes.

Change-Id: I404f902c5a096f4d3b2df37108b273826dbca196
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-09-03 11:07:42 -07:00
Shawn O. Pearce 5cd6d0a09b Update to JGit 0.8.4.328-ge6bd689
This fixes the 'error: unpack failed: error daad993f7' message were
were seeing during some uploads to Gerrit servers.  The receive
code was choking on an object larger than the stream threshold
size, because it didn't try to coerce the object's loader into a
flat byte[].

Change-Id: Id3616536c0f703bef6c69fbc6bf354e17c8474f9
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-30 12:01:23 -07:00
Shawn O. Pearce 15e4614e41 Update to JGit 0.8.4.325-gbc0359c
Change-Id: Ied5d5bac9aafff4ea09b2fb4194ff996b55e48ed
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-28 17:32:30 -07:00
Shawn O. Pearce e28983ab26 Update JGit to 0.8.4.312-g6517a7c
This resolves an incorrect data corruption error when packing
objects for transport that are delta encoded.

Change-Id: Ic501a46e31595dd08bccf9469c0b139671b9dc12
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-26 10:56:55 -07:00
Shawn O. Pearce 6001b80cc7 Merge branch 'stable'
* stable: (30 commits)
  Clarify the upgrade instructions
  Draft release notes for 2.1.5
  documentation: Document why hook --change-url might be missing
  documentation: Fix rendering errors in gerrit.config
  Allow ; and & to seperate parameters in gitweb
  Include a quick summary of the size of a change in email
  Display the size of a patch (lines added/removed)
  Fix clearing of topic during replace
  Fix inherited Read Access +2 not inheriting
  Add some basic RefControl tests for delegated ownership
  Fix branch owner adding exclusive ACL
  Optimize RegexFilePredicate for common matches
  Correct copyright headers to AOSP
  Don't expose /COMMIT_MSG as a modified file in ChangeData
  Don't enable dk.brics.automaton's optional syntax
  Fix NPE while matching file:^ pattern on deleted files
  Fixed unused imports in OutgoingEmail
  Don't show /COMMIT_MSG in change emails
  Fix NPE during merge failure on new branch
  Honor user's syntax coloring preference in unified view
  ...

Conflicts:
	gerrit-httpd/src/main/java/com/google/gerrit/httpd/rpc/patch/PatchScriptBuilder.java
	gerrit-server/src/main/java/com/google/gerrit/common/ChangeHookRunner.java
	gerrit-server/src/main/java/com/google/gerrit/server/mail/ChangeEmail.java
	gerrit-server/src/main/java/com/google/gerrit/server/mail/CommentSender.java
	gerrit-server/src/main/java/com/google/gerrit/server/mail/OutgoingEmail.java
	gerrit-server/src/main/java/com/google/gerrit/server/patch/PatchListCacheImpl.java
	gerrit-server/src/main/java/com/google/gerrit/server/patch/Text.java

Change-Id: I80bfdb55872fa4bdf4f751c337b609e7ec809605
2010-08-23 11:39:41 -07:00
Shawn O. Pearce 4f0d56acd7 Fix keyboard shortcuts under Chrome/Safari
Pressing 'c' to open a comment editor on the current line also
put a 'c' in the editor's text box.  This was fixed by adding a
preventDefault() during dispatch inside of GlobalKey and is picked
up by upgrading to a newer gwtexpui.

Ctrl-S and Ctrl-D were performing the default browser actions to
save the current page and bookmark the current page.  The issue
here was WebKit doesn't support the keypress handler in a text box.
Instead we have to use keydown handlers to capture the event.

Just switching to the keydown handler however caused focus to be
lost on the table when the editor closed, because Chrome doesn't know
where to send focus when the currently focused widget is destroyed.
Adding in explicit blur() requests through setFocus(false)
immediately before we make the text area not visible, read-only,
or deleted from the DOM allows the global keys to work as expected
after the current event is done.

Bug: issue 431
Bug: issue 639
Change-Id: I08732be288f1149073d85bc5e09ab4cfb6547f8f
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-19 17:17:14 -07:00
Shawn O. Pearce f855f399f8 Fix all of our pom.xml versions to be 2.1-SNAPSHOT
I meant to keep reusing the 2.1 version number for the entire
2.1 series during development, but botched it during the 2.1.4
development cycle and set it to 2.1.4-SNAPSHOT by mistake.  Put
it back to 2.1-SNAPSHOT since 2.1.4 is released.

Change-Id: I37e206c0609bf3fd94a5aab8ea301c98b7fb013e
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-12 16:24:43 -07:00
Martin Fick bfa5a181b3 Add framework for using velocity templates in email classes
Setup the velocity context and add basic objects to it.  Add
a few velocity helper functions, but do not use any of it.
Allows default email templates to be in the war file and to
be overridden by placing an appropriately named template in
<site>/etc/mail.

Change-Id: I45cdbbcd19929ce52c54a5c9b8ee510b52681ed3
2010-08-12 13:21:37 -06:00
Shawn O. Pearce af5814131f Merge branch 'stable'
* stable:
  Update 2.1.4 release notes
  Don't escape ':' as %253A in query anchors
  Direct default links to queries
  Update to JGit 0.8.4.89-ge2f5716

Conflicts:
	pom.xml

Change-Id: If17a036b72c512c4861c9ca66b18ae72af4a9377
2010-08-06 12:13:25 -07:00
Shawn O. Pearce 850d878946 Update to JGit 0.8.4.89-ge2f5716
Change-Id: I10278b915925092aa9b07194c6777b8678cbc6f5
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-06 11:35:18 -07:00
Shawn O. Pearce 5f11b2954c Update to JGit 0.8.4.240-g8e9cc82
Change-Id: Id43a1846b31bb1aad40ca0ae295a268fcacd162f
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-05 18:14:38 -07:00
Shawn O. Pearce 2c9c8a157c Update JGit to 0.8.4.88-ge64cb03
This fixes an issue with rename detection computing the wrong number
of common blocks between files.

Change-Id: Ib0a03a9d93e267bba5fab2c4c8f5ce8335d6b10b
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-08-04 11:06:47 -07:00
Shawn O. Pearce 4a4b86e392 Merge branch 'commons-net-20'
* commons-net-20:
  Drop Commons Net back to 2.0
2010-07-29 18:59:48 -07:00
Shawn O. Pearce 42dfb59c2f Drop Commons Net back to 2.0
Change-Id: I45b362a7a8290ab34cc44ec638e35697d33a635c
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-07-29 18:50:04 -07:00