Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into Increase-granularit…
Browse files Browse the repository at this point in the history
…y-of-extrusion-move-splitting-for-small-line-segments-ending-in-an-overhang
  • Loading branch information
igiannakas committed Jul 31, 2024
2 parents c726bda + cfe21e5 commit 695e386
Show file tree
Hide file tree
Showing 431 changed files with 10,784 additions and 3,356 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/update-translation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Update Translation Catalog
on:
# schedule:
# - cron: 0 0 * * 1
workflow_dispatch:

jobs:
update_translation:
name: Update translation
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install gettext
run: |
sudo apt-get update
sudo apt-get install -y gettext
- name: Update translation catalog
run: |
./run_gettext.sh --full
git add localization/i18n/*
- name: Commit translation catalog updates
uses: qoomon/actions--create-commit@v1
id: commit
with:
message: Update translation catalog
skip-empty: true

- name: Push changes
run: git push
17 changes: 17 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ if (MSVC)
# C4244: 'conversion' conversion from 'type1' to 'type2', possible loss of data. An integer type is converted to a smaller integer type.
# C4267: The compiler detected a conversion from size_t to a smaller type.
add_compile_options(/wd4244 /wd4267)
# Disable warnings on comparison of unsigned and signed
# C4018: signed/unsigned mismatch
add_compile_options(/wd4018)
endif ()

if (${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER 15)
Expand Down Expand Up @@ -249,6 +252,20 @@ if (NOT MSVC AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMP
# On GCC and Clang, no return from a non-void function is a warning only. Here, we make it an error.
add_compile_options(-Werror=return-type)

# Ignore unused functions warnings
add_compile_options(-Wno-unused-function)

# Ignore signed/unsigned comparison warnings
add_compile_options(-Wno-sign-compare)

# The mismatch of tabs and spaces throughout the project can sometimes
# cause this warning to appear even though the indentation is fine.
# Some includes also cause the warning
add_compile_options(-Wno-misleading-indentation)

# Disable warning if enum value does not have a corresponding case in switch statement
add_compile_options(-Wno-switch)

# removes LOTS of extraneous Eigen warnings (GCC only supports it since 6.1)
# https://eigen.tuxfamily.org/bz/show_bug.cgi?id=1221
if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang" OR CMAKE_CXX_COMPILER_VERSION VERSION_GREATER 6.0)
Expand Down
Loading

0 comments on commit 695e386

Please sign in to comment.