message
stringlengths
6
474
diff
stringlengths
8
5.22k
Update for 1.0.0 release
@@ -23,8 +23,12 @@ repo.versions: "0-dev": "0.0.0" "0-latest": "0.0.0" + "1-latest": "1.0.0" + + "1.0.0": "nimble_1_0_0_tag" + + "1.0-latest": "1.0.0" repo.newt_compatibility: 0.0.0: 1.1.0: good -
Conform to geth node standard.
^- hiss :^ url %post %- ~(gas in *math) - ~[content-type+['application/x-www-form-urlencoded']~] + ~['Content-Type'^['application/json']~] (some (as-octt (en-json:html jon))) :: ++ batch-read-request |= dob=block ^- json ?- -.dob - %number n+(crip ((d-co:co 0) n.dob)) + %number s+(crip '0' 'x' ((d-co:co 1) n.dob)) %lab...
crypto/engine/eng_devcrypto.c: new compilers are strict on prototypes
@@ -233,7 +233,7 @@ static int known_cipher_nids[OSSL_NELEM(cipher_data)]; static int known_cipher_nids_amount = -1; /* -1 indicates not yet initialised */ static EVP_CIPHER *known_cipher_methods[OSSL_NELEM(cipher_data)] = { NULL, }; -static void prepare_cipher_methods() +static void prepare_cipher_methods(void) { size...
Get quit event on hangup (window close) in xterm.
@@ -280,6 +280,15 @@ static void xterm_on_window_change_signal(int signum) { } #endif +#ifndef _WIN32 +static void xterm_on_hangup_signal(int signum) { + SDL_Event quit_event; + quit_event.type = SDL_QUIT; + quit_event.quit.timestamp = SDL_GetTicks(); + SDL_PushEvent(&quit_event); +} +#endif + TCOD_Context* TCOD_render...
Fix README build instructions
@@ -53,12 +53,12 @@ are included as git submodules. To build urbit from source, perform the followin 4. The executable should appear in `./build` directory. ### Using meson & ninja -To configure project, enter the build directory and enter -`meson configure`. Without any arguments this command will display available -o...
Move Alpine Linux build job from Travis to Azure
@@ -147,3 +147,15 @@ jobs: export ANDROID_NDK_HOME=/usr/local/share/android-ndk make TARGET=ARMV7 ONLY_CBLAS=1 CC=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/armv7a-linux-androideabi21-clang AR=$ANDROID_NDK_HOME/toolchains/llvm/prebuilt/darwin-x86_64/bin/arm-linux-androideabi-ar HOSTCC=gcc ARM_SOFTFP_A...
add MICROPY_FLOAT_CONST for mp_obj_new_float
@@ -194,7 +194,7 @@ static mp_obj_t linalg_det(mp_obj_t oin) { } if (m1 >= in->m){ m_del(mp_float_t, tmp, in->n*in->n); - return mp_obj_new_float(0.0); + return mp_obj_new_float(MICROPY_FLOAT_CONST(0.0)); } } for(size_t n=0; n < in->n; n++){
Fix in not released code, no need to put it there.
@@ -44,7 +44,6 @@ BUG FIXES: - Note that use-systemd is not necessary and ignored in man page. - Fix unreachable code in ssl set options code. - Fix bad shift in assertion code analyzer complaint. - - Fix leak in server bitset setup. 4.2.4
use Standards version 4.6
@@ -3,7 +3,7 @@ Section: misc Priority: optional Maintainer: Marcus Hardt <marcus@hardt-it.de> Homepage: https://github.com/indigo-dc/oidc-agent/ -Standards-Version: 4.5.1 +Standards-Version: 4.6.0.1 Vcs-Git: https://github.com/indigo-dc/oidc-agent.git Vcs-Browser: https://github.com/indigo-dc/oidc-agent Rules-Requires...
Removing the deprecated 'interface' functions
@@ -41,27 +41,6 @@ int main(int argc, char **argv) } -int status(int argc, char **argv) -{ - printf("Status is not implemented for the core commands\n"); - return 0; -} - - -int output(int argc, char **argv) -{ - printf("Output is not implemented for the core commands\n"); - return 0; -} - - -int help(int argc, char **...
req: Do not warn about using stdin when generating new request Fixes
@@ -492,7 +492,7 @@ int req_main(int argc, char **argv) if (infile == NULL) { if (gen_x509) newreq = 1; - else + else if (!newreq) BIO_printf(bio_err, "Warning: Will read cert request from stdin since no -in option is given\n"); }
Test: Fix typo in OCLint check
@@ -15,7 +15,7 @@ oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-an "@CMAKE_SOURCE_DIR@/src/libs/utility/text.c" \ "@CMAKE_SOURCE_DIR@/src/plugins/base64/"*.{c,cpp} \ "@CMAKE_SOURCE_DIR@/src/plugins/camel/camel.c" \ - "@CMAKE_SOURCE_DIR@/src/plugins/directoryvalue/"*{.c,cpp} \ + "@CMAKE_S...
docker: add tar + gzip package to package.Dockerfile
FROM opensuse/leap:15.3 RUN zypper update -y \ - && zypper install -y strace \ + && zypper install -y \ + strace \ + tar \ + gzip \ && zypper clean --all # Create User:Group
board/waddledee/board.h: Format with clang-format BRANCH=none TEST=none Tricium: disable
#define CONFIG_CHARGER_OTG #undef CONFIG_CHARGER_SINGLE_CHIP #define CONFIG_OCPC -#define CONFIG_OCPC_DEF_RBATT_MOHMS 21 /* R_DS(on) 10.7mOhm + 10mOhm sns rstr \ +#define CONFIG_OCPC_DEF_RBATT_MOHMS \ + 21 /* R_DS(on) 10.7mOhm + 10mOhm sns rstr \ */ /*
integrationtest/Mountsnoop: Validate json output
@@ -31,6 +31,7 @@ import ( capabilitiesTypes "github.com/kinvolk/inspektor-gadget/pkg/gadgets/trace/capabilities/types" dnsTypes "github.com/kinvolk/inspektor-gadget/pkg/gadgets/trace/dns/types" execTypes "github.com/kinvolk/inspektor-gadget/pkg/gadgets/trace/exec/types" + mountTypes "github.com/kinvolk/inspektor-gadge...
Don't double count some of the bits
@@ -451,9 +451,6 @@ static double cu_rd_cost_tr_split_accurate(const encoder_state_t* const state, const int cb_flag_v = cbf_is_set(tr_cu->cbf, depth, COLOR_V); cabac_data_t* cabac = (cabac_data_t*)&state->search_cabac; - if(pred_cu->type == CU_INTER && !pred_cu->skipped && depth == pred_cu->depth) { - CABAC_FBITS_UPDA...
Improve auto fade in codegen logic
@@ -54,9 +54,18 @@ const compileEntityEvents = (scriptName, input = [], options = {}) => { continue; } if (events[command]) { - if (init && !hasInit && !events[command].allowedBeforeInitFade) { + if ( + init && + !hasInit && + !globalHasInit && + !events[command].allowedBeforeInitFade + ) { // Found an event that canno...
Fix missing unlock found by Coverity.
@@ -4641,6 +4641,7 @@ ipp_get_printers( { size_t i, /* Looping var */ count, /* Number of printers returned */ + pcount, /* Number of printers */ limit; /* limit operation attribute value, if any */ server_printer_t *printer; /* Current printer */ ipp_attribute_t *printer_ids; /* printer-ids operation attribute, if any...
[numerics] improve wrt msan
#include "NMS.h" #include "NSSTools.h" +#include "sanitizer.h" + #include "NCP_PathSearch.h" #include "ncp_newton_FBLSA.h" @@ -153,9 +155,9 @@ void ncp_pathsearch(NonlinearComplementarityProblem* problem, double* z, double* data_NMS->ref_merit = .5 * cblas_ddot(n, data_NMS->ls_data->F_merit, 1, data_NMS->ls_data->F_mer...
Script classes should be skipped during 'name' property lazy instantiation This patch fixes the TC262 language/expressions/class/name.js testcase. JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik
@@ -1474,6 +1474,8 @@ ecma_op_function_try_to_lazy_instantiate_property (ecma_object_t *object_p, /**< ECMA_SET_SECOND_BIT_TO_POINTER_TAG (ext_func_p->u.function.scope_cp); const ecma_compiled_code_t *bytecode_data_p = ecma_op_function_get_compiled_code (ext_func_p); + if (!(bytecode_data_p->status_flags & CBC_CODE_FLA...
tree schema free BUGFIX free all supported statements Refs
@@ -1168,7 +1168,14 @@ lyplg_ext_instance_substatements_free(struct ly_ctx *ctx, struct lysc_ext_substm case LY_STMT_STATUS: /* nothing to do */ break; + case LY_STMT_CONTACT: case LY_STMT_DESCRIPTION: + case LY_STMT_ERROR_APP_TAG: + case LY_STMT_ERROR_MESSAGE: + case LY_STMT_KEY: + case LY_STMT_NAMESPACE: + case LY_ST...
Reword description of the authentation tag computation stages
@@ -333,14 +333,21 @@ int mbedtls_gcm_starts( mbedtls_gcm_context *ctx, } /** - * mbedtls_gcm_context::buf contains different data type, depending - * on the values of mbedtls_gcm_context::::add_len and - * mbedtls_gcm_context::len: - * * When add_len % 16 == 0 and len == 0: initial state. - * * When add_len % 16 != 0 ...
Work CI-CD Rename var for consistency. ***NO_CI***
@@ -998,8 +998,8 @@ jobs: key: 'changeLogCacheFiles' restoreKeys: 1_0 path: | - $(AGENT.TEMPDIRECTORY)/github-changelog-logger.log - $(AGENT.TEMPDIRECTORY)/github-changelog-http-cache + $(Agent.TempDirectory)/github-changelog-logger.log + $(Agent.TempDirectory)/github-changelog-http-cache # generate change log includin...
Decrement the g_wdnfree variable only if there is a valid wdog node in g_wdfreelist If the g_wdfreelist doesn't contain any node, it will return NULL and decrementing the g_wdnfree variable would lead to wrong logic. Decrement the g_wdnfree variable only if there is a valid wdog is returned from g_wdfreelist
@@ -130,18 +130,23 @@ WDOG_ID wd_create(void) */ wdog = (FAR struct wdog_s *)sq_remfirst(&g_wdfreelist); - DEBUGASSERT(g_wdnfree > 0); - g_wdnfree--; - irqrestore(state); /* Did we get one? */ if (wdog) { + DEBUGASSERT(g_wdnfree > 0); + g_wdnfree--; + /* Yes.. Clear the forward link and all flags */ wdog->next = NULL; ...
adding use attribute to asflags
<!-- C++ Compiler command-line --> <xs:element name="cxxflags" type="ToolOptionType" /> <!-- Assembler command-line --> - <xs:element name="asflags" type="ToolOptionType" /> + <xs:element name="asflags" type="AsmOptionType" /> </xs:choice> <!-- Board Vendor --> <xs:attribute name="Bvendor" type="xs:string" use="optiona...
change order of matrix (to preview better under checkmark dropdown
@@ -27,16 +27,16 @@ jobs: strategy: fail-fast: false matrix: - os: [ubuntu-latest] platform: [X64, OTHER_ARM, RISCV, RPI4ARM64, RK3326, RK3399, RK3288, PHYTIUM, SD845] type: [Release, Trace] + os: [ubuntu-latest] include: - - os: ubuntu-18.04 - platform: TEGRAX1 + - platform: TEGRAX1 type: Release - - os: ubuntu-18.04 ...
dirinboz: Remove I2C_PORT_BATTERY_V0 check Dirinboz only uses I2C_PORT_BATTERY_V1. BRANCH=none TEST=none
@@ -618,20 +618,3 @@ static void usba_retimer_off(void) ioex_set_level(IOEX_USB_A1_RETIMER_EN, 0); } DECLARE_HOOK(HOOK_CHIPSET_SUSPEND, usba_retimer_off, HOOK_PRIO_DEFAULT); - -/* - * If the battery is found on the V0 I2C port then re-map the battery port. - * Use HOOK_PRIO_INIT_I2C so we re-map before init_battery_typ...
[CI] Fix PLATFORM_CONFIG in firesim
@@ -47,6 +47,6 @@ mapping["boom"]="SUB_PROJECT=example CONFIG=SmallBoomConfig" mapping["rocketchip"]="SUB_PROJECT=rocketchip" mapping["blockdevrocketchip"]="SUB_PROJECT=example CONFIG=SimBlockDeviceRocketConfig TOP=TopWithBlockDevice" mapping["hwacha"]="SUB_PROJECT=example CONFIG=HwachaRocketConfig GENERATOR_PACKAGE=hw...
test: removes obsolete scrypt test comment
!> `@ux`(hsh pw salt n r p 64) :: ++ vectors - :: TODO: until scrypt has been jetted, we can only test the - :: first vector; the others do not finish in a reasonable - :: amount of time. + ^- (list vector) :~ :* 0x0
Throw error for non-existing resource item
@@ -1793,7 +1793,7 @@ int DeRestPluginPrivate::changeSensorConfig(const ApiRequest &req, ApiResponse & return REQ_READY_SEND; } } - else // invalid + else // Resource item not found for the device { rsp.list.append(errorToMap(ERR_PARAMETER_NOT_AVAILABLE, QString("/sensors/%1/config/%2").arg(id).arg(pi.key()), QString("...
nimble/ll: Fix mbuf leak in advertising on HCI Reset If advertising data or scan response is set for advertising instance it must be free before re-initializing advertising state machine.
@@ -3372,13 +3372,18 @@ ble_ll_adv_reset(void) struct ble_ll_adv_sm *advsm; for (i = 0; i < BLE_ADV_INSTANCES; ++i) { - /* Stop advertising state machine */ advsm = &g_ble_ll_adv_sm[i]; + + /* Stop advertising state machine */ ble_ll_adv_sm_stop(advsm); - } + + /* clear any data present */ + os_mbuf_free_chain(advsm->a...
Path validation timeout
@@ -5582,6 +5582,7 @@ static int conn_recv_non_probing_pkt_on_new_path(ngtcp2_conn *conn, ngtcp2_pv *pv; size_t i, len; int rv; + ngtcp2_duration timeout; assert(conn->server); @@ -5619,7 +5620,10 @@ static int conn_recv_non_probing_pkt_on_new_path(ngtcp2_conn *conn, conn_reset_congestion_state(conn); - rv = ngtcp2_pv_...
docs: updating manifest page breaks
@@ -18,7 +18,6 @@ sub usage { my @ohpcCategories = ("admin","compiler-families","dev-tools","distro-packages","io-libs","mpi-families", "parallel-libs","serial-libs","perf-tools","provisioning","rms", "runtimes"); -# disable lustre my @compiler_familes = ("gnu","gnu7","intel","gnu8","gnu9","arm1"); my @mpi_families = (...
Add max_retries flag for gpload Add max_retries flag for gpload. It indicates the max times on connecting to GPDB timed out. max_retries default value is 0 which means no retry. If max_retries is -1 or other negative value, it means retry forever. Test has been done manually.
@@ -18,6 +18,7 @@ Options: -l logfile: log output to logfile --no_auto_trans: do not wrap gpload in transaction --gpfdist_timeout timeout: gpfdist timeout value + --max_retries retry_times: max retry times on gpdb connection timed out. 0 means disabled, -1 means forever --version: print version number and exit -?: help...
Uncomment hold and add correct upgrades
@@ -72,14 +72,15 @@ pub static TEST_DEPS: &[DepTest] = &[ upgrades: [UpgradeInfo::Upgraded, UpgradeInfo::Upgraded], }, - // If all of the dependencies are unmet, there should be no upgrades. - // TODO: Disabled because it fails. - /* + DepTest { + depends: [DepType::Correct, DepType::Correct], + upgrades: [UpgradeInfo:...
db_bench: workaround to pass "std=c++11"
@@ -13,6 +13,10 @@ project( ], ) +# meson does not appear to be able to use subproject's +# compile flags specified via default option. +add_project_arguments('-std=c++11', language: 'cpp' ) + db_bench_cpp_args = [ '-DHSE_EXPERIMENTAL', '-DHAVE_FREAD',
Fix some typos in commments
@@ -679,8 +679,8 @@ int nxwm_main(int argc, char *argv[]) // Should we perform board-specific initialization? There are two ways // that board initialization can occur: 1) automatically via - // board_initialize() durring bootup if CONFIG_BOARD_INITIALIZE, or - // 2) here via a call to boardctl() if the interface is en...
BugID:19968495: Improve device bind (token update when it is timeout)
@@ -395,6 +395,7 @@ int online_ucast_get_device_info(void *ctx, void *resource, void *remote, void * } static int dev_bind_interval = 0; +static char dev_sync_token = 0; static char dev_bind_cnt = 0; static int __awss_dev_bind_notify() { @@ -442,8 +443,12 @@ static int __awss_dev_bind_notify() awss_notify_dev_info(AWSS...
Oops, uncomment the forking test.
@@ -694,12 +694,12 @@ void defer_test(void) { "defer_perform returned. i_count = %lu, %lu/%lu free/malloc\n", i_count, count_dealloc, count_alloc); - // fprintf(stderr, "press ^C to finish PID test\n"); - // defer(pid_task, "pid test", NULL); - // if (defer_perform_in_fork(4, 64) > 0) { - // fprintf(stderr, "* %d finis...
vm: Simplify lily_vm_execute's intro and comment the top of it.
@@ -2331,6 +2331,11 @@ else if (lhs_reg->flags & V_STRING_FLAG) { \ vm_regs[code[3]]->flags = V_BOOLEAN_BASE; \ code += 5; +/* This is where native code is executed. Simple opcodes are handled here, while + complex opcodes are handled in do_o_* functions. + Native functions work by pushing data onto the vm's stack and ...
Remove duplicate typedef. Thinko in commit per complaint from BF animal locust's older GCC compiler.
@@ -29,8 +29,6 @@ typedef void (*LogicalOutputPluginWriterUpdateProgress) (struct LogicalDecodingC TransactionId xid ); -typedef struct LogicalDecodingContext LogicalDecodingContext; - typedef bool (*LogicalDecodingXLogPageReadCB)(XLogReaderState *ctx); typedef struct LogicalDecodingContext
Reordered changes for 1.26.0 by significance (subjective).
@@ -66,44 +66,45 @@ rather than a document root directory to be prepended to the request URI. <change type="feature"> <para> -variables support in the "share" option. +automatic adjustment of existing configurations to the new "share" behavior +when updating from previous versions. </para> </change> <change type="featu...
travis: use Clang 11 from Ubuntu Focal repository
@@ -113,13 +113,9 @@ matrix: compiler: clang addons: apt: - sources: - - sourceline: 'deb http://apt.llvm.org/focal/ llvm-toolchain-focal-12 main' - key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' packages: - - llvm-12 - - clang-12 - - libclang-common-12-dev + - llvm-11 + - clang-11 env: - ENABLE_ASAN=ON - CC=cla...
Add some sceAVConfig volume functions
@@ -31,6 +31,41 @@ int sceAVConfigGetDisplayMaxBrightness(int *maxBrightness); */ int sceAVConfigSetDisplayBrightness(int brightness); +/*** + * Get the shutter volume. + * + * @param[out] volume - shutter volume. + * + * @return 0 on success, < 0 on error. + */ +int sceAVConfigGetShutterVol(int *volume); + +/*** + * G...
Add current directory to sys.path when using ya ide venv
@@ -562,6 +562,8 @@ if YA_IDE_VENV: sys.meta_path.append(BuiltinSubmoduleImporter) if executable not in sys.path: sys.path.append(executable) + if '' not in sys.path: + sys.path.insert(0, '') sys.path_hooks.append(executable_path_hook) else: sys.meta_path.insert(0, BuiltinSubmoduleImporter)
hslua-module-text: fix function documentation
@@ -13,7 +13,6 @@ Provides a Lua module containing a selection of useful Text functions. module HsLua.Module.Text ( -- * Module documentedModule - -- ** Functions , len , lower @@ -35,24 +34,21 @@ documentedModule :: LuaError e => Module e documentedModule = Module { moduleName = "text" , moduleFields = [] + , moduleFu...
fixup! interface: tweak LinkDetail flex distribution
@@ -31,7 +31,9 @@ export function LinkDetail(props: LinkDetailProps) { <LinkBlockItem maxHeight="100%" border={0} node={node} /> </Center> <Col + flex="1 25%" maxWidth={['auto', 'auto', '45ch']} + maxHeight={['50%', '50%', 'unset']} gapY={[2,4]} borderLeft={[0, 0, 1]} borderTop={[1, 1, 0]}
Fix va_list processing in test_note()
@@ -137,11 +137,13 @@ void test_error(const char *file, int line, const char *desc, ...) void test_note(const char *fmt, ...) { + if (fmt != NULL) { va_list ap; - if (fmt != NULL) { test_printf_stderr("%*s# ", subtest_level(), ""); + va_start(ap, fmt); test_vprintf_stderr(fmt, ap); + va_end(ap); test_printf_stderr("\n"...
Add more specialization for marshaling integers. This decreases the core image size by about 16.5k.
@@ -124,15 +124,20 @@ JanetTable *janet_env_lookup(JanetTable *env) { /* Marshal an integer onto the buffer */ static void pushint(MarshalState *st, int32_t x) { - if (x >= 0 && x < 200) { + if (x >= 0 && x < 128) { janet_buffer_push_u8(st->buf, x); + } else if (x <= 8191 && x >= -8192) { + uint8_t intbuf[2]; + intbuf[...
groups: fix name validation regex fixes urbit/landscape#906
@@ -17,7 +17,7 @@ import { AsyncButton } from '~/views/components/AsyncButton'; const formSchema = Yup.object({ title: Yup.string() - .matches(/^(\D).+$/, 'Group names may not start with a number') + .matches(/^(\D).*$/, 'Group names may not start with a number') .required('Group must have a name'), description: Yup.st...
Add mkdtemp()
@@ -15,6 +15,8 @@ use "types" pkg std = const mktemp : (base : byte[:], opt : fdopt, mode : int64 -> std.result((fd, byte[:]), errno)) const mktempat : (dir : byte[:], base : byte[:], opt : fdopt, mode : int64 -> std.result((fd, byte[:]), errno)) + const mkdtemp : (base : byte[:], mode : int64 -> std.result(byte[:], er...
add documentation to util header
@@ -31,36 +31,68 @@ glm_sign(int val) { return ((val >> 31) - (-val >> 31)); } +/*! + * @brief convert degree to radians + * + * @param[in] deg angle in degrees + */ CGLM_INLINE float glm_rad(float deg) { return deg * CGLM_PI / 180.0f; } +/*! + * @brief convert radians to degree + * + * @param[in] deg angle in radians ...
Corrections of the migration guide from the code review.
Deprecated functions were removed from AES ------------------------------------------ -The functions `mbedtls_aes_encrypt()` and `mbedtls_aes_decrypt()` were removed. -Please use `mbedtls_internal_aes_encrypt()` and `mbedtls_internal_aes_decrypt()` -respectively. +The functions `mbedtls_aes_encrypt()` and `mbedtls_aes_...
freertos/xtensa_context: fixed small typo
@@ -179,7 +179,7 @@ _xt_context_save: s32i a9, sp, XT_STK_OVLY /* save overlay state */ #endif - rsr a2, PS /* We need to enable window execptions to */ + rsr a2, PS /* We need to enable window exceptions to */ movi a3, PS_INTLEVEL_MASK /* perform spill registers*/ and a2, a2, a3 bnez a2, _not_l1
patch is pre-autogen
@@ -10,15 +10,3 @@ diff -ruN warewulf-ipmi-3.6.old/initramfs/Makefile.am warewulf-ipmi-3.6/initramf cd _work/ipmitool/ipmitool-$(IPMITOOL_VERSION) ;\ ./configure --enable-static --disable-ipmishell ;\ make LDFLAGS=-static ;\ -diff -ruN warewulf-ipmi-3.6.old/initramfs/Makefile.in warewulf-ipmi-3.6/initramfs/Makefile.in ...
Fix FreeBSD code export.
@@ -159,10 +159,12 @@ sctp_init(void) SCTP_BASE_VAR(debug_printf) = debug_printf; SCTP_BASE_VAR(crc32c_offloaded) = 0; #endif - sctp_pcb_init(start_threads); #if defined(__Userspace__) + sctp_pcb_init(start_threads); if (start_threads) sctp_start_timer(); +#else + sctp_pcb_init(); #endif #if defined(SCTP_PACKET_LOGGING...
Use length returned from socket rather than strlen
@@ -155,10 +155,11 @@ static Value recvSocket(VM *vm, int argCount, Value *args) { Value module; tableGet(&vm->modules, copyString(vm, "Socket", 6), &module); SET_ERRNO(AS_MODULE(module)); + FREE_ARRAY(vm, char, buffer, bufferSize); return NIL_VAL; } - ObjString *rString = copyString(vm, buffer, strlen(buffer)); + ObjS...
Add sceKernelFree nid
@@ -9540,6 +9540,7 @@ modules: ksceKernelCreateUidObj: 0xDF0288D7 ksceKernelDeleteAddressSpace: 0xF2D7FE3A ksceKernelFindClassByName: 0x62989905 + ksceKernelFree: 0xABAB0FAB ksceKernelFreeSimpleMemBlock: 0xA1FFA2C9 ksceKernelGetFixedHeapInfoByPointer: 0x219E90FD ksceKernelGetHeapInfo: 0x91733EF4
Fix parameter to signed
@@ -609,7 +609,7 @@ INLINE static void kvz_eight_tap_filter_ver_16bit_8x8_no_round_avx2(__m256i *fil } -static void kvz_ipol_8tap_hor_px_im_avx2(uint8_t *filter, +static void kvz_ipol_8tap_hor_px_im_avx2(int8_t *filter, int width, int height, kvz_pixel *src, @@ -704,7 +704,7 @@ static void kvz_ipol_8tap_hor_px_im_avx2(...
doc: update fedora version in INSTALL.md
@@ -58,12 +58,12 @@ To use our stable repositories with our latest releases, following steps need to ### Fedora -We provide repositories for latest releases and latest builds from master (suite postfixed with `-unstable`) for Fedora 33. +We provide repositories for latest releases and latest builds from master (suite p...
[swig] fix used variable newmem warning
@@ -491,7 +491,6 @@ struct IsDense : public Question<bool> void *argp1=0; int res0=0; int res1=0; - int newmem = 0; std11::shared_ptr<SiconosVector> tempshared1 ; std11::shared_ptr<SiconosVector> *smartarg1 = NULL; SiconosVector* smartarg2 = NULL;
Timezone query, support systemd
@@ -243,9 +243,36 @@ void DeRestPluginPrivate::initTimezone() #ifdef ARCH_ARM QFile file; QString timezone; + QString timedatectl("/usr/bin/timedatectl"); file.setFileName("/etc/timezone"); - if (file.exists()) + // first try to query systemd via timedatectl + // needed on distributions not having /etc/timezone, or bei...
IssueID:1570: vfs supports rootdir. [Detail] none [Verified Cases] Build Pass: <none> Test Pass: <none>
@@ -157,7 +157,7 @@ vfs_inode_t *vfs_inode_open(const char *path) } if (INODE_IS_TYPE(node, VFS_TYPE_FS_DEV)) { - if (strncmp(node->i_name, path, strlen(node->i_name)) == 0) { + if ((strncmp(node->i_name, path, strlen(node->i_name)) == 0) && (strncmp("/dev", path, strlen("/dev")) != 0)) { #ifdef VFS_CONFIG_ROOTFS fs_ma...
runtime: no TCP pseudoheaders needed for directpath
@@ -18,6 +18,19 @@ static void tcp_tx_release_mbuf(struct mbuf *m) net_tx_release_mbuf(m); } +#ifndef DIRECTPATH +static inline uint16_t tcp_hdr_chksum(uint32_t local_ip, uint32_t remote_ip, uint16_t len) +{ + return ipv4_phdr_cksum(IPPROTO_TCP, local_ip, remote_ip, + sizeof(struct tcp_hdr) + len); +} +#else +static in...
Add macos + clang build for Appveyor
image: - ubuntu1804 - Visual Studio 2015 + - macos environment: # enable mingw build on windows image MSYSTEM: MINGW64 CHERE_INVOKING: 1 @@ -13,6 +14,8 @@ matrix: exclude: # no mingw build on linux - image: ubuntu1804 BUILD_TYPE: mingw + - image: macos + BUILD_TYPE: mingw install: - ps: | if ($isWindows) { @@ -25,9 +28...
Update README to be consistent with wiki
@@ -573,4 +573,4 @@ print cls # License, Credits, Feedback etc -The `CCL` is still under development and should be considered research in progress. You are welcome to re-use the code, which is open source and available under the modified BSD license. If you make use of any of the ideas or software in this package in yo...
sysdeps/linux: Add SYS_futex
#define SYS_umount2 166 #define SYS_reboot 169 #define SYS_sethostname 170 +#define SYS_futex 202 #define SYS_getdents64 217 #define SYS_sys_futex 202 #define SYS_fadvise64 221
Remove PEB SessionId dependency
@@ -2814,7 +2814,11 @@ NTSTATUS PhCreateProcessAsUser( if (Flags & PH_CREATE_PROCESS_SET_SESSION_ID) { - if (Information->SessionId != NtCurrentPeb()->SessionId) + ULONG sessionId = ULONG_MAX; + + PhGetProcessSessionId(NtCurrentProcess(), &sessionId); + + if (Information->SessionId != sessionId) useWithLogon = FALSE; }...
Updated manufacturer code for Samsung SmartThings Plug
#define VENDOR_KEEN_HOME 0x115B #define VENDOR_115F 0x115F // Used by Xiaomi Aqara #define VENDOR_INNR 0x1166 -#define VENDOR_INNR2 0x1168 +#define VENDOR_LDS 0x1168 // Used by Samsung SmartPlug 2019 #define VENDOR_INSTA 0x117A #define VENDOR_IKEA 0x117C #define VENDOR_BUSCH_JAEGER 0x112E @@ -397,6 +397,7 @@ extern con...
py/runtime: Simplify handling of containment binary operator. In mp_binary_op, there is no need to explicitly check for type->getiter being non-null and raising an exception because this is handled exactly by mp_getiter(). So just call the latter unconditionally.
@@ -536,8 +536,8 @@ mp_obj_t mp_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) { return res; } } - if (type->getiter != NULL) { - /* second attempt, walk the iterator */ + + // final attempt, walk the iterator (will raise if rhs is not iterable) mp_obj_iter_buf_t iter_buf; mp_obj_t iter = mp_getiter(rhs, &ite...
Re-enable logging_collector GUC for use in tests We need logging_collector to be turned off so that the tests can check the logfile contents.
@@ -1349,8 +1349,8 @@ static struct config_bool ConfigureNamesBool[] = NULL, NULL, NULL }, { - {"logging_collector", PGC_POSTMASTER, DEFUNCT_OPTIONS, - gettext_noop("Defunct: Start a subprocess to capture stderr output and/or csvlogs into log files."), + {"logging_collector", PGC_POSTMASTER, LOGGING_WHERE, + gettext_no...
BUFR operator 203YYY: implement encoding (Part 3)
@@ -1142,8 +1142,15 @@ static int encode_new_element(grib_context* c,grib_accessor_bufr_data_array* sel /* Operator 203YYY: Change Reference Values: Encoding definition phase */ long currRefVal=-1; long numBits = self->change_ref_value_operand; - Assert( self->refValListSize > 0 ); - Assert( self->refValIndex < self->r...
crypto: reformat contract.h
@@ -15,4 +15,5 @@ keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME, KEY_VALUE, "crypto plugin keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/exports/checkconf", KEY_FUNC, CRYPTO_PLUGIN_FUNCTION (checkconf), KEY_END), #include ELEKTRA_README (crypto) keyNew ("system/elektra/modules/" ELEKTRA_PLUGIN_NAME "/...
unix/dev: Enable MICROPY_PY_GENERATOR_NOT_RUN_WARN.
#define MICROPY_PY_BUILTINS_NEXT2 (1) #define MICROPY_PY_BUILTINS_RANGE_BINOP (1) #define MICROPY_PY_BUILTINS_SLICE_INDICES (1) +#define MICROPY_PY_GENERATOR_NOT_RUN_WARN (1) #define MICROPY_PY_MICROPYTHON_FUNCTION (1) #define MICROPY_PY_SYS_GETSIZEOF (1) #define MICROPY_PY_SYS_INTERN (1)
Add an exception when the learn pairs are absent
@@ -137,6 +137,7 @@ void CheckConsistency(const NCatboostOptions::TLossDescription& lossDescription, } if (IsPairwiseError(lossDescription.GetLossFunction())) { + CB_ENSURE(!learnData.Pairs.empty(), "You should provide learn pairs for Pairwise Errors."); CB_ENSURE(learnHasQuery, "You should provide GroupId for Pairwise...
Replace actor down collsion from 2x2 to 1x2 Fixes down collision oneways. Don't see any reason to check the 2 tiles we're on too.
@@ -290,7 +290,7 @@ void ActorSetMovement_b(UBYTE i, BYTE dir_x, BYTE dir_y) { UBYTE tile_down = tile_y + 1; actors[i].hit_actor = ActorAt3x1Tile(tile_x - 1, tile_down + 1, FALSE); hit_actor = actors[i].hit_actor; - if (!(TileAt2x2(tile_x, tile_down - 1) & COLLISION_TOP) && (hit_actor == NO_ACTOR_COLLISON || hit_actor ...
Remove visibility check code in aocs compaction Since we have already checked the visibility during scan tuples in aocs compaction, the visibility check code in aocs compaction is unnecessary and can be removed.
@@ -217,11 +217,9 @@ AOCSSegmentFileFullCompaction(Relation aorel, TupleDesc tupDesc; TupleTableSlot *slot; int compact_segno; - int64 movedTupleCount = 0; ResultRelInfo *resultRelInfo; MemTupleBinding *mt_bind; EState *estate; - AOTupleId *aoTupleId; int64 tupleCount = 0; int64 tuplePerPage = INT_MAX; @@ -274,20 +272,...
Fix Octave warnings on load Issue
-autoload('LimeInitialize', 'LimeSuite.oct') -autoload('LimeGetDeviceInfo', 'LimeSuite.oct') -autoload('LimeDestroy', 'LimeSuite.oct') -autoload('LimeLoadConfig', 'LimeSuite.oct') -autoload('LimeStartStreaming', 'LimeSuite.oct') -autoload('LimeStopStreaming', 'LimeSuite.oct') -autoload('LimeReceiveSamples', 'LimeSuite....
Compile with clang-7.0 jerry_debugger_scope_variable_type_t was not explicitly sized by the compiler as 8bit, accept uint8_t instead (you still can call the fn with a jerry_debugger_scope_variable_type_t) JerryScript-DCO-1.0-Signed-off-by: wille-io
@@ -271,11 +271,12 @@ jerry_debugger_send_scope_chain (void) /** * Get type of the scope variable property. + * @return (jerry_debugger_scope_variable_type_t) */ -static jerry_debugger_scope_variable_type_t +static uint8_t jerry_debugger_get_variable_type (ecma_value_t value) /**< input ecma value */ { - jerry_debugger...
Add missing scanner variable to makeToken
@@ -422,7 +422,7 @@ Token scanToken(Scanner *scanner) { return makeToken(scanner, TOKEN_EQUAL); } case '?': - return makeToken(TOKEN_QUESTION); + return makeToken(scanner, TOKEN_QUESTION); case '<': return makeToken(scanner, match(scanner, '=') ? TOKEN_LESS_EQUAL : TOKEN_LESS); case '>':
esp8266/README: Add section on using upip.
@@ -119,6 +119,23 @@ Python prompt over WiFi, connecting through a browser. - GitHub repository https://github.com/micropython/webrepl. Please follow the instructions there. +__upip__ + +The ESP8266 port comes with builtin `upip` package manager, which can +be used to install additional modules (see the main README for...
Map only 1 key to rctrl.
@@ -85,7 +85,7 @@ static const LRKCNV lrcnv101[] = {RETROK_RSHIFT, 0x70}, {RETROK_LSHIFT, 0x70}, {RETROK_CAPSLOCK, 0x71}, {RETROK_RALT, 0x73}, {RETROK_LALT, 0x73}, - {RETROK_RCTRL, 0x74}, {RETROK_LCTRL, 0x74}, + {RETROK_LCTRL, 0x74}, /* = */ {RETROK_EQUALS, 0x0c},
Bug fix for cartesian moba
@@ -193,13 +193,6 @@ int main_moba(int argc, char* argv[argc]) conf.noncartesian = true; } - if ((NULL == trajectory) && (NULL == psf)) { - - grid_dims[READ_DIM] = grid_dims[PHS1_DIM]; - grid_dims[PHS1_DIM] = grid_dims[PHS2_DIM]; - grid_dims[PHS2_DIM] = 1L; - } - long img_dims[DIMS]; md_select_dims(DIMS, FFT_FLAGS|MAPS...
Exit the widget extension after the scripts are executed
@@ -162,6 +162,12 @@ import SwiftUI #if WIDGET semaphore.wait() + + DispatchQueue.main.asyncAfter(deadline: .now()+1) { + if PyWidget.codeToRun.count == 0 || makeTimeline.isEmpty { + exit(0) // So the next script has more free RAM + } + } #endif }
contact-view: remove unnecessary state
:: +$ state-0 $: %0 - dir-served=_| + ~ == :: +$ card card:agent:gall ^- (quip card _this) =/ old ((soft state-0) q.old-vase) ?^ old [~ this] - :_ this(dir-served %.y) + :_ this(state [%0 ~]) :~ [%pass / %arvo %e %disconnect [~ /'~groups']] [%pass / %arvo %e %connect [~ /'contact-view'] %contact-view] :* %pass /srv %ag...
turn on ENABLE_AMDGPU_ARCH_TOOL
@@ -73,6 +73,7 @@ else fi MYCMAKEOPTS="-DLLVM_ENABLE_PROJECTS=clang;lld;compiler-rt -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=$INSTALL_PROJECT -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_TARGETS_TO_BUILD=$TARGETS_TO_BUILD $COMPILERS -DLLVM_VERSION_SUFFIX=_AOMP${standalone_word}_$AOMP_VERSION_STRING -DCLANG_VENDOR=AO...
Ycmerge tool with ucompression support
}, "ycmerge": { "formula": { - "sandbox_id": 658763292, + "sandbox_id": 668570008, "match": "ycmerge" }, "executable": {
[numerics] remove useless copy
@@ -281,6 +281,7 @@ int gfc3d_reformulation_local_problem(GlobalFrictionContactProblem* problem, Fri NumericsMatrix* MinvH = NM_create(NM_SPARSE,n,m); NM_triplet_alloc(MinvH, n); + MinvH->matrix2->origin = NS_TRIPLET; NM_gemm(1.0, Minv, H, 0.0, MinvH); DEBUG_EXPR(NM_display(MinvH);); @@ -302,7 +303,6 @@ int gfc3d_refor...
Reorder direction constant exposure.
@@ -78,14 +78,7 @@ int mapstrings_transconst(ScriptVariant **varlist, int paramCount) ICMPCONST(BINDING_POSITIONING_TARGET) ICMPCONST(BINDING_POSITIONING_LEVEL) - ICMPCONST(DIRECTION_NONE) - ICMPCONST(DIRECTION_LEFT) - ICMPCONST(DIRECTION_RIGHT) - ICMPCONST(DIRECTION_ADJUST_LEFT) - ICMPCONST(DIRECTION_ADJUST_NONE) - IC...
README: Add "Fork FAQ".
@@ -196,3 +196,37 @@ with its paradigm and work process. To be productive, please be sure to follow t and the [Code Conventions](https://github.com/pfalcon/pycopy/blob/master/CODECONVENTIONS.md). Note that Pycopy is licenced under the MIT license, and all contributions should follow this license. + +Fork FAQ +======== ...
hake: Main.hs: properly concatenate paths in makeFlounderTypesArch.
@@ -723,8 +723,8 @@ makeFlounderTypesArch src build arch = do h <- openFile(fileName) WriteMode - baseDir <- getDirectoryContents (src ++ "if") >>= return. filter (\c -> not $ elem c [".", ".."]) - archDir <- getDirectoryContents (src ++ "if/arch") >>= return. filter (\c -> not $ elem c [".", ".."]) + baseDir <- getDir...
[Makefile] Don't keep original traces
@@ -107,7 +107,7 @@ benchmark: log simc trace: pre_trace $(trace) post_trace log: - mkdir -p "$(result_dir)/original" + mkdir -p "$(result_dir)" [ -e "$(preload)" ] && cp "$(preload)"* "$(result_dir)" || \ ([ -e "$(buildpath)/transcript" ] && \ cp "$$(grep -oP '(?<=\+PRELOAD=)[^ \"]*' $(buildpath)/transcript)"* "$(resu...
mapping0.c (mapping0_unpack): kill a useless memset() info is allocated with calloc() already.
@@ -92,7 +92,6 @@ static vorbis_info_mapping *mapping0_unpack(vorbis_info *vi,oggpack_buffer *opb) int i,b; vorbis_info_mapping0 *info=_ogg_calloc(1,sizeof(*info)); codec_setup_info *ci=vi->codec_setup; - memset(info,0,sizeof(*info)); if(vi->channels<=0)goto err_out; b=oggpack_read(opb,1);
Fix w_tophat expression
@@ -555,16 +555,12 @@ static double w_tophat(double kR) double w; double kR2 = kR*kR; - // This is the Maclaurin expansion of W(x)=[sin(x)-xcos(x)]*(3/x)**3 to O(x^7), with x=kR. + // This is the Maclaurin expansion of W(x)=[sin(x)-xcos(x)]*3/x**3 to O(x^10), with x=kR. // Necessary numerically because at low x W(x) re...
ixfr-out, fix usage for nsd-checkzone -i option to create ixfr contents.
@@ -35,7 +35,7 @@ usage (void) { fprintf(stderr, "Usage: nsd-checkzone [-p] <zone name> <zone file>\n"); fprintf(stderr, "\t-p\tprint the zone if the zone is ok\n"); - fprintf(stderr, "\t-i <old zone file>\tcreate an IXFR from the differenes between the\n\t\told zone file and the new zone file. Writes to \n\t\tzone fil...
graph-store: only calculate hash when necessary, only check signatures if necessary
:: ?~ t.index =* p post.node + ?~ hash.p node(signatures.post *signatures:store) =/ =validated-portion:store [parent-hash author.p time-sent.p contents.p] =/ =hash:store `@ux`(sham validated-portion) - ?~ hash.p node(signatures.post *signatures:store) - ~| "signatures do not match the calculated hash" - ?> (are-signatu...
doc: fix bad link in rpoll. Fixes * ext/posix/poll.c (rpoll): Use valid markdown links from LDocs.
@@ -243,7 +243,7 @@ Ppoll(lua_State *L) /*** Wait for some event on a file descriptor. -Based on [http://lua-users.org/lists/lua-l/2007-11/msg00346.html](). +Based on [a lua-l list post](http://lua-users.org/lists/lua-l/2007-11/msg00346.html). @function rpoll @int fd file descriptor @int[opt=-1] timeout maximum timeout...
xfconf: Add get for strings
@@ -66,6 +66,7 @@ int elektraXfconfGet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned, Key * p // todo: remove workaround which requires a channel to exist as a file char * absolutePath = elektraStrDup (keyString (parentKey)); const char * channelName = basename (absolutePath); + const char * parentName = keyName (...
Fixed non-UTF8 characters.
* integer */ #define IFD_FIELD_SLONG 9 /* A 32-bit (4-byte) signed (twos-complement) * integer */ -#define IFD_FIELD_SRATIONAL 10 /* Two SLONGs: the first represents the +#define IFD_FIELD_SRATIONAL 10 /* Two SLONG's: the first represents the * numerator of a fraction, the second the * denominator */ #define IFD_FIELD_...
Fix compilation of cypress code
@@ -330,6 +330,7 @@ int flash_area_erase(const struct flash_area *fa, uint32_t off, uint32_t len) row_addr = erase_start_addr + row_number * (uint32_t) CY_FLASH_SIZEOF_ROW; rc = Cy_Flash_EraseRow(row_addr); } + } #ifdef CY_BOOT_USE_EXTERNAL_FLASH else if ((fa->fa_device_id & FLASH_DEVICE_EXTERNAL_FLAG) == FLASH_DEVICE_...