]> source.dussan.org Git - sonarqube.git/log
sonarqube.git
13 years agoSONAR-2046: Reuse unmarshallers from sonar-ws-client for sonar-gwt-api
Evgeny Mandrikov [Wed, 26 Jan 2011 16:21:54 +0000 (19:21 +0300)]
SONAR-2046: Reuse unmarshallers from sonar-ws-client for sonar-gwt-api

* WSUtils has two implementations - one for GWT and another for Java,
  so can be used by unmarshallers in both cases. But this not very good,
  because code is not type-safe. In fact it would be better to use
  emulation of types from org.json.simple for GWT, but this solution is
  more straightforward.

13 years agoUpgrade to sonar-dev-maven-plugin 1.2 in order to fix IT (increase cargo timeout)
simonbrandhof [Thu, 27 Jan 2011 13:24:40 +0000 (14:24 +0100)]
Upgrade to sonar-dev-maven-plugin 1.2 in order to fix IT (increase cargo timeout)

13 years agofix stop server in IT
simonbrandhof [Thu, 27 Jan 2011 11:09:19 +0000 (12:09 +0100)]
fix stop server in IT

13 years agoSONAR-2130 Fix backward-compatibility: resources can be automatically indexed when...
simonbrandhof [Wed, 26 Jan 2011 17:26:39 +0000 (18:26 +0100)]
SONAR-2130 Fix backward-compatibility: resources can be automatically indexed when adding data

13 years agoAdd the method ResourceUtils#isPersistable(Resource)
simonbrandhof [Wed, 26 Jan 2011 17:25:23 +0000 (18:25 +0100)]
Add the method ResourceUtils#isPersistable(Resource)

13 years agoAdd javadoc to InputFile + improve JavaFile#toString()
simonbrandhof [Wed, 26 Jan 2011 17:13:36 +0000 (18:13 +0100)]
Add javadoc to InputFile + improve JavaFile#toString()

13 years agoadd missing dir in IT
simonbrandhof [Wed, 26 Jan 2011 13:20:17 +0000 (14:20 +0100)]
add missing dir in IT

13 years agoExecute IT in build directory instead of temp dir
simonbrandhof [Wed, 26 Jan 2011 11:09:31 +0000 (12:09 +0100)]
Execute IT in build directory instead of temp dir

13 years agoSONAR-2138 Displaying differential values in % can be misleading
simonbrandhof [Wed, 26 Jan 2011 10:59:42 +0000 (11:59 +0100)]
SONAR-2138 Displaying differential values in % can be misleading

13 years agoSquid for Java : remove unused code
simonbrandhof [Tue, 25 Jan 2011 18:21:35 +0000 (19:21 +0100)]
Squid for Java : remove unused code

13 years agoFix Squid plugin to correctly build the relation between a Java file and its package
simonbrandhof [Tue, 25 Jan 2011 18:11:13 +0000 (19:11 +0100)]
Fix Squid plugin to correctly build the relation between a Java file and its package

13 years agoImprove backward-compatibility when adding data to a non-indexed resource
simonbrandhof [Tue, 25 Jan 2011 18:10:20 +0000 (19:10 +0100)]
Improve backward-compatibility when adding data to a non-indexed resource

13 years agodeactivate sonar.hardIndexLock in integration tests
simonbrandhof [Tue, 25 Jan 2011 07:57:59 +0000 (08:57 +0100)]
deactivate sonar.hardIndexLock in integration tests

13 years agoFix unit test for Windows
Evgeny Mandrikov [Tue, 25 Jan 2011 14:58:44 +0000 (17:58 +0300)]
Fix unit test for Windows

13 years agoUse default value for property "project.build.directory"
Evgeny Mandrikov [Tue, 25 Jan 2011 13:56:59 +0000 (16:56 +0300)]
Use default value for property "project.build.directory"

13 years agoAdd new property "sonar.projectBinaries"
Evgeny Mandrikov [Tue, 25 Jan 2011 13:20:08 +0000 (16:20 +0300)]
Add new property "sonar.projectBinaries"

13 years agoSONAR-791 add a project with invalid source dir in IT
simonbrandhof [Mon, 24 Jan 2011 22:33:42 +0000 (23:33 +0100)]
SONAR-791 add a project with invalid source dir in IT

