Skip to content

Commit 5a20299

Browse files
committed
Merge branch 'main' of github.com:eclipse-sumo/sumo into Netedit_dev
2 parents ab67018 + 7f590ec commit 5a20299

File tree

286 files changed

+11432
-407
lines changed

Some content is hidden

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

286 files changed

+11432
-407
lines changed

.appveyor.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ skip_commits:
66

77
environment:
88
matrix:
9-
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
10-
# ver: 2015
11-
# generator: "Visual Studio 14 2015 Win64"
12-
# configuration: Release
13-
# cmake_opts: "-DENABLE_JAVA_BINDINGS=0 -DNETEDIT=0"
14-
# PYTHON: C:\Python38-x64
9+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
10+
ver: 2015
11+
generator: "Visual Studio 14 2015 Win64"
12+
configuration: Release
13+
cmake_opts: "-DENABLE_JAVA_BINDINGS=0 -DNETEDIT=0"
14+
PYTHON: C:\Python38-x64
1515
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
1616
ver: 2017
1717
generator: "Visual Studio 15 2017 Win64"

.github/workflows/build-macos.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ jobs:
3636
run: |
3737
brew update
3838
brew upgrade || brew link --overwrite [email protected]
39+
# Temporarily uninstall [email protected] to work around https://github.com/actions/runner-images/issues/10984
40+
brew uninstall --ignore-dependencies --force [email protected]
3941
brew install --cask xquartz
4042
brew install xerces-c fox proj gdal gl2ps ccache googletest fmt swig eigen
4143

.github/workflows/documentation.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ jobs:
5555
path: .lycheecache
5656
key: cache-lychee-${{ github.sha }}
5757
restore-keys: cache-lychee-
58-
save-always: true
5958

6059
- name: Cloning repository
6160
uses: actions/checkout@v4

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,8 +384,10 @@ if (SUMO_LIBRARIES AND WIN32)
384384
file(GLOB MSVC_DLLS "${SUMO_LIBRARIES}/runtimes/*.dll")
385385
list(APPEND SUMO_LIBRARIES_DLL ${MSVC_DLLS})
386386
endif(INSTALL_DLL_RUNTIMES)
387-
# set fmt dir depending of msvc toolset version
388-
file(GLOB fmt_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/fmt-??.?.?")
387+
if (MSVC_VERSION GREATER 1919)
388+
# fmt in SUMOLibraries only works with MSVC 2019 and later
389+
file(GLOB fmt_PATH "${SUMO_LIBRARIES}/3rdPartyLibs/fmt-??.?.?")
390+
endif ()
389391
# declare flag for use google test
390392
set(USE_GOOGLETEST true)
391393
# check if use google test

docs/web/docs/Data/Scenarios/TAPASCologne.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ The below images show the structure of demand data over 24 hour period.
163163
This shows normal behavior of mobility. Peak hours like \~8-9am ,
164164
\~4-6pm during which the number of trips are usually high. More
165165
information of the city of cologne can be found in the link
166-
[\[1\]](https://www.stadt-koeln.de/mediaasset/content/pdf15/stadtkoeln_zahlenspiegel_e_bfrei.pdf).
166+
[\[1\]](https://web.archive.org/web/20230321021848/https://www.stadt-koeln.de/mediaasset/content/pdf15/stadtkoeln_zahlenspiegel_e_bfrei.pdf).
167167
The total number of trips (made by cars) over 24h is very close to the
168168
number of registered cars\*3 (3 trips per registered car). There are
169169
around \~420415\*3 (\~1.2 million) trips which matches the number in the

docs/web/docs/Simulation/Output/QueueOutput.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ using the end of the last standing vehicle.
1010

1111
The simulation is forced to generate this output using the option **--queue-output** {{DT_FILE}}. {{DT_FILE}} is
1212
the name of the file the output will be written to. Any other file with
13-
this name will be overwritten, the destination folder must exist.
13+
this name will be overwritten, the destination folder must exist. Using the option **--qeue-output.period** {{DT_TIME}}, the times
14+
the queue lengths will be written can be restricted to the given period. Then, the other time steps will be skipped.
1415

1516
## Generated Output
1617

docs/web/theme/nav-sub.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- sonar-ignore-start -->
12
{%- if not nav_item.children %}
23
<li>
34
<a href="{{ nav_item.url|url }}" class="dropdown-item{% if nav_item.active %} active{% endif %}">{{ nav_item.title }}</a>
@@ -12,3 +13,4 @@
1213
</ul>
1314
</li>
1415
{%- endif %}
16+
<!-- sonar-ignore-end -->

src/activitygen/city/AGCity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ AGCity::generateWorkPositions() {
109109
++workPositionCounter;
110110
}
111111
}
112-
} catch (const std::bad_alloc& e) {
112+
} catch (const std::bad_alloc&) {
113113
std::cout << "Number of work positions at bad_alloc exception: " << workPositionCounter << std::endl;
114114
throw;
115115
}

src/dfrouter/RODFDetectorHandler.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ RODFDetectorHandler::myStartElement(int element,
8989
if (myIgnoreErrors) {
9090
WRITE_WARNING(e.what());
9191
} else {
92-
throw e;
92+
throw;
9393
}
9494
}
9595
}

src/mesosim/METriggeredCalibrator.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ METriggeredCalibrator::execute(SUMOTime currentTime) {
194194
vehicle = nullptr;
195195
break;
196196
} else {
197-
throw e;
197+
throw;
198198
}
199199
}
200200
const bool duplicate = vc.getVehicle(newPars->id) != nullptr;

0 commit comments

Comments
 (0)