message
stringlengths
6
474
diff
stringlengths
8
5.22k
MSVC cleanup MSVC compiler can be used with Ninja as well. However, the current CMake code doesn't account for it.
-set(VMA_LIBRARY_SOURCE_FILES +set(CMAKE_DEBUG_POSTFIX d) +set(CMAKE_RELWITHDEBINFO_POSTFIX rd) +set(CMAKE_MINSIZEREL_POSTFIX s) + +add_library(VulkanMemoryAllocator VmaUsage.cpp VmaUsage.h - "${PROJECT_SOURCE_DIR}/include/vk_mem_alloc.h" + ${PROJECT_SOURCE_DIR}/include/vk_mem_alloc.h ) -# Visual Studio only debugger s...
OcDevicepathLib: Get old DP node size in TrailedBooterDevicePath() and increase copy efficiency
@@ -388,18 +388,20 @@ TrailedBooterDevicePath ( // PciRoot(0x0)/Pci(...)/Pci(...)/Sata(...)/HD(...)/\com.apple.recovery.boot // - Size = GetDevicePathSize (DevicePath) + sizeof (CHAR16); - NewDevicePath = (EFI_DEVICE_PATH_PROTOCOL *) AllocatePool (Size); + Size = GetDevicePathSize (DevicePath); + NewDevicePath = (EFI_D...
Squashed 'opae-libs/' changes from 2fa56e65..38c747d8 Merge pull request from OPAE/aravuri/fix_ver opae-sdk: update opae release version to 2.0 git-subtree-dir: opae-libs git-subtree-split:
cmake_minimum_required(VERSION 2.8.12) project(opae-libs) -set(OPAE_VERSION_MAJOR 1 CACHE STRING "OPAE major version" FORCE) -set(OPAE_VERSION_MINOR 4 CACHE STRING "OPAE minor version" FORCE) +set(OPAE_VERSION_MAJOR 2 CACHE STRING "OPAE major version" FORCE) +set(OPAE_VERSION_MINOR 0 CACHE STRING "OPAE minor version" F...
cr50: move to prod RMA key The new key ID is set to zero. BRANCH=cr50, cr50-eve TEST=verified that prod server properly responds to the challenge generated by a CR50 running on Robo device.
@@ -352,13 +352,14 @@ enum nvmem_users { #define CONFIG_RMA_AUTH #define CONFIG_RNG -/* Dummy values to be replaced with real ones. */ +/* Should be eventually injected into the image at build time. */ #define CONFIG_RMA_AUTH_SERVER_PUBLIC_KEY { \ - 0x03, 0xae, 0x2d, 0x2c, 0x06, 0x23, 0xe0, 0x73, \ - 0x0d, 0xd3, 0xb7, ...
debug: correct taskbt/taskbtn usage message Correct taskbt/taskbtn cli command's usage message.
@@ -232,7 +232,7 @@ static void task_bt(char *buf, int32_t len, int32_t argc, char **argv) task_id = (uint32_t)strtoul(argv[1], 0, 10); break; default: - aos_cli_printf("task_bt <taskid>\r\n" + aos_cli_printf("taskbt <taskid>\r\n" "taskid : task id\r\n"); return; } @@ -255,7 +255,7 @@ static void task_btn(char *buf, in...
removes the option to set -l, -n, and -r (raft options)
@@ -90,7 +90,11 @@ _main_getopt(c3_i argc, c3_c** argv) u3_Host.ops_u.veb = c3n; u3_Host.ops_u.kno_w = DefaultKernel; - while ( (ch_i=getopt(argc, argv,"G:B:K:A:H:w:u:e:E:f:F:k:l:n:p:r:NabcdgqstvxPDRS")) != -1 ) { + u3_Host.ops_u.rop_s = 0; + u3_Host.ops_u.raf_c = 0; + u3_Host.ops_u.nam_c = 0; + + while ( (ch_i=getopt(...
[io] try to fix issue with fclib output
@@ -120,7 +120,7 @@ class FrictionContactTrace(FrictionContact): w_backup = self.w().copy() z_backup = self.z().copy() SO = self.numericsSolverOptions() - + fclib_written = False if self.condition(SO) and has_fclib: # problem = self.getNumericsProblemPtr() @@ -158,11 +158,12 @@ class FrictionContactTrace(FrictionContac...
docs: update ftm docs
@@ -1620,7 +1620,7 @@ Current implementation of 802.11k includes support for beacon measurement report Refer ESP-IDF example :idf_file:`examples/wifi/roaming/README.md` to set up and use these APIs. Example code only demonstrates how these APIs can be used, and the application should define its own algorithm and cases ...
Update main.c fixed display of AtomVM's exit value modified forever-loop at the end of main to avoid avoid console messages like task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time messages
@@ -67,9 +67,17 @@ void app_main() printf("Starting: %s...\n", startup_module_name); printf("---\n"); context_execute_loop(ctx, mod, "start", 0); - printf("Return value: %lx\n", (long) term_to_int32(ctx->x[0])); - - while(1); + term ret_value = ctx->x[0]; + fprintf(stderr, "AtomVM finished with return value = "); + ter...
[proxy] [test] t/50reverse-proxy-https.t replace wikipedia.org with localhost.examp1e.net because of connect errors
@@ -20,6 +20,14 @@ my $upstream = spawn_server( }, ); +my $examp1e_server = spawn_h2o(<< "EOT"); +hosts: + default: + paths: + "/": + file.dir: @{[ DOC_ROOT ]} +EOT + subtest "reverse-proxy" => sub { my $server = spawn_h2o(<< "EOT"); hosts: @@ -30,8 +38,9 @@ hosts: "/no-verify": proxy.reverse.url: https://127.0.0.1:$up...
[bsp][stm32] add rt_hw_us_delay
@@ -86,6 +86,41 @@ void _Error_Handler(char *s, int num) /* USER CODE END Error_Handler */ } +/** + * This function will delay for some us. + * + * @param us the delay time of us + */ +void rt_hw_us_delay(rt_uint32_t us) +{ + rt_uint32_t ticks; + rt_uint32_t told, tnow, tcnt = 0; + rt_uint32_t reload = SysTick->LOAD; +...
Remove unused fields from `ProcConfig`
@@ -23,20 +23,12 @@ type startConfig struct { type procConfig struct { Procname string `mapstructure:"procname,omitempty" json:"procname,omitempty" yaml:"procname,omitempty"` Arg string `mapstructure:"arg,omitempty" json:"arg,omitempty" yaml:"arg,omitempty"` - Hostname string `mapstructure:"hostname,omitempty" json:"ho...
Remove dependencies to external libraries for the dcd driver The core of tinyusb must be as independent as possible, we previously relied on nuclei-sdk or the GD32VF103 firmware library for the synopsys driver to work with the GD32VF103. Fortunatly we needed very few parts from them so we implement them here.
#define EP_FIFO_SIZE_FS 1280 #elif CFG_TUSB_MCU == OPT_MCU_GD32VF103 -#define STM32F1_SYNOPSYS -#include "gd32vf103.h" -#include "nmsis_core.h" -#include "core_feature_eclic.h" #include "synopsys_common.h" + +// These numbers are the same for the whole GD32VF103 family. +#define OTG_FS_IRQn 86 #define EP_MAX_FS 4 #defi...
Remove preinstall script from node port npm install in CMake environment (no guix).
@@ -33,7 +33,7 @@ source_group_by_path(${source_path} "\\\\.js$" if(NOT OPTION_BUILD_GUIX) add_custom_target(${target} ALL - COMMAND npm install + COMMAND npm install --ignore-scripts WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} SOURCES ${sources} )
fix r package build script
@@ -46,13 +46,13 @@ if %errorlevel% neq 0 exit /b %errorlevel% copy README.md catboost if %errorlevel% neq 0 exit /b %errorlevel% -xcopy R catboost /S /E +xcopy R catboost\R /S /E /I if %errorlevel% neq 0 exit /b %errorlevel% -xcopy inst catboost /S /E +xcopy inst catboost\inst /S /E /I if %errorlevel% neq 0 exit /b %e...
Sign zones with NSEC(3) TTL set to the minimum of the MINIMUM field of the SOA record and the TTL of the SOA itself per draft-ietf-dnsop-nsec-ttl-01
@@ -815,17 +815,24 @@ ldns_dnssec_zone_create_nsecs(ldns_dnssec_zone *zone, uint32_t nsec_ttl; ldns_dnssec_rrsets *soa; - /* the TTL of NSEC rrs should be set to the minimum TTL of - * the zone SOA (RFC4035 Section 2.3) + /* The TTL value for any NSEC RR SHOULD be the same TTL value as the + * lesser of the MINIMUM fie...
added examples to help menu
@@ -1557,7 +1557,12 @@ printf("%s %s (C) %s ZeroBeat\n" "--help : show this help\n" "--version : show version\n" "\n" - "If hcxpsktool recovered your password, you should change it immediately!\n" + "if hcxpsktool recovered your password, you should change it immediately!\n" + "\n" + "examples:\n" + "hcxpsktool -i hash...
Update 'Q' behavior
@@ -756,43 +756,46 @@ END_PHASE BEGIN_DUAL_PHASE_0(query) REALIZE_DUAL; + I32 data[3]; + data[0] = 0; // x + data[1] = 0; // y + data[2] = 0; // len + if (IS_AWAKE && DUAL_IS_ACTIVE) { + data[0] = (I32)index_of(PEEK(0, -3)); + data[1] = (I32)index_of(PEEK(0, -2)); + data[2] = (I32)index_of(PEEK(0, -1)); + STORE(data); ...
Add project email to CoC
@@ -60,7 +60,7 @@ representative at an online or offline event. Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at -FIXME. +[emailing the project team][email]. All complaints will be reviewed and investigated promptly and fairly. A...
OcBootManagementLib: Fix potential NULL dereferencing
@@ -1077,7 +1077,7 @@ InternalRegisterBootstrapBootOption ( DEBUG_INFO, "OCB: %a existing option at Boot%04x, %a\n", CurrOptionExists ? "Have" : "No", - BootOrder[1], + BootOrder != NULL ? BootOrder[1] : 0, CurrOptionValid ? "valid" : "invalid" ));
Fix handles tab showing 'Non-existent process' for newly created handles
@@ -333,7 +333,9 @@ PPH_STRING PhGetClientIdName( } else { - name = PhGetClientIdNameEx(ClientId, NULL); + // HACK + // Workaround race condition with newly created process handles showing as 'Non-existent process' -dmex + name = PhStdGetClientIdName(ClientId); } return name;
input_thread: use new collectos reference
@@ -121,7 +121,7 @@ static int input_collector_fd(flb_pipefd_t fd, struct flb_input_instance *ins) struct flb_config *config = ins->config; mk_list_foreach(head, &ins->collectors) { - collector = mk_list_entry(head, struct flb_input_collector, _head_ins); + collector = mk_list_entry(head, struct flb_input_collector, _h...
Clean up tick number presentation
@@ -296,9 +296,11 @@ void draw_ui_bar(WINDOW* win, int win_y, int win_x, const char* filename, Usz tick_num) { wmove(win, win_y, win_x); wattrset(win, A_dim | Cdef_normal); - wprintw(win, "%s tick ", filename); - wattrset(win, A_normal | fg_bg(C_white, C_natural)); - wprintw(win, "%d", (int)tick_num); + wprintw(win, "%...
sysdeps/managarm: Add missing error handling to sys_poll
@@ -1050,6 +1050,9 @@ int sys_poll(struct pollfd *fds, nfds_t count, int timeout, int *num_events) { managarm::posix::SvrResponse<MemoryAllocator> resp(getSysdepsAllocator()); resp.ParseFromArray(recv_resp.data(), recv_resp.length()); + if(resp.error() == managarm::posix::Errors::ILLEGAL_ARGUMENTS) { + return EINVAL; +...
Fix SPV type conversion for vec
@@ -462,10 +462,10 @@ static spv_result spv_parse_push_constants(spv_context* spv, const uint32_t* op, } if (OP_CODE(type) == 22 && type[2] == 32) { // OpTypeFloat - if (columnCount > 2 && columnCount < 4 && componentCount == columnCount) { + if (columnCount >= 2 && columnCount <= 4 && componentCount == columnCount) { ...
interface/api: fix s3 calls for setting endpoint, keys
@@ -18,15 +18,15 @@ export default class S3Api extends BaseApi<StoreState> { } setEndpoint(endpoint: string) { - this.s3Action({ setEndpoint: endpoint }); + this.s3Action({ 'set-endpoint': endpoint }); } setAccessKeyId(accessKeyId: string) { - this.s3Action({ setAccessKeyId: accessKeyId }); + this.s3Action({ 'set-acces...
Explicitly implement (map -> hoon map) and write simple qc tests.
@@ -16,6 +16,7 @@ import qualified DeriveNounTests import qualified ArvoTests import qualified AmesTests import qualified BehnTests +import qualified HoonMapSetTests main :: IO () main = do @@ -27,4 +28,5 @@ main = do , AmesTests.tests , LogTests.tests , BehnTests.tests + , HoonMapSetTests.tests ]
OCLint: Disable check for Yan LR plugin
@@ -25,8 +25,7 @@ oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-an "src/plugins/directoryvalue/"*.cpp \ "src/plugins/mini/mini.c" \ "src/plugins/yamlcpp/"*.cpp \ - "src/plugins/yamlsmith/"*.cpp \ - "src/plugins/yanlr/"*.cpp + "src/plugins/yamlsmith/"*.cpp exit_if_fail "OCLint found probl...
Analysis workflow, fix spelling for Pod.
@@ -249,8 +249,9 @@ jobs: export prepath=`pwd` echo prepath=${prepath} echo "curl cpanm" - curl -L https://cpanmin.us/ -o cpanm - perl cpanm POD::Usage + curl -L -k -s -S -o cpanm https://cpanmin.us/ + echo "perl cpanm Pod::Usage" + perl cpanm Pod::Usage mkdir openssl echo "curl openssl" curl -L -k -s -S -o openssl-1.1...
Working (hopefully) emscripten Travis config
@@ -14,7 +14,6 @@ before_install: - docker run -dit --name emscripten -v $(pwd):/src trzeci/emscripten:sdk-incoming-64bit bash script: - - docker exec -it emscripten mkdir build.em - - docker exec -it emscripten cd build.em - - docker exec -it emscripten emcmake cmake .. -G "Unix Makefiles" - - docker exec -it emscript...
csvstorage: add quotes on export if newline is found
@@ -632,8 +632,15 @@ static int csvWrite (KeySet * returned, Key * parentKey, Key * colAsParent, char while ((tmp = ksNext (headerKs)) != NULL) { ++colCounter; + if ((strchr (keyName (tmp), '\n') != NULL) && (keyName (tmp)[0] != '"')) + { + fprintf (fp, ";\"%s\"", keyName (tmp) + strlen (keyName (cur)) + 1); + } + else...
remove 0x1BE check (breaks some vehicles)
@@ -29,7 +29,6 @@ AddrCheckStruct honda_rx_checks[] = { {.msg = {{0x1A6, 0, 8}, {0x296, 0, 4}}, .check_checksum = true, .max_counter = 3U, .expected_timestep = 40000U}, {.msg = {{0x158, 0, 8}}, .check_checksum = true, .max_counter = 3U, .expected_timestep = 10000U}, {.msg = {{0x17C, 0, 8}}, .check_checksum = true, .max...
gk110: Add not3a flag for LIMM form of logop instruction
@@ -1654,7 +1654,7 @@ static struct insn tabc[] = { { 0x1b80000000000000ull, 0xff80000000000000ull, N("quadon") }, { 0x1c00000000000000ull, 0xff80000000000000ull, N("quadpop") }, - { 0x2000000000000000ull, 0xfc80000000000000ull, T(join), T(p), T(logop38), N("b32"), DST, SRC1, LIMM }, + { 0x2000000000000000ull, 0xf88000...
Add `jpm run` and `jpm rules`
@@ -818,6 +818,9 @@ Subcommands are: test : run tests. Tests should be .janet files in the test/ directory relative to project.janet. deps : install dependencies for the current project. clear-cache : clear the git cache. Useful for updating dependencies. + run rule : run a rule. Can also run custom rules added via (ph...
sim: change `make_tlv` to dynamic instead of cfg Use a runtime query of configuration instead of conditional compilation.
@@ -780,56 +780,35 @@ pub fn install_image(flashmap: &mut SimFlashMap, slots: &[SlotInfo], slot: usize result } -#[cfg(feature = "sig-rsa")] -#[cfg(feature = "enc-kw")] fn make_tlv() -> TlvGen { - TlvGen::new_rsa_kw() + if Caps::EcdsaP224.present() { + panic!("Ecdsa P224 not supported in Simulator"); } -#[cfg(feature =...
TCPMV2: Followup on Revision addition Addressing comments on TEST="make runhosttests" and "make try_build_boards" BRANCH=NONE
@@ -7122,8 +7122,10 @@ __maybe_unused static void pe_get_revision_entry(int port) * Only USB PD partners with major revision 3.0 could potentially * respond to Get_Revision. */ - if (prl_get_rev(port, TCPCI_MSG_SOP) != PD_REV30) + if (prl_get_rev(port, TCPCI_MSG_SOP) != PD_REV30) { + pe_set_ready_state(port); return; +...
vppinfra: type prove vec_new and vec_resize Some vector functions (e.g. vec_new) pass the vector pointer through vec_resize. This turn the pointer from a real type into a void pointer. Explicitly cast the pointer back to its original type to catch type mismatches. Type: improvement
@@ -117,7 +117,11 @@ void *vec_resize_allocate_memory (void *v, */ #define _vec_resize_numa(V,L,DB,HB,A,S) \ - _vec_resize_inline(V,L,DB,HB,clib_max((__alignof__((V)[0])),(A)),(S)) +({ \ + __typeof__ ((V)) _V; \ + _V = _vec_resize_inline(V,L,DB,HB,clib_max((__alignof__((V)[0])),(A)),(S)); \ + _V; \ +}) #define _vec_res...
VERSION bump to version 1.4.29
@@ -31,7 +31,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 4) -set(SYSREPO_MICRO_VERSION 28) +set(SYSREPO_MICRO_VERSION 29) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
firfilt/autotest: testing more configurations
@@ -57,6 +57,17 @@ void autotest_firfilt_config() CONTEND_ISNULL(firfilt_crcf_create_notch(0, 0, 0)); CONTEND_ISNULL(firfilt_cccf_create_notch(0, 0, 0)); - // TODO: print, set scale, get scale + // create proper object and test configurations + firfilt_crcf q = firfilt_crcf_create_kaiser(11, 0.2f, 60.0f, 0.0f); + + CON...
Add documentation for gpio-shutdown
@@ -320,6 +320,24 @@ Appropriate kernel modules will be also included in the image. By default the GPIO pin for gpio-ir is set to 18 and the pin for gpio-ir-tx is 17. Both pins can be easily changed by modifying variables `GPIO_IR` and `GPIO_IR_TX`. +## Enable gpio-shutdown + +When using device tree kernels, set this v...
set concurrency limit and ignore website changes for build
@@ -9,18 +9,26 @@ name: Build & Test on: # Run on pushes to any branch push: + paths-ignore: + - 'website/**' # Run on manually triggered workflow workflow_dispatch: # Run on PRs targeting the default branch or a release branches pull_request: types: [opened, synchronize, reopened, ready_for_review] + paths-ignore: + -...
sdl: video.go: Add missing Window flags starting from SDL 2.0.4
@@ -15,6 +15,14 @@ static void SDL_GL_GetDrawableSize(SDL_Window *window, int *w, int *h) *w = 0; *h = 0; } + +#pragma message("SDL_WINDOW_ALLOW_HIGHDPI is not supported before SDL 2.0.1") +#define SDL_WINDOW_ALLOW_HIGHDPI (0) +#endif + +#if !(SDL_VERSION_ATLEAST(2,0,4)) +#pragma message("SDL_WINDOW_MOUSE_CAPTURE is no...
Moving a method
@@ -1427,14 +1427,6 @@ static lv_res_t lv_cpicker_reset_hsv_if_double_clicked(lv_obj_t * cpicker, return res; } -static void lv_cpicker_set_next_color_mode(lv_obj_t * cpicker, - lv_cpicker_ext_t * ext) -{ - ext->prev_hsv = ext->hsv; - ext->color_mode = (ext->color_mode + 1) % 3; - lv_cpicker_invalidate(cpicker, true); ...
remove svn refs, improve clarity
Contributing ============ -This is a short contributing guide on the VisIt_ project's use of -`Sphinx <http://www.sphinx-doc.org/en/stable/tutorial.html>`_ for -documentation. - -You can check out the Sphinx manual with:: - - svn co svn+ssh://<USERNAME>@edison.nersc.gov/project/projectdirs/visit/svn/visit/trunk/docs/Sp...
ssl: add a zero time macro
/* Macro representing the most distant future time */ # define OSSL_TIME_INFINITY (~(OSSL_TIME)0) +/* Macro that's guaranteed to be now or before */ +# define OSSL_TIME_IMMEDIATE 0 + /* * Internal type defining a time. * The time datum is Unix's 1970 and at nanosecond precision, this gives
Replace diffing library. . Note: mandatory check (NEED_CHECK) was skipped
@@ -127,8 +127,8 @@ ALLOW .* -> vendor/github.com/prometheus/common # ZooKeeper client ALLOW .* -> vendor/github.com/samuel/go-zookeeper -# text diffing and patching -ALLOW .* -> vendor/github.com/sergi/go-diff +# Test diffing. +ALLOW .* -> vendor/github.com/pmezard/go-difflib # statsd client library ALLOW .* -> vendor...
Restore yaml to previous value(2)
@@ -6,34 +6,27 @@ environment: - platform: x86 configuration: Debug OPENSSLDIR: C:\OpenSSL-v11-Win32 - OPENSSL64DIR: C:\OpenSSL-v11-Win64 - platform: x64 configuration: Debug - OPENSSLDIR: C:\OpenSSL-v11-Win32 OPENSSL64DIR: C:\OpenSSL-v11-Win64 - platform: x86 configuration: Release OPENSSLDIR: C:\OpenSSL-v11-Win32 - O...
Fix for memory leak in source 1 games
@@ -82,12 +82,13 @@ void imgui_create(void *ctx) { if (inited) return; - inited = true; if (!ctx) return; + imgui_shutdown(); imgui_init(); + inited = true; gladLoadGL(); @@ -154,10 +155,9 @@ void imgui_shutdown() void imgui_set_context(void *ctx) { - if (!ctx) { - imgui_shutdown(); + if (!ctx) return; - } + #ifndef ND...
js: app: use wss:// when connecting via https Some browsers require a websocket connection to an encrypted server be made using the "wss://" uri. This patch checks to see if the protocol is https, and sets a default protocol of "wss://" if this is the case.
@@ -81,7 +81,7 @@ window.GoAccess = window.GoAccess || { setWebSocket: function (wsConn) { var host = null, host = wsConn.url ? wsConn.url : window.location.hostname ? window.location.hostname : "localhost"; var str = /^(wss?:\/\/)?[^\/]+:[0-9]{1,5}\//.test(host + "/") ? host : String(host + ':' + wsConn.port); - str =...
Adds an invalidation watch file
@@ -161,6 +161,12 @@ typedef struct clap_preset_provider { // Destroys the preset provider void(CLAP_ABI *destroy)(const struct clap_preset_provider *provider); + // Retrives the path to a watch file. + // Whenever the given file is "touched", then the indexer shall invalidate all the data. + bool(CLAP_ABI *invalidatio...
libcupsfilters: In the PPD generator really give priority to Apple Raster against PDF
@@ -1951,7 +1951,7 @@ ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */ formatfound = 1; is_pdf = 1; } else if (cupsArrayFind(pdl_list, "application/pdf")) { - cupsFilePuts(fp, "*cupsFilter2: \"application/vnd.cups-pdf application/pdf 100 -\"\n"); + cupsFilePuts(fp, "*cupsFilter2: \"application/vnd.cups-pdf app...
update ya tool arc allow nonempty dirs for mounting explicitly keep reference to the session object Note: mandatory check (NEED_CHECK) was skipped
}, "arc": { "formula": { - "sandbox_id": [393725412], + "sandbox_id": [397068943], "match": "arc" }, "executable": {
debian: rules: include HTTP Server and out_kafka
override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/td-agent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ -DFLB_ALL=ON -DFLB_TD=1 -DFLB_WITHOUT_EXAMPLES=On + dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/td-agent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ -DFLB_ALL=ON -DFLB_TD=1 -DFLB_WITHOUT_EXAMPLES...
Memory leak in BUFR clone
@@ -379,6 +379,7 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h) { long length = 0; int i, err = 0; + grib_handle* hclone = NULL; grib_accessor* a = NULL; grib_accessors_list* al = NULL; if (grib_get_long(h, "totalLength", &length) != GRIB_SUCCESS) @@ -422,7 +423,8 @@ int grib_tool_new...
Factor out xterm code to read ints for console size.
@@ -173,35 +173,27 @@ static void xterm_destructor(struct TCOD_Context* __restrict self) { xterm_cleanup(); } -static void xterm_handle_input_escape() { - if (getchar() != '[') - return; - char rows_buf[16] = ""; - char cols_buf[16] = ""; - for (int i = 0; i < 15; i++) { +static int read_terminated_int(char term, int d...
Test two colons in the document name in a doctype is rejected
@@ -7039,6 +7039,17 @@ START_TEST(test_ns_invalid_doctype) } END_TEST +START_TEST(test_ns_double_colon_doctype) +{ + const char *text = + "<!DOCTYPE foo:a:doc [ <!ENTITY bar 'baz' ]>\n" + "<foo:a:doc>&bar;</foo:a:doc>"; + + expect_failure(text, XML_ERROR_SYNTAX, + "Double colon in document name not faulted"); +} +END_T...
dev-tools/numpy: bump down to v1.15.4
@@ -22,7 +22,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM} %define pname numpy Name: %{python_prefix}-%{pname}-%{compiler_family}%{PROJ_DELIM} -Version: 1.18.2 +Version: 1.15.4 Release: 1%{?dist} Url: https://github.com/numpy/numpy Summary: NumPy array processing for numbers, strings, records and objects
input: use calloc to allocate coroutines.
@@ -389,7 +389,7 @@ struct flb_coro *flb_input_coro_create(struct flb_input_instance *ins, } /* Setup thread specific data */ - in_coro = (struct flb_input_coro *) flb_malloc(sizeof(struct flb_input_coro)); + in_coro = (struct flb_input_coro *) flb_calloc(1, sizeof(struct flb_input_coro)); if (!in_coro) { flb_errno(); ...
Add description before running the demo
@@ -10,3 +10,16 @@ The smart contract used by the demo and its ABI JSON file are placed in: |\<SDKRoot\>/demo/demo_platone/demo_contract/StoreRead.sol |\<SDKRoot\>/demo/demo_platone/demo_contract/StoreRead.json |PlatONE demo | |\<SDKRoot\>/demo/demo_fiscobcos/demo_contract/HelloWorld.sol |\<SDKRoot\>/demo/demo_fiscobco...
implemented sanity check for pmk
#include "common.c" /*===========================================================================*/ -void hex2bin(const char *str, uint8_t *bytes, size_t blen) +int hex2bin(const char *str, uint8_t *bytes, size_t blen) { +size_t c; uint8_t pos; uint8_t idx0; uint8_t idx1; @@ -35,6 +36,18 @@ const uint8_t hashmap[] = 0x...
Fix USB job termination logic.
@@ -112,6 +112,7 @@ _papplPrinterRunUSB( char buffer[8192]; // Print data buffer ssize_t bytes; // Bytes in buffer time_t status_time = 0; // Last port status update + time_t device_time = 0; // Last time moving data... printer->usb_active = enable_usb_printer(printer, ifaces); @@ -158,6 +159,8 @@ _papplPrinterRunUSB( ...
include:endian.h add openbsd style
# define le64toh(n) (n) # endif #endif + +/* OpenBSD style */ + +#define swap16 __swap_uint16 +#define swap32 __swap_uint32 +#define swap64 __swap_uint64 + +#define betoh16 be16toh +#define letoh16 le16toh +#define betoh32 be32toh +#define letoh32 le32toh + +#ifdef CONFIG_HAVE_LONG_LONG +#define betoh64 be64toh +#defin...
Use `rb_scan_args` to check args If we pass `"11"` to 3rd argument of `rb_scan_args`, `rb_scan_args` raises `ArgumentError` when `argc` is not 1 nor 2. This commit changes to raise `ArgumentError` if `argc > 2`.
@@ -487,9 +487,7 @@ mimic_parse_core(int argc, VALUE *argv, VALUE self, bool bang) { struct _ParseInfo pi; VALUE args[1]; - if (argc < 1) { - rb_raise(rb_eArgError, "Wrong number of arguments to parse."); - } + rb_scan_args(argc, argv, "11", NULL, NULL); parse_info_init(&pi); oj_set_compat_callbacks(&pi); // TBD
handle_accept(): fix NULL-dereference of client
@@ -2125,7 +2125,9 @@ handle_accept (int listener, WSServer * server) { if (newfd == -1) return; - client = ws_get_client_from_list (newfd, &server->colist); + if (!(client = ws_get_client_from_list (newfd, &server->colist))) + return; + if (newfd > FD_SETSIZE - 1) { LOG (("Too busy: %d %s.\n", newfd, client->remote_ip...
Support RSA Opaque PK keys in ssl_server2
@@ -2562,7 +2562,8 @@ int main( int argc, char *argv[] ) #if defined(MBEDTLS_USE_PSA_CRYPTO) if( opt.key_opaque != 0 ) { - if ( mbedtls_pk_get_type( &pkey ) == MBEDTLS_PK_ECKEY ) + if ( mbedtls_pk_get_type( &pkey ) == MBEDTLS_PK_ECKEY || + mbedtls_pk_get_type( &pkey ) == MBEDTLS_PK_RSA ) { if( ( ret = mbedtls_pk_wrap_a...
doc: Fix documentation of EVP_EncryptUpdate(). The documentation was off by one for the length this function could return.
@@ -210,10 +210,15 @@ specified. EVP_EncryptUpdate() encrypts B<inl> bytes from the buffer B<in> and writes the encrypted version to B<out>. This function can be called multiple times to encrypt successive blocks of data. The amount -of data written depends on the block alignment of the encrypted data: -as a result the...
hw/npu2: Show name of opencapi error interrupts Add the name of which error interrupt is received.
@@ -403,6 +403,7 @@ static void npu2_err_interrupt(struct irq_source *is, uint32_t isn) { struct npu2 *p = is->data; uint32_t idx = isn - p->base_lsi; + char *irq_name; int brick; switch (idx) { @@ -413,8 +414,10 @@ static void npu2_err_interrupt(struct irq_source *is, uint32_t isn) case 27 ... 34: /* opencapi only */ ...
BugID:17513592:modify the judgment of component macro
@@ -54,14 +54,10 @@ ifeq ($(AOS_COMP_KV), 1) $(NAME)_SOURCES += kv.c endif -ifeq ($(AOS_COMP_MBMASTER),1) +ifeq ($(AOS_COMP_MBMASTER),y) $(NAME)_SOURCES += mbmaster.c endif -ifeq ($(AOS_COMP_PWRMGMT),1) -$(NAME)_SOURCES += pwrmgmt.c -endif - ifeq ($(AOS_COMP_CLI),1) $(NAME)_SOURCES += cli.c endif
nrf52832: stop generating the map file The mapfile is only used by Cooja and MSPSim in Contiki-NG nowadays.
@@ -139,7 +139,6 @@ CFLAGS += -ggdb CFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 # keep every function in separate section. This will allow linker to dump unused functions -LDFLAGS += -Xlinker -Map=$(CONTIKI_NG_PROJECT_MAP) LDFLAGS += -mabi=aapcs -L $(TEMPLATE_PATH) LDFLAGS += -mfloat-abi=hard -mfpu=fpv4-sp-d16 # let l...
autotest: removing circular make dependency with autotest.o
@@ -1309,18 +1309,7 @@ autotest_include.h : scripts/autoscript $(autotest_sources) $(include_headers) # header' so we need to explicity tell it to compile as a c source file with # the '-x c' flag autotest_obj = $(patsubst %.c,%.o,$(autotest_sources)) -$(autotest_obj) : %.o : %.c $(include_headers) autotest/autotest.h ...
Let device fast polling continue a few secs after permit join disabled
#include <QElapsedTimer> #include <QTimer> #include <deconz/dbg_trace.h> +#include <deconz/timeref.h> #include "event.h" #include "resource.h" #include "device_tick.h" @@ -42,6 +43,7 @@ class DeviceTickPrivate public: DT_StateHandler stateHandler = DT_StateInit; std::vector<JoinDevice> joinDevices; + deCONZ::SteadyTime...
Fix Clay %next revision adapted from commit
?~ u.ver $(xiq t.xiq, ..wake (blub-all q.i.xiq ~)) $(xiq t.xiq, xaq [i.xiq(q.p u.ver) xaq]) - =+ var=(aver mun(q [%ud let.dom])) + =/ muc mun(q [%ud let.dom]) :: current mood + =+ var=(aver muc) ?~ var - ~& [%oh-noes mood=mun letdom=let.dom] + ~& [%oh-noes old=mun mood=muc letdom=let.dom] $(xiq t.xiq) ?~ u.var - $(xiq ...
io-libs/adios: fix python variable in summary
@@ -76,12 +76,12 @@ routines in the host code (either Fortran or C) can transparently change how they process the data. %package -n %{python_prefix}-%{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} -Summary: Bindings for %{python_flavor} to adios +Summary: Bindings for %{python_prefix} to adios Group: %{PROJ_NAME...
make errors: use the new util/ck_errf.pl options
@@ -760,11 +760,13 @@ generate_fuzz_oids: # Set to -force to force a rebuild ERROR_REBUILD= errors: - ( cd $(SRCDIR); $(PERL) util/ck_errf.pl -strict */*.c */*/*.c ) - ( b=`pwd`; cd $(SRCDIR); \ + ( b=`pwd`; set -e; cd $(SRCDIR); \ + $(PERL) util/ck_errf.pl -strict -internal; \ $(PERL) -I$$b util/mkerr.pl $(ERROR_REBUI...
Add test component: component_test_psa_crypto_config_reference_hash_use_psa
@@ -2110,6 +2110,34 @@ component_test_psa_crypto_config_accel_hash_use_psa () { fi } +component_test_psa_crypto_config_reference_hash_use_psa() { + msg "test: MBEDTLS_PSA_CRYPTO_CONFIG without accelerated hash and USE_PSA" + # start with full + scripts/config.py full + # use PSA config and disable driver-less algs as i...
imrpoved help
@@ -2111,6 +2111,7 @@ fprintf(stdout, "%s %s (C) %s ZeroBeat\n" "-o <file> : output PMKID/EAPOL hash file\n" "-E <file> : output ESSID list (autohex enabled)\n" "-L <file> : output ESSID list (unfiltered and unsorted)\n" + " usefull in combination with hashcat -a9 option\n" "-d : download https://standards-oui.ieee.org...
board/esp32_devkit: Fix Makefile issue. Object partition.o isn't removed via "make clean", Set DEVPATH,VPATH in Makefile to fix this issue.
############################################################################ -include $(TOPDIR)/Make.defs - +DEPPATH = --dep-path . SCRIPTDIR = $(TOPDIR)$(DELIM)..$(DELIM)build$(DELIM)configs$(DELIM)$(CONFIG_ESP32_DEVKIT_TYPE)$(DELIM)scripts CONFIGFILE = $(TOPDIR)$(DELIM)include$(DELIM)tinyara$(DELIM)config.h ASRCS = C...
If all versions of a proto are disabled, disabled the proto as well For example, 'no-dtls1 no-dtls1_2' will imply 'no-dtls'
@@ -472,6 +472,8 @@ my @disable_cascades = ( "dgram" => [ "dtls", "sctp" ], "sock" => [ "dgram" ], "dtls" => [ @dtls ], + sub { 0 == scalar grep { !$disabled{$_} } @dtls } + => [ "dtls" ], # SSL 3.0, (D)TLS 1.0 and TLS 1.1 require MD5 and SHA "md5" => [ "ssl", "tls1", "tls1_1", "dtls1" ], @@ -492,6 +494,8 @@ my @disabl...
Fix message type for current limit
@@ -340,6 +340,7 @@ void Convert_JsonToMsg(service_t *service, uint16_t id, luos_type_t type, const { current_t current = ElectricOD_CurrentFrom_A(json_getReal(item)); ElectricOD_CurrentToMsg(&current, msg); + msg->header.cmd = CURRENT_LIMIT; Luos_SendMsg(service, msg); } // target Rotation speed
dtls: shorter log module name for aligned log output
#include <stdarg.h> /* Log configuration */ -#define LOG_MODULE "dtls-support" +#define LOG_MODULE "dtls" #define LOG_LEVEL LOG_LEVEL_DTLS #include "dtls-log.h" #include "coap-log.h"
Changelog note for PR#155. Merge PR#155 from Rober Edmonds: contrib/libunbound.pc.in: Fixes to Libs/Requires for crypto library dependencies.
+27 January 2020: Wouter + - Merge PR#155 from Rober Edmonds: contrib/libunbound.pc.in: Fixes + to Libs/Requires for crypto library dependencies. + 23 January 2020: Wouter - Merge PR#150 from Frzk: Systemd unit without chroot. It add contrib/unbound_nochroot.service.in, a systemd file for use with
py/runtime: Remove unnecessary break statements from switch.
@@ -413,7 +413,6 @@ mp_obj_t mp_binary_op(mp_binary_op_t op, mp_obj_t lhs, mp_obj_t rhs) { // use standard precision return MP_OBJ_NEW_SMALL_INT(lhs_val * rhs_val); } - break; } case MP_BINARY_OP_FLOOR_DIVIDE: case MP_BINARY_OP_INPLACE_FLOOR_DIVIDE: @@ -488,10 +487,10 @@ mp_obj_t mp_binary_op(mp_binary_op_t op, mp_obj_...
flash: cleanup
@@ -32,19 +32,18 @@ void flash_hard_coded_pid_identifier(void) { } void flash_save(void) { - fmc_unlock(); fmc_erase(); - unsigned long addresscount = 0; + uint32_t addr = 0; - fmc_write(addresscount++, FMC_HEADER); + fmc_write(addr++, FMC_HEADER); - fmc_write_float(addresscount++, initial_pid_identifier); + fmc_write_...
20-test_enc_more.t: Replace deprecated -ciphers option with -list [extended tests]
@@ -30,14 +30,14 @@ my $ciphersstatus = undef; my @ciphers = grep(! /wrap|^$|^[^-]/, (map { split /\s+/ } - run(app([$cmd, "enc", "-ciphers"]), + run(app([$cmd, "enc", "-list"]), capture => 1, statusvar => \$ciphersstatus))); plan tests => 2 + scalar @ciphers; SKIP: { skip "Problems getting ciphers...", 1 + scalar(@cip...
Debug is even less chatty
#define no_core_debug(M, ...) fprintf(stderr, "%11.11s@%4d [NO-CORE ] " M "", SHORTEN(__SHORTFILENAME__, 13), __LINE__, ##__VA_ARGS__) #else // no filename/line number printout - #define lcore_debug(M, ...) fprintf(stderr, "CORE" T4LIT(%2d,core) "@" T4LIT(%d,socket) " " M "", (int)(rte_lcore_id()), rte_lcore_to_socket_...
Add missing reboot includes
#include <QFile> #include <QProcess> #include <queue> +#ifdef ARCH_ARM + #include <unistd.h> + #include <sys/reboot.h> +#endif #include "colorspace.h" #include "de_web_plugin.h" #include "de_web_plugin_private.h"
mousestate, fix poll output value as soon as you hit poll (regression from 0.3)
* for mouse pointer for mode 1, now basing off of given coords by the current * canvas. also now rewrote gui.c to defer calculations to the c code here in interests * of multiple object independence, just use gui.c to send proper coords over + + * 2020 - Fixed 'reset'/'zero'/'poll' messages, resolved conflicts with 2 o...
jenkins: fix docu paths
@@ -753,15 +753,16 @@ def buildDoc() { remoteDirectory: 'api/latest' ), sshTransfer( - sourceFiles: 'build/doc/man/*', + sourceFiles: 'build/doc/html/*', removePrefix: 'build/doc/', remoteDirectory: 'api/latest' ), sshTransfer( - sourceFiles: 'doc/help/*.html', - removePrefix: 'doc/help/', - remoteDirectory: 'help' + s...
Fix iss 606 by changing pc to m value
@@ -158,17 +158,17 @@ ccl_physical_constants ccl_constants = { /** * Mpc to meters (from PDG 2013) */ - 3.08567758149E+22, + 3.08567758149136727891E+22, /** * pc to meters (from PDG 2013) */ - 3.08567758149E+16, + 3.08567758149136727891E+16, /** * Rho critical in units of M_sun/h / (Mpc/h)^3 */ - ((3*100*100)/(8*M_PI*6...
Fix issue with Ethereum byte padding logic
:: ++ pad-to-multiple |= [wat=tape mof=@ud wer=?(%left %right)] + ^- tape =+ len=(lent wat) + ?: =(len mof) wat =+ tad=(reap (sub mof (mod len mof)) '0') %- weld ?:(?=(%left wer) [tad wat] [wat tad])
multimap: Check if map slot is empty before creating new one
@@ -1055,10 +1055,11 @@ int vm_createSharedMap(ptr_t start, ptr_t stop, unsigned int attr, int no) if (--no < 0) return -EINVAL; - if (stop <= start || start & (SIZE_PAGE - 1) || stop & (SIZE_PAGE - 1)) { - map_common.maps[no] = NULL; + if (map_common.maps[no] != NULL) + return -EEXIST; + + if (stop <= start || start &...
tools: Add ULP utils for ARMEL
"size": 8249059, "url": "https://github.com/espressif/binutils-esp32ulp/releases/download/v2.28.51-esp-20190801/binutils-esp32ulp-linux-amd64-2.28.51-esp-20190801.tar.gz" }, + "linux-armel": { + "sha256": "c95fcf89231bee16f48c0a50dd8d8f4404bc95f956b5482f69dac68363ffc444", + "size": 8033832, + "url": "https://github.com...
jenkins: catch more abort exceptions
@@ -1434,7 +1434,8 @@ def detectInterruption(Closure c) { } } catch (hudson.AbortException ae) { // this ambiguous condition means during a shell step, user probably aborted - if (ae.getMessage().contains('script returned exit code 143')) { + if (ae.getMessage().contains('script returned exit code 143') || + ae.getMess...
[bsps] fix bsp/stm32f10x/bxcan.c inline bug
#endif #ifdef RT_USING_CAN -#ifdef __CC_ARM -#define inline __inline -#endif #ifndef STM32F10X_CL #define BX_CAN_FMRNUMBER 14 #define BX_CAN2_FMRSTART 7 @@ -401,7 +398,7 @@ static void bxcan2_hw_init(void) NVIC_Init(&NVIC_InitStructure); } #endif -static inline rt_err_t bxcan_enter_init(CAN_TypeDef *pcan) +rt_inline rt...
Add DuckDuckGo and MSNBot browsers to the crawlers list.
@@ -188,6 +188,8 @@ static const char *browsers[][2] = { {"Python", "Crawlers"}, {"LinkedIn", "Crawlers"}, {"Microsoft-WebDAV", "Crawlers"}, + {"DuckDuckGo-Favicons-Bot", "Crawlers"}, + {"bingbot", "Crawlers"}, /* Podcast fetchers */ {"Downcast", "Podcasts"},
landscape clock: render sun+moon after night
@@ -258,6 +258,17 @@ class Clock extends React.Component { '#FF611E' ); + // Night + degArc( + ctx, + ctr, + ctr, + ctr / 2, + state.night, + state.nightEnd, + 'rgb(26, 26, 26)' + ); + if ( radToDeg(this.angle) > splitArc(state.sunriseEnd, state.nightEnd) && radToDeg(this.angle) < splitArc(state.sunset, state.night) @@...
OCB: Add ommitted 'tab back to picker' VO prompts to builtin picker
@@ -220,6 +220,7 @@ VOID UpdateTabContext ( IN BOOLEAN IsEntering, IN OC_BOOT_CONTEXT *BootContext, + IN OC_BOOT_ENTRY **BootEntries, IN TAB_CONTEXT TabContext, IN INTN ChosenEntry, IN CHAR16 OldEntryCursor, @@ -243,6 +244,17 @@ UpdateTabContext ( Code[0] = IsEntering ? OldEntryCursor : L' '; gST->ConOut->OutputString ...
Update BUFR latest master version key
@@ -12,7 +12,7 @@ transient missingValue=999999 : hidden; # This gets updated twice a year by WMO. # See http://www.wmo.int/pages/prog/www/WMOCodes/WMO306_vI2/LatestVERSION/LatestVERSION.html -constant masterTablesVersionNumberLatest = 29; +constant masterTablesVersionNumberLatest = 30; #negative value=not used transie...
VERSION bump to version 5.6.22
@@ -54,7 +54,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 5) set(SYSREPO_MINOR_SOVERSION 6) -set(SYSREPO_MICRO_SOVERSION 21) +set(SYSREPO_MICRO_S...
repleace fopen to filestream_open 2
@@ -187,7 +187,7 @@ printf("lcmd:ready\n"); printf("lcmd:open\n"); if ( filestream_gets (fp, CMDFILE , 512) != NULL ) res=1; - fclose (fp); + filestream_close (fp); } return res; @@ -275,7 +275,7 @@ static bool read_m3u(const char *file) } } - fclose(f); + filestream_close(f); return (disk_images != 0); }