message
stringlengths
6
474
diff
stringlengths
8
5.22k
Migrate maker config to electron forge 6
@@ -4,12 +4,15 @@ module.exports = { { name: "@electron-forge/maker-squirrel", config: { - name: "my_app" + name: "gb_studio", + exe: "gb-studio.exe", + loadingGif: "src/assets/app/install.gif", + setupIcon: "src/assets/app/icon/app_icon.ico" } }, { name: "@electron-forge/maker-zip", - platforms: ["darwin"] + platforms...
Add missing gettext build requirement
@@ -187,13 +187,13 @@ GoAccess has minimal requirements, it's written in C and requires only ncurses. However, below is a table of some optional dependencies in some distros to build GoAccess from source. -Distro | NCurses | GeoIP (opt) | Tokyo Cabinet (opt) | OpenSSL (opt) ----------------------- | -----------------|-...
options.h: don't translate "FTP", "FTPS" & "SSH2"
@@ -249,17 +249,17 @@ gftp_config_vars gftp_global_config_vars[] = supported_gftp_protocols gftp_protocols[] = { - {N_("FTP"), rfc959_init, rfc959_register_module, "ftp", 21, 1, 1}, + { "FTP", rfc959_init, rfc959_register_module, "ftp", 21, 1, 1}, #ifdef USE_SSL - {N_("FTPS"), ftps_init, ftps_register_module, "ftps", 2...
Fix PhGetFileVersionInfoString returning invalid version strings
@@ -1627,6 +1627,10 @@ PPH_STRING PhGetFileVersionInfoString( { PPH_STRING string; + // Check if the string has a valid length. + if (length <= sizeof(WCHAR)) + return NULL; + string = PhCreateStringEx((PWCHAR)buffer, length * sizeof(WCHAR)); // length may include the null terminator. PhTrimToNullTerminatorString(strin...
list: fix add_after prev pointer reference bug
@@ -76,10 +76,10 @@ static inline void mk_list_add_after(struct mk_list *_new, } next = prev->next; - next->prev = prev; _new->next = next; _new->prev = prev; prev->next = _new; + next->prev = _new; } static inline void __mk_list_del(struct mk_list *prev, struct mk_list *next)
ParseOptionalChunks: clear int sanitizer warning clears a warning of the form: src/dec/webp_dec.c:182:62: runtime error: implicit conversion from type 'int' of value -2 (32-bit, signed) to type 'unsigned int' changed the value to (32-bit, unsigned)
@@ -179,7 +179,7 @@ static VP8StatusCode ParseOptionalChunks(const uint8_t** const data, return VP8_STATUS_BITSTREAM_ERROR; // Not a valid chunk size. } // For odd-sized chunk-payload, there's one byte padding at the end. - disk_chunk_size = (CHUNK_HEADER_SIZE + chunk_size + 1) & ~1; + disk_chunk_size = (CHUNK_HEADER_S...
nrf/readme: Update make flash command when defining board. Update the "make flash" command sample to include BOARD parameter when building for a specific target board.
@@ -54,7 +54,7 @@ By default, the PCA10040 (nrf52832) is used as compile target. To build and flas Alternatively the target board could be defined: make BOARD=pca10040 - make flash + make BOARD=pca10040 flash ## Compile and Flash with Bluetooth Stack
Make IDDoubleZ an ident
@@ -70,8 +70,8 @@ func (x ID) IsStrLiteral(m *Map) bool { func (x ID) IsIdent(m *Map) bool { if x < nBuiltInIDs { - // TODO: move Diamond into the built-in ident space. - return x == IDDiamond || (minBuiltInIdent <= x && x <= maxBuiltInIdent) + // TODO: move DoubleZ and Diamond into the built-in ident space. + return x...
fix `vswhere` detection in find_vswhere
@@ -51,6 +51,8 @@ function main(opt) opt = opt or {} -- find program + opt.check = "-?" + opt.command = "-?" opt.pathes = opt.pathes or { path.join(os.getenv("ProgramFiles(x86)"), "Microsoft Visual Studio", "Installer", "vswhere.exe"),
Unfudged brain-damaged tabs from Visual Studio
@@ -192,8 +192,8 @@ namespace ebi size_t scanned_first_value_length, scanned_second_value_length; int first_numeric_value = std::stoi(values[0], &scanned_first_value_length); int second_numeric_value = std::stoi(values[1], &scanned_second_value_length); - if (first_numeric_value > 0 || second_numeric_value < 0 || - val...
Idle task always yields after an interrupt
@@ -372,6 +372,7 @@ void iosentinel_check_now() { void idle_task() { while (1) { asm("hlt"); + sys_yield(RUNNABLE); } } @@ -398,9 +399,8 @@ void tasking_init() { //_iosentinel_task = task_spawn(update_blocked_tasks, PRIORITY_NONE); printf_info("Multitasking initialized"); + pit_callback = timer_callback_register((void*...
TC: Expand tc for kernel/clock module API's 1) Adds failure tc: invalid 'clk_id' as input to clock_getres() API. 2) Adds failure tc: invalid input to gettimeofday() API.
@@ -64,6 +64,9 @@ static void tc_clock_clock_getres(void) TC_ASSERT_EQ("clock_getres", st_res.tv_sec, 0); TC_ASSERT_EQ("clock_getres", st_res.tv_nsec, NSEC_PER_TICK); + ret_chk = clock_getres(33 , &st_res); + TC_ASSERT_EQ("clock_getres", ret_chk, ERROR); + TC_SUCCESS_RESULT(); } @@ -135,6 +138,10 @@ static void tc_cloc...
json encode test assumes buffer is 0ed
@@ -79,6 +79,8 @@ TEST_CASE(test_json_simple_encode) rc = json_encode_object_finish(&encoder); TEST_ASSERT(rc == 0); + bigbuf[buf_index] = '\0'; + /* does it match what we expect it to */ rc = strcmp(bigbuf, output); TEST_ASSERT(rc == 0);
[CUDA] Fix address space of constant global variables
@@ -248,6 +248,22 @@ void pocl_update_users_address_space(llvm::Value *inst, void pocl_fix_constant_address_space(llvm::Module *module) { + // Loop over global variables + std::vector<llvm::GlobalVariable*> globals; + for (auto G = module->global_begin(); G != module->global_end(); G++) + { + globals.push_back(&*G); + ...
apps/system/utils/utils_proc.h : Remove unnecessary #ifdef condition for proc utils We don't need to enclose with ENABLE_PROC_UTILS for using proc utils. Even it is not good to add every configs. So remove unnecessary condition.
#include <tinyara/config.h> #include <dirent.h> -#if defined(CONFIG_ENABLE_IRQINFO) || defined(CONFIG_ENABLE_IRQINFO) || defined(CONFIG_ENABLE_PS) || defined(CONFIG_ENABLE_STACKMONITOR) || defined(CONFIG_ENABLE_HEAPINFO) -#define ENABLE_PROC_UTILS -#endif - -#if defined(ENABLE_PROC_UTILS) enum proc_stat_data_e { PROC_S...
oauth2: fix missing parameter on warning message (CID 304404)
@@ -352,7 +352,7 @@ char *flb_oauth2_token_get(struct flb_oauth2 *ctx) /* Issue request */ ret = flb_http_do(c, &b_sent); if (ret != 0) { - flb_warn("[oauth2] cannot issue request, http_do=%i, ret"); + flb_warn("[oauth2] cannot issue request, http_do=%i", ret); } else { flb_info("[oauth2] HTTP Status=%i", c->resp.statu...
Fix coverity CID - Uninitialized pointer read in x942_encode_otherinfo()
@@ -164,7 +164,7 @@ static int x942_encode_otherinfo(size_t keylen, /* keylenbits must fit into 4 bytes */ if (keylen > 0xFFFFFF) - goto err; + return 0; keylen_bits = 8 * keylen; /* Calculate the size of the buffer */
runargs can be a table
@@ -226,7 +226,13 @@ function _make_targetinfo(mode, arch, target) table.insert(runenvstr, k .. "=" .. v) end targetinfo.runenvs = table.concat(runenvstr, "\n") - targetinfo.runargs = target:get("runargs") + + local runargs = target:get("runargs") + if type(runargs) == "table" then + targetinfo.runargs = table.concat(r...
[kernel] in SiconosVector(string,bool) constructor, remove bool default value This is mainly to remove ambiguity with the SiconosVector(std::vector) constructor when using C++11 initializer lists.
@@ -108,9 +108,9 @@ public: /** constructor with an input file * \param filename a std::string which contain the file path - * \param b a boolean to indicate if the file is in ascii + * \param is_ascii a boolean to indicate if the file is in ascii */ - SiconosVector(const std::string& filename, bool b = true); + Sicono...
fixed bug output format error
@@ -564,7 +564,7 @@ memset(&essidstring, 0, 36); memcpy(&essidstring, hcxrecord->essid, hcxrecord->essid_len); if(showinfo1 == TRUE) { - printf("%8x%8x%8x%8x:%02x%02x%02x%02x%02x%02x:%02x%02x%02x%02x%02x%02x:%s\n", + printf("%08x%08x%08x%08x:%02x%02x%02x%02x%02x%02x:%02x%02x%02x%02x%02x%02x:%s\n", hash[0], hash[1], has...
Try again on updating the version.
/* Don't nuke this block! It is used for automatically updating the * versions below. VERSION = string formatting, VERNUM = numbered * version for inline testing: increment both or none at all.*/ -#define RUBY_LIBXML_VERSION "3.2.3" -#define RUBY_LIBXML_VERNUM 323 +#define RUBY_LIBXML_VERSION "3.2.4" +#define RUBY_LIBX...
Detailed messages about sba failures
@@ -294,23 +294,23 @@ static double run_sba_find_3d_structure(SBAData *d, PoserDataLight *pdl, Survive } double rtn = -1; - if (status > 0 && (info[1] / meas_size * 2) < d->max_error) { + bool status_failure = status <= 0; + bool error_failure = (info[1] / meas_size * 2) >= d->max_error; + if (!status_failure && !error...
board/sweetberry/board.c: Format with clang-format BRANCH=none TEST=none
@@ -59,38 +59,33 @@ struct dwc_usb usb_ctl = { /* I2C ports */ const struct i2c_port_t i2c_ports[] = { - { - .name = "i2c1", + { .name = "i2c1", .port = I2C_PORT_0, .kbps = 400, .scl = GPIO_I2C1_SCL, - .sda = GPIO_I2C1_SDA - }, - { - .name = "i2c2", + .sda = GPIO_I2C1_SDA }, + { .name = "i2c2", .port = I2C_PORT_1, .kbp...
fcrypt: add documentation about textmode See for discussion.
@@ -66,15 +66,15 @@ Please refer to [crypto](../crypto/). You can mount the plugin with encryption enabled like this: - kdb mount test.ecf /t fcrypt encrypt/key=DDEBEF9EE2DC931701338212DAF635B17F230E8D + kdb mount test.ecf /t fcrypt "encrypt/key=DDEBEF9EE2DC931701338212DAF635B17F230E8D" If you only want to sign the con...
network: fix poll(2) call fd Fixes small bug for (commit b8689c0afbcf308f1844b8e1611381ada80c8f6d) One was added accidentally to fd. pfd_read.fd = fd + 1; => pfd_read.fd = fd;
@@ -270,7 +270,7 @@ static int net_connect_sync(int fd, const struct sockaddr *addr, socklen_t addrl * for this use case. */ - pfd_read.fd = fd + 1; + pfd_read.fd = fd; pfd_read.events = POLLIN; ret = poll(&pfd_read, 1, connect_timeout * 1000); if (ret == 0) {
initialize iceflowtot to 0
@@ -1152,6 +1152,7 @@ void InitializeClimateParams(BODY *body, int iBody, int iVerbose) { body[iBody].daEnerResWAnn = malloc(body[iBody].iNumLats*sizeof(double)); body[iBody].bSnowball = 0; body[iBody].dFluxInGlobal = 0; + body[iBody].dIceFlowTot = 0; if (body[iBody].bColdStart) { Toffset = -40.0;
Just do one specific test for now
@@ -43,4 +43,4 @@ jobs: run: | sudo apt-get update sudo apt-get install -y valgrind - valgrind -v --error-exitcode=1 --track-origins=yes ./picoquic_ct -n \ No newline at end of file + valgrind -v --error-exitcode=1 --track-origins=yes ./picoquic_ct zero_rtt_many_losses \ No newline at end of file
Remove useless prefetch in ip4-rewrite node Prefetching first 2 packets' header is useless cause of the prefetching action is not done before using the packets. There's no performance drop in Xeon platform and slightly performance gain in Atom platform after rmoving the prefetch.
@@ -2197,7 +2197,7 @@ ip4_rewrite_inline (vlib_main_t * vm, if (n_left_from >= 6) { int i; - for (i = 0; i < 6; i++) + for (i = 2; i < 6; i++) vlib_prefetch_buffer_header (bufs[i], LOAD); }
Add arch detection in build tool
@@ -66,6 +66,12 @@ while getopts c:dhpsv-: opt_val; do esac done +arch= +case $(uname -m) in + x86_64) arch=x86_64;; + *) arch=unknown;; +esac + warn() { echo "Warning: $*" >&2 } @@ -201,6 +207,11 @@ build_target() { ;; *) fatal "Unknown build config \"$1\"";; esac + + case $arch in + x86_64) add cc_flags -march=nehale...
firdecim/autotest: using prototype generation for block test
@@ -70,13 +70,15 @@ void autotest_firdecim_block() { unsigned int M = 4; unsigned int m = 12; + float beta = 0.3f; unsigned int num_blocks = 10 + m; float complex buf_0[M*num_blocks]; // input float complex buf_1[ num_blocks]; // output (regular) float complex buf_2[ num_blocks]; // output (block) - firdecim_crcf decim...
Remove invalid comments in pk_can_do_ext()
@@ -275,13 +275,9 @@ void pk_can_do_ext( int key_type, int key_usage, int key_alg, int key_alg2, TEST_EQUAL( mbedtls_pk_can_do_ext( &pk, alg_check ), result ); exit: - /* - * Key attributes may have been returned by psa_get_key_attributes() - * thus reset them as required. - */ psa_reset_key_attributes( &attributes ); ...
SOVERSION bump to version 2.26.0
@@ -65,8 +65,8 @@ set(LIBYANG_MICRO_VERSION 5) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) -set(LIBYANG_MINOR_SOVERSION 25) -set(LIBYANG_MICRO_SOVERSION 4) +set(LIBYANG_MINOR_SOVERSION 26) +set(LIBYANG_MICRO_...
shared-lib: preserve CFLAGS & move to MAKESTAGE=2 We do not want to override the CFLAGS, so just add -fPIC to the normal initialization of CFLAGS. Additionally, the target needs to be defined in MAKESTAGE=2, because the necessary variables are only defined in there.
@@ -319,7 +319,7 @@ endif ifeq ($(MAKESTAGE),1) .PHONY: doc/commands.txt $(TARGETS) -default all clean allclean distclean doc/commands.txt doxygen test utest utest_gpu gputest pythontest $(TARGETS): +default all clean allclean distclean doc/commands.txt doxygen test utest utest_gpu gputest pythontest shared-lib $(TARGE...
update fftmonitor doc
# EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED # WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE. """ -the :mod:`sbp.client.examples.simple` module contains a basic example of -reading SBP messages from a serial port, decoding BASELINE_NED messages and -printing them out. ...
Setting for Contactor
@@ -3189,12 +3189,14 @@ devices can operate on either battery or mains power, and can have a wide variet > Dimmer switch without neutral : Option 1 = Dimmer on/off. > Cable outlet : Option 1 = Fil pilote on/off. +> Contactor : On/off=0003 - HP/HC=0004. </description> <server> <attribute id="0x0000" type="dat16" name="O...
Fix Android compilation issue
@@ -71,7 +71,7 @@ public class MapView extends GLSurfaceView implements GLSurfaceView.Renderer, Ma public static boolean registerLicense(final String licenseKey, Context context) { // Check that native .so loading was successful if (libraryLoadingErrorCause != null) { - throw RuntimeException("Failed to load native lib...
highlevel: elektraOpen: take defaults values from metadata
@@ -47,6 +47,8 @@ static void insertDefaults (KeySet * config, const Key * parentKey, KeySet * def * a non-existent value will cause a fatal error. It is recommended, to * only pass NULL, if you are using a specification, which provides * default values inside of the KDB. + * If a key in this KeySet doesn't have a valu...
Set manufacturer name to Namron AS for all devices starting with 451270
@@ -5669,6 +5669,10 @@ void DeRestPluginPrivate::addSensorNode(const deCONZ::Node *node, const SensorFi { sensorNode.setManufacturer("Heiman"); } + else if (modelId.startsWith(QLatin1String("451270"))) + { + sensorNode.setManufacturer("Namron AS"); + } else if (node->nodeDescriptor().manufacturerCode() == VENDOR_LGE) {...
engine: added ring buffer flush request handler
#include <fluent-bit/flb_http_server.h> #include <fluent-bit/flb_metrics.h> #include <fluent-bit/flb_version.h> +#include <fluent-bit/flb_ring_buffer.h> #ifdef FLB_HAVE_METRICS #include <fluent-bit/flb_metrics_exporter.h> @@ -524,6 +525,14 @@ static int flb_engine_log_start(struct flb_config *config) return 0; } +stati...
Mark __sanitizer_cov_indir_call16 as weak to avoid problems with llvm-4.0 interfaces
@@ -234,7 +234,11 @@ ATTRIBUTE_X86_REQUIRE_SSE42 void __sanitizer_cov_trace_pc_indir(uintptr_t callee } } -ATTRIBUTE_X86_REQUIRE_SSE42 void __sanitizer_cov_indir_call16( +/* + * In LLVM-4.0 it marked (probably mistakenly) as non-weak symbol, so we need to mark it as weak + * here + */ +__attribute__((weak)) ATTRIBUTE_X...
export flag functions
@@ -546,6 +546,15 @@ struct evhtp_ssl_cfg_s { */ EVHTP_EXPORT evhtp_t * evhtp_new(evbase_t * evbase, void * arg); +EVHTP_EXPORT void evhtp_enable_flag(evhtp_t *, int); +EVHTP_EXPORT void evhtp_connection_enable_flag(evhtp_connection_t *, int); +EVHTP_EXPORT void evhtp_request_enable_flag(evhtp_request_t *, int); +EVHTP...
[mod_accesslog] flush access logs every 4 seconds
@@ -649,12 +649,10 @@ SETDEFAULTS_FUNC(log_access_open) { #define O_LARGEFILE 0 #endif -SIGHUP_FUNC(log_access_cycle) { +static void log_access_flush(server *srv, void *p_d) { plugin_data *p = p_d; size_t i; - if (!p->config_storage) return HANDLER_GO_ON; - for (i = 0; i < srv->config_context->used; i++) { plugin_confi...
fixed class name VL53L0X => VL53L1X
@@ -93,7 +93,7 @@ VL51L1X_DEFAULT_CONFIGURATION = bytes([ 0x01, # 0x86 : clear interrupt, use ClearInterrupt() */ 0x40 # 0x87 : start ranging, use StartRanging() or StopRanging(), If you want an automatic start after VL53L1X_init() call, put 0x40 in location 0x87 */ ]) -class VL53L0X: +class VL53L1X: def __init__(self,...
libcupsfilters: Double free in imagetoraster() filter function fixed
@@ -211,7 +211,7 @@ imagetoraster(int inputfd, /* I - File descriptor input stream */ xc1, yc1; ppd_file_t *ppd; /* PPD file */ ppd_choice_t *choice; /* PPD option choice */ - char *resolution = "", /* Output resolution */ + char *resolution = strdup("300dpi") , /* Output resolution */ *media_type ; /* Media type */ pp...
arch/bcm4390x: Add necessary configs which is defined in defconfig To use CY4390X board, some configurations are necessary but they are not added in bcm4390x/Kconfig. This causes disapearing of existed definition from defconfig when menuconfig is executed. This commit adds them into bcm4390x/Kconfig.
@@ -34,14 +34,26 @@ config BOOT_RESULT bool default y - config BCM4390X_BCM43907 bool default n select ARCH_CORTEXR4 select ARMV7R_ICACHE select ARMV7R_DCACHE - + select BCM4390X_UART0 + select BCM4390X_UART1 + select BCM4390X_I2C + select BCM4390X_I2C0 + select BCM4390X_I2C1 + select BCM4390X_PWM + select BCM4390X_SPI...
add authcode flow
-oidc-agent (1.1.1-2) UNRELEASED; urgency=medium +oidc-agent (1.2.0) UNRELEASED; urgency=medium [ Marcus hardt ] * Trying to fix debuild messages @@ -8,4 +8,7 @@ oidc-agent (1.1.1-2) UNRELEASED; urgency=medium * Fixes dependencies versions * adds man pages - -- Gabriel Zachmann <gabriel.zachmann@kit.edu> Tue, 19 Sep 20...
Don't restyle end of file Move the *INDENT-ON* annotation to the end of the file so that uncrustify does not restyle the later sections (since it introduces a risk of future problems).
#endif /* MSVC */ #endif /* MBEDTLS_HAVE_ASM */ -/* *INDENT-ON* */ #if !defined(MULADDC_X1_CORE) #if defined(MBEDTLS_HAVE_UDBL) #define MULADDC_X8_CORE MULADDC_X4_CORE MULADDC_X4_CORE #endif /* MULADDC_X8_CORE */ +/* *INDENT-ON* */ #endif /* bn_mul.h */
make test: fix dependencies checkstyle - doesn't need scapy/pexpect, remove it doc - scapy wasn't patched properly, fix it
@@ -54,9 +54,9 @@ wipe: reset @rm -rf $(PYTHON_VENV_PATH) @rm -f $(PAPI_INSTALL_FLAGS) -doc: verify-python-path +doc: verify-python-path $(PIP_PATCH_DONE) @virtualenv $(PYTHON_VENV_PATH) -p python2.7 - @bash -c "source $(PYTHON_VENV_PATH)/bin/activate && pip install $(PYTHON_DEPENDS) sphinx sphinx-rtd-theme" + @bash -c...
Check whether there is enough space for ND6 option headers when processing incoming packets.
@@ -123,7 +123,8 @@ static uip_ds6_prefix_t *prefix; /** Pointer to a prefix list entry */ /*------------------------------------------------------------------*/ /* Copy link-layer address from LLAO option to a word-aligned uip_lladdr_t */ static int -extract_lladdr_from_llao_aligned(uip_lladdr_t *dest) { +extract_llad...
tools: Make Utility.console_log accept Unicode and byte strings as well
@@ -3,18 +3,18 @@ import sys _COLOR_CODES = { - "white": '\033[0m', - "red": '\033[31m', - "green": '\033[32m', - "orange": '\033[33m', - "blue": '\033[34m', - "purple": '\033[35m', - "W": '\033[0m', - "R": '\033[31m', - "G": '\033[32m', - "O": '\033[33m', - "B": '\033[34m', - "P": '\033[35m' + "white": u'\033[0m', + "...
BugID:17646749:[mqtt]add port check in construct
@@ -3084,7 +3084,8 @@ void *IOT_MQTT_Construct(iotx_mqtt_param_t *pInitParams) } if (pInitParams->host == NULL || pInitParams->client_id == NULL || - pInitParams->username == NULL || pInitParams->password == NULL) { + pInitParams->username == NULL || pInitParams->password == NULL || + pInitParams->port == 0) { mqtt_err...
Fix pgbouncer compatibility in SHOW CLIENTS
@@ -529,6 +529,16 @@ od_console_show_clients_callback(od_client_t *client, void **argv) return -1; /* request_time */ rc = kiwi_be_write_data_row_add(stream, offset, NULL, -1); + if (rc == -1) + return -1; + /* wait */ + data_len = od_snprintf(data, sizeof(data), "0"); + rc = kiwi_be_write_data_row_add(stream, offset, ...
Update README.md Change z_spec to z_s
@@ -309,9 +309,9 @@ where `smooth_mass` is mass smoothing scale (in units of *M_sun*) and `odelta` i ### LSST Specifications `CCL` includes LSST specifications for the expected galaxy distributions of the full galaxy clustering sample and the lensing source galaxy sample. Start by defining a flexible photometric redshi...
libcommon/files: use open(O_DIRECTORY|O_CLOEXEC)
@@ -278,11 +278,16 @@ bool files_init(honggfuzz_t * hfuzz) return false; } - if ((hfuzz->inputDirP = opendir(hfuzz->inputDir)) == NULL) { + int dir_fd = open(hfuzz->inputDir, O_DIRECTORY | O_RDONLY | O_CLOEXEC); + if (dir_fd == -1) { + PLOG_W("open('%s', O_DIRECTORY|O_RDONLY|O_CLOEXEC)", hfuzz->inputDir); + return fals...
fast-reboot: allow mambo fast reboot independent of CPU type Don't tie mambo fast reboot to POWER8 CPU type.
@@ -363,7 +363,8 @@ void fast_reboot(void) struct cpu_thread *cpu; static int fast_reboot_count = 0; - if (proc_gen != proc_gen_p8) { + if (!chip_quirk(QUIRK_MAMBO_CALLOUTS) && + proc_gen != proc_gen_p8) { prlog(PR_DEBUG, "RESET: Fast reboot not available on this CPU\n"); return;
Prevent compiler warning in lv_draw_rect.c
@@ -1111,7 +1111,7 @@ LV_ATTRIBUTE_FAST_MEM static void shadow_draw_corner_buf(const lv_area_t * coord _lv_mem_buf_release(mask_line); if(sw == 1) { - uint32_t i; + int32_t i; lv_opa_t * res_buf = (lv_opa_t *)sh_buf; for(i = 0; i < size * size; i++) { res_buf[i] = (sh_buf[i] >> SHADOW_UPSACALE_SHIFT); @@ -1140,7 +1140,...
Docs: minor change for backout script
@@ -239,7 +239,7 @@ $ gpinitsystem -c gpconfigs/gpinitsystem_config -h gpconfigs/hostfile_gpinitsyst caused <codeph>gpinitsystem</codeph> to fail and running the backout script, you should be ready to retry initializing your Greenplum Database array.</p> <p>The following example shows how to run the backout script:</p>...
vere: filter ames by protocol #
@@ -374,9 +374,9 @@ _ames_recv_cb(uv_udp_t* wax_u, if ( 0 == nrd_i ) { _ames_free(buf_u->base); } - // check header's fourth most significant bit to ignore old protocols + // check protocol version in header matches 0 // - else if ( 0 != (1 & (*((c3_w*)buf_u->base) >> 28)) ) { + else if ( 0 != (0x7 & *((c3_w*)buf_u->ba...
config-tools: correct the confirm log When clicking the Save button in UI, the log message is incorrect for pre-launched VM. Do not show 'launch script' related message when there is only pre-launched VMs.
@@ -350,6 +350,9 @@ export default { "scenario xml save failed\n", "launch scripts generate failed\n"]; let stepDone = 0 + let totalMsg = msg.length // msg and errMsg must be same length. + let needSaveLaunchScript = false + let scenarioXMLData = configurator.convertScenarioToXML( { // simple deep copy @@ -366,6 +369,1...
CMakeLists.txt: set minimum version to 3.7 cmake/cpu.cmake (at least) requires 3.7 due to its use of GREATER_EQUAL:
# in the file PATENTS. All contributing project authors may # be found in the AUTHORS file in the root of the source tree. -cmake_minimum_required(VERSION 3.5) +cmake_minimum_required(VERSION 3.7) if(POLICY CMP0072) cmake_policy(SET CMP0072 NEW)
cirrus: add formulae as described in
@@ -118,6 +118,7 @@ mac_task: install_script: - | # Install Homebrew formulas brew install openjdk + brew tap oclint/formulae brew install oclint brew install antlr brew install antlr4-cpp-runtime
docs: readme in speculos tests
@@ -17,23 +17,33 @@ python3 -m pip install --extra-index-url https://test.pypi.org/simple/ -r requir ## Usage -Given the requirements are installed, just do: +### Compilation app +Go to the root of the repository: +```sh +make DEBUG=1 NFT_TESTING_KEY=1 BOLOS_SDK=$NANOX_SDK ``` -pytest tests/speculos/ + +Given the requi...
[yabs/vh/cms-pgaas] yolint: fix migrations.
@@ -506,9 +506,3 @@ migrations: - a.yandex-team.ru/transfer_manager/go/pkg/worker - a.yandex-team.ru/transfer_manager/go/pkg/worker_test - a.yandex-team.ru/transfer_manager/go/proto/cdc_server - - a.yandex-team.ru/yabs/vh/cms-pgaas/dhdd - - a.yandex-team.ru/yabs/vh/cms-pgaas/dhdd/db - - a.yandex-team.ru/yabs/vh/cms-pga...
Fix use-after-free in BIO_C_SET_SSL callback Since the BIO_SSL structure was renewed by `ssl_free(b)/ssl_new(b)`, the `bs` pointer needs to be updated before assigning to `bs->ssl`. Thanks to for reporting the issue and providing a fix. Closes
@@ -284,6 +284,7 @@ static long ssl_ctrl(BIO *b, int cmd, long num, void *ptr) ssl_free(b); if (!ssl_new(b)) return 0; + bs = BIO_get_data(b); } BIO_set_shutdown(b, num); ssl = (SSL *)ptr;
added additional information about promiscuous mode
hcxdumptool : added bind() ll.sll_pkttype = PACKET_OTHERHOST | PACKET_OUTGOING added setsockopt() r.mr_type = PACKET_MR_PROMISC +now dmesg will show when device entered promiscuous mode +during hcxdumptool initialization: +[ 6313.657830] device wlp3s0f0u11u1 entered promiscuous mode + +and when it left promiscuous mode...
interface: set child graph, not parent graph, upon removing hcild index
@@ -131,7 +131,7 @@ const addNodes = (json, state) => { } else { const child = graph.get(index[0]); if (child) { - graph = _remove(child.children, index.slice(1)); + child.children = _remove(child.children, index.slice(1)); graph.set(index[0], child); } }
Remove BIKE1_L1_crypto_kem_dec postconditions.
@@ -64,7 +64,7 @@ let crypto_kem_dec_unsuccessful_spec = do { ap <- out_ref char_ss_T; (b, bp) <- in_ref char_ct_T "ct"; (c, cp) <- in_ref char_sk_T "sk"; - crucible_precond {{ (BIKE1_L1_crypto_kem_dec b c).0 != SUCCESS }}; + //crucible_precond {{ (BIKE1_L1_crypto_kem_dec b c).0 != SUCCESS }}; // NOTE: This is for memo...
Silent note bug
@@ -1111,7 +1111,7 @@ static void processMusic(tic_mem* memory) if(machine->state.music.play == MusicStop) return; const tic_track* track = &machine->sound.music->tracks.data[memory->ram.music_pos.track]; - s32 row = machine->state.music.ticks++ * (track->tempo + DEFAULT_TEMPO) * DEFAULT_SPEED / (track->speed + DEFAULT...
dm: fix some possible memory leak free memory allocated by strdup()
@@ -660,7 +660,7 @@ blockif_open(const char *optstr, const char *ident) if (size < DEV_BSIZE || (size & (DEV_BSIZE - 1))) { WPRINTF(("%s size not corret, should be multiple of %d\n", nopt, DEV_BSIZE)); - return 0; + goto err; } psectsz = sbuf.st_blksize; }
Remove filename lookup
@@ -67,7 +67,7 @@ PPH_MODULE_PROVIDER PhCreateModuleProvider( static PH_INITONCE initOnce = PH_INITONCE_INIT; NTSTATUS status; PPH_MODULE_PROVIDER moduleProvider; - PPH_STRING fileName; + PPH_PROCESS_ITEM processItem; if (PhBeginInitOnce(&initOnce)) { @@ -128,9 +128,10 @@ PPH_MODULE_PROVIDER PhCreateModuleProvider( mod...
travis: don't do makefile checks
@@ -34,7 +34,7 @@ script: [[ -n ${COVERITY_SCAN_TOKEN} ]] || exit 0; # don't fail on this for PRs # ensure we end up with an existing compiler export CC=gcc - ./configure || { cat config.log ; exit 1 ; } + ./configure --disable-maintainer-mode || { cat config.log ; exit 1 ; } curl -s 'https://scan.coverity.com/scripts/...
Fixed non 64-bit mode mask-register error condition
@@ -4297,7 +4297,8 @@ static ZydisStatus ZydisCheckErrorConditions(ZydisDecoderContext* context, } break; case ZYDIS_REG_CONSTRAINTS_MASK: - if (context->cache.v_vvvv > 7) + if ((context->decoder->machineMode == ZYDIS_MACHINE_MODE_LONG_64) && + (context->cache.v_vvvv > 7)) { return ZYDIS_STATUS_BAD_REGISTER; }
mkfs fail should = build fail
@@ -10,7 +10,7 @@ mkfs/mkfs: force cd mkfs ; make image: boot/boot mkfs/mkfs examples/$(TARGET).manifest stage3/stage3 examples/$(TARGET) - mkfs/mkfs fs < examples/$(TARGET).manifest ; cat boot/boot fs > image + mkfs/mkfs fs < examples/$(TARGET).manifest && cat boot/boot fs > image examples/$(TARGET): force cd examples...
tool: elektra - update keyset before attempting to delete meta key
@@ -87,6 +87,7 @@ func (s *server) postMetaHandler(w http.ResponseWriter, r *http.Request) { // Response Code: // 201 No Content if the request is successfull. // 401 Bad Request if no key name was passed - or the key name is invalid. +// 404 Not Found if the key was not found. // // Example: `curl -X DELETE -d '{ "key...
Update: NAR_language.py: translate ^say call arguments back into learned language words
@@ -253,7 +253,13 @@ if __name__ == "__main__": print(inp) continue if not Training and (inp.startswith("<") or inp.endswith(". :|:") or inp.endswith("! :|:")): - NAR.AddInput(inp) + executions = NAR.AddInput(inp)["executions"] + if executions: + for execution in executions: + if execution["operator"] == "^say": + argu...
Mention cups-filters in pdftops debug log
@@ -919,7 +919,7 @@ main(int argc, /* I - Number of command-line args */ pdf_argv[pdf_argc++] = (char *)"-optimizecolorspace"; */ /* Issue a warning message when printing a grayscale job with Poppler */ fprintf(stderr, "WARNING: Grayscale/monochrome printing requested for this job but Poppler is not able to convert to ...
Fix error introduced when merging
@@ -496,7 +496,7 @@ size_t xStreamBufferSpacesAvailable( StreamBufferHandle_t xStreamBuffer ) { const StreamBuffer_t * const pxStreamBuffer = xStreamBuffer; size_t xSpace; - volatile size_t xOriginalTail; + size_t xOriginalTail; configASSERT( pxStreamBuffer ); @@ -726,7 +726,7 @@ static size_t prvWriteMessageToBuffer( ...
engine: use new scheduler api
@@ -115,7 +115,7 @@ static void cb_engine_sched_timer(struct flb_config *ctx, void *data) (void) data; /* Upstream connections timeouts handling */ - flb_upstream_conn_timeouts(ctx); + flb_upstream_conn_timeouts(&ctx->upstreams); } static inline int handle_output_event(flb_pipefd_t fd, struct flb_config *config) @@ -44...
Update Travis build script.
@@ -4,6 +4,9 @@ sudo: required language: c stage: build +git: + depth: 5 + notifications: email: on_success: never @@ -18,7 +21,8 @@ cache: script: # update submodules - - git submodule update --init --recursive + - git submodule update --init --depth=5 + - git -C src/micropython/ submodule update --init --depth=5 # in...
Add needed test args for ctest run.
@@ -205,6 +205,19 @@ if (BUILD_TESTING) ${test_case_name} PROPERTY ENVIRONMENT LD_PRELOAD=$<TARGET_FILE:allocator_overrides>) + + set_property( + TEST + ${test_case_name} + PROPERTY + ENVIRONMENT S2N_UNIT_TEST=1) + + set_property( + TEST + ${test_case_name} + PROPERTY + ENVIRONMENT S2N_DONT_MLOCK=1) + endforeach(test_c...
copyright + typos
-#include <stdlib.h> -#include <stdio.h> +/* Copyright 2021-2022. Uecker Lab, University Medical Center Goettingen. + * All rights reserved. Use of this source code is governed by + * a BSD-style license which can be found in the LICENSE file. + */ + #include <complex.h> #include "grecon/opt_iter6.h" #include "grecon/l...
LOVR_DEBUG_AUDIOTAP debug helper in audio.c
@@ -20,6 +20,14 @@ static const ma_format miniAudioFormatFromLovr[] = { #define OUTPUT_CHANNELS 2 #define CAPTURE_CHANNELS 1 +//#define LOVR_DEBUG_AUDIOTAP +#ifdef LOVR_DEBUG_AUDIOTAP +// To get a record of what the audio callback is playing, define LOVR_DEBUG_AUDIOTAP, +// after running look in the lovr save directory...
Add support for replacements in i10n
@@ -35,6 +35,15 @@ const translations = Object.keys(en).reduce( {} ); -export default key => { - return translations[key]; +export default (key, params = null) => { + let translation = translations[key]; + + if (params) { + Object.keys(params).forEach(param => { + const pattern = new RegExp(`{(\s+)?${param}(\s+)?}`) + ...
reordered swaylock manpage
@@ -21,20 +21,25 @@ Locks your Wayland session. All leading dashes should be omitted and the equals sign is required for flags that take an argument. -*-c, --color* <rrggbb[aa]> - Turn the screen into the given color. If -i is used, this sets the - background of the image to the given color. Defaults to white (FFFFFF),...
add check test library as build dependency
@@ -9,7 +9,8 @@ Build-Depends: debhelper (>= 9), libsodium-dev (>= 1.0.14), help2man (>= 1.46.4), libseccomp-dev (>= 2.1.1), - libmicrohttpd-dev (>= 0.9.33) + libmicrohttpd-dev (>= 0.9.33), + check (>= 0.10.0) Package: oidc-agent Architecture: any
Metrics change not needed after all...
@@ -2115,10 +2115,6 @@ cfgLogStreamDefault(config_t *cfg) cfgTransportTlsValidateServerSet(cfg, CFG_CTL, validateserver); const char *cacertpath = cfgTransportTlsCACertPath(cfg, CFG_LS); cfgTransportTlsCACertPathSet(cfg, CFG_CTL, cacertpath); - - cfgTransportTypeSet(cfg, CFG_MTC, type); - cfgTransportHostSet(cfg, CFG_M...
Restyled: Reformat JavaScript code with Prettier
-restylers_version: '20191031' +restylers_version: '20191216' auto: true restylers: @@ -6,10 +6,7 @@ restylers: # - clang-format: # image: restyled/restyler-clang-format:v9.0.0 - # TODO: Enable `prettier` again, after Restyled offers Prettier 1.19 - # See also: https://github.com/restyled-io/restylers/blob/master/prett...
Orchestra: fix building of the link-based rule after API changes
@@ -177,8 +177,8 @@ static void new_time_source(const struct tsch_neighbor *old, const struct tsch_neighbor *new) { if(new != old) { - const linkaddr_t *old_addr = old != NULL ? &old->addr : NULL; - const linkaddr_t *new_addr = new != NULL ? &new->addr : NULL; + const linkaddr_t *old_addr = tsch_queue_get_nbr_address(o...
hoon: fix batch comment parsing for ++ $ arms comments for ++ $ arms are set using four aces
%- stew ^. stet ^. limo :~ :- '|' - ;~(pfix bar (stag %chat sym)) + (stag %chat (ifix [bar cola] sym)) :- '.' - ;~(pfix dot (stag %frag sym)) + (stag %frag (ifix [dot cola] sym)) :- '+' - ;~(pfix lus (stag %funk sym)) + (stag %funk (ifix [lus cola] sym)) :- '$' - ;~(pfix buc (stag %grog sym)) + (stag %grog (ifix [buc c...
install-config-file: Catch errors in kdb ls Additionally use "test -z" instead of wc -l
@@ -32,7 +32,12 @@ fi base="${specialPathStart}${specialPathEnd}" # check if something is in <elektra path> -if [ $(kdb ls $our | wc -c) = 0 ]; then +contentOfElektraPath=$(kdb ls $our) +if [ $? -ne 0 ]; then + echo "ERROR: Could not use kdb ls on $our." + exit 1 +fi +if [ -z "$contentOfElektraPath" ]; then kdb mount -...
ChatMessage: reposition timestamp
@@ -495,7 +495,8 @@ export const Message = React.memo(({ width='36px' textAlign='right' left='0' - top='3px' + top='2px' + lineHeight="tall" fontSize={0} gray >
RTX5: add _fp_init function prototype
@@ -674,6 +674,7 @@ void osRtxKernelPreInit (void) { extern void $Super$$_fp_init (void); +void $Sub$$_fp_init (void); void $Sub$$_fp_init (void) { $Super$$_fp_init(); FPU->FPDSCR = __get_FPSCR();
accelerate md_zscalar2 on the GPU
@@ -2329,6 +2329,29 @@ complex float md_zscalar2(unsigned int D, const long dim[D], const long str1[D], complex double ret = 0.; complex double* retp = &ret; +#ifdef USE_CUDA + if (cuda_ondevice(ptr1)) { + + // FIXME: because md_zfmacc2 with stride = 0 is slow + + complex float* tmp = md_alloc_gpu(D, dim, CFL_SIZE); + ...
for 0.7-6 we will use flang branch and aomp-extras branch 0.7-6
@@ -116,7 +116,7 @@ AOMP_ROCR_REPO_BRANCH=${AOMP_ROCR_REPO_BRANCH:-roc-2.9.x} AOMP_ATMI_REPO_NAME=${AOMP_ATMI_REPO_NAME:-atmi} AOMP_ATMI_REPO_BRANCH=${AOMP_ATMI_REPO_BRANCH:-aomp-0.7} AOMP_EXTRAS_REPO_NAME=${AOMP_EXTRAS_REPO_NAME:-aomp-extras} -AOMP_EXTRAS_REPO_BRANCH=${AOMP_EXTRAS_REPO_BRANCH:-0.7-5} +AOMP_EXTRAS_REPO...
Fix system solver (local asan tests were broken)
@@ -117,12 +117,12 @@ void SolveLinearSystemCholesky(TVector<double>* matrix, return; } - char matrixStorageType = 'U'; + char matrixStorageType[] = {'U', '\0'}; int systemSize = target->ysize(); int numberOfRightHandSides = 1; int info = 0; - dposv_(&matrixStorageType, &systemSize, &numberOfRightHandSides, matrix->dat...
Check for invalid src/dst header in assignment
@@ -300,8 +300,14 @@ def gen_do_assignment(dst, src): src_hdr_name = src.path.name if src.node_type == 'PathExpression' else src.member dst_hdr_name = dst.path.name if dst.node_type == 'PathExpression' else dst.member + #{ if (unlikely(!is_header_valid(HDR(${dst_hdr_name}), pd))) { + #[ debug(" " T4LIT(!!,warning) " Ig...
OPENMV2: Update memory config to fix self-test issues.
#define OMV_BOOTLDR_LED_PORT (GPIOC) // RAW buffer size -#define OMV_RAW_BUF_SIZE (153600) +#define OMV_RAW_BUF_SIZE (155648) // Enable sensor drivers #define OMV_ENABLE_OV2640 (1) #define OMV_STACK_MEMORY DTCM // stack memory #define OMV_DMA_MEMORY SRAM2 // Misc DMA buffers -#define OMV_FB_SIZE (150K) // FB memory: he...
Docker: bumped PHP image version.
@@ -50,7 +50,7 @@ CONFIGURE_perl ?= perl INSTALL_perl ?= perl-install COPY_perl = -VERSION_php ?= 8.0 +VERSION_php ?= 8.1 CONTAINER_php ?= php:$(VERSION_php)-cli CONFIGURE_php ?= php INSTALL_php ?= php-install
awm translates mouse to local coordinates upon left click
@@ -149,6 +149,8 @@ static void _begin_left_click(mouse_interaction_state_t* state, Point mouse_poin mouse_point.x - state->active_window->frame.origin.x, mouse_point.y - state->active_window->frame.origin.y ); + local_mouse.x -= state->active_window->content_view->frame.origin.x; + local_mouse.y -= state->active_windo...
landscape: bring placeholder group joins to parity Fixes urbit/landscape#478
@@ -71,20 +71,15 @@ export function GroupLink( pr="2" onClick={showModal} cursor='pointer' + opacity={preview ? '1' : '0.6'} > - {preview ? ( - <> - <MetadataIcon height={6} width={6} metadata={preview.metadata} /> + <MetadataIcon height={6} width={6} metadata={preview ? preview.metadata : {"color": "0x0"}} /> <Col> - ...