13 years agofix unit test of SquidPluginTest
simonbrandhof [Mon, 24 Jan 2011 18:24:18 +0000 (19:24 +0100)]
fix unit test of SquidPluginTest

13 years agoSONAR-791 When the source directory is not exactly the java package root, Sonar shoul...
simonbrandhof [Mon, 24 Jan 2011 18:06:38 +0000 (19:06 +0100)]
SONAR-791 When the source directory is not exactly the java package root, Sonar should stop the analysis

13 years agoSONAR-2130 deprecate the component SquidSearch
simonbrandhof [Mon, 24 Jan 2011 18:04:22 +0000 (19:04 +0100)]
SONAR-2130 deprecate the component SquidSearch

13 years agoSONAR-2116 Cannot build 2.5 war, ant-nodeps-1.7.0.jar library is missing
simonbrandhof [Mon, 24 Jan 2011 18:02:17 +0000 (19:02 +0100)]
SONAR-2116 Cannot build 2.5 war, ant-nodeps-1.7.0.jar library is missing

13 years agoImprove org.sonar.api.resources.Scopes and Qualifiers
simonbrandhof [Mon, 24 Jan 2011 14:36:32 +0000 (15:36 +0100)]
Improve org.sonar.api.resources.Scopes and Qualifiers

13 years agoRemove deprecated constants of org.sonar.api.resources.Resource (deprecated since...
simonbrandhof [Mon, 24 Jan 2011 13:37:45 +0000 (14:37 +0100)]
Remove deprecated constants of org.sonar.api.resources.Resource (deprecated since 1.11)

13 years agoSquid for Java : remove unused code
simonbrandhof [Mon, 24 Jan 2011 13:29:16 +0000 (14:29 +0100)]
Squid for Java : remove unused code

13 years agoUse CoreProperties for in-memory POM construction
Evgeny Mandrikov [Mon, 24 Jan 2011 18:24:59 +0000 (21:24 +0300)]
Use CoreProperties for in-memory POM construction

13 years agoUse Properties in ProjectDefinition instead of Configuration
Evgeny Mandrikov [Mon, 24 Jan 2011 16:25:51 +0000 (19:25 +0300)]
Use Properties in ProjectDefinition instead of Configuration

13 years agoFix bug in construction of in-memory POM
Evgeny Mandrikov [Mon, 24 Jan 2011 08:42:05 +0000 (11:42 +0300)]
Fix bug in construction of in-memory POM

13 years agoAdd maven-shade-plugin to parent pom
Evgeny Mandrikov [Mon, 24 Jan 2011 08:17:41 +0000 (11:17 +0300)]
Add maven-shade-plugin to parent pom

13 years agoRename method in InputFile from getBaseDir() to getFileBaseDir()
Evgeny Mandrikov [Mon, 24 Jan 2011 07:54:31 +0000 (10:54 +0300)]
Rename method in InputFile from getBaseDir() to getFileBaseDir()

13 years agoSONAR-2106: Improve batch bootstrap
Evgeny Mandrikov [Sun, 23 Jan 2011 23:01:46 +0000 (02:01 +0300)]
SONAR-2106: Improve batch bootstrap

13 years agoSONAR-2126: Partially revert previous changes
Evgeny Mandrikov [Sun, 23 Jan 2011 22:42:22 +0000 (01:42 +0300)]
SONAR-2126: Partially revert previous changes

* Maven can modify source directories during Sonar execution
  via see MavenPhaseExecutor.

13 years agoSONAR-2106: New Java library to bootstrap project analysis
Evgeny Mandrikov [Tue, 18 Jan 2011 23:20:45 +0000 (02:20 +0300)]
SONAR-2106: New Java library to bootstrap project analysis

* Add BatchResourcesServlet to allow downloading libraries from server

* Create in memory POM for non-maven environments

* Provide fake MavenPluginExecutor for non-maven environments

* Add new module sonar-batch-maven-compat with shaded maven-project

13 years agoSONAR-1526 comment_line_density is not rounded twice anymore -> fix IT
simonbrandhof [Sun, 23 Jan 2011 19:12:13 +0000 (20:12 +0100)]
SONAR-1526 comment_line_density is not rounded twice anymore -> fix IT

13 years agoremove unused class from squid java plugin
simonbrandhof [Sun, 23 Jan 2011 19:10:47 +0000 (20:10 +0100)]
remove unused class from squid java plugin

13 years agoSONAR-2126: Change api to work with project file system
Evgeny Mandrikov [Sun, 23 Jan 2011 17:58:49 +0000 (20:58 +0300)]
SONAR-2126: Change api to work with project file system

13 years agoSONAR-2126: Change api to work with project file system
Evgeny Mandrikov [Sun, 23 Jan 2011 16:25:12 +0000 (19:25 +0300)]
SONAR-2126: Change api to work with project file system

13 years agoSONAR-2126: Change api to work with project file system
Evgeny Mandrikov [Fri, 21 Jan 2011 12:21:15 +0000 (15:21 +0300)]
SONAR-2126: Change api to work with project file system

* Introduce InputFile (file and reference to base directory),
  which can be retrieved from ProjectFileSystem

* Reduce dependencies on MavenProject - don't use project.getPom()
  in DefaultProjectFileSystem and MavenUtils in ProjectUtils

13 years agorevert IT to WAR mode
simonbrandhof [Sun, 23 Jan 2011 09:44:26 +0000 (10:44 +0100)]
revert IT to WAR mode

13 years agoSONAR-2130 add some unit tests
simonbrandhof [Fri, 21 Jan 2011 17:45:45 +0000 (18:45 +0100)]
SONAR-2130 add some unit tests

13 years agoSONAR-1526 ResourceFilters are not used by Squid
simonbrandhof [Fri, 21 Jan 2011 16:55:47 +0000 (17:55 +0100)]
SONAR-1526 ResourceFilters are not used by Squid

13 years agoSONAR-2130 Publish measures of Java methods on resource tree
simonbrandhof [Fri, 21 Jan 2011 16:55:20 +0000 (17:55 +0100)]
SONAR-2130 Publish measures of Java methods on resource tree

13 years agoimprove exception when saving a measure twice on the same resource
simonbrandhof [Fri, 21 Jan 2011 16:53:43 +0000 (17:53 +0100)]
improve exception when saving a measure twice on the same resource

13 years agoMerge branch 'master' of github.com:SonarSource/sonar
simonbrandhof [Fri, 21 Jan 2011 13:35:01 +0000 (14:35 +0100)]
Merge branch 'master' of github.com:SonarSource/sonar

13 years agoSONAR-2130 Publish measures of Java methods on resource tree
simonbrandhof [Fri, 21 Jan 2011 13:32:47 +0000 (14:32 +0100)]
SONAR-2130 Publish measures of Java methods on resource tree

13 years agoSONAR-2127 API: do not automatically create hierarchy of resource tree
simonbrandhof [Fri, 21 Jan 2011 13:32:24 +0000 (14:32 +0100)]
SONAR-2127 API: do not automatically create hierarchy of resource tree

13 years agoSONAR-2126: Rename ProjectDirectory to FileSystemDirectory
Evgeny Mandrikov [Thu, 20 Jan 2011 14:45:08 +0000 (17:45 +0300)]
SONAR-2126: Rename ProjectDirectory to FileSystemDirectory

13 years agoSONAR-2126: Change API to work with project
Evgeny Mandrikov [Thu, 20 Jan 2011 12:05:21 +0000 (15:05 +0300)]
SONAR-2126: Change API to work with project

* Add natures and exclusions/inclusions to ProjectDirectory

* Deprecate ProjectFileSystem and Project.getFileSystem()

* Instead of interface ProjectDefinition provide class
  only for bootstrap of batch

13 years agoadd the classes org.sonar.api.resources.Qualifiers and Scopes
simonbrandhof [Wed, 19 Jan 2011 22:00:34 +0000 (23:00 +0100)]
add the classes org.sonar.api.resources.Qualifiers and Scopes

13 years agocreate the module sonar-java-api dedicated to Java support
simonbrandhof [Wed, 19 Jan 2011 21:36:38 +0000 (22:36 +0100)]
create the module sonar-java-api dedicated to Java support

13 years agoSONAR-1664: Add access to project settings/properties
Julien HENRY [Tue, 18 Jan 2011 18:44:34 +0000 (02:44 +0800)]
SONAR-1664: Add access to project settings/properties

13 years agoSONAR-2066: Allow PUT requests from Java Web Service Client
Julien HENRY [Tue, 18 Jan 2011 18:41:34 +0000 (02:41 +0800)]
SONAR-2066: Allow PUT requests from Java Web Service Client

13 years agoAdd new structure to define project in a form suitable for bootstrapping Sonar batch
Evgeny Mandrikov [Mon, 17 Jan 2011 06:28:11 +0000 (09:28 +0300)]
Add new structure to define project in a form suitable for bootstrapping Sonar batch

13 years agoSONAR-1514: Add support for a new Ant task to analyze projects
Evgeny Mandrikov [Tue, 18 Jan 2011 12:39:23 +0000 (15:39 +0300)]
SONAR-1514: Add support for a new Ant task to analyze projects

* Put sonar-design-plugin back to distribution

13 years agoSONAR-1514: Add support for a new Ant task to analyze projects
Evgeny Mandrikov [Tue, 11 Jan 2011 16:59:09 +0000 (19:59 +0300)]
SONAR-1514: Add support for a new Ant task to analyze projects

* Add new environment - Ant.

* Introduce new component (Reactor) in order to break dependency on MavenSession.

* Add annotation SupportedEnvironment and corresponding check to BatchPluginRepository.
  To allow specify in which environments BatchExtension should be active.

* Use this new annotation to disable MavenDependenciesSensor in Ant environment.

13 years agoSONAR-2115 add an unit test to reproduce the bug (Files with Windows end of lines...
simonbrandhof [Tue, 18 Jan 2011 09:28:23 +0000 (10:28 +0100)]
SONAR-2115 add an unit test to reproduce the bug (Files with Windows end of lines are badly parsed by syntax highlighter)

13 years agoSONAR-2113: Fix loading of static resources
Evgeny Mandrikov [Mon, 17 Jan 2011 23:45:09 +0000 (02:45 +0300)]
SONAR-2113: Fix loading of static resources

* According to Javadocs name of resource should not start with "/"
  when loading directly from ClassLoader.

* Usage of malformed name was allowed because of bug in older version
  of plexus-classworlds.

13 years agoSONAR-2113: Enable integration test
Evgeny Mandrikov [Mon, 17 Jan 2011 23:06:36 +0000 (02:06 +0300)]
SONAR-2113: Enable integration test

13 years agoincrease default memory used in quick-build.sh
simonbrandhof [Mon, 17 Jan 2011 21:59:06 +0000 (22:59 +0100)]
increase default memory used in quick-build.sh

13 years agoadd .gitignore to exclude temp directories of integration tests
simonbrandhof [Mon, 17 Jan 2011 15:56:47 +0000 (16:56 +0100)]
add .gitignore to exclude temp directories of integration tests

13 years agoSONAR-2110 Add Tomcat 7.x to list of supported servers
simonbrandhof [Mon, 17 Jan 2011 09:47:51 +0000 (10:47 +0100)]
SONAR-2110 Add Tomcat 7.x to list of supported servers

13 years agoSimplify configuration of dev GWT modules
Evgeny Mandrikov [Mon, 17 Jan 2011 01:36:29 +0000 (09:36 +0800)]
Simplify configuration of dev GWT modules

* Inherit settings from original module

* Introduce reusable module org.sonar.SonarDev

13 years agoDo not let maven-release-plugin push changes to upstream.
Evgeny Mandrikov [Fri, 14 Jan 2011 07:29:03 +0000 (10:29 +0300)]
Do not let maven-release-plugin push changes to upstream.

* Pushing changes manually is better in case problems arise,
  as one can easily erase flawed commits locally through rebasing.

13 years agoactivate the dev profile in quick-build scripts
simonbrandhof [Thu, 13 Jan 2011 18:17:41 +0000 (19:17 +0100)]
activate the dev profile in quick-build scripts

13 years agooptimizing GWT compilation to speed up build in dev environments
simonbrandhof [Thu, 13 Jan 2011 18:13:16 +0000 (19:13 +0100)]
optimizing GWT compilation to speed up build in dev environments

13 years agomerge 2.5: fix tracking of violations when message contains whitespace or is too...
simonbrandhof [Thu, 13 Jan 2011 17:15:57 +0000 (18:15 +0100)]
merge 2.5: fix tracking of violations when message contains whitespace or is too long - fix a bug + add unit tests

13 years agomerge 2.5: fix IT and web service TimeMachine
simonbrandhof [Thu, 13 Jan 2011 16:25:48 +0000 (17:25 +0100)]
merge 2.5: fix IT and web service TimeMachine

13 years agomerge 2.5: open a new window when clicking on the warning of violations drilldown
simonbrandhof [Thu, 13 Jan 2011 10:37:22 +0000 (11:37 +0100)]
merge 2.5: open a new window when clicking on the warning of violations drilldown

13 years agofix TimeMachine webservice when metric is uncovered_lines or uncovered_conditions
simonbrandhof [Thu, 13 Jan 2011 00:02:52 +0000 (01:02 +0100)]
fix TimeMachine webservice when metric is uncovered_lines or uncovered_conditions

13 years agofix tracking of violations when message starts or ends with whitespaces
simonbrandhof [Wed, 12 Jan 2011 23:55:13 +0000 (00:55 +0100)]
fix tracking of violations when message starts or ends with whitespaces

13 years agomerge 2.5: SONAR-2101 Drilldown is sometimes empty when the parameter characteristic...
simonbrandhof [Wed, 12 Jan 2011 17:34:54 +0000 (18:34 +0100)]
merge 2.5: SONAR-2101 Drilldown is sometimes empty when the parameter characteristic is set

13 years agomerge 2.5: SONAR-2024 Improvements to Java WS client
simonbrandhof [Wed, 12 Jan 2011 17:34:22 +0000 (18:34 +0100)]
merge 2.5: SONAR-2024 Improvements to Java WS client

13 years agomerge 2.5-RC2: fix random execution of NewViolationsDecorator
simonbrandhof [Wed, 12 Jan 2011 14:03:23 +0000 (15:03 +0100)]
merge 2.5-RC2: fix random execution of NewViolationsDecorator

13 years agomerge 2.5-RC2: inheritance of profiles - keep search engine context when reverting...
simonbrandhof [Tue, 11 Jan 2011 17:27:51 +0000 (18:27 +0100)]
merge 2.5-RC2: inheritance of profiles - keep search engine context when reverting a rule to parent definition

13 years agoupgrade to junit 4.8.2
simonbrandhof [Tue, 11 Jan 2011 16:07:44 +0000 (17:07 +0100)]
upgrade to junit 4.8.2

13 years agoMerge branch 'master' of github.com:SonarSource/sonar
simonbrandhof [Tue, 11 Jan 2011 14:59:56 +0000 (15:59 +0100)]
Merge branch 'master' of github.com:SonarSource/sonar

13 years agomerge 2.5-RC2: fix header for radiator plugin
simonbrandhof [Tue, 11 Jan 2011 14:59:38 +0000 (15:59 +0100)]
merge 2.5-RC2: fix header for radiator plugin

13 years agomerge 2.5-RC2: SONAR-1760: Support the annotation "@SuppressWarnings" at class level
Evgeny Mandrikov [Tue, 11 Jan 2011 12:33:12 +0000 (15:33 +0300)]
merge 2.5-RC2: SONAR-1760: Support the annotation "@SuppressWarnings" at class level

13 years agomerge 2.5-RC2: fix alignment of trend icons in the components page
Simon Brandhof [Tue, 11 Jan 2011 11:03:28 +0000 (12:03 +0100)]
merge 2.5-RC2: fix alignment of trend icons in the components page

13 years agoSONAR-2067 Upgrade to JRuby 1.5.6
Simon Brandhof [Tue, 11 Jan 2011 10:45:03 +0000 (11:45 +0100)]
SONAR-2067 Upgrade to JRuby 1.5.6

13 years agomerge 2.5-RC2: add a warning message in violations drilldown when a period is selected
Simon Brandhof [Tue, 11 Jan 2011 10:38:04 +0000 (11:38 +0100)]
merge 2.5-RC2: add a warning message in violations drilldown when a period is selected

13 years agoAdd README
Evgeny Mandrikov [Tue, 11 Jan 2011 09:06:03 +0000 (12:06 +0300)]
Add README

13 years agoimprove the date format in 'Time changes' select-box
simonbrandhof [Mon, 10 Jan 2011 18:16:30 +0000 (19:16 +0100)]
improve the date format in 'Time changes' select-box

13 years agomerge 2.5-RC2: missing close of input stream
simonbrandhof [Mon, 10 Jan 2011 17:46:53 +0000 (18:46 +0100)]
merge 2.5-RC2: missing close of input stream

13 years agomerge 2.5-RC2: save SNAPSHOTS.VARIATION_x columns on views
simonbrandhof [Mon, 10 Jan 2011 15:23:06 +0000 (16:23 +0100)]
merge 2.5-RC2: save SNAPSHOTS.VARIATION_x columns on views

13 years agodo not log timemachine messages 'Compare to ...' on views
simonbrandhof [Mon, 10 Jan 2011 15:15:10 +0000 (16:15 +0100)]
do not log timemachine messages 'Compare to ...' on views

13 years agofilters: fix bug when CRITERIA.VARIATION is null
simonbrandhof [Mon, 10 Jan 2011 13:21:21 +0000 (14:21 +0100)]
filters: fix bug when CRITERIA.VARIATION is null

13 years agofilters: fix bug on db migration + do not fail if criterion on disabled metric
simonbrandhof [Mon, 10 Jan 2011 12:59:38 +0000 (13:59 +0100)]
filters: fix bug on db migration + do not fail if criterion on disabled metric

13 years agoRule.getRulesCategory() must return a fake category instead of null
simonbrandhof [Sun, 9 Jan 2011 23:40:45 +0000 (00:40 +0100)]
Rule.getRulesCategory() must return a fake category instead of null

13 years agooverride the method WildcardPattern.toString()
simonbrandhof [Fri, 7 Jan 2011 09:46:37 +0000 (10:46 +0100)]
override the method WildcardPattern.toString()

13 years agoSONAR-1481: Allow Findbugs extensions
Jason Bennett [Mon, 3 Jan 2011 05:37:17 +0000 (08:37 +0300)]
SONAR-1481: Allow Findbugs extensions

Apply contributed patch

13 years agoimprove .gitignore
Evgeny Mandrikov [Thu, 6 Jan 2011 09:21:25 +0000 (12:21 +0300)]
improve .gitignore

13 years agomove sonar-update-center to its own repository
Simon Brandhof [Wed, 5 Jan 2011 20:14:34 +0000 (21:14 +0100)]
move sonar-update-center to its own repository

13 years agoextracted sonar-dev-maven-plugin to its own repository
Simon Brandhof [Wed, 5 Jan 2011 19:56:04 +0000 (20:56 +0100)]
extracted sonar-dev-maven-plugin to its own repository

13 years agoimprove .gitignore
Simon Brandhof [Wed, 5 Jan 2011 17:02:35 +0000 (18:02 +0100)]
improve .gitignore

13 years agoupgrade to maven-release-plugin 2.1 + fix scm url
Simon Brandhof [Wed, 5 Jan 2011 17:02:01 +0000 (18:02 +0100)]
upgrade to maven-release-plugin 2.1 + fix scm url

13 years ago[maven-release-plugin] prepare for next development iteration
simonbrandhof [Wed, 5 Jan 2011 13:36:51 +0000 (13:36 +0000)]
[maven-release-plugin] prepare for next development iteration

13 years ago[maven-release-plugin] prepare release 2.5-RC1
simonbrandhof [Wed, 5 Jan 2011 13:36:27 +0000 (13:36 +0000)]
[maven-release-plugin] prepare release 2.5-RC1

13 years agoimprove db migration to avoid deleting special snapshots (like pacbase projects)
simonbrandhof [Wed, 5 Jan 2011 09:14:17 +0000 (09:14 +0000)]
improve db migration to avoid deleting special snapshots (like pacbase projects)

13 years agofix migration to delete unvalid snapshots generated in sonar <= 2.3
simonbrandhof [Tue, 4 Jan 2011 15:52:43 +0000 (15:52 +0000)]
fix migration to delete unvalid snapshots generated in sonar <= 2.3

13 years agoexclude library snapshots from timemachine services
simonbrandhof [Tue, 4 Jan 2011 12:51:27 +0000 (12:51 +0000)]
exclude library snapshots from timemachine services