message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Update release notes to explicitly select release commit when tagging. | @@ -99,7 +99,7 @@ v2.14: Bug Fix and Improvements
- Add user guides for CentOS/RHEL 6/7.
```
-The first line will be the release title and the rest will be the body. The tag field should be updated with the current version so a tag is created from master.
+The first line will be the release title and the rest will be t... |
Size of structure ware updated. | @@ -29,12 +29,12 @@ typedef struct WL_Config_s {
uint32_t wr_size; /*!< Minimum amount of bytes per one block at write operation: 1...*/
uint32_t version; /*!< A version of current implementatioon. To erase and reallocate complete memory this ID must be different from id before.*/
size_t temp_buff_size; /*!< Size of te... |
feat(fabric test):
add fabric test case "TxQueryFail_Args_NULL" | @@ -611,6 +611,35 @@ START_TEST(test_002Transaction_0024TxQueryFail_Txptr_NULL)
}
END_TEST
+START_TEST(test_002Transaction_0025TxQueryFail_Args_NULL)
+{
+ BSINT32 rtnVal;
+ BoatHlfabricTx tx_ptr;
+ BoatHlfabricWallet *g_fabric_wallet_ptr = NULL;
+ BoatHlfabricWalletConfig wallet_config = get_fabric_wallet_settings();
+... |
Fixing double init value | @@ -66,7 +66,7 @@ void arm_dot_prod_f64(
float64_t * result)
{
uint32_t blkCnt; /* Loop counter */
- float64_t sum = 0.0f; /* Temporary return variable */
+ float64_t sum = 0.; /* Temporary return variable */
/* Initialize blkCnt with number of samples */
blkCnt = blockSize;
|
Fixed lis2dh12 to work on scales above 2G.
Fixed lis2dh12_get_full_scale to actually report the correct scale, by not shifting it.
Value returned by lis2dh12_get_full_scale is utilized for calculation in poll_read and stream_read. | @@ -757,7 +757,7 @@ lis2dh12_get_full_scale(struct sensor_itf *itf, uint8_t *fs)
goto err;
}
- *fs = (reg & LIS2DH12_CTRL_REG4_FS) >> 4;
+ *fs = (reg & LIS2DH12_CTRL_REG4_FS);
return 0;
err:
|
fix crash in VmaAllocator_T::AllocateDedicatedMemory | @@ -15493,9 +15493,9 @@ VkResult VmaAllocator_T::AllocateDedicatedMemory(
allocInfo.allocationSize = size;
#if VMA_DEDICATED_ALLOCATION || VMA_VULKAN_VERSION >= 1001000
+ VkMemoryDedicatedAllocateInfoKHR dedicatedAllocInfo = { VK_STRUCTURE_TYPE_MEMORY_DEDICATED_ALLOCATE_INFO_KHR };
if(!canAliasMemory)
{
- VkMemoryDedic... |
travis: update docker image version
add genromfs
add kconfig-frontends | @@ -8,6 +8,9 @@ services:
- docker
env:
+ global:
+ - TIZENRT_IMG_VERSION=1.4.6
+ matrix:
- BUILD_CONFIG=artik055s/audio
- BUILD_CONFIG=artik053/grpc
- BUILD_CONFIG=artik053/st_things
@@ -17,11 +20,11 @@ env:
- BUILD_CONFIG=qemu/tc_64k
before_install:
-- docker pull tizenrt/tizenrt:1.4.4
+- docker pull tizenrt/tizenrt:... |
Add support for ejecting build (no button yet) | @@ -208,7 +208,8 @@ export const consoleClear = () => {
export const runBuild = ({
buildType = "web",
- exportBuild = false
+ exportBuild = false,
+ ejectBuild = false
} = {}) => async (dispatch, getState) => {
dispatch({ type: types.CMD_START });
dispatch({ type: types.SET_SECTION, section: "build" });
@@ -242,6 +243,... |
Fix missing geometry update | @@ -2715,6 +2715,7 @@ int main(int argc, char** argv) {
new_field_h, new_field_w, ged_state.tick_num,
&ged_state.scratch_field, &ged_state.undo_hist,
&ged_state.ged_cursor);
+ ged_update_internal_geometry(&ged_state);
ged_state.needs_remarking = true;
ged_state.is_draw_dirty = true;
ged_make_cursor_visible(&ged_state);... |
README: removed italic typeface. | @@ -326,14 +326,14 @@ To configure Unit modules for other versions of PHP (including versions you
have customized), repeat the following command for each one:
```
-# ./configure php --module=<_prefix_> --config=<_script-name_> --lib-path=<_pathname_>
+# ./configure php --module=<prefix> --config=<script-name> --lib-pat... |
docs/library: Update pyb.UART to correct pyboard UART availability.
On original pyboard UART 5 isn't available; added pyboard D availability. | @@ -48,13 +48,16 @@ Constructors
.. class:: pyb.UART(bus, ...)
- Construct a UART object on the given bus. ``bus`` can be 1-6, or 'XA', 'XB', 'YA', or 'YB'.
+ Construct a UART object on the given bus.
+ For Pyboard ``bus`` can be 1-4, 6, 'XA', 'XB', 'YA', or 'YB'.
+ For Pyboard Lite ``bus`` can be 1, 2, 6, 'XB', or 'YA... |
Add git ID to amalgamated headers. | # tracker at <https://github.com/nemequ/simde/issues> or directly to
# the author so they can be merged back into the original version.
-import sys, re, os
+import sys, re, os, subprocess
amalgamate_include = re.compile('^\\s*#\\s*include\\s+\\"([^)]+)\\"\\s$')
already_included = []
@@ -50,5 +50,9 @@ if len(sys.argv) !... |
Update debug flags, so that -Og (optimalization for debugging) is used | @@ -147,8 +147,8 @@ endif()
# Set build type specific flags
# Debug
-set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG ${CMAKE_C_FLAGS}")
-set(CMAKE_CXX_FLAGS_DEBUG "-g -DDEBUG ${CMAKE_CXX_FLAGS}")
+set(CMAKE_C_FLAGS_DEBUG "-g -DDEBUG -Og ${CMAKE_C_FLAGS}")
+set(CMAKE_CXX_FLAGS_DEBUG "-g -DDEBUG -Og ${CMAKE_CXX_FLAGS}")
set(CMAKE_DE... |
HW: Fixing typo in dma.vhd | @@ -2355,7 +2355,7 @@ BEGIN
IF read_ctrl_fsm_q = ST_IDLE THEN
sd_c_q.rd_req <= sd_c_i.rd_req;
- rd_ctx_q <= sd_c_i.wr_ctx;
+ rd_ctx_q <= sd_c_i.rd_ctx;
ELSE
sd_c_q.rd_req <= '0';
END IF;
|
test: Print proper mambo command path | @@ -9,7 +9,7 @@ if [ -z "$P9MAMBO_BINARY" ]; then
fi
if [ ! -x "$P9MAMBO_PATH/$P9MAMBO_BINARY" ]; then
- echo "Could not find executable P9MAMBO_BINARY ($P9MAMBO_PATH/$MAMBO_BINARY). Skipping sreset_world test";
+ echo "Could not find executable P9MAMBO_BINARY ($P9MAMBO_PATH/$P9MAMBO_BINARY). Skipping sreset_world test... |
chat-cli: remove r/w specifiers for invite and banish
No longer supported. As such, we also don't include that in the
permission path anymore. | :: create chat
[%create nu-security path (unit glyph) (unit ?)]
[%delete path] :: delete chat
- [%invite ?(%r %w %rw) path (set ship)] :: allow
- [%banish ?(%r %w %rw) path (set ship)] :: disallow
+ [%invite path (set ship)] :: allow
+ [%banish path (set ship)] :: disallow
::
[%join target (unit glyph) (unit ?)] :: joi... |
Use LSAME for character comparison (Reference-LAPACK PR755) | * ..
* .. External Functions ..
INTEGER ILAENV
- EXTERNAL ILAENV
+ LOGICAL LSAME
+ EXTERNAL ILAENV, LSAME
* ..
* .. Executable Statements ..
*
*
* Will add the VECT OPTION HERE next release
VECT = OPTS(1:1)
- IF( VECT.EQ.'N' ) THEN
+ IF( LSAME( VECT, 'N' ) ) THEN
LHOUS = MAX( 1, 4*NI )
ELSE
* This is not correct, it ne... |
Remove extraneous test macro. | @@ -393,8 +393,6 @@ Get the remote lock type required for the command
LockType
cfgLockRemoteType(ConfigCommand commandId)
{
- FUNCTION_TEST_VOID();
-
FUNCTION_TEST_BEGIN();
FUNCTION_TEST_PARAM(ENUM, commandId);
FUNCTION_TEST_END();
|
[drivers][hwtimer] Fix compilation warning | @@ -40,7 +40,7 @@ rt_inline rt_uint32_t timeout_calc(rt_hwtimer_t *timer, rt_hwtimerval_t *tv)
if (timeout <= overflow)
{
- counter = timeout*timer->freq;
+ counter = (rt_uint32_t)(timeout * timer->freq);
devi = tv_sec - (counter / (float)timer->freq) * i;
/* Minimum calculation error */
if (devi > devi_min)
@@ -65,7 +... |
t/lru-maintainer.t: check for WARM item earlier
item might get pushed back out as we keep doing work. also use the move
counter instead of static number, in case of timing goofups pushing the warm
item back out. | @@ -68,6 +68,8 @@ for (my $key = 0; $key < 100; $key++) {
}
last;
}
+ $stats = mem_stats($sock, "items");
+ isnt($stats->{"items:31:moves_to_warm"}, 0, "our canary moved to warm");
}
print $sock "set key$key 0 0 66560\r\n$value\r\n";
is(scalar <$sock>, "STORED\r\n", "stored key$key");
@@ -76,8 +78,6 @@ for (my $key = 0... |
add some missing openmpt keys
we really need switchable keymaps... | @@ -241,11 +241,11 @@ export const SongTracker = ({
if (selectedCell % 4 === 0) {
if (e.ctrlKey) {
if (e.shiftKey) {
- if (e.key === "Q") return transposeNoteCell(12);
- if (e.key === "A") return transposeNoteCell(-12);
+ if (e.key === "Q" || e.key === "+") return transposeNoteCell(12);
+ if (e.key === "A" || e.key ===... |
Replay external velocities | @@ -256,6 +256,20 @@ static int parse_and_run_externalpose(const char *line, SurvivePlaybackData *dri
return 0;
}
+static int parse_and_run_externalvelocity(const char *line, SurvivePlaybackData *driver) {
+ char name[128] = {0};
+ SurviveVelocity pose;
+
+ if (driver->outputExternalPose) {
+ int rr = sscanf(line, "%s ... |
netkvm: allow NDIS_OFFLOAD_PARAMETERS_REVISION > 3
In case of NDIS 6.50+ the revision of the structure is 4. | @@ -1076,7 +1076,7 @@ NDIS_STATUS OnSetRSCParameters(PPARANDIS_ADAPTER pContext, PNDIS_OFFLOAD_PARAMET
{
#if PARANDIS_SUPPORT_RSC
- if(op->Header.Revision != NDIS_OFFLOAD_PARAMETERS_REVISION_3)
+ if(op->Header.Revision < NDIS_OFFLOAD_PARAMETERS_REVISION_3)
return NDIS_STATUS_SUCCESS;
if((op->RscIPv4 != NDIS_OFFLOAD_PAR... |
fix cursor go out of screen | @@ -27,13 +27,15 @@ class Images:
def checkOverdisplay(self, pos1, pos2, limit):
start = 0
end = pos2 - pos1
+
+ if pos1 >= limit:
+ return 0, 0, 0, 0
+ if pos2 <= 0:
+ return 0, 0, 0, 0
+
if pos1 < 0:
start = -pos1
pos1 = 0
- if pos1 >= limit: # werid but still
- pos1 -= pos2 - limit
- pos2 = limit
- end = pos2 - pos1... |
Defensive avoid NaN | @@ -160,7 +160,7 @@ static void compute_ideal_colors_and_weights_1_comp(
highvalue = astc::max(value, highvalue);
}
- if (highvalue < lowvalue)
+ if (highvalue <= lowvalue)
{
lowvalue = 0.0f;
highvalue = 1e-7f;
@@ -292,7 +292,7 @@ static void compute_ideal_colors_and_weights_2_comp(
// It is possible for a uniform-colo... |
Makefile: use __NO_STRING_INLINES for libs under Linux | @@ -46,7 +46,7 @@ ifeq ($(OS),Linux)
ARCH_LDFLAGS := -L/usr/local/include \
-lpthread -lunwind-ptrace -lunwind-generic -lbfd -lopcodes -lrt -ldl
ARCH_SRCS := $(sort $(wildcard linux/*.c))
- LIBS_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
+ LIBS_CFLAGS += -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0 -D__NO_STRING_INLINES.... |
Reduce pandoc-only Markdown syntax in README
This improves readability when viewing the README on GitHub. | @@ -54,11 +54,11 @@ Change the working directory to the given path.
Parameters:
-`directory`:
+`directory`
: Path of the directory which is to become the new working directory.
-### env {#system-env}
+### env
`env ()`
@@ -69,6 +69,7 @@ Returns:
- A table mapping environment variables names to their string value
(table)... |
out_kafka: fix flb_time_sleep() args | @@ -347,7 +347,7 @@ int produce_message(struct flb_time *tm, msgpack_object *map,
* to enqueue this message, if we exceed 10 times, we just
* issue a full retry of the data chunk.
*/
- flb_time_sleep(1000, config);
+ flb_time_sleep(1000);
rd_kafka_poll(ctx->producer, 0);
/* Issue a re-try */
|
docs: security: enable memory protection section for ESP32-C2/ESP32-C6 | @@ -75,7 +75,7 @@ Flash Encryption Best Practices
Please refer to the :doc:`DS Peripheral Guide <../api-reference/peripherals/ds>` for detailed documentation.
-.. only:: SOC_MEMPROT_SUPPORTED
+.. only:: SOC_MEMPROT_SUPPORTED or SOC_CPU_IDRAM_SPLIT_USING_PMP
Memory Protection
~~~~~~~~~~~~~~~~~
|
manifest: Use a specialized block exit that doesn't write code. | @@ -5482,6 +5482,22 @@ static void manifest_library(lily_parse_state *parser)
lily_next_token(lex);
}
+static void manifest_block_exit(lily_parse_state *parser)
+{
+ lily_block_type block_type = parser->emit->block->block_type;
+
+ if (block_type == block_file)
+ lily_raise_syn(parser->raiser, "'}' outside of a block."... |
no SLEPC_BIN dir | @@ -44,18 +44,6 @@ check_rms
fi
}
-@test "[$testname] Verify module ${PKG}_BIN is defined and exists ($LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
- BIN=${PKG}_BIN
- if [ -z ${!BIN} ];then
- flunk "${PKG}_BIN directory not defined"
- fi
-
- if [ ! -d ${!BIN} || -z "${!BIN}" ];then
- flunk "directory ${!BIN} does not exis... |
build: use isMaster function | @@ -158,7 +158,7 @@ stage("Build artifacts") {
parallel generateArtifactStages()
}
-maybeStage("Deploy Homepage", env.BRANCH_NAME=="master") {
+maybeStage("Deploy Homepage", isMaster()) {
node("frontend") {
docker.withRegistry("https://${registry}",
'docker-hub-elektra-jenkins') {
|
API: Use Markdown instead of Doxygen formatting | @@ -45,7 +45,7 @@ A C or C++ source file that wants to use Elektra should include:
#include <kdb.h>
To link an executable with the Elektra library, one way is to
-use the @c pkg-config tool:
+use the `pkg-config` tool:
$ gcc -o application `pkg-config --cflags --libs elektra` application.c
|
Error on no unzip, quieter download message | @@ -44,11 +44,24 @@ set(CMAKE_CXX_FLAGS_DEBUG_INIT "-g -Og")
set(CMAKE_EXE_LINKER_FLAGS_INIT "-specs=nosys.specs -Wl,--gc-sections,--no-wchar-size-warning")
# stdlibs
+set(STDLIB_HASHTYPE "SHA256")
set(STDLIB_PATH ${CMAKE_CURRENT_LIST_DIR}/stdlib)
set(STDLIB_URL https://get.pimoroni.com/stdlibs.zip)
-set(STDLIB_HASH "S... |
tests: internal: sp: pass dummy tag | @@ -240,7 +240,9 @@ static void test_select_keys()
out_buf = NULL;
out_size = 0;
- ret = flb_sp_test_do(sp, task, data_buf, data_size,
+ ret = flb_sp_test_do(sp, task,
+ "samples", 7,
+ data_buf, data_size,
&out_buf, &out_size);
if (ret == -1) {
flb_error("[sp test] error processing check '%s'", check->name);
|
rearrange according to alphabetical order | apartment|aparment|apartmen|apt
bangunan|bgn
+dewan
kondominium|kondo
pangsapuri|p/puri
-dewan
+residensi|residen
rumah|rmh
rumah kediaman
rumah pangsa
-residensi|residen
menara
\ No newline at end of file
|
Add pkg-config package to Vagrantfile.
Newer Ubuntu versions do not install this package by default. | @@ -75,7 +75,8 @@ Vagrant.configure(2) do |config|
#-----------------------------------------------------------------------------------------------------------------------
echo 'Install Build Tools' && date
apt-get install -y devscripts build-essential lintian git cloc txt2man debhelper libssl-dev zlib1g-dev libperl-de... |
pack: validate return value of msgpack_unpack_next() | @@ -360,7 +360,7 @@ void flb_pack_print(char *data, size_t bytes)
size_t off = 0, cnt = 0;
msgpack_unpacked_init(&result);
- while (msgpack_unpack_next(&result, data, bytes, &off)) {
+ while (msgpack_unpack_next(&result, data, bytes, &off) == MSGPACK_UNPACK_SUCCESS) {
/* Check if we are processing an internal Fluent Bi... |
Release: Add information about `kdb find` | @@ -76,7 +76,7 @@ We added even more functionality, which could not make it to the highlights:
- <<TODO>>
- <<TODO>>
- <<TODO>>
-
+- The new tool `kdb find` lists keys of the database matching a certain regular expression. *(Markus Raab)*
## New Plugins
|
testcase/kernel: Use P_PID for checking whether specific PID is our child or not
This is a testcase whether specific PID is our child or not.
A idtype should be P_PID for this test. | @@ -297,7 +297,7 @@ static void tc_sched_waitid(void)
/* Check for The TCB corresponding to this PID is not our child. */
- ret_chk = waitid(P_GID, 0, &info, WEXITED);
+ ret_chk = waitid(P_PID, 0, &info, WEXITED);
TC_ASSERT_EQ("waitid", ret_chk, ERROR);
TC_ASSERT_EQ("waitid", errno, ECHILD);
|
utility: comment out part of test
see | @@ -32,8 +32,10 @@ static void test_elektraRstrip ()
strncpy (text, "", MAX_LENGTH);
succeed_if_same_string (elektraRstrip (text, NULL), "");
+ /*
elektraRstrip (text, &last);
succeed_if_same_string (last, text);
+ */
strncpy (text, "No Trailing Whitespace", MAX_LENGTH);
succeed_if_same_string (elektraRstrip (text, NUL... |
Invite: allow dismissal of join request
Fixes urbit/landscape#782 | @@ -206,8 +206,9 @@ function InviteActions(props: {
app?: string;
uid?: string;
}) {
- const { resource, api, app, uid } = props;
+ const { status, resource, api, app, uid } = props;
const inviteAccept = useInviteAccept(resource, api, app, uid);
+ const set = useGroupState(s => s.set);
const inviteDecline = useCallback... |
build: support new FLB_HTTP_SERVER | @@ -12,6 +12,7 @@ endif()
include(GNUInstallDirs)
include(ExternalProject)
include(cmake/FindJournald.cmake)
+include(cmake/FindMonkey.cmake)
# Output paths
set(FLB_ROOT "${CMAKE_CURRENT_SOURCE_DIR}")
@@ -44,6 +45,7 @@ option(FLB_BUFFERING "Enable buffering support" No)
option(FLB_POSIX_TLS "Force POSIX thread storage"... |
s5j/mct: retrieve TCLK freq from clock driver
Instead of using hard-coded clock frequency, retrieve it from the clock
driver. | #include "chip/s5jt200_mct.h"
#include "s5j_mct.h"
+#include "s5j_clock.h"
/****************************************************************************
* Pre-processor Definitions
@@ -91,12 +92,6 @@ struct s5j_mct_priv_s {
/****************************************************************************
* Private Function... |
Tweak liveness analysis for return statements | @@ -133,6 +133,7 @@ type livenessHelper struct {
tm *t.Map
vars map[t.ID]int // Maps from local variable name to livenesses index.
loops map[a.Loop]*loopLivenesses
+ final livenesses
}
func (g *gen) findVars() error {
@@ -152,14 +153,16 @@ func (g *gen) findVars() error {
}
if f.Effect().Coroutine() {
+ h.final = make(... |
[scripts] Make tracevis work for MemPool | @@ -13,14 +13,14 @@ import progressbar
# 3 -> pc (hex with 0x prefix)
# 4 -> instruction
# 5 -> args
-LINE_REGEX = r' *(\d+) +(\d+) +([3M1S0U]) +(0x[0-9a-f]+) ([.\w]+) +(.+)#'
+LINE_REGEX = r' *(\d+) +(\d+) +([3M1S0U]?) *(0x[0-9a-f]+) ([.\w]+) +(.+)#'
# regex matches a line of instruction retired by the accelerator
# 2... |
Improve ownship detection for EFBs that care | @@ -295,21 +295,24 @@ func makeOwnshipReport() bool {
// See p.16.
msg[0] = 0x0A // Message type "Ownship".
- // Ownship Target Identify (see 3.5.1.2 of GDL-90 Specifications)
- // First half of byte is 0 for 'No Traffic Alert'
- // Second half of byte is 0 for 'ADS-B with ICAO'
- msg[1] = 0x00 // Alert status, address... |
Cirrus: Install ronn on macOS | @@ -50,10 +50,13 @@ mac_task:
- | # Install Ruby
brew install ruby@2.5
export PATH="/usr/local/opt/ruby@2.5/bin:$PATH"
- - > # Install Ruby gems
- gem install test-unit --user-install --no-document
+ - | # Install Ruby gems
+ gem install ronn test-unit --user-install --no-document
script:
+ - |
+ export PATH="/usr/loca... |
removes the upstream/downstream read_cb buffer copies | @@ -1161,11 +1161,7 @@ _proxy_sock_read_downstream_cb(uv_stream_t* don_u,
_proxy_conn_close(con_u);
}
else {
- uv_buf_t fub_u;
-
- fub_u.len = siz_w;
- fub_u.base = c3_malloc(siz_w);
- memcpy(fub_u.base, buf_u->base, siz_w);
+ uv_buf_t fub_u = uv_buf_init(buf_u->base, siz_w);
u3_proxy_writ* ruq_u = _proxy_writ_new(con_... |
OpenCanopy: Fix re-entrance initialisation | @@ -1760,6 +1760,8 @@ BootPickerViewInitialize (
mBootPicker.Hdr.Obj.OffsetX = mBootPickerContainer.Obj.Width / 2;
mBootPicker.Hdr.Obj.OffsetY = 0;
+ mBootPicker.SelectedEntry = NULL;
+
// TODO: animations should be tied to UI objects, not global
// Each object has its own list of animations.
// How to animate addition... |
Fix installation of development version project-generator | @@ -44,6 +44,7 @@ jobs:
- name: Install Python module
run: |
pip3 install --user -r requirements.txt
+ pip3 uninstall --user -y project-generator
pip3 install --user git+https://github.com/mbrossard/project_generator.git@development
- name: Install Embedded Arm Toolchain
@@ -63,7 +64,7 @@ jobs:
- name: Compile
run: |
-... |
drivebase: add state getter | // SPDX-License-Identifier: MIT
// Copyright (c) 2019 Laurens Valk
+#include <contiki.h>
+
#include <pbio/error.h>
#include <pbio/drivebase.h>
#include <pbio/math.h>
static pbio_drivebase_t __db;
+// Get the physical state of a single motor
+static pbio_error_t drivebase_get_state(pbio_drivebase_t *db,
+ int32_t *time_... |
add timer lock | @@ -921,6 +921,7 @@ static void rtthread_timer_wrapper(void *timerobj)
#define TIMER_ID_MAX 50
static struct timer_obj *_g_timerid[TIMER_ID_MAX];
static int timerid_idx = 0;
+RT_DEFINE_SPINLOCK(_timer_id_lock);
void timer_id_init(void)
{
@@ -969,14 +970,14 @@ int timer_id_put(int id)
_g_timerid[id] = NULL;
return 0;
}
... |
Fix json_fuzzer for QUIRK_ALLOW_BACKSLASH_X rename | @@ -230,7 +230,8 @@ void set_quirks(wuffs_json__decoder* dec, uint32_t hash_12_bits) {
WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_QUESTION_MARK,
WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_SINGLE_QUOTE,
WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_V,
- WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_X,
+ WUFFS_JSON__QUIRK_ALLOW_BACKSLASH_X_AS_BYTES,
+ WUFFS_JSON... |
Removed duplicated gnu9
gnu9 is defined from L.79 to L.82. | @@ -79,15 +79,11 @@ BuildRequires: ohpc-buildroot
%if "%{compiler_family}" == "gnu9"
BuildRequires: gnu9-compilers%{PROJ_DELIM} >= 9.2.0
Requires: gnu9-compilers%{PROJ_DELIM} >= 9.2.0
-%endif
+%endif # gnu9
%if "%{compiler_family}" == "gnu8"
BuildRequires: gnu8-compilers%{PROJ_DELIM} >= 8.3.0
Requires: gnu8-compilers%{... |
Build: Improve detection of OpenSSL on macOS | @@ -179,7 +179,6 @@ before_install:
brew install libev
brew install lua
brew install openssl
- export PKG_CONFIG_PATH=/usr/local/opt/openssl/lib/pkgconfig
brew install python@2; brew link --overwrite python@2
brew install python || brew upgrade python
brew install qt
|
chip/mec1322/lfw/ec_lfw.c: Format with clang-format
BRANCH=none
TEST=none | @@ -42,7 +42,6 @@ const struct spi_device_t spi_devices[] = {
};
const unsigned int spi_devices_used = ARRAY_SIZE(spi_devices);
-
void timer_init()
{
uint32_t val = 0;
@@ -71,17 +70,13 @@ void timer_init()
/* Start counting in timer 0 */
MEC1322_TMR32_CTL(0) |= BIT(5);
-
}
-static int spi_flash_readloc(uint8_t *buf_usr... |
Update driver_vive.c
Squelch warning message after ten occurrences | @@ -2072,10 +2072,13 @@ static int parse_and_process_raw1_lightcap(SurviveObject *obj, uint16_t time, ui
// second LH to find out...
if ((data & 0x0Au) != 0) {
+ static int unknown_count = 0;
+ if(unknown_count++ < 10) {
// Currently I've only ever seen 0x1 if the 1 bit is set; I doubt they left 3 bits on the table
// ... |
Export PhInitializeTreeNewColumnMenuEx | @@ -286,17 +286,18 @@ NTAPI
PhInitializeTreeNewColumnMenu(
_Inout_ PPH_TN_COLUMN_MENU_DATA Data
);
-// end_phapppub
#define PH_TN_COLUMN_MENU_NO_VISIBILITY 0x1
#define PH_TN_COLUMN_MENU_SHOW_RESET_SORT 0x2
-VOID PhInitializeTreeNewColumnMenuEx(
+PHAPPAPI
+VOID
+NTAPI
+PhInitializeTreeNewColumnMenuEx(
_Inout_ PPH_TN_COL... |
dev-tools/hwloc: update download url | @@ -19,7 +19,7 @@ Summary: Portable Hardware Locality
License: BSD-3-Clause
Group: %{PROJ_NAME}/dev-tools
Url: http://www.open-mpi.org/projects/hwloc/
-Source0: https://download.open-mpi.org/release/hwloc/v2.0/%{pname}-%{version}.tar.bz2
+Source0: https://download.open-mpi.org/release/hwloc/v2.1/%{pname}-%{version}.tar... |
Remove old kvsets from cursor's iter vector. Don't assume all kvsets were picked when the cursor was created. | @@ -2173,6 +2173,7 @@ cn_tree_capped_cursor_update(struct pscan *cur, struct cn_tree *tree)
bool allocated;
int i;
u64 dgen = 0;
+ u64 node_oldest_dgen;
struct perfc_set * pc = cn_pc_capped_get(tree->cn);
node = tree->ct_root;
@@ -2185,8 +2186,6 @@ cn_tree_capped_cursor_update(struct pscan *cur, struct cn_tree *tree)
c... |
Do not remove PYLIB_SRC_EXT during make clean/distclean
Commit removed lockfile from
mainUtils, but did not remove a reference to its source directory in the
make clean/distclean target. As a result, because LOCKFILE_DIR is no
longer defined, the make clean/distclean target removes the
PYLIB_SRC_EXT directory. | @@ -193,7 +193,6 @@ installcheck: installcheck-bash
$(MAKE) -C gpload_test $@
clean distclean:
- rm -rf $(PYLIB_SRC_EXT)/$(LOCKFILE_DIR)
rm -rf $(PYLIB_SRC_EXT)/$(PYLINT_DIR)
rm -rf $(PYLIB_SRC_EXT)/$(LOGILAB_COMMON_DIR)
rm -rf $(PYLIB_SRC_EXT)/$(LOGILAB_ASTNG_DIR)
|
Add option to use _PROCESS or buffer option input for win32 driver | @@ -129,10 +129,12 @@ uart_thread(void* param) {
esp_sys_sem_t sem;
FILE* file = NULL;
- while (com_port == NULL);
-
esp_sys_sem_create(&sem, 0); /* Create semaphore for delay functions */
+ while (com_port == NULL) {
+ esp_sys_sem_wait(&sem, 1); /* Add some delay with yield */
+ }
+
fopen_s(&file, "log_file.txt", "w+"... |
Fix boost checks when a versioned python is not found | @@ -78,8 +78,12 @@ find_package(Boost OPTIONAL_COMPONENTS
python3
${PYILMBASE_BOOST_PY3_COMPONENT})
set(_pyilmbase_have_perver_boost)
+if(PYILMBASE_BOOST_PY2_COMPONENT)
string(TOUPPER ${PYILMBASE_BOOST_PY2_COMPONENT} PYILMBASE_PY2_UPPER)
+endif()
+if(PYILMBASE_BOOST_PY3_COMPONENT)
string(TOUPPER ${PYILMBASE_BOOST_PY3_C... |
Remove test_tool from ya.conf.json | "zipatcher": { "description": "Apply zipatch from file or Arcanum pull request" },
"ymake": { "description": "Run ymake", "visible": false },
"ymake_dev": { "description": "Run ymake dev version", "visible": false },
- "test_tool": { "description": "Test tools for tests", "visible": false },
"maven_import_sandbox_uploa... |
build: fix unicode errors on Windows 10 | @@ -46,8 +46,8 @@ def exec_process(cmdline, silent=True, input=None, **kwargs):
stdout, stderr = sub.communicate(input=input)
returncode = sub.returncode
if PY3:
- stderr = stderr.decode(sys.stderr.encoding)
- stdout = stdout.decode(sys.stdout.encoding)
+ stderr = stderr.decode(sys.stderr.encoding, errors='replace')
+ ... |
driver/accel_lis2dw12.h: Format with clang-format
BRANCH=none
TEST=none | @@ -193,16 +193,13 @@ enum lis2dw12_fs {
(2 << (31 - __builtin_clz(_gain / LIS2DW12_FS_2G_GAIN)))
/* Gain value from selected Full Scale. */
-#define LIS2DW12_FS_GAIN(_fs) \
- (LIS2DW12_FS_2G_GAIN << (30 - __builtin_clz(_fs)))
+#define LIS2DW12_FS_GAIN(_fs) (LIS2DW12_FS_2G_GAIN << (30 - __builtin_clz(_fs)))
/* Reg valu... |
Run make check inside mock build | @@ -104,6 +104,9 @@ make
%{__install} -D -p -m 0644 conf/twampd.limits %{buildroot}%{_sysconfdir}/twamp-server/twamp-server.limits
%{__install} -D -p -m 0644 conf/twampd.limits %{buildroot}%{_sysconfdir}/twamp-server/twamp-server.limits.default
+%check
+make check
+
%clean
rm -rf $RPM_BUILD_ROOT
|
Tweak to the tile fetching order | @@ -287,7 +287,7 @@ namespace carto {
}
}
for (std::pair<MapTile, int> childTileCount : childTileCountMap) {
- if (childTileCount.second >= 2) {
+ if (childTileCount.second > 1) {
long long tileId = getTileId(childTileCount.first);
if (!prefetchTile(tileId, false)) {
fetchTileList.push_back({ childTileCount.first, fals... |
chip/it83xx/peci.c: Format with clang-format
BRANCH=none
TEST=none | @@ -23,10 +23,8 @@ enum peci_status {
PECI_STATUS_BUSERR = 0x40,
PECI_STATUS_RCV_ERRCODE = 0x80,
PECI_STATUS_ERR_NEED_RST = (PECI_STATUS_BUSERR | PECI_STATUS_EXTERR),
- PECI_STATUS_ANY_ERR = (PECI_STATUS_RCV_ERRCODE |
- PECI_STATUS_BUSERR |
- PECI_STATUS_EXTERR |
- PECI_STATUS_WR_FCS_ERR |
+ PECI_STATUS_ANY_ERR = (PECI... |
Tests: don't exceed 79 characters. | @@ -121,8 +121,9 @@ class TestUnitControl(TestUnit):
data = data.encode()
with self._control_sock() as sock:
- req = ('PUT ' + path + (' HTTP/1.1\nHost: localhost\n'
- 'Content-Length: ') + str(len(data)) + '\r\n\r\n').encode() + data
+ req = ('PUT ' + path + ' HTTP/1.1\nHost: localhost\n'
+ + 'Content-Length: ' + str(... |
[fix] Couldn't compile *.s src files | @@ -55,6 +55,20 @@ $(if $(strip $(LOCALS)),$(eval $(LOCALS): $(S_SRC)
@$(CROSS_COMPILE)gcc $$(AFLAGS) -c $$< -o $$@))
endef
+define add_s_file
+$(eval S_SRC := $(1:$(BSP_ROOT)/%=%)) \
+$(eval S_SRC := $(S_SRC:$(RTT_ROOT)/%=%)) \
+$(eval SOBJ := $(1:%.s=%.o)) \
+$(eval SOBJ := $(SOBJ:$(BSP_ROOT)/%=$(BSP_BUILD_DIR)/%)) \... |
Configurations/windows-makefile.tmpl: HTMLDOCS are files, not directories
Remove them using "del", not "rmdir"
Fixes | ##
## {- join("\n## ", @autowarntext) -}
{-
+ use File::Basename;
+
our $sover_dirname = platform->shlib_version_as_filename();
my $build_scheme = $target{build_scheme};
@@ -111,10 +113,22 @@ MISC_SCRIPTS={-
&& $unified_info{attributes}->{scripts}->{$_}->{misc} }
@{$unified_info{scripts}})
-}
-HTMLDOCS1={- join(" ", @{... |
Fix typo in mbedtls_pk_can_do_ext() code documentation | @@ -288,7 +288,7 @@ int mbedtls_pk_can_do_ext( const mbedtls_pk_context *ctx, psa_algorithm_t alg )
psa_reset_key_attributes( &attributes );
/*
- * Common case: the key alg & alg2 only allows alg.
+ * Common case: the key alg or alg2 only allows alg.
* This will match PSA_ALG_RSA_PKCS1V15_CRYPT & PSA_ALG_IS_ECDH
* dire... |
memory.c made posix compliant | @@ -43,18 +43,18 @@ int xdag_free_all(void)
#include <pthread.h>
#include <sys/mman.h>
#include <errno.h>
+#include <limits.h>
#define MEM_PORTION ((size_t)1 << 25)
#define TMPFILE_TEMPLATE "xdag-tmp-XXXXXX"
#define TMPFILE_TEMPLATE_LEN 15
-#define TMPFILE_PATH_LEN 1024
static int g_fd = -1;
static size_t g_pos = 0, g_... |
[docs] update env document
append some information about menuconfig -s | Binary files a/documentation/env/figures/menuconfig_s_auto_update.png and b/documentation/env/figures/menuconfig_s_auto_update.png differ
|
Add docs and function specs to Console.ex | defmodule Console do
@compile {:no_warn_undefined, [:console]}
@compile {:no_warn_undefined, [AVMPort]}
+ @moduledoc """
+ Functions for writing to the console.
+ """
+ @doc """
+ Print a string to the console.
+ This is the preferred method for writing a string to the console
+ when a micro controller (i.e. ESP32). Th... |
Make clean before debsource | @@ -681,7 +681,7 @@ update_dch_version: VERSION debian/changelog
@perl -0777 -pi -e 's/(\().*?(\))/`echo -n "("; echo -n $(VERSION)-$(DEBIAN_RELEASE); echo -n ")"`/e' debian/changelog
.PHONY: preparedeb
-preparedeb:
+preparedeb: clean
@quilt pop -a || true
( cd ..; tar czf ${PKG_NAME}_${VERSION}.orig.tar.gz --exclude-v... |
u3: handle partial writes in snapshot system | @@ -353,10 +353,17 @@ _ce_image_open(u3e_image* img_u)
static void
_ce_patch_write_control(u3_ce_patch* pat_u)
{
+ ssize_t ret_i;
c3_w len_w = sizeof(u3e_control) +
(pat_u->con_u->pgs_w * sizeof(u3e_line));
- if ( len_w != write(pat_u->ctl_i, pat_u->con_u, len_w) ) {
+ if ( len_w != (ret_i = write(pat_u->ctl_i, pat_u->... |
Fix problem with offset in wpa_receive_from not being updated correctly
In cases where a large amount of data is to be transferred over a non-UDP socket, the offset would not be updated correctly.
This patch makes sure that the offset is always updated according to the amount read. | @@ -564,27 +564,28 @@ int wpa_ctrl_recvfrom(int sock, char *buf, size_t len
ssize_t amount = 0;
size_t recv_len;
char *pos;
- int res;
+
#ifdef CONFIG_CTRL_IFACE_UDP
UNUSED(flags);
#endif
- while ((amount >= 0) && ((amount + offset) < CTRL_HEADER_SIZE)) {
+ while ((offset += amount) < CTRL_HEADER_SIZE) {
#ifdef CONFIG_... |
Fix regression: Ensure that all samples are tested via ctest
Pass BUILD_ENCLAVES option to test-samples.cmake | @@ -86,7 +86,8 @@ if (WIN32)
COMMAND
${CMAKE_COMMAND} -DHAS_QUOTE_PROVIDER=${HAS_QUOTE_PROVIDER}
-DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR}
- -DBUILD_DIR=${PROJECT_BINARY_DIR} -DPREFIX_DIR=${CMAKE_INSTALL_PREFIX}
+ -DBUILD_ENCLAVES=${BUILD_ENCLAVES} -DBUILD_DIR=${PROJECT_BINARY_DIR}
+ -DPREFIX_DIR=${CMAKE_INSTALL_PREFIX}... |
tls: mbedtls: retry read/write
Refer to document we should retry read/write
if one of below errors occurred.
MBEDTLS_ERR_SSL_WANT_READ
MBEDTLS_ERR_SSL_WANT_WRITE
MBEDTLS_ERR_SSL_ASYNC_IN_PROGRESS
MBEDTLS_ERR_SSL_CRYPTO_IN_PROGRESS | @@ -328,9 +328,14 @@ static int tls_net_read(struct flb_upstream_conn *u_conn,
struct tls_session *session = (struct tls_session *) u_conn->tls_session;
ret = mbedtls_ssl_read(&session->ssl, buf, len);
- if (ret == MBEDTLS_ERR_SSL_WANT_READ) {
+ if (ret == MBEDTLS_ERR_SSL_WANT_READ ||
+ ret == MBEDTLS_ERR_SSL_ASYNC_IN_... |
Configure MSVS to build sources in different directories.
To avoid name conflicts with image.cpp which is in two places. | <WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
+ <ObjectFileName>$(IntDir)\_\_\%(RelativeDir)</ObjectFileName>
</ClCompile>
<Link>
<TargetMachine>MachineX86</TargetMachine>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFo... |
chat-cli: address review comments | security
;~ plug
path
- (punt ;~(pfix ace resource))
+ (punt ;~(pfix ace group))
(punt ;~(pfix ace glyph))
(punt ;~(pfix ace (fuss 'y' 'n')))
==
:: ;~(pfix ace ;~(plug i.opt $(opt t.opt)))
:: --
::
- ++ resource ;~((glue net) ship sym)
+ ++ group ;~((glue net) ship sym)
++ tag |*(a=@tas (cold a (jest a))) ::TODO into s... |
driver_vive: revert check introduced vive wands are working again | @@ -1450,7 +1450,7 @@ static bool read_event(SurviveObject *w, uint16_t time, uint8_t **readPtr, uint8
SurviveContext *ctx = w->ctx;
// If we're looking at light data, return
- if ((*payloadPtr & 0xE0) == 0)
+ if (!HAS_FLAG(*payloadPtr, 0xE0))
return true;
/*
|
Update system_ARMCR5.c | @@ -154,7 +154,7 @@ void simulation_exit()
void $Sub$$main(void)
{
- //enable_caches(); // Initalize caches right away. Implmentation varies by core
+ //enable_caches(); // Initalize caches right away. Implementation varies by core
//$Super$$main(); // calls original main()
|
docs: Fix some specifications and formatting
issue | @@ -16,7 +16,7 @@ Assuming `<L610 Root>` to be the root directory of L610 OpenCPU SDK:
3. Copy `BoAT-X-Framework/vendor/platform/Fibocom-L610/L610RootDirCode/my_contract.cpp.abi.c` into `<L610 Root>`.
-3. Copy `BoAT-X-Framework/vendor/platform/Fibocom-L610/L610RootDirCode/my_contract.cpp.abi.h` into `<L610 Root>`.
+4. ... |
Fix stack buffer overflow in webserver
Add the code to check that the resulting string is null-terminated.
Add the code for url length to respect the buffer sizes. | @@ -81,13 +81,21 @@ int http_separate_header(const char *src, int *method, char *url, int *httpver)
*method = HTTP_METHOD_POST;
} else if (strncmp(src, "DELETE", 6) == 0) {
*method = HTTP_METHOD_DELETE;
+ } else {
+ HTTP_LOGE("Error: Invalid request method!!\n");
+ return HTTP_ERROR;
}
/* Get url */
url_start = divide[... |
Solve minor bug in plugin manager when trying to clear a plugin which is null. | @@ -245,6 +245,11 @@ int plugin_manager_unregister(plugin_manager manager, plugin p)
int plugin_manager_clear(plugin_manager manager, plugin p)
{
+ if (p == NULL)
+ {
+ return 1;
+ }
+
/* Remove the plugin from the plugins set */
int result = plugin_manager_unregister(manager, p);
|
update changelog for 1.3.8.1 release | # -*- mode: sh; fill-column: 120; -*-
+Version 1.3.8.1 (20 August 2019)
+
+[General]
+
+ * updated SLURM version to address CVE-2019-12838
+ * fix path during slurm account creation (https://github.com/openhpc/ohpc/issues/1017)
+ * apply patches to MPICH build to support job launch with hostnames that do not end in a n... |
clear console on CTRL/CMD+K | @@ -2570,7 +2570,7 @@ static const struct
{"export", NULL, "export native game", onConsoleExportCommand},
{"import", NULL, "import sprites from .gif", onConsoleImportCommand},
{"del", NULL, "delete file or dir", onConsoleDelCommand},
- {"cls", NULL, "clear screen", onConsoleClsCommand},
+ {"cls", "clear", "clear screen... |
CMP test_verification.csv: add missing test case for -untrusted with non-matching cert | @@ -35,6 +35,7 @@ expected,description, -section,val, -recipient,val, -expect_sender,val, -srvcert
0,trusted file does not exist, -section,, -recipient,_CA_DN,BLANK,,BLANK,, -trusted,idontexist,BLANK,,BLANK, -unprotected_errors,BLANK,,,,,,,,
,,,,,,,,,,,,,,,,,,,,,,,,,
0,untrusted missing arg, -section,, -recipient,_CA_D... |
net/lwip: clean up the validation of NS message
This patch clean up the validation of NS message and
also add one more exception handling for NS message.
There's no multicast address possible at target address
field in NS message. | @@ -404,18 +404,13 @@ void nd6_input(struct pbuf *p, struct netif *inp)
return;
}
- if (IP6H_HOPLIM(ip6_current_header()) != 255) {
- /* silently discard a NS messsage with invalid hop limit */
- pbuf_free(p);
- ND6_STATS_INC(nd6.proterr);
- ND6_STATS_INC(nd6.drop);
- return;
- }
-
ns_hdr = (struct ns_header *)p->paylo... |
[rtdbg] Update some comments on rtdbg.h. | * In your C/C++ file, enable/disable DEBUG_ENABLE macro, and then include this
* header file.
*
- * #undef DBG_SECTION_NAME // avoid the macro is already defined
- * #undef DBG_LEVEL
- * #undef DBG_COLOR
- * #undef DBG_ENABLE
- *
* #define DBG_SECTION_NAME "[ MOD]"
* #define DBG_ENABLE // enable debug macro
* #define D... |
log BUGFIX expecting parameter which was not supposed to be passed with the LY_VCODE_XP_INEXPR message
Fixes | @@ -192,7 +192,7 @@ size_t LY_VCODE_INSTREXP_len(const char *str);
#define LY_VCODE_INDEV LYVE_SYNTAX_YANG, "Deviate \"%s\" does not support keyword \"%s\"."
#define LY_VCODE_INREGEXP LYVE_SYNTAX_YANG, "Regular expression \"%s\" is not valid (\"%s\": %s)."
#define LY_VCODE_XP_EOE LYVE_XPATH, "Unterminated string delimi... |
S2S ocean params fix | @@ -3894,7 +3894,7 @@ uerra, eswi-enfo:total_cloud_cover_sfc maximum value 96.4844 is not in [100,100]
{"scaledValueOfFirstFixedSurface", GRIB_TYPE_LONG, 29315},
{NULL, },
},
- {&daily_average, &predefined_level, &has_bitmap},
+ {&daily_average, &given_level, &has_bitmap},
},
{
"average_salinity_in_the_upper_300_m_o2d.... |
decisions: add major constraints&assumptions | @@ -30,6 +30,15 @@ The main purpose of the decision process is to get a common understanding of the
- Decision PRs do not significantly change anything but one decision.
- Changes not changing the decision step or the direction of the decision are not decision PRs.
- The person merging the decision PR must be someone e... |
artik053: add netif flags on wlan_init()
This commit is to add netif flags for lwIP stack to handle ARP,
Broadcast and IGMP multicast packets, those flags should be configured
on netif | @@ -43,6 +43,7 @@ static err_t wlan_init(struct netif *netif)
netif->name[1] = 'l';
snprintf(netif->d_ifname, IFNAMSIZ, "wl%d", netif->num);
+ netif->flags = NETIF_FLAG_ETHARP | NETIF_FLAG_ETHERNET | NETIF_FLAG_BROADCAST | NETIF_FLAG_IGMP;
return ERR_OK;
}
@@ -62,5 +63,4 @@ void wlan_initup(struct netif *dev)
wlan_neti... |
haptic: Rename iHapticEffect interface to HapticEffect | @@ -169,9 +169,7 @@ func (he *HapticCustom) cHapticEffect() *C.SDL_HapticEffect {
// HapticEffect union that contains the generic template for any haptic effect.
// (https://wiki.libsdl.org/SDL_HapticEffect)
-type HapticEffect C.SDL_HapticEffect
-
-type iHapticEffect interface {
+type HapticEffect interface {
cHapticEf... |
sysdeps/managarm: add support for the DRM_IOCTL_MODE_CURSOR ioctl | @@ -2072,17 +2072,58 @@ int sys_ioctl(int fd, unsigned long request, void *arg, int *result) {
return 0;
}
case DRM_IOCTL_MODE_CURSOR: {
- static bool infoPrinted = false;
- if(!infoPrinted) {
- mlibc::infoLogger() << "mlibc: Cursor-specific DRM ioctl()s are not supported"
- << frg::endlog;
- infoPrinted = true;
- }
au... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.