Skip to content

Commit 1c4ecdf

Browse files
committed
Bulk commit on behalf of SeisComP3 development team
1 parent be603b6 commit 1c4ecdf

File tree

125 files changed

+3786
-3094
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

125 files changed

+3786
-3094
lines changed

Doxyfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
# Project related configuration options
55
#---------------------------------------------------------------------------
66
PROJECT_NAME = SeisComP3
7-
PROJECT_NUMBER = 0.9
8-
OUTPUT_DIRECTORY = doc
7+
PROJECT_NUMBER = 2.1.0
8+
OUTPUT_DIRECTORY = api-doc
99
CREATE_SUBDIRS = YES
1010
OUTPUT_LANGUAGE = English
1111
USE_WINDOWS_ENCODING = NO
@@ -82,7 +82,7 @@ WARN_LOGFILE =
8282
#---------------------------------------------------------------------------
8383
# configuration options related to the input files
8484
#---------------------------------------------------------------------------
85-
INPUT = src/core/libs/seiscomp3
85+
INPUT = src/trunk/libs/seiscomp3
8686
FILE_PATTERNS = *.c \
8787
*.cc \
8888
*.cxx \
@@ -135,7 +135,7 @@ FILE_PATTERNS = *.c \
135135
RECURSIVE = yes
136136
EXCLUDE =
137137
EXCLUDE_SYMLINKS = NO
138-
EXCLUDE_PATTERNS = */.svn
138+
EXCLUDE_PATTERNS = */.git
139139
EXAMPLE_PATH =
140140
EXAMPLE_PATTERNS = *
141141
EXAMPLE_RECURSIVE = NO

Modules/CreateLibrary.cmake

+13-7
Original file line numberDiff line numberDiff line change
@@ -38,19 +38,25 @@ ENDMACRO(SC_BEGIN_PACKAGE)
3838
MACRO(SC_ADD_SUBDIRS)
3939
FILE(GLOB files RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "[^.]*")
4040
SET(dirs "")
41-
SET(prio_dir " ")
41+
SET(prio_dirs " ")
4242
IF (${ARGC} GREATER 0)
43-
SET(prio_dir ${ARGV0})
43+
SET(prio_dirs ${ARGN})
44+
LIST(REVERSE prio_dirs)
4445
ENDIF (${ARGC} GREATER 0)
4546
FOREACH(dir ${files})
4647
IF (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${dir})
47-
IF (${dir} STREQUAL ${prio_dir})
48-
SET(dirs ${dir} ${dirs})
49-
ELSE (${dir} STREQUAL ${prio_dir})
50-
SET(dirs ${dirs} ${dir})
51-
ENDIF (${dir} STREQUAL ${prio_dir})
48+
SET(dirs ${dirs} ${dir})
5249
ENDIF (IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/${dir})
5350
ENDFOREACH(dir ${files})
51+
IF(prio_dirs)
52+
FOREACH(prio_dir ${prio_dirs})
53+
LIST(FIND dirs ${prio_dir} dirs_index)
54+
IF(${dirs_index} GREATER -1)
55+
LIST(REMOVE_AT dirs ${dirs_index})
56+
SET(dirs ${prio_dir} ${dirs})
57+
ENDIF(${dirs_index} GREATER -1)
58+
ENDFOREACH(prio_dir ${prio_dirs})
59+
ENDIF(prio_dirs)
5460
SUBDIRS(${dirs})
5561
ENDMACRO(SC_ADD_SUBDIRS)
5662

src/CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# System directory has highest priority, so pass its name to make it the first
2-
# item in the result list if available
3-
SC_ADD_SUBDIRS(system)
2+
# item in the result list if available, then trunk and then gui-qt4
3+
SC_ADD_SUBDIRS(system trunk gui-qt4)

src/gui-qt4/apps/descriptions/global_gui.xml

+28-2
Original file line numberDiff line numberDiff line change
@@ -363,9 +363,35 @@
363363
</group>
364364

365365
<group name="marker">
366-
<parameter name="lineWidth" type="color">
366+
<parameter name="lineWidth" type="int">
367367
<description>
368-
The line width of the marker (e.g. picks of manual picker).
368+
The line width of the marker (e.g. picks of manual picker).
369+
</description>
370+
</parameter>
371+
</group>
372+
373+
<group name="records">
374+
<parameter name="lineWidth" type="int" default="1">
375+
<description>
376+
The line width of the records / traces.
377+
</description>
378+
</parameter>
379+
<parameter name="antiAliasing" type="bool" default="false">
380+
<description>
381+
Configures antialiasing of records / traces. Antialiasing
382+
needs more processing time and does not look as good as
383+
possible due to point optimizations. To get the best
384+
visual quality, disable trace optimization as well.
385+
</description>
386+
</parameter>
387+
<parameter name="optimize" type="bool" default="true">
388+
<description>
389+
Configures optimization of trace polylines. If activated
390+
then lines on the same pixel line or same pixel row
391+
collapse into single lines. Optimization does not look
392+
as good as possible in combination with antialiasing.
393+
For best quality disable optimization and enable
394+
antialiasing.
369395
</description>
370396
</parameter>
371397
</group>

src/gui-qt4/apps/scmv/mvmainwindow.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
#include <seiscomp3/datamodel/inventory.h>
3535
#include <seiscomp3/datamodel/utils.h>
3636

37-
#include <seiscomp3/processing/parameters.h>
37+
#include <seiscomp3/utils/keyvalues.h>
3838

3939
#include <seiscomp3/math/math.h>
4040
#include <seiscomp3/math/filter.h>
@@ -1105,8 +1105,8 @@ bool MvMainWindow::readStationsFromDataBase() {
11051105
std::string net = cs->networkCode();
11061106
std::string sta = cs->stationCode();
11071107

1108-
Processing::Parameters params;
1109-
params.readFrom(ps);
1108+
Util::KeyValues params;
1109+
params.init(ps);
11101110

11111111
std::string location;
11121112
std::string channel;

src/gui-qt4/apps/scrttv/mainwindow.cpp

+5-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#include <seiscomp3/datamodel/origin.h>
2626
#include <seiscomp3/datamodel/messages.h>
2727
#include <seiscomp3/datamodel/utils.h>
28-
#include <seiscomp3/processing/parameters.h>
28+
#include <seiscomp3/utils/keyvalues.h>
2929
#include <seiscomp3/math/geo.h>
3030
#include <seiscomp3/utils/timer.h>
3131
#include <seiscomp3/gui/core/recordviewitem.h>
@@ -729,6 +729,8 @@ void MainWindow::setStationEnabled(const string& networkCode,
729729
Notifier::Enable();
730730
module->add(newCs.get());
731731
Notifier::Disable();
732+
733+
cs = newCs.get();
732734
}
733735

734736
if ( cs->enabled() != enable ) {
@@ -1349,8 +1351,8 @@ void MainWindow::openAcquisition() {
13491351
continue;
13501352
}
13511353

1352-
Processing::Parameters params;
1353-
params.readFrom(ps);
1354+
Util::KeyValues params;
1355+
params.init(ps);
13541356

13551357
std::string net, sta, loc, cha;
13561358
net = station->networkCode();

0 commit comments

Comments
 (0)