message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Solve bug with cli tests. | @@ -318,7 +318,7 @@ if(OPTION_BUILD_LOADERS AND OPTION_BUILD_LOADERS_NODE AND OPTION_BUILD_SCRIPTS A
${TESTS_ENVIRONMENT_VARIABLES}
)
- if(OPTION_BUILD_PORTS AND OPTION_BUILD_PORTS_PY)
+ if(OPTION_BUILD_LOADERS_PY AND OPTION_BUILD_PORTS AND OPTION_BUILD_PORTS_PY)
add_test(NAME ${target}-py-port
COMMAND ${CMAKE_COMMAND}... |
update launch_uos.sh to align with ACRN v0.1
update the kernel version to align with ACRN v0.1 and Clear version for UOS | @@ -23,9 +23,9 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
-s 2,pci-gvt -G "$3" \
-s 5,virtio-console,@pty:pty_port \
-s 6,virtio-hyper_dmabuf \
- -s 3,virtio-blk,/root/clear-21260-kvm.img \
+ -s 3,virtio-blk,/root/clear-23690-kvm.img \
-s 4,virtio-net,tap0 \
- -k /usr/lib/kernel/org.c... |
sslapitest: only compile test when it will be used
The test_ccs_change_cipher() test routine is used only when TLS 1.2
is enabled; to fix the strict-warnings build we should not try to
compile it when TLS 1.2 is disabled, either. | @@ -659,7 +659,6 @@ end:
return testresult;
}
-#endif
/*
* Very focused test to exercise a single case in the server-side state
@@ -771,6 +770,7 @@ end:
return testresult;
}
+#endif
static int execute_test_large_message(const SSL_METHOD *smeth,
const SSL_METHOD *cmeth,
|
updated key for pxf_automation git resource | @@ -314,7 +314,7 @@ resources:
type: git
source:
branch: {{pxf_automation-git-branch}}
- private_key: {{pxf-git-key}}
+ private_key: {{pxf_automation-git-key}}
uri: {{pxf_automation-git-remote}}
- name: centos-gpdb-dev-6
|
Update PhCreateProcessSnapshot flags, Fix handle leak | @@ -8576,19 +8576,14 @@ NTSTATUS PhCreateProcessSnapshot(
_In_opt_ HANDLE ProcessId
)
{
- NTSTATUS status;
- HANDLE processHandle = NULL;
+ NTSTATUS status = STATUS_SUCCESS;
+ HANDLE processHandle = ProcessHandle;
HANDLE snapshotHandle = NULL;
if (!PssCaptureSnapshot_Import())
return STATUS_PROCEDURE_NOT_FOUND;
- if (P... |
Check index >= 0 as 0 is a valid index. | @@ -1601,7 +1601,7 @@ int tls1_process_sigalgs(SSL *s)
if (SSL_IS_TLS13(s) && sigptr->sig == EVP_PKEY_RSA)
continue;
idx = tls12_get_pkey_idx(sigptr->sig);
- if (idx > 0 && pmd[idx] == NULL) {
+ if (idx >= 0 && pmd[idx] == NULL) {
md = ssl_md(sigptr->hash_idx);
pmd[idx] = md;
pvalid[idx] = CERT_PKEY_EXPLICIT_SIGN;
|
removed unused import in KeyTest.java | @@ -4,7 +4,6 @@ import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
-import java.util.Iterator;
import org.junit.Test;
import org.libelektra.Key.KeyInvalidNameException;
|
fix moving floating window to other monitor with super + shift + comma | @@ -4428,7 +4428,22 @@ tagmon(const Arg *arg)
{
if (!selmon->sel || !mons->next)
return;
+
+ if (selmon->sel->isfloating) {
+ Client *c;
+ Monitor *m;
+ float xfact, yfact;
+ c = selmon->sel;
+ xfact = (float)(c->x - selmon->mx) / selmon->ww;
+ yfact = (float)(c->y - selmon->my) / selmon->wh;
+
sendmon(selmon->sel, dir... |
Add BinaryAlert to users in README | @@ -51,6 +51,7 @@ helpful extension to YARA developed and open-sourced by Bayshore Networks.
* [Adlice](http://www.adlice.com/)
* [BAE Systems](http://www.baesystems.com/home?r=ai)
* [Bayshore Networks, Inc.](http://www.bayshorenetworks.com)
+* [BinaryAlert](https://github.com/airbnb/binaryalert)
* [Blue Coat](http://w... |
Added 1.3.1 release | "version": "1.0.0"
}
]
+ },
+ {
+ "name": "OpenCR",
+ "architecture": "OpenCR",
+ "version": "1.3.1",
+ "category": "Arduino",
+ "help": {
+ "online": "https://github.com/ROBOTIS-GIT/OpenCR"
+ },
+ "url": "https://github.com/ROBOTIS-GIT/OpenCR/releases/download/1.3.1/opencr_core_1.3.1.tar.bz2",
+ "archiveFileName": "op... |
parser: on exception, use flb_parser_destroy() (oss-fuzz 26308) | @@ -142,6 +142,7 @@ struct flb_parser *flb_parser_create(const char *name, const char *format,
return NULL;
}
p->decoders = decoders;
+ mk_list_add(&p->_head, &config->parsers);
/* Format lookup */
if (strcasecmp(format, "regex") == 0) {
@@ -222,7 +223,7 @@ struct flb_parser *flb_parser_create(const char *name, const c... |
adding libc erfc, erfcf and erfcl | @@ -129,9 +129,9 @@ GOS(csqrt, pFpdd)
// dremf // Weak
// dreml // Weak
GOW(erf, dFd)
-// erfc // Weak
-// erfcf // Weak
-// erfcl // Weak
+GOW(erfc, dFd)
+GOW(erfcf, fFf)
+GO2(erfcl, LFL, erfc)
GOW(erff, fFf)
GO2(erfl, LFL, erf)
GOW(exp, dFd)
|
docs: add link to encrypted_images.md and cleanup
Add a link to the topic about encrypted images to the start page.
Clean up the existing links to make the table of contents more
consistent. | @@ -15,20 +15,21 @@ target with a complete port planned.
## Contents
-- General: this document
+- General - this document
- [Release notes](release-notes.md)
-- [design](design.md): for the design
-- [imgtool](imgtool.md): The image signing and key management
+- [Bootloader design](design.md)
+- [Encrypted images](encr... |
docs/wipy/tutorial: Link Blynk examples to the official library. | Getting started with Blynk and the WiPy
---------------------------------------
-Blynk is a platform with iOS and Android apps to control
-Arduino, Raspberry Pi and the likes over the Internet.
-You can easily build graphic interfaces for all your
-projects by simply dragging and dropping widgets.
+Blynk provides iOS a... |
artik053/grpc: Modify grpc defconfig to include thread size parameter
grpc defconfig does not include the CONFIG_GRPC_PTHREAD_SIZE parameter yet. This commit adds it. | @@ -761,6 +761,7 @@ CONFIG_NETUTILS_DHCPC=y
# CONFIG_NETUTILS_TELNETD is not set
# CONFIG_NETUTILS_SMTP is not set
CONFIG_GRPC=y
+CONFIG_GRPC_PTHREAD_SIZE=10240
# CONFIG_TSI_LOG is not set
CONFIG_TSI_MBEDTLS_LOG=0
# CONFIG_NETUTILS_MQTT is not set
|
Emitter: Simplify logic around building an empty list. | @@ -3170,13 +3170,10 @@ static void make_empty_list_or_hash(lily_emit_state *emit, lily_ast *ast,
num = 2;
}
else {
- lily_type *elem_type;
- if (expect && expect->cls->id == LILY_ID_LIST &&
- expect->subtypes[0]->cls->id != LILY_ID_QUESTION) {
+ lily_type *elem_type = lily_question_type;
+
+ if (expect && expect->cls-... |
scripts: ignore commits heavily changing the release notes | git diff origin/master -- doc/news/_preparation_next_release.md | egrep "^\+.+\*\(.+\)\*"
if [ $? != "0" ]
then
- echo "The release notes were not extended correctly."
+ L=git diff origin/master -- doc/news/_preparation_next_release.md | egrep "^\+" | wc -l
+ if [ "$L" -ge "5" ]
+ then
+ echo "We assume that you know w... |
BugID:21999418:[mqtt]add paras handle for iotx_report_ext_msg | static void *g_mqtt_client = NULL;
iotx_sign_mqtt_t g_default_sign;
-__attribute__((weak)) int iotx_report_ext_msg(info_report_func_pt fun){
+__attribute__((weak)) int iotx_report_ext_msg(info_report_func_pt fun, void *handle){
mqtt_debug("not implement!");
return -1;
}
@@ -60,7 +60,7 @@ static void iotx_mqtt_report_fu... |
Add DYNAMIC_LIST option for ARM64 | @@ -625,6 +625,11 @@ DYNAMIC_CORE += THUNDERX2T99
DYNAMIC_CORE += TSV110
DYNAMIC_CORE += EMAG8180
DYNAMIC_CORE += THUNDERX3T110
+ifdef DYNAMIC_LIST
+override DYNAMIC_CORE = ARMV8 $(DYNAMIC_LIST)
+XCCOMMON_OPT = -DDYNAMIC_LIST -DDYN_ARMV8
+XCCOMMON_OPT += $(foreach dcore,$(DYNAMIC_LIST),-DDYN_$(dcore))
+endif
endif
ifeq... |
khan: store connection number on u3_shan
Prevents us resetting connection count to 1 if all connections
disconnect. | // - think carefully about error handling
// - think carefully about protocol
// - implement runtime-specific queries
-// - remove references to %set-config
// - clean up logging
/* vere/khan.c
**
*/
typedef struct _u3_shan {
uv_pipe_t pyp_u; // server stream handler
- struct _u3_chan* can_u; // connection list
+ c3_w ... |
check-format.pl: fix detection of '#ifdef __cplusplus' | @@ -715,7 +715,7 @@ while (<>) { # loop over all lines of all input files
my $space_count = length($space); # maybe could also use indentation before '#'
report("'#if' nesting indent = $space_count != $preproc_if_nesting") if $space_count != $preproc_if_nesting;
$preproc_if_nesting++ if $preproc_directive =~ m/^(if|ifd... |
Init new_data_holders by default. | @@ -3468,6 +3468,7 @@ cdef class _PoolBase:
resource_holders
)
+ new_data_holders = None
if isinstance(data, FeaturesData):
new_data_holders = data
|
[stm32l475][lvgl]update lv_demo.c | static void event_handler(lv_event_t * e)
{
lv_event_code_t code = lv_event_get_code(e);
- lv_obj_t * obj = lv_event_get_target(e);
+ lv_obj_t * obj = lv_event_get_current_target(e);
if(code == LV_EVENT_VALUE_CHANGED) {
lv_calendar_date_t date;
@@ -40,7 +40,7 @@ void lv_example_calendar_1(void)
{
lv_obj_t * calendar = ... |
Optimization, 'reserve' is done in decompression code | @@ -319,7 +319,6 @@ namespace carto { namespace mvt {
_transform(cglib::mat3x3<float>::identity()), _clipBox(cglib::vec2<float>(-0.1f, -0.1f), cglib::vec2<float>(1.1f, 1.1f)), _buffer(0), _globalIdOverride(false), _tileIdOffset(0), _tile(), _layerMap(), _logger(std::move(logger))
{
std::vector<unsigned char> uncompress... |
build MAINTENANCE remove unused flags provided to cmake in Travis CI build | @@ -27,7 +27,7 @@ before_install:
script:
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then export OPENSSLFLAGS="-DOPENSSL_LIBRARIES=/usr/local/opt/openssl/lib -DOPENSSL_INCLUDE_DIR=/usr/local/opt/openssl/include"; fi
- - cd $TRAVIS_BUILD_DIR && mkdir build_none && cd build_none ; cmake $OPENSSLFLAGS -DENABLE_TLS=OFF -DENABLE_S... |
Change items order admin UI
Change French translations
Update help page content | <%
if(request.isUserInRole("SearchExpert")||request.isUserInRole("SearchAdministrator")){
%>
+<li id="MCFSimplified"><a id="MCFSimplified-AdminUI" class="ajax-link" href="./ajax/mcfSimplified.html"></a></li>
<!-- <a href="./ajax/dashboard.html" class="ajax-link"> <i -->
<li class="dropdown" id="Connectors">
<a href="#"... |
Automation: better change to u_select.py
A better version of the previous change: leave .txt in the list of ignored file extensions and instead add a list of file names that should never be ignored, which are currently DATABASE.md and CMakeLists.txt. | @@ -25,9 +25,12 @@ import u_data # Accesses the instance database
# Prefix to put at the start of all prints
PROMPT = "u_select: "
-# A list of file extensions to throw away (note that .txt
-# is not included since "CMakeLists.txt" is an important file)
-EXT_DISCARD = ["md", "jpg", "png", "gitignore"]
+# A list of file... |
Fix OSRAM/LEDVANCE TW lights identify as 'Color temperature lights' | @@ -1874,10 +1874,17 @@ void DeRestPluginPrivate::setLightNodeStaticCapabilities(LightNode *lightNode)
lightNode->modelId() == QLatin1String("A19 TW 10 year") ||
lightNode->modelId() == QLatin1String("Classic B40 TW - LIGHTIFY") ||
lightNode->modelId() == QLatin1String("Classic A60 TW") ||
+ (lightNode->manufacturerCod... |
qlog: support the connection_close frame type | @@ -102,6 +102,22 @@ def handle_stream_receive(event):
"offset": event["off"]
}
+def handle_transport_close_receive(event):
+ return {
+ "frame_type": "connection_close",
+ "offending_frame_type": event["frame-type"],
+ "error_code": event["error-code"],
+ "reason": event["reason-phrase"]
+ }
+
+def handle_transport_cl... |
travis: Create scan-build install directory | set -e
-pushd `pwd`
+usage() {
+ echo "install_scan-build.sh install_dir"
+ exit 1
+}
+if [ "$#" -ne "1" ]; then
+ usage
+fi
INSTALL_DIR=$1
wget http://clang-analyzer.llvm.org/downloads/checker-278.tar.bz2
-tar jxf checker-278.tar.bz2 --strip-components=1 -C $INSTALL_DIR
+mkdir -p $INSTALL_DIR && tar jxf checker-278.ta... |
[mod_mbedtls] set usekeysize for mbedtls 3.2.0+ | @@ -2629,6 +2629,7 @@ http_cgi_ssl_env (request_st * const r, handler_ctx * const hctx)
#if MBEDTLS_VERSION_NUMBER >= 0x03020000 /* mbedtls 3.02.0 */
size_t algkeysize =
mbedtls_ssl_ciphersuite_get_cipher_key_bitlen(ciphersuite_info);
+ unsigned int usekeysize = algkeysize; /*(equivalent in modern ciphers)*/
#elif MBED... |
Quiet pod2html warnings
quiet stops warnings of this sort:
Cannot find "BIO_read_ex" in podpath: cannot find suitable replacement path, cannot resolve link
We know what causes these warnings, it's perfectly innocuous, and we
don't want to hear it any more.
Partial fix for | @@ -98,7 +98,7 @@ foreach my $section (sort @{$options{section}}) {
my $suffix = { man => ".$podinfo{section}".($options{suffix} // ""),
html => ".html" } -> {$options{type}};
my $generate = { man => "pod2man --name=$name --section=$podinfo{section} --center=OpenSSL --release=$config{version} \"$podpath\"",
- html => "... |
Fix wrong tu_fifo_read_n() call in dcd_stm32_fsdev.c | @@ -1004,7 +1004,7 @@ static bool dcd_write_packet_memory_ff(tu_fifo_t * ff, uint16_t dst, uint16_t wN
{
// Since PMA can accessed only 16 bit-wise we copy the last byte again
tu_fifo_backward_read_pointer(ff, 1); // Move one byte back and copy two bytes for the PMA
- pma[PMA_STRIDE*(dst>>1)] = tu_fifo_read_n(ff, 2); /... |
BugID:18819685: Improve filter coap pkts from itself. | @@ -532,7 +532,7 @@ int CoAPMessage_process(CoAPContext *context, unsigned int timeout)
{
int len = 0;
NetworkAddr remote;
- char ip_addr[17] = {0};
+ char ip_addr[16] = {0};
CoAPIntContext *ctx = (CoAPIntContext *)context;
if (NULL == context) {
|
travis: Adjust build configs in Travis CI
Add artik053/iotjs build config in Travis CI.
Remove duplicated test configs in Travis CI. | @@ -8,11 +8,10 @@ services:
- docker
env:
-- BUILD_CONFIG=artik053/tash
-- BUILD_CONFIG=artik053/nettest
- BUILD_CONFIG=artik053/minimal
- BUILD_CONFIG=artik053/tc
- BUILD_CONFIG=artik053/st_things
+- BUILD_CONFIG=artik053/iotjs
- BUILD_CONFIG=qemu/tc_64k
|
Port JN516X AES-CCM implementatiob to new API | @@ -48,8 +48,8 @@ static int current_key_is_new = 1;
/*---------------------------------------------------------------------------*/
static void
aead(const uint8_t *nonce,
- uint8_t *m, uint8_t m_len,
- const uint8_t *a, uint8_t a_len,
+ uint8_t *m, uint16_t m_len,
+ const uint8_t *a, uint16_t a_len,
uint8_t *result, u... |
Fix prerequisites
I just solve problem with installing rmagick on OS X. I was faced with incompatible rmagick with imagemagick 7.x.x ver.
I had to rollback the imagemagick version to 6.9.6-5.
> brew switch imagemagick 6.9.6-5 | @@ -30,7 +30,7 @@ h2(#prereq). Prerequisites
Ruby must be able to build C-Extensions (e.g. MRI, Rubinius, not JRuby)
-*ImageMagick* Version 6.4.9 or later. You can get ImageMagick from "www.imagemagick.org":http://www.imagemagick.org.
+*ImageMagick* Version 6.4.9 or later (6.x.x). You can get ImageMagick from "www.imag... |
comment notifications go to the topic cirlce and topic updates go to the collections circle | [%fat [%text wat] [%lin | msg]]~
^- {tar/name:hall msg/cord}
::TODO
+ ::
+ :: this can't be the best way to switch on top v com?
+ ?~ com
[(circle-for col) 'TODO']
+ [(circle-for-topic col top) 'TODO']
--
::
++ hall-permit
|
Make makedist work for github | @@ -128,17 +128,19 @@ info "Directory '$temp_dir' created."
cd $temp_dir
info "Exporting source from GIT"
-git clone git://git.nlnetlabs.nl/ldns/ || error_cleanup "git command failed"
+git clone https://github.com/NLnetLabs/ldns.git || error_cleanup "git command failed"
cd ldns || error_cleanup "LDNS not exported corre... |
options/ansi: Implement strxfrm | @@ -101,9 +101,11 @@ int strncmp(const char *a, const char *b, size_t max_size) {
}
}
-size_t strxfrm(char *__restrict, const char *__restrict, size_t) {
- __ensure(!"Not implemented");
- __builtin_unreachable();
+size_t strxfrm(char *__restrict dest, const char *__restrict src, size_t n) {
+ size_t l = strlen(src);
+ ... |
[SYNCER] minor refactoring for log | @@ -270,9 +270,9 @@ func (syncer *Syncer) handleMessage(inmsg interface{}) {
}
case *message.SyncStop:
if msg.Err == nil {
- logger.Info().Str("from", msg.FromWho).Err(msg.Err).Msg("Syncer finished successfully")
+ logger.Info().Str("from", msg.FromWho).Msg("syncer try to stop successfully")
} else {
- logger.Info().St... |
analysis workflow, add undefined behaviour sanitizer test. | @@ -19,28 +19,32 @@ jobs:
# os: ubuntu-latest
# config: "--enable-debug --disable-flto"
# make_test: "yes"
-# - name: Clang on Linux, clang-analysis
+# - name: Clang-analyzer
# os: ubuntu-latest
# config: "CC=clang --enable-debug --disable-flto"
# make_test: "yes"
# clang_analysis: "yes"
- - name: Clang on Linux, libev... |
Directory Value: Implement set method | @@ -1167,3 +1167,10 @@ severity:error
ingroup:plugin
module:ruby
macro:RUBY_GEN_ERROR
+
+number:188
+description:Unable to append directory prefix
+severity:error
+ingroup:plugin
+module:directoryvalue
+macro:DIRECTORY_VALUE_APPEND
|
YAML Smith: Move serialization into function | @@ -132,6 +132,37 @@ public:
}
};
+/**
+ * @brief This function converts a `KeySet` into the YAML serialization format.
+ *
+ * @pre The parameter `output` must be a valid and open output stream.
+ *
+ * @param output This parameter specifies where this function should emit the serialized YAML data.
+ * @param keys Thi... |
Omega factors | @@ -72,6 +72,20 @@ int main(int argc,char **argv)
printf("Growth factor and growth rate at z = %.3lf are D = %.3lf and f = %.3lf\n",
ZD, ccl_growth_factor(cosmo,1./(1+ZD), &status),ccl_growth_rate(cosmo,1./(1+ZD), &status));
+ // Compute Omega_m, Omega_L and Omega_r at different times
+ printf("z\tOmega_m\tOmega_L\tOme... |
rpi-base.inc: Add vc4-fkms-v3d-pi4 overlay
Since RPi kernel commit FKMS overlay
for Pi4 family is split into a separate file. Not shipping the overlay means
FKMS does not load correctly on these devices and VC4 is not brought up. | @@ -47,6 +47,7 @@ RPI_KERNEL_DEVICETREE_OVERLAYS ?= " \
overlays/rpi-ft5406.dtbo \
overlays/rpi-poe.dtbo \
overlays/vc4-fkms-v3d.dtbo \
+ overlays/vc4-fkms-v3d-pi4.dtbo \
overlays/vc4-kms-v3d.dtbo \
overlays/vc4-kms-v3d-pi4.dtbo \
overlays/vc4-kms-dsi-7inch.dtbo \
|
corrects build/dependency sections of README | @@ -25,24 +25,22 @@ If you're doing development on Urbit, keep reading.
- [libcurl](https://curl.haxx.se/libcurl/)
- [libuv](http://libuv.org)
- curses implementation (ncurses on Linux distributions, OS curses otherwise)
-- [re2c](http://re2c.org)
Most of these dependencies are unfortunate; we aim to drastically shrink... |
Reset coordinate system on lovr.graphics.reset; | @@ -75,6 +75,7 @@ void lovrGraphicsReset() {
lovrGraphicsSetPolygonWinding(POLYGON_WINDING_COUNTERCLOCKWISE);
lovrGraphicsSetDepthTest(COMPARE_LESS);
lovrGraphicsSetWireframe(0);
+ lovrGraphicsOrigin();
}
void lovrGraphicsClear(int color, int depth) {
|
Reset Distance, Bearing, and BearingDist_valid if GPS data becomes invalid.
#582. | @@ -192,6 +192,10 @@ func sendTrafficUpdates() {
ti.Distance = dist
ti.Bearing = bearing
ti.BearingDist_valid = true
+ } else {
+ ti.Distance = 0
+ ti.Bearing = 0
+ ti.BearingDist_valid = false
}
ti.Age = stratuxClock.Since(ti.Last_seen).Seconds()
ti.AgeLastAlt = stratuxClock.Since(ti.Last_alt).Seconds()
|
spi: fix a possible concurrency issue | @@ -361,12 +361,14 @@ static void SPI_SLAVE_ISR_ATTR spi_intr(void *arg)
}
}
+ //Disable interrupt before checking to avoid concurrency issue.
+ esp_intr_disable(host->intr);
//Grab next transaction
r = xQueueReceiveFromISR(host->trans_queue, &trans, &do_yield);
- if (!r) {
- //No packet waiting. Disable interrupt.
- e... |
Extend initial retransmission timeout to 1 second | @@ -59,7 +59,7 @@ typedef enum {
/* NGTCP2_INITIAL_EXPIRY is initial retransmission timeout in
microsecond resolution. */
-#define NGTCP2_INITIAL_EXPIRY 400000
+#define NGTCP2_INITIAL_EXPIRY 1000000
/* NGTCP2_PKT_DEADLINE_PERIOD is the period of time when the library
gives up re-sending packet, and closes connection. *... |
cmake: emit a warning about CMake support being deprecated | @@ -258,3 +258,8 @@ foreach(tst
)
add_test(NAME "${tst}/${variant}" COMMAND $<TARGET_FILE:run-tests> "${tst}")
endforeach()
+
+message(WARNING
+ "CMake support is deprecated; please use Meson instead. CMake is only present "
+ "for compilers which Meson doesn't yet support (e.g., xlc) and platforms where "
+ "difficult... |
nissa: Enable AC_PRESENT charger support
When using the RAA489000 charger, enable the code to
correctly generate the AC_PRESENT signal.
TEST=Verify on nirwen that AC_PRESENT is correctly generated
BRANCH=none | @@ -37,6 +37,7 @@ CONFIG_PLATFORM_EC_USB_PD_FRS_TCPC=y
# Charger driver and configuration
CONFIG_PLATFORM_EC_CHARGER_RAA489000=y
CONFIG_PLATFORM_EC_OCPC_DEF_RBATT_MOHMS=22
+CONFIG_PLATFORM_EC_RAA489000_AC_PRESENT_CONTROL=y
# VSENSE: PP3300_S5 & PP1050_PROC
CONFIG_ADC_CMP_NPCX_WORKQUEUE=y
|
Removed faulty gate logic in predict | @@ -888,12 +888,7 @@ void survive_kalman_error_tracker_predict_jac(FLT dt, const struct cnkalman_stat
SurviveKalmanModel s_out = {0};
struct SurviveKalmanTracker_Params *params = (struct SurviveKalmanTracker_Params *)k->user;
- if(params->process_weight_acc == 0) {
- scale3d(s_in.Acc, s_in.Acc, 0);
- }
- if(params->pro... |
VSYNC fixes for 100Hz displays | @@ -2755,11 +2755,15 @@ s32 main(s32 argc, char **argv)
u64 nextTick = SDL_GetPerformanceCounter();
const u64 Delta = SDL_GetPerformanceFrequency() / TIC_FRAMERATE;
- bool noVsync = false;
+ bool useTimer = false;
{
SDL_RendererInfo info;
+ SDL_DisplayMode mode;
+
SDL_GetRendererInfo(studio.renderer, &info);
- noVsync ... |
Update doc/decisions/backend_plugin.md | ## Constraints
-- All existing plugins should continue working normally.
+- All existing plugins, except [hooks](hooks.md), should continue working as before.
## Assumptions
|
Add entity declaration handler to public parameter entity test | @@ -5588,8 +5588,11 @@ START_TEST(test_alloc_public_entity_value)
repeat++;
}
allocation_count = i;
+ dummy_handler_flags = 0;
XML_SetParamEntityParsing(parser, XML_PARAM_ENTITY_PARSING_ALWAYS);
XML_SetExternalEntityRefHandler(parser, external_entity_public);
+ /* Provoke a particular code path */
+ XML_SetEntityDeclHa... |
Worked On the Initialization and destroy rpc loader interface function | #include <log/log.h>
+// The Curl Libraries
+#include "curl/curl.h"
#include <stdlib.h>
typedef struct loader_impl_rpc_function_type
@@ -45,7 +47,7 @@ typedef struct loader_impl_rpc_handle_type
typedef struct loader_impl_rpc_type
{
- void * todo;
+ CURL * curl;
} * loader_impl_rpc;
@@ -121,13 +123,18 @@ function_interf... |
docs: remove spurios chars from changelog | @@ -64,7 +64,7 @@ Version 1.3.7 (14 March 2019)
* hypre-intel-mvapich2-ohpc (2.14.0 -> 2.15.1)
* hypre-intel-openmpi3-ohpc (2.14.0 -> 2.15.1)
* intel-compilers-devel-ohpc (2018 -> 2019)
-lik * intel-mpi-devel-ohpc (2018 -> 2019)
+ * intel-mpi-devel-ohpc (2018 -> 2019)
* kmod-lustre-client-ohpc (2.11.0 -> 2.12.0)
* kmod... |
Avoid freeing base class members. | @@ -140,8 +140,6 @@ static void destroy(grib_context* context, grib_action* act)
grib_context_free_persistent(context, a->name);
grib_darray_delete(context, a->darray);
- grib_context_free_persistent(context, act->name);
- grib_context_free_persistent(context, act->op);
}
static void xref(grib_action* d, FILE* f, const... |
build: install parsers.conf file | @@ -218,4 +218,9 @@ if(NOT FLB_WITHOUT_BIN)
"${PROJECT_SOURCE_DIR}/conf/fluent-bit.conf"
DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${FLB_OUT_NAME}/"
RENAME "${FLB_OUT_NAME}.conf")
+
+ install(FILES
+ "${PROJECT_SOURCE_DIR}/conf/parsers.conf"
+ DESTINATION "${CMAKE_INSTALL_SYSCONFDIR}/${FLB_OUT_NAME}/")
+
endif()
|
remove unused TODO items | @@ -3146,34 +3146,6 @@ auth_xfer_set_expired(struct auth_xfer* xfr, struct module_env* env,
lock_rw_unlock(&z->lock);
}
-/** the current transfer has finished, apply the results.
- * set timer for future probe. See if zone is expired now. */
-void
-xfr_master_transferresult(struct auth_xfer* xfr)
-{
- (void)xfr;
- /* T... |
arch: Replace sem_t with mutex_t for the lock case
temp | @@ -57,7 +57,7 @@ struct dma_channel_s
struct dma_controller_s
{
- sem_t exclsem; /* Protects channel table */
+ mutex_t chanlock; /* Protects channel table */
sem_t chansem; /* Count of free channels */
};
@@ -69,7 +69,7 @@ struct dma_controller_s
static struct dma_controller_s g_dmac =
{
- .exclsem = NXSEM_INITIALIZE... |
Use linear search | @@ -240,20 +240,15 @@ static void ksl_insert_node(ngtcp2_ksl *ksl, ngtcp2_ksl_blk *blk, size_t i,
static size_t ksl_bsearch(ngtcp2_ksl *ksl, ngtcp2_ksl_blk *blk,
const ngtcp2_ksl_key *key, ngtcp2_ksl_compar compar) {
- ngtcp2_ssize left = -1, right = (ngtcp2_ssize)blk->n, mid;
+ size_t i;
ngtcp2_ksl_node *node;
- while... |
usm proper fov fix | @@ -85,6 +85,7 @@ void Init()
Screen.Width43 = static_cast<uint32_t>(Screen.fHeight * (4.0f / 3.0f));
Screen.fWidth43 = static_cast<float>(Screen.Width43);
Screen.fAspectRatioDiff = 1.0f / (((4.0f / 3.0f)) / (Screen.fAspectRatio));
+ Screen.fFOVFactor = 0.75f * Screen.fAspectRatioDiff * Screen.fFOVFactor;
}
}; injector... |
mdns: fixed forgotten merge conflicts in debug code | @@ -5015,13 +5015,8 @@ void mdns_debug_packet(const uint8_t * data, size_t len)
}
_mdns_dbg_printf("\n");
} else if (type == MDNS_TYPE_AAAA) {
-<<<<<<< HEAD
- ip6_addr_t ip6;
- memcpy(&ip6, data_ptr, MDNS_ANSWER_AAAA_SIZE);
-=======
esp_ip6_addr_t ip6;
memcpy(&ip6, data_ptr, sizeof(esp_ip6_addr_t));
->>>>>>> mdns: upda... |
RTX5: corrected typo (preprocessor definitions for Armv8.1-M) | @@ -144,7 +144,7 @@ __STATIC_INLINE bool_t IsIrqMasked (void) {
/// Setup SVC and PendSV System Service Calls
__STATIC_INLINE void SVC_Setup (void) {
#if ((defined(__ARM_ARCH_8M_MAIN__) && (__ARM_ARCH_8M_MAIN__ != 0)) || \
- (defined(__ARM_ARCH_8_1M_MAIN__) && (__ARM_ARCH_8M_MAIN__ != 0)) || \
+ (defined(__ARM_ARCH_8_1... |
avf: add avf_create_reply_handler to avf_test | @@ -64,7 +64,6 @@ typedef struct
avf_test_main_t avf_test_main;
#define foreach_standard_reply_retval_handler \
-_(avf_create_reply) \
_(avf_delete_reply)
#define _(n) \
@@ -134,6 +133,24 @@ api_avf_create (vat_main_t * vam)
return ret;
}
+/* avf-create reply handler */
+static void
+vl_api_avf_create_reply_t_handler (... |
Open the plugin preferences if hars could not be found. | @@ -623,6 +623,8 @@ initializePlugin(MObject obj)
"to HARS must either be added to your PATH environment variable " +
"or specified in the HOUDINI_HARS_LOCATION environment variable.");)");
+ MGlobal::executeCommand("houdiniEnginePreferences();", false);
+
return MStatus::kSuccess;
}
|
Rwmove TODO item about gpio kscan driver. | @@ -11,7 +11,6 @@ Basic WIP website to learn more: https://zmk.netlify.app/
- Document boards/shields/keymaps usage.
- Move most Kconfig setings to the board/keymap defconfigs and out of the toplevel `prj.conf` file.
-- Merge the Kscan GPIO driver upstream, or integrate it locally, to avoid use of Zephyr branch.
- Disp... |
Fixup termios.error exception handling for Windows | from .base_driver import BaseDriver
import serial
import serial.tools.list_ports
+try:
import termios
+ SerialError = termios.error
+except ImportError:
+ SerialError = None
+
class PySerialDriver(BaseDriver):
"""
@@ -106,5 +111,5 @@ class PySerialDriver(BaseDriver):
try:
self.flush()
self.close()
- except (OSError, te... |
simd-js: fix types of (u)64x2 internal vectors | @@ -94,9 +94,9 @@ typedef SIMDE__ALIGN(16) union {
/* int64x2 */
typedef SIMDE__ALIGN(16) union {
#if defined(SIMDE__ENABLE_GCC_VEC_EXT)
- int32_t v __attribute__((__vector_size__(16), __may_alias__));
+ int64_t v __attribute__((__vector_size__(16), __may_alias__));
#else
- int32_t v[2];
+ int64_t v[2];
#endif
#if defi... |
fixed missing DLT_IEEE802_11_RADIO | #define PCAPNG_MAJOR_VER 1
#define PCAPNG_MINOR_VER 0
#define PCAPNG_MAXSNAPLEN 0xffff
-
/*===========================================================================*/
/* Section Header Block (SHB) - ID 0x0A0D0D0A */
struct section_header_block_s
|
fuzz.c: indent-on | @@ -423,9 +423,7 @@ void mangle_mangleContent(honggfuzz_t * hfuzz, fuzzer_t * fuzzer)
};
/* *INDENT-ON* */
- /*
- * Minimal number of changes is 1
- */
+ /* Minimal number of changes is 1 */
uint64_t changesCnt = fuzzer->dynamicFileSz * fuzzer->flipRate;
if (changesCnt == 0ULL) {
changesCnt = 1;
|
Configurations/unix-Makefile.tmpl: remove assignment of AS and ASFLAGS
We have never used these variables with the Unix Makefile, and there's
no reason for us to change this, so to avoid confusion, we remove them. | @@ -240,9 +240,8 @@ TARFILE= ../$(NAME).tar
# order to be excused from maintaining a separate set of architecture
# dependent assembler flags. E.g. if you throw -mcpu=ultrasparc at SPARC
# gcc, then the driver will automatically translate it to -xarch=v8plus
-# and pass it down to assembler.
-AS={- $config{as} ? "\$(CR... |
Include flash_size_reg in chipid params dumps | @@ -906,6 +906,7 @@ void dump_a_chip (FILE *fp, struct stlink_chipid_params *dev) {
fprintf(fp, "chip_id 0x%x\n", dev->chip_id);
fprintf(fp, "description %s\n", dev->description);
fprintf(fp, "flash_type %d\n", dev->flash_type);
+ fprintf(fp, "flash_size_reg 0x%x\n", dev->flash_size_reg);
fprintf(fp, "flash_pagesize 0x... |
[kernel] use NSM_sort_csc rather than NSM_fix_csc | @@ -291,7 +291,8 @@ bool SiconosMatrix::fromCSC(CSparseMatrix* csc)
{
assert(csc);
- NSM_fix_csc(csc);
+ NSM_sort_csc(csc);
+
double* Mx = csc->x; // data
CS_INT* Mi = csc->i; // row indx
CS_INT* Mp = csc->p; // column pointers
|
Bump version 2.04.83 | @@ -57,7 +57,7 @@ GIT_COMMIT = $$system("git rev-list HEAD --max-count=1")
# Version Major.Minor.Build
# Important: don't change the format of this line since it's parsed by scripts!
-DEFINES += GW_SW_VERSION=\\\"2.04.82\\\"
+DEFINES += GW_SW_VERSION=\\\"2.04.83\\\"
DEFINES += GW_API_VERSION=\\\"1.0.4\\\"
DEFINES += GI... |
cloud_server: add missing function call
Call oc_cloud_delete_resource when freeing a dynamically
created resource in a collection. | @@ -530,6 +530,7 @@ free_switch_instance(oc_resource_t *resource)
oc_switch_t *cswitch = (oc_switch_t *)oc_list_head(switches);
while (cswitch) {
if (cswitch->resource == resource) {
+ oc_cloud_delete_resource(resource);
oc_delete_resource(resource);
oc_list_remove(switches, cswitch);
oc_memb_free(&switch_s, cswitch);
|
groups: Set browserId in local state on mount of app | @@ -5,6 +5,7 @@ import * as React from 'react';
import Helmet from 'react-helmet';
import { Router, withRouter } from 'react-router-dom';
import styled, { ThemeProvider } from 'styled-components';
+import FingerprintJS from '@fingerprintjs/fingerprintjs';
import gcpManager from '~/logic/lib/gcpManager';
import { svgDat... |
Added a section to documentation explaining enforcement of maximum mapped memory limit. | @@ -107,6 +107,8 @@ In order to successfully execute this command:
- The specified DCPMM(s) must be manageable by the host software and
must all have the same SKU.
+- SKU based maximum total mapped memory is enforced. See section <<Maximum Mapped Memory Limiting>>
+
- Existing memory allocation goals that have not been... |
Update .travis.yml for imxrt BSP CI | @@ -28,7 +28,7 @@ env:
- RTT_BSP='asm9260t' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='at91sam9260' RTT_TOOL_CHAIN='sourcery-arm'
- RTT_BSP='allwinner_tina' RTT_TOOL_CHAIN='sourcery-arm'
- - RTT_BSP='imxrt1052-evk' RTT_TOOL_CHAIN='sourcery-arm'
+ - RTT_BSP='imxrt/imxrt1050-evk' RTT_TOOL_CHAIN='sourcery-arm'
# - RTT_BSP='... |
man: update faq | .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "ELEKTRA\-FAQ" "" "October 2017" "" ""
+.TH "ELEKTRA\-FAQ" "" "December 2017" "" ""
.
.SH "Isn\'t it easier to implement a new parser than to use Elektra?"
No, it is not\. And even if it were, the story does not end with implementing a... |
TCPMv2: Remove storage for SOP'' discovery
SOP'' cable plugs aren't required to respond to Discover Identity, so
removing storage for the SOP'' response.
BRANCH=None
TEST=make -j buildall | @@ -366,7 +366,7 @@ enum pd_alternate_modes {
/* Discover all SOP* communications when enabled */
#ifdef CONFIG_USB_PD_DECODE_SOP
-#define DISCOVERY_TYPE_COUNT (TCPC_TX_SOP_PRIME_PRIME + 1)
+#define DISCOVERY_TYPE_COUNT (TCPC_TX_SOP_PRIME + 1)
#else
#define DISCOVERY_TYPE_COUNT (TCPC_TX_SOP + 1)
#endif
|
Minor fixes to BCM docs | @@ -333,7 +333,7 @@ As discussed in Section \ref{sec:extclass}, the user can compile \ccl with an ex
\subsubsection{Impact of baryons}
-\ccl incorporates the impact of baryons on the total matter power spectrum via the ``baryonic correction model'' of \citet{Schneider15}. The main consequences of baryonic processes are... |
[numerics] remove cr in numerics_printf | @@ -386,7 +386,7 @@ void newton_LSA(unsigned n, double *z, double *F, int *info, void* data, SolverO
SN_LOG_SCALAR(log_hdf5,SN_logh5_scalar_double(params->sigma * theta, "theta_iter_threshold", logger_s->group));
}
- numerics_printf_verbose(2,"--- newton_LSA :: pure Newton direction not acceptable theta_iter = %g > %g ... |
lua: install lualib.h
The include file defines the names and loading functions of Lua's
default packages. | @@ -144,6 +144,7 @@ library
includes: lua.h
, luaconf.h
, lauxlib.h
+ , lualib.h
if flag(system-lua) || flag(pkg-config)
if flag(pkg-config)
pkgconfig-depends: lua5.3
@@ -154,6 +155,7 @@ library
install-includes: lua.h
, luaconf.h
, lauxlib.h
+ , lualib.h
c-sources: cbits/lua-5.3.6/lapi.c
, cbits/lua-5.3.6/lcode.c
, cb... |
Yajl: Add a clause to set value in top level key | @@ -133,7 +133,8 @@ static int elektraGenOpenValue (yajl_gen g, const Key * next)
*/
static void elektraGenValue (yajl_gen g, Key * parentKey, const Key * cur)
{
- if (!elektraGenOpenValue (g, cur))
+ if (strcmp(keyName(parentKey), keyName(cur)) &&
+ !elektraGenOpenValue (g, cur))
{
ELEKTRA_LOG_DEBUG ("Do not yield val... |
[numerics] gfc3d_admm: set mumps solver if WITH_MUMPS defined | @@ -608,11 +608,15 @@ void gfc3d_ADMM(GlobalFrictionContactProblem* restrict problem, double* restrict
{
NM_gesv_expert(W,v,NM_KEEP_FACTORS);
}
+
else
{
- /* NM_gesv_expert(W,v,NM_KEEP_FACTORS); */
NSM_linear_solver_params* p = NSM_linearSolverParams(W);
+#ifdef WITH_MUMPS
+ p->solver = NSM_MUMPS;
+#else
p->solver = NS... |
build debug and secure versions on macOS in Azure pipelines | @@ -21,6 +21,9 @@ jobs:
Release:
BuildType: release
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release
+ Secure:
+ BuildType: secure
+ cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release -DMI_SECURE=ON
steps:
- task: CMake@1
inputs:
@@ -73,19 +76,15 @@ jobs:
CXX: clang++
BuildType: secure-clang
cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Releas... |
client session CHANGE cover new anydata types | @@ -398,6 +398,8 @@ getschema_module_clb(const char *mod_name, const char *mod_rev, const char *subm
case LYD_ANYDATA_JSOND:
case LYD_ANYDATA_SXML:
case LYD_ANYDATA_SXMLD:
+ case LYD_ANYDATA_LYB:
+ case LYD_ANYDATA_LYBD:
ERRINT;
break;
}
|
hslua: fix building of documented functions
The result must be calculated exactly once. | @@ -163,8 +163,9 @@ returnResults bldr fnResults = DocumentedFunction
pushString $ formatPeekError err
Lua.error
Right x -> do
- forM_ fnResults $ \(FunctionResult push _) -> x >>= push
- return $ NumResults (fromIntegral $ length fnResults)
+ result <- x
+ forM_ fnResults $ \(FunctionResult push _) -> push result
+ re... |
neon/rbit: add __builtin_bitreverse* fallbacks
Clang has these builtins, GCC doesn't. They may be faster than bit
twiddling depending on the target and whether the compiler recognizes
the bit twiddling pattern as a bit reverse. | @@ -56,7 +56,11 @@ simde_vrbit_u8(simde_uint8x8_t a) {
SIMDE_VECTORIZE
for (size_t i = 0 ; i < (sizeof(r_.values) / sizeof(r_.values[0])) ; i++) {
+ #if HEDLEY_HAS_BUILTIN(__builtin_bitreverse8) && !defined(HEDLEY_IBM_VERSION)
+ r_.values[i] = __builtin_bitreverse8(a_.values[i]);
+ #else
r_.values[i] = HEDLEY_STATIC_CA... |
Fix error in pthread_condwait
pthread_condwait should give mutex, take cond->sem, then take mutex | /****************************************************************************
*
- * Copyright 2016 Samsung Electronics All Rights Reserved.
+ * Copyright 2016-2017 Samsung Electronics All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in complianc... |
xpath OPTIMIZE extend hashed child search | @@ -7633,6 +7633,7 @@ eval_name_test_try_compile_predicate_append(const struct lyxp_expr *exp, uint16_
uint32_t i;
const struct lyd_node *siblings;
struct lyd_node *ctx_node;
+ const struct lysc_node *sparent, *cur_scnode;
struct lyxp_expr *val_exp = NULL;
struct lyxp_set set2 = {0};
char quot;
@@ -7641,8 +7642,9 @@ ev... |
stm32/adc: Fix ADC calibration scale for L4 MCUs, they use 3.0V. | #define ADC_FIRST_GPIO_CHANNEL (0)
#define ADC_LAST_GPIO_CHANNEL (15)
+#define ADC_SCALE_V (3.3f)
#define ADC_CAL_ADDRESS (0x1ffff7ba)
#define ADC_CAL1 ((uint16_t*)0x1ffff7b8)
#define ADC_CAL2 ((uint16_t*)0x1ffff7c2)
#define ADC_FIRST_GPIO_CHANNEL (0)
#define ADC_LAST_GPIO_CHANNEL (15)
+#define ADC_SCALE_V (3.3f)
#defi... |
testcase/filesystem: Fix wrong usage of configs wrapper
This path fixes the wrong usage of configs wrapper in fs procfs tc's. | #define PROC_SMARTFS_PATH "/proc/fs/smartfs"
#define PROC_SMARTFS_FILE_PATH "/proc/fs/smartfs/file.txt"
+
/* Read all files in the directory */
static int read_dir_entries(const char *dirpath)
{
@@ -112,7 +113,7 @@ error:
return ERROR;
}
-#if defined(CONFIG_FS_PROCFS) && !defined (CONFIG_FS_PROCFS_EXCLUDE_UPTIME)
+#ifn... |
THUNDERX2T99: Fix bug in SNRM2 | @@ -243,7 +243,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
ptr = (double *)result;
for (i = 0; i < nthreads; i++) {
- nrm2_double = nrm2_double + (*ptr) * (*ptr);
+ nrm2_double = nrm2_double + (*ptr);
ptr = (double *)(((char *)ptr) + sizeof(double) * 2);
}
}
|
Update changelog entry for new PSA PAKE feature | Features
- * Expose the EC J-PAKE functionality through the PSA PAKE Crypto API.
+ * Expose the EC J-PAKE functionality through the Draft PSA PAKE Crypto API.
+ Only the ECC primitive with secp256r1 curve and SHA-256 hash algorithm
+ are supported in this implementation.
|
tshell is the default value of FINSH_THREAD_NAME | @@ -1247,7 +1247,7 @@ static rt_err_t rt_serial_control(struct rt_device *dev,
struct winsize* p_winsize;
p_winsize = (struct winsize*)args;
- if(rt_thread_self() != rt_thread_find("tshell"))
+ if(rt_thread_self() != rt_thread_find(FINSH_THREAD_NAME))
{
/* only can be used in tshell thread; otherwise, return default si... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.