]>
source.dussan.org Git - sonarqube.git/log
Evgeny Mandrikov [Tue, 1 Feb 2011 20:57:10 +0000 (23:57 +0300)]
SONAR-2137: Fix updating of past violations
* Database field rule_failures.failure_level should be updatable
* Change corresponding unit test
simonbrandhof [Tue, 1 Feb 2011 17:22:28 +0000 (18:22 +0100)]
Improve IT in order to better support performance issues
simonbrandhof [Tue, 1 Feb 2011 13:17:45 +0000 (14:17 +0100)]
Move calculation of accessors from squid to sonar
Evgeny Mandrikov [Tue, 1 Feb 2011 12:54:00 +0000 (15:54 +0300)]
Add property "sonar.projectLibraries"
Evgeny Mandrikov [Tue, 1 Feb 2011 01:33:28 +0000 (04:33 +0300)]
Disable downloading for certain files from BatchResourcesServlet
simonbrandhof [Tue, 1 Feb 2011 09:57:21 +0000 (10:57 +0100)]
SONAR-2159 The total classes used in complexity distribution is different than the number of classes
Evgeny Mandrikov [Tue, 1 Feb 2011 00:03:45 +0000 (03:03 +0300)]
SONAR-1280: Fix unit test
Evgeny Mandrikov [Fri, 28 Jan 2011 00:02:48 +0000 (03:02 +0300)]
Add missing deprecated annotations
Evgeny Mandrikov [Sat, 29 Jan 2011 22:45:58 +0000 (01:45 +0300)]
SONAR-1280: Add experimental Findbugs rules
Evgeny Mandrikov [Mon, 31 Jan 2011 14:35:09 +0000 (17:35 +0300)]
Change format of response from BatchResourcesServlet
simonbrandhof [Mon, 31 Jan 2011 13:15:53 +0000 (14:15 +0100)]
Back to commons-collection 3.2.1
Evgeny Mandrikov [Mon, 31 Jan 2011 11:05:55 +0000 (14:05 +0300)]
Fix bug in BatchDownloader
simonbrandhof [Mon, 31 Jan 2011 10:50:52 +0000 (11:50 +0100)]
Upgrade to jruby-rack 1.0.5
simonbrandhof [Mon, 31 Jan 2011 10:50:22 +0000 (11:50 +0100)]
SONAR-2133 Upgrade to Postgresql JDBC driver 9.0-801.jdbc3
Evgeny Mandrikov [Mon, 31 Jan 2011 10:02:48 +0000 (13:02 +0300)]
Change format of response from BatchResourcesServlet
simonbrandhof [Mon, 31 Jan 2011 09:52:24 +0000 (10:52 +0100)]
Upgrade Apache Commons libraries (commons-io 2.0.1, commons-collection 3.3, commons-lang 2.6)
simonbrandhof [Mon, 31 Jan 2011 09:46:08 +0000 (10:46 +0100)]
Rename the profile check-java-api to sanity-checks
simonbrandhof [Mon, 31 Jan 2011 00:11:24 +0000 (01:11 +0100)]
Add profile to check copyright headers + fix some badly formatted headers
Evgeny Mandrikov [Sun, 30 Jan 2011 23:40:27 +0000 (02:40 +0300)]
Don't hide stack trace in BatchDownloader
Evgeny Mandrikov [Sun, 30 Jan 2011 22:55:26 +0000 (01:55 +0300)]
Add properties "sonar.projectName" and "sonar.projectDescription"
simonbrandhof [Sun, 30 Jan 2011 22:12:01 +0000 (23:12 +0100)]
Add missing copyright header
Evgeny Mandrikov [Fri, 28 Jan 2011 20:59:48 +0000 (23:59 +0300)]
SONAR-1800: Fix issue with ClassLoader for Maven 3.x and Java 1.5
* Restore context ClassLoader after execution of Maven plugin.
* Add abstract implementation of MavenPluginExecutor to reduce duplications
in concrete implementations for different Maven versions.
Evgeny Mandrikov [Fri, 28 Jan 2011 16:35:57 +0000 (19:35 +0300)]
Add workDir to ProjectDefinition
simonbrandhof [Fri, 28 Jan 2011 14:02:59 +0000 (15:02 +0100)]
[maven-release-plugin] prepare for next development iteration
simonbrandhof [Fri, 28 Jan 2011 14:02:57 +0000 (15:02 +0100)]
[maven-release-plugin] prepare release 2.6-M1
simonbrandhof [Fri, 28 Jan 2011 13:34:50 +0000 (14:34 +0100)]
Add some unit tests
simonbrandhof [Fri, 28 Jan 2011 12:17:57 +0000 (13:17 +0100)]
SONAR-2149 Resource filters are ignored in complexity distributions of Java projects
This issue implies SONAR-2153 : API: A decorator should override formulas
simonbrandhof [Fri, 28 Jan 2011 09:28:56 +0000 (10:28 +0100)]
Deprecate Resource#isExcluded(), replaced by SensorContext#isExcluded(Resource). It makes inheritance of Resource easier.
simonbrandhof [Fri, 28 Jan 2011 09:27:37 +0000 (10:27 +0100)]
add helper methods to Qualifiers + do not accept null parameters
simonbrandhof [Fri, 28 Jan 2011 09:26:31 +0000 (10:26 +0100)]
add methods Scopes#isHigherThan() and isHigherThanOrEquals()
Evgeny Mandrikov [Fri, 28 Jan 2011 10:16:11 +0000 (13:16 +0300)]
SONAR-2151: Add new property to manage source encoding
Evgeny Mandrikov [Fri, 28 Jan 2011 10:04:38 +0000 (13:04 +0300)]
SONAR-2148: Fix NPE in JavaUtils
Evgeny Mandrikov [Thu, 27 Jan 2011 18:20:09 +0000 (21:20 +0300)]
SONAR-2148: Add new properties to manage level of Java language
* Use sonar-java-api in sonar-pmd-plugin and sonar-clover-plugin
Evgeny Mandrikov [Wed, 26 Jan 2011 17:59:13 +0000 (20:59 +0300)]
SONAR-2126: Change API to work with file system of a project
* Use language keys instead of objects.
* ProjectFileSystem now BatchComponent, so DefaultProjectFileSystem
uses benefits from injections and some old code was removed from
it to improve immutability.
* Small performance improvement for DefaultInputFile.
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.
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)
simonbrandhof [Thu, 27 Jan 2011 11:09:19 +0000 (12:09 +0100)]
fix stop server in IT
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
simonbrandhof [Wed, 26 Jan 2011 17:25:23 +0000 (18:25 +0100)]
Add the method ResourceUtils#isPersistable(Resource)
simonbrandhof [Wed, 26 Jan 2011 17:13:36 +0000 (18:13 +0100)]
Add javadoc to InputFile + improve JavaFile#toString()
simonbrandhof [Wed, 26 Jan 2011 13:20:17 +0000 (14:20 +0100)]
add missing dir in IT
simonbrandhof [Wed, 26 Jan 2011 11:09:31 +0000 (12:09 +0100)]
Execute IT in build directory instead of temp dir
simonbrandhof [Wed, 26 Jan 2011 10:59:42 +0000 (11:59 +0100)]
SONAR-2138 Displaying differential values in % can be misleading
simonbrandhof [Tue, 25 Jan 2011 18:21:35 +0000 (19:21 +0100)]
Squid for Java : remove unused code
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
simonbrandhof [Tue, 25 Jan 2011 18:10:20 +0000 (19:10 +0100)]
Improve backward-compatibility when adding data to a non-indexed resource
simonbrandhof [Tue, 25 Jan 2011 07:57:59 +0000 (08:57 +0100)]
deactivate sonar.hardIndexLock in integration tests
Evgeny Mandrikov [Tue, 25 Jan 2011 14:58:44 +0000 (17:58 +0300)]
Fix unit test for Windows
Evgeny Mandrikov [Tue, 25 Jan 2011 13:56:59 +0000 (16:56 +0300)]
Use default value for property "project.build.directory"
Evgeny Mandrikov [Tue, 25 Jan 2011 13:20:08 +0000 (16:20 +0300)]
Add new property "sonar.projectBinaries"
simonbrandhof [Mon, 24 Jan 2011 22:33:42 +0000 (23:33 +0100)]
SONAR-791 add a project with invalid source dir in IT
simonbrandhof [Mon, 24 Jan 2011 18:24:18 +0000 (19:24 +0100)]
fix unit test of SquidPluginTest
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
simonbrandhof [Mon, 24 Jan 2011 18:04:22 +0000 (19:04 +0100)]
SONAR-2130 deprecate the component SquidSearch
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
simonbrandhof [Mon, 24 Jan 2011 14:36:32 +0000 (15:36 +0100)]
Improve org.sonar.api.resources.Scopes and Qualifiers
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)
simonbrandhof [Mon, 24 Jan 2011 13:29:16 +0000 (14:29 +0100)]
Squid for Java : remove unused code
Evgeny Mandrikov [Mon, 24 Jan 2011 18:24:59 +0000 (21:24 +0300)]
Use CoreProperties for in-memory POM construction
Evgeny Mandrikov [Mon, 24 Jan 2011 16:25:51 +0000 (19:25 +0300)]
Use Properties in ProjectDefinition instead of Configuration
Evgeny Mandrikov [Mon, 24 Jan 2011 08:42:05 +0000 (11:42 +0300)]
Fix bug in construction of in-memory POM
Evgeny Mandrikov [Mon, 24 Jan 2011 08:17:41 +0000 (11:17 +0300)]
Add maven-shade-plugin to parent pom
Evgeny Mandrikov [Mon, 24 Jan 2011 07:54:31 +0000 (10:54 +0300)]
Rename method in InputFile from getBaseDir() to getFileBaseDir()
Evgeny Mandrikov [Sun, 23 Jan 2011 23:01:46 +0000 (02:01 +0300)]
SONAR-2106: Improve batch bootstrap
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.
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
simonbrandhof [Sun, 23 Jan 2011 19:12:13 +0000 (20:12 +0100)]
SONAR-1526 comment_line_density is not rounded twice anymore -> fix IT
simonbrandhof [Sun, 23 Jan 2011 19:10:47 +0000 (20:10 +0100)]
remove unused class from squid java plugin
Evgeny Mandrikov [Sun, 23 Jan 2011 17:58:49 +0000 (20:58 +0300)]
SONAR-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
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
simonbrandhof [Sun, 23 Jan 2011 09:44:26 +0000 (10:44 +0100)]
revert IT to WAR mode
simonbrandhof [Fri, 21 Jan 2011 17:45:45 +0000 (18:45 +0100)]
SONAR-2130 add some unit tests
simonbrandhof [Fri, 21 Jan 2011 16:55:47 +0000 (17:55 +0100)]
SONAR-1526 ResourceFilters are not used by Squid
simonbrandhof [Fri, 21 Jan 2011 16:55:20 +0000 (17:55 +0100)]
SONAR-2130 Publish measures of Java methods on resource tree
simonbrandhof [Fri, 21 Jan 2011 16:53:43 +0000 (17:53 +0100)]
improve exception when saving a measure twice on the same resource
simonbrandhof [Fri, 21 Jan 2011 13:35:01 +0000 (14:35 +0100)]
Merge branch 'master' of github.com:SonarSource/sonar
simonbrandhof [Fri, 21 Jan 2011 13:32:47 +0000 (14:32 +0100)]
SONAR-2130 Publish measures of Java methods on 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
Evgeny Mandrikov [Thu, 20 Jan 2011 14:45:08 +0000 (17:45 +0300)]
SONAR-2126: Rename ProjectDirectory to FileSystemDirectory
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
simonbrandhof [Wed, 19 Jan 2011 22:00:34 +0000 (23:00 +0100)]
add the classes org.sonar.api.resources.Qualifiers and Scopes
simonbrandhof [Wed, 19 Jan 2011 21:36:38 +0000 (22:36 +0100)]
create the module sonar-java-api dedicated to Java support
Julien HENRY [Tue, 18 Jan 2011 18:44:34 +0000 (02:44 +0800)]
SONAR-1664: Add access to project settings/properties
Julien HENRY [Tue, 18 Jan 2011 18:41:34 +0000 (02:41 +0800)]
SONAR-2066: Allow PUT requests from Java Web Service Client
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
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
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.
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)
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.
Evgeny Mandrikov [Mon, 17 Jan 2011 23:06:36 +0000 (02:06 +0300)]
SONAR-2113: Enable integration test
simonbrandhof [Mon, 17 Jan 2011 21:59:06 +0000 (22:59 +0100)]
increase default memory used in quick-build.sh
simonbrandhof [Mon, 17 Jan 2011 15:56:47 +0000 (16:56 +0100)]
add .gitignore to exclude temp directories of integration tests
simonbrandhof [Mon, 17 Jan 2011 09:47:51 +0000 (10:47 +0100)]
SONAR-2110 Add Tomcat 7.x to list of supported servers
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
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.
simonbrandhof [Thu, 13 Jan 2011 18:17:41 +0000 (19:17 +0100)]
activate the dev profile in quick-build scripts
simonbrandhof [Thu, 13 Jan 2011 18:13:16 +0000 (19:13 +0100)]
optimizing GWT compilation to speed up build in dev environments
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
simonbrandhof [Thu, 13 Jan 2011 16:25:48 +0000 (17:25 +0100)]
merge 2.5: fix IT and web service TimeMachine