message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Added vendor ThinkTech:172 | <xs:enumeration value="Synwit:144" />
<xs:enumeration value="TI:16" />
<xs:enumeration value="Texas Instruments:16" />
+ <xs:enumeration value="ThinkTech:172" />
<xs:enumeration value="Toshiba:92" />
<xs:enumeration value="Triad Semiconductor:104" />
<xs:enumeration value="Unisoc:152" />
|
config: handle empty conf file
Allow the command to complete using default internal configurations.
Print an error message that indicates the file is invalid.
For linux, specify the location of the default configuration. | @@ -33,6 +33,11 @@ function
*/
static dictionary *p_g_dictionary = NULL;
+/**
+@brief global to detect if any preferences were modified
+*/
+static BOOLEAN g_modified_config = FALSE;
+
/**
@brief The default ini file content defined by the ipmctl_default.conf file
*/
@@ -204,6 +209,8 @@ dictionary *nvm_ini_load_diction... |
Add AgentMcguffin to data.yml | @@ -3811,6 +3811,10 @@ classes:
vtbls:
- ea: 0x1418CB4F8
base: Client::UI::Agent::AgentInterface
+ Client::UI::Agent::AgentMcguffin:
+ vtbls:
+ - ea: 0x141843578
+ base: Client::UI::Agent::AgentInterface
Client::Game::Event::EventHandler:
vtbls:
- ea: 0x141796A20
|
Jenkinsfile: Fix test filter issue for windows
The test filter from automation.get-test-selection didn't propagate correctly
to the Test stage. This resultet in that no tests were run for Windows instance. | @@ -168,7 +168,7 @@ def testPipeline(instance_str, json_entry, subst_dir, filter) {
dir("${abs_instance_workdir}") {
ansiColor('xterm') {
// Check if there is a test filter
- def filter_arg = filter ? "--filter \"${json_entry.filter}\"" : ""
+ def filter_arg = filter ? "--filter \"${filter}\"" : ""
bat "inv -r ${abs_ub... |
Fix issue with merging branch 'master' into interpose_polish | @@ -183,7 +183,7 @@ transportSend(transport_t* t, const char* msg)
switch (t->type) {
case CFG_UDP:
if (t->udp.sock != -1) {
- int rc = t->send(t->udp.sock, msg, strlen(msg), 0);
+ int rc = send(t->udp.sock, msg, strlen(msg), 0);
if (rc < 0) {
switch (errno) {
case EWOULDBLOCK:
|
Update windows build instructions #no_auto_pr | @@ -256,10 +256,13 @@ make dist-python PYPI_USERNAME=swiftnav PYPI_PASSWORD=...
## Building on Windows
In order to build on Windows, first install the necessary compilers per the
-instructions [on this Microsoft developer blog][1] install the 64-bit Python
-3.7 version of [Conda][2]. You'll also need to install [Chocol... |
There's nothing that can be done when exec fails. | @@ -87,7 +87,7 @@ const filterfd = {fd, cmd
}
const sporkfd = {cmd, infds, outfds, errfds
- var pid, err
+ var pid
pid = fork()
/* error */
@@ -132,12 +132,9 @@ const sporkfd = {cmd, infds, outfds, errfds
close(outfds[0])
close(errfds[0])
- err = execvp(cmd[0], cmd)
- if err != Enone
- -> `Err err
- ;;
+ execvp(cmd[0],... |
add code to unfuck rpms | @@ -63,6 +63,17 @@ debian_copy_output() {
mv ../${PACKAGE_DIR}[_-]* $OUTPUT/$DIST
mv ../lib* $OUTPUT/$DIST
}
+
+rpm_unfuck_source_tarball_location() {
+ cat rpm/oidc-agent.spec \
+ | grep -v ^Source \
+ > rpm/oidc-agent.spec.bckp
+ VERSION=`head debian/changelog -n 1|cut -d \( -f 2|cut -d \) -f 1|cut -d \- -f 1`
+ RELE... |
build: Dockerfile: add new parsers | @@ -28,8 +28,15 @@ RUN cmake -DFLB_DEBUG=On \
-DFLB_OUT_KAFKA=On ..
RUN make
RUN install bin/fluent-bit /fluent-bit/bin/
+
# Configuration files
-COPY conf/fluent-bit.conf conf/parsers.conf conf/parsers_java.conf /fluent-bit/etc/
+COPY conf/fluent-bit.conf \
+ conf/parsers.conf \
+ conf/parsers_java.conf \
+ conf/parse... |
Small whitespace changes for consistency | @@ -612,9 +612,7 @@ local function generate_lua_entry_point(tl_node)
local nargs = ctx:new_cvar("int", "nargs")
local check_nargs = util.render([[
${NARGS_DECL} = cast_int(L->top - (${BASE} + 1));
- if (${NARGS} != ${EXPECTED}) {
- titan_runtime_arity_error(L, ${EXPECTED}, ${NARGS});
- }
+ if (${NARGS} != ${EXPECTED}) ... |
level0: disable with LLVM 15+, causes too many compilation failures | @@ -1592,6 +1592,10 @@ if (ENABLE_LEVEL0)
endif()
pkg_check_modules(LEVEL0 REQUIRED level-zero>=1.3)
+ if(NOT LLVM_VERSION LESS "15.0")
+ message(FATAL_ERROR "Level Zero requires LLVM/Clang older than 15; llvm-spirv translator breaks often with 15+ ")
+ endif()
+
if (NOT LEVEL0_FOUND)
message(STATUS "Could not find lev... |
Wrap TTL expiration in TRY/CATCH instead of allowing reaper to exit on error | @@ -253,10 +253,13 @@ ContinuousQueryReaperMain(void)
for (;;)
{
int deleted = 0;
+ bool error = false;
StartTransactionCommand();
SetCurrentStatementStartTimestamp();
+ PG_TRY();
+ {
ttl_rels = get_ttl_rels(&min_sleep);
foreach(lc, ttl_rels)
@@ -282,13 +285,28 @@ ContinuousQueryReaperMain(void)
set_last_expiration(rel... |
interface: braces around if statements | @@ -55,8 +55,9 @@ class GcpManager {
}
restart() {
- if (this.#running)
+ if (this.#running) {
this.stop();
+ }
this.start();
}
@@ -105,8 +106,9 @@ class GcpManager {
}
private refreshAfter(durationMs) {
- if (!this.#running)
+ if (!this.#running) {
return;
+ }
if (this.#timeoutId !== null) {
console.warn('GcpManager a... |
tests: fix test_control_event_serialize
commit changed the protocol, fix the related testing case. | @@ -87,13 +87,13 @@ static void test_serialize_mouse_event(void) {
unsigned char buf[SERIALIZED_EVENT_MAX_SIZE];
int size = control_event_serialize(&event, buf);
- assert(size == 14);
+ assert(size == 18);
const unsigned char expected[] = {
0x02, // CONTROL_EVENT_TYPE_MOUSE
0x00, // AKEY_EVENT_ACTION_DOWN
0x00, 0x00, 0... |
common/keyboard_mkbp.c: Format with clang-format
BRANCH=none
TEST=none | @@ -47,8 +47,9 @@ struct ec_mkbp_protocol_config {
static struct ec_mkbp_protocol_config config = {
.valid_mask = EC_MKBP_VALID_SCAN_PERIOD | EC_MKBP_VALID_POLL_TIMEOUT |
EC_MKBP_VALID_MIN_POST_SCAN_DELAY |
- EC_MKBP_VALID_OUTPUT_SETTLE | EC_MKBP_VALID_DEBOUNCE_DOWN |
- EC_MKBP_VALID_DEBOUNCE_UP | EC_MKBP_VALID_FIFO_MA... |
drv2605 shell: remove the non-existent load_rtp command from help | @@ -76,7 +76,6 @@ drv2605_shell_help(void)
console_printf("\tchip_id\n");
console_printf("\tload_cal [brake_factor loop_gain lra_sample_time lra_blanking_time lra_idiss_time auto_cal_time lra_zc_det_time]\n");
console_printf("\tload_rom [up to 8 uint8_t]\n");
- console_printf("\tload_rtp [uint8_t]\n");
console_printf("... |
Update Changelog for 0.3.17 | OpenBLAS ChangeLog
====================================================================
+Version 0.3.17
+ 15-Jul-2021
+
+common:
+ - reverted the optimization of SGEMV_N/DGEMV_N for small input sizes
+ and consecutive arguments as it led to stack overflows on x86_64
+ with some operating systems (notably OSX and Window... |
Update readme for .NET 6 | @@ -28,7 +28,7 @@ For general questions visit the [Discussions Area](https://github.com/coinfoundr
### Linux: pre-built binaries
-- Install [.NET 5 Runtime](https://dotnet.microsoft.com/download/dotnet/5.0)
+- Install [.NET 6 Runtime](https://dotnet.microsoft.com/download/dotnet/6.0)
- For Debian/Ubuntu, install these ... |
Remove notifications and format check from CI
The code isn't formatted in _main_ of all places anyway, so it
effectively blocks every commit. | @@ -34,10 +34,4 @@ script:
- make
- cd $TRAVIS_BUILD_DIR
- python ./scripts/check_manfile.py
- - ./checkFormat.sh
compiler: clang
-notifications:
- email:
- - zmap-devel@umich.edu
- slack:
- secure: gLiX4zUhlYMJ0l7kJlb5Wf5CmAynj+WQufThSBPP7XlLZddl6Vql72sJuqwl1ZV75xEsqP05QDulBMJc9AaED7BP53vhngHHgWLwjt026ne5sbA/s98U735jT... |
Add virtual dtor to the base class | @@ -36,6 +36,8 @@ namespace ebi
public:
virtual std::string sequence(const std::string& contig, const size_t pos, const size_t length) = 0;
virtual size_t count(const std::string& contig) const = 0;
+
+ virtual ~IFasta(){}
};
class FileBasedFasta : public IFasta
|
pyocf: implement test_cleaner_disabled_nop | import pytest
from pyocf.types.volume import RamVolume
-from pyocf.types.cache import Cache, CacheMetadataSegment
+from pyocf.types.cache import Cache, CacheMetadataSegment, CleaningPolicy
from pyocf.types.core import Core
from pyocf.types.shared import OcfError, OcfCompletion
from pyocf.utils import Size as S
@@ -103,... |
Fix PhGetProcessPackageFullName string comparison | @@ -379,9 +379,9 @@ PPH_STRING PhGetProcessPackageFullName(
{
PTOKEN_SECURITY_ATTRIBUTE_V1 attribute = &info->Attribute.pAttributeV1[i];
- if (RtlEqualUnicodeString(&attribute->Name, &attributeNameUs, FALSE))
- {
if (attribute->ValueType == TOKEN_SECURITY_ATTRIBUTE_TYPE_STRING)
+ {
+ if (RtlEqualUnicodeString(&attribut... |
netutil/ifconfig: enable ipv6 autoconfig
enable ipv6 autoconfig option.
it is disabled by default.
so user uses "ifconfig <interface_name> auto" this command,
it will enable the autoconfig option on that interface and
generate the link-local ipv6 address by autoconfig | @@ -273,6 +273,32 @@ int cmd_ifconfig(int argc, char **argv)
ndbg("DHCPC Mode\n");
gip = addr.s_addr = 0;
+ netlib_set_ipv4addr(intf, &addr);
+#ifdef CONFIG_NET_IPv6
+ } else if (!strcmp(hostip, "auto")) {
+ /* IPV6 auto configuration : Link-Local address */
+
+ ndbg("IPV6 link local address auto config\n");
+ netif = ... |
Give proper Dict type hints in crypto_knowledge.py
This prevents a return type error in a later function that uses the
dictionaries here properly typed. | @@ -20,7 +20,7 @@ This module is entirely based on the PSA API.
import enum
import re
-from typing import FrozenSet, Iterable, List, Optional, Tuple
+from typing import FrozenSet, Iterable, List, Optional, Tuple, Dict
from .asymmetric_key_data import ASYMMETRIC_KEY_DATA
@@ -148,7 +148,7 @@ class KeyType:
'PSA_ECC_FAMIL... |
spwaterfall: adding last remaining testable pieces | @@ -52,6 +52,14 @@ void autotest_spwaterfall_invalid_config()
// test invalid configurations, default construction
CONTEND_ISNULL(spwaterfallcf_create_default( 0, time))
CONTEND_ISNULL(spwaterfallcf_create_default(nfft, 0))
+
+ // create proper object but test invalid internal configurations
+ spwaterfallcf q = spwater... |
linux/: use TEMP_FAILURE_RETRY with some restartable funcs | @@ -1054,7 +1054,7 @@ static void arch_traceExitSaveData(run_t* run, pid_t pid) {
}
}
- int fd = open(run->crashFileName, O_WRONLY | O_EXCL | O_CREAT, 0600);
+ int fd = TEMP_FAILURE_RETRY(open(run->crashFileName, O_WRONLY | O_EXCL | O_CREAT, 0600));
if (fd == -1 && errno == EEXIST) {
LOG_I("It seems that '%s' already e... |
Added dedicated Gira/Jung modelIDs to button map | ]
},
"instaRemoteMap": {
- "modelids": [],
+ "modelids": ["HS_4f_GJ_1", "WS_4f_J_1", "WS_3f_G_1"],
"map": [
[1, "0x01", "ONOFF", "OFF_WITH_EFFECT", "0", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "Off with effect"],
[1, "0x01", "ONOFF", "ON", "0", "S_BUTTON_2", "S_BUTTON_ACTION_SHORT_RELEASED", "On"],
|
expand mq test stack size to fix overstack problem during utest. | @@ -19,8 +19,8 @@ static rt_uint8_t mq_buf[(MSG_SIZE + 4) * MAX_MSGS];
static struct rt_thread mq_send_thread;
static struct rt_thread mq_recv_thread;
-static rt_uint8_t mq_send_stack[512];
-static rt_uint8_t mq_recv_stack[512];
+static rt_uint8_t mq_send_stack[1024];
+static rt_uint8_t mq_recv_stack[1024];
static stru... |
Add workaround for issue with selection->search->termination of invisible entries | @@ -3433,6 +3433,10 @@ VOID PhGetSelectedProcessItems(
{
PPH_PROCESS_NODE node = ProcessNodeList->Items[i];
+ // HACK workaround issue with multiple select->search->termination and Searchbox->PhApplyTreeNewFilters (dmex)
+ if (!node->Node.Visible)
+ continue;
+
if (node->Node.Selected)
PhAddItemArray(&array, &node->Pro... |
patch/no-sgx-flc: update the URL of the v33 in-tree Linux SGX driver | There are still non-trivial number of systems without FLC support.
# Prerequisite
-- Apply the patch `0001-sgx-Support-SGX1-machine-even-without-FLC-support.patch` to [v33 SGX in-tree driver](https://github.com/jsakkine-intel/linux-sgx/tree/v33).
+- Apply the patch `0001-sgx-Support-SGX1-machine-even-without-FLC-suppor... |
core/minute-ia/include/fpu.h: Format with clang-format
BRANCH=none
TEST=none | @@ -20,11 +20,7 @@ static inline float sqrtf(float v)
float root;
/* root = fsqart (v); */
- asm volatile(
- "fsqrt"
- : "=t" (root)
- : "0" (v)
- );
+ asm volatile("fsqrt" : "=t"(root) : "0"(v));
return root;
}
@@ -34,11 +30,7 @@ static inline float fabsf(float v)
float root;
/* root = fabs (v); */
- asm volatile(
- "... |
wsman-libxml2-binding: xml_parser_ns_find() fix possible node NULL dereferencing | @@ -430,7 +430,7 @@ xml_parser_ns_find(WsXmlNodeH node,
xmlNode = xmlNode->parent;
}
- if (xmlNs == NULL && bAddAtRootIfNotFound) {
+ if (node != NULL && xmlNs == NULL && bAddAtRootIfNotFound) {
xmlNodePtr xmlRoot =
xmlDocGetRootElement(((xmlDocPtr) node)->doc);
char buf[12];
|
Fix bug in cdc_peek | @@ -209,7 +209,7 @@ static inline void tud_cdc_read_flush (void)
static inline bool tud_cdc_peek (uint8_t* u8)
{
- return tud_cdc_n_peek(u8);
+ return tud_cdc_n_peek(0, u8);
}
static inline uint32_t tud_cdc_write_char (char ch)
|
Coder: fix handling of float literals in 'for' | @@ -368,21 +368,23 @@ local function codefor(ctx, node)
local ilit = node2literal(node.inc)
if ilit then
if ilit > 0 then
- subs.ILIT = c_integer_literal(ilit)
local tmpl
if types.equals(node.decl._type, types.Integer) then
+ subs.ILIT = c_integer_literal(ilit)
tmpl = "$CVAR = l_castU2S(l_castS2U($CVAR) + $ILIT)"
else
... |
Fix wrong case in TARGET setting for Alpine | @@ -117,7 +117,7 @@ matrix:
- <<: *test-alpine
env:
- TARGET_BOX=LINUX64_MUSL
- - BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
+ - BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=CORE2"
- &test-cmake
os: linux
|
groups: World Privacy icon fix
Although the bug was poetic, this makes the icon in GroupLink aware of the group's hidden status and surfaces a lock icon in those cases instead of the "public" globe icon. | @@ -78,7 +78,11 @@ export function GroupLink(
{preview ?
<>
<Box pr='2' display='flex' alignItems='center'>
- <Icon icon='Public' color='gray' mr='1' />
+ <Icon
+ icon={preview.metadata.hidden ? 'Locked' : 'Public'}
+ color='gray'
+ mr='1'
+ />
<Text fontSize='0' color='gray'>
{preview.metadata.hidden ? 'Private' : 'Pu... |
Set only remembered transport params for early data | @@ -7591,7 +7591,20 @@ int ngtcp2_conn_set_remote_transport_params(
void ngtcp2_conn_set_early_remote_transport_params(
ngtcp2_conn *conn, const ngtcp2_transport_params *params) {
- settings_copy_from_transport_params(&conn->remote.settings, params);
+ ngtcp2_transport_params p;
+
+ memset(&p, 0, sizeof(p));
+
+ p.init... |
meowth: Fix PPC configs.
There are 2.
BRANCH=None
TEST=Flash meowth. Verify that EC doesn't panic.
Commit-Ready: Aseda Aboagye
Tested-by: Aseda Aboagye | @@ -182,19 +182,18 @@ const struct i2c_port_t i2c_ports[] = {
const unsigned int i2c_ports_used = ARRAY_SIZE(i2c_ports);
-/* TODO(aaboagye): Add the other ports. 3 for Zoombini, 2 for Meowth */
const struct ppc_config_t ppc_chips[] = {
{
.i2c_port = I2C_PORT_TCPC0,
.i2c_addr = SN5S330_ADDR0,
.drv = &sn5s330_drv
},
-#if... |
super-rsu: change bmc_pkg version impl
Change bmc_pkg version property implementation to return a list of two
versions converted to strings. This is done to allow comparing against
the version encoded in the manifest. | @@ -460,7 +460,7 @@ class bmc_pkg(flashable):
@property
def version(self):
- return (self._img.version, self._fw.version)
+ return [str(self._img.version), str(self._fw.version)]
def is_supported(self, flash_info):
return self._img.is_supported(flash_info) and self._fw.is_supported(
|
Applying the windows patch after the checkout completes
I believe this will fix the residual issue. | @@ -12,8 +12,8 @@ foreach ($dir in "$Env:OPENSSLDIR","$Env:OPENSSL64DIR") {
pushd ..
git clone --branch master --single-branch --shallow-submodules --recurse-submodules --no-tags https://github.com/h2o/picotls 2>&1 | %{ "$_" }
cd picotls
-git apply ..\picoquic\ci\picotls-win32.patch
git checkout -q "$COMMIT_ID"
+git ap... |
remove debug vestiges | @@ -507,10 +507,7 @@ protoop_arg_t plugin_run_protoop(picoquic_cnx_t *cnx, const protoop_params_t *pp
protocol_operation_struct_t *post;
HASH_FIND_PID(cnx->ops, &(pp->pid->hash), post);
if (!post) {
- /* TODO CONTINUE FIXME FIXME */
printf("FATAL ERROR: no protocol operation with id %s\n", pp->pid->id);
- int *a = NULL... |
Forbid HID input without OTG on Windows
On Windows, if the adb daemon is running, opening the USB device will
necessarily fail, so HID input is not possible.
Refs <https://github.com/Genymobile/scrcpy/issues/2773>
PR <https://github.com/Genymobile/scrcpy/pull/3011> | @@ -1680,6 +1680,18 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
}
#ifdef HAVE_USB
+
+# ifdef _WIN32
+ if (!opts->otg && (opts->keyboard_input_mode == SC_KEYBOARD_INPUT_MODE_HID
+ || opts->mouse_input_mode == SC_MOUSE_INPUT_MODE_HID)) {
+ LOGE("On Windows, it is not possible to open a... |
perf-tools/pdtoolkit: fix patch level | ---- pdtoolkit-3.25/configure~ 2017-11-06 12:55:45.000000000 -0600
-+++ pdtoolkit-3.25/configure 2017-12-05 16:03:59.368119000 -0600
+--- a/configure 2017-11-06 10:55:45.000000000 -0800
++++ b/configure 2017-12-05 14:32:47.000000000 -0800
-prefix=*)
|
Get rid of a warning about unused results | @@ -634,9 +634,10 @@ static bssl::UniquePtr<SSL_CTX> SetupCtx(const TestConfig *config) {
SSL_CTX_set_client_CA_list(ssl_ctx.get(), nullptr);
}
- SSL_CTX_set_session_id_context(ssl_ctx.get(),
+ if (!SSL_CTX_set_session_id_context(ssl_ctx.get(),
(const unsigned char *)sess_id_ctx,
- sizeof(sess_id_ctx) - 1);
+ sizeof(se... |
Fix move_dll for VS2019
TARGET_FILE_DIR will do the right thing regardless of VR version | @@ -549,7 +549,7 @@ if(WIN32)
add_custom_command(TARGET lovr POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
$<TARGET_FILE:${ARGV0}>
- ${CMAKE_CURRENT_BINARY_DIR}/$<CONFIGURATION>/$<TARGET_FILE_NAME:${ARGV0}>
+ $<TARGET_FILE_DIR:lovr>/$<TARGET_FILE_NAME:${ARGV0}>
)
endif()
endfunction()
|
ToolStatus: Fix searching waiting/unknown network connections | @@ -473,16 +473,49 @@ BOOLEAN ServiceTreeFilterCallback(
return FALSE;
}
+// copied from ProcessHacker\netlist.c..
+static PPH_STRING PhpNetworkTreeGetNetworkItemProcessName(
+ _In_ PPH_NETWORK_ITEM NetworkItem
+ )
+{
+ PH_FORMAT format[4];
+
+ if (!NetworkItem->ProcessId)
+ return PhaCreateString(L"Waiting connections... |
extras: fix WEBP_SWAP_16BIT_CSP check
this is defined to 0 by dsp.h if it wasn't defined previously, since:
extras: add WebPUnmultiplyARGB() convenience function | @@ -58,7 +58,7 @@ int WebPImportRGB565(const uint8_t* rgb565, WebPPicture* pic) {
for (y = 0; y < pic->height; ++y) {
const int width = pic->width;
for (x = 0; x < width; ++x) {
-#ifdef WEBP_SWAP_16BIT_CSP
+#if defined(WEBP_SWAP_16BIT_CSP) && (WEBP_SWAP_16BIT_CSP == 1)
const uint32_t rg = rgb565[2 * x + 1];
const uint3... |
bfd:fix NULL session free/put | @@ -473,7 +473,6 @@ bfd_udp_add_session_internal (bfd_udp_main_t * bum, u32 sw_if_index,
bfd_session_t *bs = bfd_get_session (bum->bfd_main, t);
if (!bs)
{
- bfd_put_session (bum->bfd_main, bs);
return VNET_API_ERROR_BFD_EAGAIN;
}
bfd_udp_session_t *bus = &bs->udp;
|
Update pack description | @@ -2624,6 +2624,7 @@ and 8-bit Java bytecodes in Jazelle state.
<file category="source" name="CMSIS/NN/Source/ConvolutionFunctions/arm_nn_mat_mult_kernel_q7_q15_reordered.c"/>
<file category="source" name="CMSIS/NN/Source/ConvolutionFunctions/arm_convolve_1x1_HWC_q7_fast_nonsquare.c"/>
<file category="source" name="CM... |
[mod_magnet] lighty.c.cookie_tokens
lighty.c.cookie_tokens parse cookie header into table
Note: the "lighty.c.*" namespace is EXPERIMENTAL / UNSTABLE
In the future, these may be removed, altered, or moved to a different
namespace. | @@ -1048,6 +1048,43 @@ static int magnet_fspath_simplify(lua_State *L) {
return 1;
}
+static const char * magnet_cookie_param_push(lua_State *L, const char *s) {
+ const char *b = s;
+ while ( *s!=';' && *s!=' ' && *s!='\t' && *s!='\r' && *s!='\n' && *s)
+ ++s;
+ lua_pushlstring(L, b, (size_t)(s-b));
+ return s;
+}
+
+... |
[cmake,tests] for non-RPATH builds, tests need LD_LIBRARY_PATH | @@ -515,8 +515,12 @@ function(build_python_tests)
configure_file(${file} ${SICONOS_SWIG_ROOT_DIR}/tests COPYONLY)
set(name "python_${testname}")
set(exename ${SICONOS_SWIG_ROOT_DIR}/tests/${exename})
- # set_ldlibpath()
+ set_ldlibpath()
add_python_test(${name} ${exename})
endforeach()
endif()
endfunction()
+
+if(WITH_... |
Add some nice comments | @@ -316,9 +316,9 @@ void MsgAlloc_SetMessage(msg_t *msg)
* the reception of the next one in a thread safe code part.
* Then we can copy it without trouble.
*/
- // copy the message to copy location
+ // backup the message to copy location allowing current_msg to be used by reception
cpy_msg = (msg_t *)current_msg;
- //... |
symstreamr: making delay autotest more robust and reliable | #include "autotest/autotest.h"
#include "liquid.h"
-// autotest helper functions
+// autotest helper function: measure delay assuming impulse
+// - set gain to 1 for a single sample
+// - set gain to 0 for remaining samples
+// -> this generates one symbol for the modulation scheme
+// - take fft of resulting pulse
+//... |
{AH} updated news | @@ -5,6 +5,40 @@ http://pysam.readthedocs.io/en/latest/release.html
Release notes
=============
+Release 0.14.0
+==============
+
+* SAM/BAM/CRAM headers are now managed by a separate AlignmentHeader
+ class.
+* AlignmentFile.header.as_dict() returns an ordered dictionary.
+* Use "stop" instead of "end" to ensure consi... |
Docker: Use Debian packages for PEGTL | @@ -75,6 +75,7 @@ RUN apt-get update \
ruby-dev \
swig3.0 \
systemd \
+ tao-pegtl-dev \
tclcl-dev \
uuid-dev \
valgrind \
@@ -94,13 +95,6 @@ RUN mkdir -p ${GTEST_ROOT} \
&& tar -zxvf gtest.tar.gz --strip-components=1 -C ${GTEST_ROOT} \
&& rm gtest.tar.gz
-# PEGTL
-ARG PEGTL_VERSION=2.7.1
-RUN cd /tmp \
- && git clone -... |
Minor lovr.graphics.clear optimization; | @@ -158,8 +158,10 @@ void lovrGraphicsClear(int color, int depth) {
bits |= GL_DEPTH_BUFFER_BIT;
}
+ if (bits != 0) {
glClear(bits);
}
+}
void lovrGraphicsPresent() {
glfwSwapBuffers(state.window);
|
board/dirinboz/board.h: Format with clang-format
BRANCH=none
TEST=none | /* This I2C moved. Temporarily detect and support the V0 HW. */
extern int I2C_PORT_BATTERY;
-enum adc_channel {
- ADC_TEMP_SENSOR_CHARGER,
- ADC_TEMP_SENSOR_SOC,
- ADC_CH_COUNT
-};
+enum adc_channel { ADC_TEMP_SENSOR_CHARGER, ADC_TEMP_SENSOR_SOC, ADC_CH_COUNT };
enum battery_type {
BATTERY_SIMPLO_COS,
@@ -79,20 +75,11... |
vlib: add screen-256color CLI terminal type | @@ -1023,6 +1023,7 @@ unix_cli_terminal_type (u8 * term, uword len)
_("xterm-color");
_("xterm-256color"); /* iTerm on Mac */
_("screen");
+ _("screen-256color"); /* Screen and tmux */
_("ansi"); /* Microsoft Telnet */
#undef _
|
version bump in cyclone library | @@ -632,7 +632,7 @@ void print_cyclone(void)
char cyclone_dir[MAXPDSTRING];
strcpy(cyclone_dir, cyclone_class->c_externdir->s_name);
post("------------------------------------------------------------------------");
- post("Cyclone 0.4; Released September 15th 2019");
+ post("Cyclone 0.4.1; Unreleased");
post("Loading t... |
Shell Recorder: Disable self test on Linux/ASAN | @@ -46,12 +46,7 @@ if (ENABLE_KDB_TESTING)
"script.esr"
)
- # Only add the tests below if they work with the current configuration
- list (FIND REMOVED_PLUGINS mini PLUGIN_INDEX)
- if (${PLUGIN_INDEX} EQUAL -1)
- list (APPEND SCRIPT_TESTS "selftest.esr")
- endif (${PLUGIN_INDEX} EQUAL -1)
-
+ # Only add the test below ... |
driver/accelgyro_icm426xx.h: Format with clang-format
BRANCH=none
TEST=none | #define ICM426XX_GYRO_STOP_TIME 150000
/* Reg value from Accel FS in G */
-#define ICM426XX_ACCEL_FS_TO_REG(_fs) ((_fs) < 2 ? 3 : \
- (_fs) > 16 ? 0 : \
- 3 - __fls((_fs) / 2))
+#define ICM426XX_ACCEL_FS_TO_REG(_fs) \
+ ((_fs) < 2 ? 3 : (_fs) > 16 ? 0 : 3 - __fls((_fs) / 2))
/* Accel FSR in G from Reg value */
#define ... |
Re-implement ANSI C building with a Github workflow | @@ -36,6 +36,18 @@ jobs:
- name: make doc-nits
run: make doc-nits
+ # This checks that we use ANSI C language syntax and semantics.
+ # We are not as strict with libraries, but rather adapt to what's
+ # expected to be available in a certain version of each platform.
+ check-ansi:
+ runs-on: ubuntu-latest
+ steps:
+ - ... |
Preliminary changelist for 4.2.0RC2 | -CARTO Mobile SDK 4.2.0
+CARTO Mobile SDK 4.2.0RC2
+-------------------
+
+### Changes/fixes:
+
+* Added BalloonPopupButton and related classes so that basic interactivity can be added to BalloonPopups
+* Major SGRE optimizations: replaced one-to-one routing engine with many-to-many routing engine, using optimized data... |
Split Conan GCC jobs into smaller jobs. | @@ -11,19 +11,67 @@ jobs:
- os: linux
language: python
python: 3.7
- env: BUILD_TOOL=conan CONAN_GCC_VERSIONS=7 CONAN_ARCHS=x86_64 CONAN_DOCKER_IMAGE=conanio/gcc7
+ env:
+ BUILD_TOOL=conan
+ CONAN_GCC_VERSIONS=7
+ CONAN_DOCKER_IMAGE=conanio/gcc7
+ CONAN_ARCHS=x86_64
+ CONAN_BUILD_TYPES=Debug
services:
- docker
- os: li... |
re-run tests since they were increasing coverage before | #include "tls/s2n_tls_parameters.h"
#include "utils/s2n_random.h"
#include "utils/s2n_safety.h"
+
#include "s2n_test.h"
static const uint8_t TLS_VERSIONS[] = {S2N_TLS10, S2N_TLS11, S2N_TLS12};
|
Use Swift String for formatting | @@ -125,12 +125,12 @@ import ios_system
self.isREPLRunning = true
}
- guard let startupURL = Bundle.main.url(forResource: "Startup", withExtension: "py"), let src = try? String(contentsOf: startupURL) as NSString else {
+ guard let startupURL = Bundle.main.url(forResource: "Startup", withExtension: "py"), let src = try... |
integration: Extend test timeout and remove verbose printing. | @@ -16,4 +16,4 @@ RUN mv ./kubectl /usr/local/bin
COPY bin/kubectl-gadget /bin/kubectl-gadget
COPY --from=build_base /build/gadget-integration.test /bin/gadget-integration.test
-CMD ["/bin/sh", "-c", "gadget-integration.test -test.v -integration"]
+CMD ["/bin/sh", "-c", "gadget-integration.test -integration -test.timeo... |
Minor variable name changes and drbg updates | @@ -401,7 +401,7 @@ ACVP_RESULT acvp_enable_sym_cipher_cap_parm(
return ACVP_NO_CAP;
}
- if (acvp_validate_sym_cipher_parm_value(parm, value) != ACVP_SUCCESS) {
+ if (acvp_validate_sym_cipher_parm_value(parm, length) != ACVP_SUCCESS) {
ACVP_LOG_ERR("Invalid sym cipher parm value");
return ACVP_INVALID_ARG;
}
@@ -557,7 ... |
Update textlayer style cache processing | @@ -75,23 +75,33 @@ void TextStyle_Init( LCUI_TextStyle data )
data->pixel_size = 13;
}
-int TextStyle_Copy( LCUI_TextStyle dst, LCUI_TextStyle src )
+int TextStyle_CopyFamily( LCUI_TextStyle dst, LCUI_TextStyle src )
{
- int len;
- *dst = *src;
- if( !dst->has_family ) {
+ size_t len;
+ if( !src->has_family ) {
return... |
hash: fix counter when overriding value | @@ -202,6 +202,7 @@ int flb_hash_add(struct flb_hash *ht, char *key, int key_len,
old = mk_list_entry(head, struct flb_hash_entry, _head);
if (strcmp(old->key, entry->key) == 0) {
flb_hash_entry_free(old);
+ table->count--;
break;
}
}
|
Added references to the NIST test data used in the self-test function. | @@ -684,6 +684,29 @@ exit:
#if defined(MBEDTLS_SELF_TEST)
+/* The CTR_DRBG NIST test vectors used here are available at
+ * https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/drbg/drbgtestvectors.zip
+ *
+ * The parameters used to derive the test data are:
+ *
+ * [AES-128 us... |
remove empty file, if no hashes are converted | @@ -2240,6 +2240,7 @@ static int index;
static char *pmkideapolhcoutname;
static char *pmkideapoljtroutname;
struct timeval tv;
+static struct stat statinfo;
static const char *short_options = "o:j:hv";
static const struct option long_options[] =
@@ -2353,6 +2354,20 @@ for(index = optind; index < argc; index++)
if(fh_p... |
Compiler warning re abs | @@ -199,7 +199,7 @@ static int unpack_long(grib_accessor* a, long* val, size_t *len)
/* pl[0] is guaranteed to exist. Have already asserted previously */
for(i=1; i<plsize; ++i) {
- const long diff = abs(pl[i] - pl[i-1]);
+ const long diff = labs(pl[i] - pl[i-1]);
/* There are two values at the equator which are equal.... |
Add tini as minimal init system | @@ -35,7 +35,7 @@ RUN chmod 0644 * \
##############################
RUN apk update \
- && apk add -u supervisor goaccess
+ && apk add -u supervisor goaccess tini
# Cleanup
#########
@@ -61,4 +61,4 @@ EXPOSE 7890
# Set the entry point to init.sh
###########################################
-ENTRYPOINT ["/opt/init.sh"]
+E... |
test/recipes/30-test_evp_libctx.t: use fips-and-base.cnf
The FIPS provider module doesn't have any encoders, the base provider
is needed for that. | @@ -31,7 +31,7 @@ plan tests =>
+ 1;
unless ($no_fips) {
- @test_args = ("-config", srctop_file("test","fips.cnf"),
+ @test_args = ("-config", srctop_file("test","fips-and-base.cnf"),
"-provider", "fips");
ok(run(app(['openssl', 'fipsinstall',
|
Fix sshd start logic for centos7
/etc/init.d/sshd doesn't exist
disable newer host key types in sshd_config | @@ -68,6 +68,10 @@ setup_sshd() {
test -e /etc/ssh/ssh_host_rsa_key || ssh-keygen -f /etc/ssh/ssh_host_rsa_key -N '' -t rsa
test -e /etc/ssh/ssh_host_dsa_key || ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa
+ # For Centos 7, disable looking for host key types that older Centos versions don't support.
+ sed -ri '... |
a way to disable SPLIT_DWARF macro | @@ -1881,12 +1881,15 @@ when ($ADD_GDB_INDEX_VALUE && $HOST_OS_LINUX == "yes" && $TARGET_PLATFORM == "LI
PEERDIR+=contrib/libs/platform/tools/misc/binutils
}
+SPLIT_DWARF_VALUE=no
+NO_SPLIT_DWARF=no
+
macro SPLIT_DWARF() {
SET(SPLIT_DWARF_VALUE yes)
}
SPLIT_DWARF_OUTPUT=${output;tobindir;pre=$MODULE_PREFIX;suf=$MODULE_... |
Fix annoying double pci_change events | @@ -157,11 +157,13 @@ default_start_function_new(coreid_t where, struct module_info* mi, char* record,
return KALUGA_ERR_DRIVER_NOT_AUTO;
}
+ char *oct_id;
+
// TODO: Determine cls here as well
{
int64_t vendor_id, device_id, bus, dev, fun;
- err = oct_read(record, "_ { bus: %d, device: %d, function: %d, vendor: %d, de... |
update testshell_markdown_kdb_get | @@ -63,7 +63,7 @@ sudo kdb mount get.ecf spec:/tests/get/examples/kdb-get dump
# Create the keys we use for the examples
kdb set user:/tests/get/examples/kdb-get/key myKey
-kdb meta-set /tests/get/examples/kdb-get/anotherKey default defaultValue
+kdb meta-set spec:/tests/get/examples/kdb-get/anotherKey default defaultV... |
undefined behavior: signed integer overflow | @@ -2839,7 +2839,7 @@ ppd_hash_option(ppd_option_t *option) /* I - Option */
for (hash = option->keyword[0], k = option->keyword + 1; *k;)
- hash = 33 * hash + *k++;
+ hash = (int)(33U * (unsigned)hash) + *k++;
return (hash & 511);
}
|
Fixed parsing crosshair color function | @@ -119,11 +119,9 @@ parse_no_display(const char *str)
}
static unsigned
-parse_color(const char (*str))
+parse_color(const char *str)
{
- std::string string = str;
- string = "0x" + string;
- return strtol(string.c_str(), NULL, 0);
+ return strtol(str, NULL, 16);
}
static unsigned
|
Fix a missing rand -> ossl_rand rename | @@ -35,7 +35,7 @@ static size_t get_hardware_random_value(unsigned char *buf, size_t len);
* Returns the total entropy count, if it exceeds the requested
* entropy count. Otherwise, returns an entropy count of 0.
*/
-size_t prov_acquire_entropy_from_cpu(RAND_POOL *pool)
+size_t ossl_prov_acquire_entropy_from_cpu(RAND_P... |
acl2: fix bug in ACE matching logic
Tested-by: IoTivity Jenkins | @@ -110,15 +110,19 @@ oc_sec_ace_find_resource(oc_ace_res_t *start, oc_sec_ace_t *ace,
} else {
res = res->next;
}
+
while (res != NULL) {
- bool match = true;
+ bool positive = false, match = true;
if (href && oc_string_len(res->href) > 0) {
if ((strlen(href) + skip) != oc_string_len(res->href) ||
memcmp(oc_string(res... |
amp_adapter: improve log
[Detail]
improve log with ulog system
[Verified Cases]
Build Pass: <py_engine_demo>
Test Pass: <py_engine_demo> | @@ -126,9 +126,9 @@ int aos_wifi_init(aos_wifi_manager_t *wifi_manager)
int ret = 0;
netmgr_hdl_t hdl = netmgr_get_dev(WIFI_DEV_PATH);
if (hdl >= 0) {
- LOGE(LOG_TAG, "wifi already init by other task\r\n");
+ LOGI(LOG_TAG, "wifi already init by other task\r\n");
} else {
- LOGE(LOG_TAG, "aos_wifi_init start");
+ LOGD(L... |
esp32s2/fpga: Fix a clock configure in bootloader | @@ -25,9 +25,15 @@ void bootloader_clock_configure(void)
{
esp_rom_uart_tx_wait_idle(0);
- uint32_t clock = 40000000;
- ets_update_cpu_frequency(clock / 1000000);
- REG_WRITE(RTC_CNTL_STORE5_REG, (clock >> 12) | ((clock >> 12) << 16));
+ uint32_t xtal_freq_mhz = 40;
+#ifdef CONFIG_IDF_TARGET_ESP32S2
+ uint32_t apb_freq... |
remove git and add alsa-lib-dev, alsa-utils, wget to alpine.sh | @@ -74,7 +74,7 @@ echo $alpine_url/community >> $root_dir/etc/apk/repositories
chroot $root_dir /bin/sh <<- EOF_CHROOT
apk update
-apk add openssh iw wpa_supplicant dhcpcd dnsmasq hostapd iptables dcron chrony gpsd git subversion make gcc musl-dev fftw-dev libconfig-dev curl nano
+apk add openssh iw wpa_supplicant dhcp... |
peview: Fix open file dialog error message | @@ -50,8 +50,6 @@ INT WINAPI wWinMain(
};
PPH_STRING commandLine;
- CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
-
if (!NT_SUCCESS(PhInitializePhLibEx(L"PE Viewer", ULONG_MAX, hInstance, 0, 0)))
return 1;
@@ -128,6 +126,9 @@ INT WINAPI wWinMain(
};
PVOID fileDialog;
+ if (!SUCCEEDED(CoInitia... |
Test XML_ParseBuffer API in various parse states | @@ -2446,6 +2446,61 @@ START_TEST(test_misc_alloc_ns)
}
END_TEST
+/* Test XML_ParseBuffer interface with namespace and a dicky allocator */
+START_TEST(test_misc_alloc_ns_parse_buffer)
+{
+ XML_Memory_Handling_Suite memsuite = { duff_allocator, realloc, free };
+ XML_Char ns_sep[2] = { ' ', '\0' };
+ const char *text =... |
hw: mcu: pic32mz2048efg100: Fix spi mode | @@ -159,18 +159,18 @@ hal_spi_config_master(int spi_num, struct hal_spi_settings *psettings)
switch (psettings->data_mode) {
case HAL_SPI_MODE0:
- SPIxCONCLR(spi_num) = _SPI1CON_CKP_MASK | _SPI1CON_CKE_MASK;
- break;
- case HAL_SPI_MODE1:
SPIxCONCLR(spi_num) = _SPI1CON_CKP_MASK;
SPIxCONSET(spi_num) = _SPI1CON_CKE_MASK;... |
py/objstr: When constructing str from bytes, check for existing qstr.
This patch uses existing qstr data where possible when constructing a str
from a bytes object. | @@ -164,6 +164,13 @@ mp_obj_t mp_obj_str_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_
mp_raise_msg(&mp_type_UnicodeError, NULL);
}
#endif
+
+ // Check if a qstr with this data already exists
+ qstr q = qstr_find_strn((const char*)str_data, str_len);
+ if (q != MP_QSTR_NULL) {
+ return MP_OBJ_NEW_QSTR(q)... |
arch: cxd56xx: Remove -Wmissing-braces warning
Remove -Wmissing-braces warning in cxd56_cpu1signal.c. | @@ -73,9 +73,11 @@ static struct cxd56cpu1_info_s g_cpu1_info =
{
INVALID_PROCESS_ID,
0,
+ {
{
0
}
+ }
};
/****************************************************************************
|
ble_att_svr: fix keysize check for SC Only mode
Keysize is kept in bytes and not bits | @@ -288,7 +288,7 @@ ble_att_svr_check_perms(uint16_t conn_handle, int is_read,
* require it on level 4
*/
if (MYNEWT_VAL(BLE_SM_SC_ONLY)) {
- if (sec_state.key_size != 128 ||
+ if (sec_state.key_size != 16 ||
!sec_state.authenticated ||
!sec_state.encrypted) {
return BLE_ATT_ERR_INSUFFICIENT_KEY_SZ;
|
IPsec: increment tunnel intf tx counters
Recent changes removed the function that was incrementing the
tx counters. Increment them in the esp_encrypt functions. | @@ -114,6 +114,8 @@ dpdk_esp_encrypt_inline (vlib_main_t * vm,
{
u32 n_left_from, *from, *to_next, next_index, thread_index;
ipsec_main_t *im = &ipsec_main;
+ vnet_main_t *vnm = im->vnet_main;
+ vnet_interface_main_t *vim = &vnm->interface_main;
u32 thread_idx = vlib_get_thread_index ();
dpdk_crypto_main_t *dcm = &dpdk... |
lwip - Fix time calculation.
The `sys_now` function is supposed to calculate milliseconds since boot.
However, the operands were not in the correct order, so the units
were off.
In sim, this caused the tcpip_thread() task handler to never yield to
other tasks during timeout calculation. | @@ -106,7 +106,7 @@ sys_now(void)
/*
* XXX not right when g_os_time rolls over
*/
- t = os_time_get() * OS_TICKS_PER_SEC / 1000;
+ t = os_time_get() * 1000 / OS_TICKS_PER_SEC;
return t;
}
|
[update] return value judgment. | @@ -88,8 +88,20 @@ static int uart_dma_sample(int argc, char *argv[])
sizeof(msg_pool),
RT_IPC_FLAG_FIFO);
- rt_device_open(serial, RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_DMA_RX);
- rt_device_set_rx_indicate(serial, uart_input);
+ ret = rt_device_open(serial, RT_DEVICE_FLAG_RDWR | RT_DEVICE_FLAG_DMA_RX);
+ if (ret != RT_... |
GraphContent: paragraphs allow for wrapping | @@ -284,7 +284,7 @@ const renderers = {
paragraph: ({ children }) => {
return (
<Box display="block">
- <Text fontSize={1} lineHeight="tall">
+ <Text fontSize={1} lineHeight="tall" style={{ 'overflowWrap': 'break-word' }}>
{children}
</Text>
</Box>
|
clk: initialize wifi lp_clk in esp_perip_clk_init | @@ -180,6 +180,23 @@ void rtc_clk_select_rtc_slow_clk(void)
__attribute__((weak)) void esp_perip_clk_init(void)
{
modem_clock_domain_pmu_state_icg_map_init();
+
+ /* During system initialization, the low-power clock source of the modem
+ * (WiFi, BLE or Coexist) follows the configuration of the slow clock source
+ * of... |
add cma=36M to uEnv-ext4.txt | @@ -9,4 +9,4 @@ devicetree_load_address=0x2000000
bootcmd=fatload mmc 0 ${kernel_load_address} ${kernel_image} && fatload mmc 0 ${devicetree_load_address} ${devicetree_image} && bootm ${kernel_load_address} - ${devicetree_load_address}
-bootargs=console=ttyPS0,115200 root=/dev/mmcblk0p2 ro rootfstype=ext4 earlyprintk r... |
only match first error/success | @@ -7,11 +7,16 @@ term =
pty.spawn './urbit' <[-B urbit.pill -A .. -cFI zod zod]>
.on \data -> process.stdout.write it
+fin = no
term.pipe (new stream-snitch /dojo> /g).on \match ->
+ return if fin
+ fin := yes
console.log "\n\n---\nnode: got dojo!\n---\n\n"
set-timeout (-> process.exit 0), 1000 # should probably test ... |
Link VulkanMemoryAllocator to Vulkan only if static linking is enabled | @@ -15,12 +15,10 @@ set_target_properties(
target_include_directories(VulkanMemoryAllocator PUBLIC ${PROJECT_SOURCE_DIR}/include)
-target_link_libraries(
- VulkanMemoryAllocator
-
- PUBLIC
- Vulkan::Vulkan
-)
+# Only link to Vulkan if static linking is used
+if (NOT ${VMA_DYNAMIC_VULKAN_FUNCTIONS})
+ target_link_librar... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.