Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lagrange.spec'], chrootPath='/var/lib/mock/f40-build-764261-122861/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/lagrange.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1702425600 Wrote: /builddir/build/SRPMS/lagrange-1.17.5-1.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lagrange.spec'], chrootPath='/var/lib/mock/f40-build-764261-122861/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/lagrange.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1702425600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BElBmF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lagrange-1.17.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/lagrange-1.17.5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd lagrange-1.17.5 + rm -rf /builddir/build/BUILD/lagrange-1.17.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/lagrange-1.17.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf lib + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.SHoFZR + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lagrange-1.17.5 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DENABLE_POPUP_MENUS:BOOL=NO -DENABLE_X11_XLIB:BOOL=NO -- The C compiler identification is GNU 13.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Setting build type to 'Release' as none was specified. -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'harfbuzz' -- Found harfbuzz, version 8.3.0 -- Checking for module 'fribidi' -- Found fribidi, version 1.0.13 -- Checking for module 'sdl2' -- Found sdl2, version 2.28.5 -- Checking for module 'libmpg123' -- Found libmpg123, version 1.31.3 -- Checking for module 'libwebp' -- Found libwebp, version 1.3.2 -- Performing Test CFLAG_INCOMPATIBLE_POINTER_TYPES -- Performing Test CFLAG_INCOMPATIBLE_POINTER_TYPES - Success -- Preparing resources... -- resources.lgr -- Configuring done (10.5s) -- Generating done (0.1s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_CXX_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j4 /usr/bin/cmake -S/builddir/build/BUILD/lagrange-1.17.5 -B/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build/CMakeFiles /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ext-deps.dir/build.make CMakeFiles/ext-deps.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' cd /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/lagrange-1.17.5 /builddir/build/BUILD/lagrange-1.17.5 /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build/CMakeFiles/ext-deps.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/ext-deps.dir/build.make CMakeFiles/ext-deps.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' gmake[2]: Nothing to be done for 'CMakeFiles/ext-deps.dir/build'. gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' [ 0%] Built target ext-deps /usr/bin/gmake -f CMakeFiles/app.dir/build.make CMakeFiles/app.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' cd /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/lagrange-1.17.5 /builddir/build/BUILD/lagrange-1.17.5 /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build/CMakeFiles/app.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' /usr/bin/gmake -f CMakeFiles/app.dir/build.make CMakeFiles/app.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' [ 6%] Building C object CMakeFiles/app.dir/src/export.c.o [ 6%] Building C object CMakeFiles/app.dir/src/main.c.o [ 6%] Building C object CMakeFiles/app.dir/src/app.c.o [ 6%] Building C object CMakeFiles/app.dir/src/bookmarks.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/main.c.o -MF CMakeFiles/app.dir/src/main.c.o.d -o CMakeFiles/app.dir/src/main.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/main.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/app.c.o -MF CMakeFiles/app.dir/src/app.c.o.d -o CMakeFiles/app.dir/src/app.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/app.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/export.c.o -MF CMakeFiles/app.dir/src/export.c.o.d -o CMakeFiles/app.dir/src/export.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/export.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/bookmarks.c.o -MF CMakeFiles/app.dir/src/bookmarks.c.o.d -o CMakeFiles/app.dir/src/bookmarks.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/bookmarks.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/export.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/export.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/bookmarks.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/bookmarks.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/app.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/app.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/app.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/main.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/bookmarks.c: In function ‘requestFinished_Bookmarks’: /builddir/build/BUILD/lagrange-1.17.5/src/bookmarks.c:820:11: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 820 | iBool found = iFalse; | ^~~~~ [ 7%] Building C object CMakeFiles/app.dir/src/feeds.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/feeds.c.o -MF CMakeFiles/app.dir/src/feeds.c.o.d -o CMakeFiles/app.dir/src/feeds.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/feeds.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/feeds.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/feeds.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/app.c: In function ‘handleOpenCommand_App_’: /builddir/build/BUILD/lagrange-1.17.5/src/app.c:4165:13: warning: missing braces around initializer [-Wmissing-braces] 4165 | (iMenuItem[]){ { "${dlg.spartan.upload}", | ^ ...... 4168 | format_CStr("valueinput.upload url:%s", | { 4169 | cstr_String(urlQueryStripped_String(url))) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/app.c:4165:13: warning: missing braces around initializer [-Wmissing-braces] 4165 | (iMenuItem[]){ { "${dlg.spartan.upload}", | ^ ...... 4168 | format_CStr("valueinput.upload url:%s", | { 4169 | cstr_String(urlQueryStripped_String(url))) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/app.c: In function ‘handleCommand_App’: /builddir/build/BUILD/lagrange-1.17.5/src/app.c:4559:17: warning: missing braces around initializer [-Wmissing-braces] 4559 | (iMenuItem[]){ | ^ /builddir/build/BUILD/lagrange-1.17.5/src/app.c:4559:17: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/app.c:4559:17: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/app.c:5052:21: warning: missing braces around initializer [-Wmissing-braces] 5052 | (iMenuItem[]){ { "${cancel}" }, | ^ ...... 5056 | format_CStr("!fontpack.delete confirmed:1 id:%s", | { 5057 | cstr_String(packId)) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/app.c:5052:21: warning: missing braces around initializer [-Wmissing-braces] 5052 | (iMenuItem[]){ { "${cancel}" }, | ^ ...... 5056 | format_CStr("!fontpack.delete confirmed:1 id:%s", | { 5057 | cstr_String(packId)) } }, | } [ 9%] Building C object CMakeFiles/app.dir/src/fontpack.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/fontpack.c.o -MF CMakeFiles/app.dir/src/fontpack.c.o.d -o CMakeFiles/app.dir/src/fontpack.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c /builddir/build/BUILD/lagrange-1.17.5/src/app.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/app.c:142:21: warning: ‘idleThreshold_App_’ defined but not used [-Wunused-const-variable=] 142 | static const int idleThreshold_App_ = 1000; /* ms */ | ^~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c: In function ‘actions_FontPack’: /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:912:18: warning: missing braces around initializer [-Wmissing-braces] 912 | &(iMenuItem){ format_Lang(add_Icon " ${fontpack.upgrade}", fpId, d->version), | ^ ...... 915 | "fontpack.install" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:921:18: warning: missing braces around initializer [-Wmissing-braces] 921 | &(iMenuItem){ format_Lang(isEnabled ? close_Icon " ${fontpack.disable}" | ^ ...... 926 | format_CStr("fontpack.enable arg:%d id:%s", !isEnabled, fpId) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:931:29: warning: missing braces around initializer [-Wmissing-braces] 931 | &(iMenuItem){ format_Lang(delete_Icon " ${fontpack.delete}", fpId), | ^ ...... 934 | format_CStr("fontpack.delete id:%s", fpId) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:939:25: warning: missing braces around initializer [-Wmissing-braces] 939 | &(iMenuItem){ format_Lang(add_Icon " " uiTextAction_ColorEscape | ^ ...... 943 | "fontpack.install" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:945:21: warning: missing braces around initializer [-Wmissing-braces] 945 | items, &(iMenuItem){ download_Icon " " saveToDownloads_Label, 0, 0, "document.save" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:950:14: warning: missing braces around initializer [-Wmissing-braces] 950 | &(iMenuItem){ | ^ 951 | fontpack_Icon " ${fontpack.open.aboutfonts}", 0, 0, "!open switch:1 url:about:fonts" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c: In function ‘enablePack_Fonts’: /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:1138:13: warning: unused variable ‘d’ [-Wunused-variable] 1138 | iFonts *d = &fonts_; | ^ /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/fontpack.c:230:13: warning: ‘unloadFiles_Fonts_’ defined but not used [-Wunused-function] 230 | static void unloadFiles_Fonts_(iFonts *d) { | ^~~~~~~~~~~~~~~~~~ [ 11%] Building C object CMakeFiles/app.dir/src/gempub.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gempub.c.o -MF CMakeFiles/app.dir/src/gempub.c.o.d -o CMakeFiles/app.dir/src/gempub.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gempub.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gempub.c:26: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 12%] Building C object CMakeFiles/app.dir/src/gmcerts.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmcerts.c.o -MF CMakeFiles/app.dir/src/gmcerts.c.o.d -o CMakeFiles/app.dir/src/gmcerts.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gmcerts.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmcerts.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/gmcerts.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 14%] Building C object CMakeFiles/app.dir/src/gmdocument.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmdocument.c.o -MF CMakeFiles/app.dir/src/gmdocument.c.o.d -o CMakeFiles/app.dir/src/gmdocument.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 15%] Building C object CMakeFiles/app.dir/src/gmrequest.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmrequest.c.o -MF CMakeFiles/app.dir/src/gmrequest.c.o.d -o CMakeFiles/app.dir/src/gmrequest.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gmrequest.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmcerts.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/gmrequest.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c: In function ‘setThemeSeed_GmDocument’: /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } 1743 | { 2, 5 }, /* 7: cyan */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } 1743 | { 2, 5 }, /* 7: cyan */ | { } 1744 | { 6, 10 }, /* 8: sky blue */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } 1743 | { 2, 5 }, /* 7: cyan */ | { } 1744 | { 6, 10 }, /* 8: sky blue */ | { } 1745 | { 3, 11 }, /* 9: blue */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } 1743 | { 2, 5 }, /* 7: cyan */ | { } 1744 | { 6, 10 }, /* 8: sky blue */ | { } 1745 | { 3, 11 }, /* 9: blue */ | { } 1746 | { 8, 9 }, /* 10: violet */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } 1743 | { 2, 5 }, /* 7: cyan */ | { } 1744 | { 6, 10 }, /* 8: sky blue */ | { } 1745 | { 3, 11 }, /* 9: blue */ | { } 1746 | { 8, 9 }, /* 10: violet */ | { } 1747 | { 7, 8 }, /* 11: pink */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1735:39: warning: missing braces around initializer [-Wmissing-braces] 1735 | } altHues[iElemCount(hues)] = { | ^ 1736 | { 2, 3 }, /* 0: red */ | { } 1737 | { 8, 3 }, /* 1: reddish orange */ | { } 1738 | { 7, 6 }, /* 2: yellowish orange */ | { } 1739 | { 5, 7 }, /* 3: yellow */ | { } 1740 | { 8, 2 }, /* 4: greenish yellow */ | { } 1741 | { 2, 3 }, /* 5: green */ | { } 1742 | { 2, 8 }, /* 6: bluish green */ | { } 1743 | { 2, 5 }, /* 7: cyan */ | { } 1744 | { 6, 10 }, /* 8: sky blue */ | { } 1745 | { 3, 11 }, /* 9: blue */ | { } 1746 | { 8, 9 }, /* 10: violet */ | { } 1747 | { 7, 8 }, /* 11: pink */ | { } /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.c:1767:36: warning: suggest parentheses around ‘+’ in operand of ‘&’ [-Wparentheses] 1767 | primIndex = (primIndex + d->themeSeed & 0xf) % 12; | ~~~~~~~~~~^~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/gmrequest.c:192:17: warning: ‘port_GmRequest_’ defined but not used [-Wunused-function] 192 | static uint16_t port_GmRequest_(iGmRequest *d) { | ^~~~~~~~~~~~~~~ [ 17%] Building C object CMakeFiles/app.dir/src/gmtypesetter.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmtypesetter.c.o -MF CMakeFiles/app.dir/src/gmtypesetter.c.o.d -o CMakeFiles/app.dir/src/gmtypesetter.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gmtypesetter.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmtypesetter.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/gmtypesetter.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 19%] Building C object CMakeFiles/app.dir/src/gmutil.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gmutil.c.o -MF CMakeFiles/app.dir/src/gmutil.c.o.d -o CMakeFiles/app.dir/src/gmutil.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gmutil.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/gmutil.c:26: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 20%] Building C object CMakeFiles/app.dir/src/gopher.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/gopher.c.o -MF CMakeFiles/app.dir/src/gopher.c.o.d -o CMakeFiles/app.dir/src/gopher.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/gopher.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/gopher.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 22%] Building C object CMakeFiles/app.dir/src/history.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/history.c.o -MF CMakeFiles/app.dir/src/history.c.o.d -o CMakeFiles/app.dir/src/history.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/history.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/history.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/history.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/history.c: In function ‘precedingLocked_History’: /builddir/build/BUILD/lagrange-1.17.5/src/history.c:335:11: warning: unused variable ‘ok’ [-Wunused-variable] 335 | iBool ok = iFalse; | ^~ [ 23%] Building C object CMakeFiles/app.dir/src/lang.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/lang.c.o -MF CMakeFiles/app.dir/src/lang.c.o.d -o CMakeFiles/app.dir/src/lang.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/lang.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/lang.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 25%] Building C object CMakeFiles/app.dir/src/lookup.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/lookup.c.o -MF CMakeFiles/app.dir/src/lookup.c.o.d -o CMakeFiles/app.dir/src/lookup.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/lookup.c [ 26%] Building C object CMakeFiles/app.dir/src/media.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/media.c.o -MF CMakeFiles/app.dir/src/media.c.o.d -o CMakeFiles/app.dir/src/media.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/media.c [ 28%] Building C object CMakeFiles/app.dir/src/mimehooks.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/mimehooks.c.o -MF CMakeFiles/app.dir/src/mimehooks.c.o.d -o CMakeFiles/app.dir/src/mimehooks.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/mimehooks.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/mimehooks.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/media.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 30%] Building C object CMakeFiles/app.dir/src/periodic.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/periodic.c.o -MF CMakeFiles/app.dir/src/periodic.c.o.d -o CMakeFiles/app.dir/src/periodic.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/periodic.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/periodic.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 31%] Building C object CMakeFiles/app.dir/src/prefs.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/prefs.c.o -MF CMakeFiles/app.dir/src/prefs.c.o.d -o CMakeFiles/app.dir/src/prefs.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/prefs.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 33%] Building C object CMakeFiles/app.dir/src/resources.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/resources.c.o -MF CMakeFiles/app.dir/src/resources.c.o.d -o CMakeFiles/app.dir/src/resources.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/resources.c [ 34%] Building C object CMakeFiles/app.dir/src/sitespec.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/sitespec.c.o -MF CMakeFiles/app.dir/src/sitespec.c.o.d -o CMakeFiles/app.dir/src/sitespec.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 36%] Building C object CMakeFiles/app.dir/src/snippets.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/snippets.c.o -MF CMakeFiles/app.dir/src/snippets.c.o.d -o CMakeFiles/app.dir/src/snippets.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/snippets.c In file included from /usr/include/the_Foundation/stringarray.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.h:26: /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.c: In function ‘loadOldFormat_SiteSpec_’: /builddir/build/BUILD/lagrange-1.17.5/src/sitespec.c:105:33: warning: the address of ‘params’ will always evaluate as ‘true’ [-Waddress] 105 | iReleasePtr(¶ms); | ^ [ 38%] Building C object CMakeFiles/app.dir/src/visited.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/visited.c.o -MF CMakeFiles/app.dir/src/visited.c.o.d -o CMakeFiles/app.dir/src/visited.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/visited.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/snippets.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/snippets.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/app.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/visited.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 39%] Building C object CMakeFiles/app.dir/src/ui/banner.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/banner.c.o -MF CMakeFiles/app.dir/src/ui/banner.c.o.d -o CMakeFiles/app.dir/src/ui/banner.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/banner.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/banner.c:26: /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 41%] Building C object CMakeFiles/app.dir/src/ui/bindingswidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/bindingswidget.c.o -MF CMakeFiles/app.dir/src/ui/bindingswidget.c.o.d -o CMakeFiles/app.dir/src/ui/bindingswidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/banner.c: In function ‘processEvent_Banner’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/banner.c:354:45: warning: missing braces around initializer [-Wmissing-braces] 354 | (iMenuItem[]){ | ^ ...... 359 | format_CStr("!document.dismiss warning:%d ptr:%p", | { 360 | ansiEscapes_GmDocumentWarning, 361 | d->doc) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/banner.c:354:45: warning: missing braces around initializer [-Wmissing-braces] 354 | (iMenuItem[]){ | ^ ...... 359 | format_CStr("!document.dismiss warning:%d ptr:%p", | { 360 | ansiEscapes_GmDocumentWarning, 361 | d->doc) } }, | } [ 42%] Building C object CMakeFiles/app.dir/src/ui/certimportwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/certimportwidget.c.o -MF CMakeFiles/app.dir/src/ui/certimportwidget.c.o.d -o CMakeFiles/app.dir/src/ui/certimportwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/certimportwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/certimportwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/certimportwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.c: In function ‘init_BindingsWidget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.c:125:9: warning: missing braces around initializer [-Wmissing-braces] 125 | (iMenuItem[]){ { "${menu.binding.reset}", 0, 0, "binding.reset" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.c:125:9: warning: missing braces around initializer [-Wmissing-braces] 125 | (iMenuItem[]){ { "${menu.binding.reset}", 0, 0, "binding.reset" }, | ^ | { } 126 | { uiTextCaution_ColorEscape "${menu.binding.clear}", 0, 0, "binding.clear" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/bindingswidget.c:125:9: warning: missing braces around initializer [-Wmissing-braces] 125 | (iMenuItem[]){ { "${menu.binding.reset}", 0, 0, "binding.reset" }, | ^ | { } 126 | { uiTextCaution_ColorEscape "${menu.binding.clear}", 0, 0, "binding.clear" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/certimportwidget.c: In function ‘init_CertImportWidget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/certimportwidget.c:120:33: warning: missing braces around initializer [-Wmissing-braces] 120 | const iMenuItem actions[] = { | ^ ...... 132 | "certimport.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/certimportwidget.c:120:33: warning: missing braces around initializer [-Wmissing-braces] 120 | const iMenuItem actions[] = { | ^ ...... 132 | "certimport.accept" } | { } [ 44%] Building C object CMakeFiles/app.dir/src/ui/certlistwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/certlistwidget.c.o -MF CMakeFiles/app.dir/src/ui/certlistwidget.c.o.d -o CMakeFiles/app.dir/src/ui/certlistwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c [ 46%] Building C object CMakeFiles/app.dir/src/ui/color.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/color.c.o -MF CMakeFiles/app.dir/src/ui/color.c.o.d -o CMakeFiles/app.dir/src/ui/color.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/color.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/scrollwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/listwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/color.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 47%] Building C object CMakeFiles/app.dir/src/ui/command.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/command.c.o -MF CMakeFiles/app.dir/src/ui/command.c.o.d -o CMakeFiles/app.dir/src/ui/command.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/command.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c: In function ‘updateContextMenu_CertListWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] 97 | const iMenuItem ctxItems[] = { | ^ 98 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] 97 | const iMenuItem ctxItems[] = { | ^ 98 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 99 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] 97 | const iMenuItem ctxItems[] = { | ^ 98 | { person_Icon " ${ident.use}", 0, 0, "ident.use arg:1" }, | { } 99 | { close_Icon " ${ident.stopuse}", 0, 0, "ident.use arg:0" }, | { } 100 | { close_Icon " ${ident.stopuse.all}", 0, 0, "ident.use arg:0 clear:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:97:34: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:120:47: warning: missing braces around initializer [-Wmissing-braces] 120 | insert_Array(items, insertPos++, &(iMenuItem){ "---", 0, 0, NULL }); | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:132:27: warning: missing braces around initializer [-Wmissing-braces] 132 | &(iMenuItem){ format_CStr(globe_Icon " %s", cstr_Rangecc(urlStr)), | ^ ...... 135 | format_CStr("!open url:%s", cstr_String(url)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c: In function ‘processEvent_CertListWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:269:21: warning: missing braces around initializer [-Wmissing-braces] 269 | (iMenuItem[]){ { "${cancel}", 0, 0, NULL }, | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:269:21: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/certlistwidget.c:269:21: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/color.c: In function ‘setThemePalette_Color’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/color.c:119:21: warning: unused variable ‘isMediumDark’ [-Wunused-variable] 119 | const iBool isMediumDark = prefs_App()->theme == dark_ColorTheme; | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/command.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 49%] Building C object CMakeFiles/app.dir/src/ui/documentview.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/documentview.c.o -MF CMakeFiles/app.dir/src/ui/documentview.c.o.d -o CMakeFiles/app.dir/src/ui/documentview.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentview.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentview.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentview.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 50%] Building C object CMakeFiles/app.dir/src/ui/documentwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/documentwidget.c.o -MF CMakeFiles/app.dir/src/ui/documentwidget.c.o.d -o CMakeFiles/app.dir/src/ui/documentwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentview.c: In function ‘isWideBlockScrollable_DocumentView’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentview.c:622:23: warning: unused variable ‘range’ [-Wunused-variable] 622 | const iGmRunRange range = meta->runRange; | ^~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 52%] Building C object CMakeFiles/app.dir/src/ui/indicatorwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/indicatorwidget.c.o -MF CMakeFiles/app.dir/src/ui/indicatorwidget.c.o.d -o CMakeFiles/app.dir/src/ui/indicatorwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/indicatorwidget.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘showErrorPage_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:979:21: warning: missing braces around initializer [-Wmissing-braces] 979 | (iMenuItem[]){ { rightArrowhead_Icon " ${menu.unexpire}", | ^ 980 | SDLK_RETURN, 0, "server.unexpire" | { 981 | }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:979:21: warning: missing braces around initializer [-Wmissing-braces] 979 | (iMenuItem[]){ { rightArrowhead_Icon " ${menu.unexpire}", | ^ 980 | SDLK_RETURN, 0, "server.unexpire" | { 981 | }, | } ...... 985 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:979:21: warning: missing braces around initializer [-Wmissing-braces] 979 | (iMenuItem[]){ { rightArrowhead_Icon " ${menu.unexpire}", | ^ 980 | SDLK_RETURN, 0, "server.unexpire" | { 981 | }, | } ...... 985 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:992:21: warning: missing braces around initializer [-Wmissing-braces] 992 | (iMenuItem[]){ { info_Icon " ${menu.pageinfo}", | ^ ...... 995 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:992:21: warning: missing braces around initializer [-Wmissing-braces] 992 | (iMenuItem[]){ { info_Icon " ${menu.pageinfo}", | ^ ...... 995 | "document.info" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1012:26: warning: missing braces around initializer [-Wmissing-braces] 1012 | &(iMenuItem){ translateCStr_Lang(format_CStr("View as \"%s\"", mtype)), | ^ ...... 1015 | format_CStr("document.setmediatype mime:%s", mtype) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1018:33: warning: missing braces around initializer [-Wmissing-braces] 1018 | &(iMenuItem){ export_Icon " ${menu.open.external}", | ^ ...... 1021 | "document.save extview:1" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1024:22: warning: missing braces around initializer [-Wmissing-braces] 1024 | &(iMenuItem){ translateCStr_Lang(download_Icon " " saveToDownloads_Label), | ^ ...... 1027 | "document.save" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1043:13: warning: missing braces around initializer [-Wmissing-braces] 1043 | (iMenuItem[]){ | ^ 1044 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1043:13: warning: missing braces around initializer [-Wmissing-braces] 1043 | (iMenuItem[]){ | ^ 1044 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } 1045 | { person_Icon " ${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1043:13: warning: missing braces around initializer [-Wmissing-braces] 1043 | (iMenuItem[]){ | ^ 1044 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } 1045 | { person_Icon " ${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } ...... 1049 | deviceType_App() == desktop_AppDeviceType ? "sidebar.mode arg:3 show:1" | { 1050 | : "preferences idents:1" } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1043:13: warning: missing braces around initializer [-Wmissing-braces] 1043 | (iMenuItem[]){ | ^ 1044 | { person_Icon " ${menu.identity.newdomain}", SDLK_n, 0, "ident.new scope:1" }, | { } 1045 | { person_Icon " ${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } ...... 1049 | deviceType_App() == desktop_AppDeviceType ? "sidebar.mode arg:3 show:1" | { 1050 | : "preferences idents:1" } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘postProcessRequestContent_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1167:26: warning: missing braces around initializer [-Wmissing-braces] 1167 | &(iMenuItem){ book_Icon " ${gempub.cover.view}", | ^ ...... 1170 | format_CStr("!open url:%s", | { 1171 | cstr_String(indexPageUrl_Gempub(d->sourceGempub))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1175:30: warning: missing braces around initializer [-Wmissing-braces] 1175 | &(iMenuItem){ | ^ ...... 1180 | format_CStr("!open url:%s", | { 1181 | cstr_String(navLinkUrl_Gempub(d->sourceGempub, 0))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1188:25: warning: missing braces around initializer [-Wmissing-braces] 1188 | (iMenuItem[]){ { book_Icon " ${menu.save.downloads.open}", | ^ ...... 1191 | "document.save open:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1188:25: warning: missing braces around initializer [-Wmissing-braces] 1188 | (iMenuItem[]){ { book_Icon " ${menu.save.downloads.open}", | ^ ...... 1191 | "document.save open:1" }, | { } ...... 1195 | "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1188:25: warning: missing braces around initializer [-Wmissing-braces] 1188 | (iMenuItem[]){ { book_Icon " ${menu.save.downloads.open}", | ^ ...... 1191 | "document.save open:1" }, | { } ...... 1195 | "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1207:21: warning: missing braces around initializer [-Wmissing-braces] 1207 | (iMenuItem[]){ { format_CStr(book_Icon " %s", | ^ ...... 1212 | format_CStr("!open url:%s", | { 1213 | cstr_String(coverPageUrl_Gempub(d->sourceGempub))) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1207:21: warning: missing braces around initializer [-Wmissing-braces] 1207 | (iMenuItem[]){ { format_CStr(book_Icon " %s", | ^ ...... 1212 | format_CStr("!open url:%s", | { 1213 | cstr_String(coverPageUrl_Gempub(d->sourceGempub))) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1224:30: warning: missing braces around initializer [-Wmissing-braces] 1224 | &(iMenuItem){ | ^ ...... 1229 | format_CStr("!open url:%s", | { 1230 | cstr_String(navLinkUrl_Gempub(d->sourceGempub, navIndex + 1))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1235:30: warning: missing braces around initializer [-Wmissing-braces] 1235 | &(iMenuItem){ | ^ ...... 1240 | format_CStr("!open url:%s", | { 1241 | cstr_String(navLinkUrl_Gempub(d->sourceGempub, navIndex - 1))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1246:30: warning: missing braces around initializer [-Wmissing-braces] 1246 | &(iMenuItem){ | ^ ...... 1251 | format_CStr("!open url:%s", | { 1252 | cstr_String(coverPageUrl_Gempub(d->sourceGempub))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘updateDocument_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1389:29: warning: missing braces around initializer [-Wmissing-braces] 1389 | (iMenuItem[]){ | ^ ...... 1393 | format_CStr("!fontpack.install ttf:1 name:%s", | { 1394 | cstr_Rangecc(name)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1389:29: warning: missing braces around initializer [-Wmissing-braces] 1389 | (iMenuItem[]){ | ^ ...... 1393 | format_CStr("!fontpack.install ttf:1 name:%s", | { 1394 | cstr_Rangecc(name)) }, | } ...... 1398 | format_CStr("!open url:%s/fonts", | { 1399 | cstrCollect_String(makeFileUrl_String(dataDir_App()))) 1400 | } | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1389:29: warning: missing braces around initializer [-Wmissing-braces] 1389 | (iMenuItem[]){ | ^ ...... 1393 | format_CStr("!fontpack.install ttf:1 name:%s", | { 1394 | cstr_Rangecc(name)) }, | } ...... 1398 | format_CStr("!open url:%s/fonts", | { 1399 | cstrCollect_String(makeFileUrl_String(dataDir_App()))) 1400 | } | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1443:49: warning: missing braces around initializer [-Wmissing-braces] 1443 | &(iMenuItem){ openExt_Icon " ${menu.open.external}", | ^ ...... 1446 | "document.save extview:1" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1473:34: warning: missing braces around initializer [-Wmissing-braces] 1473 | &(iMenuItem){ | ^ ...... 1477 | "document.save" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:1486:46: warning: missing braces around initializer [-Wmissing-braces] 1486 | &(iMenuItem){ import_Icon " " uiTextAction_ColorEscape | ^ ...... 1490 | format_CStr("!import path:%s", | { 1491 | cstr_String(localPath)) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘makePastePrecedingLineMenuItem_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2061:17: warning: missing braces around initializer [-Wmissing-braces] 2061 | *item_out = (iMenuItem){ | ^ ...... 2065 | format_CStr("!valueinput.set ptr:%p text:%s", buttons, precedingLine) | { 2066 | }; | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘updateInputPromptMenuItems_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2079:28: warning: missing braces around initializer [-Wmissing-braces] 2079 | pushBack_Array(items, &(iMenuItem){ "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2082:9: warning: missing braces around initializer [-Wmissing-braces] 2082 | (iMenuItem[]){ | ^ ...... 2087 | format_CStr("!prompturl.toggle url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2082:9: warning: missing braces around initializer [-Wmissing-braces] 2082 | (iMenuItem[]){ | ^ ...... 2087 | format_CStr("!prompturl.toggle url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2094:29: warning: missing braces around initializer [-Wmissing-braces] 2094 | &(iMenuItem){ "${menu.input.clear}", 0, 0, "!recentinput.clear" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2110:33: warning: missing braces around initializer [-Wmissing-braces] 2110 | &(iMenuItem){ cstr_String(label), | ^ ...... 2113 | format_CStr("!valueinput.set ptr:%p text:%s", | { 2114 | buttons, 2115 | cstr_String(i.value)) }); | } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/indicatorwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/indicatorwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘saveToFile_’: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2522:44: warning: missing braces around initializer [-Wmissing-braces] 2522 | const iMenuItem items[2] = { | ^ 2523 | { "${dlg.save.opendownload}", 0, 0, 2524 | format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2522:44: warning: missing braces around initializer [-Wmissing-braces] 2522 | const iMenuItem items[2] = { | ^ 2523 | { "${dlg.save.opendownload}", 0, 0, 2524 | format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, | { } 2525 | { "${dlg.message.ok}", 0, 0, "message.ok" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:2522:44: warning: missing braces around initializer [-Wmissing-braces] 2522 | const iMenuItem items[2] = { | ^ 2523 | { "${dlg.save.opendownload}", 0, 0, 2524 | format_CStr("!open url:%s", cstrCollect_String(makeFileUrl_String(savePath))) }, | { } 2525 | { "${dlg.message.ok}", 0, 0, "message.ok" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘handleCommand_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3069:29: warning: missing braces around initializer [-Wmissing-braces] 3069 | &(iMenuItem){ uiTextAction_ColorEscape "${dlg.cert.trust}", | ^ ...... 3072 | "server.trustcert" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3075:36: warning: missing braces around initializer [-Wmissing-braces] 3075 | pushBack_Array(items, &(iMenuItem){ "${dlg.cert.fingerprint}", 0, 0, "server.copycert" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3079:36: warning: missing braces around initializer [-Wmissing-braces] 3079 | pushBack_Array(items, &(iMenuItem){ "${pageinfo.settings}", 0, 0, "document.sitespec" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3082:36: warning: missing braces around initializer [-Wmissing-braces] 3082 | pushBack_Array(items, &(iMenuItem){ "---", 0, 0, 0 }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3084:32: warning: missing braces around initializer [-Wmissing-braces] 3084 | pushBack_Array(items, &(iMenuItem){ "${close}", 0, 0, "message.ok" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3784:36: warning: missing braces around initializer [-Wmissing-braces] 3784 | pushBack_Array(items, &(iMenuItem){ | ^ ...... 3789 | format_CStr("document.autoreload.set arg:%d", i) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:3791:32: warning: missing braces around initializer [-Wmissing-braces] 3791 | pushBack_Array(items, &(iMenuItem){ "${cancel}", 0, 0, NULL }); | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘handleWheelSwipe_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4057:14: warning: unused variable ‘w’ [-Wunused-variable] 4057 | iWidget *w = as_Widget(d); | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘makeLinkContextMenu_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4189:25: warning: missing braces around initializer [-Wmissing-braces] 4189 | &(iMenuItem){ format_CStr("```%s", cstr_String(infoText)), 0, 0, NULL }); | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4197:25: warning: missing braces around initializer [-Wmissing-braces] 4197 | (iMenuItem[]){ | ^ ...... 4201 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4205 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4197:25: warning: missing braces around initializer [-Wmissing-braces] 4197 | (iMenuItem[]){ | ^ ...... 4201 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4205 | cstr_String(linkUrl)) }, | } ...... 4209 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4213 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4197:25: warning: missing braces around initializer [-Wmissing-braces] 4197 | (iMenuItem[]){ | ^ ...... 4201 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4205 | cstr_String(linkUrl)) }, | } ...... 4209 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4213 | cstr_String(linkUrl)) }, | } ...... 4217 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4221 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4197:25: warning: missing braces around initializer [-Wmissing-braces] 4197 | (iMenuItem[]){ | ^ ...... 4201 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4205 | cstr_String(linkUrl)) }, | } ...... 4209 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4213 | cstr_String(linkUrl)) }, | } ...... 4217 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4221 | cstr_String(linkUrl)) }, | } ...... 4225 | format_CStr("!open query:%d newtab:4 origin:%s%s url:%s", | { ...... 4229 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4197:25: warning: missing braces around initializer [-Wmissing-braces] 4197 | (iMenuItem[]){ | ^ ...... 4201 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4205 | cstr_String(linkUrl)) }, | } ...... 4209 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4213 | cstr_String(linkUrl)) }, | } ...... 4217 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4221 | cstr_String(linkUrl)) }, | } ...... 4225 | format_CStr("!open query:%d newtab:4 origin:%s%s url:%s", | { ...... 4229 | cstr_String(linkUrl)) }, | } ...... 4233 | format_CStr("!open query:%d newtab:5 origin:%s%s url:%s", | { ...... 4237 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4197:25: warning: missing braces around initializer [-Wmissing-braces] 4197 | (iMenuItem[]){ | ^ ...... 4201 | format_CStr("!open query:%d newtab:1 origin:%s%s url:%s", | { ...... 4205 | cstr_String(linkUrl)) }, | } ...... 4209 | format_CStr("!open query:%d newtab:2 origin:%s%s url:%s", | { ...... 4213 | cstr_String(linkUrl)) }, | } ...... 4217 | format_CStr("!open query:%d newwindow:1 origin:%s%s url:%s", | { ...... 4221 | cstr_String(linkUrl)) }, | } ...... 4225 | format_CStr("!open query:%d newtab:4 origin:%s%s url:%s", | { ...... 4229 | cstr_String(linkUrl)) }, | } ...... 4233 | format_CStr("!open query:%d newtab:5 origin:%s%s url:%s", | { ...... 4237 | cstr_String(linkUrl)) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4252:18: warning: missing braces around initializer [-Wmissing-braces] 4252 | &(iMenuItem){ export_Icon " ${menu.open.external}", | ^ ...... 4255 | format_CStr("!open default:1 url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4258:33: warning: missing braces around initializer [-Wmissing-braces] 4258 | &(iMenuItem){ "${menu.reveal.macos}", | ^ ...... 4261 | format_CStr("!reveal url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4265:33: warning: missing braces around initializer [-Wmissing-braces] 4265 | &(iMenuItem){ "${menu.reveal.filemgr}", | ^ ...... 4268 | format_CStr("!reveal url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4274:25: warning: missing braces around initializer [-Wmissing-braces] 4274 | &(iMenuItem){ openExt_Icon " ${link.browser}", | ^ ...... 4277 | format_CStr("!open default:1 url:%s", cstr_String(linkUrl)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4282:13: warning: missing braces around initializer [-Wmissing-braces] 4282 | (iMenuItem[]){ { "---" }, | ^ ...... 4286 | format_CStr("!open origin:%s noproxy:1 url:%s", | { 4287 | cstr_String(id_Widget(w)), 4288 | cstr_String(linkUrl)) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4282:13: warning: missing braces around initializer [-Wmissing-braces] 4282 | (iMenuItem[]){ { "---" }, | ^ ...... 4286 | format_CStr("!open origin:%s noproxy:1 url:%s", | { 4287 | cstr_String(id_Widget(w)), 4288 | cstr_String(linkUrl)) } }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4295:9: warning: missing braces around initializer [-Wmissing-braces] 4295 | (iMenuItem[]){ | ^ 4296 | { "---" }, 4297 | { "${link.copy}", 0, 0, "document.copylink" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4295:9: warning: missing braces around initializer [-Wmissing-braces] 4295 | (iMenuItem[]){ | ^ 4296 | { "---" }, 4297 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4298 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4299 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(linkLabel), cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4295:9: warning: missing braces around initializer [-Wmissing-braces] 4295 | (iMenuItem[]){ | ^ 4296 | { "---" }, 4297 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4298 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4299 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(linkLabel), cstr_String(linkUrl)) }, | { } 4300 | { clipboard_Icon " ${link.snippet}", 0, 0, 4301 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4295:9: warning: missing braces around initializer [-Wmissing-braces] 4295 | (iMenuItem[]){ | ^ 4296 | { "---" }, 4297 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4298 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4299 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(linkLabel), cstr_String(linkUrl)) }, | { } 4300 | { clipboard_Icon " ${link.snippet}", 0, 0, 4301 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4295:9: warning: missing braces around initializer [-Wmissing-braces] 4295 | (iMenuItem[]){ | ^ 4296 | { "---" }, 4297 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4298 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4299 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(linkLabel), cstr_String(linkUrl)) }, | { } 4300 | { clipboard_Icon " ${link.snippet}", 0, 0, 4301 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } ...... 4304 | format_CStr("!searchurl address:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4295:9: warning: missing braces around initializer [-Wmissing-braces] 4295 | (iMenuItem[]){ | ^ 4296 | { "---" }, 4297 | { "${link.copy}", 0, 0, "document.copylink" }, | { } 4298 | { bookmark_Icon " ${link.bookmark}", 0, 0, 4299 | format_CStr("!bookmark.add title:%s url:%s", cstr_String(linkLabel), cstr_String(linkUrl)) }, | { } 4300 | { clipboard_Icon " ${link.snippet}", 0, 0, 4301 | format_CStr("!snippet.add content:%s", cstr_String(linkUrl)) }, | { } ...... 4304 | format_CStr("!searchurl address:%s", cstr_String(linkUrl)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4309:25: warning: missing braces around initializer [-Wmissing-braces] 4309 | (iMenuItem[]){ | ^ 4310 | { "---" }, 4311 | { download_Icon " ${link.download}", 0, 0, "document.downloadlink" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4309:25: warning: missing braces around initializer [-Wmissing-braces] 4309 | (iMenuItem[]){ | ^ 4310 | { "---" }, 4311 | { download_Icon " ${link.download}", 0, 0, "document.downloadlink" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4321:18: warning: missing braces around initializer [-Wmissing-braces] 4321 | &(iMenuItem){ download_Icon " " saveToDownloads_Label, | ^ ...... 4324 | format_CStr("document.media.save link:%u", link->linkId) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4332:14: warning: missing braces around initializer [-Wmissing-braces] 4332 | &(iMenuItem){ delete_Icon " " uiTextCaution_ColorEscape "${link.file.delete}", | ^ ...... 4335 | format_CStr("!file.delete confirm:1 path:%s", | { 4336 | cstrCollect_String(localFilePathFromUrl_String(linkUrl))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: In function ‘processEvent_DocumentWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4563:33: warning: missing braces around initializer [-Wmissing-braces] 4563 | (iMenuItem[]){ | ^ 4564 | { "${menu.copy}", 0, 0, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4563:33: warning: missing braces around initializer [-Wmissing-braces] 4563 | (iMenuItem[]){ | ^ 4564 | { "${menu.copy}", 0, 0, "copy" }, | { } 4565 | { "${menu.search}", 0, 0, 4566 | format_CStr("search newtab:1 query:%s", | { 4567 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4563:33: warning: missing braces around initializer [-Wmissing-braces] 4563 | (iMenuItem[]){ | ^ 4564 | { "${menu.copy}", 0, 0, "copy" }, | { } 4565 | { "${menu.search}", 0, 0, 4566 | format_CStr("search newtab:1 query:%s", | { 4567 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4568 | { "${menu.snippet.add}", 0, 0, 4569 | format_CStr("!snippet.add content:%s", | { 4570 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4563:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4563:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4587:29: warning: missing braces around initializer [-Wmissing-braces] 4587 | (iMenuItem[]){ | ^ 4588 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4587:29: warning: missing braces around initializer [-Wmissing-braces] 4587 | (iMenuItem[]){ | ^ 4588 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4589 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4587:29: warning: missing braces around initializer [-Wmissing-braces] 4587 | (iMenuItem[]){ | ^ 4588 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4589 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } 4590 | { ">>>" upArrow_Icon, navigateParent_KeyShortcut, "navigate.parent" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4587:29: warning: missing braces around initializer [-Wmissing-braces] 4587 | (iMenuItem[]){ | ^ 4588 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4589 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } 4590 | { ">>>" upArrow_Icon, navigateParent_KeyShortcut, "navigate.parent" }, | { } 4591 | { ">>>" upArrowBar_Icon, navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4587:29: warning: missing braces around initializer [-Wmissing-braces] 4587 | (iMenuItem[]){ | ^ 4588 | { ">>>" backArrow_Icon, navigateBack_KeyShortcut, "navigate.back" }, | { } 4589 | { ">>>" forwardArrow_Icon, navigateForward_KeyShortcut, "navigate.forward" }, | { } 4590 | { ">>>" upArrow_Icon, navigateParent_KeyShortcut, "navigate.parent" }, | { } 4591 | { ">>>" upArrowBar_Icon, navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4605 | 0, 0, "document.viewformat" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4605 | 0, 0, "document.viewformat" }, | { } 4606 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4605 | 0, 0, "document.viewformat" }, | { } 4606 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4605 | 0, 0, "document.viewformat" }, | { } 4606 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } 4607 | { "---" }, 4608 | { "${menu.page.copyurl}", 0, 0, "document.copylink" }, }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4596:29: warning: missing braces around initializer [-Wmissing-braces] 4596 | (iMenuItem[]){ | ^ 4597 | { "---" }, 4598 | { reload_Icon " ${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 4599 | { "---" }, 4600 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 4601 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } ...... 4605 | 0, 0, "document.viewformat" }, | { } 4606 | { hammer_Icon " ${menu.tools}", 0, 0, "submenu id:toolsmenu" }, | { } 4607 | { "---" }, 4608 | { "${menu.page.copyurl}", 0, 0, "document.copylink" }, }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4613:33: warning: missing braces around initializer [-Wmissing-braces] 4613 | (iMenuItem[]){ | ^ 4614 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4613:33: warning: missing braces around initializer [-Wmissing-braces] 4613 | (iMenuItem[]){ | ^ 4614 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 4615 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4613:33: warning: missing braces around initializer [-Wmissing-braces] 4613 | (iMenuItem[]){ | ^ 4614 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 4615 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4768 | format_CStr("search newtab:1 query:%s", | { 4769 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4768 | format_CStr("search newtab:1 query:%s", | { 4769 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4770 | { add_Icon " ${menu.snippet.add}", 0, 0, 4771 | format_CStr("!snippet.add content:%s", | { 4772 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4768 | format_CStr("search newtab:1 query:%s", | { 4769 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4770 | { add_Icon " ${menu.snippet.add}", 0, 0, 4771 | format_CStr("!snippet.add content:%s", | { 4772 | cstr_String(selectedText_DocumentWidget_(d))) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4768 | format_CStr("search newtab:1 query:%s", | { 4769 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4770 | { add_Icon " ${menu.snippet.add}", 0, 0, 4771 | format_CStr("!snippet.add content:%s", | { 4772 | cstr_String(selectedText_DocumentWidget_(d))) }, | } ...... 4777 | { close_Icon " ${menu.select.clear}", 0, 0, "document.select arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4764:51: warning: missing braces around initializer [-Wmissing-braces] 4764 | const iMenuItem items[] = { | ^ 4765 | { clipCopy_Icon " ${menu.copy}", 0, 0, "copy" }, | { } ...... 4768 | format_CStr("search newtab:1 query:%s", | { 4769 | cstr_String(selectedText_DocumentWidget_(d))) }, | } 4770 | { add_Icon " ${menu.snippet.add}", 0, 0, 4771 | format_CStr("!snippet.add content:%s", | { 4772 | cstr_String(selectedText_DocumentWidget_(d))) }, | } ...... 4777 | { close_Icon " ${menu.select.clear}", 0, 0, "document.select arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4873:29: warning: missing braces around initializer [-Wmissing-braces] 4873 | (iMenuItem[]){ | ^ ...... 4876 | 0, 0, format_CStr("!open default:1 url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:4873:29: warning: missing braces around initializer [-Wmissing-braces] 4873 | (iMenuItem[]){ | ^ ...... 4876 | 0, 0, format_CStr("!open default:1 url:%s", cstr_String(url)) } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.c:335:13: warning: ‘updateSideIconBuf_DocumentWidget_’ declared ‘static’ but never defined [-Wunused-function] 335 | static void updateSideIconBuf_DocumentWidget_ (const iDocumentWidget *d); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53%] Building C object CMakeFiles/app.dir/src/ui/font.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/font.c.o -MF CMakeFiles/app.dir/src/ui/font.c.o.d -o CMakeFiles/app.dir/src/ui/font.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/font.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/font.c: In function ‘prepare_AttributedText_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/font.c:219:20: warning: unused variable ‘numNonSpace’ [-Wunused-variable] 219 | int numNonSpace = 0; | ^~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/font.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/font.c:127:17: warning: ‘sourceRange_AttributedText_’ defined but not used [-Wunused-function] 127 | static iRangecc sourceRange_AttributedText_(const iAttributedText *d, iRangei logical) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 55%] Building C object CMakeFiles/app.dir/src/ui/linkinfo.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/linkinfo.c.o -MF CMakeFiles/app.dir/src/ui/linkinfo.c.o.d -o CMakeFiles/app.dir/src/ui/linkinfo.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/linkinfo.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/linkinfo.h:26, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/linkinfo.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 57%] Building C object CMakeFiles/app.dir/src/ui/listwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/listwidget.c.o -MF CMakeFiles/app.dir/src/ui/listwidget.c.o.d -o CMakeFiles/app.dir/src/ui/listwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/listwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/scrollwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/listwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/listwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 58%] Building C object CMakeFiles/app.dir/src/ui/lookupwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/lookupwidget.c.o -MF CMakeFiles/app.dir/src/ui/lookupwidget.c.o.d -o CMakeFiles/app.dir/src/ui/lookupwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/lookupwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/lookupwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/lookupwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 60%] Building C object CMakeFiles/app.dir/src/ui/keys.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/keys.c.o -MF CMakeFiles/app.dir/src/ui/keys.c.o.d -o CMakeFiles/app.dir/src/ui/keys.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/lookupwidget.c:225:14: warning: ‘matchSnippet_LookupJob_’ defined but not used [-Wunused-function] 225 | static iBool matchSnippet_LookupJob_(void *context, const iRangecc name, const iRangecc content) { | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } [ 61%] Building C object CMakeFiles/app.dir/src/ui/metrics.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/metrics.c.o -MF CMakeFiles/app.dir/src/ui/metrics.c.o.d -o CMakeFiles/app.dir/src/ui/metrics.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/metrics.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/app.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/metrics.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } [ 63%] Building C object CMakeFiles/app.dir/src/ui/paint.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/paint.c.o -MF CMakeFiles/app.dir/src/ui/paint.c.o.d -o CMakeFiles/app.dir/src/ui/paint.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/paint.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } 278 | { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } 278 | { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/keys.c:201:81: warning: missing braces around initializer [-Wmissing-braces] 201 | static const struct { int id; iMenuItem bind; int flags; } defaultBindings_[] = { | ^ 202 | { 1, { "${LC:keys.top}", SDLK_HOME, 0, "scroll.top" }, 0 }, | { } 203 | { 2, { "${LC:keys.bottom}", SDLK_END, 0, "scroll.bottom" }, 0 }, | { } 204 | { 10, { "${keys.scroll.up}", SDLK_UP, 0, "scroll.step arg:-1" }, argRepeat_BindFlag }, | { } 205 | { 11, { "${keys.scroll.down}", SDLK_DOWN, 0, "scroll.step arg:1" }, argRepeat_BindFlag }, | { } 206 | { 22, { "${keys.scroll.halfpage.up}", SDLK_SPACE, KMOD_SHIFT, "scroll.page arg:-1" }, argRepeat_BindFlag }, | { } 207 | { 23, { "${keys.scroll.halfpage.down}", SDLK_SPACE, 0, "scroll.page arg:1" }, argRepeat_BindFlag }, | { } 208 | { 24, { "${keys.scroll.page.up}", SDLK_PAGEUP, 0, "scroll.page arg:-1 full:1" }, argRepeat_BindFlag }, | { } 209 | { 25, { "${keys.scroll.page.down}", SDLK_PAGEDOWN, 0, "scroll.page arg:1 full:1" }, argRepeat_BindFlag }, | { } 210 | { 30, { "${keys.back}", navigateBack_KeyShortcut, "navigate.back" }, 0 }, | { } 211 | { 31, { "${keys.forward}", navigateForward_KeyShortcut, "navigate.forward" }, 0 }, | { } 212 | { 32, { "${keys.parent}", navigateParent_KeyShortcut, "navigate.parent" }, 0 }, | { } 213 | { 33, { "${keys.root}", navigateRoot_KeyShortcut, "navigate.root" }, 0 }, | { } 214 | { 35, { "${keys.reload}", reload_KeyShortcut, "document.reload" }, 0 }, | { } 215 | { 36, { "${LC:menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, 0 }, | { } 216 | { 37, { "${keys.bang}", SDLK_1, KMOD_SHIFT, "navigate.focus text:!" }, 0 }, | { } 217 | { 41, { "${keys.link.modkey}", SDLK_LALT, 0, "document.linkkeys arg:0" }, argRelease_BindFlag }, | { } 218 | { 42, { "${keys.link.homerow}", 'f', 0, "document.linkkeys arg:1" }, 0 }, | { } 219 | { 45, { "${keys.link.homerow.newtab}", 'f', KMOD_SHIFT, "document.linkkeys arg:1 newtab:1" }, 0 }, | { } 220 | { 46, { "${keys.link.homerow.hover}", 'h', 0, "document.linkkeys arg:1 hover:1" }, 0 }, | { } 221 | { 47, { "${keys.link.homerow.next}", '.', 0, "document.linkkeys more:1" }, 0 }, | { } 222 | { 50, { "${keys.bookmark.add}", bookmarkPage_KeyShortcut, "bookmark.add" }, 0 }, | { } 223 | { 51, { "${keys.bookmark.addfolder}", 'n', KMOD_SHIFT, "bookmarks.addfolder" }, 0 }, | { } 224 | { 55, { "${keys.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, 0 }, | { } 225 | { 56, { "${keys.feeds.showall}", SDLK_u, KMOD_SHIFT, "feeds.mode arg:0" }, 0 }, | { } 226 | { 57, { "${keys.feeds.showunread}", SDLK_u, 0, "feeds.mode arg:1" }, 0 }, | { } 227 | { 60, { "${keys.findtext}", 'f', KMOD_PRIMARY, "focus.set id:find.input" }, 0 }, | { } 228 | { 65, { "${LC:menu.viewformat.plain}", SDLK_y, KMOD_PRIMARY, "document.viewformat" }, 0 }, | { } 229 | { 70, { "${keys.zoom.in}", SDLK_EQUALS, KMOD_ZOOM, "zoom.delta arg:10" }, 0 }, | { } 230 | { 71, { "${keys.zoom.out}", SDLK_MINUS, KMOD_ZOOM, "zoom.delta arg:-10" }, 0 }, | { } 231 | { 72, { "${keys.zoom.reset}", SDLK_0, KMOD_ZOOM, "zoom.set arg:100" }, 0 }, | { } 232 | #if !defined (iPlatformApple) /* Ctrl-Cmd-F on macOS */ 233 | { 73, { "${keys.fullscreen}", SDLK_F11, 0, "window.fullscreen" }, 0 }, | { } 234 | #endif 235 | { 76, { "${keys.tab.new}", newTab_KeyShortcut, "tabs.new append:1" }, 0 }, | { } 236 | { 77, { "${keys.tab.close}", closeTab_KeyShortcut, "tabs.close" }, 0 }, | { } 237 | { 78, { "${keys.tab.close.other}", SDLK_w, KMOD_SECONDARY, "tabs.close toleft:1 toright:1" }, 0 }, | { } 238 | { 79, { "${LC:menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, 0 }, | { } 239 | { 80, { "${keys.tab.prev}", prevTab_KeyShortcut, "tabs.prev" }, 0 }, | { } 240 | { 81, { "${keys.tab.next}", nextTab_KeyShortcut, "tabs.next" }, 0 }, | { } 241 | { 84, { "${LC:menu.movetab.left}", moveTabLeft_KeyShortcut, "tabs.move arg:-1" }, 0 }, | { } 242 | { 85, { "${LC:menu.movetab.right}", moveTabRight_KeyShortcut, "tabs.move arg:1" }, 0 }, | { } 243 | { 90, { "${keys.split.menu}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, 0 }, | { } 244 | { 91, { "${keys.split.next}", SDLK_TAB, KMOD_CTRL, "keyroot.next", }, 0 }, | { } 245 | { 92, { "${keys.split.item} ${menu.split.merge}", '1', 0, "ui.split arg:0", }, noDirectTrigger_BindFlag }, | { } 246 | { 93, { "${keys.split.item} ${menu.split.swap}", SDLK_x, 0, "ui.split swap:1", }, noDirectTrigger_BindFlag }, | { } 247 | { 94, { "${keys.split.item} ${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0", }, noDirectTrigger_BindFlag }, | { } 248 | { 95, { "${keys.split.item} ${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0", }, noDirectTrigger_BindFlag }, | { } 249 | { 96, { "${keys.split.item} ${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0", }, noDirectTrigger_BindFlag }, | { } 250 | { 97, { "${keys.split.item} ${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1", }, noDirectTrigger_BindFlag }, | { } 251 | { 98, { "${keys.split.item} ${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1", }, noDirectTrigger_BindFlag }, | { } 252 | { 99, { "${keys.split.item} ${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1", }, noDirectTrigger_BindFlag }, | { } 253 | { 100,{ "${keys.hoverurl}", '/', KMOD_PRIMARY, "prefs.hoverlink.toggle" }, 0 }, | { } 254 | { 110,{ "${menu.save.downloads}", SDLK_s, KMOD_PRIMARY, "document.save" }, 0 }, | { } 255 | { 115,{ "${LC:menu.page.translate}", SDLK_x, KMOD_PRIMARY | KMOD_SHIFT, "document.translate" }, 0 }, | { } 256 | { 120,{ "${keys.upload}", SDLK_u, KMOD_PRIMARY, "document.upload" }, 0 }, | { } 257 | { 121,{ "${keys.upload.edit}", SDLK_e, KMOD_PRIMARY, "document.upload copy:1" }, 0 }, | { } 258 | { 125,{ "${keys.pageinfo}", pageInfo_KeyShortcut, "document.info" }, 0 }, | { } 259 | { 126,{ "${keys.sitespec}", ',', KMOD_SECONDARY, "document.sitespec" }, 0 }, | { } 260 | { 130,{ "${keys.input.precedingline}", SDLK_v, KMOD_SECONDARY, "input.precedingline" }, 0 }, | { } 261 | { 140,{ "${keys.identmenu}", identityMenu_KeyShortcut, "identmenu.open focus:1" }, 0 }, | { } 262 | { 200,{ "${keys.menubar.focus}", menuBar_KeyShortcut, "menubar.focus" }, 0 }, | { } 263 | { 205,{ "${keys.contextmenu}", '/', 0, "contextkey" }, 0 }, | { } ...... 270 | { 1004, { NULL, SDLK_F5, 0, "document.reload" }, 0 }, | { } 271 | /* Media keys. */ 272 | { 1005, { NULL, SDLK_AC_SEARCH, 0, "focus.set id:find.input" }, 0 }, | { } 273 | { 1006, { NULL, SDLK_AC_HOME, 0, "navigate.home" }, 0 }, | { } 274 | { 1007, { NULL, SDLK_AC_BACK, 0, "navigate.back" }, 0 }, | { } 275 | { 1008, { NULL, SDLK_AC_FORWARD, 0, "navigate.forward" }, 0 }, | { } 276 | { 1009, { NULL, SDLK_AC_STOP, 0, "document.stop" }, 0 }, | { } 277 | { 1010, { NULL, SDLK_AC_REFRESH, 0, "document.reload" }, 0 }, | { } 278 | { 1011, { NULL, SDLK_AC_BOOKMARKS, 0, "sidebar.mode arg:0 toggle:1" }, 0 }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/paint.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/paint.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 65%] Building C object CMakeFiles/app.dir/src/ui/root.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/root.c.o -MF CMakeFiles/app.dir/src/ui/root.c.o.d -o CMakeFiles/app.dir/src/ui/root.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 66%] Building C object CMakeFiles/app.dir/src/ui/mobile.c.o [ 68%] Building C object CMakeFiles/app.dir/src/ui/mediaui.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/mobile.c.o -MF CMakeFiles/app.dir/src/ui/mobile.c.o.d -o CMakeFiles/app.dir/src/ui/mobile.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.c /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/mediaui.c.o -MF CMakeFiles/app.dir/src/ui/mediaui.c.o.d -o CMakeFiles/app.dir/src/ui/mediaui.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 81 | { "---" }, 82 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:57:49: warning: missing braces around initializer [-Wmissing-braces] 57 | static const iMenuItem desktopNavMenuItems_[] = { | ^ 58 | { openWindow_Icon " ${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 59 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 60 | { close_Icon " ${menu.closetab}", SDLK_w, KMOD_PRIMARY, "tabs.close" }, | { } 61 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 62 | { "---" }, 63 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 64 | { "${menu.page.copysource}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 65 | { "---" }, 66 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 67 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 68 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 69 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 70 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 71 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } 72 | { "---" }, 73 | { package_Icon " ${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } 74 | { "---" }, 75 | { gear_Icon " ${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } ...... 79 | { "${menu.help}", SDLK_F1, 0, "!open url:about:help" }, | { } 80 | { "${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 81 | { "---" }, 82 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 94 | { "---" }, 95 | { "${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:86:47: warning: missing braces around initializer [-Wmissing-braces] 86 | static const iMenuItem userDataMenuItems_[] = { | ^ 87 | { "${menu.export}", 0, 0, "export" }, | { } 88 | { "---" }, 89 | { "${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 90 | { "${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 91 | { "${menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 92 | { "---" }, 93 | { "${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 94 | { "---" }, 95 | { "${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } 111 | { "---" }, 112 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:99:48: warning: missing braces around initializer [-Wmissing-braces] 99 | static const iMenuItem tabletNavMenuItems_[] = { | ^ 100 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 101 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 102 | { "---" }, 103 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 104 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 105 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 106 | { "---" }, 107 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 108 | { leftHalf_Icon " ${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 109 | { rightHalf_Icon " ${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 110 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "splitmenu.open" }, | { } 111 | { "---" }, 112 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 125 | { "---" }, 126 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:116:47: warning: missing braces around initializer [-Wmissing-braces] 116 | static const iMenuItem phoneNavMenuItems_[] = { | ^ 117 | { add_Icon " ${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 118 | { folder_Icon " ${menu.openfile}", SDLK_o, KMOD_PRIMARY, "file.open" }, | { } 119 | { "---" }, 120 | { close_Icon " ${menu.closetab}", 'w', KMOD_PRIMARY, "tabs.close" }, | { } 121 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 122 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 123 | { "---" }, 124 | { magnifyingGlass_Icon " ${menu.find}", 0, 0, "focus.set id:find.input" }, | { } 125 | { "---" }, 126 | { gear_Icon " ${menu.settings}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘makeIdentityMenu_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:344:25: warning: missing braces around initializer [-Wmissing-braces] 344 | &(iMenuItem){ close_Icon " ${ident.unset}", | ^ 345 | 0, 0, "document.unsetident" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:349:25: warning: missing braces around initializer [-Wmissing-braces] 349 | &(iMenuItem){ close_Icon " ${ident.stopuse}", | ^ ...... 352 | format_CStr("ident.signout ident:%s url:%s", | { 353 | cstr_String(fp), 354 | cstr_String(docUrl)) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:368:22: warning: missing braces around initializer [-Wmissing-braces] 368 | &(iMenuItem){ | ^ ...... 374 | format_CStr("ident.switch fp:%s", cstr_String(i.value)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } 392 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } 392 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:386:9: warning: missing braces around initializer [-Wmissing-braces] 386 | (iMenuItem[]){ | ^ ...... 390 | isGemini ? "ident.new scope:1" | { 391 | : "ident.new" }, | } 392 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:396:25: warning: missing braces around initializer [-Wmissing-braces] 396 | &(iMenuItem){ isVisible_Widget(sidebar) && mode_SidebarWidget(sidebar) == | ^ ...... 402 | "sidebar.mode arg:3 toggle:1" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:405:33: warning: missing braces around initializer [-Wmissing-braces] 405 | pushBack_Array(&items, &(iMenuItem){ gear_Icon " ${menu.identities}", 0, 0, | ^ 406 | "toolbar.showident"}); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘updateNavBarSize_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:985:18: warning: unused variable ‘toolBar’ [-Wunused-variable] 985 | iWidget *toolBar = findWidget_Root("toolbar"); | ^~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘handleNavBarCommands_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1055:22: warning: missing braces around initializer [-Wmissing-braces] 1055 | &(iMenuItem){ | ^ ...... 1060 | format_CStr("navbar.action.set arg:%d button:%d", i, buttonIndex) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘updateWindowMenu_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1547:29: warning: missing braces around initializer [-Wmissing-braces] 1547 | &(iMenuItem){ .label = cstr_String(bookmarkTitle_DocumentWidget(doc)), | ^ ...... 1550 | format_CStr("!window.activate ptr:%p", win) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘createClipMenu_Root’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1600 | { "---" }, 1601 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1600 | { "---" }, 1601 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1602 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1600 | { "---" }, 1601 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1602 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1600 | { "---" }, 1601 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1602 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } 1603 | { "---" }, 1604 | { select_Icon " ${menu.selectall}", 0, 0, "input.selectall" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1594:9: warning: missing braces around initializer [-Wmissing-braces] 1594 | (iMenuItem[]){ | ^ 1595 | { scissor_Icon " ${menu.cut}", 0, 0, "input.copy cut:1" }, | { } 1596 | { clipCopy_Icon " ${menu.copy}", 0, 0, "input.copy" }, | { } 1597 | { clipboard_Icon " ${menu.paste}", 0, 0, "input.paste" }, | { } 1598 | { return_Icon " ${menu.paste.go}", 0, 0, "input.paste enter:1" }, | { } 1599 | { "${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 1600 | { "---" }, 1601 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.delete}", 0, 0, "input.delete" }, | { } 1602 | { undo_Icon " ${menu.undo}", 0, 0, "input.undo" }, | { } 1603 | { "---" }, 1604 | { select_Icon " ${menu.selectall}", 0, 0, "input.selectall" }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/../gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/documentwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘createSplitMenu_Root’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1623 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1623 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1623 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1624 | { "---" }, 1625 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1623 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1624 | { "---" }, 1625 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } 1626 | { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1623 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1624 | { "---" }, 1625 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } 1626 | { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, | { } 1627 | { "${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1617:25: warning: missing braces around initializer [-Wmissing-braces] 1617 | iMenuItem items[] = { | ^ 1618 | { "${menu.split.merge}", '1', 0, "ui.split arg:0" }, | { } 1619 | { "${menu.split.swap}", SDLK_x, 0, "ui.split swap:1" }, | { } 1620 | { "---" }, 1621 | { "${menu.split.horizontal}", '3', 0, "ui.split arg:3 axis:0" }, | { } 1622 | { "${menu.split.horizontal} 1:2", SDLK_d, 0, "ui.split arg:1 axis:0" }, | { } 1623 | { "${menu.split.horizontal} 2:1", SDLK_e, 0, "ui.split arg:2 axis:0" }, | { } 1624 | { "---" }, 1625 | { "${menu.split.vertical}", '2', 0, "ui.split arg:3 axis:1" }, | { } 1626 | { "${menu.split.vertical} 1:2", SDLK_f, 0, "ui.split arg:1 axis:1" }, | { } 1627 | { "${menu.split.vertical} 2:1", SDLK_r, 0, "ui.split arg:2 axis:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘recreateSnippetMenu_Root’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1647:25: warning: missing braces around initializer [-Wmissing-braces] 1647 | &(iMenuItem){ format_CStr(clipboard_Icon " %s", cstr_String(s.value)), | ^ ...... 1650 | format_CStr("!input.paste snippet:%s", cstr_String(s.value)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1656:21: warning: missing braces around initializer [-Wmissing-braces] 1656 | &(iMenuItem){ gear_Icon " ${menu.snip.prefs}", 0, 0, "preferences sniped:1" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: In function ‘createUserInterface_Root’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c: In function ‘processEvent_DownloadUI’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } ...... 284 | { "${menu.downloads}", 0, 0, "downloads.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:257:43: warning: missing braces around initializer [-Wmissing-braces] 257 | const iMenuItem items[] = { | ^ ...... 262 | format_CStr("!open newtab:1 url:%s", | { 263 | cstrCollect_String(makeFileUrl_String(path))) }, | } ...... 280 | format_CStr("!reveal path:%s", cstr_String(path)) }, | { } ...... 284 | { "${menu.downloads}", 0, 0, "downloads.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/mediaui.c:87:20: warning: ‘sevenSegmentStr_’ defined but not used [-Wunused-variable] 87 | static const char *sevenSegmentStr_ = "\U0001fbf0"; | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.c: In function ‘initPanels_Mobile’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.c:1073:18: warning: missing braces around initializer [-Wmissing-braces] 1073 | &(iMenuItem){ format_CStr("button text:" uiTextAction_ColorEscape "%s", act->label), | ^ ...... 1076 | act->command }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1898 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1898 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1898 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1899 | { "---" }, 1900 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1898 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1899 | { "---" }, 1900 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 1901 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1898 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1899 | { "---" }, 1900 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 1901 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 1902 | { "${menu.viewformat.plain}", 0, 0, "document.viewformat" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1886:21: warning: missing braces around initializer [-Wmissing-braces] 1886 | (iMenuItem[]){ | ^ 1887 | { upArrow_Icon " ${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 1888 | { upArrowBar_Icon " ${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 1889 | { "---" }, 1890 | { bookmark_Icon " ${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 1891 | { star_Icon " ${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 1892 | { "---${menu.tools}" }, 1893 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 1894 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 1895 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 1896 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 1897 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } 1898 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 1899 | { "---" }, 1900 | { download_Icon " " saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 1901 | { "${menu.page.copysource}", 'c', KMOD_PRIMARY, "copy" }, | { } 1902 | { "${menu.viewformat.plain}", 0, 0, "document.viewformat" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2137 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2137 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2138 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2137 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2138 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2137 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2138 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } 2139 | { "---" }, 2140 | { leftAngle_Icon " ${menu.movetab.left}", 0, 0, "tabs.move arg:-1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2137 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2138 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } 2139 | { "---" }, 2140 | { leftAngle_Icon " ${menu.movetab.left}", 0, 0, "tabs.move arg:-1" }, | { } 2141 | { rightAngle_Icon " ${menu.movetab.right}", 0, 0, "tabs.move arg:1" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2132:13: warning: missing braces around initializer [-Wmissing-braces] 2132 | (iMenuItem[]){ | ^ 2133 | { close_Icon " ${menu.closetab}", 0, 0, "tabs.close" }, | { } 2134 | { copy_Icon " ${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 2135 | { "---" }, 2136 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 2137 | { barLeftArrow_Icon " ${menu.closetab.left}", 0, 0, "tabs.close toleft:1" }, | { } 2138 | { barRightArrow_Icon " ${menu.closetab.right}", 0, 0, "tabs.close toright:1" }, | { } 2139 | { "---" }, 2140 | { leftAngle_Icon " ${menu.movetab.left}", 0, 0, "tabs.move arg:-1" }, | { } 2141 | { rightAngle_Icon " ${menu.movetab.right}", 0, 0, "tabs.move arg:1" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2144:40: warning: missing braces around initializer [-Wmissing-braces] 2144 | pushBack_Array(tabsItems, &(iMenuItem){ "${menu.movetab.split}", 0, 0, "tabs.swap" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2147:40: warning: missing braces around initializer [-Wmissing-braces] 2147 | pushBack_Array(tabsItems, &(iMenuItem){ "${menu.movetab.newwindow}", 0, 0, "tabs.swap newwindow:1" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2153:29: warning: missing braces around initializer [-Wmissing-braces] 2153 | (iMenuItem[]){ | ^ 2154 | { leftHalf_Icon " ${menu.sidebar.left}", 0, 0, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2153:29: warning: missing braces around initializer [-Wmissing-braces] 2153 | (iMenuItem[]){ | ^ 2154 | { leftHalf_Icon " ${menu.sidebar.left}", 0, 0, "sidebar.toggle" }, | { } 2155 | { rightHalf_Icon " ${menu.sidebar.right}", 0, 0, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2153:29: warning: missing braces around initializer [-Wmissing-braces] 2153 | (iMenuItem[]){ | ^ 2154 | { leftHalf_Icon " ${menu.sidebar.left}", 0, 0, "sidebar.toggle" }, | { } 2155 | { rightHalf_Icon " ${menu.sidebar.right}", 0, 0, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2164 | { "---" }, 2165 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2164 | { "---" }, 2165 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2166 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2164 | { "---" }, 2165 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2166 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2164 | { "---" }, 2165 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2166 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 2167 | { "---" }, 2168 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2164 | { "---" }, 2165 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2166 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 2167 | { "---" }, 2168 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 2169 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:2161:52: warning: missing braces around initializer [-Wmissing-braces] 2161 | iWidget *toolsMenu = makeMenu_Widget(root, (iMenuItem[]) { | ^ 2162 | { globe_Icon " ${menu.page.translate}", 0, 0, "document.translate" }, | { } 2163 | { timer_Icon " ${menu.autoreload}", 0, 0, "document.autoreload.menu" }, | { } 2164 | { "---" }, 2165 | { upload_Icon " ${menu.page.upload}", 0, 0, "document.upload" }, | { } 2166 | { edit_Icon " ${menu.page.upload.edit}", 0, 0, "document.upload copy:1" }, | { } 2167 | { "---" }, 2168 | { book_Icon " ${menu.page.import}", 0, 0, "bookmark.links confirm:1" }, | { } 2169 | { "${menu.page.visitlinks}", 0, 0, "document.visitlinks" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:1463:22: warning: ‘newLargeIcon_LabelWidget’ defined but not used [-Wunused-function] 1463 | static iLabelWidget *newLargeIcon_LabelWidget(const char *text, const char *cmd) { | ^~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.c:413:14: warning: ‘isBookmarkFolder_’ defined but not used [-Wunused-function] 413 | static iBool isBookmarkFolder_(void *context, const iBookmark *bm) { | ^~~~~~~~~~~~~~~~~ [ 69%] Building C object CMakeFiles/app.dir/src/ui/scrollwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/scrollwidget.c.o -MF CMakeFiles/app.dir/src/ui/scrollwidget.c.o.d -o CMakeFiles/app.dir/src/ui/scrollwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/scrollwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/scrollwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/scrollwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ [ 71%] Building C object CMakeFiles/app.dir/src/ui/sidebarwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/sidebarwidget.c.o -MF CMakeFiles/app.dir/src/ui/sidebarwidget.c.o.d -o CMakeFiles/app.dir/src/ui/sidebarwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } 283 | { downAngle_Icon " ${menu.unfoldall}", 0, 0, "bookmark.foldall arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } 283 | { downAngle_Icon " ${menu.unfoldall}", 0, 0, "bookmark.foldall arg:0" }, | { } 284 | { reload_Icon " ${bookmarks.reload}", 0, 0, "bookmarks.reload.remote" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:276:51: warning: missing braces around initializer [-Wmissing-braces] 276 | static const iMenuItem bookmarkModeMenuItems_[] = { | ^ 277 | { bookmark_Icon " ${menu.page.bookmark}", SDLK_d, KMOD_PRIMARY, "bookmark.add" }, | { } 278 | { "---" }, 279 | { folder_Icon " ${menu.newfolder}", 0, 0, "bookmark.addfolder" }, | { } 280 | { upDownArrow_Icon " ${menu.sort.alpha}", 0, 0, "bookmark.sortfolder" }, | { } 281 | { "---" }, 282 | { rightAngle_Icon " ${menu.foldall}", 0, 0, "bookmark.foldall arg:1" }, | { } 283 | { downAngle_Icon " ${menu.unfoldall}", 0, 0, "bookmark.foldall arg:0" }, | { } 284 | { reload_Icon " ${bookmarks.reload}", 0, 0, "bookmarks.reload.remote" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c: In function ‘updateItemsWithFlags_SidebarWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:389:47: warning: missing braces around initializer [-Wmissing-braces] 389 | const iMenuItem items[] = { | ^ ...... 393 | "feeds.mode arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:389:47: warning: missing braces around initializer [-Wmissing-braces] 389 | const iMenuItem items[] = { | ^ ...... 393 | "feeds.mode arg:0" }, | { } ...... 397 | "feeds.mode arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:389:47: warning: missing braces around initializer [-Wmissing-braces] 389 | const iMenuItem items[] = { | ^ ...... 393 | "feeds.mode arg:0" }, | { } ...... 397 | "feeds.mode arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] 440 | const iMenuItem menuItems[] = { | ^ 441 | { openTab_Icon " ${menu.opentab}", 0, 0, "feed.entry.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] 440 | const iMenuItem menuItems[] = { | ^ 441 | { openTab_Icon " ${menu.opentab}", 0, 0, "feed.entry.open newtab:1" }, | { } 442 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "feed.entry.open newtab:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] 440 | const iMenuItem menuItems[] = { | ^ 441 | { openTab_Icon " ${menu.opentab}", 0, 0, "feed.entry.open newtab:1" }, | { } 442 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "feed.entry.open newtab:2" }, | { } 443 | #if defined (iPlatformDesktop) 444 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "feed.entry.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:440:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:462:17: warning: missing braces around initializer [-Wmissing-braces] 462 | (iMenuItem[]){ | ^ 463 | { check_Icon " ${feeds.markallread}", SDLK_a, KMOD_SHIFT, "feeds.markallread" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:462:17: warning: missing braces around initializer [-Wmissing-braces] 462 | (iMenuItem[]){ | ^ 463 | { check_Icon " ${feeds.markallread}", SDLK_a, KMOD_SHIFT, "feeds.markallread" }, | { } 464 | { reload_Icon " ${feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:462:17: warning: missing braces around initializer [-Wmissing-braces] 462 | (iMenuItem[]){ | ^ 463 | { check_Icon " ${feeds.markallread}", SDLK_a, KMOD_SHIFT, "feeds.markallread" }, | { } 464 | { reload_Icon " ${feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] 526 | const iMenuItem menuItems[] = { | ^ 527 | { openTab_Icon " ${menu.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] 526 | const iMenuItem menuItems[] = { | ^ 527 | { openTab_Icon " ${menu.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 528 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "bookmark.open newtab:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] 526 | const iMenuItem menuItems[] = { | ^ 527 | { openTab_Icon " ${menu.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 528 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "bookmark.open newtab:2" }, | { } 529 | #if defined (iPlatformDesktop) 530 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:526:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } ...... 566 | { uiTextCaution_ColorEscape "${bookmark.folder.delete}", SDLK_BACKSPACE, 0, "bookmark.delete" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } ...... 566 | { uiTextCaution_ColorEscape "${bookmark.folder.delete}", SDLK_BACKSPACE, 0, "bookmark.delete" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:559:21: warning: missing braces around initializer [-Wmissing-braces] 559 | (iMenuItem[]){ | ^ 560 | { openTab_Icon " ${menu.folder.opentab}", 0, 0, "bookmark.open newtab:1" }, | { } 561 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "bookmark.open newwindow:1" }, | { } 562 | { "---" }, 563 | { edit_Icon " ${menu.edit}", 0, 0, "bookmark.edit" }, | { } ...... 566 | { uiTextCaution_ColorEscape "${bookmark.folder.delete}", SDLK_BACKSPACE, 0, "bookmark.delete" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } ...... 638 | { bookmark_Icon " ${sidebar.entry.bookmark}", 0, 0, "history.addbookmark" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] 631 | const iMenuItem menuItems[] = { | ^ 632 | { openTab_Icon " ${menu.opentab}", 0, 0, "history.open newtab:1" }, | { } 633 | { openTabBg_Icon " ${menu.opentab.background}", 0, 0, "history.open newtab:2" }, | { } 634 | #if defined (iPlatformDesktop) 635 | { openWindow_Icon " ${menu.openwindow}", 0, 0, "history.open newwindow:1" }, | { } ...... 638 | { bookmark_Icon " ${sidebar.entry.bookmark}", 0, 0, "history.addbookmark" }, | { } 639 | { "${menu.copyurl}", 0, 0, "history.copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:631:43: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:648:17: warning: missing braces around initializer [-Wmissing-braces] 648 | (iMenuItem[]){ | ^ 649 | { delete_Icon " " uiTextCaution_ColorEscape "${history.clear}", 0, 0, "history.clear confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:648:17: warning: missing braces around initializer [-Wmissing-braces] 648 | (iMenuItem[]){ | ^ 649 | { delete_Icon " " uiTextCaution_ColorEscape "${history.clear}", 0, 0, "history.clear confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:653:31: warning: unused variable ‘btn’ [-Wunused-variable] 653 | iLabelWidget *btn = addActionButton_SidebarWidget_(d, "${sidebar.action.history.clear}", | ^~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c: In function ‘processEvent_SidebarWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1807:45: warning: missing braces around initializer [-Wmissing-braces] 1807 | (iMenuItem[]){ | ^ ...... 1811 | 0, 0, format_CStr("!bookmark.delete confirmed:1 ptr:%p", d) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1807:45: warning: missing braces around initializer [-Wmissing-braces] 1807 | (iMenuItem[]){ | ^ ...... 1811 | 0, 0, format_CStr("!bookmark.delete confirmed:1 ptr:%p", d) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1874:66: warning: missing braces around initializer [-Wmissing-braces] 1874 | iWidget *menu = makeMenu_Widget(w->root->widget, (iMenuItem[]){ | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1907:36: warning: unused variable ‘url’ [-Wunused-variable] 1907 | const iString *url = urlFragmentStripped_String(&item->url); | ^~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1915:33: warning: unused variable ‘markingBelow’ [-Wunused-variable] 1915 | const iBool markingBelow = argLabel_Command(command_UserEvent(ev), "below") != 0; | ^~~~~~~~~~~~ [ 73%] Building C object CMakeFiles/app.dir/src/ui/snippetwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/snippetwidget.c.o -MF CMakeFiles/app.dir/src/ui/snippetwidget.c.o.d -o CMakeFiles/app.dir/src/ui/snippetwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1945:34: warning: unused variable ‘dlg’ [-Wunused-variable] 1945 | iWidget *dlg = makeFeedSettings_Widget(id_Bookmark(feedBookmark)); | ^~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1959:33: warning: missing braces around initializer [-Wmissing-braces] 1959 | (iMenuItem[]){ | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1959:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1959:33: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:2015:37: warning: missing braces around initializer [-Wmissing-braces] 2015 | (iMenuItem[]){ { "${cancel}", 0, 0, NULL }, | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:2015:37: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:2015:37: warning: missing braces around initializer [-Wmissing-braces] /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1032:21: warning: ‘hoverIdentity_SidebarWidget_’ defined but not used [-Wunused-function] 1032 | static iGmIdentity *hoverIdentity_SidebarWidget_(const iSidebarWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/sidebarwidget.c:1025:27: warning: ‘constHoverIdentity_SidebarWidget_’ defined but not used [-Wunused-function] 1025 | static const iGmIdentity *constHoverIdentity_SidebarWidget_(const iSidebarWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c: In function ‘init_SnippetWidget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } 122 | { "---" }, 123 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.snip.delete}", 0, 0, "sniped.delete" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/snippetwidget.c:120:9: warning: missing braces around initializer [-Wmissing-braces] 120 | (iMenuItem[]){ { edit_Icon " ${menu.snip.edit}", 0, 0, "sniped.edit" }, | ^ | { } 121 | { copy_Icon " ${menu.snip.clipboard}", 0, 0, "sniped.clipboard" }, | { } 122 | { "---" }, 123 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.snip.delete}", 0, 0, "sniped.delete" } }, | { } [ 74%] Building C object CMakeFiles/app.dir/src/ui/text.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/text.c.o -MF CMakeFiles/app.dir/src/ui/text.c.o.d -o CMakeFiles/app.dir/src/ui/text.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/text.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/paint.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/text.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/text.c: In function ‘init_TextBuf’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/text.c:339:19: warning: ‘*’ in boolean context, suggest ‘&&’ instead [-Wint-in-bool-context] 339 | if (d->size.x * d->size.y) { | ~~~~~~~~~~^~~~~~~~~~~ [ 76%] Building C object CMakeFiles/app.dir/src/ui/touch.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/touch.c.o -MF CMakeFiles/app.dir/src/ui/touch.c.o.d -o CMakeFiles/app.dir/src/ui/touch.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c [ 77%] Building C object CMakeFiles/app.dir/src/ui/translation.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/translation.c.o -MF CMakeFiles/app.dir/src/ui/translation.c.o.d -o CMakeFiles/app.dir/src/ui/translation.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/translation.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/app.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/translation.c:25: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c: In function ‘update_TouchState_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c:320:27: warning: unused variable ‘pos’ [-Wunused-variable] 320 | const iFloat3 pos = touch->pos[0]; | ^~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c: In function ‘processEvent_Touch’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c:579:18: warning: unused variable ‘dragging’ [-Wunused-variable] 579 | iWidget *dragging = NULL; | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/touch.c:833:27: warning: unused variable ‘gestureVector’ [-Wunused-variable] 833 | const iFloat3 gestureVector = sub_F3(pos, touch->pos[lastIndex]); | ^~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/translation.c: In function ‘processResult_Translation_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/translation.c:441:16: warning: unused variable ‘lineIndex’ [-Wunused-variable] 441 | size_t lineIndex = 0; | ^~~~~~~~~ [ 79%] Building C object CMakeFiles/app.dir/src/ui/uploadwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/uploadwidget.c.o -MF CMakeFiles/app.dir/src/ui/uploadwidget.c.o.d -o CMakeFiles/app.dir/src/ui/uploadwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c: In function ‘appendIdentities_MenuItem’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:138:14: warning: missing braces around initializer [-Wmissing-braces] 138 | &(iMenuItem){ cstr_String(str), | ^ ...... 141 | format_CStr("%s fp:%s", | { 142 | command, 143 | cstrCollect_String(hexEncode_Block(&id->fingerprint))) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c: In function ‘makeIdentityItems_UploadWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:151:21: warning: missing braces around initializer [-Wmissing-braces] 151 | &(iMenuItem){ format_CStr("${dlg.upload.id.default} (%s)", | ^ ...... 154 | 0, 0, "upload.setid arg:1" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:155:28: warning: missing braces around initializer [-Wmissing-braces] 155 | pushBack_Array(items, &(iMenuItem){ "${dlg.upload.id.none}", 0, 0, "upload.setid arg:0" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c: In function ‘init_UploadWidget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:253:33: warning: missing braces around initializer [-Wmissing-braces] 253 | const iMenuItem actions[] = { | ^ 254 | { "${upload.port}", 0, 0, "upload.setport" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:253:33: warning: missing braces around initializer [-Wmissing-braces] 253 | const iMenuItem actions[] = { | ^ 254 | { "${upload.port}", 0, 0, "upload.setport" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:253:33: warning: missing braces around initializer [-Wmissing-braces] 253 | const iMenuItem actions[] = { | ^ 254 | { "${upload.port}", 0, 0, "upload.setport" }, | { } 255 | { "---" }, 256 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:253:33: warning: missing braces around initializer [-Wmissing-braces] 253 | const iMenuItem actions[] = { | ^ 254 | { "${upload.port}", 0, 0, "upload.setport" }, | { } 255 | { "---" }, 256 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 257 | { uiTextAction_ColorEscape "${dlg.upload.send}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:253:33: warning: missing braces around initializer [-Wmissing-braces] 253 | const iMenuItem actions[] = { | ^ 254 | { "${upload.port}", 0, 0, "upload.setport" }, | { } 255 | { "---" }, 256 | { "${close}", SDLK_ESCAPE, 0, "upload.cancel" }, | { } 257 | { uiTextAction_ColorEscape "${dlg.upload.send}", SDLK_RETURN, KMOD_ACCEPT, "upload.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:263:43: warning: missing braces around initializer [-Wmissing-braces] 263 | const iMenuItem ellipsisItems[] = { | ^ 264 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:263:43: warning: missing braces around initializer [-Wmissing-braces] 263 | const iMenuItem ellipsisItems[] = { | ^ 264 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 265 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:263:43: warning: missing braces around initializer [-Wmissing-braces] 263 | const iMenuItem ellipsisItems[] = { | ^ 264 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 265 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 266 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:263:43: warning: missing braces around initializer [-Wmissing-braces] 263 | const iMenuItem ellipsisItems[] = { | ^ 264 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 265 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 266 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:263:43: warning: missing braces around initializer [-Wmissing-braces] 263 | const iMenuItem ellipsisItems[] = { | ^ 264 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 265 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 266 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } ...... 269 | 0, 0, "upload.text.delete confirmed:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:263:43: warning: missing braces around initializer [-Wmissing-braces] 263 | const iMenuItem ellipsisItems[] = { | ^ 264 | { clipboard_Icon " ${menu.paste.snippet}", 0, 0, "submenu id:snippetmenu" }, | { } 265 | { select_Icon " ${menu.selectall}", 0, 0, "upload.text.selectall" }, | { } 266 | { export_Icon " ${menu.upload.export}", 0, 0, "upload.text.export" }, | { } ...... 269 | 0, 0, "upload.text.delete confirmed:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:272:39: warning: missing braces around initializer [-Wmissing-braces] 272 | const iMenuItem textItems[] = { | ^ 273 | { "navi.menubutton text:" midEllipsis_Icon, 0, 0, (const void *) ellipsisItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:272:39: warning: missing braces around initializer [-Wmissing-braces] 272 | const iMenuItem textItems[] = { | ^ 273 | { "navi.menubutton text:" midEllipsis_Icon, 0, 0, (const void *) ellipsisItems }, | { } 274 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:272:39: warning: missing braces around initializer [-Wmissing-braces] 272 | const iMenuItem textItems[] = { | ^ 273 | { "navi.menubutton text:" midEllipsis_Icon, 0, 0, (const void *) ellipsisItems }, | { } 274 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:272:39: warning: missing braces around initializer [-Wmissing-braces] 272 | const iMenuItem textItems[] = { | ^ 273 | { "navi.menubutton text:" midEllipsis_Icon, 0, 0, (const void *) ellipsisItems }, | { } 274 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:272:39: warning: missing braces around initializer [-Wmissing-braces] 272 | const iMenuItem textItems[] = { | ^ 273 | { "navi.menubutton text:" midEllipsis_Icon, 0, 0, (const void *) ellipsisItems }, | { } 274 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:279:44: warning: missing braces around initializer [-Wmissing-braces] 279 | const iMenuItem titanFileItems[] = { | ^ 280 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 283 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 303 | { "heading text:${heading.upload.id}" }, 304 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 303 | { "heading text:${heading.upload.id}" }, 304 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 303 | { "heading text:${heading.upload.id}" }, 304 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 303 | { "heading text:${heading.upload.id}" }, 304 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } ...... 307 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:299:40: warning: missing braces around initializer [-Wmissing-braces] 299 | const iMenuItem titanItems[] = { | ^ 300 | { "title id:heading.upload" }, 301 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 302 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) titanFileItems }, | { } 303 | { "heading text:${heading.upload.id}" }, 304 | { "dropdown id:upload.id noheading:1 text:", 0, 0, constData_Array(makeIdentityItems_UploadWidget_(d)) }, | { } ...... 307 | { "panel id:dlg.upload.url buttonid:dlg.upload.urllabel icon:0x1f310 text:", 0, 0, (const void *) urlItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:310:46: warning: missing braces around initializer [-Wmissing-braces] 310 | const iMenuItem spartanFileItems[] = { | ^ 311 | { "navi.action text:${dlg.upload.send}", 0, 0, "upload.accept" }, | { } ...... 314 | { "button text:" uiTextAction_ColorEscape "${dlg.upload.pickfile}", 0, 0, "upload.pickfile" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:322:42: warning: missing braces around initializer [-Wmissing-braces] 322 | const iMenuItem spartanItems[] = { | ^ ...... 325 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:322:42: warning: missing braces around initializer [-Wmissing-braces] 322 | const iMenuItem spartanItems[] = { | ^ ...... 325 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 326 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) spartanFileItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:322:42: warning: missing braces around initializer [-Wmissing-braces] 322 | const iMenuItem spartanItems[] = { | ^ ...... 325 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 326 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) spartanFileItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:322:42: warning: missing braces around initializer [-Wmissing-braces] 322 | const iMenuItem spartanItems[] = { | ^ ...... 325 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 326 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) spartanFileItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:322:42: warning: missing braces around initializer [-Wmissing-braces] 322 | const iMenuItem spartanItems[] = { | ^ ...... 325 | { "panel id:dlg.upload.text icon:0x1f5b9 noscroll:1", 0, 0, (const void *) textItems }, | { } 326 | { "panel id:dlg.upload.file icon:0x1f4c1", 0, 0, (const void *) spartanFileItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c: In function ‘updateFileInfo_UploadWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:598:28: warning: missing braces around initializer [-Wmissing-braces] 598 | (iMenuItem[]){ "${dlg.message.ok}", 0, 0, "message.ok" }, 1); | ^ | { { }} /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c: In function ‘processEvent_UploadWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:699:61: warning: missing braces around initializer [-Wmissing-braces] 699 | openMenu_Widget(makeMenu_Widget(root_Widget(w), (iMenuItem[]){ | ^ 700 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.upload.delete.confirm}", 0, 0, 701 | "upload.text.delete confirmed:1" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:699:61: warning: missing braces around initializer [-Wmissing-braces] 699 | openMenu_Widget(makeMenu_Widget(root_Widget(w), (iMenuItem[]){ | ^ 700 | { delete_Icon " " uiTextCaution_ColorEscape "${menu.upload.delete.confirm}", 0, 0, 701 | "upload.text.delete confirmed:1" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/uploadwidget.c:774:36: warning: missing braces around initializer [-Wmissing-braces] 774 | (iMenuItem[]){ "${dlg.message.ok}", 0, 0, "message.ok" }, 1); | ^ | { { }} [ 80%] Building C object CMakeFiles/app.dir/src/ui/util.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/util.c.o -MF CMakeFiles/app.dir/src/ui/util.c.o.d -o CMakeFiles/app.dir/src/ui/util.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘deepCopyMenuItems_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:1121:32: warning: missing braces around initializer [-Wmissing-braces] 1121 | pushBack_Array(array, &(iMenuItem){ | ^ ...... 1125 | itemCommand ? iDupStr(itemCommand) : NULL /* NOTE: Only works with string commands. */ | { 1126 | }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘updateMenuItemFonts_Widget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:1270:17: warning: unused variable ‘isSlidePanel’ [-Wunused-variable] 1270 | const iBool isSlidePanel = (flags_Widget(d) & horizontalOffset_WidgetFlag) != 0; | ^~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:1269:17: warning: unused variable ‘isMobile’ [-Wunused-variable] 1269 | const iBool isMobile = (deviceType_App() != desktop_AppDeviceType); | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:1268:17: warning: unused variable ‘isPortraitPhone’ [-Wunused-variable] 1268 | const iBool isPortraitPhone = (deviceType_App() == phone_AppDeviceType && isPortrait_App()); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘updateValueInputSizing_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2382:17: warning: unused variable ‘title’ [-Wunused-variable] 2382 | iWidget * title = findChild_Widget(dlg, "valueinput.title"); | ^~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeValueInputWithAdditionalActions_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2690:31: warning: missing braces around initializer [-Wmissing-braces] 2690 | pushBack_Array(&actions, &(iMenuItem){ "${cancel}", SDLK_ESCAPE, 0, "valueinput.cancel" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2695:21: warning: missing braces around initializer [-Wmissing-braces] 2695 | &(iMenuItem){ acceptLabel, | ^ ...... 2698 | "valueinput.accept" }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2660:19: warning: unused variable ‘promptLabel’ [-Wunused-variable] 2660 | iLabelWidget *promptLabel = addWrappedLabel_Widget(dlg, prompt, "valueinput.prompt"); | ^~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeSimpleMessage_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2775:31: warning: missing braces around initializer [-Wmissing-braces] 2775 | (iMenuItem[]){ { "${dlg.message.ok}", 0, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2775:31: warning: missing braces around initializer [-Wmissing-braces] 2775 | (iMenuItem[]){ { "${dlg.message.ok}", 0, 0, "message.ok" } }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeQuestion_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2802:31: warning: missing braces around initializer [-Wmissing-braces] 2802 | &(iMenuItem){ format_CStr("button selected:%d text:%s", | ^ 2803 | first == '&' ? 1 : 0, item->label + 1), 2804 | 0, 0, item->command }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeFontItems_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2987:18: warning: missing braces around initializer [-Wmissing-braces] 2987 | &(iMenuItem){ cstr_String(&spec->name), | ^ ...... 2990 | format_CStr("!font.set %s:%s", id, cstr_String(&spec->id)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:2998:14: warning: missing braces around initializer [-Wmissing-braces] 2998 | &(iMenuItem){ cstr_String(&spec->name), | ^ ...... 3001 | format_CStr("!font.set %s:%s", id, cstr_String(&spec->id)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makePreferences_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } [ 82%] Building C object CMakeFiles/app.dir/src/ui/visbuf.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/visbuf.c.o -MF CMakeFiles/app.dir/src/ui/visbuf.c.o.d -o CMakeFiles/app.dir/src/ui/visbuf.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/visbuf.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3234 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3234 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3235 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3234 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3235 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3236 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3234 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3235 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3236 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } 3237 | { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3234 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3235 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3236 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } 3237 | { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, | { } 3238 | { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3213:35: warning: missing braces around initializer [-Wmissing-braces] 3213 | const iMenuItem langItems[] = { { u8"Čeština - cs", 0, 0, "uilang id:cs" }, | ^ | { } 3214 | { u8"Deutsch - de", 0, 0, "uilang id:de" }, | { } 3215 | { u8"English - en", 0, 0, "uilang id:en" }, | { } 3216 | { u8"Español - es", 0, 0, "uilang id:es" }, | { } 3217 | { u8"Español (México) - es", 0, 0, "uilang id:es_MX" }, | { } 3218 | { u8"Euskara - eu", 0, 0, "uilang id:eu" }, | { } 3219 | { u8"Esperanto - eo", 0, 0, "uilang id:eo" }, | { } 3220 | { u8"Suomi - fi", 0, 0, "uilang id:fi" }, | { } 3221 | { u8"Français - fr", 0, 0, "uilang id:fr" }, | { } 3222 | { u8"Galego - gl", 0, 0, "uilang id:gl" }, | { } 3223 | { u8"Magyar - hu", 0, 0, "uilang id:hu" }, | { } 3224 | { u8"Interlingua - ia", 0, 0, "uilang id:ia" }, | { } 3225 | { u8"Interlingue - ie", 0, 0, "uilang id:ie" }, | { } 3226 | { u8"Interslavic - isv", 0, 0, "uilang id:isv" }, | { } 3227 | { u8"Italiano - it", 0, 0, "uilang id:it" }, | { } 3228 | { u8"日本語 - ja", 0, 0, "uilang id:ja" }, | { } 3229 | { u8"Nederlands - nl", 0, 0, "uilang id:nl" }, | { } 3230 | { u8"Polski - pl", 0, 0, "uilang id:pl" }, | { } 3231 | { u8"Русский - ru", 0, 0, "uilang id:ru" }, | { } 3232 | { u8"Slovak - sk", 0, 0, "uilang id:sk" }, | { } 3233 | { u8"Српски - sr", 0, 0, "uilang id:sr" }, | { } 3234 | { u8"Toki pona - tok", 0, 0, "uilang id:tok" }, | { } 3235 | { u8"Türkçe - tr", 0, 0, "uilang id:tr" }, | { } 3236 | { u8"Українська - uk", 0, 0, "uilang id:uk" }, | { } 3237 | { u8"简体中文 - zh", 0, 0, "uilang id:zh_Hans" }, | { } 3238 | { u8"繁體/正體中文 - zh", 0, 0, "uilang id:zh_Hant" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3243 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3243 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3244 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3243 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3244 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3245 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3243 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3244 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3245 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } 3246 | { formatCStrs_Lang("num.hours.n", 8), 0, 0, format_CStr("feedinterval.set arg:%d", eightHours_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3243 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3244 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3245 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } 3246 | { formatCStrs_Lang("num.hours.n", 8), 0, 0, format_CStr("feedinterval.set arg:%d", eightHours_FeedInterval) }, | { } 3247 | { "${reload.onceperday}", 0, 0, format_CStr("feedinterval.set arg:%d", oneDay_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3240:43: warning: missing braces around initializer [-Wmissing-braces] 3240 | const iMenuItem feedIntervalItems[] = { | ^ 3241 | { "${prefs.feedinterval.manual}", 0, 0, format_CStr("feedinterval.set arg:%d", manual_FeedInterval) }, | { } 3242 | { formatCStrs_Lang("num.minutes.n", 30), 0, 0, format_CStr("feedinterval.set arg:%d", thirtyMinutes_FeedInterval) }, | { } 3243 | { formatCStrs_Lang("num.hours.n", 1), 0, 0, format_CStr("feedinterval.set arg:%d", oneHour_FeedInterval) }, | { } 3244 | { formatCStrs_Lang("num.hours.n", 2), 0, 0, format_CStr("feedinterval.set arg:%d", twoHours_FeedInterval) }, | { } 3245 | { formatCStrs_Lang("num.hours.n", 4), 0, 0, format_CStr("feedinterval.set arg:%d", fourHours_FeedInterval) }, | { } 3246 | { formatCStrs_Lang("num.hours.n", 8), 0, 0, format_CStr("feedinterval.set arg:%d", eightHours_FeedInterval) }, | { } 3247 | { "${reload.onceperday}", 0, 0, format_CStr("feedinterval.set arg:%d", oneDay_FeedInterval) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3250:39: warning: missing braces around initializer [-Wmissing-braces] 3250 | const iMenuItem collapseItems[] = { | ^ 3251 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3250:39: warning: missing braces around initializer [-Wmissing-braces] 3250 | const iMenuItem collapseItems[] = { | ^ 3251 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3252 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3250:39: warning: missing braces around initializer [-Wmissing-braces] 3250 | const iMenuItem collapseItems[] = { | ^ 3251 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3252 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } 3253 | { "${collapse.bydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", byDefault_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3250:39: warning: missing braces around initializer [-Wmissing-braces] 3250 | const iMenuItem collapseItems[] = { | ^ 3251 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3252 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } 3253 | { "${collapse.bydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", byDefault_Collapse) }, | { } 3254 | { "${collapse.always}", 0, 0, format_CStr("collapsepre.set arg:%d", always_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3250:39: warning: missing braces around initializer [-Wmissing-braces] 3250 | const iMenuItem collapseItems[] = { | ^ 3251 | { "${collapse.never}", 0, 0, format_CStr("collapsepre.set arg:%d", never_Collapse) }, | { } 3252 | { "${collapse.notbydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", notByDefault_Collapse) }, | { } 3253 | { "${collapse.bydefault}", 0, 0, format_CStr("collapsepre.set arg:%d", byDefault_Collapse) }, | { } 3254 | { "${collapse.always}", 0, 0, format_CStr("collapsepre.set arg:%d", always_Collapse) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3257:48: warning: missing braces around initializer [-Wmissing-braces] 3257 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3261 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3263:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 3263 | { returnKeyBehaviorStr_(RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3266:47: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 3266 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3257:48: warning: missing braces around initializer [-Wmissing-braces] 3257 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3261 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } ...... 3266 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3257:48: warning: missing braces around initializer [-Wmissing-braces] 3257 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3261 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } ...... 3266 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | { } ...... 3270 | format_CStr("returnkey.set arg:%d", acceptWithPrimaryMod_ReturnKeyBehavior) }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/paint.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/visbuf.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3257:48: warning: missing braces around initializer [-Wmissing-braces] 3257 | const iMenuItem returnKeyBehaviorItems[] = { | ^ ...... 3261 | format_CStr("returnkey.set arg:%d", default_ReturnKeyBehavior) }, | { } ...... 3266 | format_CStr("returnkey.set arg:%d", RETURN_KEY_BEHAVIOR(0, shift_ReturnKeyFlag)) }, | { } ...... 3270 | format_CStr("returnkey.set arg:%d", acceptWithPrimaryMod_ReturnKeyBehavior) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3303 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3303 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3304 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3303 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3304 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3305 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3303 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3304 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3305 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } 3306 | { "${prefs.doctheme.name.oceanic}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, oceanic_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3303 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3304 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3305 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } 3306 | { "${prefs.doctheme.name.oceanic}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, oceanic_GmDocumentTheme) }, | { } 3307 | { "${prefs.doctheme.name.highcontrast}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, highContrast_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3298:58: warning: missing braces around initializer [-Wmissing-braces] 3298 | const iMenuItem items[max_GmDocumentTheme + 1] = { | ^ 3299 | { "${prefs.doctheme.name.colorfuldark}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulDark_GmDocumentTheme) }, | { } 3300 | { "${prefs.doctheme.name.colorfullight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, colorfulLight_GmDocumentTheme) }, | { } 3301 | { "${prefs.doctheme.name.vibrantlight}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, vibrantLight_GmDocumentTheme) }, | { } 3302 | { "${prefs.doctheme.name.black}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, black_GmDocumentTheme) }, | { } 3303 | { "${prefs.doctheme.name.gray}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, gray_GmDocumentTheme) }, | { } 3304 | { "${prefs.doctheme.name.white}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, white_GmDocumentTheme) }, | { } 3305 | { "${prefs.doctheme.name.sepia}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, sepia_GmDocumentTheme) }, | { } 3306 | { "${prefs.doctheme.name.oceanic}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, oceanic_GmDocumentTheme) }, | { } 3307 | { "${prefs.doctheme.name.highcontrast}", 0, 0, format_CStr("doctheme.%s.set arg:%d", mode, highContrast_GmDocumentTheme) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3317 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3317 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3318 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3317 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3318 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3319 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3317 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3318 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3319 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } 3320 | { circle_Icon " ${prefs.accent.blue}", 0, 0, "accent.set arg:4" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3317 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3318 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3319 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } 3320 | { circle_Icon " ${prefs.accent.blue}", 0, 0, "accent.set arg:4" }, | { } 3321 | { circle_Icon " ${prefs.accent.gray}", 0, 0, "accent.set arg:5" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3312:52: warning: missing braces around initializer [-Wmissing-braces] 3312 | const iMenuItem accentItems[max_ColorAccent] = { | ^ ...... 3316 | { circle_Icon " ${prefs.accent.teal}", 0, 0, "accent.set arg:0" }, | { } 3317 | { circle_Icon " ${prefs.accent.orange}", 0, 0, "accent.set arg:1" }, | { } 3318 | { circle_Icon " ${prefs.accent.red}", 0, 0, "accent.set arg:2" }, | { } 3319 | { circle_Icon " ${prefs.accent.green}", 0, 0, "accent.set arg:3" }, | { } 3320 | { circle_Icon " ${prefs.accent.blue}", 0, 0, "accent.set arg:4" }, | { } 3321 | { circle_Icon " ${prefs.accent.gray}", 0, 0, "accent.set arg:5" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3323:39: warning: missing braces around initializer [-Wmissing-braces] 3323 | const iMenuItem imgStyleItems[] = { | ^ 3324 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3323:39: warning: missing braces around initializer [-Wmissing-braces] 3323 | const iMenuItem imgStyleItems[] = { | ^ 3324 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3325 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3323:39: warning: missing braces around initializer [-Wmissing-braces] 3323 | const iMenuItem imgStyleItems[] = { | ^ 3324 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3325 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3326 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3323:39: warning: missing braces around initializer [-Wmissing-braces] 3323 | const iMenuItem imgStyleItems[] = { | ^ 3324 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3325 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3326 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } 3327 | { "${prefs.imagestyle.text}", 0, 0, format_CStr("imagestyle.set arg:%d", textColorized_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3323:39: warning: missing braces around initializer [-Wmissing-braces] 3323 | const iMenuItem imgStyleItems[] = { | ^ 3324 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3325 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3326 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } 3327 | { "${prefs.imagestyle.text}", 0, 0, format_CStr("imagestyle.set arg:%d", textColorized_ImageStyle) }, | { } 3328 | { "${prefs.imagestyle.preformat}", 0, 0, format_CStr("imagestyle.set arg:%d", preformatColorized_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3323:39: warning: missing braces around initializer [-Wmissing-braces] 3323 | const iMenuItem imgStyleItems[] = { | ^ 3324 | { "${prefs.imagestyle.original}", 0, 0, format_CStr("imagestyle.set arg:%d", original_ImageStyle) }, | { } 3325 | { "${prefs.imagestyle.grayscale}", 0, 0, format_CStr("imagestyle.set arg:%d", grayscale_ImageStyle) }, | { } 3326 | { "${prefs.imagestyle.bgfg}", 0, 0, format_CStr("imagestyle.set arg:%d", bgFg_ImageStyle) }, | { } 3327 | { "${prefs.imagestyle.text}", 0, 0, format_CStr("imagestyle.set arg:%d", textColorized_ImageStyle) }, | { } 3328 | { "${prefs.imagestyle.preformat}", 0, 0, format_CStr("imagestyle.set arg:%d", preformatColorized_ImageStyle) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3333 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3333 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3334 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3333 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3334 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3335 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3333 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3334 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3335 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } 3336 | { "button id:prefs.linewidth.48 text:+2", 0, 0, "linewidth.set arg:48" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3333 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3334 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3335 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } 3336 | { "button id:prefs.linewidth.48 text:+2", 0, 0, "linewidth.set arg:48" }, | { } 3337 | { "button id:prefs.linewidth.1000 label:prefs.linewidth.fill", 0, 0, "linewidth.set arg:1000" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3331:40: warning: missing braces around initializer [-Wmissing-braces] 3331 | const iMenuItem lineWidthItems[] = { | ^ 3332 | { "button id:prefs.linewidth.30 text:\u20132", 0, 0, "linewidth.set arg:30" }, | { } 3333 | { "button id:prefs.linewidth.34 text:\u20131", 0, 0, "linewidth.set arg:34" }, | { } 3334 | { "button id:prefs.linewidth.38 label:prefs.linewidth.normal", 0, 0, "linewidth.set arg:38" }, | { } 3335 | { "button id:prefs.linewidth.43 text:+1", 0, 0, "linewidth.set arg:43" }, | { } 3336 | { "button id:prefs.linewidth.48 text:+2", 0, 0, "linewidth.set arg:48" }, | { } 3337 | { "button id:prefs.linewidth.1000 label:prefs.linewidth.fill", 0, 0, "linewidth.set arg:1000" }, | { } [ 84%] Building C object CMakeFiles/app.dir/src/ui/window.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/window.c.o -MF CMakeFiles/app.dir/src/ui/window.c.o.d -o CMakeFiles/app.dir/src/ui/window.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3342:43: warning: missing braces around initializer [-Wmissing-braces] 3342 | const iMenuItem pinSplitItems[] = { | ^ 3343 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3342:43: warning: missing braces around initializer [-Wmissing-braces] 3342 | const iMenuItem pinSplitItems[] = { | ^ 3343 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } 3344 | { "button id:prefs.pinsplit.1 label:prefs.pinsplit.left", 0, 0, "pinsplit.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3342:43: warning: missing braces around initializer [-Wmissing-braces] 3342 | const iMenuItem pinSplitItems[] = { | ^ 3343 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } 3344 | { "button id:prefs.pinsplit.1 label:prefs.pinsplit.left", 0, 0, "pinsplit.set arg:1" }, | { } 3345 | { "button id:prefs.pinsplit.2 label:prefs.pinsplit.right", 0, 0, "pinsplit.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3342:43: warning: missing braces around initializer [-Wmissing-braces] 3342 | const iMenuItem pinSplitItems[] = { | ^ 3343 | { "button id:prefs.pinsplit.0 label:prefs.pinsplit.none", 0, 0, "pinsplit.set arg:0" }, | { } 3344 | { "button id:prefs.pinsplit.1 label:prefs.pinsplit.left", 0, 0, "pinsplit.set arg:1" }, | { } 3345 | { "button id:prefs.pinsplit.2 label:prefs.pinsplit.right", 0, 0, "pinsplit.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3348:40: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem themeItems[] = { | ^ 3349 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3348:40: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem themeItems[] = { | ^ 3349 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3350 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3348:40: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem themeItems[] = { | ^ 3349 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3350 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } 3351 | { "button id:prefs.theme.2 label:prefs.theme.light", 0, 0, "theme.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3348:40: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem themeItems[] = { | ^ 3349 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3350 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } 3351 | { "button id:prefs.theme.2 label:prefs.theme.light", 0, 0, "theme.set arg:2" }, | { } 3352 | { "button id:prefs.theme.3 label:prefs.theme.white", 0, 0, "theme.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3348:40: warning: missing braces around initializer [-Wmissing-braces] 3348 | const iMenuItem themeItems[] = { | ^ 3349 | { "button id:prefs.theme.0 label:prefs.theme.black", 0, 0, "theme.set arg:0" }, | { } 3350 | { "button id:prefs.theme.1 label:prefs.theme.dark", 0, 0, "theme.set arg:1" }, | { } 3351 | { "button id:prefs.theme.2 label:prefs.theme.light", 0, 0, "theme.set arg:2" }, | { } 3352 | { "button id:prefs.theme.3 label:prefs.theme.white", 0, 0, "theme.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3357 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3357 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3358 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3357 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3358 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3359 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3357 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3358 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3359 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } 3360 | { "button id:prefs.accent.4 label:prefs.accent.blue", 0, 0, "accent.set arg:4" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3357 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3358 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3359 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } 3360 | { "button id:prefs.accent.4 label:prefs.accent.blue", 0, 0, "accent.set arg:4" }, | { } 3361 | { "button id:prefs.accent.5 label:prefs.accent.gray", 0, 0, "accent.set arg:5" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3355:41: warning: missing braces around initializer [-Wmissing-braces] 3355 | const iMenuItem accentItems[] = { | ^ 3356 | { "button id:prefs.accent.0 label:prefs.accent.teal", 0, 0, "accent.set arg:0" }, | { } 3357 | { "button id:prefs.accent.1 label:prefs.accent.orange", 0, 0, "accent.set arg:1" }, | { } 3358 | { "button id:prefs.accent.2 label:prefs.accent.red", 0, 0, "accent.set arg:2" }, | { } 3359 | { "button id:prefs.accent.3 label:prefs.accent.green", 0, 0, "accent.set arg:3" }, | { } 3360 | { "button id:prefs.accent.4 label:prefs.accent.blue", 0, 0, "accent.set arg:4" }, | { } 3361 | { "button id:prefs.accent.5 label:prefs.accent.gray", 0, 0, "accent.set arg:5" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3364:38: warning: missing braces around initializer [-Wmissing-braces] 3364 | const iMenuItem satItems[] = { | ^ 3365 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3364:38: warning: missing braces around initializer [-Wmissing-braces] 3364 | const iMenuItem satItems[] = { | ^ 3365 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3366 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3364:38: warning: missing braces around initializer [-Wmissing-braces] 3364 | const iMenuItem satItems[] = { | ^ 3365 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3366 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } 3367 | { "button id:prefs.saturation.1 text:33 %", 0, 0, "saturation.set arg:33" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3364:38: warning: missing braces around initializer [-Wmissing-braces] 3364 | const iMenuItem satItems[] = { | ^ 3365 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3366 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } 3367 | { "button id:prefs.saturation.1 text:33 %", 0, 0, "saturation.set arg:33" }, | { } 3368 | { "button id:prefs.saturation.0 text:0 %", 0, 0, "saturation.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3364:38: warning: missing braces around initializer [-Wmissing-braces] 3364 | const iMenuItem satItems[] = { | ^ 3365 | { "button id:prefs.saturation.3 text:100 %", 0, 0, "saturation.set arg:100" }, | { } 3366 | { "button id:prefs.saturation.2 text:66 %", 0, 0, "saturation.set arg:66" }, | { } 3367 | { "button id:prefs.saturation.1 text:33 %", 0, 0, "saturation.set arg:33" }, | { } 3368 | { "button id:prefs.saturation.0 text:0 %", 0, 0, "saturation.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3382:40: warning: missing braces around initializer [-Wmissing-braces] 3382 | const iMenuItem quoteItems[] = { | ^ 3383 | { "button id:prefs.quoteicon.1 label:prefs.quoteicon.icon", 0, 0, "quoteicon.set arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3382:40: warning: missing braces around initializer [-Wmissing-braces] 3382 | const iMenuItem quoteItems[] = { | ^ 3383 | { "button id:prefs.quoteicon.1 label:prefs.quoteicon.icon", 0, 0, "quoteicon.set arg:1" }, | { } 3384 | { "button id:prefs.quoteicon.0 label:prefs.quoteicon.line", 0, 0, "quoteicon.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3382:40: warning: missing braces around initializer [-Wmissing-braces] 3382 | const iMenuItem quoteItems[] = { | ^ 3383 | { "button id:prefs.quoteicon.1 label:prefs.quoteicon.icon", 0, 0, "quoteicon.set arg:1" }, | { } 3384 | { "button id:prefs.quoteicon.0 label:prefs.quoteicon.line", 0, 0, "quoteicon.set arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3397 | { "padding" }, 3398 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3397 | { "padding" }, 3398 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3397 | { "padding" }, 3398 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3399 | { "padding" }, 3400 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3397 | { "padding" }, 3398 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3399 | { "padding" }, 3400 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3397 | { "padding" }, 3398 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3399 | { "padding" }, 3400 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3387:47: warning: missing braces around initializer [-Wmissing-braces] 3387 | const iMenuItem generalPanelItems[] = { | ^ ...... 3396 | { "radio device:1 id:prefs.pinsplit", 0, 0, (const void *) pinSplitItems }, | { } 3397 | { "padding" }, 3398 | { "dropdown id:prefs.feedinterval", 0, 0, (const void *) feedIntervalItems }, | { } 3399 | { "padding" }, 3400 | { "dropdown id:prefs.uilang", 0, 0, (const void *) langItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3416 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3416 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3417 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3416 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3417 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3416 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3417 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3416 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3417 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } [ 85%] Building C object CMakeFiles/app.dir/src/ui/widget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/widget.c.o -MF CMakeFiles/app.dir/src/ui/widget.c.o.d -o CMakeFiles/app.dir/src/ui/widget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3405:42: warning: missing braces around initializer [-Wmissing-braces] 3405 | const iMenuItem uiPanelItems[] = { | ^ ...... 3408 | { "dropdown device:0 id:prefs.returnkey", 0, 0, (const void *) returnKeyBehaviorItems }, | { } ...... 3416 | { "dropdown device:2 id:prefs.toolbaraction1", 0, 0, (const void *) toolbarActionItems[0] }, | { } 3417 | { "dropdown device:2 id:prefs.toolbaraction2", 0, 0, (const void *) toolbarActionItems[1] }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3433 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3433 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3434 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3433 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3434 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3433 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3434 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } 3435 | { "padding" }, 3436 | { "dropdown id:prefs.imagestyle", 0, 0, (const void *) imgStyleItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3433 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3434 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } 3435 | { "padding" }, 3436 | { "dropdown id:prefs.imagestyle", 0, 0, (const void *) imgStyleItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3423:45: warning: missing braces around initializer [-Wmissing-braces] 3423 | const iMenuItem colorPanelItems[] = { | ^ ...... 3429 | { "radio id:prefs.theme", 0, 0, (const void *) themeItems }, | { } 3430 | { "radio horizontal:1 rowlen:3 id:prefs.accent", 0, 0, (const void *) accentItems }, | { } 3431 | { "heading id:heading.prefs.pagecontent" }, 3432 | { "dropdown id:prefs.doctheme.dark", 0, 0, (const void *) docThemes[0] }, | { } 3433 | { "dropdown id:prefs.doctheme.light", 0, 0, (const void *) docThemes[1] }, | { } 3434 | { "radio horizontal:1 id:prefs.saturation", 0, 0, (const void *) satItems }, | { } 3435 | { "padding" }, 3436 | { "dropdown id:prefs.imagestyle", 0, 0, (const void *) imgStyleItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } ...... 3458 | { "button text:" fontpack_Icon " " uiTextAction_ColorEscape "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } ...... 3458 | { "button text:" fontpack_Icon " " uiTextAction_ColorEscape "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3440:44: warning: missing braces around initializer [-Wmissing-braces] 3440 | const iMenuItem fontPanelItems[] = { | ^ ...... 3443 | { "dropdown id:prefs.font.heading", 0, 0, (const void *) constData_Array(makeFontItems_("heading")) }, | { } 3444 | { "dropdown id:prefs.font.body", 0, 0, (const void *) constData_Array(makeFontItems_("body")) }, | { } 3445 | { "dropdown id:prefs.font.mono", 0, 0, (const void *) constData_Array(makeFontItems_("mono")) }, | { } 3446 | { "buttons id:prefs.mono", 0, 0, (const void *) monoFontItems }, | { } 3447 | { "padding" }, 3448 | { "dropdown id:prefs.font.monodoc", 0, 0, (const void *) constData_Array(makeFontItems_("monodoc")) }, | { } ...... 3458 | { "button text:" fontpack_Icon " " uiTextAction_ColorEscape "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } ...... 3478 | { "dropdown id:prefs.collapsepre", 0, 0, (const void *) collapseItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } ...... 3478 | { "dropdown id:prefs.collapsepre", 0, 0, (const void *) collapseItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3462:45: warning: missing braces around initializer [-Wmissing-braces] 3462 | const iMenuItem stylePanelItems[] = { | ^ 3463 | { "title id:heading.prefs.style" }, 3464 | { "radio horizontal:1 id:prefs.linewidth", 0, 0, (const void *) lineWidthItems }, | { } ...... 3473 | { "radio id:prefs.quoteicon", 0, 0, (const void *) quoteItems }, | { } 3474 | { "buttons id:prefs.boldlink", 0, 0, (const void *) boldLinkItems }, | { } ...... 3478 | { "dropdown id:prefs.collapsepre", 0, 0, (const void *) collapseItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3501:48: warning: missing braces around initializer [-Wmissing-braces] 3501 | const iMenuItem identityPanelItems[] = { | ^ ...... 3504 | { "navi.action id:prefs.ident.import text:" import_Icon, 0, 0, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3501:48: warning: missing braces around initializer [-Wmissing-braces] 3501 | const iMenuItem identityPanelItems[] = { | ^ ...... 3504 | { "navi.action id:prefs.ident.import text:" import_Icon, 0, 0, "ident.import" }, | { } 3505 | { "navi.action id:prefs.ident.new text:" add_Icon, 0, 0, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3501:48: warning: missing braces around initializer [-Wmissing-braces] 3501 | const iMenuItem identityPanelItems[] = { | ^ ...... 3504 | { "navi.action id:prefs.ident.import text:" import_Icon, 0, 0, "ident.import" }, | { } 3505 | { "navi.action id:prefs.ident.new text:" add_Icon, 0, 0, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3519:47: warning: missing braces around initializer [-Wmissing-braces] 3519 | const iMenuItem snippetPanelItems[] = { | ^ ...... 3522 | { "navi.action id:sniped.new text:" add_Icon, 0, 0, "sniped.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3519:47: warning: missing braces around initializer [-Wmissing-braces] 3519 | const iMenuItem snippetPanelItems[] = { | ^ ...... 3522 | { "navi.action id:sniped.new text:" add_Icon, 0, 0, "sniped.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3533 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3533 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3533 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3534 | { "padding" }, 3535 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3533 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3534 | { "padding" }, 3535 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3533 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3534 | { "padding" }, 3535 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 3536 | { "padding" }, 3537 | { "button text:" download_Icon " ${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3525:44: warning: missing braces around initializer [-Wmissing-braces] 3525 | const iMenuItem userPanelItems[] = { | ^ ...... 3528 | { "button text:" export_Icon " " uiTextAction_ColorEscape "${menu.export}", 0, 0, "export" }, | { } 3529 | { "button text:" import_Icon " " uiTextAction_ColorEscape "${menu.import}", 0, 0, "file.open" }, | { } 3530 | { "padding" }, 3531 | { "button text:" book_Icon " ${menu.bookmarks.list}", 0, 0, "!open url:about:bookmarks" }, | { } 3532 | { "button text:" bookmark_Icon " ${menu.bookmarks.bytag}", 0, 0, "!open url:about:bookmarks?tags" }, | { } 3533 | { "button text:" clock_Icon " ${macos.menu.bookmarks.bytime}", 0, 0, "!open url:about:bookmarks?created" }, | { } 3534 | { "padding" }, 3535 | { "button text:" star_Icon " ${menu.feeds.entrylist}", 0, 0, "!open url:about:feeds" }, | { } 3536 | { "padding" }, 3537 | { "button text:" download_Icon " ${menu.downloads}", 0, 0, "downloads.open" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } 3547 | { "button text:" person_Icon " " uiTextAction_ColorEscape "@jk@skyjake.fi", 0, 0, "!open default:1 url:https://skyjake.fi/@jk" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } 3547 | { "button text:" person_Icon " " uiTextAction_ColorEscape "@jk@skyjake.fi", 0, 0, "!open default:1 url:https://skyjake.fi/@jk" }, | { } 3548 | { "button text:" envelope_Icon " " uiTextAction_ColorEscape "${menu.email}", 0, 0, "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } 3547 | { "button text:" person_Icon " " uiTextAction_ColorEscape "@jk@skyjake.fi", 0, 0, "!open default:1 url:https://skyjake.fi/@jk" }, | { } 3548 | { "button text:" envelope_Icon " " uiTextAction_ColorEscape "${menu.email}", 0, 0, "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } 3547 | { "button text:" person_Icon " " uiTextAction_ColorEscape "@jk@skyjake.fi", 0, 0, "!open default:1 url:https://skyjake.fi/@jk" }, | { } 3548 | { "button text:" envelope_Icon " " uiTextAction_ColorEscape "${menu.email}", 0, 0, "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } 3549 | { "padding" }, 3550 | { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } 3547 | { "button text:" person_Icon " " uiTextAction_ColorEscape "@jk@skyjake.fi", 0, 0, "!open default:1 url:https://skyjake.fi/@jk" }, | { } 3548 | { "button text:" envelope_Icon " " uiTextAction_ColorEscape "${menu.email}", 0, 0, "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } 3549 | { "padding" }, 3550 | { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, | { } 3551 | { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3540:47: warning: missing braces around initializer [-Wmissing-braces] 3540 | const iMenuItem supportPanelItems[] = { | ^ ...... 3543 | { "button text:" star_Icon " ${menu.releasenotes}", 0, 0, "!open url:about:version" }, | { } 3544 | { "button text:" info_Icon " ${menu.help}", 0, 0, "!open url:about:help" }, | { } 3545 | { "padding" }, 3546 | { "button text:" globe_Icon " " uiTextAction_ColorEscape "${menu.website}", 0, 0, "!open url:https://gmi.skyjake.fi/lagrange" }, | { } 3547 | { "button text:" person_Icon " " uiTextAction_ColorEscape "@jk@skyjake.fi", 0, 0, "!open default:1 url:https://skyjake.fi/@jk" }, | { } 3548 | { "button text:" envelope_Icon " " uiTextAction_ColorEscape "${menu.email}", 0, 0, "!open default:1 url:mailto:jaakko.keranen@iki.fi" }, | { } 3549 | { "padding" }, 3550 | { "button text:" info_Icon " ${menu.aboutpages}", 0, 0, "!open url:about:about" }, | { } 3551 | { "button text:" bug_Icon " ${menu.debug}", 0, 0, "!open url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3566 | { "padding" }, 3567 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3566 | { "padding" }, 3567 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3568 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3566 | { "padding" }, 3567 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3568 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3566 | { "padding" }, 3567 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3568 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } ...... 3571 | { "panel text:" info_Icon " ${heading.prefs.support}", 0, 0, (const void *) supportPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3554:51: warning: missing braces around initializer [-Wmissing-braces] 3554 | iWidget *dlg = makePanels_Mobile("prefs", (iMenuItem[]){ | ^ ...... 3558 | { "panel text:" gear_Icon " ${heading.prefs.general}", 0, 0, (const void *) generalPanelItems }, | { } 3559 | { "panel icon:0x1f4f1 id:heading.prefs.interface", 0, 0, (const void *) uiPanelItems }, | { } 3560 | { "panel icon:0x1f5a7 id:heading.prefs.network", 0, 0, (const void *) networkPanelItems }, | { } 3561 | { "panel noscroll:1 text:" person_Icon " ${sidebar.identities}", 0, 0, (const void *) identityPanelItems }, | { } 3562 | { "padding" }, 3563 | { "panel icon:0x1f3a8 id:heading.prefs.colors", 0, 0, (const void *) colorPanelItems }, | { } 3564 | { "panel icon:0x1f5da id:heading.prefs.fonts", 0, 0, (const void *) fontPanelItems }, | { } 3565 | { "panel icon:0x1f660 id:heading.prefs.style", 0, 0, (const void *) stylePanelItems }, | { } 3566 | { "padding" }, 3567 | { "panel icon:0x1f4e6 id:heading.prefs.user", 0, 0, (const void *) userPanelItems }, | { } 3568 | { "panel icon:0x1f4cb id:heading.prefs.snip", 0, 0, (const void *) snippetPanelItems }, | { } ...... 3571 | { "panel text:" info_Icon " ${heading.prefs.support}", 0, 0, (const void *) supportPanelItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3923:33: warning: missing braces around initializer [-Wmissing-braces] 3923 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3923:33: warning: missing braces around initializer [-Wmissing-braces] 3923 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3923:33: warning: missing braces around initializer [-Wmissing-braces] 3923 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } 3924 | { "---" }, 3925 | { "${close}", SDLK_ESCAPE, 0, "prefs.dismiss" } }; | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3923:33: warning: missing braces around initializer [-Wmissing-braces] 3923 | const iMenuItem actions[] = { { "${menu.fonts}", 0, 0, "!open url:about:fonts" }, | ^ | { } 3924 | { "---" }, 3925 | { "${close}", SDLK_ESCAPE, 0, "prefs.dismiss" } }; | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeBookmarkFolderActions_MenuItem’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3943:30: warning: missing braces around initializer [-Wmissing-braces] 3943 | pushBack_Array(folders, &(iMenuItem){ "\u2014", 0, 0, format_CStr("%s arg:0", command) }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:3958:14: warning: missing braces around initializer [-Wmissing-braces] 3958 | &(iMenuItem){ cstr_String(title), | ^ ...... 3961 | format_CStr("%s arg:%u", command, id_Bookmark(bm)) }); | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeBookmarkEditor_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4011:36: warning: missing braces around initializer [-Wmissing-braces] 4011 | const iMenuItem dupActions[] = { | ^ 4012 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4011:36: warning: missing braces around initializer [-Wmissing-braces] 4011 | const iMenuItem dupActions[] = { | ^ 4012 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4011:36: warning: missing braces around initializer [-Wmissing-braces] 4011 | const iMenuItem dupActions[] = { | ^ 4012 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } 4013 | { "---" }, 4014 | { "${cancel}", SDLK_ESCAPE, 0, "bmed.cancel" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4011:36: warning: missing braces around initializer [-Wmissing-braces] 4011 | const iMenuItem dupActions[] = { | ^ 4012 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } 4013 | { "---" }, 4014 | { "${cancel}", SDLK_ESCAPE, 0, "bmed.cancel" }, | { } 4015 | { uiTextAction_ColorEscape "${dlg.bookmark.save}", SDLK_RETURN, KMOD_ACCEPT, "bmed.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4011:36: warning: missing braces around initializer [-Wmissing-braces] 4011 | const iMenuItem dupActions[] = { | ^ 4012 | { "${menu.dup}", 0, 0, "bmed.dup" }, | { } 4013 | { "---" }, 4014 | { "${cancel}", SDLK_ESCAPE, 0, "bmed.cancel" }, | { } 4015 | { uiTextAction_ColorEscape "${dlg.bookmark.save}", SDLK_RETURN, KMOD_ACCEPT, "bmed.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c: In function ‘processEvent_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c:1570:32: warning: unused variable ‘win’ [-Wunused-variable] 1570 | const iWindow *win = window_Widget(d); | ^~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4020:37: warning: missing braces around initializer [-Wmissing-braces] 4020 | pushBack_Array(identItems, &(iMenuItem){ "\u2014", 0, 0, "bmed.setident fp:" }); | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4029:41: warning: missing braces around initializer [-Wmissing-braces] 4029 | const iMenuItem folderItems[] = { | ^ ...... 4033 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4029:41: warning: missing braces around initializer [-Wmissing-braces] 4029 | const iMenuItem folderItems[] = { | ^ ...... 4033 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4029:41: warning: missing braces around initializer [-Wmissing-braces] 4029 | const iMenuItem folderItems[] = { | ^ ...... 4033 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c: In function ‘removeChild_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c:2170:11: warning: variable ‘found’ set but not used [-Wunused-but-set-variable] 2170 | iBool found = iFalse; | ^~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:60: /builddir/build/BUILD/lagrange-1.17.5/src/stb_image.h: In function ‘stbi__load_gif_main’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.c:202:12: warning: ‘treeSize_Widget_’ defined but not used [-Wunused-function] 202 | static int treeSize_Widget_(const iWidget *d, int n) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/stb_image.h:6779:11: warning: variable ‘delays_size’ set but not used [-Wunused-but-set-variable] 6779 | int delays_size = 0; | ^~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4037:35: warning: missing braces around initializer [-Wmissing-braces] 4037 | const iMenuItem items[] = { | ^ ...... 4045 | (const void *) constData_Array(parentFolderItems) }, | { } ...... 4048 | (const void *) constData_Array(identItems) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/stb_image.h:6778:11: warning: variable ‘out_size’ set but not used [-Wunused-but-set-variable] 6778 | int out_size = 0; | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeFeedSettings_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4270:35: warning: missing braces around initializer [-Wmissing-braces] 4270 | const iMenuItem actions[] = { { "${cancel}" }, | ^ ...... 4275 | format_CStr("feedcfg.accept bmid:%d", bookmarkId) } }; | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4270:35: warning: missing braces around initializer [-Wmissing-braces] 4270 | const iMenuItem actions[] = { { "${cancel}" }, | ^ ...... 4275 | format_CStr("feedcfg.accept bmid:%d", bookmarkId) } }; | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4277:39: warning: missing braces around initializer [-Wmissing-braces] 4277 | const iMenuItem typeItems[] = { | ^ 4278 | { "button id:feedcfg.type.gemini label:dlg.feed.type.gemini", 0, 0, "feedcfg.type arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4277:39: warning: missing braces around initializer [-Wmissing-braces] 4277 | const iMenuItem typeItems[] = { | ^ 4278 | { "button id:feedcfg.type.gemini label:dlg.feed.type.gemini", 0, 0, "feedcfg.type arg:0" }, | { } 4279 | { "button id:feedcfg.type.headings label:dlg.feed.type.headings", 0, 0, "feedcfg.type arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4277:39: warning: missing braces around initializer [-Wmissing-braces] 4277 | const iMenuItem typeItems[] = { | ^ 4278 | { "button id:feedcfg.type.gemini label:dlg.feed.type.gemini", 0, 0, "feedcfg.type arg:0" }, | { } 4279 | { "button id:feedcfg.type.headings label:dlg.feed.type.headings", 0, 0, "feedcfg.type arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4282:44: warning: missing braces around initializer [-Wmissing-braces] 4282 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4285 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4282:44: warning: missing braces around initializer [-Wmissing-braces] 4282 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4285 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4282:44: warning: missing braces around initializer [-Wmissing-braces] 4282 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4285 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4282:44: warning: missing braces around initializer [-Wmissing-braces] 4282 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4285 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4282:44: warning: missing braces around initializer [-Wmissing-braces] 4282 | dlg = makePanels_Mobile("feedcfg", (iMenuItem[]){ | ^ ...... 4285 | { "radio id:dlg.feed.entrytype", 0, 0, (const void *) typeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeSiteSpecificSettings_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4399:33: warning: missing braces around initializer [-Wmissing-braces] 4399 | const iMenuItem actions[] = { | ^ 4400 | { "${cancel}" }, 4401 | { uiTextAction_ColorEscape "${sitespec.accept}", SDLK_RETURN, KMOD_ACCEPT, "sitespec.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4399:33: warning: missing braces around initializer [-Wmissing-braces] 4399 | const iMenuItem actions[] = { | ^ 4400 | { "${cancel}" }, 4401 | { uiTextAction_ColorEscape "${sitespec.accept}", SDLK_RETURN, KMOD_ACCEPT, "sitespec.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeSnippetCreation_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4483:33: warning: missing braces around initializer [-Wmissing-braces] 4483 | const iMenuItem actions[] = { | ^ 4484 | { "${cancel}" }, 4485 | { uiTextAction_ColorEscape "${snip.accept}", SDLK_RETURN, KMOD_ACCEPT, "snip.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4483:33: warning: missing braces around initializer [-Wmissing-braces] 4483 | const iMenuItem actions[] = { | ^ 4484 | { "${cancel}" }, 4485 | { uiTextAction_ColorEscape "${snip.accept}", SDLK_RETURN, KMOD_ACCEPT, "snip.accept" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeLinkImporter_Widget’: [ 87%] Building C object CMakeFiles/app.dir/src/ui/inputwidget.c.o /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4552:33: warning: missing braces around initializer [-Wmissing-braces] 4552 | const iMenuItem actions[] = { | ^ ...... 4558 | "dlg.import.accept" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4552:33: warning: missing braces around initializer [-Wmissing-braces] 4552 | const iMenuItem actions[] = { | ^ ...... 4558 | "dlg.import.accept" }, | { } /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/inputwidget.c.o -MF CMakeFiles/app.dir/src/ui/inputwidget.c.o.d -o CMakeFiles/app.dir/src/ui/inputwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4564:40: warning: missing braces around initializer [-Wmissing-braces] 4564 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4567 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4564:40: warning: missing braces around initializer [-Wmissing-braces] 4564 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4567 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4564:40: warning: missing braces around initializer [-Wmissing-braces] 4564 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4567 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4564:40: warning: missing braces around initializer [-Wmissing-braces] 4564 | dlg = makePanels_Mobile(dlgId, (iMenuItem[]){ | ^ ...... 4567 | { "dropdown id:dlg.import.intofolder", 0, 0, (const void *) constData_Array(folders) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4580:23: warning: unused variable ‘intoFolder’ [-Wunused-variable] 4580 | iLabelWidget *intoFolder = addDialogDropMenu_(headings, | ^~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeIdentityCreation_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4604:33: warning: missing braces around initializer [-Wmissing-braces] 4604 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4604:33: warning: missing braces around initializer [-Wmissing-braces] 4604 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4604:33: warning: missing braces around initializer [-Wmissing-braces] 4604 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } 4605 | { "---" }, 4606 | { "${cancel}", SDLK_ESCAPE, 0, "ident.cancel" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4604:33: warning: missing braces around initializer [-Wmissing-braces] 4604 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } 4605 | { "---" }, 4606 | { "${cancel}", SDLK_ESCAPE, 0, "ident.cancel" }, | { } ...... 4610 | "ident.accept" } }; | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4604:33: warning: missing braces around initializer [-Wmissing-braces] 4604 | const iMenuItem actions[] = { { "${dlg.newident.more}", 0, 0, "ident.showmore" }, | ^ | { } 4605 | { "---" }, 4606 | { "${cancel}", SDLK_ESCAPE, 0, "ident.cancel" }, | { } ...... 4610 | "ident.accept" } }; | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4614:36: warning: missing braces around initializer [-Wmissing-braces] 4614 | const iMenuItem scopeItems[] = { | ^ 4615 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4614:36: warning: missing braces around initializer [-Wmissing-braces] 4614 | const iMenuItem scopeItems[] = { | ^ 4615 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4616 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4614:36: warning: missing braces around initializer [-Wmissing-braces] 4614 | const iMenuItem scopeItems[] = { | ^ 4615 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4616 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } 4617 | { format_CStr("${dlg.newident.scope.dir}:\n%s", cstr_Rangecc(urlDirectory_String(docUrl))), 0, 0, "ident.scope arg:2" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4614:36: warning: missing braces around initializer [-Wmissing-braces] 4614 | const iMenuItem scopeItems[] = { | ^ 4615 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4616 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } 4617 | { format_CStr("${dlg.newident.scope.dir}:\n%s", cstr_Rangecc(urlDirectory_String(docUrl))), 0, 0, "ident.scope arg:2" }, | { } 4618 | { format_CStr("${dlg.newident.scope.page}:\n%s", cstr_Rangecc(url.path)), 0, 0, "ident.scope arg:3" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4614:36: warning: missing braces around initializer [-Wmissing-braces] 4614 | const iMenuItem scopeItems[] = { | ^ 4615 | { "${dlg.newident.scope.none}", 0, 0, "ident.scope arg:0" }, | { } 4616 | { format_CStr("${dlg.newident.scope.domain}:\n%s", cstr_Rangecc(url.host)), 0, 0, "ident.scope arg:1" }, | { } 4617 | { format_CStr("${dlg.newident.scope.dir}:\n%s", cstr_Rangecc(urlDirectory_String(docUrl))), 0, 0, "ident.scope arg:2" }, | { } 4618 | { format_CStr("${dlg.newident.scope.page}:\n%s", cstr_Rangecc(url.path)), 0, 0, "ident.scope arg:3" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:31: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4623:42: warning: missing braces around initializer [-Wmissing-braces] 4623 | dlg = makePanels_Mobile("ident", (iMenuItem[]){ | ^ ...... 4627 | (const void *) scopeItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c: In function ‘cursorToWindowCoord_InputWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:586:23: warning: unused variable ‘line’ [-Wunused-variable] 586 | const iInputLine *line = line_InputWidget_(d, pos.y); | ^~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c: In function ‘setCursor_InputWidget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:1520:11: warning: unused variable ‘ch’ [-Wunused-variable] 1520 | iChar ch = at_InputWidget_(d, pos); | ^~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c: In function ‘processTouchEvents_InputWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:2189:22: warning: unused variable ‘tapElapsed’ [-Wunused-variable] 2189 | uint32_t tapElapsed = SDL_GetTicks() - d->tapStartTime; | ^~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c: In function ‘processEvent_InputWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:2583:17: warning: unused variable ‘lineLast’ [-Wunused-variable] 2583 | const iInt2 lineLast = init_I2(endX_InputWidget_(d, d->cursor.y), d->cursor.y); | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:2582:17: warning: unused variable ‘lineFirst’ [-Wunused-variable] 2582 | const iInt2 lineFirst = init_I2(0, d->cursor.y); | ^~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:1125:14: warning: ‘isNarrow_InputWidget_’ defined but not used [-Wunused-function] 1125 | static iBool isNarrow_InputWidget_(const iInputWidget *d) { | ^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:688:15: warning: ‘length_InputWidget_’ defined but not used [-Wunused-function] 688 | static size_t length_InputWidget_(const iInputWidget *d) { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:524:17: warning: ‘rangeSize_String’ defined but not used [-Wunused-function] 524 | static iRangecc rangeSize_String(const iString *d, size_t size) { | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/inputwidget.c:67:21: warning: ‘refreshInterval_InputWidget_’ defined but not used [-Wunused-const-variable=] 67 | static const int refreshInterval_InputWidget_ = 512; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4738 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4738 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4739 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4738 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4739 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4740 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4738 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4739 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4740 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } 4741 | { "${lang.uk} - uk", 0, 0, "xlt.lang id:uk" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4738 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4739 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4740 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } 4741 | { "${lang.uk} - uk", 0, 0, "xlt.lang id:uk" }, | { } 4742 | { "${lang.zh} - zh", 0, 0, "xlt.lang id:zh" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4711:38: warning: missing braces around initializer [-Wmissing-braces] 4711 | static const iMenuItem languages[] = { | ^ 4712 | { "${lang.auto}", 0, 0, "xlt.lang id:auto" }, | { } 4713 | { "${lang.ar} - ar", 0, 0, "xlt.lang id:ar" }, | { } 4714 | { "${lang.az} - az", 0, 0, "xlt.lang id:az" }, | { } 4715 | { "${lang.ca} - ca", 0, 0, "xlt.lang id:ca" }, | { } 4716 | { "${lang.cs} - cs", 0, 0, "xlt.lang id:cs" }, | { } 4717 | { "${lang.da} - da", 0, 0, "xlt.lang id:da" }, | { } 4718 | { "${lang.de} - de", 0, 0, "xlt.lang id:de" }, | { } 4719 | { "${lang.el} - el", 0, 0, "xlt.lang id:el" }, | { } 4720 | { "${lang.en} - en", 0, 0, "xlt.lang id:en" }, | { } 4721 | { "${lang.eo} - eo", 0, 0, "xlt.lang id:eo" }, | { } 4722 | { "${lang.es} - es", 0, 0, "xlt.lang id:es" }, | { } 4723 | { "${lang.fa} - fa", 0, 0, "xlt.lang id:fa" }, | { } 4724 | { "${lang.fi} - fi", 0, 0, "xlt.lang id:fi" }, | { } 4725 | { "${lang.fr} - fr", 0, 0, "xlt.lang id:fr" }, | { } 4726 | { "${lang.ga} - ga", 0, 0, "xlt.lang id:ga" }, | { } 4727 | { "${lang.he} - he", 0, 0, "xlt.lang id:he" }, | { } 4728 | { "${lang.hi} - hi", 0, 0, "xlt.lang id:hi" }, | { } 4729 | { "${lang.hu} - hu", 0, 0, "xlt.lang id:hu" }, | { } 4730 | { "${lang.id} - id", 0, 0, "xlt.lang id:id" }, | { } 4731 | { "${lang.it} - it", 0, 0, "xlt.lang id:it" }, | { } 4732 | { "${lang.ja} - ja", 0, 0, "xlt.lang id:ja" }, | { } 4733 | { "${lang.ko} - ko", 0, 0, "xlt.lang id:ko" }, | { } 4734 | { "${lang.nl} - nl", 0, 0, "xlt.lang id:nl" }, | { } 4735 | { "${lang.pl} - pl", 0, 0, "xlt.lang id:pl" }, | { } 4736 | { "${lang.pt} - pt", 0, 0, "xlt.lang id:pt" }, | { } 4737 | { "${lang.ru} - ru", 0, 0, "xlt.lang id:ru" }, | { } 4738 | { "${lang.sk} - sk", 0, 0, "xlt.lang id:sk" }, | { } 4739 | { "${lang.sv} - sv", 0, 0, "xlt.lang id:sv" }, | { } 4740 | { "${lang.tr} - tr", 0, 0, "xlt.lang id:tr" }, | { } 4741 | { "${lang.uk} - uk", 0, 0, "xlt.lang id:uk" }, | { } 4742 | { "${lang.zh} - zh", 0, 0, "xlt.lang id:zh" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeTranslation_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4799:33: warning: missing braces around initializer [-Wmissing-braces] 4799 | const iMenuItem actions[] = { | ^ 4800 | { "${cancel}", SDLK_ESCAPE, 0, "translation.cancel" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4799:33: warning: missing braces around initializer [-Wmissing-braces] 4799 | const iMenuItem actions[] = { | ^ 4800 | { "${cancel}", SDLK_ESCAPE, 0, "translation.cancel" }, | { } 4801 | { uiTextAction_ColorEscape "${dlg.translate}", SDLK_RETURN, 0, "translation.submit" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4799:33: warning: missing braces around initializer [-Wmissing-braces] 4799 | const iMenuItem actions[] = { | ^ 4800 | { "${cancel}", SDLK_ESCAPE, 0, "translation.cancel" }, | { } 4801 | { uiTextAction_ColorEscape "${dlg.translate}", SDLK_RETURN, 0, "translation.submit" } | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4805:54: warning: missing braces around initializer [-Wmissing-braces] 4805 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4806 | { "title id:heading.translate" }, 4807 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4805:54: warning: missing braces around initializer [-Wmissing-braces] 4805 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4806 | { "title id:heading.translate" }, 4807 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4808 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4805:54: warning: missing braces around initializer [-Wmissing-braces] 4805 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4806 | { "title id:heading.translate" }, 4807 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4808 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4805:54: warning: missing braces around initializer [-Wmissing-braces] 4805 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4806 | { "title id:heading.translate" }, 4807 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4808 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4805:54: warning: missing braces around initializer [-Wmissing-braces] 4805 | dlg = makePanelsParent_Mobile(parent, "xlt", (iMenuItem[]){ | ^ 4806 | { "title id:heading.translate" }, 4807 | { "dropdown id:xlt.from text:${dlg.translate.from}", 0, 0, (const void *) languages }, | { } 4808 | { "dropdown id:xlt.to text:${dlg.translate.to}", 0, 0, (const void *) languages }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeGlyphFinder_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4890:13: warning: missing braces around initializer [-Wmissing-braces] 4890 | (iMenuItem[]){ | ^ 4891 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4890:13: warning: missing braces around initializer [-Wmissing-braces] 4890 | (iMenuItem[]){ | ^ 4891 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4892 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4890:13: warning: missing braces around initializer [-Wmissing-braces] 4890 | (iMenuItem[]){ | ^ 4891 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4892 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4890:13: warning: missing braces around initializer [-Wmissing-braces] 4890 | (iMenuItem[]){ | ^ 4891 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4892 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } ...... 4897 | cstr_String(&command) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4890:13: warning: missing braces around initializer [-Wmissing-braces] 4890 | (iMenuItem[]){ | ^ 4891 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4892 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } ...... 4897 | cstr_String(&command) }, | { } 4898 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4890:13: warning: missing braces around initializer [-Wmissing-braces] 4890 | (iMenuItem[]){ | ^ 4891 | { "${menu.fonts}", 0, 0, "!open newtab:1 url:about:fonts" }, | { } 4892 | { "${dlg.glyphfinder.disable}", 0, 0, "prefs.font.warnmissing.changed arg:0" }, | { } ...... 4897 | cstr_String(&command) }, | { } 4898 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4904:25: warning: missing braces around initializer [-Wmissing-braces] 4904 | (iMenuItem[]){ { "${menu.reload}", 0, 0, "navigate.reload" }, | ^ | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4904:25: warning: missing braces around initializer [-Wmissing-braces] 4904 | (iMenuItem[]){ { "${menu.reload}", 0, 0, "navigate.reload" }, | ^ | { } 4905 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4904:25: warning: missing braces around initializer [-Wmissing-braces] 4904 | (iMenuItem[]){ { "${menu.reload}", 0, 0, "navigate.reload" }, | ^ | { } 4905 | { "${close}", 0, 0, "cancel" } }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c: In function ‘makeUserDataImporter_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4969:33: warning: missing braces around initializer [-Wmissing-braces] 4969 | const iMenuItem actions[] = { | ^ 4970 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4969:33: warning: missing braces around initializer [-Wmissing-braces] 4969 | const iMenuItem actions[] = { | ^ 4970 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4969:33: warning: missing braces around initializer [-Wmissing-braces] 4969 | const iMenuItem actions[] = { | ^ 4970 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } 4971 | { "---" }, 4972 | { "${cancel}", SDLK_ESCAPE, 0, "importer.cancel" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4969:33: warning: missing braces around initializer [-Wmissing-braces] 4969 | const iMenuItem actions[] = { | ^ 4970 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } 4971 | { "---" }, 4972 | { "${cancel}", SDLK_ESCAPE, 0, "importer.cancel" }, | { } ...... 4975 | format_CStr("importer.accept path:%s", cstr_String(archivePath)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4969:33: warning: missing braces around initializer [-Wmissing-braces] 4969 | const iMenuItem actions[] = { | ^ 4970 | { "${menu.selectall}", 0, 0, "importer.selectall" }, | { } 4971 | { "---" }, 4972 | { "${cancel}", SDLK_ESCAPE, 0, "importer.cancel" }, | { } ...... 4975 | format_CStr("importer.accept path:%s", cstr_String(archivePath)) }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4978:43: warning: missing braces around initializer [-Wmissing-braces] 4978 | const iMenuItem bookmarkItems[] = { | ^ 4979 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4978:43: warning: missing braces around initializer [-Wmissing-braces] 4978 | const iMenuItem bookmarkItems[] = { | ^ 4979 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4980 | { "button id:importer.bookmark.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4978:43: warning: missing braces around initializer [-Wmissing-braces] 4978 | const iMenuItem bookmarkItems[] = { | ^ 4979 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4980 | { "button id:importer.bookmark.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4981 | { "button id:importer.bookmark.2 label:dlg.userdata.alldup", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4978:43: warning: missing braces around initializer [-Wmissing-braces] 4978 | const iMenuItem bookmarkItems[] = { | ^ 4979 | { "button id:importer.bookmark.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4980 | { "button id:importer.bookmark.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4981 | { "button id:importer.bookmark.2 label:dlg.userdata.alldup", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4984:42: warning: missing braces around initializer [-Wmissing-braces] 4984 | const iMenuItem snippetItems[] = { | ^ 4985 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4984:42: warning: missing braces around initializer [-Wmissing-braces] 4984 | const iMenuItem snippetItems[] = { | ^ 4985 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4986 | { "button id:importer.snippet.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 92 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 92 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 93 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 92 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 93 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 92 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 93 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } ...... 98 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:76:43: warning: missing braces around initializer [-Wmissing-braces] 76 | static const iMenuItem fileMenuItems_[] = { | ^ 77 | { "${menu.newwindow}", SDLK_n, KMOD_PRIMARY, "window.new" }, | { } 78 | { "${menu.newtab}", SDLK_t, KMOD_PRIMARY, "tabs.new append:1" }, | { } 79 | { "${menu.openlocation}", SDLK_l, KMOD_PRIMARY, "navigate.focus" }, | { } 80 | { "${menu.reopentab}", SDLK_t, KMOD_SECONDARY, "tabs.new reopen:1" }, | { } 81 | { "---" }, 82 | { "${menu.closetab}", 0, 0, "tabs.close" }, | { } 83 | { "${menu.closetab.other}", 0, 0, "tabs.close toleft:1 toright:1" }, | { } 84 | { "---" }, 85 | { saveToDownloads_Label, SDLK_s, KMOD_PRIMARY, "document.save" }, | { } 86 | { "---" }, 87 | { "${menu.userdata}", 0, 0, "submenu id:userdatamenu" }, | { } ...... 92 | { "${menu.preferences}", preferences_KeyShortcut, "preferences" }, | { } 93 | { "${menu.fonts}", 0, 0, "open newtab:1 switch:1 url:about:fonts" }, | { } ...... 98 | { "${menu.quit}", 'q', KMOD_PRIMARY, "quit" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 106 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 106 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 106 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 107 | { "---" }, 108 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 106 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 107 | { "---" }, 108 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 106 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 107 | { "---" }, 108 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } 109 | { "---" }, 110 | { "${macos.menu.find}", SDLK_f, KMOD_PRIMARY, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:103:43: warning: missing braces around initializer [-Wmissing-braces] 103 | static const iMenuItem editMenuItems_[] = { | ^ 104 | { "${menu.cut}", SDLK_x, KMOD_PRIMARY, "input.copy cut:1" }, | { } 105 | { "${menu.copy}", SDLK_c, KMOD_PRIMARY, "copy" }, | { } 106 | { "${menu.paste}", SDLK_v, KMOD_PRIMARY, "input.paste" }, | { } 107 | { "---" }, 108 | { "${menu.copy.pagelink}", SDLK_c, KMOD_PRIMARY | KMOD_SHIFT, "document.copylink" }, | { } 109 | { "---" }, 110 | { "${macos.menu.find}", SDLK_f, KMOD_PRIMARY, "focus.set id:find.input" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 129 | { "---" }, 130 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 129 | { "---" }, 130 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 131 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 129 | { "---" }, 130 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 131 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 132 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 129 | { "---" }, 130 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 131 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 132 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4984:42: warning: missing braces around initializer [-Wmissing-braces] 4984 | const iMenuItem snippetItems[] = { | ^ 4985 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4986 | { "button id:importer.snippet.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4987 | { "button id:importer.snippet.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 129 | { "---" }, 130 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 131 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 132 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 133 | { "---" }, 134 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:114:43: warning: missing braces around initializer [-Wmissing-braces] 114 | static const iMenuItem viewMenuItems_[] = { | ^ 115 | { "${menu.show.bookmarks}", '1', leftSidebarTab_KeyModifier, "sidebar.mode arg:0 toggle:1" }, | { } 116 | { "${menu.show.feeds}", '2', leftSidebarTab_KeyModifier, "sidebar.mode arg:1 toggle:1" }, | { } 117 | { "${menu.show.history}", '3', leftSidebarTab_KeyModifier, "sidebar.mode arg:2 toggle:1" }, | { } 118 | { "${menu.show.identities}", '4', leftSidebarTab_KeyModifier, "sidebar.mode arg:3 toggle:1" }, | { } 119 | { "${menu.show.outline}", '5', leftSidebarTab_KeyModifier, "sidebar.mode arg:4 toggle:1" }, | { } 120 | { "---" }, 121 | { "${menu.sidebar.left}", leftSidebar_KeyShortcut, "sidebar.toggle" }, | { } 122 | { "${menu.sidebar.right}", rightSidebar_KeyShortcut, "sidebar2.toggle" }, | { } 123 | { "---" }, 124 | { "${menu.back}", SDLK_LEFTBRACKET, KMOD_PRIMARY, "navigate.back" }, | { } 125 | { "${menu.forward}", SDLK_RIGHTBRACKET, KMOD_PRIMARY, "navigate.forward" }, | { } 126 | { "${menu.parent}", navigateParent_KeyShortcut, "navigate.parent" }, | { } 127 | { "${menu.root}", navigateRoot_KeyShortcut, "navigate.root" }, | { } 128 | { "${menu.reload}", reload_KeyShortcut, "navigate.reload" }, | { } 129 | { "---" }, 130 | { "${menu.zoom.in}", SDLK_EQUALS, KMOD_PRIMARY, "zoom.delta arg:10" }, | { } 131 | { "${menu.zoom.out}", SDLK_MINUS, KMOD_PRIMARY, "zoom.delta arg:-10" }, | { } 132 | { "${menu.zoom.reset}", SDLK_0, KMOD_PRIMARY, "zoom.set arg:100" }, | { } 133 | { "---" }, 134 | { "${menu.view.split}", SDLK_j, KMOD_PRIMARY, "submenu id:splitmenu" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 142 | { "---" }, 143 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 142 | { "---" }, 143 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 144 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 142 | { "---" }, 143 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 144 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 142 | { "---" }, 143 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 144 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } 145 | { "---" }, 146 | { "${menu.bookmarks.refresh}", 0, 0, "bookmarks.reload.remote" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 142 | { "---" }, 143 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 144 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } 145 | { "---" }, 146 | { "${menu.bookmarks.refresh}", 0, 0, "bookmarks.reload.remote" }, | { } 147 | { "${menu.feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:138:42: warning: missing braces around initializer [-Wmissing-braces] 138 | static iMenuItem bookmarksMenuItems_[] = { | ^ 139 | { "${menu.page.bookmark}", bookmarkPage_KeyShortcut, "bookmark.add" }, | { } 140 | { "${menu.page.subscribe}", subscribeToPage_KeyShortcut, "feeds.subscribe" }, | { } 141 | { "${menu.import.links}", 0, 0, "bookmark.links confirm:1" }, | { } 142 | { "---" }, 143 | { "${menu.newfolder}", 0, 0, "bookmarks.addfolder" }, | { } 144 | { "${menu.sort.alpha}", 0, 0, "bookmarks.sort" }, | { } 145 | { "---" }, 146 | { "${menu.bookmarks.refresh}", 0, 0, "bookmarks.reload.remote" }, | { } 147 | { "${menu.feeds.refresh}", refreshFeeds_KeyShortcut, "feeds.refresh" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:151:47: warning: missing braces around initializer [-Wmissing-braces] 151 | static const iMenuItem identityMenuItems_[] = { | ^ 152 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:151:47: warning: missing braces around initializer [-Wmissing-braces] 151 | static const iMenuItem identityMenuItems_[] = { | ^ 152 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 153 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:151:47: warning: missing braces around initializer [-Wmissing-braces] 151 | static const iMenuItem identityMenuItems_[] = { | ^ 152 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 153 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:151:47: warning: missing braces around initializer [-Wmissing-braces] 151 | static const iMenuItem identityMenuItems_[] = { | ^ 152 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 153 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } 154 | { "---" }, 155 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:151:47: warning: missing braces around initializer [-Wmissing-braces] 151 | static const iMenuItem identityMenuItems_[] = { | ^ 152 | { "${menu.identity.new}", newIdentity_KeyShortcut, "ident.new" }, | { } 153 | { "${menu.identity.newdomain}", 0, 0, "ident.new scope:1" }, | { } 154 | { "---" }, 155 | { "${menu.identity.import}", SDLK_m, KMOD_SECONDARY, "ident.import" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4984:42: warning: missing braces around initializer [-Wmissing-braces] 4984 | const iMenuItem snippetItems[] = { | ^ 4985 | { "button id:importer.snippet.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4986 | { "button id:importer.snippet.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4987 | { "button id:importer.snippet.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 163 | { "---" }, 164 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 163 | { "---" }, 164 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 165 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 163 | { "---" }, 164 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 165 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } 166 | { "${menu.window.full}", 0, 0, "window.fullscreen" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 163 | { "---" }, 164 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 165 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } 166 | { "${menu.window.full}", 0, 0, "window.fullscreen" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:159:45: warning: missing braces around initializer [-Wmissing-braces] 159 | static const iMenuItem windowMenuItems_[] = { | ^ 160 | { "${menu.tab.next}", 0, 0, "tabs.next" }, | { } 161 | { "${menu.tab.prev}", 0, 0, "tabs.prev" }, | { } 162 | { "${menu.duptab}", 0, 0, "tabs.new duplicate:1" }, | { } 163 | { "---" }, 164 | { "${menu.window.min}", 0, 0, "window.minimize" }, | { } 165 | { "${menu.window.max}", 0, 0, "window.maximize" }, | { } 166 | { "${menu.window.full}", 0, 0, "window.fullscreen" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 178 | { "---" }, 179 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 178 | { "---" }, 179 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 180 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4990:43: warning: missing braces around initializer [-Wmissing-braces] 4990 | const iMenuItem sitespecItems[] = { | ^ 4991 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 178 | { "---" }, 179 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 180 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 178 | { "---" }, 179 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 180 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } ...... 183 | { "${menu.aboutapp}", 0, 0, "!open newtab:1 switch:1 url:about:lagrange" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:171:43: warning: missing braces around initializer [-Wmissing-braces] 171 | static const iMenuItem helpMenuItems_[] = { | ^ 172 | #if defined (iPlatformPcDesktop) 173 | { "${menu.help}", SDLK_F1, 0, "!open newtab:1 switch:1 url:about:help" }, | { } ...... 177 | { "${menu.releasenotes}", 0, 0, "!open newtab:1 switch:1 url:about:version" }, | { } 178 | { "---" }, 179 | { "${menu.aboutpages}", 0, 0, "!open newtab:1 switch:1 url:about:about" }, | { } 180 | { "${menu.debug}", 0, 0, "!open newtab:1 switch:1 url:about:debug" }, | { } ...... 183 | { "${menu.aboutapp}", 0, 0, "!open newtab:1 switch:1 url:about:lagrange" }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 191 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 191 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 192 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 191 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 192 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 193 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 191 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 192 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 193 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } 194 | { "${menu.title.window}", 0, 0, (const void *) windowMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 191 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 192 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 193 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } 194 | { "${menu.title.window}", 0, 0, (const void *) windowMenuItems_ }, | { } 195 | { "${menu.title.help}", 0, 0, (const void *) helpMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:188:43: warning: missing braces around initializer [-Wmissing-braces] 188 | const iMenuItem topLevelMenus_Window[7] = { | ^ 189 | { "${menu.title.file}", 0, 0, (const void *) fileMenuItems_ }, | { } 190 | { "${menu.title.edit}", 0, 0, (const void *) editMenuItems_ }, | { } 191 | { "${menu.title.view}", 0, 0, (const void *) viewMenuItems_ }, | { } 192 | { "${menu.title.bookmarks}", 0, 0, (const void *) bookmarksMenuItems_ }, | { } 193 | { "${menu.title.identity}", 0, 0, (const void *) identityMenuItems_ }, | { } 194 | { "${menu.title.window}", 0, 0, (const void *) windowMenuItems_ }, | { } 195 | { "${menu.title.help}", 0, 0, (const void *) helpMenuItems_ }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4990:43: warning: missing braces around initializer [-Wmissing-braces] 4990 | const iMenuItem sitespecItems[] = { | ^ 4991 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4992 | { "button id:importer.sitespec.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4990:43: warning: missing braces around initializer [-Wmissing-braces] 4990 | const iMenuItem sitespecItems[] = { | ^ 4991 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4992 | { "button id:importer.sitespec.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4993 | { "button id:importer.sitespec.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4990:43: warning: missing braces around initializer [-Wmissing-braces] 4990 | const iMenuItem sitespecItems[] = { | ^ 4991 | { "button id:importer.sitespec.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4992 | { "button id:importer.sitespec.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4993 | { "button id:importer.sitespec.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4996:42: warning: missing braces around initializer [-Wmissing-braces] 4996 | const iMenuItem trustedItems[] = { | ^ 4997 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c: In function ‘draw_Window’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4996:42: warning: missing braces around initializer [-Wmissing-braces] 4996 | const iMenuItem trustedItems[] = { | ^ 4997 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4998 | { "button id:importer.trusted.1 label:dlg.userdata.missing", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:1584:20: warning: unused variable ‘drawCount_’ [-Wunused-variable] 1584 | extern int drawCount_; | ^~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c: In function ‘draw_MainWindow’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:1686:17: warning: unused variable ‘gotFocus’ [-Wunused-variable] 1686 | const iBool gotFocus = (winFlags & SDL_WINDOW_INPUT_FOCUS) != 0; | ^~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4996:42: warning: missing braces around initializer [-Wmissing-braces] 4996 | const iMenuItem trustedItems[] = { | ^ 4997 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4998 | { "button id:importer.trusted.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4999 | { "button id:importer.trusted.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c: In function ‘updateBookmarksMenu_Widget’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:2382:14: warning: missing braces around initializer [-Wmissing-braces] 2382 | &(iMenuItem){ format_CStr("%s %s", cstr_String(&iconStr), cstr_String(title)), | ^ ...... 2385 | isFolder_Bookmark(bm) | { ...... 2389 | cstr_String(&bm->url)) }); | } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:4996:42: warning: missing braces around initializer [-Wmissing-braces] 4996 | const iMenuItem trustedItems[] = { | ^ 4997 | { "button id:importer.trusted.0 label:dlg.userdata.no", 0, 0, "." }, | { } 4998 | { "button id:importer.trusted.1 label:dlg.userdata.missing", 0, 0, "." }, | { } 4999 | { "button id:importer.trusted.2 label:dlg.userdata.all", 0, 0, "." }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:5004:13: warning: missing braces around initializer [-Wmissing-braces] 5004 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5007 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:5004:13: warning: missing braces around initializer [-Wmissing-braces] 5004 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5007 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5008 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:5004:13: warning: missing braces around initializer [-Wmissing-braces] 5004 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5007 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5008 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } 5009 | { "radio id:import.userdata.sitespec", 0, 0, (const void *) sitespecItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:5004:13: warning: missing braces around initializer [-Wmissing-braces] 5004 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5007 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5008 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } 5009 | { "radio id:import.userdata.sitespec", 0, 0, (const void *) sitespecItems }, | { } 5010 | { "radio id:import.userdata.trusted", 0, 0, (const void *) trustedItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.c:5004:13: warning: missing braces around initializer [-Wmissing-braces] 5004 | (iMenuItem[]){ { "title id:heading.import.userdata" }, | ^ ...... 5007 | { "radio id:import.userdata.bookmarks", 0, 0, (const void *) bookmarkItems }, | { } 5008 | { "radio id:import.userdata.snippets", 0, 0, (const void *) snippetItems }, | { } 5009 | { "radio id:import.userdata.sitespec", 0, 0, (const void *) sitespecItems }, | { } 5010 | { "radio id:import.userdata.trusted", 0, 0, (const void *) trustedItems }, | { } /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c: At top level: /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:448:15: warning: ‘rootAt_Window_’ defined but not used [-Wunused-function] 448 | static iRoot *rootAt_Window_(const iWindow *d, iInt2 coord) { | ^~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.c:61: /builddir/build/BUILD/lagrange-1.17.5/src/stb_image_resize2.h:2866:14: warning: ‘stbir__support_zero’ defined but not used [-Wunused-function] 2866 | static float stbir__support_zero(float s, void * user_data) | ^~~~~~~~~~~~~~~~~~~ [ 88%] Building C object CMakeFiles/app.dir/src/ui/labelwidget.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/labelwidget.c.o -MF CMakeFiles/app.dir/src/ui/labelwidget.c.o.d -o CMakeFiles/app.dir/src/ui/labelwidget.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/labelwidget.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/labelwidget.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/labelwidget.c:23: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/labelwidget.c: In function ‘draw_LabelWidget_’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/labelwidget.c:473:17: warning: unused variable ‘isCaution’ [-Wunused-variable] 473 | const iBool isCaution = (colorEscape == uiTextCaution_ColorId); | ^~~~~~~~~ [ 90%] Building C object CMakeFiles/app.dir/src/ui/text_stb.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ui/text_stb.c.o -MF CMakeFiles/app.dir/src/ui/text_stb.c.o.d -o CMakeFiles/app.dir/src/ui/text_stb.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ui/text_stb.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/mobile.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/util.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/widget.h:28, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/root.h:3, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/window.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/ui/text_stb.c:48: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/text_stb.c:692:14: warning: ‘nextChar_’ defined but not used [-Wunused-function] 692 | static iChar nextChar_(const char **chPos, const char *end) { | ^~~~~~~~~ [ 92%] Building C object CMakeFiles/app.dir/src/audio/buf.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/audio/buf.c.o -MF CMakeFiles/app.dir/src/audio/buf.c.o.d -o CMakeFiles/app.dir/src/audio/buf.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/audio/buf.c [ 93%] Building C object CMakeFiles/app.dir/src/audio/player.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/audio/player.c.o -MF CMakeFiles/app.dir/src/audio/player.c.o.d -o CMakeFiles/app.dir/src/audio/player.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/audio/player.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/audio/player.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/player.c:468:12: warning: ‘silence_Player_’ defined but not used [-Wunused-function] 468 | static int silence_Player_(const iPlayer *d) { | ^~~~~~~~~~~~~~~ [ 95%] Building C object CMakeFiles/app.dir/src/audio/stb_vorbis.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/audio/stb_vorbis.c.o -MF CMakeFiles/app.dir/src/audio/stb_vorbis.c.o.d -o CMakeFiles/app.dir/src/audio/stb_vorbis.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c [ 96%] Building C object CMakeFiles/app.dir/src/updater.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/updater.c.o -MF CMakeFiles/app.dir/src/updater.c.o.d -o CMakeFiles/app.dir/src/updater.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/updater.c [ 98%] Building C object CMakeFiles/app.dir/src/ipc.c.o /usr/bin/gcc -DLAGRANGE_APP_VERSION=\"1.17.5\" -DLAGRANGE_EMB_BIN=\"/usr/share/lagrange/resources.lgr\" -DLAGRANGE_ENABLE_AUDIO=1 -DLAGRANGE_ENABLE_DOWNLOAD_EDIT=1 -DLAGRANGE_ENABLE_FRIBIDI=1 -DLAGRANGE_ENABLE_HARFBUZZ=1 -DLAGRANGE_ENABLE_IPC=1 -DLAGRANGE_ENABLE_KERNING=1 -DLAGRANGE_ENABLE_MAC_MENUS=1 -DLAGRANGE_ENABLE_MPG123=1 -DLAGRANGE_ENABLE_RESIZE_DRAW=1 -DLAGRANGE_ENABLE_STB_TRUETYPE=1 -DLAGRANGE_ENABLE_WEBP=1 -DiPlatformDesktop=1 -DiPlatformPcDesktop=1 -I/builddir/build/BUILD/lagrange-1.17.5/src -I/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build -I/usr/include/SDL2 -I/usr/include/harfbuzz -I/usr/include/sysprof-6 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/fribidi -isystem /usr/include/webp -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -std=gnu11 -Werror=implicit-function-declaration -Wno-deprecated-declarations -DSTB_VORBIS_NO_STDIO=1 -DSTB_VORBIS_NO_INTEGER_CONVERSION=1 -Werror=incompatible-pointer-types -I/usr/include/SDL2 -D_REENTRANT -MD -MT CMakeFiles/app.dir/src/ipc.c.o -MF CMakeFiles/app.dir/src/ipc.c.o.d -o CMakeFiles/app.dir/src/ipc.c.o -c /builddir/build/BUILD/lagrange-1.17.5/src/ipc.c In file included from /builddir/build/BUILD/lagrange-1.17.5/src/gmdocument.h:25, from /builddir/build/BUILD/lagrange-1.17.5/src/prefs.h:27, from /builddir/build/BUILD/lagrange-1.17.5/src/app.h:31, from /builddir/build/BUILD/lagrange-1.17.5/src/ipc.c:24: /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:185:9: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 185 | RETURN_KEY_BEHAVIOR(control_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:176:24: warning: suggest parentheses around arithmetic in operand of ‘|’ [-Wparentheses] 176 | ((newlineFlag) & 3 | ((acceptFlag) << accept_ReturnKeyFlag)) | ^ /builddir/build/BUILD/lagrange-1.17.5/src/defs.h:192:33: note: in expansion of macro ‘RETURN_KEY_BEHAVIOR’ 192 | default_ReturnKeyBehavior = RETURN_KEY_BEHAVIOR(shift_ReturnKeyFlag, 0), | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/lagrange-1.17.5/src/ui/text_stb.c:85: /builddir/build/BUILD/lagrange-1.17.5/src/ui/../stb_truetype.h: In function ‘stbtt_GetGlyphSDF’: /builddir/build/BUILD/lagrange-1.17.5/src/ui/../stb_truetype.h:4665:53: warning: ‘res[1]’ may be used uninitialized [-Wmaybe-uninitialized] 4665 | if (num >= 2 && res[1] >= 0.0f && res[1] <= 1.0f) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/ui/../stb_truetype.h:4630:28: note: ‘res[1]’ was declared here 4630 | float res[3],px,py,t,it; | ^~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c: In function ‘get_seek_page_info’: /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4633:7: warning: ‘header[0]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ^ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[0]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4633:25: warning: ‘header[1]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[1]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4633:45: warning: ‘header[2]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[2]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4633:65: warning: ‘header[3]’ may be used uninitialized [-Wmaybe-uninitialized] 4633 | if (header[0] != 'O' || header[1] != 'g' || header[2] != 'g' || header[3] != 'S') | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[3]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4646:35: warning: ‘header[6]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[6]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4646:48: warning: ‘header[7]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[7]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4646:67: warning: ‘header[8]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[8]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4646:87: warning: ‘header[9]’ may be used uninitialized [-Wmaybe-uninitialized] 4646 | z->last_decoded_sample = header[6] + (header[7] << 8) + (header[8] << 16) + (header[9] << 24); | ~~~~~~^~~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[9]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ In function ‘getn’, inlined from ‘get_seek_page_info’ at /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4635:4: /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:1351:20: warning: ‘header[26]’ may be used uninitialized [-Wmaybe-uninitialized] 1351 | if (z->stream+n > z->stream_end) { z->eof = 1; return 0; } | ~~~~~~~~~^~ /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c: In function ‘get_seek_page_info’: /builddir/build/BUILD/lagrange-1.17.5/src/audio/stb_vorbis.c:4625:10: note: ‘header[26]’ was declared here 4625 | uint8 header[27], lacing[255]; | ^~~~~~ [100%] Linking C executable lagrange /usr/bin/cmake -E cmake_link_script CMakeFiles/app.dir/link.txt --verbose=1 /usr/bin/gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes CMakeFiles/app.dir/src/main.c.o CMakeFiles/app.dir/src/app.c.o CMakeFiles/app.dir/src/bookmarks.c.o CMakeFiles/app.dir/src/export.c.o CMakeFiles/app.dir/src/feeds.c.o CMakeFiles/app.dir/src/fontpack.c.o CMakeFiles/app.dir/src/gempub.c.o CMakeFiles/app.dir/src/gmcerts.c.o CMakeFiles/app.dir/src/gmdocument.c.o CMakeFiles/app.dir/src/gmrequest.c.o CMakeFiles/app.dir/src/gmtypesetter.c.o CMakeFiles/app.dir/src/gmutil.c.o CMakeFiles/app.dir/src/gopher.c.o CMakeFiles/app.dir/src/history.c.o CMakeFiles/app.dir/src/lang.c.o CMakeFiles/app.dir/src/lookup.c.o CMakeFiles/app.dir/src/media.c.o CMakeFiles/app.dir/src/mimehooks.c.o CMakeFiles/app.dir/src/periodic.c.o CMakeFiles/app.dir/src/prefs.c.o CMakeFiles/app.dir/src/resources.c.o CMakeFiles/app.dir/src/sitespec.c.o CMakeFiles/app.dir/src/snippets.c.o CMakeFiles/app.dir/src/visited.c.o CMakeFiles/app.dir/src/ui/banner.c.o CMakeFiles/app.dir/src/ui/bindingswidget.c.o CMakeFiles/app.dir/src/ui/certimportwidget.c.o CMakeFiles/app.dir/src/ui/certlistwidget.c.o CMakeFiles/app.dir/src/ui/color.c.o CMakeFiles/app.dir/src/ui/command.c.o CMakeFiles/app.dir/src/ui/documentview.c.o CMakeFiles/app.dir/src/ui/documentwidget.c.o CMakeFiles/app.dir/src/ui/indicatorwidget.c.o CMakeFiles/app.dir/src/ui/font.c.o CMakeFiles/app.dir/src/ui/linkinfo.c.o CMakeFiles/app.dir/src/ui/listwidget.c.o CMakeFiles/app.dir/src/ui/lookupwidget.c.o CMakeFiles/app.dir/src/ui/keys.c.o CMakeFiles/app.dir/src/ui/metrics.c.o CMakeFiles/app.dir/src/ui/paint.c.o CMakeFiles/app.dir/src/ui/root.c.o CMakeFiles/app.dir/src/ui/mediaui.c.o CMakeFiles/app.dir/src/ui/mobile.c.o CMakeFiles/app.dir/src/ui/scrollwidget.c.o CMakeFiles/app.dir/src/ui/sidebarwidget.c.o CMakeFiles/app.dir/src/ui/snippetwidget.c.o CMakeFiles/app.dir/src/ui/text.c.o CMakeFiles/app.dir/src/ui/touch.c.o CMakeFiles/app.dir/src/ui/translation.c.o CMakeFiles/app.dir/src/ui/uploadwidget.c.o CMakeFiles/app.dir/src/ui/util.c.o CMakeFiles/app.dir/src/ui/visbuf.c.o CMakeFiles/app.dir/src/ui/window.c.o CMakeFiles/app.dir/src/ui/widget.c.o CMakeFiles/app.dir/src/ui/inputwidget.c.o CMakeFiles/app.dir/src/ui/labelwidget.c.o CMakeFiles/app.dir/src/ui/text_stb.c.o CMakeFiles/app.dir/src/audio/buf.c.o CMakeFiles/app.dir/src/audio/player.c.o CMakeFiles/app.dir/src/audio/stb_vorbis.c.o CMakeFiles/app.dir/src/updater.c.o CMakeFiles/app.dir/src/ipc.c.o -o lagrange /usr/lib64/lib_Foundation.so.1.7.0 -L/usr/lib64 -lSDL2 -lharfbuzz -lfribidi /usr/lib64/libmpg123.so /usr/lib64/libwebp.so -lpthread -lm gmake[2]: Leaving directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' [100%] Built target app gmake[1]: Leaving directory '/builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/lagrange-1.17.5/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Qs1Lyq + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lagrange-1.17.5 + DESTDIR=/builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/bin/lagrange -- Installing: /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/applications/fi.skyjake.Lagrange.desktop -- Installing: /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/icons/hicolor/256x256/apps/fi.skyjake.Lagrange.png -- Installing: /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml -- Installing: /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/man/man1/lagrange.1 -- Installing: /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/lagrange/resources.lgr + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.17.5-1.fc40 --unique-debug-suffix -1.17.5-1.fc40.riscv64 --unique-debug-src-base lagrange-1.17.5-1.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/lagrange-1.17.5 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/lagrange-1.17.5-1.fc40.riscv64 7531 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kNjzzM + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd lagrange-1.17.5 + desktop-file-validate /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64//usr/share/applications/fi.skyjake.Lagrange.desktop + appstream-util validate-relax --nonet /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/metainfo/fi.skyjake.Lagrange.appdata.xml: OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: lagrange-1.17.5-1.fc40.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wqfZzg + umask 022 + cd /builddir/build/BUILD + cd lagrange-1.17.5 + DOCDIR=/builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/doc/lagrange + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/doc/lagrange + cp -pr /builddir/build/BUILD/lagrange-1.17.5/AUTHORS.md /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/doc/lagrange + cp -pr /builddir/build/BUILD/lagrange-1.17.5/README.md /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/doc/lagrange + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Fu1C6I + umask 022 + cd /builddir/build/BUILD + cd lagrange-1.17.5 + LICENSEDIR=/builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/licenses/lagrange + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/licenses/lagrange + cp -pr /builddir/build/BUILD/lagrange-1.17.5/LICENSE.md /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64/usr/share/licenses/lagrange + RPM_EC=0 ++ jobs -p + exit 0 Provides: application() application(fi.skyjake.Lagrange.desktop) lagrange = 1.17.5-1.fc40 lagrange(riscv-64) = 1.17.5-1.fc40 metainfo() metainfo(fi.skyjake.Lagrange.appdata.xml) mimehandler(x-scheme-handler/gemini) mimehandler(x-scheme-handler/gopher) mimehandler(x-scheme-handler/spartan) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libSDL2-2.0.so.0()(64bit) lib_Foundation.so.1()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libfribidi.so.0()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libharfbuzz.so.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libmpg123.so.0()(64bit) libwebp.so.7()(64bit) rtld(GNU_HASH) Processing files: lagrange-debugsource-1.17.5-1.fc40.riscv64 Provides: lagrange-debugsource = 1.17.5-1.fc40 lagrange-debugsource(riscv-64) = 1.17.5-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: lagrange-debuginfo-1.17.5-1.fc40.riscv64 Provides: debuginfo(build-id) = 95bbf14ec6d8c14499cf380054c8cef1404febe4 lagrange-debuginfo = 1.17.5-1.fc40 lagrange-debuginfo(riscv-64) = 1.17.5-1.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: lagrange-debugsource(riscv-64) = 1.17.5-1.fc40 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 Wrote: /builddir/build/RPMS/lagrange-1.17.5-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/lagrange-debuginfo-1.17.5-1.fc40.riscv64.rpm Wrote: /builddir/build/RPMS/lagrange-debugsource-1.17.5-1.fc40.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.DvxfCZ + umask 022 + cd /builddir/build/BUILD + cd lagrange-1.17.5 + /usr/bin/rm -rf /builddir/build/BUILDROOT/lagrange-1.17.5-1.fc40.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.huCmBp + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/lagrange-1.17.5-SPECPARTS + rm -rf lagrange-1.17.5 lagrange-1.17.5.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0