Skip to content

Commit cdad79d

Browse files
committed
Merge branch 'develop'
2 parents 9b670cf + 0dbf619 commit cdad79d

File tree

15 files changed

+33
-33
lines changed

15 files changed

+33
-33
lines changed

.gitlab-ci.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,16 @@ variables:
3939
- make install
4040
- ctest -C $BUILD_TYPE --output-on-failure
4141

42-
build:ubuntu:trusty:gcc-6:
42+
build:ubuntu:trusty:gcc-7:
4343
<<: *build_definition
4444
image: ubuntu:trusty
4545
before_script:
4646
- apt-get update -qq
4747
- apt-get install -y -qq software-properties-common python-software-properties
4848
- add-apt-repository ppa:ubuntu-toolchain-r/test
4949
- apt-get update -qq
50-
- apt-get install -y -qq wget git build-essential gcc-6 g++-6
50+
- apt-get install -y -qq wget git build-essential gcc-7 g++-7
51+
- apt-get install -y -qq xorg-dev libglu1-mesa-dev
5152
variables:
52-
CC: gcc-6
53-
CXX: g++-6
53+
CC: gcc-7
54+
CXX: g++-7

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ set(META_AUTHOR_DOMAIN "https://github.com/abdes/asap")
5858
set(META_AUTHOR_MAINTAINER "Abdessattar Sassi (abde.sassi gmail account)")
5959
set(META_VERSION_MAJOR "0")
6060
set(META_VERSION_MINOR "9")
61-
set(META_VERSION_PATCH "2")
61+
set(META_VERSION_PATCH "3")
6262
set(META_VERSION_REVISION "${GIT_REV}")
6363
set(META_VERSION "${META_VERSION_MAJOR}.${META_VERSION_MINOR}.${META_VERSION_PATCH}")
6464
set(META_NAME_VERSION "${META_PROJECT_NAME} v${META_VERSION} (${META_VERSION_REVISION})")

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
| Windows | [![Windows][21]][20] |
1212

1313
[0]: https://travis-ci.org/abdes/asap_app_imgui
14-
[9]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/9
15-
[10]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/10
16-
[11]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/11
17-
[12]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/12
18-
[13]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/master/13
14+
[9]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/9
15+
[10]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/10
16+
[11]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/11
17+
[12]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/12
18+
[13]: https://travis-matrix-badges.herokuapp.com/repos/abdes/asap_app_imgui/branches/develop/13
1919
[20]: https://ci.appveyor.com/project/abdes/asap-app-imgui
20-
[21]: https://ci.appveyor.com/api/projects/status/qoaae14rw3cyivgq/branch/master?svg=true
20+
[21]: https://ci.appveyor.com/api/projects/status/qoaae14rw3cyivgq/branch/develop?svg=true
2121

2222
# Starter project with minimum necessary functionality
2323
- use cmake for the build system

common

Submodule common updated from 85cb5e6 to a9cbe84

filesystem

Submodule filesystem updated from 26395a2 to 57c6d85

imgui

Submodule imgui updated from f8c37b1 to 4d7988b

main/src/imgui_runner.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -490,14 +490,14 @@ void ImGuiRunner::LoadSetting() {
490490
if (asap::filesystem::exists(display_settings)) {
491491
try {
492492
config = cpptoml::parse_file(display_settings.string());
493-
ASLOG(info, "display settings loaded from {}", display_settings);
493+
ASLOG(info, "display settings loaded from {}", display_settings.string());
494494
has_config = true;
495495
} catch (std::exception const &ex) {
496496
ASLOG(error, "error () while loading settings from {}", ex.what(),
497-
display_settings);
497+
display_settings.string());
498498
}
499499
} else {
500-
ASLOG(info, "file {} does not exist", display_settings);
500+
ASLOG(info, "file {} does not exist", display_settings.string());
501501
}
502502

503503
int width = 800;

main/src/ui/application_base.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,8 +191,8 @@ float ApplicationBase::DrawMainMenu() {
191191
void ApplicationBase::DrawStatusBar(float width, float height, float pos_x,
192192
float pos_y) {
193193
// Draw status bar (no docking)
194-
ImGui::SetNextWindowSize(ImVec2(width, height), ImGuiSetCond_Always);
195-
ImGui::SetNextWindowPos(ImVec2(pos_x, pos_y), ImGuiSetCond_Always);
194+
ImGui::SetNextWindowSize(ImVec2(width, height), ImGuiCond_Always);
195+
ImGui::SetNextWindowPos(ImVec2(pos_x, pos_y), ImGuiCond_Always);
196196
ImGui::Begin("statusbar", nullptr,
197197
ImGuiWindowFlags_NoTitleBar | ImGuiWindowFlags_NoSavedSettings |
198198
ImGuiWindowFlags_NoBringToFrontOnFocus |

main/src/ui/log/sink.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ namespace asap {
290290
color_range_end = static_cast<std::size_t>(ostr.tellp());
291291
}
292292
if (show_logger_) {
293-
ostr << "[" << *msg.logger_name << "] ";
293+
ostr.put('[').write(msg.logger_name.data(), msg.logger_name.size()).write("] ", 2);
294294
}
295295
auto properties = ostr.str();
296296

@@ -431,7 +431,7 @@ namespace asap {
431431
log_settings.string());
432432
}
433433
} else {
434-
ASLOG(info, "file {} does not exist", log_settings);
434+
ASLOG(info, "file {} does not exist", log_settings.string());
435435
}
436436

437437
if (has_config) {

main/src/ui/style/theme.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -668,15 +668,15 @@ void Theme::LoadStyle() {
668668
try {
669669
config = cpptoml::parse_file(theme_settings.string());
670670
ASLOG_TO_LOGGER(logger, info, "theme settings loaded from {}",
671-
theme_settings);
671+
theme_settings.string());
672672
has_config = true;
673673
} catch (std::exception const &ex) {
674674
ASLOG_TO_LOGGER(logger, error,
675675
"error () while loading theme settings from {}",
676-
ex.what(), theme_settings);
676+
ex.what(), theme_settings.string());
677677
}
678678
} else {
679-
ASLOG_TO_LOGGER(logger, info, "file {} does not exist", theme_settings);
679+
ASLOG_TO_LOGGER(logger, info, "file {} does not exist", theme_settings.string());
680680
}
681681

682682
if (has_config) {

0 commit comments

Comments
 (0)