Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
Alexandre Leroux
- Mon, 19 Jun 2017 09:05:39
Show More
0
core/src/DataSource/DataSourceController.cpp
core/src/DataSource/DataSourceController.cpp
+2
-2
@@
-1,5
+1,5
1
#include <DataSource/DataSourceController.h>
1
#include " DataSource/DataSourceController.h"
2
#include <DataSource/DataSourceItem.h>
2
#include " DataSource/DataSourceItem.h"
3
3
4
#include <Data/IDataProvider.h>
4
#include <Data/IDataProvider.h>
5
5
0
core/src/DataSource/DataSourceItem.cpp
core/src/DataSource/DataSourceItem.cpp
+1
-1
@@
-30,7
+30,7
DataSourceItem::DataSourceItem(DataSourceItemType type, QVector<QVariant> data)
30
30
31
QVector < DataSourceItemAction *> DataSourceItem :: actions () const noexcept
31
QVector < DataSourceItemAction *> DataSourceItem :: actions () const noexcept
32
{
32
{
33
QVector < DataSourceItemAction *> result{};
33
auto result = QVector < DataSourceItemAction *> {};
34
34
35
std :: transform ( std :: cbegin ( impl -> m_Actions ), std :: cend ( impl -> m_Actions ),
35
std :: transform ( std :: cbegin ( impl -> m_Actions ), std :: cend ( impl -> m_Actions ),
36
std :: back_inserter ( result ), []( const auto & action ) { return action . get (); });
36
std :: back_inserter ( result ), []( const auto & action ) { return action . get (); });
0
core/src/Variable/VariableController.cpp
core/src/Variable/VariableController.cpp
+5
-2
@@
-18,8
+18,11
namespace {
18
std :: unique_ptr < IDataSeries > generateDefaultDataSeries ( const IDataProvider & provider ) noexcept
18
std :: unique_ptr < IDataSeries > generateDefaultDataSeries ( const IDataProvider & provider ) noexcept
19
{
19
{
20
auto parameters = DataProviderParameters {
20
auto parameters = DataProviderParameters {
21
static_cast < double > ( QDateTime { QDate { 2017 , 01 , 01 }}. toSecsSinceEpoch ()),
21
// Remarks : we don't use toSecsSinceEpoch() here (method is for Qt 5.8 or above)
22
static_cast < double > ( QDateTime { QDate { 2017 , 01 , 03 }}. toSecsSinceEpoch ())};
22
static_cast < double > ( QDateTime { QDate { 2017 , 01 , 01 }, QTime { 12 , 00 }}. toM SecsSinceEpoch ()
23
/ 1000. ),
24
static_cast < double > ( QDateTime { QDate { 2017 , 01 , 01 }, QTime { 12 , 01 }}. toMSecsSinceEpoch ())
25
/ 1000. };
23
26
24
return provider . retrieveData ( parameters );
27
return provider . retrieveData ( parameters );
25
}
28
}
0
core/vera-exclusions/exclusions.txt
core/vera-exclusions/exclusions.txt
+3
0
@@
-11,3
+11,6
ArrayData\.h:\d+:.*IPSIS_S06.*found: (Dim)
11
11
12
# Ignore false positive relative to an alias
12
# Ignore false positive relative to an alias
13
DataSourceItemAction\.h:\d+:.*IPSIS_S06.*found: (ExecuteFunction)
13
DataSourceItemAction\.h:\d+:.*IPSIS_S06.*found: (ExecuteFunction)
14
15
# Ignore false positive relative to unnamed namespace
16
VariableController\.cpp:\d+:.*IPSIS_F13.*
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages