message
stringlengths
6
474
diff
stringlengths
8
5.22k
added some more eak passwords
@@ -528,12 +528,37 @@ writepsk(pskstring); snprintf(pskstring, 64, "m%012llX", mac); writepsk(pskstring); -snprintf(pskstring, 64, "8747%04llx", mac &0xffff); +snprintf(pskstring, 64, "8747%06llx", mac &0xffffff); writepsk(pskstring); snprintf(pskstring, 64, "555A5053%08llX", mac &0xffffffff); writepsk(pskstring); +snp...
client: Send SNI
@@ -317,6 +317,7 @@ int Client::init(int fd, const Address &remote_addr) { SSL_set_bio(ssl_, bio, bio); SSL_set_app_data(ssl_, this); SSL_set_connect_state(ssl_); + SSL_set_tlsext_host_name(ssl_, "localhost"); auto callbacks = ngtcp2_conn_callbacks{ send_client_initial,
added swig dependency
@@ -65,7 +65,10 @@ This note describes how to install {\tt CCL} (Section \ref{sec:install}), its fu \section{Installation} \label{sec:install} \subsection{Dependencies} -{\tt CCL} requires the GNU Scientific Library {\ttGSL}\footnote{\url{https://www.gnu.org/software/gsl/}}, {\tt GSL-2.1} or higher. +\begin{itemize} +\...
Simplify some code The original curve448 code was templated to allow for a 25519 implementation. We've just imported the 448 stuff - but a remnant of the original templated approach remained. This just simplifies that.
@@ -40,17 +40,9 @@ static c448_error_t oneshot_hash(uint8_t *out, size_t outlen, static void clamp(uint8_t secret_scalar_ser[EDDSA_448_PRIVATE_BYTES]) { - uint8_t hibit = (1 << 0) >> 1; - - /* Blarg */ secret_scalar_ser[0] &= -COFACTOR; - if (hibit == 0) { secret_scalar_ser[EDDSA_448_PRIVATE_BYTES - 1] = 0; secret_scal...
Completions: Improve subcommand check The function `__fish_kdb_no_subcommand` now only checks the second position of the command line input for a valid subcommand.
@@ -10,7 +10,16 @@ function __input_includes -d 'Check if the current command buffer contains one o end function __fish_kdb_no_subcommand -d 'Check if the current commandline buffer does not contain a subcommand' - not __input_includes (__fish_kdb_print_subcommands) + set -l input (commandline -op) + + test (count $inp...
[mod_cgi] disable input optim if might Upgrade (thx pegasus) disable CGI stdin input optimizations if CGI might Upgrade connection, since if we upgrade protocols, the original Content-Length -- expected to be 0 for Upgrade -- does not represent the end of the input.
@@ -87,6 +87,7 @@ typedef struct { buffer *cgi_handler; /* dumb pointer */ http_response_opts opts; plugin_config conf; + off_t orig_reqbody_length; } handler_ctx; typedef struct cgi_pid_t { @@ -552,10 +553,10 @@ static handler_t cgi_response_headers(request_st * const r, struct http_response } if (hctx->conf.upgrade -...
Fix test_ext_entity_utf16_be() to work for builds
@@ -6313,11 +6313,15 @@ START_TEST(test_ext_entity_utf16_be) NULL, EE_PARSE_NONE }; +#ifdef XML_UNICODE + const XML_Char *expected = XCS("\x3c00\x6500\x2f00\x3e00"); +#else const XML_Char *expected = - "\xe3\xb0\x80" /* U+3C00 */ - "\xe6\x94\x80" /* U+6A00 */ + XCS("\xe3\xb0\x80" /* U+3C00 */ + "\xe6\x94\x80" /* U+6500...
add dots to man
@@ -84,22 +84,22 @@ The following environment variables are set by sway: _DISPLAY_ If compiled with Xwayland support and Xwayland is not disabled by the - config, this will be set to the name of the X display used for Xwayland + config, this will be set to the name of the X display used for Xwayland. _I3SOCK_ - For com...
tests: test literals in 'for'
@@ -122,6 +122,26 @@ describe("Titan code generator ", function() assert.truthy(ok, err) end) + it("tests literals in 'for'", function() + local code = [[ + function forstep(): integer + local v: integer = 0 + for i = 1, 10, 2 do + v = v + i + end + return v + end + ]] + local ast, err = parser.parse(code) + assert.tru...
Nimble: Corrected default value for ATT_PREFERRED_MTU and ACL_BUF_SIZE
@@ -311,7 +311,7 @@ config BT_NIMBLE_GAP_DEVICE_NAME_MAX_LEN config BT_NIMBLE_ATT_PREFERRED_MTU int "Preferred MTU size in octets" depends on BT_NIMBLE_ENABLED - default 512 + default 256 help This is the default value of ATT MTU indicated by the device during an ATT MTU exchange. This value can be changed using API bl...
Try to guess mesa version
@@ -1791,8 +1791,14 @@ static VkResult overlay_CreateSwapchainKHR( #endif else { ss << " " << VK_VERSION_MAJOR(prop.driverVersion); + if (VK_VERSION_PATCH(prop.driverVersion) >= 99){ + ss << "." << VK_VERSION_MINOR(prop.driverVersion) + 1; + ss << "." << "0"; + } else { ss << "." << VK_VERSION_MINOR(prop.driverVersion)...
api: fix coverity warning Type: fix Ticket:
@@ -480,10 +480,15 @@ msg_handler_internal (api_main_t * am, } *ed; ed = ELOG_DATA (am->elog_main, e); if (id < vec_len (am->msg_names)) + { ed->c = elog_string (am->elog_main, (char *) am->msg_names[id]); + ed->barrier = !am->is_mp_safe[id]; + } else + { ed->c = elog_string (am->elog_main, "BOGUS"); - ed->barrier = !a...
update the typeOfLevel concept with correct lookup paths
@@ -24,7 +24,7 @@ unsigned[4] scaledValueOfSecondFixedSurface = missing() : can_be_missing,dump,no transient pressureUnits="hPa"; -concept_nofail vertical.typeOfLevel (unknown,"typeOfLevelConcept.def",conceptsLocalMarsDirAll,conceptsMasterMarsDir); +concept_nofail vertical.typeOfLevel (unknown,"typeOfLevelConcept.def",...
Update README for NFSU FPS limit
@@ -734,6 +734,8 @@ The usage is as simple as inserting the files into game's root directory. Uninst ![](https://habrastorage.org/webt/d_/eg/ym/d_egymd6w_tem2erocab-e9ikna.png) Added an option to improve gamepad support (gamepad icons, fixed bindings etc) +![](https://habrastorage.org/webt/d_/eg/ym/d_egymd6w_tem2erocab...
Fix to use the new canardInit() function
@@ -470,7 +470,7 @@ static int canard_daemon(int argc, char *argv[]) #endif canardInit(&canard, canard_memory_pool, sizeof(canard_memory_pool), - onTransferReceived, shouldAcceptTransfer); + onTransferReceived, shouldAcceptTransfer, (void *)(12345)); canardSetLocalNodeID(&canard, CONFIG_EXAMPLES_LIBCANARD_NODE_ID); pri...
ci: fix ci_build_apps.py for linux target
@@ -60,13 +60,17 @@ def get_pytest_apps( LOGGER.info(f'Found {len(app_dirs)} apps') app_dirs.sort() + default_size_json_path = 'size.json' + if target == 'linux': # no idf_size.py for linux target + default_size_json_path = None # type: ignore + apps = find_apps( app_dirs, target=target, build_dir='build_@t_@w', config...
Fix test size scaling bug in probe-test smoke test...
@@ -21,7 +21,7 @@ typeset -i ramgb ramgb=$(awk '/^MemAvail/ {printf "%lu", $2 / 1048576}' /proc/meminfo) if ((ramgb > 16)) ; then p=$((p * 10)) - c=$((p * 10)) + c=$((c * 10)) fi oparms=(
tiny-test-fw: update sdkconfig python dictionary to contain values without trailing newlines
@@ -81,7 +81,7 @@ class IDFApp(App.BaseApp): for line in f: configs = line.split('=') if len(configs) == 2: - d[configs[0]] = configs[1] + d[configs[0]] = configs[1].rstrip() return d def get_binary_path(self, app_path):
OPENSSL_NO_ENGINE defined causes build failures TEST_note as an undefined link symbol is the symptom.
#include <stdlib.h> #include <openssl/e_os2.h> +# include "testutil.h" + #ifndef OPENSSL_NO_ENGINE # include <openssl/buffer.h> # include <openssl/crypto.h> # include <openssl/engine.h> # include <openssl/err.h> -# include "testutil.h" static void display_engine_list(void) {
cpu: fix ssse3 check ssse3 is bit in ecx, bit 1 is sse3. this only controls the check for slow ssse3 and likely had no ill effect.
@@ -143,7 +143,7 @@ static int x86CPUInfo(CPUFeature feature) { return !!(cpu_info[2] & (1 << 0)); } if (feature == kSlowSSSE3) { - if (is_intel && (cpu_info[2] & (1 << 0))) { // SSSE3? + if (is_intel && (cpu_info[2] & (1 << 9))) { // SSSE3? return CheckSlowModel(cpu_info[0]); } return 0;
mangle: typo
@@ -857,7 +857,7 @@ void mangle_mangleContent(run_t* run, int speed_factor) { changesCnt = HF_MAX(changesCnt, run->global->mutate.mutationsPerRun); } - /* If last coverage acquisition was mroe than 5 secs ago, use splicing more frequently */ + /* If last coverage acquisition was more than 5 secs ago, use splicing more ...
Prevent too fast doubled button events when the same event occurs within 500ms
@@ -2582,6 +2582,18 @@ void DeRestPluginPrivate::checkSensorButtonEvent(Sensor *sensor, const deCONZ::A ResourceItem *item = sensor->item(RStateButtonEvent); if (item) { + if (item->toNumber() == buttonMap->button) + { + QDateTime now = QDateTime::currentDateTime(); + const auto dt = item->lastSet().msecsTo(now); + + i...
CONTRIBUTING: Update for Pycopy.
When reporting an issue and especially submitting a pull request, please make sure that you are acquainted with Contributor Guidelines: -https://github.com/micropython/micropython/wiki/ContributorGuidelines +https://github.com/pfalcon/pycopy/wiki/ContributorGuidelines as well as the Code Conventions, which includes det...
Use a switch in ls() d_type handling Makes the code much easier to read.
@@ -78,7 +78,8 @@ std::vector<std::string> ls(const char* root, const char* prefix, LS_FLAGS flags || !strcmp(dp->d_name, "..")) continue; - if (dp->d_type == DT_LNK) { + switch (dp->d_type) { + case DT_LNK: { struct stat s; std::string path(root); if (path.back() != '/') @@ -92,10 +93,16 @@ std::vector<std::string> ls...
Fixed issue with talk command mark.
:: /? 310 /- talk -/+ old-zuse :: =, talk |_ cod/command |% ++ noun command :: clam from %noun ++ json - =, old-zuse - =, jo + =, dejs-soft:format |= a/json ^- command =- (need ((of -) a)) =< :~ publish+(ar thot) ^- $-(json (unit speech)) %- of :~ lin+(ot say+bo txt+so ~) - url+(su aurf:urlp) + url+(su aurf:de-purl:htm...
Add RPATH to find libhsakmt.so in lib64 for Redhat/Sles.
@@ -64,7 +64,7 @@ fi #Set common rpath for build scripts if [ $AOMP_USE_HIPVDI == 0 ] ; then - AOMP_ORIGIN_RPATH="-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=ON -DCMAKE_INSTALL_RPATH=\$ORIGIN:\$ORIGIN/../hcc/lib:\$ORIGIN/../hsa/lib:\$ORIGIN/../../hcc/lib:\$ORIGIN/../../hsa/lib:$AOMP_INSTALL_DIR/lib:$AOMP_INSTALL_DIR/hcc/lib:$A...
http_server: api: metrics: use flb_time for prometheus
#include <fluent-bit/flb_output.h> #include <fluent-bit/flb_sds.h> #include <fluent-bit/flb_version.h> +#include <fluent-bit/flb_time.h> #include "metrics.h" #include <fluent-bit/flb_http_server.h> @@ -239,7 +240,7 @@ void cb_metrics_prometheus(mk_request_t *request, void *data) char time_str[64]; char start_time_str[6...
convert_index returns Py_ssize_t
@@ -118,7 +118,7 @@ class FixedMatrix unref(); } - int convert_index(int index) const + Py_ssize_t convert_index(int index) const { if (index < 0) index += _rows; if (index >= _rows || index < 0) { @@ -141,10 +141,10 @@ class FixedMatrix } #if PY_MAJOR_VERSION > 2 } else if (PyLong_Check(index)) { - ssize_t i = convert...
wakaama: fix compilation error on wakaama There is no consideration of IPv4/IPv6 dual-stack, so fixed it.
@@ -98,9 +98,9 @@ void get_router_ip_address(char *routerIPAddr) inet_ntop(AF_INET, &addr, routerIPAddr, INET_ADDRSTRLEN); #endif #ifdef CONFIG_NET_IPv6 - struct in6_addr addr; - netlib_get_dripv6addr(mac,addr); - inet_ntop(AF_INET6, &addr, routerIPAddr, INET6_ADDRSTRLEN); + struct in6_addr addr6; + netlib_get_dripv6ad...
I/O VM-exit handler cleanup add check for spanning i/o devices access remove ASSERT in I/O instr. VM exit handler
@@ -108,10 +108,12 @@ int io_instr_vmexit_handler(struct vcpu *vcpu) if ((port >= handler->desc.addr + handler->desc.len) || (port + sz <= handler->desc.addr)) continue; - - /* Dom0 do not require IO emulation */ - if (is_vm0(vm)) - status = 0; + else if (!((port >= handler->desc.addr) && ((port + sz) + <= (handler->de...
audio/utc: Remove an unused variable total_frames is no longer used
@@ -714,7 +714,6 @@ static void utc_audio_pcm_drop_p(void) int frames_read; int remain; int size; - int total_frames; int num_read; int retry = PREPARE_RETRY_COUNT; @@ -776,7 +775,6 @@ static void utc_audio_pcm_drop_p(void) TC_ASSERT_GEQ_CLEANUP("pcm_drop", fd, 0, clean_all_data(0, buffer)); printf("Check now for recor...
libbpf-tools: Fix klockstat to finish with -R On extremely heavy lock contention, klockstat can be stuck in the loop in print_stats() since it keeps adding new entries to the stat_map. Instead of deleting the elements in the loop, process them all and then delete them at the end.
@@ -526,16 +526,9 @@ static int print_stats(struct ksyms *ksyms, int stack_map, int stat_map) warn("Out of memory\n"); return -1; } - ss->stack_id = stack_id; - if (env.reset) { - ret = bpf_map_lookup_and_delete_elem(stat_map, - &stack_id, - &ss->ls); - lookup_key = 0; - } else { + + lookup_key = ss->stack_id = stack_i...
doc,sphinx: infer current year and release from state This avoids having to update version numbers in the source and the current year whenever we make a new release.
import sys import os import re +import datetime # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -45,15 +46,18 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. + +now = ...
Fix JS padStart polyfill The prototype method is padStart not padString.
@@ -31,7 +31,7 @@ public: }; // Polyfills for older Qt versions -static const char *PF_String_prototype_padStart = "String.prototype.padString = String.prototype.padString || " +static const char *PF_String_prototype_padStart = "String.prototype.padStart = String.prototype.padStart || " "function (targetLength, padStri...
CI: bugfix: example_001a missing junit report
@@ -161,9 +161,6 @@ test_weekend_network: example_test_001A: extends: .example_test_template parallel: 4 - artifacts: - paths: - - $CI_PROJECT_DIR/examples/*/*/*.log tags: - ESP32 - Example_WIFI
enclave-tls: sanity check for the result of ecall into wolfssl init Fixes:
@@ -17,7 +17,11 @@ tls_wrapper_err_t wolfssl_sgx_init(tls_wrapper_ctx_t *ctx) ETLS_DEBUG("calling init() with enclave id %llu ...\n", ctx->enclave_id); tls_wrapper_err_t err; - ecall_wolfssl_init((sgx_enclave_id_t)ctx->enclave_id, &err, ctx); + sgx_status_t status = ecall_wolfssl_init((sgx_enclave_id_t)ctx->enclave_id,...
iommu: adding driver to the list of drivers
@@ -38,6 +38,7 @@ module /x86_64/sbin/pci auto module /x86_64/sbin/corectrl auto module /x86_64/sbin/ahcid auto module /x86_64/sbin/serial_pc16550d auto +module /x86_64/sbin/iommu auto ## For networking module /x86_64/sbin/rtl8029 auto
inversed flag fix
@@ -10,9 +10,9 @@ namespace NCatboostCuda { template <class TDescentPoint> inline void AddRidgeRegularization(double lambda, - bool hessianOnly, + bool addToTarget, TDescentPoint* pointInfo) { - if (!hessianOnly) { + if (addToTarget) { double hingeLoss = 0; { for (const auto& val : pointInfo->Point) { @@ -25,7 +25,7 @@...
lv_roller_signal: initialize `res` variable
@@ -434,7 +434,7 @@ static lv_design_res_t lv_roller_design(lv_obj_t * roller, const lv_area_t * cli */ static lv_res_t lv_roller_signal(lv_obj_t * roller, lv_signal_t sign, void * param) { - lv_res_t res; + lv_res_t res = LV_RES_OK; if(sign == LV_SIGNAL_GET_STYLE) { lv_get_style_info_t * info = param; info->result = l...
refactor: rename the function to reflect its function
@@ -1765,7 +1765,7 @@ static size_t extract_scalar (struct action * a, int i, struct e_info * info) return 1; } -static size_t apply_action (struct value * v, int idx, struct e_info * info) +static size_t apply_extraction(struct value *v, int idx, struct e_info *info) { jsmntok_t * tokens = info->tokens; char * json = ...
add sandbox.io link
@@ -16,7 +16,9 @@ by combining multiple bedtools operations on the UNIX command line. ========================== Tutorial ========================== -We have developed a fairly comprehensive `tutorial <http://quinlanlab.org/tutorials/bedtools/bedtools.html>`_ that demonstrates both the basics, as well as some more adva...
Add trace entries for remaining TLS 1.3 ciphersuites
@@ -428,6 +428,10 @@ static ssl_trace_tbl ssl_ciphers_tbl[] = { {0xCCAD, "TLS_DHE_PSK_WITH_CHACHA20_POLY1305"}, {0xCCAE, "TLS_RSA_PSK_WITH_CHACHA20_POLY1305"}, {0x1301, "TLS_AES_128_GCM_SHA256"}, + {0x1302, "TLS_AES_256_GCM_SHA384"}, + {0x1303, "TLS_CHACHA20_POLY1305_SHA256"}, + {0x1304, "TLS_AES_128_CCM_SHA256"}, + {0...
testcase/le_tc/filesystem : Add Missing TC for mount operation Add testcase for each mount point operation
#define ROOT_PATH "/" +#define NONEFS_TYPE "None FS" +#define SMARTFS_TYPE "smartfs" +#define PROCFS_TYPE "procfs" +#define ROMFS_TYPE "romfs" /**************************************************************************** * Global Variables @@ -215,7 +219,33 @@ static int make_long_file(void) printf("finished!\n"); retu...
[armlibc] solve the compiling error report in
@@ -253,7 +253,12 @@ int _sys_write(FILEHANDLE fh, const unsigned char *buf, unsigned len, int mode) */ int _sys_ensure(FILEHANDLE fh) { +#ifdef DFS_USING_POSIX return fsync(fh); +#else + LOG_W("%s: %s", __func__, _WARNING_WITHOUT_FS); + return 0; /* error */ +#endif /* DFS_USING_POSIX */ } /*
ci: build libgcc
@@ -43,16 +43,15 @@ tools: - args: ['make', '-j@PARALLELISM@', 'all-gcc'] install: - args: ['make', 'install-gcc'] - # TODO: Fix libgcc, seems to require <sys/syscall.h> now, and we don't implement that yet. -# - name: libgcc -# tools_required: -# - tool: gcc -# stage_dependencies: [compiler] -# compile: -# - args: ['m...
replicate trace fix
@@ -695,11 +695,15 @@ replicate_inline (vlib_main_t * vm, next0 = dpo0->dpoi_next_node; vnet_buffer (c0)->ip.adj_index[VLIB_TX] = dpo0->dpoi_index; - if (PREDICT_FALSE(c0->flags & VLIB_BUFFER_IS_TRACED)) + if (PREDICT_FALSE(b0->flags & VLIB_BUFFER_IS_TRACED)) { replicate_trace_t *t; - vlib_trace_buffer (vm, node, next0...
out_es: use new mem region when config params are passed from the command line
@@ -103,7 +103,7 @@ struct flb_elasticsearch *flb_es_conf_create(struct flb_output_instance *ins, /* Set manual Index and Type */ ctx->u = upstream; if (f_index) { - ctx->index = f_index->value; + ctx->index = flb_strdup(f_index->value); } else { tmp = flb_output_get_property("index", ins); @@ -116,7 +116,7 @@ struct f...
fix library path in wheel building, see
@@ -38,6 +38,8 @@ yum install -y zlib-devel bzip2-devel xz-devel export HTSLIB_CONFIGURE_OPTIONS="--disable-libcurl" PYBINS="/opt/python/*/bin" +echo $PYBINS + for PYBIN in ${PYBINS}; do ${PYBIN}/pip install -r /io/requirements.txt ${PYBIN}/pip wheel /io/ -w wheelhouse/ @@ -45,22 +47,27 @@ done # Bundle external shared...
Switched log.Printf to log.Infof.
@@ -115,7 +115,7 @@ var _ = Describe("with running container", func() { It("iptables should succeed in getting the lock after 3s", func() { iptCmd := cmdInContainer("iptables", "-w", "3", "-A", "FORWARD") out, err := iptCmd.CombinedOutput() - log.Printf("iptables output='%s'", out) + log.Infof("iptables output='%s'", o...
Fix chip/kinetis_usbdev.c:3317:1: error: unused function 'khci_epreserved'
@@ -589,8 +589,6 @@ static inline struct khci_ep_s * static inline void khci_epunreserve(struct khci_usbdev_s *priv, struct khci_ep_s *privep); -static inline bool - khci_epreserved(struct khci_usbdev_s *priv, int epno); static void khci_ep0configure(struct khci_usbdev_s *priv); /* Endpoint operations *****************...
Fix to block provisioning when config management is unsupported.
@@ -3161,6 +3161,7 @@ VerifyPlatformSupport( CHECK_RESULT(CheckIfBiosSupportsConfigChange(&ConfigChangeSupported), Finish); if (!ConfigChangeSupported) { ResetCmdStatus(pCommandStatus, NVM_ERR_PLATFORM_NOT_SUPPORT_MANAGEMENT_SOFT); + ReturnCode = EFI_UNSUPPORTED; goto Finish; }
yorp: update gpio alternate function parameter The NPCX driver doesn't use anything but >= 0; make everything consistent as to not imply something is different between UART and everything else. BRANCH=none TEST=none
@@ -98,12 +98,12 @@ GPIO(USB_C1_HPD_1V8_ODL, PIN(C, 6), GPIO_ODR_HIGH | /* C1 DP Hotplug Detect */ /* Alternate functions GPIO definitions */ /* Cr50 requires no pull-ups on UART pins. */ ALTERNATE(PIN_MASK(6, 0x30), 0, MODULE_UART, 0) /* UART from EC to Servo */ -ALTERNATE(PIN_MASK(B, 0x30), 1, MODULE_I2C, 0) /* I2C0 ...
[awm2] Fetch remote and composite on window spawn
@@ -638,6 +638,10 @@ impl Desktop { .track_element(Rc::clone(&new_window) as Rc<dyn DesktopElement>); self.recompute_drawable_regions_in_rect(window_frame); + new_window.render_remote_layer(); + self.compositor_state + .queue_composite(Rc::clone(&new_window) as Rc<dyn DesktopElement>); + new_window }
[CUDA] Update README with current status
@@ -8,7 +8,9 @@ Add `-DENABLE_CUDA=ON` to the CMake command-line. Assumes `libcuda.so` is on library search path. (TODO: Get CMake to sort this out). -Currently only tested with LLVM 3.8, and CUDA 7.0/7.5. +Currently requires LLVM 3.9.1, and CUDA 7.5/8.0. +It may work to some extent with LLVM 3.8, although some feature...
risc-v: Change optimization settings Debug optimization changed to more reasonable value -Og
@@ -27,7 +27,7 @@ compiler.path.objcopy: "riscv64-unknown-elf-objcopy" compiler.flags.base: -std=gnu11 -Wall -Werror -Wno-format-truncation -ffunction-sections -fdata-sections -fno-builtin-printf compiler.flags.default: [compiler.flags.base, -O1 -ggdb] compiler.flags.optimized: [compiler.flags.base, -Os -ggdb] -compile...
Tests: fixed modules version parsing.
@@ -125,7 +125,7 @@ class TestUnit(unittest.TestCase): global available_modules available_modules = {} - for module in re.findall(r'module: ([a-zA-Z]+) ([\d\.]*) ', log): + for module in re.findall(r'module: ([a-zA-Z]+) (.*) ".*"$', log, re.M): if module[0] not in available_modules: available_modules[module[0]] = [modu...
build: moving semicolon for function declaration inside DEPRECATED preproc macro
@@ -965,8 +965,8 @@ int EQLMS(_copy_coefficients)(EQLMS() _q, \ /* _w : pointer to output coefficients array [size: _n x 1] */ \ DEPRECATED("use eqlms_xxxt_copy_coefficients(...) instead", \ void EQLMS(_get_weights)(EQLMS() _q, \ - T * _w) \ -); \ + T * _w); \ +) \ \ /* Push sample into equalizer internal buffer */ \ /...
Fix code snippet in find collection documentation fix documentation code snippet error
@@ -56,6 +56,7 @@ Examples const bson_t *doc; bson_iter_t iter; bson_error_t error; + mongoc_cursor_t *cursor; BSON_APPEND_DOCUMENT_BEGIN (&opts, "filter", &name_filter); /* find collections with names like "abbbbc" */ @@ -68,8 +69,8 @@ Examples printf ("found collection: %s\n", bson_iter_utf8 (&iter, NULL)); } - if (m...
Call `luarocks make` to install dependencies
@@ -58,6 +58,7 @@ install: - luarocks install busted - luarocks install luacov # - luarocks install luacov-coveralls + - luarocks make # This installs necessary runtime dependencies script: - busted -c -o gtest -v spec/
Fix incorrect return value from ngtcp2_pkt_decode_datagram_frame() The value returned from ngtcp2_pkt_decode_datagram_frame() is later returned from ngtcp2_pkt_decode_frame(). According to its contract, ngtcp2_pkt_decode_frame() returns NGTCP2_ERR_FRAME_ENCODING when the payload is too short.
@@ -1428,7 +1428,7 @@ ngtcp2_ssize ngtcp2_pkt_decode_datagram_frame(ngtcp2_datagram *dest, vi = ngtcp2_get_varint(&n, p); if (payloadlen - len < vi) { - return NGTCP2_FRAME_ENCODING_ERROR; + return NGTCP2_ERR_FRAME_ENCODING; } datalen = (size_t)vi;
Kakadu: Fix battery is_present status for bq27542 Fix the battery is_present status for gauge bq27542. BRANCH=master TEST=1.make -j BOARD=kakadu 2.verified the battery present status and the result is OK.
@@ -266,7 +266,7 @@ enum battery_present battery_is_present(void) { int v; if (bq27541_read(REG_TEMPERATURE, &v)) - return BP_NOT_SURE; + return BP_NO; return BP_YES; } @@ -312,7 +312,9 @@ void battery_get_params(struct batt_params *batt) batt->flags |= BATT_FLAG_RESPONSIVE; batt->is_present = BP_YES; } else { - batt->...
[control] update constructor
@@ -81,7 +81,7 @@ void CommonSMC::initialize(const NonSmoothDynamicalSystem & nsds, const Simulati // create the SMC Model _nsdsSMC.reset(new NonSmoothDynamicalSystem(t0, T)); // Set up the simulation - _simulationSMC.reset(new TimeStepping(_td)); + _simulationSMC.reset(new TimeStepping(_nsdsSMC,_td)); unsigned int sDi...
simplify state handling
@@ -218,11 +218,14 @@ static size_t *get_connection_state_counter(h2o_context_t *ctx, h2o_conn_state_t return ctx->_conns.num_conns.counters + (size_t)state; } -static void _connection_state_set(h2o_conn_t *conn, h2o_conn_state_t state) +static void unset_conn_state(h2o_conn_t *conn) { - if (h2o_linklist_is_linked(&con...
Fixed JS jshint warning 'confusing plusses'.
@@ -416,7 +416,7 @@ GoAccess.Nav = { var targ = e.currentTarget; var data = "text/json;charset=utf-8," + encodeURIComponent(JSON.stringify(GoAccess.getPanelData())); targ.href = 'data:' + data; - targ.download = 'goaccess-' + +new Date() + '.json'; + targ.download = 'goaccess-' + (+new Date()) + '.json'; }, setLayout: ...
crypto_values.h: fix description
* "extract" step. * You must pass #PSA_KEY_DERIVATION_INPUT_SALT * before #PSA_KEY_DERIVATION_INPUT_SECRET. - * starting to generate output. * * \warning HKDF-Extract is not meant to be used on its own. PSA_ALG_HKDF * should be used instead if possible. PSA_ALG_HKDF_EXTRACT is provided */ #define PSA_ALG_HKDF_EXPAND(ha...
Only find_package ZLIB when required
@@ -13,10 +13,12 @@ project(OpenEXR VERSION ${OPENEXR_VERSION}) include(OpenEXRSettings) # Packages +if(OPENEXR_BUILD_OPENEXR OR OPENEXR_BUILD_VIEWERS) find_package(ZLIB) -if(OPENEXR_BUILD_OPENEXR AND NOT ZLIB_FOUND) + if(NOT ZLIB_FOUND) message(WARNING "Make Zlib available to CMake's search path, and re-run configurat...
remove setting referred token binding response header
@@ -530,7 +530,7 @@ int oidc_proto_authorization_request(request_rec *r, return DONE; /* add a referred token binding request for the provider */ - oidc_util_hdr_err_out_add(r, "Include-Referred-Token-Binding-ID", "true"); + //oidc_util_hdr_err_out_add(r, "Include-Referred-Token-Binding-ID", "true"); /* add the redirec...
VERSION bump to version 0.11.33
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 11) -set(LIBNETCONF2_MICRO_VERSION 32) +set(LIBNETCONF2_MICRO_VERSION 33) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
cmake3 exsit in epel(centos), install epel-release
@@ -296,7 +296,7 @@ else ifneq ("$(wildcard /etc/redhat-release)","") ifeq ($(OS_ID),rhel) @sudo -E yum-config-manager --enable rhel-server-rhscl-7-rpms else ifeq ($(OS_ID),centos) - @sudo -E yum install $(CONFIRM) centos-release-scl-rh + @sudo -E yum install $(CONFIRM) centos-release-scl-rh epel-release @sudo -E yum g...
Apply noise scale to gyro bias
@@ -590,17 +590,18 @@ cstring generate_simulated_object(FLT r, size_t sensor_ct) { cstring loc = {0}, nor_buf = {0}; char buffer[1024] = {0}; - + FLT scale_error = 1; // linmath_normrand(1, .2); for (int i = 0; i < sensor_ct; i++) { FLT azi = rand(); FLT pol = rand(); LinmathVec3d normals, locations; normals[0] = locat...
Also build on Visual Studio 2019 on AppVeyor
@@ -7,6 +7,8 @@ environment: - VS: Visual Studio 14 2015 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 VS: Visual Studio 15 2017 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 + VS: Visual Studio 16 2019 build_script: - md build
ames: metamorphose on first +take if possible
|= [=wire =duct dud=(unit goof) =sign] ?^ dud ~|(%ames-larval-take-dud (mean tang.u.dud)) + :: + =^ molt-moves adult-gate molt + :: + ?: &(!=(~ unix-duct.ames-state.adult-gate) =(~ queued-events)) + =^ moves adult-gate (take:adult-core wire duct dud sign) + ~> %slog.0^leaf/"ames: metamorphosis" + [(weld molt-moves move...
Use ifeq instead of ifdef for user-definable build options
@@ -19,7 +19,7 @@ ifeq ($(ARCH), MIPS) SUPPORT_GEMM3M = 1 endif -ifndef NO_FBLAS +ifneq ($(NO_FBLAS), 1) SBLAS1OBJS = \ saxpy.$(SUFFIX) sswap.$(SUFFIX) \ @@ -146,7 +146,7 @@ ZBLAS3OBJS += zgemm3m.$(SUFFIX) endif -ifdef EXPRECISION +ifeq ($(EXPRECISION), 1) QBLAS1OBJS = \ qaxpy.$(SUFFIX) qswap.$(SUFFIX) \ @@ -511,11 +51...
apps/lib/s_socket.c: Alias getpid with _getpid for _WIN32
typedef unsigned int u_int; #endif +#ifdef _WIN32 +/* + * With MSVC, certain POSIX functions have been renamed to have an underscore + * prefix. + */ +# include <process.h> +# define getpid _getpid +#endif + #ifndef OPENSSL_NO_SOCK # include "apps.h"
Fix of string.format("%.0f")
@@ -642,6 +642,9 @@ vsprintf (char *d, const char *s, va_list ap) //static void dtoa (char *, double, int, int, int); void dtoa (char *dbuf, rtype arg, int fmtch, int width, int prec); dbl = va_arg(ap, double); + if (!haddot) { + trunc = 6; + } dtoa(d, dbl, *s, width, trunc); trunc = 0; } @@ -763,9 +766,7 @@ void dtoa ...
fix/fuzz: Implement `quicly_num_streams_by_group`
@@ -326,8 +326,11 @@ int quicly_is_destination(quicly_conn_t *conn, struct sockaddr *dest_addr, struc uint32_t quicly_num_streams_by_group(quicly_conn_t *conn, int uni, int locally_initiated) { - assert(0 && "unimplemented"); - return 0; + int server_initiated = quicly_is_client(conn) != locally_initiated; + int stream...
Deploy Java package with TravisCI.
@@ -118,13 +118,21 @@ if [ ! -d "$PYTHON_DIR" ]; then fi # Path to the Lua package that will be deployed. -LUAROCKS_FILE=$(find $BUILD_DIR_FIXED -maxdepth 1 -name '*.rock') +LUAROCKS_FILE=$(find "$BUILD_DIR_FIXED" -maxdepth 1 -name '*.rock') # Verify that the Lua package has been created. if [ ! -f "$LUAROCKS_FILE" ]; ...
modinfo CHANGE allow different modinfos for diff But the set of REQ modules must be the same.
@@ -68,19 +68,29 @@ sr_modinfo_diff(struct sr_mod_info_s *src_mod_info, struct sr_mod_info_s *mod_in { sr_error_info_t *err_info = NULL; struct lyd_difflist *ly_diff; - struct sr_mod_info_mod_s *mod; + struct sr_mod_info_mod_s *src_mod, *mod; struct lyd_node *mod_diff; - uint16_t i; + uint16_t i, j; assert(!mod_info->d...
Avoid `if` statement
@@ -748,7 +748,9 @@ sock_packet_s *sock_checkout_packet(void) { if (packet) { buffer_pool.pool = packet->metadata.next; spn_unlock(&buffer_pool.lock); - *packet = (sock_packet_s){.buffer = packet + 1, .metadata.next = NULL}; + *packet = (sock_packet_s){ + .buffer = packet + 1, .metadata.next = NULL, .metadata.dealloc =...
build: disable jenkinsfile clang + asan tests
@@ -178,10 +178,12 @@ def generate_elektra_builds_full() { def tasks = [:] tasks << test_todo() tasks << test_doc() + /* TODO Reenable for next release tasks << test_asan( "debian-stable-asan", DOCKER_IMAGES.stretch ) + */ tasks << test( "debian-stable-full", DOCKER_IMAGES.stretch, @@ -207,6 +209,7 @@ def generate_elek...
Fix vmap_remove_intersection use-after-free
@@ -608,7 +608,6 @@ closure_function(3, 1, void, vmap_remove_intersection, if (!head && !tail) { rangemap_remove_node(pvmap, node); - deallocate_vmap(pvmap, match); } else if (head) { /* truncate node at start */ assert(rangemap_reinsert(pvmap, node, irange(rn.start, ri.start))); @@ -635,6 +634,8 @@ closure_function(3,...
Fix DeprecationWarning in collections import "DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Iterable, Sequence, Mapping, MutableMapping"
@@ -3,7 +3,7 @@ from copy import deepcopy from six import iteritems, string_types, integer_types import os import imp -from collections import Iterable, Sequence, Mapping, MutableMapping +from collections.abc import Iterable, Sequence, Mapping, MutableMapping import warnings import numpy as np import ctypes
Added on development tag to avoid confusion.
## Running the demos -More details available on our getting started page: https://docs.aws.amazon.com/freertos/latest/userguide/freertos-getting-started.html +More details available on our getting started page (on development): https://docs.aws.amazon.com/freertos/latest/userguide/freertos-getting-started.html ### Sele...
Redefine log level when CONF_WINC_DEBUG is enabled.
#define M2M_PRINT(...) #if (CONF_WINC_DEBUG == 1) +#undef M2M_LOG_LEVEL +#define M2M_LOG_LEVEL M2M_LOG_DBG #undef M2M_PRINT #define M2M_PRINT(...) do{CONF_WINC_PRINTF(__VA_ARGS__);CONF_WINC_PRINTF("\r");}while(0) #if (M2M_LOG_LEVEL >= M2M_LOG_ERROR)
VERSION bump to version 1.3.57
@@ -31,7 +31,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 3) -set(SYSREPO_MICRO_VERSION 56) +set(SYSREPO_MICRO_VERSION 57) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
Remove cloud from server library Cloud functionality requires client and server components.
@@ -285,9 +285,6 @@ set(server-lib-obj $<TARGET_OBJECTS:tinycbor-master> $<TARGET_OBJECTS:server-obj> ) -if(OC_CLOUD_ENABLED) - list(APPEND server-lib-obj $<TARGET_OBJECTS:cloud-obj>) -endif() if(OC_SECURITY_ENABLED) list(APPEND server-lib-obj $<TARGET_OBJECTS:mbedtls>) endif() @@ -305,9 +302,6 @@ target_include_direct...
Extend exception cases in import tests
@@ -43,6 +43,12 @@ def check_imports(no_check=(), extra=(), skip_func=None): print('SKIP', module, '''without "if __name__ == '__main__'" check''') continue + def print_backtrace_marked(e): + tb_exc = traceback.format_exception(*e) + for item in tb_exc: + for l in item.splitlines(): + print('FAIL:', l, file=sys.stderr)...
docker: use newer gtest on debian buster
@@ -26,7 +26,6 @@ RUN apt-get update \ git \ git-buildpackage \ gobject-introspection \ - googletest \ graphviz \ icheck \ lcov \ @@ -85,7 +84,14 @@ RUN apt-get update \ # Google Test -ENV GTEST_ROOT=/usr/src/googletest +ENV GTEST_ROOT=/opt/gtest +ARG GTEST_VER=release-1.10.0 +RUN mkdir -p ${GTEST_ROOT} \ + && cd /tmp ...
dockerenv.sh: set non-unique GID flag in groupadd This is a bugfix for running the Docker script on Mac. The script was aborting with a "groupadd: GID '20' already exists" error message even though the script comment specifically says it will use an already existing GID.
@@ -58,7 +58,7 @@ dockerdev () { # Use same user/group id as on the host, so that files are not created as root in the mounted # volume. - docker exec -it "$CONTAINER_NAME" groupadd -g "$(id -g)" dockergroup + docker exec -it "$CONTAINER_NAME" groupadd -o -g "$(id -g)" dockergroup docker exec -it "$CONTAINER_NAME" user...
example: add /ts to return timestamp in webg.go curl 127.0.0.1:8080/ts 2018-10-23 04:25:26.280582 +0000 UTC m=+3.144423001
@@ -5,6 +5,7 @@ import ( "log" "net/http" "os" + "time" ) var count int64 @@ -27,6 +28,10 @@ func envHandler(w http.ResponseWriter, r *http.Request) { fmt.Fprint(w, s) } +func tsHandler(w http.ResponseWriter, r *http.Request) { + fmt.Fprintf(w, "%s\n", time.Now()) +} + func handler(w http.ResponseWriter, r *http.Reques...
feat(docs): Add Boardsource 3x4 to hardware list.
@@ -31,6 +31,7 @@ That being said, there are currently only a few specific [boards](/docs/faq#what - [Reviung41](https://github.com/gtips/reviung/tree/master/reviung41) (`reviung41`) - [RoMac+ v4](https://www.littlekeyboards.com/products/romac) (`romac_plus`) - [RoMac v2](https://mechboards.co.uk/shop/kits/romac-macro-...
feat(venachain):Revalidate the sol demo
@@ -50,8 +50,8 @@ const BCHAR *demoUrl = "http://127.0.0.1:6791"; /** * transfer recipient address */ -//const BCHAR *demoRecipientAddress = "0x344b541bb88Cc332d8f6aC7e57c2E3931d45B4B7"; //sol contract -const BCHAR *demoRecipientAddress = "0x42267f36f2c5b1610bfb253cf044ad0bcd9a5b47";//wasm contract +const BCHAR *demoRe...
build: add top comment
+/* https://build.libelektra.org/jenkins/job/elektra-jenkinsfile/ */ + // FIXME sloc publish errors // XXX add missing jobs // TODO have a per plugin/binding deps in Dockerfile for easier maintanence
Disable phase corr if not used.
@@ -139,6 +139,7 @@ void imlib_logpolar(image_t *img, bool linear, bool reverse) } #endif //defined(IMLIB_ENABLE_LOGPOLAR) || defined(IMLIB_ENABLE_LINPOLAR) +#ifdef IMLIB_ENABLE_FIND_DISPLACEMENT // Note that both ROI widths and heights must be equal. void imlib_phasecorrelate(image_t *img0, image_t *img1, rectangle_t ...
linux-firmware: Replace /lib with ${nonarch_base_libdir} Use standard /lib variable name and avoid QA errors when usermerge DISTRO_FEATURE is enabled.
@@ -10,17 +10,17 @@ do_install_append() { # (v7.45.41.46) local _firmware="brcmfmac43430-sdio.bin" local _oldmd5=9258986488eca9fe5343b0d6fe040f8e - if [ "$(md5sum ${D}/lib/firmware/brcm/$_firmware | awk '{print $1}')" != "$_oldmd5" ]; then + if [ "$(md5sum ${D}${nonarch_base_libdir}/firmware/brcm/$_firmware | awk '{pri...
enclave-tls/README.md: fix the dependent package name error in ubuntu 18.04
- autoconf - libtool - gcc -- gcc-c++ +- g++ (ubuntu 18.04) or gcc-c++ (centos 8.2) - SGX driver, Intel SGX SDK & PSW: Please refer to this [guide](https://download.01.org/intel-sgx/latest/linux-latest/docs/Intel_SGX_Installation_Guide_Linux_2.13_Open_Source.pdf) to install. - [SGX DCAP](https://github.com/intel/SGXDat...
INCLUDE: clap/ext/draft/file-reference.h: document belongs_to_plugin_collection Document belongs_to_plugin_collection according to a discussion with Alexandre Bique on 2022-08-13 on Discord in #ext-file-reference.
@@ -31,6 +31,10 @@ extern "C" { // This describes a file currently used by the plugin typedef struct clap_file_reference { clap_id resource_id; + + // Flag indicating that the plugin may be able to (re-)install a collection that provides + // this resource. DAWs can provide a user option to ignore or include this resou...
xpath CHANGE xml format forbidden for now
@@ -4086,6 +4086,8 @@ xpath_name(struct lyxp_set **args, uint16_t arg_count, struct lyxp_set *set, int case LYD_JSON: rc = asprintf(&str, "%s:%s", mod->name, name); break; + default: + LOGINT_RET(set->ctx); } LY_CHECK_ERR_RET(rc == -1, LOGMEM(set->ctx), LY_EMEM); set_fill_string(set, str, strlen(str)); @@ -5153,6 +5155...
nicer message on huge OS page reservation
@@ -282,7 +282,7 @@ int mi_reserve_huge_os_pages_at(size_t pages, int numa_node, size_t timeout_msec _mi_warning_message("failed to reserve %zu gb huge pages\n", pages); return ENOMEM; } - _mi_verbose_message("reserved %zu gb huge pages (of the %zu gb requested)\n", pages_reserved, pages); + _mi_verbose_message("reserv...
Disable error: C++11 requires a space between literal and identifier
@@ -259,7 +259,7 @@ jobs: shell: bash working-directory: ${{runner.workspace}}/build run: | - cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DTINYSPLINE_ENABLE_RUBY=True + CXXFLAGS=-Wno-reserved-user-defined-literal cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DTINYSPLINE_ENABLE_RUBY=True - name: Bu...