message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
More windows bs | @@ -192,8 +192,14 @@ jobs:
shell: 'bash.exe'
steps:
- checkout
- - run: cmake -H. -Bbuild
- - run: cmake --build build
+ - run: choco install cmake -y
+ - run: git clone https://git.cryptomilk.org/projects/cmocka.git
+ - run: /c/Program\ Files/Cmake/bin/cmake -S cmocka -B cmocka_build
+ - run: /c/Program\ Files/Cmake/b... |
cirrus, actions: upgrade macOS images to version 11, disable dbus workaround | @@ -15,7 +15,7 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
- runs-on: macos-10.15
+ runs-on: macos-11
strategy:
# Do no... |
prefix item visibility selection with >= | @@ -154,7 +154,7 @@ export default class SettingsDialog extends Component {
value={visibility}
>
{Object.keys(VISIBILITY_LEVELS).map(lvl =>
- <MenuItem key={lvl} value={lvl} primaryText={lvl} />
+ <MenuItem key={lvl} value={lvl} primaryText={'>= ' + lvl} />
)}
</SelectField>
<SavedIcon saved={this.getSaved('check/type'... |
[mod_proxy] set Content-Length, if available
set Content-Length if client sent Transfer-Encoding: chunked
and not streaming to backend (request body has been fully received) | @@ -668,6 +668,23 @@ static int proxy_create_env(server *srv, handler_ctx *hctx) {
}
proxy_set_header(con, "X-Forwarded-Proto", con->uri.scheme->ptr);
+ if (HTTP_METHOD_GET != con->request.http_method
+ && HTTP_METHOD_HEAD != con->request.http_method
+ && con->request.content_length >= 0) {
+ /* set Content-Length if c... |
board/vilboz/board.c: Format with clang-format
BRANCH=none
TEST=none | @@ -55,17 +55,13 @@ static struct stprivate_data g_lis2dwl_data;
static struct lsm6dsm_data g_lsm6dsm_data = LSM6DSM_DATA;
/* Matrix to rotate accelrator into standard reference frame */
-static const mat33_fp_t base_standard_ref = {
- { FLOAT_TO_FP(-1), 0, 0},
+static const mat33_fp_t base_standard_ref = { { FLOAT_TO_... |
travis: Selectively fetch git submodules only when needed.
This saves time when building on Travis CI: unconditionally fetching all
submodules takes about 40 seconds, but not all are needed for any given
port, so only fetch as necessary. | @@ -10,6 +10,8 @@ cache:
env:
global:
- MAKEOPTS="-j4"
+git:
+ submodules: false
# define the successive stages
stages:
@@ -30,6 +32,7 @@ jobs:
- sudo apt-get install libnewlib-arm-none-eabi
- arm-none-eabi-gcc --version
script:
+ - git submodule update --init lib/lwip lib/mbedtls lib/stm32lib
- make ${MAKEOPTS} -C mpy... |
Added removal of libRemarks | @@ -59,5 +59,6 @@ $SUDO rm -rf $AOMP/hcc/lib/LLVM*
$SUDO rm -rf $AOMP/hcc/lib/libclang*
$SUDO rm -rf $AOMP/hcc/lib/libLLVM*
$SUDO rm -rf $AOMP/hcc/lib/libLTO*
+$SUDO rm -rf $AOMP/hcc/lib/libRemarks*
echo "Done with $0"
|
Remove "pending" warning from record tag errors
See discussion on issue | @@ -879,6 +879,8 @@ describe("Pallene coder /", function()
end)
it("check record tags", function()
+ -- TODO: change this message to mention the relevant record types
+ -- instead of only saying "userdata"
run_test([[
local prim = test.make_prim(123)
local ok, err = pcall(test.get_x, prim)
@@ -886,7 +888,6 @@ describe(... |
Fix Model memory leaks; | @@ -203,7 +203,16 @@ void lovrModelDestroy(void* ref) {
for (uint32_t i = 0; i < model->data->primitiveCount; i++) {
lovrRelease(Mesh, model->meshes[i]);
}
+ for (uint32_t i = 0; i < model->data->textureCount; i++) {
+ lovrRelease(Texture, model->textures[i]);
+ }
+ for (uint32_t i = 0; i < model->data->materialCount; ... |
date: add metadata in contract | - infos/recommends =
- infos/placements = presetstorage postgetstorage
- infos/status = recommended productive maintained reviewed conformant compatible coverage specific unittest tested libc final
-- infos/metadata =
+- infos/metadata = check/date check/date/format
- infos/description = validates date and time strings... |
schema compilation BUGFIX NULL pointer dereference | @@ -3930,7 +3930,9 @@ lys_compile_node_case(struct lysc_ctx *ctx, struct lysp_node *node_p, int option
return cs;
error:
+ if (cs) {
lysc_node_free(ctx->ctx, (struct lysc_node*)cs);
+ }
return NULL;
#undef UNIQUE_CHECK
|
ip6_to_ip4.h coverity fix | @@ -479,7 +479,7 @@ ip6_to_ip4_tcp_udp (vlib_buffer_t * p, ip6_to_ip4_set_fn_t fn, void *ctx,
{
ip6_header_t *ip6;
u16 *checksum;
- ip_csum_t csum;
+ ip_csum_t csum = 0;
ip4_header_t *ip4;
u16 fragment_id;
u16 flags;
|
Specify Makefile build as C++ 11 | @@ -43,7 +43,7 @@ HEADERS = \
OBJECTS = $(SOURCES:.cpp=.o)
-CPPFLAGS = -O3 -Wall -W -Wextra -msse2 -mfpmath=sse
+CPPFLAGS = -std=c++11 -O3 -Wall -W -Wextra -msse2 -mfpmath=sse
astcenc: $(OBJECTS)
g++ -o $@ $^ $(CPPFLAGS) -lpthread
|
libc/stdio: Don't set FL_[LONG|SHORT] repeatly in vsprintf_internal | @@ -459,8 +459,11 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
{
flags |= FL_REPD_TYPE;
}
-
+ else
+ {
flags |= FL_LONG;
+ }
+
flags &= ~FL_SHORT;
continue;
}
@@ -471,8 +474,11 @@ static int vsprintf_internal(FAR struct lib_outstream_s *stream,
{
flags |= FL_REPD_TYPE;
}
-
+ else
+ {
flags |= FL_... |
Remove unnecessary test before free | @@ -119,9 +119,7 @@ Context *context_new(GlobalContext *glb)
void context_destroy(Context *ctx)
{
#ifndef AVM_NO_FP
- if (ctx->fr) {
free(ctx->fr);
- }
#endif
list_remove(&ctx->processes_table_head);
|
Adding some doc
Adding some dev documentation. No code change. | @@ -563,6 +563,7 @@ io_region *alloc_region(int ndims)
/**
* Allocate space for an IO description struct.
*
+ * @param ios pointer to the IO system info.
* @param piotype the PIO data type (ex. PIO_FLOAT, PIO_INT, etc.).
* @param ndims the number of dimensions.
* @returns pointer to the newly allocated io_desc_t or NUL... |
acquires pier lockfile on io_init instead of io_talk | @@ -1201,19 +1201,6 @@ u3_unix_ef_hill(u3_pier *pir_u, u3_noun hil)
u3z(hil);
}
-/* u3_unix_io_init(): initialize unix sync.
-*/
-void
-u3_unix_io_init(u3_pier *pir_u)
-{
- u3_unix* unx_u = pir_u->unx_u;
-
- unx_u->mon_u = NULL;
-
- unx_u->alm = c3n;
- unx_u->dyr = c3n;
-}
-
/* u3_unix_acquire(): acquire a lockfile, ki... |
BugID:19675668: Fix Windows path for AOS_SDK_PATH | @@ -103,7 +103,7 @@ def copy_template_file(tempfile, templatedir, destdir, projectname, board):
line = line.replace("@boardname@", board)
if "@aos_sdk_path@" in line:
- line = line.replace("@aos_sdk_path@", os.environ.get("AOS_SDK_PATH"))
+ line = line.replace("@aos_sdk_path@", os.environ.get("AOS_SDK_PATH").replace("\... |
new floating rule | @@ -44,8 +44,8 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title
*/
/* class instance title tags mask isfloating monitor */
- {"Gimp", NULL, NULL, 0, 1, -1},
- {"pavucontrol", NULL, NULL, 0, 1, -1},
+ {"Pavucontrol", NULL, NULL, 0, 1, -1},
+ {"Welcome.py", NULL, NULL, 0, 1, -1},
};
/* layout(s) */
|
board/delbin/board.h: Format with clang-format
BRANCH=none
TEST=none | /* USBC PPC*/
#define CONFIG_USBC_PPC_SYV682X
-
/* BC 1.2 */
/* Volume Button feature */
#define I2C_ADDR_EEPROM_FLAGS 0x50
#define CONFIG_I2C_CONTROLLER
-
#ifndef __ASSEMBLER__
#include "gpio_signal.h"
@@ -160,11 +158,7 @@ enum battery_type {
BATTERY_TYPE_COUNT,
};
-enum pwm_channel {
- PWM_CH_FAN = 0,
- PWM_CH_KBLIGH... |
Breakout at end. | @@ -402,6 +402,7 @@ check_modules_exist(const char* module_conf)
int is_ok = 0;
while(*s && isspace((unsigned char)*s))
s++;
+ if(!*s) break;
while(names[i]) {
if(strncmp(names[i], s, strlen(names[i])) == 0) {
is_ok = 1;
|
UserNotes: Fix saved priority getting set multiple times for saved processes | @@ -209,7 +209,7 @@ IO_PRIORITY_HINT GetProcessIoPriority(
)
{
HANDLE processHandle;
- IO_PRIORITY_HINT ioPriority = -1;
+ IO_PRIORITY_HINT ioPriority = ULONG_MAX;
if (NT_SUCCESS(PhOpenProcess(
&processHandle,
@@ -222,7 +222,7 @@ IO_PRIORITY_HINT GetProcessIoPriority(
&ioPriority
)))
{
- ioPriority = -1;
+ ioPriority =... |
Fixed issue where no message was printed if the primary input file did not include saBodyFiles. | @@ -989,7 +989,6 @@ void ReadBodyFileNames(CONTROL *control,FILES *files,OPTIONS *options,INFILE *in
LineExit(infile->cIn,lTmp[0]);
}
} else {
- if (control->Io.iVerbose >= VERBERR)
fprintf(stderr,"ERROR: Option %s is required in file %s.\n",options->cName,infile->cIn);
exit(EXIT_INPUT);
}
|
Added note to include 32BLIT_PATH in cmake | @@ -23,4 +23,7 @@ emcmake cmake .. -G "Unix Makefiles"
make
python3 -m http.server
```
+
+If your project is based on the template, make sure to include the `-D32BLIT_PATH="/path/to/32blit/repo"` parameter to the `cmake` command.
+
Finally, open the URL given by Python's HTTP server in your browser and open your projec... |
Testing: Use Assert because if NDEBUG was defined the assert macro is disabled | #include <stdio.h>
#include <stdlib.h>
-#include <assert.h>
-#include "grib_api.h"
+#include "grib_api_internal.h"
int main(int argc, char** argv)
{
@@ -25,23 +24,23 @@ int main(int argc, char** argv)
grib_iterator* iter = NULL;
h = grib_handle_new_from_samples(0, sample_filename);
- assert(h);
+ Assert(h);
iter = grib... |
Restructured ++head to be slightly prettier. | ::
++ head :: parse heading
%+ cook
- |= $: :: a: list of #
- :: b: tag flow of header line
+ |= a/manx ^- marl
+ =. a.g.a :_(a.g.a [%id (sanitize-to-id c.a)])
+ [a]~
::
- a/tape
- b/(list manx)
- ==
- ^- (list manx)
- :: hag: header tag, h1 through h6
- ::
- =* hag (cat 3 'h' (add '0' =+((lent a) ?:((gth - 6) 6 -))))
... |
net/oic; ble transport was missing flag indicating that it uses
TCP style CoAP headers. | @@ -45,7 +45,7 @@ void oc_connectivity_shutdown_gatt(void);
static const struct oc_transport oc_gatt_transport = {
.ot_ep_size = sizeof(struct oc_endpoint_ble),
- .ot_flags = 0,
+ .ot_flags = OC_TRANSPORT_USE_TCP,
.ot_tx_ucast = oc_send_buffer_gatt,
.ot_tx_mcast = oc_send_buffer_gatt,
.ot_get_trans_security = oc_get_tr... |
Do not use meta element for stating a document language.
Per | @@ -227,7 +227,6 @@ print_html_header (FILE * fp)
"<head>"
"<meta charset='UTF-8' />"
"<meta http-equiv='X-UA-Compatible' content='IE=edge'>"
- "<meta http-equiv='Content-Language' content='en'>"
"<meta name='google' content='notranslate'>"
"<meta name='viewport' content='width=device-width, initial-scale=1'>"
"<meta n... |
ci: remove comment for dash compatibility | @@ -143,8 +143,7 @@ cache:
fi
.set_include_nightly_run: &set_include_nightly_run |
- # in bash regex, (?:..) -> (..)
- if [[ "$CI_MERGE_REQUEST_LABELS" =~ ^([^,\n\r]+,)*include_nightly_run(,[^,\n\r]+)*$ ]]; then
+ if echo "$CI_MERGE_REQUEST_LABELS" | egrep "^([^,\n\r]+,)*include_nightly_run(,[^,\n\r]+)*$"; then
export ... |
Updated AutoSelectSyncCheckpoint() | @@ -3004,7 +3004,7 @@ bool ProcessBlock(CNode* pfrom, CBlock* pblock)
// ppcoin: if responsible for sync-checkpoint send it
if (pfrom && !CSyncCheckpoint::strMasterPrivKey.empty())
- Checkpoints::SendSyncCheckpoint(Checkpoints::AutoSelectSyncCheckpoint());
+ Checkpoints::SendSyncCheckpoint(Checkpoints::AutoSelectSyncCh... |
doc: rewrite decision. | # Multiple File Backends
+Usually, a backend refers to exactly one file per namespace.
+This file can be returned using `kdb file`.
+
## Problem
-- For XDG in the `system` namespace may contain several files (XDG_CONFIG_DIRS)
-- Unreachable sources (e.g. `curl`) need some fallback
-- As fallback source if some data can... |
override with newer config.guess for aarch64 | @@ -105,6 +105,11 @@ export BUILDROOT=%buildroot
export FFLAGS="$FFLAGS -I$MPI_INCLUDE_DIR"
export TAUROOT=`pwd`
+# override with newer config.guess for aarch64
+%ifarch aarch64
+cp /usr/lib/rpm/config.guess utils/opari2/build-config/.
+%endif
+
# Try and figure out architecture
detectarch=unknown
detectarch=`./utils/a... |
bugID:18002625:[breeze-awsss] Add hint when no awss in ble settings. | @@ -61,6 +61,9 @@ GLOBAL_DEFINES += ESP8266_CHIPSET
endif
ifeq ($(LINKKITAPP_CONFIG_COMBOAPP),y)
+ifneq ($(CONFIG_COMP_BZ_EN_AWSS), y)
+$(error need enable AWSS in breeze settings first)
+endif
$(NAME)_COMPONENTS += breeze breeze_hal
$(NAME)_SOURCES += combo/combo_net.c
GLOBAL_DEFINES += EN_COMBO_NET
|
bcc: Remove bpf_probe_read_user availability checks on compile time
If wrong kernel-headers are installed, then this can provide false
result for probe read selection. Instead look for only kallsyms. | @@ -110,9 +110,6 @@ static std::string check_bpf_probe_read_user(llvm::StringRef probe,
bool& overlap_addr) {
if (probe.str() == "bpf_probe_read_user" ||
probe.str() == "bpf_probe_read_user_str") {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 5, 0)
- return probe.str();
-#else
// Check for probe_user symbols in backpor... |
Slightly reword README.md | @@ -34,17 +34,17 @@ cd ocf
## Deployment
OCF doesn't compile as separate library. It's designed to be included into another
-software. For this purpose OCF Makefile provides two useful targets for deploying
-OCF source into target directories. Assuming OCFDIR is ocf directory, and SRCDIR and
-INCDIR are your source and... |
c-timestamp: fix truncation error | @@ -77,7 +77,7 @@ timestamp_to_tm(const timestamp_t *tsp, struct tm *tmp, const bool local)
if (local)
sec += tsp->offset * 60;
assert((sec / 86400) <= UINT32_MAX);
- rdn = (uint32_t)sec / 86400;
+ rdn = (uint32_t)(sec / 86400);
sod = sec % 86400;
rdn_to_struct_tm(rdn, tmp);
|
Call static function using class name, not an instance. | @@ -145,7 +145,7 @@ inline TVector<TStorageType> CompressVector(const T* data, ui32 size, ui32 bitsP
params.SetBlockSize(indexHelper.GetEntriesPerType() * 8192);
NPar::LocalExecutor().ExecRange([&](int blockIdx) {
- NPar::LocalExecutor().BlockedLoopBody(params, [&](int i) {
+ NPar::TLocalExecutor::BlockedLoopBody(param... |
apps/nshlib/nsh.h: Fix typo.. #undef not #undefine. | # define HAVE_DF_HUMANREADBLE 1
# define HAVE_DF_BLOCKOUTPUT 1
# if defined(CONFIG_FS_PROCFS_EXCLUDE_USAGE)
-# undefine HAVE_DF_HUMANREADBLE
+# undef HAVE_DF_HUMANREADBLE
# endif
# if defined(CONFIG_FS_PROCFS_EXCLUDE_BLOCKS)
-# undefine HAVE_DF_BLOCKOUTPUT
+# undef HAVE_DF_BLOCKOUTPUT
# endif
#endif
|
scripts: mention JAVA_HOME in configure-common | @@ -12,6 +12,16 @@ then
SOURCE=$(readlink -f "$1")
fi
+# set JAVA_HOME if you want to use a non-default Java.
+#cd /opt
+#JAVA_IN_OPT=$(readlink -f $(find . -maxdepth 1 -name 'jdk*' -print -quit))
+#
+#if [ "x$JAVA_HOME" = "x" -a "x$JAVA_IN_OPT" != "x" ]
+#then
+# export JAVA_HOME="$JAVA_IN_OPT"
+#fi
+#echo "Using java... |
Add Patreon to funding | # These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
-patreon: # Replace with a single Patreon username
+patreon: FlightlessMango
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username... |
Fix some timing issues where opening a project while a project was already open would sometimes fail | @@ -41,6 +41,7 @@ let playWindowSgb = false;
let hasCheckedForUpdate = false;
let documentEdited = false;
let documentName = "";
+let mainWindowCloseCancelled = false;
const isDevMode = !!process.execPath.match(/[\\/]electron/);
@@ -148,6 +149,7 @@ const createWindow = async (projectPath: string) => {
preload: MAIN_WIN... |
tutorial: Update release notes | @@ -390,7 +390,7 @@ This section keeps you up-to-date with the multi-language support provided by El
- Add tutorial for manual installation from the AUR on Arch Linux _(@Bujuhu)_
- <<TODO>>
-- <<TODO>>
+- Add markdown shell recorder validation to install.webui.md _(@deoknats861)_
- <<TODO>>
- <<TODO>>
- <<TODO>>
|
Pad packet containing PATH_RESPONSE or PATH_CHALLENGE frames | @@ -2883,6 +2883,7 @@ static ngtcp2_ssize conn_write_pkt(ngtcp2_conn *conn, ngtcp2_pkt_info *pi,
pkt_empty = 0;
rtb_entry_flags |= NGTCP2_RTB_FLAG_ACK_ELICITING;
+ require_padding = 1;
/* We don't retransmit PATH_RESPONSE. */
}
}
@@ -3526,7 +3527,9 @@ ngtcp2_conn_write_single_frame_pkt(ngtcp2_conn *conn, ngtcp2_pkt_inf... |
readme: newest version - recommendation | @@ -25,7 +25,7 @@ A security oriented, feedback-driven, evolutionary, easy-to-use fuzzer with inte
## Code
- * Latest stable version: [1.5](https://github.com/google/honggfuzz/releases), but using the __master__ branch is highly encouraged
+ * Latest stable version: [1.5](https://github.com/google/honggfuzz/releases)
*... |
push-hook: fix duplicate messages being sent | %+ weld
(push-updates:hc q.cage.sign)
cards
-
==
++ on-leave
|= =path
=/ prefix=path
resource+(en-path:resource u.rid)
=/ paths=(list path)
+ %~ tap in
+ %- silt
%+ turn
(incoming-subscriptions prefix)
|=([ship pax=path] pax)
|
Honda: fix address checks for Alt Nidec
* Honda: fix address checks for Alt Nidec
* Revert "Honda: temporarily revert new address checks (#797)"
This reverts commit | @@ -28,16 +28,16 @@ AddrCheckStruct honda_nidec_addr_checks[] = {
{0x296, 0, 4, .check_checksum = true, .max_counter = 3U, .expected_timestep = 40000U}, { 0 }}},
{.msg = {{0x158, 0, 8, .check_checksum = true, .max_counter = 3U, .expected_timestep = 10000U}, { 0 }, { 0 }}},
{.msg = {{0x17C, 0, 8, .check_checksum = true,... |
vnet: update help message for intfc state
Add useful help information on set interface state. | @@ -829,7 +829,7 @@ done:
?*/
VLIB_CLI_COMMAND (set_state_command, static) = {
.path = "set interface state",
- .short_help = "Set interface state",
+ .short_help = "set interface state <if-name> [up|down|punt|enable]",
.function = set_state,
};
/* *INDENT-ON* */
|
[core] config_check_cond_nocache() xor return code | @@ -551,31 +551,25 @@ static cond_result_t config_check_cond_nocache(request_st * const r, const data_
log_error(r->conf.errh, __FILE__, __LINE__,
"%s compare to %s", dc->comp_key, l->ptr);
+ int match;
switch(dc->cond) {
case CONFIG_COND_NE:
case CONFIG_COND_EQ:
- if (buffer_is_equal(l, &dc->string)) {
- return (dc->c... |
libbarrelfish: pmap: x86_64: add debug flag to enable slab refill debugging on per-application basis | @@ -600,6 +600,7 @@ static errval_t refill_slabs_fixed_allocator(struct pmap_x86 *pmap, struct slab_
* Can only be called for the current pmap
* Will recursively call into itself till it has enough slabs
*/
+bool debug_refill = false;
static errval_t refill_slabs(struct pmap_x86 *pmap, struct slab_allocator *slab, size... |
blackbox: fix compress call for vec4 | @@ -61,8 +61,8 @@ void blackbox_update() {
blackbox.cpu_load = state.cpu_load;
blackbox.vbat_filter = state.vbattfilt * 10;
- vec3_compress(&blackbox.rx_raw, &state.rx, 1024);
- vec3_compress(&blackbox.rx_filter, &state.rx_filtered, 1024);
+ vec4_compress(&blackbox.rx_raw, &state.rx, 1024);
+ vec4_compress(&blackbox.rx... |
Fix include for EMCC build | #include <brotli/port.h>
#include <brotli/types.h>
-#if defined(OS_LINUX) || defined(OS_CYGWIN)
+#if defined(OS_LINUX) || defined(OS_CYGWIN) || defined(__EMSCRIPTEN__)
#include <endian.h>
#elif defined(OS_FREEBSD)
#include <machine/endian.h>
|
[lwIP] update net/SConscript for lwip 2.0.0 | @@ -8,7 +8,7 @@ cwd = GetCurrentDir()
list = os.listdir(cwd)
# the default version of LWIP is 1.4.1
-if not GetDepend('RT_USING_LWIP132') and not GetDepend('RT_USING_LWIP140') and not GetDepend('RT_USING_LWIP_HEAD'):
+if not GetDepend('RT_USING_LWIP132') and not GetDepend('RT_USING_LWIP140') and not GetDepend('RT_USING... |
Fix switch/case code style
For readability and consistency, indent case statatements, and remove
unnecessary additional blocks. | @@ -85,10 +85,9 @@ static void event_loop(void) {
break;
}
break;
- case SDL_TEXTINPUT: {
+ case SDL_TEXTINPUT:
input_manager_process_text_input(&input_manager, &event.text);
break;
- }
case SDL_KEYDOWN:
case SDL_KEYUP:
input_manager_process_key(&input_manager, &event.key);
@@ -96,18 +95,16 @@ static void event_loop(vo... |
Fix the string literal. | @@ -56,7 +56,7 @@ jobs:
args: 'build "-s app -b ${{ matrix.board }} -- -DSHIELD=petejohanson_proton_handwire"'
- name: Archive Build
uses: actions/upload-artifact@v2
- if: ${{ matrix.board == "nice_nano "}}
+ if: ${{ matrix.board == 'nice_nano' }}
with:
name: zmk-uf2
path: build/zephyr/zmk.uf2
|
Leaf: Fix spelling in ReadMe | @@ -71,7 +71,7 @@ user/grandparent/parent/___dirdata = Parent
user/grandparent/parent/child = Child
user/mother =
user/mother/___dirdata = Mother
-user/mother/daughter = Daugther
+user/mother/daughter = Daughter
user/mother/son = Son
```
|
Fix wrong flag identifiers. | @@ -669,7 +669,7 @@ string_modifiers
// modifier. If we don't check for this then we can end up with
// "base64 ascii" resulting in whatever is on the stack for "ascii"
// overwriting the values for base64.
- if (($2.flags & STRING_GFLAGS_BASE64) ||
+ if (($2.flags & STRING_FLAGS_BASE64) ||
($2.flags & STRING_FLAGS_BAS... |
Fix inclusion of ConfigurationManager | @@ -162,9 +162,6 @@ set(NF_CoreCLR_SRCS
nanoHAL_Time.cpp
nanoHAL_Watchdog.c
- # HAL stubs
- nanoHAL_ConfigurationManager_stubs.c
-
# PAL
nanoPAL_BlockStorage.c
nanoPAL_NativeDouble.cpp
@@ -177,9 +174,13 @@ set(NF_CoreCLR_SRCS
GenericPort_stubs.c
)
-# include configuration manager implementation, if feature is enabled
+... |
[tests] partially fix test_smc.py, still error due to _DSPhi | @@ -58,7 +58,8 @@ def test_smc1():
# Creation of the Simulation
processSimulation = TimeStepping(processTD, 0)
processSimulation.setName("plant simulation")
- processSimulation.setNonSmoothDynamicalSystemPtr(process.nonSmoothDynamicalSystem())
+ processSimulation.setNonSmoothDynamicalSystemPtr(
+ process.nonSmoothDynam... |
debug: fix for a possible NULL dereferencing
Check results of allocations and list operations for NULL. | @@ -49,8 +49,14 @@ debug_add_handler(debug_fn fn, debug_level_e level, void *user_data)
lnode_t *new_node;
debug_handler_t *handler =
(debug_handler_t *) u_malloc(sizeof(debug_handler_t));
+ if (!handler)
+ return 0;
if (!handlers) {
handlers = list_create(LISTCOUNT_T_MAX);
+ if (!handlers) {
+ u_free(handler);
+ retur... |
xpath BUGFIX avoid integer overflow | @@ -5064,7 +5064,8 @@ xpath_string_length(struct lyxp_set **args, uint16_t arg_count, struct lyxp_set
static LY_ERR
xpath_substring(struct lyxp_set **args, uint16_t arg_count, struct lyxp_set *set, uint32_t options)
{
- int32_t start, len;
+ int64_t start;
+ int32_t len;
uint16_t str_start, str_len, pos;
struct lysc_no... |
trogdor: enable CONFIG_CMD_CHARGEN
This patch enables the console command 'chargen'.
BRANCH=trogdor
TEST=buildall | #define I2C_PORT_EEPROM NPCX_I2C_PORT5_0
#define I2C_PORT_SENSOR NPCX_I2C_PORT7_0
+/* UART */
+#define CONFIG_CMD_CHARGEN
+
/* Define the host events which are allowed to wake AP up from S3 */
#define CONFIG_MKBP_HOST_EVENT_WAKEUP_MASK \
(EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) | \
|
hw/mcu/cmac: Fix calculating time-to-next timer
Need to use proper comparator. | @@ -431,9 +431,10 @@ cmac_timer_next_at(void)
to_next = min(to_next, reg32 - val32);
}
- if (mask & CMAC_CM_LL_INT_MSK_SET_REG_LL_TIMER1_EQ_Y_SEL_Msk) {
- reg32 = (CMAC->CM_LL_TIMER1_EQ_Y_HI_REG << 10) |
- CMAC->CM_LL_TIMER1_EQ_Y_LO_REG;
+ if (mask & (CMAC_CM_LL_INT_MSK_SET_REG_LL_TIMER1_36_10_EQ_Y_SEL_Msk |
+ CMAC_CM_... |
reception small optimizations | @@ -101,15 +101,14 @@ void Recep_GetHeader(volatile unsigned char *data)
******************************************************************************/
void Recep_GetData(volatile unsigned char *data)
{
- uint8_t current_data = *data;
if (keep)
{
- MsgAlloc_SetData(current_data);
- }
- if ((data_count < data_size) && ... |
update testshell_markdown_line | @@ -69,23 +69,23 @@ kdb export -c "format=%s: %s" user:/line simpleini
sudo kdb mount line /tests/line base64 line
-kdb set /tests/line/add something
-kdb set /tests/line/ignored huhu
-kdb set /tests/line ignored # adding parent key does nothing
-kdb set /tests/line/add here
+kdb set user:/tests/line/add something
+kdb... |
drivers/ramlog: Set protocol attribute, SEM_PRIO_NONE for rl_waitsem.
The rl_waitsem sempahore is used for signaling and so it should not have priority inheritance enabled. | @@ -686,6 +686,12 @@ int ramlog_consoleinit(void)
#ifndef CONFIG_RAMLOG_NONBLOCKING
if ((priv->rl_waitsem.flags & FLAGS_INITIALIZED) == 0) {
sem_init(&priv->rl_waitsem, 0, 0);
+
+ /*
+ * The rl_waitsem semaphore is used for signaling and, hence,
+ * should not have priority inheritance enabled.
+ */
+ sem_setprotocol(&... |
Remove unnecessary openlibs calls. | @@ -163,7 +163,6 @@ testStackValueInstance t = QM.monadicIO $ do
testOpen :: String -> (LuaState -> IO ()) -> Test
testOpen lib openfn = TestLabel ("open" ++ lib) . TestCase . assert $ do
l <- newstate
- openlibs l
openfn l
ret <- istable l (-1)
close l
@@ -172,7 +171,6 @@ testOpen lib openfn = TestLabel ("open" ++ lib... |
tests for centered radial trajectory | @@ -11,6 +11,30 @@ tests/test-traj-over: traj scale nrmse
TESTS += tests/test-traj-over
+tests/test-traj-dccen: traj nrmse
+ set -e; mkdir $(TESTS_TMP) ; cd $(TESTS_TMP) ;\
+ $(TOOLDIR)/traj -x128 -y71 -r -c traja.ra ;\
+ $(TOOLDIR)/traj -x128 -y71 -q-0.5:-0.5:0. -r trajb.ra ;\
+ $(TOOLDIR)/nrmse -t 0.0000001 traja.ra ... |
Note that dhparam does support X9.42
Fix other wording, too.
Fixes: | @@ -30,6 +30,10 @@ B<openssl dhparam>
This command is used to manipulate DH parameter files.
+See L<openssl-genpkey(1)/EXAMPLES> for examples on how to generate
+a key using a named safe prime group without generating intermediate
+parameters.
+
=head1 OPTIONS
=over 4
@@ -109,20 +113,12 @@ This option prints out the DH... |
misc: register Leap with make_repo utility | @@ -8,6 +8,7 @@ if [ -s "/etc/os-release" ];then
[[ `grep "CentOS" /etc/os-release` ]] && repodir=/etc/yum.repos.d
[[ `grep "Red Hat" /etc/os-release` ]] && repodir=/etc/yum.repos.d
[[ `grep "SLES" /etc/os-release` ]] && repodir=/etc/zypp/repos.d
+ [[ `grep "Leap" /etc/os-release` ]] && repodir=/etc/zypp/repos.d
else
e... |
Add a note_id | @@ -117,6 +117,7 @@ typedef int32_t clap_event_type;
typedef struct clap_event_note {
clap_event_header_t header;
+ int16_t note_id; // -1 if unspecified, otherwise >0
int16_t port_index;
int16_t key; // 0..127
int16_t channel; // 0..15
@@ -146,7 +147,8 @@ typedef struct clap_event_note_expression {
clap_note_expressio... |
Changelog note for
- Merge PR from Jaap: Fix generation of libunbound.pc. | 1 December 2021: George
- Merge PR #511 from yan12125: Reduce unnecessary linking.
+ - Merge PR #493 from Jaap: Fix generation of libunbound.pc.
30 November 2021: Wouter
- Fix to remove git tracking and ci information from release tarballs.
|
removed tests in root cmake file for device testing | @@ -66,20 +66,20 @@ add_subdirectory(src/dictionary/open_address_hash)
add_subdirectory(src/dictionary/skip_list)
add_subdirectory(src/dictionary/linear_hash)
-add_subdirectory(src/tests/unit/iinq)
-add_subdirectory(src/tests/unit/dictionary/bpp_tree)
-add_subdirectory(src/tests/unit/dictionary/flat_file)
-add_subdirec... |
net/tcp: fix potential busy loop in tcp_send_buffered.c
if the wrbuffer does not have enough space to send the rest of
the data, then the send function will loop infinitely in nonblock
mode, add send timeout check to avoid this issue. | @@ -1361,7 +1361,8 @@ ssize_t psock_tcp_send(FAR struct socket *psock, FAR const void *buf,
tcp_wrbuffer_release(wrb);
}
- if (nonblock)
+ if (nonblock || (timeout != UINT_MAX &&
+ tcp_send_gettimeout(start, timeout) == 0))
{
nerr("ERROR: Failed to add data to the I/O chain\n");
ret = -EAGAIN;
|
wait for init ctx | @@ -495,16 +495,6 @@ main(int argc, char *argv[])
}
}
- if (config_log_level == 0) {
- neat_log_level(ctx, NEAT_LOG_ERROR);
- } else if (config_log_level == 1){
- neat_log_level(ctx, NEAT_LOG_WARNING);
- } else if (config_log_level == 2){
- neat_log_level(ctx, NEAT_LOG_INFO);
- }else {
- neat_log_level(ctx, NEAT_LOG_DE... |
Remove redundant variable
Author: Amul Sul
Discussion: | @@ -176,7 +176,6 @@ transformCreateStmt(CreateStmt *stmt, const char *queryString)
Oid namespaceid;
Oid existing_relid;
ParseCallbackState pcbstate;
- bool is_foreign_table = IsA(stmt, CreateForeignTableStmt);
/*
* We must not scribble on the passed-in CreateStmt, so copy it. (This is
@@ -333,8 +332,11 @@ transformCrea... |
Further readability for spawnexample. | @@ -36399,8 +36399,11 @@ int playlevel(char *filename)
return ((type == 2 && endgame != 2) || p_alive);
}
-// Spawn sample entity for select screen.
-static entity *spawnexample(int i)
+// Caskey, Damon V (retool, OA unknown)
+// 2019-01-03
+//
+// For select screen. Spawn sample entity for player_index.
+static entity... |
BlessTest: Fix compilation | @@ -103,7 +103,7 @@ TestBless (
// TODO: This should properly handle folder boot entries.
//
if (!EFI_ERROR (Status)) {
- Status = OcLoadBootEntry (Chosen, OC_LOAD_DEFAULT_POLICY, ImageHandle, &BooterHandle);
+ Status = OcLoadBootEntry (AppleBootPolicy, Chosen, OC_LOAD_DEFAULT_POLICY, ImageHandle, &BooterHandle);
if (!... |
Fix compilation error in lv_chart | @@ -731,7 +731,6 @@ static void lv_chart_draw_cols(lv_obj_t * chart, const lv_area_t * mask)
col_a.y2 = chart->coords.y2;
lv_coord_t x_act;
- printf("\n", y_tmp);
/*Go through all points*/
for(i = 0; i < ext->point_cnt; i ++) {
@@ -749,7 +748,6 @@ static void lv_chart_draw_cols(lv_obj_t * chart, const lv_area_t * mask)... |
[BSP] [stm32f769-st-disco] fix error 'undefined reference to *entry*' after scons --menuconfig | @@ -3,6 +3,8 @@ menu "Hardware Drivers Config"
config SOC_STM32F769NI
bool
select SOC_SERIES_STM32F7
+ select RT_USING_COMPONENTS_INIT
+ select RT_USING_USER_MAIN
default y
menu "Onboard Peripheral Drivers"
|
Added SCE_SYSMODULE_AACENC to sysmodule.h | @@ -68,6 +68,7 @@ typedef enum SceSysmoduleModuleId {
SCE_SYSMODULE_NEAR_UTIL = 0x002B,
SCE_SYSMODULE_NP_TUS = 0x002C,
SCE_SYSMODULE_MP4 = 0x002D,
+ SCE_SYSMODULE_AACENC = 0x002E,
SCE_SYSMODULE_HANDWRITING = 0x002F,
SCE_SYSMODULE_ATRAC = 0x0030,
SCE_SYSMODULE_NP_SNS_FACEBOOK = 0x0031,
|
Solve minor bug in cs_loader_impl target for building with Guix. | @@ -34,6 +34,7 @@ if(OPTION_BUILD_GUIX)
execute_process(
COMMAND sh -c "${DOTNET_COMMAND} nuget locals all --list | grep global-packages | awk '{print $NF}'"
OUTPUT_VARIABLE DOTNET_SOURCE
+ OUTPUT_STRIP_TRAILING_WHITESPACE
)
else()
set(DOTNET_SOURCE)
|
Add New to main menu | @@ -1867,6 +1867,7 @@ enum {
Main_menu_quit = 1,
Main_menu_controls,
Main_menu_opers_guide,
+ Main_menu_new,
Main_menu_open,
Main_menu_save,
Main_menu_save_as,
@@ -1879,6 +1880,7 @@ enum {
void push_main_menu(void) {
Qmenu* qm = qmenu_create(Main_menu_id);
qmenu_set_title(qm, "ORCA");
+ qmenu_add_choice(qm, "New", Main... |
fix more case for skin.ini | @@ -118,7 +118,10 @@ class Skin:
raise Exception('invalid section name found: ' + line[1:-1])
sl = line.split(':')
+ try:
key, value = sl[0], sl[1]
+ except IndexError as e:
+ continue
my_command = section + '["' + key + '"] = ' + '"' + str(value) + '"'
exec(my_command)
|
docs: update a description of overview
Fix . | ## Introduction
### Overview
-In this article, we discribe system requirements for BoAT Framework (C language version) on cellular modules. BoAT is an SDK that runs on the module's application processor. For the cellular module with an OpenCPU, BoAT is linked and called by the application as a library. For cellular mod... |
mist: update tmp_path for mk_dist utility | @@ -27,7 +27,7 @@ my @distros = ('Leap_15','CentOS_8');
my $base_repo_path = "/repos/OpenHPC";
my $dest_dir = "/repos/dist/$release";
-my $tmp_path = "/repos/tmp/dist";
+my $tmp_path = "/stage/dist/tmp";
# basic usage
sub usage {
|
Add test for calling update when nonce not set
Previously only testing calling update_ad in this state. | @@ -4224,6 +4224,19 @@ void aead_multipart_state_test( int key_type_arg, data_t *key_data,
psa_aead_abort( &operation );
+ /* ------------------------------------------------------- */
+
+ operation = psa_aead_operation_init( );
+
+ PSA_ASSERT( psa_aead_encrypt_setup( &operation, key, alg ) );
+
+ TEST_EQUAL( psa_aead_... |
Changed keepalive callback to avoid sending immediate keepalive when the network is congested | @@ -275,7 +275,7 @@ keepalive_packet_sent(void *ptr, int status, int transmissions)
LOG_INFO_(", st %d-%d\n", status, transmissions);
/* We got no ack, try to recover by switching to the last neighbor we received an EB from */
- if(status != MAC_TX_OK) {
+ if(status == MAC_TX_NOACK) {
if(linkaddr_cmp(&last_eb_nbr_addr,... |
pier: improves replay printfs | @@ -1656,10 +1656,14 @@ _pier_boot_ready(u3_pier* pir_u)
//
_pier_work_boot(pir_u, c3n);
}
+ else if ( (1ULL + god_u->dun_d) == log_u->com_d ) {
+ fprintf(stderr, "pier: replaying event %" PRIu64 "\r\n",
+ log_u->com_d);
+ }
else {
fprintf(stderr, "pier: replaying events %" PRIu64
" through %" PRIu64 "\r\n",
- god_u->d... |
extra-build-config.md: Document DISABLE_VC4GRAPHICS | @@ -31,6 +31,10 @@ Accommodate the values above to your own needs (ex: ext3 / ext4).
See: <https://www.raspberrypi.org/documentation/configuration/config-txt/memory.md>
+## VC4
+
+By default, each machine uses `vc4` for graphics. This will in turn sets mesa as provider for `gl` libraries. `DISABLE_VC4GRAPHICS` can be s... |
testcase/task_manager: Reverse the wrong param for task_manager_register_task TC
The 4th param of task_manager_register_task should be entry point for task. | @@ -848,7 +848,7 @@ static void utc_task_manager_register_task_n(void)
static void utc_task_manager_register_task_p(void)
{
- tm_not_builtin_handle = task_manager_register_task("not_builtin", 100, 1024, 0 , NULL, TM_APP_PERMISSION_DEDICATE, TM_RESPONSE_WAIT_INF);
+ tm_not_builtin_handle = task_manager_register_task("no... |
engine: retrieve output instance context before it gets invalidated | @@ -102,6 +102,7 @@ static inline int flb_engine_manager(flb_pipefd_t fd, struct flb_config *config)
struct flb_task *task;
struct flb_task_retry *retry;
struct flb_output_thread *out_th;
+ struct flb_output_instance *ins;
bytes = flb_pipe_r(fd, &val, sizeof(val));
if (bytes == -1) {
@@ -154,6 +155,7 @@ static inline i... |
Don't send a warning alert in TLSv1.3
TLSv1.3 ignores the alert level, so we should suppress sending of
warning only alerts.
Fixes | @@ -984,6 +984,8 @@ static int final_server_name(SSL *s, unsigned int context, int sent)
return 0;
case SSL_TLSEXT_ERR_ALERT_WARNING:
+ /* TLSv1.3 doesn't have warning alerts so we suppress this */
+ if (!SSL_IS_TLS13(s))
ssl3_send_alert(s, SSL3_AL_WARNING, altmp);
return 1;
|
DM Cx: code cleanup for getting cpu state cnt
Then we could use a common interface to get cx count.
Acked-by: Kevin Tian | #include "dm.h"
#include "acpi.h"
-static uint8_t get_vcpu_px_cnt(struct vmctx *ctx, int vcpu_id)
+static inline int get_vcpu_pm_info(struct vmctx *ctx, int vcpu_id,
+ uint64_t pm_type, uint64_t *pm_info)
{
- uint64_t pm_ioctl_buf = 0;
- enum pm_cmd_type cmd_type = PMCMD_GET_PX_CNT;
-
- pm_ioctl_buf = ((ctx->vmid << PM... |
puff: re-enable TCPMv2
TEST=Relevant bugs are fixed
BRANCH=None
Cq-Depend: chromium:2039504, chromium:2036592 | #undef CONFIG_CHARGE_MANAGER_SAFE_MODE
/* USB type C */
-/* TODO: (b/147255678) Use TCPMv2 */
-#if 0
-#define CONFIG_USB_SM_FRAMEWORK
-#endif
-
+#define CONFIG_USB_SM_FRAMEWORK /* Use TCPMv2 */
#undef CONFIG_USB_CHARGER
#define CONFIG_USB_POWER_DELIVERY
#define CONFIG_USB_PID 0x5040
|
scheduler/job.c: use gziptoany for raw files (not just raw printers) | @@ -501,6 +501,7 @@ cupsdContinueJob(cupsd_job_t *job) /* I - Job */
int backroot; /* Run backend as root? */
int pid; /* Process ID of new filter process */
int banner_page; /* 1 if banner page, 0 otherwise */
+ int raw_file; /* 1 if file type is vnd.cups-raw */
int filterfds[2][2] = { { -1, -1 }, { -1, -1 } };
/* Pip... |
[numerics] cancel output of problems for gfc3d wr solvers | #include "gfc3d_compute_error.h"
#include "SolverOptions.h" // for SICONOS_DPARAM_TOL
-#define OUTPUT_DEBUG */
+/* #define OUTPUT_DEBUG *\/ */
+
#include "debug.h" // for DEBUG_EXPR, DEBUG_P...
@@ -493,6 +494,8 @@ int freeLocalProblem(FrictionContactProblem* localproblem)
void gfc3d_nsgs_wr(GlobalFrictionContactProblem... |
readthedocs: download doxygen from sourceforge
The Doxygen website has been DDoSed and taken
offline by the ISP. Download the binaries from
sourceforge instead for now. | @@ -10,7 +10,7 @@ build:
python: "3.8"
jobs:
post_install:
- - wget -nv https://www.doxygen.nl/files/doxygen-1.9.4.linux.bin.tar.gz
+ - wget -nv https://sourceforge.net/projects/doxygen/files/rel-1.9.4/doxygen-1.9.4.linux.bin.tar.gz/download -O doxygen-1.9.4.linux.bin.tar.gz
- tar zxf doxygen-1.9.4.linux.bin.tar.gz dox... |
endecode_test.c: Fix build errors on OPENSSL_NO_{DH,DSA,EC,EC2M} | @@ -40,6 +40,8 @@ static OSSL_PARAM *ec_explicit_tri_params_explicit = NULL;
# endif
#endif
+#if !defined(OPENSSL_NO_DH) || !defined(OPENSSL_NO_DSA) \
+ || !defined(OPENSSL_NO_EC)
static EVP_PKEY *make_template(const char *type, OSSL_PARAM *genparams)
{
EVP_PKEY *pkey = NULL;
@@ -69,6 +71,7 @@ static EVP_PKEY *make_tem... |
skip rpath check | @@ -52,6 +52,7 @@ Development files for Singularity
%install
%{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
rm -f $RPM_BUILD_ROOT/%{_libdir}/lib*.la
+export NO_BRP_CHECK_RPATH=true
%clean
|
makefile: force upgrade generator installation | @@ -110,7 +110,7 @@ deps-haskell: verify-prereq-haskell
deps-generator: verify-prereq-generator
$(call announce-begin,"Installing generator dependencies")
virtualenv -p python2 $(SWIFTNAV_ROOT)/.venv
- $(PYTHON) -m pip install $(SWIFTNAV_ROOT)/generator/
+ $(PYTHON) -m pip install -U $(SWIFTNAV_ROOT)/generator/
$(call ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.