message
stringlengths
6
474
diff
stringlengths
8
5.22k
Cache the slot in +slur, which makes the type passed to ~nest the same noun each time.
++ slur :: call gate on |= {gat/vase hil/mill} ^- (unit (pair vase worm)) - =+ sam=(slot 6 gat) + =^ sam p.sew (~(slot wa p.sew) 6 gat) =+ ^= hig ?- -.hil %& (~(nest wa p.sew) p.sam p.p.hil)
zephyr port: update qemu config
CONFIG_NETWORKING=y -CONFIG_NET_IPV6=y CONFIG_NET_UDP=y -CONFIG_NANO_TIMEOUTS=y +CONFIG_NET_IPV6=y +#CONFIG_NET_IPV4=y +#CONFIG_NET_DHCPV4=y + +CONFIG_RANDOM_GENERATOR=y CONFIG_TEST_RANDOM_GENERATOR=y -CONFIG_NET_LOG=y +CONFIG_INIT_STACKS=y + +#CONFIG_NEWLIB_LIBC=y +#CONFIG_CONSOLE_HANDLER=y +#CONFIG_EARLY_CONSOLE=y +#...
Rename identifiers that were referencing old module names
@@ -141,8 +141,8 @@ module writeback_stage( cache_line_data_t bypassed_read_data; local_thread_bitmap_t thread_dd_oh; logic last_subcycle_dd; - logic last_subcycle_sx; - logic last_subcycle_mx; + logic last_subcycle_ix; + logic last_subcycle_fx; logic writeback_en_nxt; local_thread_idx_t writeback_thread_idx_nxt; logic...
Clarify the ephemeris IOD definitions
@@ -826,10 +826,18 @@ definitions: desc: Clock reference - iode: type: u8 - desc: Issue of ephemeris data + desc: | + Issue of ephemeris data + + Calculated from the navigation data parameter t_oe per RTCM/CSNO recommendation: + IODE = mod (t_oe / 720, 240) - iodc: type: u16 - desc: Issue of clock data + desc: | + Issu...
fib: copy the path extentions when creating fib src rr entry Type: fix
#include "fib_entry_cover.h" #include "fib_entry.h" #include "fib_table.h" +#include "fib_path_ext.h" /* * fib_entry_src_rr_resolve_via_connected @@ -93,6 +94,7 @@ fib_entry_src_rr_use_covers_pl (fib_entry_src_t *src, { fib_node_index_t *entries = NULL; dpo_proto_t proto; + fib_entry_src_t *s; proto = fib_proto_to_dpo(...
xive: Workaround a problem with indirect TM access A HW issue can cause accesses to the content of the indirect data area to pass the actual selection of the target thread. The workaround is to read the PC_TCTXT_INDIR0 register back before accessing the data area.
@@ -3935,6 +3935,11 @@ static void xive_cleanup_cpu_tma(struct cpu_thread *c) PC_TCTXT_INDIR_VALID | SETFIELD(PC_TCTXT_INDIR_THRDID, 0ull, c->pir & 0xff)); + /* Workaround for HW issue: Need to read the above register + * back before doing the subsequent accesses + */ + xive_regr(x, PC_TCTXT_INDIR0); + /* Pull user con...
error: trying to fix LibAddLib to get macro name
@@ -20,10 +20,18 @@ function (add_lib name) add_cppheaders (ARG_SOURCES) endif (ARG_CPP) + set_additional_compile_definitions (${name}) + if (BUILD_SHARED) add_library (elektra-${name} SHARED ${ARG_SOURCES}) add_dependencies (elektra-${name} kdberrors_generated elektra_error_codes_generated ${ARG_LINK_ELEKTRA}) + set_p...
fix(warning): resolve the warning of boathlfabric_discovery.c
@@ -868,7 +868,7 @@ BOAT_RESULT BoatHlfabricDiscoverySubmit(BoatHlfabricTx *tx_ptr, const BoatHlfabr } discoverResult.discoverConfig.discoverOrders.discoverOrderinfo = BoatMalloc(discoverResult.discoverConfig.discoverOrders.num * sizeof(orderInfo)); if(NULL == discoverResult.discoverConfig.discoverOrders.discoverOrderi...
Bug fix for issue introduced in preventing dragging of scene switch destination markers
@@ -239,7 +239,7 @@ export default function editor(state = initialState.editor, action) { x: action.x, y: action.y }, - eventId: "" + eventId: state.dragging === "" ? "" : state.eventId }; } case ACTOR_HOVER: {
add parameter plot=True in hyperparam tutorial
" 'depth':[4, 6, 10],\n", " 'l2_leaf_reg': [1, 3, 5, 7, 9]\n", "}\n", - "grid_search_results = titanic_model.grid_search(grid, train_pool, shuffle=False, verbose=3)" + "grid_search_results = titanic_model.grid_search(grid, train_pool, shuffle=False, verbose=3, plot=True)" ] }, { " 'bootstrap_type':['Bernoulli'],\n", " ...
Initialize inlen to 0 in lib_dnscache.c Uninitialized data is read from local variable 'inlen' at lib_dnscache.c:295. The variable is uninitialized at lib_dnscache.c:295.
@@ -267,7 +267,7 @@ int dns_find_answer(FAR const char *hostname, FAR struct sockaddr *addr, FAR soc */ if (strncmp(hostname, entry->name, CONFIG_NETDB_DNSCLIENT_NAMESIZE) == 0) { - socklen_t inlen; + socklen_t inlen = 0; /* We have a match. Return the resolved host address */
sys/log: Add read_mbuf handler to log_cbmem
@@ -73,6 +73,22 @@ log_cbmem_read(struct log *log, void *dptr, void *buf, uint16_t offset, return (rc); } +static int +log_cbmem_read_mbuf(struct log *log, void *dptr, struct os_mbuf *om, + uint16_t offset, uint16_t len) +{ + struct cbmem *cbmem; + struct cbmem_entry_hdr *hdr; + int rc; + + cbmem = (struct cbmem *) log...
C++ API: remove deprecated throw lists
@@ -587,8 +587,7 @@ private: return &my_id; } - Msg (Connection &con, void *shm_data) throw (Msg_not_available_exception) - : con{con} + Msg (Connection &con, void *shm_data) : con{con} { if (!con.is_msg_available (get_msg_id ())) { @@ -599,8 +598,7 @@ private: this, shm_data); } - void assign_response (vapi_msg_id_t r...
Fix .toUtf8() compilation error, not supported on ann Qt versions
@@ -1622,7 +1622,7 @@ int DeRestPluginPrivate::handleWebHook(const RuleAction &action) { QNetworkRequest req(QUrl(action.address())); - if (webhookManager->sendCustomRequest(req, action.method().toUtf8(), action.body().toUtf8()) != nullptr) + if (webhookManager->sendCustomRequest(req, qPrintable(action.method()), qPrin...
doxygen: Fix some paths Add missing src dir. Exclude 'src/examples' from siphon processing so that example cli commands don't end up in user documentation.
@@ -54,6 +54,7 @@ DOXY_SRC_DIRECTORIES = \ $(DOXY_SRC)/vnet \ $(DOXY_SRC)/vpp \ $(DOXY_SRC)/vpp-api \ + $(DOXY_SRC)/uri \ $(DOXY_SRC)/examples # Input directories and files @@ -72,7 +73,7 @@ DOXY_INPUT := $(subst $(WS_ROOT)/,,$(DOXY_INPUT)) # there's a DPDK equivalent that conflicts. # These must be left-anchored paths...
kernel/binary_manager_load.c : Fix to get binary count To reload the all binaries, it iterates the all binary based on bin_count. But bin_count is not set properly. binary_manager/binary_manager_load.c:561:2: warning: 'bin_count' may be used uninitialized in this function [-Wmaybe-uninitialized] for (bin_idx = 1; bin_i...
@@ -531,7 +531,7 @@ static int update_thread(int argc, char *argv[]) { int ret; int bin_idx; - uint32_t bin_count; + uint32_t bin_count = binary_manager_get_ucount(); binmgr_bpinfo_t bp_info; /* Get the latest bootparam */
Fix incorrect brick cleanup FreeBridge used free to clean up the pointer allocated by my_mmap, which is incorrect and lead to a crash upon code that exited gracefully. The free was replaced with my_munmap.
#include <pthread.h> #include <sys/mman.h> +#include <wrappedlibs.h> #include "custommem.h" #include "bridge.h" #include "bridge_private.h" @@ -59,13 +60,14 @@ void FreeBridge(bridge_t** bridge) if(!bridge || !*bridge) return; brick_t *b = (*bridge)->head; + x64emu_t* emu = thread_get_emu(); while(b) { brick_t *n = b->...
pyocf: remove Queue objects from Cache::start() params ... since a started cache is required to construct a queue object. Instead add params to control whether to construct and register management and default I/O queue in start(). Additionally introducing Cache method to register additional I/O queues.
@@ -205,10 +205,7 @@ class Cache: self.cores = [] def start_cache( - self, - default_io_queue: Queue = None, - mngt_queue: Queue = None, - locked: bool = False, + self, init_mngmt_queue=True, init_default_io_queue=True, locked: bool = False, ): cfg = CacheConfig( _name=self.name.encode("ascii"), @@ -231,20 +228,24 @@ c...
docs: Removing battery disables HW write protection BRANCH=none TEST=none
@@ -53,6 +53,9 @@ documentation][wp_screw]. Older Chrome OS devices had a write protect screw that had to be physically removed. More details on this history can be found here: http://go/cros-wp-status. +Another way of disabling hardware write protection is to remove the battery; +this method is mainly used during brin...
add 2 getter functions for offset attribute.
@@ -343,6 +343,30 @@ bool lv_img_get_auto_size(const lv_obj_t * img) return ext->auto_size == 0 ? false : true; } +/** + * Get the offset.x attribute of the img object. + * @param img pointer to an image + * @return offset.x value. + */ +lv_coord_t lv_img_get_offset_x(lv_obj_t *img) +{ + lv_img_ext_t * ext = lv_obj_get...
rename microbit[py] to MicroPython[NRF51822_microbit]
Binary files a/mixly_arduino/Mixly.jar and b/mixly_arduino/Mixly.jar differ
doc: fix v5.10-rc4 release date
skiboot-5.10-rc4 ================ -skiboot v5.10-rc4 was released on Wednesday February 2st 2018. It is the fourth +skiboot v5.10-rc4 was released on Wednesday February 21st 2018. It is the fourth release candidate of skiboot 5.10, which will become the new stable release of skiboot following the 5.9 release, first rel...
chat-cli: fixed chat-cli bugs
:: ++ on-init ^- (quip card _this) - =^ cards all-state (prep:tc ~) - [cards this] + :- [connect:tc]~ + %_ this + audience [[our-self /] ~ ~] + settings (sy %showtime %notify ~) + width 80 + == :: - ++ on-save - !>(all-state) + ++ on-save !>(all-state) :: ++ on-load |= old-state=vase %fact ?+ p.cage.sign ~|([%chat-cli-...
Changed RSK Ticker SBTC->RBTC
@@ -71,11 +71,11 @@ DEFINES += CHAINID_UPCASE=\"POA\" CHAINID_COINNAME=\"POA\" CHAIN_KIND=CHAIN_KIND APPNAME = "POA" else ifeq ($(CHAIN),rsk) APP_LOAD_PARAMS += --path "44'/137'" -DEFINES += CHAINID_UPCASE=\"RSK\" CHAINID_COINNAME=\"SBTC\" CHAIN_KIND=CHAIN_KIND_RSK CHAIN_ID=30 +DEFINES += CHAINID_UPCASE=\"RSK\" CHAINID...
documented restrictions on input parameter
@@ -223,7 +223,11 @@ namespace NPrivate { } -/// generate arithmetic progression that starts at start with certain step and stop at finish (not including) +/** + * generate arithmetic progression that starts at start with certain step and stop at finish (not including) + * + * @param step must be non-zero + */ template...
ExtendedTools: Fix string references
@@ -835,7 +835,7 @@ VOID PhpQueryHostnameForEntry( while (PhEnumHashtable(EtFwResolveCacheHashtable, (PVOID*)&entry, &i)) { if ((*entry)->HostString) - PhReferenceObject((*entry)->HostString); + PhDereferenceObject((*entry)->HostString); PhFree(*entry); } @@ -1092,9 +1092,9 @@ BOOLEAN EtFwGetFilterDisplayData( while (P...
links: fix broken Input import
import React, { useCallback } from "react"; import { RouteComponentProps } from "react-router-dom"; -import { Box, Input, Col } from "@tlon/indigo-react"; +import { Box, ManagedTextInputField as Input, Col } from "@tlon/indigo-react"; import { Formik, Form } from "formik"; import * as Yup from "yup"; @@ -69,7 +69,7 @@ ...
ENHANCE: do exact search instead of full scan when do flush_prefix.
@@ -131,7 +131,7 @@ void stats_prefix_clear() { } int stats_prefix_delete(const char *prefix, const size_t nprefix) { - PREFIX_STATS *curr, *next, *prev; + PREFIX_STATS *curr, *prev; int hidx; int ret = -1; @@ -153,6 +153,23 @@ int stats_prefix_delete(const char *prefix, const size_t nprefix) { ret = 0; } } else { /* n...
# better logging append instead of overwrite, record restarts and crashes
@@ -33,6 +33,19 @@ fi [ -e ~/.instantsession ] && source ~/.instantsession +ILOGFILE="$HOME/.local/share/instantos.log" + +if iconf -i debug; then + export INSTANTDEBUG="true" +fi + +if [ -z "$INSTANTDEBUG" ]; then + if [ -e "$ILOGFILE" ] && [ "$(du -sm "$ILOGFILE" | grep -o '^[0-9]*')" -gt 20 ]; then + echo "log file ...
chat: make code blocks inherit from input color
@@ -244,7 +244,7 @@ pre.CodeMirror-placeholder.CodeMirror-line-like { } .chat .cm-s-tlon span.cm-comment { font-family: 'Source Code Pro'; - color: black; + color: inherit; background-color: var(--light-gray); display: inline-block; border-radius: 2px; @@ -366,12 +366,4 @@ pre.CodeMirror-placeholder.CodeMirror-line-lik...
fail with exception if user set doc-parallel and has non-power of 2 devices
@@ -82,15 +82,15 @@ namespace NCatboostCuda { return; } else { if (catBoostOptions.BoostingOptions->BoostingType == EBoostingType::Plain) { + if (catBoostOptions.BoostingOptions->DataPartitionType.NotSet()) { if (!couldUsedDocParallelBoosting) { MATRIXNET_WARNING_LOG << "Can't used doc-parallel data-partition for non-p...
Refuse to run the PYCA external test if configured 'no-shared' [extended tests]
@@ -23,6 +23,8 @@ SKIP: { if ! -f srctop_file("pyca-cryptography", "setup.py"); skip "PYCA tests not available on Windows or VMS", 1 if $^O =~ /^(VMS|MSWin32)$/; + skip "PYCA tests only available in a shared build", 1 + if disabled("shared"); ok(run(cmd(["sh", data_file("cryptography.sh")])), "running Python Cryptograp...
Update MARS stream descriptions for esmm and ehmm
1231 mmam Multi-model multi-annual forecast means 1232 mmaw Multi-model multi-annual forecast wave 1233 mmwm Multi-model multi-annual forecast wave means -1240 esmm EUROSIP monthly means -1241 ehmm EUROSIP hindcast monthly means +1240 esmm Combined multi-model monthly means +1241 ehmm Combined multi-model hindcast mont...
mesh: Resolve keys before logging subnet Moves the debug log printing the transport packet metadata to after the keys are resolved, so that the subnet pointer is valid. this is port of
@@ -642,15 +642,15 @@ int bt_mesh_trans_send(struct bt_mesh_net_tx *tx, struct os_mbuf *msg, return -EINVAL; } - BT_DBG("net_idx 0x%04x app_idx 0x%04x dst 0x%04x", tx->sub->net_idx, - tx->ctx->app_idx, tx->ctx->addr); - BT_DBG("len %u: %s", msg->om_len, bt_hex(msg->om_data, msg->om_len)); - err = bt_mesh_keys_resolve(t...
00-base-templates.conf: engage x25519-ppc64 module.
@@ -344,7 +344,7 @@ my %targets=( ppc64_asm => { inherit_from => [ "ppc32_asm" ], template => 1, - ec_asm_src => "ecp_nistz256.c ecp_nistz256-ppc64.s", + ec_asm_src => "ecp_nistz256.c ecp_nistz256-ppc64.s x25519-ppc64.s", keccak1600_asm_src => "keccak1600-ppc64.s", }, );
driver/ppc/rt1718s.c: Format with clang-format BRANCH=none TEST=none
#include "usbc_ppc.h" #include "util.h" - #define RT1718S_FLAGS_SOURCE_ENABLED BIT(0) static atomic_t flags[CONFIG_USB_PD_PORT_MAX_COUNT]; @@ -24,30 +23,24 @@ static atomic_t flags[CONFIG_USB_PD_PORT_MAX_COUNT]; static int read_reg(uint8_t port, int reg, int *val) { if (reg > 0xFF) { - return i2c_read_offset16( - ppc_c...
change behavior of semantic errors to warnings for secondary behavior
@@ -1696,21 +1696,41 @@ zadd_rdata_svcb_check_wireformat() if (paramkeys[key]) ; /* pass */ - else if (key < SVCPARAMKEY_COUNT) + else if (key < SVCPARAMKEY_COUNT) { + if(zone_is_slave(parser->current_zone->opts)) + zc_warning_prev_line("mandatory SvcParamKey: %s is missing " + "the record\n", svcparamkey_strs[key]); +...
Send PMTUD when there is no Handshake CRYPTO to send Send PMTUD when there is no Handshake CRYPTO to send in order not to interfere multi-packet Handshake messages from client(e.g., client certificate). Saving CWND for Handshake CRYPTO is also nice in early phase of the connection.
@@ -11632,7 +11632,9 @@ ngtcp2_ssize ngtcp2_conn_write_vmsg(ngtcp2_conn *conn, ngtcp2_path *path, } } - if (conn->pmtud) { + if (conn->pmtud && + (!conn->hs_pktns || + ngtcp2_ksl_len(&conn->hs_pktns->crypto.tx.frq) == 0)) { nwrite = conn_write_pmtud_probe(conn, pi, dest, origdestlen, ts); if (nwrite) { goto fin;
eliminated std print statements in validation.cpp
@@ -3248,7 +3248,7 @@ bool ProcessNewBlock(const CChainParams& chainparams, const std::shared_ptr<cons return error("%s: ActivateBestChain failed", __func__); // std::cout << "Process block 4" << std::endl; auto successNonce = pblock->nNonce; - std::cout << "Success nonce ProcessBlock: " << std::hex << successNonce << ...
Fix memory leak in pkcs12 -export
@@ -204,6 +204,9 @@ int PKCS12_setup_mac(PKCS12 *p12, int iter, unsigned char *salt, int saltlen, { X509_ALGOR *macalg; + PKCS12_MAC_DATA_free(p12->mac); + p12->mac = NULL; + if ((p12->mac = PKCS12_MAC_DATA_new()) == NULL) return PKCS12_ERROR; if (iter > 1) {
Fixed include path to CMSIS-Core-M header files in overview.
@@ -27,7 +27,7 @@ Files relevant to CMSIS-Core-M are present in the following <b>ARM::CMSIS</b> di |File/Folder |Content | |------------------------------|------------------------------------------------------------------------| |\b CMSIS\\Documentation\\Core | This documentation | -|\b CMSIS\\Include | CMSIS-Core-M he...
Toyota Safety: fix in input param
@@ -155,9 +155,10 @@ static int toyota_tx_lin_hook(int lin_num, uint8_t *data, int len) { return true; } -static void toyota_init(int16_t dbc_eps_torque_factor) { +static void toyota_init(int16_t param) { controls_allowed = 0; actuation_limits = 1; + dbc_eps_torque_factor = param; } const safety_hooks toyota_hooks = { ...
Ensure plane2_component is initialized to keep SA happy This is not a bug; the field is never dereferenced for the block mode used, but ensuring it is initialized keeps static analysis happy ...
@@ -469,6 +469,7 @@ static float compress_symbolic_block_for_partition_1plane( // Store header fields workscb.partition_count = partition_count; workscb.partition_index = partition_index; + workscb.plane2_component = -1; workscb.quant_mode = workscb.color_formats_matched ? color_quant_level_mod[i] : color_quant_level[i...
Configure: allow building without things deprecated up to and including v3.0
@@ -43,8 +43,9 @@ my $usage="Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [-Dxxx] [-lx # # --cross-compile-prefix Add specified prefix to binutils components. # -# --api One of 0.9.8, 1.0.0 or 1.1.0. Do not compile support for -# interfaces deprecated as of the specified OpenSSL version. +# --api One of 0.9...
stats: we always decode fixed length stats
@@ -91,7 +91,6 @@ stats_conf_set(int argc, char **argv, char *val) struct stats_hdr *hdr; size_t size; void *data; - int decode_len; if (argc == 1) { hdr = stats_group_find(argv[0]); @@ -99,14 +98,8 @@ stats_conf_set(int argc, char **argv, char *val) size = stats_size(hdr); data = stats_data(hdr); - decode_len = base64...
minimum libevent version is 2.x 1.4 is crazy old now :(
@@ -8381,15 +8381,11 @@ static bool sanitycheck(void) { const char *ever = event_get_version(); if (ever != NULL) { if (strncmp(ever, "1.", 2) == 0) { - /* Require at least 1.3 (that's still a couple of years old) */ - if (('0' <= ever[2] && ever[2] < '3') && !isdigit(ever[3])) { - fprintf(stderr, "You are using libeve...
Add PhSetEnvironmentVariableZ
@@ -302,6 +302,43 @@ PhSetEnvironmentVariable( _In_opt_ PPH_STRINGREF Value ); +FORCEINLINE +NTSTATUS +NTAPI +PhSetEnvironmentVariableZ( + _In_opt_ PVOID Environment, + _In_ PWSTR Name, + _In_opt_ PWSTR Value + ) +{ + if (Value) + { + PH_STRINGREF name; + PH_STRINGREF value; + + PhInitializeStringRef(&name, Name); + Ph...
update arch package
@@ -4,28 +4,30 @@ pkgname=kadnode pkgver=2.0.0 pkgrel=1 -pkgdesc='A P2P based DNS service using the Kademlia Distributed Hash Table (DHT)' +pkgdesc='A P2P based DNS resolver' arch=('x86_64' 'i686') url='http://github.com/mwarning/KadNode' license=('MIT') -depends=('libmbedtls') +depends=('mbedtls') backup=('etc/kadnode...
comment: bgcolors to 3, default to comment
@@ -32,6 +32,7 @@ static t_class *makeshift_class; #define COMMENT_HANDLEWIDTH 8 #define COMMENT_OUTBUFSIZE 1000 +#define COMMENT_NUMCOLORS 3 typedef struct _comment { t_object x_ob; @@ -69,7 +70,7 @@ typedef struct _comment t_symbol *x_selector; //new args that currently do nothing - DK 2017 - t_float x_bgcolor[4]; + ...
upstream: increment keepalive counter
@@ -338,6 +338,7 @@ int flb_upstream_conn_release(struct flb_upstream_conn *conn) flb_debug("[upstream] KA connection #%i to %s:%i is now available", conn->fd, conn->u->tcp_host, conn->u->tcp_port); + conn->ka_count++; return 0; }
Version v2.5
// These need to be macros, as version.cpp's and bitcoin-qt.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 2 -#define CLIENT_VERSION_MINOR 4 -#define CLIENT_VERSION_REVISION 9 -#define CLIENT_VERSION_BUILD 8 +#define CLIENT_VERSION_MINOR 5 +#define CLIENT_VERSION_REVISION 0 +#define CLIENT_VERSION_BUILD 0 // Conv...
story: misc clean up
++ dif-ju |= [a=story b=story] ^- story - :: uno := (a-b) + (merged items in both a and b) + (b-a) - :: ret := (a-b) + (merged items in both a and b) - :: ret = (~(int by a) uno) :: preserve only the entries whose keys are in a - :: - :: :: if 0 is the empty set, :: a \ 0 = a - :: 0 \ b = 0 :: anything not in 0 but in ...
guard for non-presence of mug in _ch_trim_node
@@ -214,8 +214,13 @@ _ch_trim_node(u3h_root* har_u, u3h_slot* sot_w, c3_w lef_w, c3_w rem_w) lef_w -= 5; bit_w = (rem_w >> lef_w); - rem_w = (rem_w & ((1 << lef_w) - 1)); map_w = han_u->map_w; + + if ( 0 == (map_w & (1 << bit_w)) ) { + return c3n; + } + + rem_w = (rem_w & ((1 << lef_w) - 1)); inx_w = _ch_popcount(map_w...
Use bilinear filtering for basemap text rendering. This gives better sharpness/readability due to SDF properties
@@ -2126,9 +2126,10 @@ namespace carto { namespace vt { CompiledBitmap compiledBitmap; auto itBitmap = _compiledBitmapMap.find(bitmap); if (itBitmap == _compiledBitmapMap.end()) { + bool genMipMaps = false; // turn off mipmap creation as most labels are SDF texts compiledBitmap.texture = createTexture(); glBindTexture(...
removes duplication %behn initialization
@@ -1104,10 +1104,6 @@ _pier_boot_vent(u3_pier* pir_u) u3_ames_ef_bake(pir_u); u3a_lop(cod_l); - - cod_l = u3a_lush(c3__behn); - u3_behn_ef_bake(pir_u); - u3a_lop(cod_l); } // insert legacy boot event
minimal: Disable stack protector, unwind tables, set stack align to 4. These are the options typically enabled in modern compilers, which bloat executable size largely. Default stack alignment of 16 on x86 also contributes to the code size. With these options, stripped executable size for x86 is under 100K.
@@ -34,6 +34,11 @@ CFLAGS += -O0 -ggdb else CFLAGS += -Os -DNDEBUG CFLAGS += -fdata-sections -ffunction-sections +CFLAGS += -fno-stack-protector +CFLAGS += -fno-unwind-tables -fno-asynchronous-unwind-tables +ifneq ($(CROSS), 1) +CFLAGS += -mpreferred-stack-boundary=2 +endif endif LIBS =
Jenkins: Do not test Elektra on Debian Jessie
@@ -307,15 +307,6 @@ def dockerInit() { "./scripts/docker/debian/stretch/doc.Dockerfile" ) - /* A Debian oldoldstable image used for testing backwards compatibility. - (will be removed on problems) - */ - DOCKER_IMAGES.jessie = createDockerImageDesc( - "debian-jessie", this.&idTesting, - "./scripts/docker/debian/jessie...
CommentItem: use unified graph rendering
@@ -15,6 +15,7 @@ import { getLatestCommentRevision } from '~/logic/lib/publish'; import {useCopy} from '~/logic/lib/useCopy'; import { getPermalinkForGraph} from '~/logic/lib/permalinks'; import useMetadataState from '~/logic/state/metadata'; +import {GraphContentWide} from '../landscape/components/Graph/GraphContentW...
add: PINSRB instruction
@@ -569,6 +569,12 @@ void Run660F(x86emu_t *emu) ED->dword[0] = GX.ud[tmp8u&3]; break; + case 0x20: // PINSRB GX, Ed, Ib + nextop = F8; + GET_ED; + tmp8u = F8; + GX.ub[tmp8u&0xF] = ED->byte[0]; // only low 8bits + break; case 0x21: // INSERTPS GX, EX, u8 nextop = F8; GET_EX;
docs: update example lustre client mount; previous variant not working consistently with latest version and centos7.5.
# Include mount point and file system mount in compute image [sms](*\#*) mkdir $CHROOT/mnt/lustre -[sms](*\#*) echo "${mgs_fs_name} /mnt/lustre lustre defaults,_netdev,localflock,retry=2 0 0" >> $CHROOT/etc/fstab +[sms](*\#*) echo "${mgs_fs_name} /mnt/lustre lustre defaults,localflock,noauto,x-systemd.automount 0 0" \ ...
panic: ignore deliberate null dereference to pass static analysis
@@ -338,6 +338,6 @@ void __attribute__((noreturn)) panic_abort(const char *details) #endif #endif - *((int *) 0) = 0; // should be an invalid operation on targets + *((int *) 0) = 0; // NOLINT(clang-analyzer-core.NullDereference) should be an invalid operation on targets while(1); } \ No newline at end of file
[awm2] Hosted awm emulates mouse status bytes
@@ -61,6 +61,14 @@ pub fn main() -> Result<(), Box<dyn error::Error>> { let scale_factor = 2; let mut last_cursor_pos = None; + let mut is_left_click_down = false; + let get_mouse_status_byte = |left_click_down| -> i8 { + let mut out = 0; + if left_click_down { + out |= (1 << 0); + } + out + }; event_loop.run(move |eve...
grid: Show provider nicknames next to actual ship name in leap search
@@ -34,7 +34,10 @@ export const ProviderLink = ({ > <Avatar size={size} {...provider} /> <div className="flex-1 text-black"> - <p className="font-mono">{provider.nickname || <ShipName name={provider.shipName} />}</p> + <div className="flex font-mono space-x-4"> + <ShipName name={provider.shipName} /> + <span className=...
Shell Recorder: Use proper version of `kdb` The Shell Recorder now uses `kdb-full` or `kdb-static` to run commands, if `kdb` is not available.
@@ -34,7 +34,8 @@ execute() fi [ -z "$Storage" ] && Storage="dump" - command=$(printf '%s' "$proto" | sed -e "s~\$Mountpoint~${Mountpoint}~g" \ + command=$(printf '%s' "$proto" | sed -e "s~kdb\ ~$KDB_BINARY ~g" \ + -e "s~\$Mountpoint~${Mountpoint}~g" \ -e "s~\$File~${DBFile}~g" \ -e "s~\$Storage~${Storage}~g" \ -e "s~\...
added more validity checks for ppp chap packets
@@ -4610,7 +4610,15 @@ if(chaplen < 16) { return; } -if((authlen < 16) || (authlen > (chaplen -CHAP_SIZE))) +if(authlen < 16) + { + return; + } +if(authlen > (chaplen -CHAP_SIZE)) + { + return; + } +if((chaplen -authlen -CHAP_SIZE) < 1) { return; }
doc: add note to indicate that the OBJ_ functions were not thread safe in 3.0 Also remove OBJ_thread from the list of non-threadsafe functions.
@@ -73,8 +73,8 @@ For implicit global state or singletons, thread-safety depends on the facility. The L<CRYPTO_secure_malloc(3)> and related API's have their own lock, while L<CRYPTO_malloc(3)> assumes the underlying platform allocation will do any necessary locking. -Some API's, such as L<NCONF_load(3)> and related, o...
Use the correct bits to detect 3-button.
@@ -649,9 +649,11 @@ static u16 read6Btn(u16 port) v1 = TH_CONTROL_PHASE(pb); /* - 0 s a 0 0 d u - 1 c b r l d u */ val = TH_CONTROL_PHASE(pb); /* - 0 s a 0 0 d u - 1 c b r l d u */ v2 = TH_CONTROL_PHASE(pb); /* - 0 s a 0 0 0 0 - 1 c b m x y z */ - val = TH_CONTROL_PHASE(pb); /* - 0 s a 1 1 1 1 - 1 c b r l d u */ + val...
[core] perf: simpler buffer_string_space()
@@ -194,9 +194,7 @@ static inline size_t buffer_string_length(const buffer *b) { } static inline size_t buffer_string_space(const buffer *b) { - if (NULL == b || b->size == 0) return 0; - if (0 == b->used) return b->size - 1; - return b->size - b->used; + return NULL != b ? b->size - (0 != b->used) : 0; } static inline...
Use < 0 and > 0 for strCmp() tests. Using -1 and 1 was a bit sloppy since the spec only guarantees that the values will be < 0 and > 0. Found on arm64 where the values were -64 and 64.
@@ -140,20 +140,20 @@ testRun(void) TEST_RESULT_BOOL(strEq(NULL, NULL), true, "null is equal to null"); TEST_RESULT_INT(strCmp(STRDEF("equalstring"), STRDEF("equalstring")), 0, "strings equal"); - TEST_RESULT_INT(strCmp(STRDEF("a"), STRDEF("b")), -1, "a < b"); - TEST_RESULT_INT(strCmp(STRDEF("b"), STRDEF("a")), 1, "b >...
test_suite_cmac.data: fix bug: use cipher type instead cipher id
@@ -22,15 +22,15 @@ mbedtls_cmac_setkey:MBEDTLS_CIPHER_DES_EDE3_ECB:192:0 CMAC init #5 AES-224: bad key size depends_on:MBEDTLS_AES_C -mbedtls_cmac_setkey:MBEDTLS_CIPHER_ID_AES:224:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA +mbedtls_cmac_setkey:MBEDTLS_CIPHER_AES_128_ECB:224:MBEDTLS_ERR_CIPHER_BAD_INPUT_DATA CMAC init #6 AES-0:...
Better argument name
@@ -88,7 +88,7 @@ typedef struct clap_plugin_audio_ports { // selects the configuration designated by id // returns true if the configuration could be applied // [main-thread,plugin-deactivated] - bool (*set_config)(const clap_plugin *plugin, clap_id id); + bool (*set_config)(const clap_plugin *plugin, clap_id config_i...
sysdeps/managarm: Handle POLLERR/HUP in select()
@@ -1197,13 +1197,13 @@ int sys_select(int num_fds, fd_set *read_set, fd_set *write_set, int k = evnts[i].data.u32; if(read_set && FD_ISSET(k, read_set) - && evnts[i].events & EPOLLIN) { + && evnts[i].events & (EPOLLIN | EPOLLERR | EPOLLHUP)) { FD_SET(k, &res_read_set); m++; } if(write_set && FD_ISSET(k, write_set) - &...
Fix memory ownership. Fixes
"RealVector.getCPtr(new RealVector($csinput))" // Fix memory ownership of non-property methods returning -// std::vector<tinyspline::real> as pointer. -%newobject tinyspline::BSpline::controlPointAt; -%newobject tinyspline::BSpline::evalAll; -%newobject tinyspline::BSpline::sample; +// std::vector<tinyspline::real> as ...
fix memory leak & allocate more memory to CSR
@@ -36,7 +36,7 @@ oc_event_callback_retval_t generate_csr(void *data) { struct csr_callback_params *params = data; size_t device = params->device; - unsigned char *csr = malloc(512); + unsigned char *csr = malloc(1024); oc_set_separate_response_buffer(&csr_response); @@ -47,7 +47,7 @@ oc_event_callback_retval_t generat...
Patch maf.h so it can be included in C++ A C-only feature is used in one spot currently, which would be fine if maf.h were maf.c, but it's designed to be #included...
@@ -510,12 +510,13 @@ MAF mat4 mat4_translate(mat4 m, float x, float y, float z) { MAF mat4 mat4_rotateQuat(mat4 m, quat q) { float x = q[0], y = q[1], z = q[2], w = q[3]; - return mat4_multiply(m, (float[16]) { + float m2[16] = { 1 - 2 * y * y - 2 * z * z, 2 * x * y + 2 * w * z, 2 * x * z - 2 * w * y, 0, 2 * x * y - 2...
remove WAT Note: mandatory check (NEED_CHECK) was skipped
@@ -206,9 +206,6 @@ namespace NCatboostCuda { } const NCudaLib::TDistributedObject<TCFeature>& GetTCFeature(ui32 featureId) const { - if (!HasFeature(featureId)) { - Cout << "WAT" << Endl; - } CB_ENSURE(HasFeature(featureId)); if (HasFeatures() && GetFeatures().HasFeature(featureId)) { return GetFeatures().GetTCFeature...
include/update_fw.h: Format with clang-format BRANCH=none TEST=none
@@ -235,8 +235,7 @@ struct touchpad_info { */ BUILD_ASSERT(sizeof(struct touchpad_info) <= 50); -void fw_update_command_handler(void *body, - size_t cmd_size, +void fw_update_command_handler(void *body, size_t cmd_size, size_t *response_size); /* Used to tell fw update the update ran successfully and is finished */
change handshake psk key type for tls13 PSK key type of TLS1.3 must be HKDF_EXTRACT and the algo is decided when create binder
@@ -1693,7 +1693,7 @@ int mbedtls_ssl_set_hs_psk( mbedtls_ssl_context *ssl, #if defined(MBEDTLS_USE_PSA_CRYPTO) psa_key_attributes_t key_attributes = psa_key_attributes_init(); psa_status_t status; - psa_algorithm_t alg; + psa_algorithm_t alg = PSA_ALG_ANY_HASH; mbedtls_svc_key_id_t key; #endif /* MBEDTLS_USE_PSA_CRYPT...
kdberrors: out of memory text is now predefined for warnings
@@ -62,7 +62,7 @@ using KeySet = ckdb::KeySet; #define ELEKTRA_ADD_OUT_OF_MEMORY_WARNING(key) \ do \ { \ - ELEKTRA_LOG ("Add Warning %s: %s", ELEKTRA_WARNING_OUT_OF_MEMORY, reason); \ + ELEKTRA_LOG ("Add Warning %s: %s", ELEKTRA_WARNING_OUT_OF_MEMORY, "Memory allocation failed"); \ elektraAddWarningOUT_OF_MEMORY (key, ...
docs: remove link to i2c specs
@@ -340,7 +340,7 @@ During driver installation, an interrupt handler is installed by default. Customized Configuration ^^^^^^^^^^^^^^^^^^^^^^^^ -As mentioned at the end of Section :ref:`i2c-api-configure-driver`, when the function :cpp:func:`i2c_param_config` initializes the driver configuration for an I2C port, it als...
right click on startmenu brings up quickmenu
@@ -366,4 +366,5 @@ static Button buttons[] = { { ClkShutDown, 0, Button2, spawn, {.v = oslockcmd } }, { ClkSideBar, 0, Button1, gesturemouse, {0} }, { ClkStartMenu, 0, Button1, spawn, {.v = startmenucmd}}, + { ClkStartMenu, 0, Button3, spawn, {.v = quickmenucmd}}, };
Add main page documentation
* - <a href="https://github.com/MaJerle/ESP_AT_Lib">Official development repository on Github</a> * - <a href="http://www.espressif.com/sites/default/files/documentation/4a-esp8266_at_instruction_set_en.pdf">Official AT commands instruction set by Espressif systems</a> * + * \section sect_contribute How to contribute +...
repo: correct the comment for `Repository#empty?`
@@ -1460,8 +1460,8 @@ static VALUE rb_git_repo_is_shallow(VALUE self) * call-seq: * repo.empty? -> true or false * - * Return whether a repository is empty or not. An empty repository has just - * been initialized and has no commits yet. + * Return whether a repository is empty or not. An empty repository has HEAD + * ...
test: psa_pake: fix dependency
@@ -99,7 +99,7 @@ depends_on:PSA_WANT_KEY_TYPE_ECC_KEY_PAIR:PSA_WANT_ECC_SECP_R1_256:PSA_WANT_ALG_ ecjpake_rounds:PSA_ALG_JPAKE:PSA_PAKE_PRIMITIVE(PSA_PAKE_PRIMITIVE_TYPE_ECC, PSA_ECC_FAMILY_SECP_R1, 256):PSA_ALG_SHA_256:PSA_ALG_TLS12_PSK_TO_MS(PSA_ALG_SHA_256):"abcdef":0:0:ERR_NONE PSA PAKE: check rounds w/o forced er...
Compare EOM as a char not a string.
@@ -178,10 +178,6 @@ remoteConfig() do { numtries++; rc = g_fn.recv(fds.fd, buf, sizeof(buf), MSG_DONTWAIT); - /* - * TODO: if we get an error, we don't get the whole file - * When we support ndjson look for new line as EOF - */ if (rc <= 0) { if (errno == 0) { // This is the case where we lost connection @@ -207,7 +20...
Removed unnecessary set_current_thread
@@ -204,7 +204,6 @@ void thread_sleep_interruptible(void) assert(current->blocked_on); thread_log(current, "sleep interruptible (on \"%s\")", blockq_name(current->blocked_on)); ftrace_thread_switch(current, 0); - set_current_thread(0); kern_unlock(); runloop(); } @@ -216,7 +215,6 @@ void thread_sleep_uninterruptible(vo...
hdc-1000-sensor.c: fix uninitialized variable warning Declare variables closer to when they are used and initialize rv to 0 to convince Clang that the variable is initialized.
@@ -211,10 +211,6 @@ notify_ready(void *not_used) static int value(int type) { - int rv; - float temp; - float hum; - if(enabled != HDC_1000_SENSOR_STATUS_READINGS_READY) { PRINTF("Sensor disabled or starting up (%d)\n", enabled); return CC26XX_SENSOR_READING_ERROR; @@ -224,17 +220,20 @@ value(int type) type != HDC_100...
more concise comments in s2n.h
@@ -67,12 +67,12 @@ typedef enum { } s2n_tls_extension_type; typedef enum { - S2N_TLS_MAX_FRAG_LEN_EXT_NONE, /*!< don't use the extension */ - S2N_TLS_MAX_FRAG_LEN_512, /*!< MaxFragmentLength 2^9 */ - S2N_TLS_MAX_FRAG_LEN_1024, /*!< MaxFragmentLength 2^10 */ - S2N_TLS_MAX_FRAG_LEN_2048, /*!< MaxFragmentLength 2^11 */ -...
doc: line break after : make style consistent
@@ -5,7 +5,8 @@ This document takes preference to the actual situation. If you see documentation not according to this document, please [create an issue](https://issues.libelektra.org). Alternatively, you can directly fix it with your next PR. -> Note: It is always allowed to improve the documentation, in every PR, eve...
py/showbc: Fix off-by-one when showing address of unknown opcode.
@@ -540,7 +540,7 @@ const byte *mp_bytecode_print_str(const byte *ip) { mp_uint_t op = ip[-1] - MP_BC_BINARY_OP_MULTI; printf("BINARY_OP " UINT_FMT " %s", op, qstr_str(mp_binary_op_method_name[op])); } else { - printf("code %p, byte code 0x%02x not implemented\n", ip, ip[-1]); + printf("code %p, byte code 0x%02x not im...
vorbisenc: detect if new_template is NULL Fixes
@@ -1210,7 +1210,7 @@ int vorbis_encode_ctl(vorbis_info *vi,int number,void *arg){ hi->req, hi->managed, &new_base); - if(!hi->setup)return OV_EIMPL; + if(!new_template)return OV_EIMPL; hi->setup=new_template; hi->base_setting=new_base; vorbis_encode_setup_setting(vi,vi->channels,vi->rate);
Fixed how the Show CEL command obtains the DIMM ID. This addresses a bug where this command will fail to show CEL for all but the first DIMM.
@@ -292,7 +292,7 @@ ShowCelCommand( // Traverse each DIMM for (DimmIndex = 0; DimmIndex < DimmCount; DimmIndex++) { - if (DimmIdsNum > 0 && !ContainUint(pDimmIds, DimmIdsNum, pDimms[DimmIndex].DimmID)) { + if (!ContainUint(pDimmIds, DimmIdsNum, pDimms[DimmIndex].DimmID)) { continue; } @@ -309,7 +309,7 @@ ShowCelCommand...
examples/linux_ip: send multiple packets from one input
#include <net/if.h> #include <netinet/in.h> #include <netinet/ip.h> +#include <netinet/tcp.h> #include <sched.h> #include <stdarg.h> #include <stdint.h> #include <sys/socket.h> #include <sys/stat.h> #include <sys/types.h> +#include <sys/uio.h> #include <unistd.h> void HF_ITER(uint8_t**, size_t*); @@ -107,6 +109,8 @@ in...
CHANGELOG: mark v9.13.0
@@ -7,6 +7,8 @@ customers cannot upgrade their bootloader, its changes are recorded separately. ## Firmware ### [Unreleased] + +### 9.13.0 - Bitcoin: allow displaying BTC values in the 'sat' unit - Allow skipping the microSD card backup in favor of backing up using the recovery words - Allow arbitrary input sequence nu...
Use local BRAM to hold vex array
@@ -90,7 +90,7 @@ void action_wrapper(ap_uint<MEMDW> *din_gmem, ap_uint<MEMDW> *dout_gmem, ap_uint<64> commit_address; ap_uint<1> visited[MAX_VEX_NUM]; - ap_uint<VEX_WIDTH> i, root, current, vex_num; + ap_uint<VEX_WIDTH> i,j, root, current, vex_num; ap_uint<VEX_WIDTH> vnode_cnt; ap_uint<32> vnode_place; @@ -115,8 +115,...
tup: Lua also defines linux flag on android;
@@ -216,7 +216,7 @@ else 'lobject.c', 'lopcodes.c', 'loslib.c', 'lparser.c', 'lstate.c', 'lstring.c', 'lstrlib.c', 'ltable.c', 'ltablib.c', 'ltm.c', 'lundump.c', 'lvm.c', 'lzio.c' } - lua_cflags += ({ linux = '-DLUA_USE_LINUX', macos = '-DLUA_USE_MACOSX' })[target] or '' + lua_cflags += ({ linux = '-DLUA_USE_LINUX', an...
Remove Content-Length from chunked encoding Content-Length header should not be included when using chunked encoding. Some browsers will close the socket after seeing the 0 sized response instead of reading the chunks. Merges
@@ -296,7 +296,7 @@ esp_err_t httpd_resp_send_chunk(httpd_req_t *r, const char *buf, size_t buf_len) } struct httpd_req_aux *ra = r->aux; - const char *httpd_chunked_hdr_str = "HTTP/1.1 %s\r\nContent-Type: %s\r\nContent-Length: 0\r\nTransfer-Encoding: chunked\r\n"; + const char *httpd_chunked_hdr_str = "HTTP/1.1 %s\r\n...
BugID:24882677:[umesh2]add context for service found callback
@@ -241,7 +241,7 @@ static int stop(void *cbarg) } if (state->found_cb) { - state->found_cb(node, PEER_LOST); + state->found_cb(node, PEER_LOST, state->found_cb_ctx); } umesh_service_free(node); } @@ -431,7 +431,7 @@ static void callback_recv(void *p_cookie, int status, const struct mdns_entry *e service->last_update =...
Use lower case for p and r
* they must be set up and associated with the modulus \c N. Some * functions (typically constant-flow) require that the limbs in an * output residue are initialized. - * - Bignum parameters called \c P are inputs used to set up a modulus or + * - Bignum parameters called \c p are inputs used to set up a modulus or * re...
Reply for command args should be an array, not a set
@@ -4177,7 +4177,7 @@ void addReplyFlagsForArg(client *c, uint64_t flags) { } void addReplyCommandArgList(client *c, struct redisCommandArg *args, int num_args) { - addReplySetLen(c, num_args); + addReplyArrayLen(c, num_args); for (int j = 0; j<num_args; j++) { /* Count our reply len so we don't have to use deferred re...