RETIRED, Gerrit as used by OpenStack
Go to file
Shawn Pearce 210b5395aa Make it easy to construct CSS and HTML from JavaScript plugins
Scoping CSS rules across plugins can be slightly tricky, as the
namespace is global for the entire browser window.  Allow plugins to
create unique names using Gerrit.css() and then use those inside of
HTML with class="{style.foo}" style replacements in the Gerrit.html()
function.

This style of development makes native HTML and CSS more natural
to use inside of a plugin's JavaScript, and reduces the risks of
conflicting CSS rules with core Gerrit or another plugin.

Event handler registration is also supported, making it easier to
attach functions to handle onclick for buttons and anchors.  Handler
registration avoids circular references between the function's
environment and the DOM node, ensuring garbage collection works.

Change-Id: Ic29a4ec0c15eedef4f4ce72031193f1896742dc5
2014-03-06 22:07:54 -08:00
.settings Eclipse: Bump java source and target level to 7 2013-11-29 00:15:50 +01:00
contrib Remove the trivial_rebase hook 2014-02-06 07:45:17 +02:00
Documentation Make it easy to construct CSS and HTML from JavaScript plugins 2014-03-06 22:07:54 -08:00
gerrit-acceptance-tests Merge branch 'stable-2.8' 2014-03-06 12:15:25 -08:00
gerrit-antlr Remove unused .gitignore 2013-11-28 22:56:51 -08:00
gerrit-cache-h2 Merge "Remove unused @SuppressWarnings" 2013-11-29 08:08:53 +00:00
gerrit-common Add a global capability for viewing all accounts 2014-02-21 08:58:38 +01:00
gerrit-extension-api Merge branch 'stable-2.8' 2014-03-06 12:15:25 -08:00
gerrit-gwtdebug Prevent StackOverflowError in JettyTreeLogger 2014-02-07 12:54:18 +00:00
gerrit-gwtexpui Replace gwt.user.client.Element with gwt.dom.client.Element 2014-01-24 16:54:24 +09:00
gerrit-gwtui Make it easy to construct CSS and HTML from JavaScript plugins 2014-03-06 22:07:54 -08:00
gerrit-gwtui-common Introduce Gerrit gwtui common project 2014-02-17 22:54:00 +01:00
gerrit-httpd Add extension point to register JGit PostReceiveHooks 2014-03-05 16:05:26 +01:00
gerrit-launcher Clarify that GerritLauncher must be a self-contained class 2014-02-04 14:48:26 -08:00
gerrit-lucene Merge branch 'stable-2.8' 2014-02-18 09:58:17 +09:00
gerrit-main Build Main for Java 1.2 2013-11-30 01:53:00 -08:00
gerrit-openid Bump Jetty version to stable 9.1 and Servlet API to 3.1 2014-01-04 22:28:10 +01:00
gerrit-patch-commonsnet Replace 'for' loop with 'foreach' 2013-12-04 01:02:53 +04:00
gerrit-patch-jgit Apply "type inference for generic instance creation" Java 7 feature 2014-01-25 17:51:08 +01:00
gerrit-pgm Allow external log4j.properties to use HttpLogLayout 2014-03-02 17:58:13 +00:00
gerrit-plugin-api Buck: Adapt GWT plugins to changed lib name 2014-02-19 07:03:48 +01:00
gerrit-plugin-archetype Update year to 2014 in license headers of plugin archetype resources 2014-01-28 16:09:15 +01:00
gerrit-plugin-gwt-archetype Change GWT plugin archetype to implement screen instead of dialog 2014-01-28 20:51:09 +01:00
gerrit-plugin-gwtui Introduce Gerrit gwtui common project 2014-02-17 22:54:00 +01:00
gerrit-plugin-js-archetype Update year to 2014 in license headers of plugin archetype resources 2014-01-28 16:09:15 +01:00
gerrit-prettify Correct fix for potential NPE in PrettyFormatter 2014-03-04 11:14:56 +01:00
gerrit-reviewdb CM3: Add support for dark themes 2014-03-04 19:51:49 +01:00
gerrit-server Merge branch 'stable-2.8' 2014-03-06 12:15:25 -08:00
gerrit-solr Merge changes Iac79af54,Ief41eccc,Iae52ade9,I0bd9eabb,I2ef5b9e1 2014-02-13 17:02:23 +00:00
gerrit-sshd Merge "Fix: 'Illegal label name'" 2014-03-06 20:28:38 +00:00
gerrit-util-cli Save GWT compile time by avoiding javac 2013-11-30 11:06:50 -08:00
gerrit-util-ssl Remove unused .gitignore 2013-11-28 22:56:51 -08:00
gerrit-war Merge "Control which plugins will be auto installed on auto init" 2014-02-24 10:28:57 +00:00
lib Merge "Bump GWT version to 2.6.0" 2014-03-06 20:29:54 +00:00
plugins Update replication plugin 2014-03-04 10:58:31 +09:00
ReleaseNotes Merge branch 'stable-2.8' 2014-03-06 12:15:25 -08:00
tools Merge branch 'stable-2.8' 2014-03-04 12:29:00 +09:00
website/releases Exclude gerrit-snapshot-* from releases page 2014-02-19 05:56:00 +00:00
.buckconfig Cache buck build results locally by default 2013-12-11 13:21:39 +01:00
.buckversion Update Buck 2013-11-29 10:50:59 -08:00
.gitignore Update Buck 2013-11-29 10:50:59 -08:00
.gitmodules Add singleusergroup plugin 2013-11-09 07:45:00 +01:00
.pydevproject Set python version back to 2.6.5 in .pydevproject 2013-05-20 11:36:08 +09:00
BUCK Buck: add build for gerrit-plugin-gwtui 2013-12-05 17:20:26 +09:00
COPYING Initial project setup of Gerrit 2 2008-11-14 16:59:34 -08:00
INSTALL Remove Gerrit 1.x to 2.x import tools 2009-03-27 20:20:10 -07:00
SUBMITTING_PATCHES Update push URL in SUBMITTING_PATCHES 2012-03-29 00:57:14 -04:00
VERSION Merge branch 'stable-2.8' 2014-01-15 11:47:53 +09:00