Compare commits

..

10 Commits

Author SHA1 Message Date
f098f7916a Version bump 2021-09-05 20:05:46 -04:00
85d67a9393 null checks in sig_handler 2021-09-05 20:03:42 -04:00
c5ac89813f Fix UI bug when losing focus of tags/mime tree 2021-09-05 19:59:01 -04:00
ec5642a3df Fix docker build for arm64 2021-09-05 13:41:08 -04:00
c1de74e7eb Fix build_arm64.sh (again) 2021-09-05 12:58:49 -04:00
f31f138f2e Set default tagline when none is specified 2021-09-05 12:53:52 -04:00
6a48b219e6 Fix build_arm64.sh & update README 2021-09-05 12:19:44 -04:00
97e56b664c
Merge pull request #182 from simon987/dev
Fix .dockerignore, add docker build for arm64
2021-09-05 11:30:03 -04:00
d0290b886b
Update .gitattributes 2021-09-05 10:16:13 -04:00
4eea376869
Merge pull request #181 from simon987/dev
v2.11.0
2021-09-05 10:02:01 -04:00
12 changed files with 43 additions and 29 deletions

View File

@ -80,7 +80,7 @@ steps:
from_secret: DOCKER_PASSWORD
repo: simon987/sist2
context: ./
dockerfile: ./Dockerfile
dockerfile: ./Dockerfile.arm64
auto_tag: true
auto_tag_suffix: arm64-linux
when:

4
.gitattributes vendored
View File

@ -1,3 +1,3 @@
CMakeModules/* linguist-vendored
web/js/*.min.js linguist-vendored
web/css/*.min.css linguist-vendored
**/*_generated.c linguist-vendored
**/*_generated.h linguist-vendored

View File

@ -51,7 +51,7 @@ sist2 (Simple incremental search tool)
1. Download sist2 executable
1. Download the [latest sist2 release](https://github.com/simon987/sist2/releases) *
1. *(or)* Download a [development snapshot](https://files.simon987.net/.gate/sist2/simon987_sist2/) *(Not recommended!)*
1. *(or)* `docker pull simon987/sist2:2.10.3-x64-linux`
1. *(or)* `docker pull simon987/sist2:2.11.0-x64-linux`
1. See [Usage guide](docs/USAGE.md)

View File

@ -14,4 +14,4 @@ rm -rf CMakeFiles CMakeCache.txt
cmake -DSIST_PLATFORM=arm64_linux -DSIST_DEBUG=on -DBUILD_TESTS=off -DCMAKE_TOOLCHAIN_FILE="${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" .
make -j $(nproc)
strip sist2
mv sist2 sist2-arm64-linux-debug
mv sist2_debug sist2-arm64-linux-debug

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -43,7 +43,7 @@ export default {
},
methods: {
handleTreeClick(node, e) {
if (e === "indeterminate" || e === "collapsed") {
if (e === "indeterminate" || e === "collapsed" || e === 'rendered' || e === "focused") {
return;
}

View File

@ -162,7 +162,7 @@ export default {
});
},
handleTreeClick(node, e) {
if (e === "indeterminate" || e === "collapsed" || e === 'rendered') {
if (e === "indeterminate" || e === "collapsed" || e === 'rendered' || e === "focused") {
return;
}

View File

@ -366,6 +366,10 @@ int web_args_validate(web_args_t *args, int argc, const char **argv) {
args->lang = DEFAULT_LANG;
}
if (args->tagline == NULL) {
args->tagline = DEFAULT_TAGLINE;
}
if (strlen(args->lang) != 2) {
fprintf(stderr, "Invalid --lang value, see usage\n");
return 1;

View File

@ -2,6 +2,8 @@
ScanCtx_t ScanCtx = {
.stat_index_size = 0,
.dbg_current_files = NULL,
.pool = NULL
};
WebCtx_t WebCtx;
IndexCtx_t IndexCtx;

View File

@ -43,6 +43,7 @@ void sig_handler(int signum) {
LOG_ERROR("*SIGNAL HANDLER*", "=============================================\n\n");
LOG_ERRORF("*SIGNAL HANDLER*", "Uh oh! Caught fatal signal: %s", strsignal(signum));
if (ScanCtx.dbg_current_files != NULL) {
GHashTableIter iter;
g_hash_table_iter_init(&iter, ScanCtx.dbg_current_files);
@ -65,8 +66,15 @@ void sig_handler(int signum) {
);
}
}
}
if (ScanCtx.pool != NULL) {
tpool_dump_debug_info(ScanCtx.pool);
}
if (IndexCtx.pool != NULL) {
tpool_dump_debug_info(IndexCtx.pool);
}
LOG_INFO(
"*SIGNAL HANDLER*",

View File

@ -49,7 +49,7 @@
#include <ctype.h>
#include "git_hash.h"
#define VERSION "2.11.0"
#define VERSION "2.11.1"
static const char *const Version = VERSION;
#ifndef SIST_PLATFORM