message
stringlengths
6
474
diff
stringlengths
8
5.22k
BugID:17865306: Remove ENABLE_USPACE and LWIP
@@ -19,23 +19,10 @@ config AOS_BUILD_APP help This option holds the name of the application that is going to build. -menu "Build Setup" -config ENABLE_USPACE - int "ENABLE_USPACE" - default 1 - help - config MBINS string option env="MBINS" -#config LWIP -# int -# range 0 1 -# option env="LWIP" - -endmenu - ## --- Gener...
OCLint: Fix check of Directory Value plugin
@@ -17,7 +17,7 @@ oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-an "src/plugins/camel/camel.c" \ "src/plugins/ccode/"*.cpp \ "src/plugins/cpptemplate/"*.cpp \ - "src/plugins/directoryvalue/"*.c \ + "src/plugins/directoryvalue/"*.cpp \ "src/plugins/mini/mini.c" \ "src/plugins/yamlcpp/"*.{...
Prioritize print-color-mode-supported during creating Color Models over pwg-raster-document-type-supported
@@ -2677,10 +2677,10 @@ ppdCreateFromIPP2(char *buffer, /* I - Filename buffer */ if ((attr = ippFindAttribute(response, "urf-supported", IPP_TAG_KEYWORD)) == NULL) - if ((attr = ippFindAttribute(response, "pwg-raster-document-type-supported", - IPP_TAG_KEYWORD)) == NULL) if ((attr = ippFindAttribute(response, "print-c...
update tools/usbboot to use the right way to ennable debug
@@ -339,7 +339,11 @@ int main(int argc, char **argv) r = libusb_init(&usb); if(r) fail_usb("libusb_init", r); +#ifdef LIBUSB_OPTION_LOG_LEVEL libusb_set_option(usb, LIBUSB_OPTION_LOG_LEVEL, LIBUSB_LOG_LEVEL_WARNING); +#else + libusb_set_debug(usb, LIBUSB_LOG_LEVEL_WARNING); +#endif int once= 1; for (;;) {
BuildTool: Remove redist files
@@ -51,11 +51,6 @@ public static void Main(string[] args) if (!Build.CopyLibFiles(BuildFlags.Build32bit | BuildFlags.Build64bit | BuildFlags.BuildVerbose)) return; - Build.CopyRedistFiles( - BuildFlags.Build32bit | BuildFlags.Build64bit | - BuildFlags.BuildDebug | BuildFlags.BuildVerbose - ); - Build.ShowBuildStats(); ...
Travis: Use correct LLVM repo for Linux distro
@@ -200,7 +200,7 @@ matrix: addons: apt: sources: - - llvm-toolchain-xenial-7 + - llvm-toolchain-bionic-7 packages: - clang-7 - clang-format-7
nimble/include: fixed vendor command description Proper OGF for vendor specific cmd: 0x3F
@@ -1061,7 +1061,7 @@ struct ble_hci_le_set_host_feat_cp { uint8_t val; } __attribute__((packed)); -/* --- Vendor specific commands (OGF 0x00FF) */ +/* --- Vendor specific commands (OGF 0x003F) */ #define BLE_HCI_OCF_VS_RD_STATIC_ADDR (0x0001) struct ble_hci_vs_rd_static_addr_rp { uint8_t addr[6];
ToolStatus: Improve options spacing
@@ -48,7 +48,7 @@ END // Dialog // -IDD_OPTIONS DIALOGEX 0, 0, 191, 84 +IDD_OPTIONS DIALOGEX 0, 0, 191, 86 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Options" FONT 8, "MS Shell Dlg", 400, 0, 0x1 @@ -56,11 +56,12 @@ BEGIN CONTROL "Enable toolbar",IDC_ENABLE_TOOLBAR,"Butt...
http_client.c: Fix inconsistency w.r.t. type of max_resp_len
@@ -52,7 +52,7 @@ struct ossl_http_req_ctx_st { int expect_asn1; /* response must be ASN.1-encoded */ long len_to_send; /* number of bytes in request still to send */ unsigned long resp_len; /* length of response */ - unsigned long max_resp_len; /* Maximum length of response */ + size_t max_resp_len; /* Maximum length ...
updated header of function linlog in include/ccl_utils.h
@@ -17,6 +17,12 @@ double * ccl_linear_spacing(double xmin, double xmax, int N); /** * Compute bin edges of N-1 logarithmically and then linearly spaced bins on the interval [xmin,xmax] + * @param xminlog minimum value of spacing + * @param xmin value when logarithmical ends and linear spacing begins + * @param xmax ma...
Increase command buffer size
@@ -185,7 +185,7 @@ int main (int i_argc, const char* i_argv[]) while (argRepl) { - char cmd_buff[128] = { 0, }; + char cmd_buff[256] = { 0, }; const char* argv[32] = { 0, }; fprintf(stdout, "wasm3> "); fflush(stdout);
extmod/Matrix: implement abs
@@ -492,8 +492,12 @@ STATIC mp_obj_t robotics_Matrix_unary_op(mp_unary_op_t op, mp_obj_t o_in) { case MP_UNARY_OP_ABS: { // For vectors, this is the norm if (self->m == 1 || self->n == 1) { - // TODO: Calculate norm and return it - return mp_obj_new_float(0.5); + size_t len = self->m * self->n; + float squares = 0; + f...
admin/ohpc-release-factory: update ohpc-release-factory for 2.2
@@ -85,6 +85,12 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenHPC-2 [OpenHPC-updates] name=OpenHPC-%{ohpc_version} - Updates +baseurl=%{ohpc_repo}/OpenHPC/%{ohpc_version}/updates/%{_repository} +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-OpenHPC-2 + +[OpenHPC-updates-factory] +name=OpenHPC-%{ohpc_versio...
libcupsfilters: Log message corrections in bannertopdf()
@@ -203,7 +203,7 @@ banner_t *banner_new_from_file(const char *filename, int *num_options, { if (log) log(ld, FILTER_LOGLEVEL_ERROR, - "Error opening temporary file with input stream"); + "bannertopdf: Error opening temporary file with input stream"); goto out; } @@ -248,7 +248,7 @@ banner_t *banner_new_from_file(const...
build: separate pkg builds from verify target This patch is required to eliminate the use of .../vpp/extras/vagrant/build.sh by other projects in order to build VPP packages for verification/integration testing. Type: fix
@@ -594,7 +594,7 @@ docs: $(DOCS_DIR) docs-clean: @($(SPHINX_SCRIPTS_DIR)/sphinx-make.sh clean) -verify: install-dep $(BR)/.deps.ok install-ext-deps +pkg-verify: install-dep $(BR)/.deps.ok install-ext-deps $(call banner,"Building for PLATFORM=vpp using gcc") @make -C build-root PLATFORM=vpp TAG=vpp wipe-all install-pac...
docs: need to mkdir /opt/intel for nfs export to work
@@ -38,7 +38,8 @@ following additional path (\texttt{/opt/intel}) to share with computes: % ohpc_command if [[ ${enable_intel_packages} -eq 1 ]];then % ohpc_indent 5 \begin{lstlisting}[language=bash,keywords={},upquote=true,keepspaces] -# (Optional) Export /opt/intel if planning to install oneAPI packages +# (Optional)...
docs: Advise developer to install docker buildx in their environment. buildx is needed to build our images.
@@ -17,7 +17,7 @@ Inspektor Gadget. - [Fork](https://github.com/kinvolk/inspektor-gadget/fork) and clone this repo: - `git clone git@github.com:your_account/inspektor-gadget.git`. -- Install [Docker](https://docs.docker.com/get-docker/) and [Golang](https://golang.org/doc/install). +- Install [Docker](https://docs.dock...
removes preprocessor errors in trace.c on openbsd
@@ -604,7 +604,7 @@ u3t_boot(void) setitimer(ITIMER_PROF, &itm_v, 0); } #elif defined(U3_OS_bsd) -# error "Profiling isn't yet supported on BSD" + // XX "Profiling isn't yet supported on BSD" #else # error "port: profiling" #endif @@ -644,7 +644,7 @@ u3t_boff(void) } #elif defined(U3_OS_bsd) -# error "Profiling isn't y...
Removed raspberrypi server example
@@ -388,10 +388,6 @@ simpleserver: libiotivity-lite-server.a $(ROOT_DIR)/apps/simpleserver.c @mkdir -p $@_creds ${CC} -o $@ ../../apps/simpleserver.c libiotivity-lite-server.a -DOC_SERVER ${CFLAGS} ${LIBS} -simpleserver_raspberry_pi: libiotivity-lite-server.a $(ROOT_DIR)/apps/simpleserver_raspberry_pi.c - @mkdir -p $@_...
revert #28dda0f
@@ -281,11 +281,10 @@ static inline int op_move( mrbc_vm *vm, mrbc_value *regs ) { FETCH_BB(); - if( a != b ) { - mrbc_decref(&regs[a]); mrbc_incref(&regs[b]); + mrbc_decref(&regs[a]); regs[a] = regs[b]; - } + return 0; } @@ -1188,9 +1187,10 @@ static inline int op_argary( mrbc_vm *vm, mrbc_value *regs ) mrbc_decref(&r...
system/nxplayer: Fix error: 'outstanding' undeclared
@@ -1106,8 +1106,8 @@ static void *nxplayer_playthread(pthread_addr_t pvarg) case AUDIO_MSG_COMPLETE: #ifdef CONFIG_DEBUG_FEATURES audinfo("Play complete. outstanding=%d\n", outstanding); -#endif DEBUGASSERT(outstanding == 0); +#endif running = false; break;
apps.c: re-enable loading single certs and CRLs over HTTP Fixes
#include <openssl/err.h> #include <openssl/x509.h> #include <openssl/x509v3.h> +#include <openssl/http.h> #include <openssl/pem.h> #include <openssl/store.h> #include <openssl/pkcs12.h> @@ -468,6 +469,11 @@ CONF *app_load_config_modules(const char *configfile) return conf; } +#define IS_HTTP(uri) \ + (strncmp(uri, OSSL...
use domain from -H instead of hardcoding urbit.org
@@ -1486,9 +1486,9 @@ _proxy_dest(u3_proxy_conn* con_u) uL(fprintf(uH, "proxy: domain: %s\n", dom_c)); - // XX get from -H // XX check EOS or port to prevent length extension - if ( 0 != strncmp(dom_c, ".urbit.org", strlen(".urbit.org")) ) { + if ( 0 != strncmp(dom_c + 1, u3_Host.ops_u.dns_c, + strlen(u3_Host.ops_u.dns...
ectool: add pse host command TEST=manual BRANCH=none
@@ -228,6 +228,8 @@ const char help_str[] = " Prints power-related information\n" " protoinfo\n" " Prints EC host protocol information\n" + " pse\n" + " Get and set PoE PSE port power status\n" " pstoreinfo\n" " Prints information on the EC host persistent storage\n" " pstoreread <offset> <size> <outfile>\n" @@ -6310,6...
Remove hardcoded www.ietf.org reproxy url, replace it by having the fuzzer listen to a socket in a temp directory.
#error "Please defined one of HTTP1 or HTTP2, but not both" #endif +static h2o_globalconf_t config; +static h2o_context_t ctx; +static h2o_accept_ctx_t accept_ctx; +static int client_timeout_ms; +static char unix_listener[PATH_MAX]; + /* * Registers a request handler with h2o */ @@ -93,22 +99,19 @@ static int chunked_t...
move to perf-tools
@@ -8,7 +8,7 @@ status=0 source ./common/TEST_ENV || exit 1 source ./common/functions || exit 1 -cd libs/imb || exit 1 +cd perf-tools/imb || exit 1 export BATS_JUNIT_CLASS=IMB
Fix device crash caused by improper memory alignment of the plugin context buffer
@@ -65,7 +65,9 @@ typedef struct tokenContext_t { uint8_t contractAddress[ADDRESS_LENGTH]; uint8_t methodSelector[SELECTOR_LENGTH]; }; - uint8_t pluginContext[5 * INT256_LENGTH]; + // This needs to be strictly 4 bytes aligned since pointers to it will be casted as + // plugin context struct pointers (structs that conta...
Re-enable remote host profile import on Windows.
@@ -391,10 +391,9 @@ QvisHostProfileWindow::CreateWindowContents() launchProfilesGroup = CreateLaunchProfilesGroup(); machineTabs->addTab(launchProfilesGroup, tr("Launch Profiles")); -#ifndef WIN32 + remoteProfilesGroup = CreateRemoteProfilesGroup(); masterWidget->addTab(remoteProfilesGroup, tr("Remote Profiles")); -#e...
spgram/autotest: removing duplicate warning
@@ -233,7 +233,6 @@ void autotest_spgramcf_invalid_config() fprintf(stderr,"warning: ignore potential errors here; checking for invalid configurations\n"); #endif // check that object returns NULL for invalid configurations - fprintf(stderr,"warning: ignore potential errors here; checking for invalid configurations\n")...
Fix the sync check of 'for' loop temps, again. It assumes `__main__` holds all globals, which is changing soon.
@@ -416,16 +416,13 @@ void lily_emit_finalize_for_in(lily_emit_state *emit, lily_var *user_loop_var, } lily_sym *target; - int need_sync = emit->function_block->prev == NULL; + int need_sync = user_loop_var && user_loop_var->flags & VAR_IS_GLOBAL; if (need_sync) { /* o_integer_for works by writing to both an intermedia...
Fix H7 HSE_VALUE.
* (when HSE is used as system clock source, directly or through the PLL). */ #if !defined (HSE_VALUE) -#define HSE_VALUE ((uint32_t)25000000) /*!< Value of the External oscillator in Hz */ +#define HSE_VALUE ((uint32_t)12000000) /*!< Value of the External oscillator in Hz */ #endif /* HSE_VALUE */ #if !defined (HSE_STA...
Add retry in isolation2 test framework for database restart. To support writing tests where session can cause PANIC of master, add retry logic while establishing connection in isolation2. This helps to keep the tests simple.
@@ -125,14 +125,30 @@ class SQLIsolationExecutor(object): opt="-c gp_session_role=utility", dbname=self.dbname) else: - self.con = pygresql.pg.connect(dbname=self.dbname) + self.con = self.connectdb() + + def connectdb(self): + con = None + retry = 1000 + while retry: + try: + con = pygresql.pg.connect(dbname=self.dbna...
add admonition about breaking change to scope.yml
@@ -34,7 +34,7 @@ See the AppScope repo to view [all issues](https://github.com/criblio/appscope/i - **Improvement**: [#489](https://github.com/criblio/appscope/issues/489) Streamline configuration file structure by eliminating `scope_protocol.yml` and merging its content into `scope.yml`. -- **Improvement**: [#503](ht...
esp_netif: Added test for failing to set hostname
@@ -275,5 +275,13 @@ TEST_CASE("esp_netif: get/set hostname", "[esp_netif]") TEST_ASSERT_EQUAL(ESP_OK, esp_netif_get_hostname(esp_netif, &hostname)); TEST_ASSERT_EQUAL_STRING(hostname, "new_name"); + // test that setting the long name is refused and the previously set value retained + #define ESP_NETIF_HOSTNAME_MAX_SIZ...
tests: int1: More tests for int(str) with default (10) vs 0 base.
@@ -28,6 +28,11 @@ print(int(' \t\t 314 \t\t ')) print(int(' 1 ')) print(int(' -3 ')) +try: + int("0x10") +except ValueError: + print("0x10: ValueError") + print(int('0', 10)) print(int('1', 10)) print(int(' \t 1 \t ', 10)) @@ -41,6 +46,7 @@ print(int('0o123', 0)) print(int('8388607')) print(int('0x123', 16)) print(int...
[dfs] add mutex depend to dfs
@@ -2,6 +2,7 @@ menu "Device virtual file system" config RT_USING_DFS bool "Using device virtual file system" + select RT_USING_MUTEX default y help The device file system is a light weight virtual file system.
Correctly override TINYSPLINE_RUNTIME_LIBRARIES.
@@ -482,7 +482,7 @@ if(TINYSPLINE_RUNTIME_LIBRARIES STREQUAL "") # Override cached variable. set(TINYSPLINE_RUNTIME_LIBRARIES ${CMAKE_INSTALL_SYSTEM_RUNTIME_LIB} - CACHE "Autodetected" FILEPATH FORCE) + CACHE FILEPATH "Autodetected" FORCE) endif() endif() foreach(file ${TINYSPLINE_RUNTIME_LIBRARIES})
haskell-cmake-improvements: correct cabal version
@@ -106,7 +106,7 @@ RUN cd /home/jenkins \ && cd elektra-cabal-sandbox \ && cabal update \ && cabal sandbox init \ - && cabal install 'Cabal == 1.24.0.0' 'base >=4.9 && <4.12' 'containers >=0.5 && <0.6' \ + && cabal install 'Cabal == 1.24.2.0' 'base >=4.9 && <4.12' 'containers >=0.5 && <0.6' \ 'directory >=1.2 && <1.4'...
mmapstorage: check that strtoul parsed the complete string
@@ -587,7 +587,7 @@ static void * hexStringToAddress (const char * hexString) unsigned long int val = strtoul (hexString, &endptr, hexBase); - if ((errno != 0) || (endptr == hexString)) + if ((errno != 0) || (endptr == hexString) || (*endptr != '\0')) { ELEKTRA_LOG_WARNING ("strerror: %s", strerror (errno)); errno = er...
cleaner test for hwacha param
package example -import scala.util.control.Exception +import scala.util.Try import chisel3._ @@ -19,26 +19,24 @@ object Generator extends GeneratorApp { TestSuiteHelper.addBoomTestSuites // if hwacha parameter exists then generate its tests - // TODO: find a more elegant way to do this - Exception.ignoring(classOf[java...
Bugfix doc link chrome by julienFL
<% String url = request.getParameter("url"); String baseUrl = url.substring(0, url.lastIndexOf("/") + 1); +String browser = request.getHeader("user-agent"); if(baseUrl.startsWith("file:")) { String filename = url.substring(url.lastIndexOf("/") + 1); filename = URLEncoder.encode(filename, StandardCharsets.UTF_8.name())....
jenkins-release: push doc repo to git mirror on community
@@ -544,7 +544,18 @@ ${WORKSPACE}/build/doc/man ./""" dir('doc') { sh "git commit -m '${RELEASE_VERSION} Release'" + // push to github mirror pushGitRepo('doc') + withCredentials([sshUserPrivateKey(credentialsId: "community-ssh-git", keyFileVariable: "privateSshKey", usernameVariable: 'GIT_USERNAME')]) { + // add commu...
missing typo in log message
@@ -512,13 +512,13 @@ int picoquic_server_encrypt_ticket_call_back(ptls_encrypt_ticket_t* encrypt_tick /* decryption error */ ret = -1; if (quic->F_log != NULL) { - picoquic_log_app_message(quic, &quic->cnx_in_progress->initial_cnxid, "%s", + picoquic_log_app_message(quic, &quic->cnx_in_progress->initial_cnxid, "%s\n",...
misc/opts.c: move length check for long options This check should really be done in the loop, as otherwise we might write beyond the end of the longopts array
@@ -280,13 +280,13 @@ void cmdline(int* argcp, char* argv[], int min_args, int max_args, const char* u wopts[i].c = lc++; longopts[nlong++] = (struct option){ wopts[i].s, wopts[i].arg, NULL, wopts[i].c }; - } - } // Ensure that we only used unprintable characters // and that the last entry of the array is only zeros - ...
ble_mesh: stack: Use different random for each provisioning
@@ -100,6 +100,7 @@ _Static_assert(BLE_MESH_MAX_CONN >= CONFIG_BLE_MESH_PBG_SAME_TIME, #define PROV_CONF_KEY_SIZE 0x10 #define PROV_DH_KEY_SIZE 0x20 #define PROV_CONFIRM_SIZE 0x10 +#define PROV_RANDOM_SIZE 0x10 #define PROV_PROV_SALT_SIZE 0x10 #define PROV_CONF_INPUTS_SIZE 0x91 @@ -219,12 +220,6 @@ struct bt_mesh_prov_...
dummy vm bug fix even if contract is failed, when there is expected error, states in the errored contract applied. This is invalid behavior
@@ -435,7 +435,6 @@ func (l *luaTxCall) run(bs *state.BlockState, bc *DummyChain, blockNo uint64, ts l.hash(), blockNo, ts, prevBlockHash, "", true, false, contract.State().SqlRecoveryPoint, ChainService, l.luaTxCommon.amount) rv, evs, _, err := Call(eContractState, l.code, l.contract, stateSet) - _ = bs.StageContractS...
decisions: describing PRs
@@ -25,6 +25,8 @@ Substantial decisions, however, must be made in a transparent and participative - For reviewers: - Prefer to directly give suggestions how to change sentences. - General questions should be asked in the root of "Conversation" and not at vaguely related sentences in the review. +- Decision PRs do not s...
Fix osx to 9.4
@@ -18,11 +18,11 @@ matrix: python: 3.6 env: TOXENV=py36 - os: osx - osx_image: xcode8.3 + osx_image: xcode9.4 language: generic env: TOXENV=py27 - os: osx - osx_image: xcode8.3 + osx_image: xcode9.4 language: generic env: TOXENV=py36 install:
Now only loops through tokens once to match it
@@ -386,7 +386,8 @@ extraInfo_t *getKnownToken(uint8_t *contractAddress) { } } #endif - // + // Works for ERC-20 & NFT tokens since both structs in the union have the + // contract address aligned for (uint8_t i = 0; i < MAX_ITEMS; i++) { currentItem = (union extraInfo_t *) &tmpCtx.transactionContext.extraInfo[i].token...
fix out-of-bounds error in huge OS page bitmap
@@ -282,10 +282,10 @@ int mi_reserve_huge_os_pages_at(size_t pages, int numa_node, size_t timeout_msec _mi_warning_message("failed to reserve %zu gb huge pages\n", pages); return ENOMEM; } - _mi_verbose_message("reserved %zu gb huge pages\n", pages_reserved); + _mi_verbose_message("reserved %zu gb huge pages (of the %z...
Optimization for the "--no-unix-sockets" case.
@@ -738,19 +738,17 @@ nxt_py_asgi_create_http_scope(nxt_unit_request_info_t *req) static PyObject * nxt_py_asgi_create_address(nxt_unit_sptr_t *sptr, uint8_t len, uint16_t port) { +#if (NXT_HAVE_UNIX_DOMAIN) size_t prefix_len; - nxt_str_t addr; PyObject *pair, *v; + nxt_str_t addr; addr.length = len; addr.start = nxt_u...
vere: mingw: fix seh_handler_decorator.mk
-sehdexe := build/seh_handler_decorator.exe +sehdexe := build/seh_handler_decorator CCDEPS := $(CCDEPS) $(sehdexe) CCEXTRA = -E -o -|$(sehdexe) $<|$(CC) $(CFLAGS) -x cpp-output - $(sehdexe): compat/mingw/seh_handler_decorator.cc + @mkdir -p ./build @$(CC) $< -o $@
WsmanOptions: Add check for NULL pointer in WsmanOptions Throw exception to avoiud NULL pointer dereference in future.
@@ -22,12 +22,17 @@ using namespace WsmanClientNamespace; WsmanOptions::WsmanOptions() : options(wsmc_options_init()) { + if (!options) + throw std::bad_alloc(); } WsmanOptions::WsmanOptions(unsigned long flags) : options(wsmc_options_init()) { + if (options) options->flags = flags; + else + throw std::bad_alloc(); } W...
framework/st_things: free abs_json_path before exit
@@ -206,12 +206,14 @@ int things_initialize_stack(const char *json_path, bool *easysetup_completed) fp = fopen(abs_json_path, "w+"); if (!fp) { THINGS_LOG_E(TAG, "fopen() failed"); + things_free(abs_json_path); return -1; } ret = fwrite(deviceDef, size_d, 1, fp); if (ret < 0) { fclose(fp); THINGS_LOG_E(TAG, "fwrite() f...
dojo: improve autocomplete between desks
++ complete-naked-poke |= app=term =/ pax=path - /(scot %p our.hid)/[q.byk.hid]/(scot %da now.hid)/app + /(scot %p our.hid)/[q:he-beam]/(scot %da now.hid)/app %+ complete (cat 3 ':' app) %+ murn ~(tap by dir:.^(arch %cy pax)) |= [=term ~] (cat 3 '|' gen) :((cury cat 3) ':' app '|' gen) =/ pfix=path - /(scot %p our.hid)...
set test-suite version back to 1.3.1 branch
Summary: Integration test suite for OpenHPC Name: test-suite%{PROJ_DELIM} -Version: 1.4 +Version: 1.3.1 Release: 1 License: Apache-2.0 Group: %{PROJ_NAME}/admin
[OpenGL] Compare if viewport or scissor box size changed with window resizing and use that for display size
@@ -37,6 +37,30 @@ struct state { ImFont* font1 = nullptr; }; +struct GLVec +{ + GLint v[4]; + + GLint operator[] (size_t i) + { + return v[i]; + } + + bool operator== (const GLVec& r) + { + return v[0] == r.v[0] + && v[1] == r.v[1] + && v[2] == r.v[2] + && v[3] == r.v[3]; + } + + bool operator!= (const GLVec& r) + { +...
Don't return negative delta times from tcod::Timer.
@@ -53,6 +53,13 @@ namespace tcod { You must add ``#include <libtcod/timer.h>`` to include ths class. + @code{.cpp} + int desired_fps = 30; + auto timer = tcod::Timer(); + while (1) { + float delta_time = timer.sync(desired_fps); // desired_fps is optional. + // ... + @endcode \rst .. versionadded:: 1.19 \endrst @@ -87...
fix: panic test case test_task_wdt
@@ -50,7 +50,7 @@ def common_test(dut: PanicTestDut, config: str, expected_backtrace: Optional[Lis def test_task_wdt(dut: PanicTestDut, config: str, test_func_name: str) -> None: dut.expect_test_func_name(test_func_name) dut.expect_exact( - 'Task watchdog got triggered. The following tasks did not reset the watchdog in...
update irq_common_stub
@@ -116,37 +116,37 @@ isr_common_stub: sti iretd ; pops 5 things at once: CS, EIP, EFLAGS, SS, and ESP -[EXTERN irq_handler] +[EXTERN irq_receive] ; common IRQ stub. Saves processor state, sets ; up for kernel mode arguments, calls C-level fault handler, ; and finally restores stack frame irq_common_stub: - cli pushad ...
Fix Pass:send with textures/samplers;
@@ -554,14 +554,14 @@ static int l_lovrPassSend(lua_State* L) { return 0; } - Texture* texture = luax_totype(L, 4, Texture); + Texture* texture = luax_totype(L, 3, Texture); if (texture) { lovrPassSendTexture(pass, name, length, slot, texture); return 0; } - Sampler* sampler = luax_totype(L, 4, Sampler); + Sampler* sam...
Add four more verify test cases on the self-signed and self-issed X25519 certs
@@ -27,7 +27,7 @@ sub verify { run(app([@args])); } -plan tests => 139; +plan tests => 143; # Canonical success ok(verify("ee-cert", "sslserver", ["root-cert"], ["ca-cert"]), @@ -369,13 +369,25 @@ ok(verify("root-cert-rsa2", "sslserver", ["root-cert-rsa2"], [], "-check_ss_sig" "Public Key Algorithm rsa instead of rsaEn...
Make CBMC Makefile.common check for external sat solver.
@@ -211,6 +211,15 @@ cbmc-batch.yaml: if opsys != "windows": _makefile.write(target) +def write_solver(opsys, _makefile): + conditional = """ +ifneq ($(strip $(EXTERNAL_SAT_SOLVER)),) + SOLVER ?= --external-sat-solver $(EXTERNAL_SAT_SOLVER) +endif +""" + if opsys != "windows": + _makefile.write(conditional) + def makef...
sysrepocfg BUGFIX print all siblings for export op
@@ -264,7 +264,7 @@ op_export(sr_session_ctx_t *sess, const char *file_path, const char *module_name } /* print exported data */ - lyd_print_file(file ? file : stdout, data, format, LYP_FORMAT); + lyd_print_file(file ? file : stdout, data, format, LYP_FORMAT | LYP_WITHSIBLINGS); lyd_free_withsiblings(data); /* cleanup ...
fixup routing table
@@ -220,7 +220,8 @@ uint8_t RoutingTB_ServiceIsSensor(luos_type_t type) || (type == IMU_TYPE) || (type == LOAD_TYPE) || (type == VOLTAGE_TYPE) - || (type == LIGHT_TYPE)) + || (type == LIGHT_TYPE) + || (type == SERVO_MOTOR_TYPE)) { return 1; }
config_tools: set 'own_pcpu' of RTVM For STANDARD_VM 'own_pcpu' default value is 'n'. But RTVM always own pCPUs. So check 'own_pcpu' of RTVM and make sure it's set to 'y'.
@@ -46,6 +46,10 @@ def main(scenario): if name.text not in vmNames: name.text = "" + own_pcpus = etree.findall(".//vm[vm_type = 'RTVM']/own_pcpu") + for o in own_pcpus: + o.text = 'y' + result = tostring(obj.get("scenario_etree").getroot()) result = result.decode() result = convert_result({
Added warning message if the user doesn't have write access to the config file.
@@ -557,18 +557,29 @@ void write_config_group(FILE *f, config_group *cg, char *tag) { // struct SurviveContext; SurviveContext *survive_context; -void config_save(SurviveContext *sctx, const char *path) { +void config_save(SurviveContext *ctx, const char *path) { uint16_t i = 0; FILE *f = fopen(path, "w"); - write_conf...
Additional exception details
@@ -29,7 +29,11 @@ namespace carto { class ParseException : public std::runtime_error { public: - explicit ParseException(const std::string& msg, const std::string& str = std::string(), int position = -1) : runtime_error(msg), _string(str), _position(position) { } + explicit ParseException(const std::string& msg, const...
Update release checklist for the transition to git. The tagging method is different now that our main repository is in git instead of subversion.
@@ -4,12 +4,12 @@ libvorbis release checklist. - Bump release version and sonames in configure.ac - Update CHANGES. - Update overall copyright dates on COPYING and README. -- Verify 'make distcheck' works. - Verify everything is committed. -- Tag release: - svn cp https://svn.xiph.org/trunk/vorbis https://svn.xiph.org/...
xfconf: Remove lied infos/placements
- infos/needs = - infos/provides = storage/xfconf - infos/recommends = -- infos/placements = prerollback rollback postrollback getresolver pregetstorage getstorage procgetstorage postgetstorage setresolver presetstorage setstorage precommit commit postcommit +- infos/placements = getstorage setstorage - infos/status = ...
tls_process_server_hello: Disallow repeated HRR Repeated HRR must be rejected. Fixes
@@ -1395,6 +1395,10 @@ MSG_PROCESS_RETURN tls_process_server_hello(SSL *s, PACKET *pkt) && sversion == TLS1_2_VERSION && PACKET_remaining(pkt) >= SSL3_RANDOM_SIZE && memcmp(hrrrandom, PACKET_data(pkt), SSL3_RANDOM_SIZE) == 0) { + if (s->hello_retry_request != SSL_HRR_NONE) { + SSLfatal(s, SSL_AD_UNEXPECTED_MESSAGE, SSL...
Organize lovrGraphicsReset;
@@ -95,19 +95,20 @@ void lovrGraphicsReset() { state.transform = 0; state.canvas = 0; state.defaultShader = -1; - lovrGraphicsSetViewport(0, 0, w, h); - lovrGraphicsSetProjection(mat4_perspective(projection, .01f, 100.f, 67 * M_PI / 180., (float) w / h)); - lovrGraphicsSetShader(NULL); lovrGraphicsSetBackgroundColor((C...
Update Docker to Ubuntu 18.04
-FROM 32bit/ubuntu:16.04 +FROM i386/ubuntu:18.04 ENV DEBIAN_FRONTEND noninteractive +# Set user for what comes next +USER root + # Tools +RUN apt-get -qq update && \ + apt-get -qq -y --no-install-recommends install gnupg > /dev/null + RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF...
Missing mars.levtype for local params 262002 and 263002
'o2d' = {typeOfFirstFixedSurface=169; typeOfSecondFixedSurface=255;} 'o2d' = {typeOfFirstFixedSurface=170; typeOfSecondFixedSurface=255;} 'o2d' = {typeOfFirstFixedSurface=171; typeOfSecondFixedSurface=255;} +'o2d' = {typeOfFirstFixedSurface=173; typeOfSecondFixedSurface=255;} +'o2d' = {typeOfFirstFixedSurface=173; type...
hw/bus/i2c: Add I2C HAL errors translation
#include "bus/bus_debug.h" #include "bus/i2c.h" +static int +bus_i2c_translate_hal_error(int hal_err) +{ + switch (hal_err) { + case 0: + return 0; + case HAL_I2C_ERR_UNKNOWN: + return SYS_EUNKNOWN; + case HAL_I2C_ERR_INVAL: + return SYS_EINVAL; + case HAL_I2C_ERR_TIMEOUT: + return SYS_ETIMEOUT; + case HAL_I2C_ERR_ADDR...
force x/y Sampling to 1 for Deep Scanline Images
@@ -874,6 +874,7 @@ Header::sanityCheck (bool isTiled, bool isMultipartFile) const const std::string & part_type=hasType() ? type() : ""; + if(part_type!="" && !isSupportedType(part_type)) { // @@ -882,6 +883,7 @@ Header::sanityCheck (bool isTiled, bool isMultipartFile) const return; } + bool isDeep = isDeepData(part_t...
Define immediate comparison instructions for non-integers. Previous, the instructions were defined only for values that fit into 32 bit integers for legacy reasons.
@@ -780,7 +780,7 @@ static JanetSignal run_vm(JanetFiber *fiber, Janet in) { vm_compop( <=); VM_OP(JOP_LESS_THAN_IMMEDIATE) - stack[A] = janet_wrap_boolean(janet_unwrap_integer(stack[B]) < CS); + stack[A] = janet_wrap_boolean(janet_unwrap_number(stack[B]) < (double) CS); vm_pcnext(); VM_OP(JOP_GREATER_THAN) @@ -790,7 +...
added option to enable replaycountcheck (default: disabled)
@@ -40,8 +40,9 @@ char *nonwdfhcxoutname = NULL; uint8_t netexact = FALSE; -int wldflag = FALSE; -int ancflag = FALSE; +uint8_t replaycountcheck = FALSE; +uint8_t wldflag = FALSE; +uint8_t ancflag = FALSE; /*===========================================================================*/ unsigned long long int getreplayco...
fix the ping of the death in multipath Of course we must ALWAYS take into account the congestion window when scheduling packets over paths...
@@ -35,6 +35,14 @@ protoop_arg_t select_sending_path(picoquic_cnx_t *cnx) return (protoop_arg_t) path_c; } + /* Very important: don't go further if the cwin is exceeded! */ + uint64_t cwin = (uint64_t) get_path(path_c, PATH_AK_CWIN, 0); + uint64_t bytes_in_flight = (uint64_t) get_path(path_c, PATH_AK_BYTES_IN_TRANSIT, ...
Fix example/convert-to-nia comment typo
@@ -493,7 +493,7 @@ print_nia_padding() { void // print_nia_footer() { - // For still (non-animated) frames, the number of animation loops has no + // For still (non-animated) images, the number of animation loops has no // practical effect: the pixels on screen do not change over time regardless // of its value. In th...
try new audio
@@ -11,7 +11,7 @@ from pydub import AudioSegment from pydub import exceptions from .AddAudio import HitsoundManager from .Hitsound import Hitsound -from .Utils import getfilenames, nextpowerof2 +from .Utils import getfilenames from ..global_var import Paths, SkinPaths, Settings, GameplaySettings import os.path @@ -61,7...
changes entry about non-approved FIPS algorithms
@@ -209,6 +209,14 @@ OpenSSL 3.1 ### Changes between 3.0 and 3.1.0 [xx XXX xxxx] + * The FIPS provider includes a few non-approved algorithms for + backward compatibility purposes and the "fips=yes" property query + must be used for all algorithm fetches to ensure FIPS compliance. + + The algorithms that are included b...
board/crota/fw_config.h: Format with clang-format BRANCH=none TEST=none
* Source of truth is the project/brya/brya/config.star configuration file. */ -enum ec_cfg_usb_db_type { - DB_USB_ABSENT = 0, - DB_USB_ABSENT2 = 15 -}; +enum ec_cfg_usb_db_type { DB_USB_ABSENT = 0, DB_USB_ABSENT2 = 15 }; enum ec_cfg_keyboard_backlight_type { KEYBOARD_BACKLIGHT_DISABLED = 0,
Initialise iv buffer before use Commit initialises the iv buffer before it is passed to mbedtls_cipher_set_iv().
@@ -1154,6 +1154,9 @@ void check_iv( int cipher_id, char * cipher_string, size_t iv_len = iv_len_val; unsigned char iv[16]; + /* Initialise iv buffer */ + memset( iv, 0, sizeof( iv ) ); + const mbedtls_cipher_info_t *cipher_info; mbedtls_cipher_context_t ctx_dec; mbedtls_cipher_context_t ctx_enc;
Use develop branch for libs-carto
[submodule "libs-carto"] path = libs-carto url = https://github.com/cartodb/mobile-carto-libs - branch = master + branch = develop [submodule "libs-external"] path = libs-external url = https://github.com/cartodb/mobile-external-libs
icheck: fix paths
# =========== SCRIPTS_DIR=$(dirname "$0") -cd "$SCRIPTS_DIR/.." || exit +cd "$SCRIPTS_DIR/../.." || exit BASE_DIR="$(pwd)" BUILD_DIR="$BASE_DIR/build" ICHECK_DIR="$BASE_DIR/icheck"
catch invalid characters in percent encoded query
@@ -486,7 +486,11 @@ public: NSURLComponents* components = [NSURLComponents componentsWithString:encodedUrl]; // decode query to initial state - all other parts still encoded + @try { components.percentEncodedQuery = components.query; + } @catch( NSException* e ) { + RAWLOG_ERROR1( "Error decoding URL query: %s", [e.re...
metadata-pull-hook: fix limb expression in on-pull-nack
:_ this %+ turn ~(tap by associations) |= [=md-resource:metadata =association:metadata] - %+ poke-our:pass:io %metadata-store + %+ poke-our:pass:io:hc %metadata-store :- %metadata-update-2 !> ^- update:metadata [%remove resource md-resource]
Configure: fix small spelling error
@@ -3008,7 +3008,7 @@ sub compiler_predefined { return () if $^O eq 'VMS'; - die 'compiler_predefines called without a default compiler' + die 'compiler_predefined called without a default compiler' unless $default_compiler; if (! $predefined{$default_compiler}) {
Update README: remove info about docker-compose.privileged.yml file was removed with
@@ -23,10 +23,6 @@ We have moved some of the test service definitions out of `docker-compose.yml` into separate arch-specific configs; `docker-compose.$(uname -m).yml`. This was done because the base images for some of them are not available on ARM. -We have an additional config named `docker-compose.privileged.yml` th...
Make sure that STOP_SENDING + STREAM fin causes stream_close eventually
@@ -7666,6 +7666,65 @@ void test_ngtcp2_conn_stream_close(void) { CU_ASSERT(NGTCP2_APP_ERR01 == ud.stream_close.app_error_code); ngtcp2_conn_del(conn); + + /* Client sends STOP_SENDING and then STREAM and fin */ + pkt_num = 0; + + setup_default_server(&conn); + conn->callbacks.stream_close = stream_close; + conn->callb...
drivers/rwbuffer: fix wrong arguments order during 'rwb->rhreload' call
@@ -800,7 +800,7 @@ int rwb_read(FAR struct rwbuffer_s *rwb, off_t startblock, uint32_t nblocks, FAR * the user buffer. */ - ret = rwb->rhreload(rwb->dev, startblock, nblocks, rdbuffer); + ret = rwb->rhreload(rwb->dev, rdbuffer, startblock, nblocks); } #endif
Add -fdebug-prefix-map to make Arcadia paths relative Add -fdebug-prefix-map to make Arcadia paths relative ([arc::pullid] 80de8506-19914538-586ec135-7815b03a)
@@ -1364,6 +1364,7 @@ class GnuCompiler(Compiler): self.debug_info_flags = ['-g'] if self.target.is_linux: self.debug_info_flags.append('-ggnu-pubnames') + self.c_foptions.append('-fdebug-prefix-map=${ARCADIA_ROOT}/=') self.cross_suffix = '' if is_positive('FORCE_NO_PIC') else '.pic'
arch/imxrt: modify gpio irq attach logic depending on IRQ config if gpio irq config is not configured, disable irq attach logic
@@ -192,6 +192,7 @@ static int imxrt_gpio_enable(FAR struct gpio_lowerhalf_s *lower, int falling, in } priv->handler = handler; +#ifdef CONFIG_IMXRT_GPIO_IRQ if (handler) { irq_attach(irqvector, imxrt_gpio_interrupt, priv); up_enable_irq(irqvector); @@ -199,7 +200,7 @@ static int imxrt_gpio_enable(FAR struct gpio_lower...
shell/tash_command : Handle '!' cases in tash 1) If the last character in buff is '!', it will be handled as character, not history command. 2) If there is no number after '!' and '!' is not the last, returns ERROR.
@@ -247,7 +247,7 @@ static char *tash_get_cmd_from_history(int hist_idx) if (hist_idx < 0) { printf("Not supported\n"); return NULL; - } else if (hist_idx == 0 || hist_idx >= TASH_MAX_STORE) { + } else if (hist_idx >= TASH_MAX_STORE) { printf("!%d: event not found\n", hist_idx); return NULL; } @@ -426,20 +426,35 @@ int...
DPDK/PSA: add drop operation
#include <rte_ip.h> #include "actions.h" -//extern struct all_metadatas_t all_metadatas; +extern struct all_metadatas_t all_metadatas; void InternetChecksum_t_init() { debug(" :::: calling extern " T4LIT(InternetChecksum_t_init,extern) "\n"); @@ -38,11 +38,11 @@ void InternetChecksum_t_get() { int extract_egress_port(p...
Add comments for doxygen about pthread_rwlock
@@ -844,20 +844,57 @@ int pthread_barrierattr_getpshared(FAR const pthread_barrierattr_t *attr, FAR in * @since Tizen RT v1.0 */ int pthread_barrierattr_setpshared(FAR pthread_barrierattr_t *attr, int pshared); -/** - * @} *///end for PTHREAD_KERNEL /* Pthread rwlock */ +/** + * @brief POSIX APIs (refer to : http://pub...
Bug with disconnection_reason is fixed.
@@ -99,7 +99,7 @@ struct connection_pool_data { uint32_t shares_count; time_t last_share_time; int deleted; - char* disconnection_reason; + const char* disconnection_reason; xdag_hash_t last_min_hash; long double mean_log_difficulty; uint16_t bounded_task_counter; @@ -503,9 +503,6 @@ static void close_connection(connec...
linkchecker: (temporarily) whitelist broken latest successful build links
@@ -43,3 +43,8 @@ https://community.kde.org/Akademy/2018/Config_Workshop # Certificate issues https://debian-stretch-repo.libelektra.org + + +# Broken links to MinGW builds for Windows (see issue #4624), temporary fix to get PRs merged! +https://build.libelektra.org/job/libelektra/job/master/lastSuccessfulBuild/artifac...
Don't fortify sources on Android
@@ -11,12 +11,7 @@ MRuby::Build.new do |conf| end MRuby::CrossBuild.new('target') do |conf| - params = {} - if ENV['MRUBY_TOOLCHAIN'] == 'android' - params[:toolchain] = :clang - params[:platform] = 'android-21' - end - toolchain ENV['MRUBY_TOOLCHAIN'], params + toolchain ENV['MRUBY_TOOLCHAIN'] conf.gembox File.expand_...