message
stringlengths
6
474
diff
stringlengths
8
5.22k
Support for compiling Android builds on Windows by explicitly specifying Makefile generator. Added an option to manually specify make location.
@@ -49,6 +49,7 @@ def buildAndroidSO(args, abi): print('Using API-%d for 32-bit builds, API-%d for 64-bit builds' % (api32, api64)) if not cmake(args, buildDir, options + [ + '-G', 'Unix Makefiles', '-DCMAKE_SYSTEM_NAME=Android', "-DCMAKE_ANDROID_NDK='%s'" % args.androidndkpath, "-DCMAKE_ANDROID_NDK_TOOLCHAIN_VERSION='...
Update os/dir for windows.
@@ -456,28 +456,46 @@ static Janet os_stat(int32_t argc, Janet *argv) { janet_table_put(tab, janet_ckeywordv("size"), janet_wrap_number(st.st_size)); janet_table_put(tab, janet_ckeywordv("nlink"), janet_wrap_number(st.st_nlink)); janet_table_put(tab, janet_ckeywordv("rdev"), janet_wrap_number(st.st_rdev)); +#ifndef JAN...
OpenCanopy: Remove redundant AE pointer clipping
@@ -115,14 +115,8 @@ InternalAppleEventNotification ( EventType = Information->EventData.PointerEventType; if ((EventType & APPLE_EVENT_TYPE_MOUSE_MOVED) != 0) { - Context->X = MIN ( - (UINT32) Information->PointerPosition.Horizontal, - Context->MaxX - ); - Context->Y = MIN ( - (UINT32) Information->PointerPosition.Ver...
avf: add support for intel X722 NICs
@@ -38,6 +38,7 @@ avf_main_t avf_main; static pci_device_id_t avf_pci_device_ids[] = { {.vendor_id = PCI_VENDOR_ID_INTEL,.device_id = PCI_DEVICE_ID_INTEL_AVF}, {.vendor_id = PCI_VENDOR_ID_INTEL,.device_id = PCI_DEVICE_ID_INTEL_X710_VF}, + {.vendor_id = PCI_VENDOR_ID_INTEL,.device_id = PCI_DEVICE_ID_INTEL_X722_VF}, {0},...
use janet_checktype over janet_type and == In destructure janet_type(_) == JANET_SYMBOL was used to check if a value was a symbol. This commit replaces that with the janet_checktype function, because that function is used for the same purpose in other places.
@@ -155,13 +155,13 @@ static int destructure(JanetCompiler *c, JanetSlot nextright = janetc_farslot(c); Janet subval = values[i]; - if (janet_type(subval) == JANET_SYMBOL && !janet_cstrcmp(janet_unwrap_symbol(subval), "&")) { + if (janet_checktype(subval, JANET_SYMBOL) && !janet_cstrcmp(janet_unwrap_symbol(subval), "&"...
Verify that max_udp_payload_size is not less than 1200
@@ -9384,6 +9384,10 @@ int ngtcp2_conn_set_remote_transport_params( return NGTCP2_ERR_TRANSPORT_PARAM; } + if (params->max_udp_payload_size < 1200) { + return NGTCP2_ERR_TRANSPORT_PARAM; + } + if (!conn->server) { rv = conn_client_validate_transport_params(conn, params); if (rv != 0) {
Save klog to disk even without radar key
@@ -378,7 +378,7 @@ closure_function(1, 1, void, sync_complete, static void storage_shutdown(int status, status_handler completion) { - if ((status == 0) || !table_find(get_environment(), sym(RADAR_KEY))) { + if (status == 0) { storage_sync(completion); } else { merge m = allocate_merge(heap_locked(&heaps), completion)...
Metadata: Specify language of code blocks
@@ -59,9 +59,11 @@ The interface to access metadata consists of the following functions: Interface of metadata: +```c const Key *keyGetMeta(const Key *key, const char* metaName); ssize_t keySetMeta(Key *key, const char* metaName, const char *newMetaString); +``` Inside a `Key`, metadata with a given metaname and a meta...
netkvm: avoid crash on second virtqueue shutdown In hot unplug flow the Shutdown() was called when the m_VirtQueue already zeroed. Avoid NULL pointer dereferencing.
@@ -171,7 +171,7 @@ public: void Shutdown() { - if (CanTouchHardware()) + if (m_VirtQueue && CanTouchHardware()) { virtqueue_shutdown(m_VirtQueue); }
data tree MAINTENANCE do not use strlen as a variable name to avoid confusion Fixes
#include "tree_schema.h" static int -cmp_str(const char *refstr, const char *str, size_t strlen) +cmp_str(const char *refstr, const char *str, size_t str_len) { - if (strlen) { - int r = strncmp(refstr, str, strlen); - if (!r && !refstr[strlen]) { + if (str_len) { + int r = strncmp(refstr, str, str_len); + if (!r && !r...
Add support for Heiman door/window, CO and fire sensors
@@ -72,6 +72,7 @@ const quint64 philipsMacPrefix = 0x0017880000000000ULL; const quint64 osramMacPrefix = 0x8418260000000000ULL; const quint64 ubisysMacPrefix = 0x001fee0000000000ULL; const quint64 netvoxMacPrefix = 0x00137a0000000000ULL; +const quint64 heimanMacPrefix = 0x0050430000000000ULL; struct SupportedDevice { q...
Need to wait for given event mask, not for hard-coded POLLIN.
@@ -707,7 +707,7 @@ int nsa_wait_for_event(struct neat_socket* neatSocket, { struct pollfd ufds[1]; ufds[0].fd = neatSocket->ns_descriptor; - ufds[0].events = POLLIN; + ufds[0].events = eventMask; int result = nsa_poll((struct pollfd*)&ufds, 1, timeout); if((result > 0) && (ufds[0].revents & eventMask)) { return(ufds[0...
doc: fix author name
- infos = Information about the desktop plugin is in keys below -- infos/author = Name <elektra@libelektra.org> +- infos/author = Markus Raab <elektra@libelektra.org> - infos/licence = BSD - infos/needs = - infos/provides = storage/info @@ -31,7 +31,7 @@ Then you can get desktop information via: You either get a *lower...
Reword and add explanatory comments for MAX_IM_CA tests Reword the comment on config.h to suggest that `MAX_INTERMEDIATE_CA` may not exist in the config. Add a comment explaining why the tests are more restrictive than necessary.
@@ -3883,12 +3883,16 @@ run_test "Authentication: client no cert, openssl server required" \ -c "skip write certificate verify" \ -c "! mbedtls_ssl_handshake returned" -# config.h contains a value for MBEDTLS_X509_MAX_INTERMEDIATE_CA that is -# different from the script's assumed default value (below). -# Relevant test...
Cirrus: Make sure we check formatting on macOS
@@ -170,6 +170,8 @@ mac_task: - *install tests_script: + # Remove files produced by `ronn`, since `testscr_check_formatting` only checks the formatting, if the stating area is clean + - git checkout . - export PATH=$PATH:"$PWD/install/bin" - *run_tests - | # Uninstall Elektra
Update kibana ip in conf file
@@ -41,7 +41,7 @@ if [ -e "$JAVA_HOME"/bin/java ]; then #change elk address sed -i -e "s/localhost/${currentnodehost}/g" /opt/datafari/tomcat/conf/elk.properties - sed -i "/server.host:/c\server.host: ${currentnodehost}" /opt/datafari/elk/kibana/config/kibana.yml + sed -i "/server.host:/c\server.host: 0.0.0.0" /opt/dat...
refactor for efficiency, remove unused struct member
@@ -72,7 +72,10 @@ typedef struct _z_strm { z_streamp gz; #endif #ifdef HAVE_LZ4 - LZ4F_compressionContext_t *lz; + struct { + void *cbuf; + size_t cbuflen; + } z; #endif #ifdef HAVE_SSL SSL *ssl; @@ -292,48 +295,36 @@ lzflush(z_strm *strm) if (strm->obuflen == 0) return 0; - /* get the maximum size required and alloca...
VERSION bump to version 2.0.206
@@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 205) +set(LIBYANG_MICRO_VERSION 206) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}...
Made ShowDaemonSyncProgressAsync safer
@@ -181,6 +181,8 @@ namespace MiningCore.Blockchain.Ethereum .Select(x => x.Response.ToObject<SyncState>()) .ToArray(); + if (syncStates.Any()) + { // get peer count var response = await daemon.ExecuteCmdAllAsync<string>(EC.GetPeerCount); var validResponses = response.Where(x => x.Error == null && x.Response != null).T...
debian: add llvm6.0 as possible dependency In recent Ubuntu, llvm 6 is available. Use that as control file dependency option.
@@ -3,13 +3,15 @@ Maintainer: Brenden Blanco <bblanco@plumgrid.com> Section: misc Priority: optional Standards-Version: 3.9.5 -Build-Depends: debhelper (>= 9), cmake, libllvm3.7 | libllvm3.8, - llvm-3.7-dev | llvm-3.8-dev, libclang-3.7-dev | libclang-3.8-dev, +Build-Depends: debhelper (>= 9), cmake, + libllvm3.7 | libl...
rnndb/pmc: Document PSEC2 bitfield of PMC.{ENABLE|INTR_*} Based in part upon [0] and IRC discussion November 22, 2017. [0]
<bitfield pos="14" name="PVCOMP" variants="MCP89:GF100"/> <bitfield pos="15" name="PBSP" variants="G84:G98 G200:MCP77"/> <bitfield pos="15" name="PVLD" variants="G98:G200 MCP77:GM107"/> - <bitfield pos="15" name="PUNK087" variants="GM107-"/> + <bitfield pos="15" name="PSEC2" variants="GM107-"/> <bitfield pos="16" name=...
h2olog: oops, enable the -r (root) option
@@ -43,6 +43,7 @@ Usage: h2olog -p PID Other options: -h Print this help and exit -d Print debugging information (-dd shows more) + -r Run without dropping root privilege -w Path to write the output (default: stdout) )", H2O_VERSION); @@ -234,7 +235,7 @@ int main(int argc, char **argv) std::vector<std::string> response...
TCPMv2: Unit Test - add filename to TEST_ failing output BRANCH=none TEST=make buildall Tested-by: Denis Brockus
#define TEST_ASSERT(n) \ do { \ if (!(n)) { \ - ccprintf("%d: ASSERTION failed: %s\n", __LINE__, #n); \ + ccprintf("%s:%d: ASSERTION failed: %s\n", \ + __FILE__, __LINE__, #n); \ task_dump_trace(); \ return EC_ERROR_UNKNOWN; \ } \ __auto_type _a = (a); \ __auto_type _b = (b); \ if (!(_a op _b)) { \ - ccprintf("%d: ASSE...
stm32/boards/pllvalues.py: Support HSx_VALUE defined without uint32_t.
@@ -137,7 +137,7 @@ def print_table(hse, valid_plls): def search_header_for_hsx_values(filename, vals): regex_inc = re.compile(r'#include "(boards/[A-Za-z0-9_./]+)"') - regex_def = re.compile(r'#define +(HSE_VALUE|HSI_VALUE) +\(\(uint32_t\)([0-9]+)\)') + regex_def = re.compile(r'#define +(HSE_VALUE|HSI_VALUE) +\((\(uin...
Update collect_files.py to ignore bad directories.
@@ -32,6 +32,10 @@ def collect(): if f.endswith('.h') or f.endswith('.hpp')] source_files.extend('/'.join([curpath, f]) for f in files if f.endswith('.c') or f.endswith('.cpp')) + if '/.' in curpath[5:]: + continue # Skip hidden directories. + if not include_files: + continue yield('%sdir = %s' % (include_name, include...
[WIP] Initial Island Sanctuary Research Name is TBD, everything probably needs verification too. Hence, WIP! data.yml stuff Add an actual struct to CS because cool/useful offsets
@@ -454,6 +454,16 @@ classes: InventoryContainer: funcs: 0x1406E8EA0: GetInventorySlot # (this, slotIndex) + Client::Game::IslandSanctuary::IslandSanctuaryManager: + instances: + - ea: 0x14208F210 + pointer: True + funcs: + 0x140C981A0: ctor + 0x140C98390: dtor + 0x140C95890: GetSingleton # static + 0x140C97510: LoadDe...
Don't install default-jdk in the docker container
@@ -15,7 +15,6 @@ RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E03280 apt-get -qq -y --no-install-recommends install \ ant \ build-essential \ - default-jdk \ doxygen \ gdb \ git \
move comms stop to flt unregister
@@ -43,8 +43,6 @@ NTSTATUS FLTAPI KphpFltFilterUnloadCallback( KphTracePrint(TRACE_LEVEL_VERBOSE, INFORMER, "Filter unload invoked"); - KphCommsStop(); - return STATUS_SUCCESS; } @@ -374,6 +372,8 @@ VOID KphFltUnregister( { PAGED_PASSIVE(); + KphCommsStop(); + if (!KphFltFilter) { return;
component_test_crypto_full_no_md: fix order of disabled features
@@ -1201,14 +1201,16 @@ component_test_crypto_full_no_md () { msg "build: crypto_full minus MD" scripts/config.py crypto_full scripts/config.py unset MBEDTLS_MD_C + # Direct dependencies scripts/config.py unset MBEDTLS_ECJPAKE_C - scripts/config.py unset MBEDTLS_PKCS5_C - scripts/config.py unset MBEDTLS_PKCS12_C - scri...
VERSION bump to version 2.0.59
@@ -58,7 +58,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}) # set version of the project set(LIBYANG_MAJOR_VERSION 2) set(LIBYANG_MINOR_VERSION 0) -set(LIBYANG_MICRO_VERSION 58) +set(LIBYANG_MICRO_VERSION 59) set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}) ...
Improve PhpInitializePropSheetLayoutStage1
@@ -270,26 +270,25 @@ LRESULT CALLBACK PhpPropSheetWndProc( } BOOLEAN PhpInitializePropSheetLayoutStage1( + _In_ PPH_PROCESS_PROPSHEETCONTEXT Context, _In_ HWND hwnd ) { - PPH_PROCESS_PROPSHEETCONTEXT propSheetContext = PhpGetPropSheetContext(hwnd); - - if (!propSheetContext->LayoutInitialized) + if (!Context->LayoutIn...
config: set default flush interval to '1'
#include <monkey/mk_core.h> -#define FLB_CONFIG_FLUSH_SECS 5 +#define FLB_CONFIG_FLUSH_SECS 1 #define FLB_CONFIG_HTTP_LISTEN "0.0.0.0" #define FLB_CONFIG_HTTP_PORT "2020" #define HC_ERRORS_COUNT_DEFAULT 5
Refactor add- and store scenes (wip)
@@ -951,6 +951,12 @@ bool DeRestPluginPrivate::addTaskStoreScene(TaskItem &task, uint16_t groupId, ui */ bool DeRestPluginPrivate::addTaskAddScene(TaskItem &task, uint16_t groupId, uint8_t sceneId, const QString &lightId) { + DBG_Assert(task.lightNode != 0); + if (!task.lightNode) + { + return false; + } + Group *group...
fix test for netcdf3
@@ -62,9 +62,9 @@ if [ $ECCODES_ON_WINDOWS -eq 0 ]; then ${tools_dir}/grib_to_netcdf -k3 -o $tempNetcdf $input 2>/dev/null stat=$? set -e - ${tools_dir}/grib_dump -TA -O $tempNetcdf if [ $stat -eq 0 ]; then have_netcdf4=1 + ${tools_dir}/grib_dump -TA -O $tempNetcdf res=`${tools_dir}/grib_get -TA -p identifier $tempNetc...
BugID:17394649:remove HAL_Sys_Net_Is_Ready() before publish message in dm_client_adapter.c
@@ -102,11 +102,7 @@ int dm_client_publish(char *uri, unsigned char *payload, int payload_len) pub_param.sync_timeout = 0; pub_param.ack_cb = NULL; - if (HAL_Sys_Net_Is_Ready()) { res = iotx_cm_pub(ctx->fd, &pub_param, (const char *)uri, (const char *)payload, (unsigned int)payload_len); - } else { - dm_log_err("Networ...
Support unicode keys in library/python/resource.
+from _codecs import utf_8_decode, utf_8_encode + from libcpp cimport bool @@ -34,6 +36,9 @@ def key_by_index(idx): def find(s): cdef TString res + if isinstance(s, str): + s = utf_8_encode(s)[0] + if FindExact(TStringBuf(s, len(s)), &res): return res.c_str()[:res.length()]
odissey: include client id in every frontend_error
@@ -67,7 +67,9 @@ int od_frontend_error(od_client_t *client, char *code, char *fmt, ...) va_start(args, fmt); char msg[512]; int msg_len; - msg_len = snprintf(msg, sizeof(msg), "odissey: "); + msg_len = snprintf(msg, sizeof(msg), "odissey: c%.*s: ", + (int)sizeof(client->id.id), + client->id.id); msg_len += vsnprintf(m...
Fix redefinition of 'open' musl pulls in fcntl.h from somewhere
float g_overflow = 50.f /* 3333ms * 0.5 / 16.6667 / 2 (to edge and back) */; #endif -bool open = false; +bool gui_open = false; struct benchmark_stats benchmark; struct fps_limit fps_limit_stats {}; ImVec2 real_font_size; @@ -352,7 +352,7 @@ void render_benchmark(swapchain_stats& data, struct overlay_params& params, Im...
Fix formatting of nvptx condition
@@ -1581,7 +1581,8 @@ kernel_library } #endif #ifdef BUILD_CUDA - if (triple.getArch() == Triple::nvptx || triple.getArch() == Triple::nvptx64){ + if (triple.getArch() == Triple::nvptx || + triple.getArch() == Triple::nvptx64) { subdir = "cuda"; is_host = false; }
proc/resource alloc: use given id if possible
@@ -120,11 +120,13 @@ resource_t *resource_alloc(process_t *process, unsigned int *id) t.id = *id; r = lib_treeof(resource_t, linkage, lib_rbFindEx(process->resources.root, &t.linkage, resource_gapcmp)); if (r != NULL) { + if (!(r->id < *id && (r->rmaxgap > *id - r->id)) || !(r->id > *id && (r->lmaxgap > r->id - *id)))...
Correct gcc version check for __builtin_arm_[gs]et_fpscr builtins The fix is now in the gcc-7 branch, and will be definitly be included with 7.2
@@ -702,7 +702,7 @@ __attribute__((always_inline)) __STATIC_INLINE uint32_t __get_FPSCR(void) { #if ((defined (__FPU_PRESENT) && (__FPU_PRESENT == 1U)) && \ (defined (__FPU_USED ) && (__FPU_USED == 1U)) ) -#if __has_builtin(__builtin_arm_get_fpscr) || (__GNUC__ > 7) || (__GNUC__ == 7 && __GNUC_MINOR__ >= 1) +#if __has_...
Auto-bootstrap on mbld failure.
@@ -7,17 +7,23 @@ if test `uname` = Plan9; then export MYR_MUSE=`pwd`/muse/$O.out export MYR_MC=`pwd`/6/$O.out export MYR_RT=`pwd`/rt/_myrrt.$O - BOOT="./mk/bootstrap/bootstrap+`uname -s`-`uname -m`.sh" else export MYR_MUSE=muse export MYR_MC=6m export MYR_RT=`pwd`/rt/_myrrt.o - BOOT="./mk/bootstrap/bootstrap+`uname -s...
Add note about development branch to README
@@ -24,6 +24,8 @@ When using 02.00.00.x versions of ipmctl software to update or downgrade firmwar 02.00.00.xxxx (master_2_0 branch) is for Intel Optane Persistent Memory 200 Series (and is backwards compatible with 100 series) +The development branch contains what will likely become the 03.00.00.xxxx branch. + ## Pack...
TGL: pre-launched VM0 tpm passthrough Enable TPM passthrough configuration for pre-launched VM feature, on TGL, by adding 'tgl-rvp' to TPM_PASSTHRU_BOARD.
@@ -32,7 +32,7 @@ KNOWN_HIDDEN_PDEVS_BOARD_DB = { TSN_DEVS = ["8086:4b30", "8086:4b31", "8086:4b32", "8086:4ba0", "8086:4ba1", "8086:4ba2", "8086:4bb0", "8086:4bb1", "8086:4bb2", "8086:a0ac", "8086:43ac", "8086:43a2"] -TPM_PASSTHRU_BOARD = ['whl-ipc-i5', 'whl-ipc-i7'] +TPM_PASSTHRU_BOARD = ['whl-ipc-i5', 'whl-ipc-i7', ...
run_delayed(): Modify assert to look at .base only if .len is non-zero
@@ -975,7 +975,8 @@ static void run_delayed(h2o_timer_t *timer) h2o_linklist_unlink(&stream->link); stream->read_blocked = 1; made_progress = 1; - assert(stream->req.entity.base == stream->req_body->bytes && stream->req.entity.len == stream->req_body->size); + assert(stream->req.entity.len == stream->req_body->size && ...
GRIB1 to GRIB2 conversion: total precipitation
"avgid" = {timeRangeIndicator=133;} - -# TP +# ECC-457: ECMWF Total Precipitation "accum" = {timeRangeIndicator=0;indicatorOfParameter=228;gribTablesVersionNo=128;centre=98;} "accum" = {timeRangeIndicator=1;indicatorOfParameter=228;gribTablesVersionNo=128;centre=98;}
Testing: setting key to missing
@@ -209,10 +209,12 @@ input="${data_dir}/reduced_gaussian_pressure_level.grib2" grib_check_key_equals $input scaleFactorOfFirstFixedSurface 0 cat >$tempFilt <<EOF set scaleFactorOfFirstFixedSurface = MISSING; # has to be uppercase + set scaledValueOfFirstFixedSurface = missing(); # has to have parens write; EOF ${tools...
update WSL2 install instruction update WSL2 install instruction in documentation.
@@ -304,6 +304,12 @@ make modules sudo make modules_install ```` +After install the module you will need to change the name of the directory to remove the '+' at the end + +```` +mv /lib/modules/$KERNEL_VERSION-microsoft-standard-WSL2+/ /lib/modules/$KERNEL_VERSION-microsoft-standard-WSL2 +```` + Then you can install b...
HV: Fix SR-IOV problem on EHL hv: vpci: Add 0x45, which is the high-byte of device id of EHL, to the enumeration array in vhostbridge.c. This is to fix the problem that PCIe extended capabilities like SR-IOV cannot be used on EHL.
KBL(7/8-gen) | 0x59 CFL/CFL-R(8/9-gen) | 0x3e ICL(10-gen) | 0x9b - EHL/TGL(11-gen) | 0x9a + EHL(11-gen) | 0x45 + TGL(11-gen) | 0x9a -------------------------------------------------------------------------------------- */ -static const uint32_t hostbridge_did_highbytes[] = {0x19U, 0x5aU, 0x59U, 0x3eU, 0x9aU, 0x9bU}; +s...
pg_dump: Lock all interesting tables in single statement. This reduces the potentially significant command and communication overhead between frontend and backend when sending a LOCK TABLE query for each table. Discussion: Authored-by: Brent Doil
@@ -6482,6 +6482,7 @@ getTables(Archive *fout, int *numTables) int i; PQExpBuffer query = createPQExpBuffer(); TableInfo *tblinfo; + bool lockTableDumped = false; int i_reltableoid; int i_reloid; int i_relname; @@ -6832,6 +6833,8 @@ getTables(Archive *fout, int *numTables) ExecuteSqlStatement(fout, query->data); } + re...
tcp: set sw_if_index in tcp src-address cli the receive dpo added by tcp src-address cli do not have a valid sw_if_index , ip4_local_check_src() and tcp_input_lookup_buffer() will set ~0 to vnet_buffer(b)->sw_if_index[VLIB_RX], which will cause crash in tcp46_reset_inline, Type: fix
@@ -433,7 +433,7 @@ tcp_configure_v4_source_address_range (vlib_main_t * vm, /* Add local adjacencies for the range */ - receive_dpo_add_or_lock (DPO_PROTO_IP4, ~0 /* sw_if_index */ , + receive_dpo_add_or_lock (DPO_PROTO_IP4, sw_if_index /* sw_if_index */, NULL, &dpo); prefix.fp_len = 32; prefix.fp_proto = FIB_PROTOCOL...
Removed rendering/pixeldata.py from skip list.
{"category":"queries","file":"revolved_surface_area.py"}, {"category":"rendering","file":"compositing.py"}, {"category":"rendering","file":"view.py","cases":["view_16","view_17"]}, - {"category":"rendering","file":"pixeldata.py","cases":["pixeldata_0_04","pixeldata_0_05","pixeldata_0_06","pixeldata_0_07","pixeldata_0_0...
Update comment about size of QuantizedFloat. Note: mandatory check (NEED_CHECK) was skipped
@@ -30,7 +30,8 @@ namespace NCB { enum class EFeatureValuesType { Float, //32 bits per feature value - QuantizedFloat, //at most 8 bits per feature value. Contains grid + QuantizedFloat, //quantized with at most 8 bits (for GPU) or 16 bits (for CPU) per + // feature value. HashedCategorical, //values - 32 bit hashes of...
Add poke1() and peek1() functions
@@ -89,6 +89,16 @@ void tic_api_poke4(tic_mem* memory, s32 address, u8 value) tic_api_poke(memory, address, value, 4); } +u8 tic_api_peek1(tic_mem* memory, s32 address) +{ + return tic_api_peek(memory, address, 1); +} + +void tic_api_poke1(tic_mem* memory, s32 address, u8 value) +{ + tic_api_poke(memory, address, value...
Fix reclaim logic bug.
@@ -250,38 +250,6 @@ _me_align_dap(u3_post pos_p, c3_w ald_w, c3_w alp_w) return pad_w; } -#if 0 -/* _ca_box_make_hat(): in u3R, allocate directly on the hat. -*/ -static u3a_box* -_ca_box_make_hat(c3_w len_w, c3_w ald_w, c3_w alp_w, c3_w use_w) -{ - c3_w pad_w; - u3_post all_p; - - if ( c3y == u3a_is_north(u3R) ) { - ...
Change /usr/workspace/wsa to /usr/WS1 in regressiontest_pascal.
# Cyrus Harrison, Thu Sep 8 12:42:42 PDT 2022 # Use new entry point for visit testing module. # +# Eric Brugger, Wed Sep 28 10:11:32 PDT 2022 +# Changed all paths using /usr/workspace/wsa to /usr/WS1 so that the +# launcher test would pass. They are both the same directory, but the +# current directory when running the...
Add hue, sat, x and y attributes only to supported lights. TODO: The IKEA CWS color light still needs some extra treatment. Issue
@@ -506,8 +506,8 @@ void LightNode::setHaEndpoint(const deCONZ::SimpleDescriptor &endpoint) { addItem(DataTypeUInt16, RStateCt); - if (haEndpoint().deviceId() != DEV_ID_ZLL_EXTENDED_COLOR_LIGHT && - haEndpoint().deviceId() != DEV_ID_Z30_EXTENDED_COLOR_LIGHT) + if (haEndpoint().deviceId() == DEV_ID_Z30_COLOR_TEMPERATURE...
out_gelf: catch and print error if sendmsg() fails (CID 184254)
@@ -137,6 +137,7 @@ static void gelf_zlib_end(z_stream *stream) static int gelf_send_udp_chunked (struct flb_out_gelf_config *ctx, void *msg, size_t msg_size) { + int ret; uint8_t header[12]; uint8_t n; size_t chunks; @@ -185,7 +186,10 @@ static int gelf_send_udp_chunked (struct flb_out_gelf_config *ctx, void *msg, iov...
drivers/bq27z561: remove assert in driver Remove assert in code and just return return codes
* under the License. */ -#include <assert.h> #include <math.h> #include <string.h> @@ -1079,7 +1078,7 @@ bq27z561_battery_property_get(struct battery_driver *driver, property->bp_value.bpv_temperature = val.bpv_i8; } else { rc = -1; - assert(0); + return rc; } if (rc == 0) { property->bp_valid = 1; @@ -1138,7 +1137,6 @...
tests: add ip6 punt policer handoff test Add a test for ip6 punt policer thread handoff. A child class is created that uses common punt test setup but is configured to have 2 worker threads. Type: test
@@ -31,7 +31,7 @@ from vpp_ip_route import VppIpRoute, VppRoutePath, find_route, VppIpMRoute, \ from vpp_neighbor import find_nbr, VppNeighbor from vpp_pg_interface import is_ipv6_misc from vpp_sub_interface import VppSubInterface, VppDot1QSubint -from vpp_policer import VppPolicer +from vpp_policer import VppPolicer, ...
try to document changes in salt handling for the 'enc' command
@@ -143,6 +143,8 @@ encrypting, this is the default. =item B<-S> I<salt> The actual salt to use: this must be represented as a string of hex digits. +If this option is used while encrypting, the same exact value will be needed +again during decryption. =item B<-K> I<key> @@ -230,9 +232,11 @@ OpenSSL. Without the B<-sal...
The correct key length for a TLSv1.3 SHA384 ciphersuite is 48 Our test was using 32. The latest ticket nonce changes now validate this value and so sslapitest was failing.
@@ -2002,7 +2002,8 @@ static int test_tls13_psk(void) const unsigned char key[] = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, 0x10, 0x11, 0x12, 0x13, 0x14, 0x15, 0x16, 0x17, - 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e, 0x1f + 0x18, 0x19, 0x1a, 0x1b, 0x1c, 0x1d, 0x1e,...
ra: parser: add missing regex_id header definition
#define FLB_RA_PARSER_STRING 0 /* fixed string */ #define FLB_RA_PARSER_KEYMAP 1 /* record map key */ #define FLB_RA_PARSER_FUNC 2 /* record function: tag, time... */ +#define FLB_RA_PARSER_REGEX_ID 3 /* regex id / capture position */ struct flb_ra_key { flb_sds_t name; @@ -36,6 +37,7 @@ struct flb_ra_key { struct flb_...
refactor(sticky keys): rename timer_is_started to timer_started
@@ -40,9 +40,9 @@ struct active_sticky_key { const struct behavior_sticky_key_config *config; // timer data. bool timer_started; + bool timer_cancelled; int64_t release_at; struct k_delayed_work release_timer; - bool timer_is_cancelled; // usage page and keycode for the key that is being modified by this sticky key uin...
OcCpuLib: Fix microcode reading once again
@@ -17,6 +17,7 @@ BITS 64 DEFAULT REL MSR_IA32_BIOS_SIGN_ID equ 00000008Bh +CPUID_VERSION_INFO equ 1 ;------------------------------------------------------------------------------ ; UINT32 @@ -36,8 +37,9 @@ BITS 64 xor eax, eax xor edx, edx wrmsr - mov eax, 1 + mov eax, CPUID_VERSION_INFO cpuid mov ecx, MSR_IA32_BIOS_...
Add timing stats option to build tool
@@ -21,6 +21,7 @@ Options: -d Enable compiler safeguards like -fstack-protector. You should probably do this if you plan to give the compiled binary to other people. + -s Print statistics about compile time and binary size. -h or --help Print this message and exit. EOF } @@ -38,8 +39,9 @@ compiler_exe="${CC:-cc}" verbo...
fix bug with lookback = 0
@@ -56,6 +56,7 @@ void update_accel_params(Work * w, scs_int idx){ } blasint initAccelWrk(Accel * a){ + DEBUG_FUNC blasint info; scs_float twork; scs_int l = a->l; @@ -72,6 +73,7 @@ blasint initAccelWrk(Accel * a){ } Accel* initAccel(Work * w) { + DEBUG_FUNC Accel * a = scs_malloc(sizeof(Accel)); if (!a) { RETURN SCS_N...
config tool: fixup load_order bug fixup load_order bug
@@ -119,16 +119,16 @@ def get_ivshmem_enabled_by_tree(etree): return shmem_enabled def is_pre_launched_vm(vm_type): - if vm_type is 'PRE_LAUNCHED_VM': + if vm_type == 'PRE_LAUNCHED_VM': return True return False def is_post_launched_vm(vm_type): - if vm_type is 'POST_LAUNCHED_VM': + if vm_type == 'POST_LAUNCHED_VM': ret...
Implementation of CGColor::CGColorGetTypeID
@@ -228,3 +228,10 @@ CGPatternRef CGColorGetPattern(CGColorRef color) { RETURN_NULL_IF(!color); return color->Pattern(); } + +/** + @Status Interoperable +*/ +CFTypeID CGColorGetTypeID() { + return __CGColor::GetTypeID(); +}
Comment unused 'autoUpdate' variable until R21 bootlader refactor
@@ -511,7 +511,7 @@ void DeRestPluginPrivate::queryFirmwareVersion() fwUpdateTimer->start(FW_WAIT_USER_TIMEOUT); apsCtrl->setParameter(deCONZ::ParamFirmwareUpdateActive, deCONZ::FirmwareUpdateReadyToStart); - bool autoUpdate = false; +// bool autoUpdate = false; // TODO refactor when R21 bootloader v2 arrives // auto u...
Update sgemm_direct_skylakex.c
/* the direct sgemm code written by Arjan van der Ven */ -#include <immintrin.h> +//#include <immintrin.h> /* * "Direct sgemm" code. This code operates directly on the inputs and outputs
Change the location of the temporary scene file
@@ -322,16 +322,7 @@ houdiniEngine_viewInHoudini() int $isWindows = `about -win`; int $isMac = `about -mac`; - string $hipFile; - if($isWindows || $isMac) - { - $hipFile = getenv("TMPDIR"); - } - else if($isLinux) - { - $hipFile = "/tmp"; - } - + string $hipFile = `houdiniEngine -makeTempDir`; $hipFile += "/houdiniEngi...
hv: fix build warning with gcc-11.2 dm/vrtc.c:565:33: error: 'current' may be used uninitialized in this function.[-Werror=maybe-uninitialized] Move the local variable definition into one code block to avoid warning.
@@ -548,21 +548,19 @@ static bool vrtc_write(struct acrn_vcpu *vcpu, uint16_t addr, size_t width, time_t current, after; struct acrn_vrtc *vrtc = &vcpu->vm->vrtc; struct acrn_vrtc temp_vrtc; - bool is_time_register; uint8_t mask = 0xFFU; if ((width == 1U) && (addr == CMOS_ADDR_PORT)) { vrtc->addr = (uint8_t)(value & 0x...
BugID:17291083:subscribe subdev topic after subdev login
@@ -1611,12 +1611,6 @@ int linkkit_gateway_subdev_register(char *productKey, char *deviceName, char *de } _linkkit_gateway_upstream_mutex_unlock(); - res = iotx_dm_subscribe(devid); - if (res != SUCCESS_RETURN) { - _linkkit_gateway_mutex_unlock(); - return FAIL_RETURN; - } - linkkit_gateway_dev_callback_node_t *dev_cal...
mips/tilegx: Add missing unwind_i.h header file reported-by: John Knight
@@ -282,7 +282,7 @@ libunwind_hppa_la_SOURCES_hppa = $(libunwind_la_SOURCES_hppa_common) \ hppa/Gresume.c hppa/Gstep.c # The list of files that go info libunwind and libunwind-mips: -noinst_HEADERS += mips/init.h mips/offsets.h +noinst_HEADERS += mips/init.h mips/offsets.h mips/unwind_i.h libunwind_la_SOURCES_mips_comm...
[P2P] Add interface to get network information of server itself.
@@ -9,8 +9,12 @@ import ( // PeerAccessor is an interface for a another actor module to get info of peers type PeerAccessor interface { + // SelfMeta returns peerid, ipaddress and port of server itself + SelfMeta() PeerMeta + GetPeerBlockInfos() []types.PeerBlockInfo GetPeer(ID types.PeerID) (RemotePeer, bool) + } type...
Update AtkUnitBase.cs add VisibilityFlags
@@ -26,6 +26,7 @@ namespace FFXIVClientStructs.FFXIV.Component.GUI [FieldOffset(0x108)] public AtkComponentNode* WindowNode; [FieldOffset(0x1AC)] public float Scale; [FieldOffset(0x182)] public byte Flags; + [FieldOffset(0x1B6)] public byte VisibilityFlags; [FieldOffset(0x1BC)] public short X; [FieldOffset(0x1BE)] publ...
Changing battery attribute.
@@ -1331,6 +1331,8 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt) sensor->modelId() == QLatin1String("Zen-01") || sensor->modelId() == QLatin1String("Bell") || sensor->modelId() == QLatin1String("SLT2") || + sensor->modelId() == QLatin1String("TS0202") || // Tuya sensor + sensor->modelId() ...
Fix errors in amalgamate.py when running via Python 3.x
# limitations under the License. import argparse +import io import os import re import sys @@ -58,7 +59,7 @@ def find_deps(files, include_dirs): def find_file_deps(filename, include_dirs, deps): deps[filename] = [] - with open(filename, 'rb') as file: + with io.open(filename, 'rt', newline='\n') as file: for i in find_...
mdns: fixed crash on free undefined ptr after skipped strdup Shortcircuit evaluation may cause skip of _mdns_strdup_check of any further question field, which after clear_rx_packet freed undefined memory. Fixes
@@ -2590,7 +2590,7 @@ void mdns_parse_packet(mdns_rx_packet_t * packet) parsed_packet->discovery = true; mdns_srv_item_t * a = _mdns_server->services; while (a) { - mdns_parsed_question_t * question = (mdns_parsed_question_t *)malloc(sizeof(mdns_parsed_question_t)); + mdns_parsed_question_t * question = (mdns_parsed_qu...
suspend_test: delay more time for erase
@@ -628,10 +628,12 @@ void esp_test_for_suspend(void) printf("aaaaa bbbbb zzzzz fffff qqqqq ccccc\n"); } +static volatile bool task_erase_end, task_suspend_end = false; void task_erase_large_region(void *arg) { esp_partition_t *part = (esp_partition_t *)arg; test_erase_large_region(part); + task_erase_end = true; vTask...
Simplify and don't replace history for cancelled forms
@@ -63,8 +63,7 @@ Janet janet_line_getter(int32_t argc, Janet *argv) { gbl_cancel_current_repl_form = false; // Signal that the user bailed out of the current form - static const char *const msg = "cancel"; - result = janet_ckeywordv(msg); + result = janet_ckeywordv("cancel"); } else { result = janet_wrap_buffer(buf); ...
VERSION bump to version 0.12.47
@@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 46) +set(LIBNETCONF2_MICRO_VERSION 47) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
Will it blend?
@@ -31,7 +31,7 @@ only_commits: artifacts: - path: dist - name: "janet-$(APPVEYOR_TAG_NAME)-windows.zip" + name: $("janet-"+$env:APPVEYOR_TAG_NAME+"-windows") type: Zip deploy: @@ -39,7 +39,7 @@ deploy: provider: GitHub auth_token: secure: lwEXy09qhj2jSH9s1C/KvCkAUqJSma8phFR+0kbsfUc3rVxpNK5uD3z9Md0SjYRx - artifact: "ja...
Add support in pg_dump to read gphdfs in older versions of GPDB
@@ -1096,7 +1096,10 @@ dumpRoles(PGconn *conn) i_is_current_user; int i; bool exttab_auth = (server_version >= 80214); - bool hdfs_auth = (server_version >= 80215); + /* + * Support for gphdfs was removed in Greenplum 6 + */ + bool hdfs_auth = (server_version >= 80215 && server_version < 80400); char *resq_col = resour...
local copy of btc_msg_t No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
@@ -218,16 +218,7 @@ static void btc_thread_handler(void *arg) static bt_status_t btc_task_post(btc_msg_t *msg, uint32_t timeout) { - btc_msg_t *lmsg; - - lmsg = (btc_msg_t *)osi_malloc(sizeof(btc_msg_t)); - if (lmsg == NULL) { - return BT_STATUS_NOMEM; - } - - memcpy(lmsg, msg, sizeof(btc_msg_t)); - - if (osi_thread_p...
[CHAIN] add error log for reset height
@@ -111,6 +111,7 @@ func (cdb *ChainDB) ResetBest(resetNo types.BlockNo) error { best := cdb.getBestBlockNo() if best <= resetNo { + logger.Error().Uint64("best", best).Uint64("reset", resetNo).Msg("too big reset height") return ErrTooBigResetHeight }
launcher: use xdga tokens This reuses wlroots token tracking for workspace matching. It doesn't export any xdga tokens for clients yet.
#define _POSIX_C_SOURCE 200809L #include <stdlib.h> #include <string.h> +#include <wlr/types/wlr_xdg_activation_v1.h> #include "sway/input/seat.h" #include "sway/output.h" #include "sway/desktop/launcher.h" @@ -15,7 +16,8 @@ static struct wl_list pid_workspaces; struct pid_workspace { pid_t pid; char *name; - struct ti...
Solve minor bug (double value_destroy) in configuration object map.
@@ -51,8 +51,6 @@ static char * configuration_object_read(const char * path); static int configuration_object_childs_cb_iterate(set s, set_key key, set_value val, set_cb_iterate_args args); -static int configuration_object_destroy_cb_iterate(set s, set_key key, set_value val, set_cb_iterate_args args); - /* -- Methods ...
[mod_accesslog] update defaults after cycling log (thx avij) must update the cached copy of global scope config after cycling log. Although (accesslog_st *) is modified in-place, the log_access_fd member of (accesslog_st *) is copied into the cache and must be updated after cycling logs in the global scope.
@@ -787,6 +787,8 @@ SIGHUP_FUNC(log_access_cycle) { log_perror(srv->errh, __FILE__, __LINE__, "cycling access log failed: %s", x->access_logfile->ptr); } + /*(update p->defaults after cycling log)*/ + if (0 == i) p->defaults.log_access_fd = x->log_access_fd; break; } default:
omnibox: make searching case insensitive Fixes
@@ -104,7 +104,7 @@ export class Omnibox extends Component { search(event) { const { state } = this; - const query = event.target.value; + let query = event.target.value; const results = this.initialResults(); this.setState({ query: query }); @@ -120,6 +120,8 @@ export class Omnibox extends Component { return; } + quer...
check for unsupported distro
@@ -13,6 +13,12 @@ else exit 1 fi +if [ -z "${repodor}" ];then + echo "Error: unknown or unsupported OS distro." + echo "Please confirm local host matches an OpenHPC supported distro." + exit 1 +fi + if [ ! -d "${repodir}" ];then echo "Error: unable to find local repodir (expected ${repodir})" exit 1
Add Motor SHIM for Pico link to readme
@@ -71,7 +71,8 @@ We also maintain a C++/CMake boilerplate with GitHub workflows configured for te * Pico Display 2.0 - https://shop.pimoroni.com/products/pico-display-pack-2-0 ## SHIMs -* Pico LiPo SHIM - https://shop.pimoroni.com/products/pico-lipo-shim +* LiPo SHIM for Pico - https://shop.pimoroni.com/products/pico-...
[mod_magnet] no local server port on unix domain no local server port on unix domain socket
@@ -1668,10 +1668,12 @@ static buffer *magnet_env_get_buffer_by_id(request_st * const r, int id) { { const server_socket * const srv_socket = r->con->srv_socket; const buffer * const srv_token = srv_socket->srv_token; - const uint32_t portoffset = srv_socket->srv_token_colon+1; + const uint32_t tlen = buffer_clen(srv_t...
Testing: disable test unless Posix threads enabled
@@ -29,7 +29,6 @@ list( APPEND test_bins bufr_get_element sh_ieee64 ieee - grib_encode_pthreads ) foreach( tool ${test_bins} ) @@ -53,7 +52,6 @@ list( APPEND tests_no_data_reqd grib_2nd_order_numValues julian ecc-517 - grib_encode_pthreads ) # These tests do require data downloads list( APPEND tests_data_reqd @@ -203,6...
S32K3XX FlexCAN kconfig fix to work in conjunction with EMAC ioctl
@@ -1639,7 +1639,7 @@ static int s32k3xx_txavail(struct net_driver_s *dev) * ****************************************************************************/ -#ifdef CONFIG_NETDEV_CAN_BITRATE_IOCTL +#ifdef CONFIG_NETDEV_IOCTL static int s32k3xx_ioctl(struct net_driver_s *dev, int cmd, unsigned long arg) { @@ -1649,6 +1649...
Fix packet number underflow
@@ -2739,6 +2739,7 @@ void test_ngtcp2_conn_retransmit_protected(void) { /* Kick delayed ACK timer */ t += NGTCP2_SECONDS; + conn->pktns.tx.last_pkt_num = 1000000009; conn->pktns.rtb.largest_acked_tx_pkt_num = 1000000007; it = ngtcp2_rtb_head(&conn->pktns.rtb); ngtcp2_conn_detect_lost_pkt(conn, &conn->pktns, &conn->cst...
Added get results refresh
@@ -1240,6 +1240,12 @@ ACVP_RESULT acvp_get_results_from_server(ACVP_CTX *ctx, const char *request_file } strcpy_s(ctx->jwt_token, ACVP_JWT_TOKEN_MAX + 1, jwt); + rv = acvp_refresh(ctx); + if (rv != ACVP_SUCCESS) { + ACVP_LOG_ERR("Failed to refresh login with ACVP server"); + goto end; + } + rv = acvp_check_test_result...
config: do not leak variable on property error (CID 156543)
@@ -369,6 +369,9 @@ int flb_config_set_property(struct flb_config *config, } if (ret < 0) { + if (tmp) { + flb_free(tmp); + } flb_error("config parameter error"); return -1; }
refactors +jwk, corrects decoding, implements encoding
-- :: ++ jwk - |_ k=key:rsa + |% + ++ en + |% ++ pass + |= k=key:rsa ^- json :- %o %- my :~ kty+s+'RSA' - n+s+(en-base64url n.k) - e+s+(en-base64url e.k) + n+s+(en-base64url (swp 3 n.k)) + e+s+(en-base64url (swp 3 e.k)) == ++ ring !! -- + ++ de + |% + ++ pass + =, dejs-soft:format + %+ ci + |= a=[kty=@t n=(unit @) e=(u...