diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -438,19 +438,21 @@ private void UpdateHints()
}
// WASD Movement
- string WASD = moveForward.ToString() + moveLeft.ToString() + moveBackward.ToString() + moveRight.ToString();
- hints += "<b>" + WASD + "</b>: " + "Move Player/Playspace\n";
+ string movementKeys = moveForward.ToString() + moveLeft.ToString() + moveBa... | chore(SDK): update text to simulator control hints canvas text | null | extendrealityltd/vrtk | MIT License | C# |
@@ -270,7 +270,7 @@ class PlayerTests: QuickSpec {
}
describe("#attachTo") {
- fit("triggers didAttachView") {
+ it("triggers didAttachView") {
let player = Player(options: [:])
let view = UIView(frame: .zero)
let controller = UIViewController()
| chore: removing fit from a test | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -199,9 +199,9 @@ func GetOrDefault(e ENVKey, defaultValue string) (value string) {
if len(envValue) == 0 {
// ENV not defined or set to ""
return defaultValue
- } else {
- return envValue
}
+
+ return envValue
}
// Lookup looks up an environment variable
| chore(lint): remove redundant 'else' in maya/pkg/env/v1alpha1/env.go | null | openebs/maya | Apache License 2.0 | Go |
@@ -36,7 +36,7 @@ public struct ApplePayStyle {
public init(paymentButtonStyle: PKPaymentButtonStyle? = nil,
paymentButtonType: PKPaymentButtonType = .plain,
cornerRadius: CGFloat = 4,
- backgroundColor: UIColor = .Adyen.componentSecondaryLabel,
+ backgroundColor: UIColor = UIColor.Adyen.componentBackground,
hintLabel:... | chore: fix wrong color for background | null | adyen/adyen-ios | MIT License | Swift |
@@ -15,7 +15,26 @@ open class Core: UIBaseObject, UIGestureRecognizerDelegate {
lazy var optionsUnboxer: OptionsUnboxer = OptionsUnboxer(options: self.options)
- open weak var activeContainer: Container?
+ open weak var activeContainer: Container? {
+
+ didSet {
+ activeContainer?.on(
+ InternalEvent.willChangePlayback... | chore: set active container events to be setted on didSet and willSet | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
@@ -16,6 +16,8 @@ limitations under the License.
package cmd
import (
+ "fmt"
+
"github.com/DopplerHQ/cli/pkg/models"
"github.com/spf13/cobra"
)
@@ -121,6 +123,7 @@ func init() {
enclaveSecretsDownloadCmd.Flags().String("format", models.JSON.String(), "output format. one of [json, env]")
enclaveSecretsDownloadCmd.Flags... | chore: Add --name-transformer flag to `doppler enclave secrets download` | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -204,10 +204,12 @@ export class AppComponent implements OnInit {
map((e: NavigationStart) => e.url)
);
+ this.desktop = this.platformService.isDesktop();
+
combineLatest([this.authFacade.idToken$, this.authFacade.user$, navigationEvents$]).pipe(
filter(([, user, nav]) => {
return user.allaganChecker || user.admin ||... | chore(desktop): fixed a bug with data reporters not working as intended | null | ffxiv-teamcraft/ffxiv-teamcraft | MIT License | TypeScript |
@@ -17,5 +17,6 @@ source_root=$(pwd)
python3 -m pip install --upgrade pip
python3 -m pip install $(grep 'yapf==' sdk/python/requirements-dev.txt)
-
+python3 -m pip install pre_commit_hooks
+python3 -m pre_commit_hooks.string_fixer $(find sdk/python/kfp/**/*.py -not -path 'sdk/python/kfp/deprecated/*' -type f)
yapf --re... | chore(test): check single quote in formatting presubmit | null | kubeflow/pipelines | Apache License 2.0 | Shell |
@@ -99,7 +99,10 @@ gulp.task("build-binary-nuget-packages", [], function () {
.pipe(buildNugetPackages(true));
});
-gulp.task("test-package-build", ["build-binaries-for-nuget-packages"], function (done) {
+gulp.task("build-binaries-for-nuget-packages-from-zero", ["purge"], function (done) {
+ runSequence("build-binarie... | chore: make test-package-build start from zero | null | fluffynuts/peanutbutter | BSD 3-Clause New or Revised License | JavaScript |
+// import { Metadata } from '@aurelia/metadata';
+import { all, DI, IContainer, Registration } from '@aurelia/kernel';
+import { assert } from '@aurelia/testing';
+
+describe('1-kernel/di.getAll.spec.ts', function () {
+ let container: IContainer;
+
+ // eslint-disable-next-line mocha/no-hooks
+ beforeEach(function ()... | chore(tests): add tests for container.getAll + traverse | null | aurelia/aurelia | MIT License | TypeScript |
-mysql -e "CREATE DATABASE owid;"
+#!/bin/bash
+
+set -e
+
+MYSQL='mysql -h 127.0.0.1 -u root'
+
+$MYSQL -e "CREATE DATABASE owid;"
curl -Lo /tmp/owid_metadata.sql.gz https://files.ourworldindata.org/owid_metadata.sql.gz
-gunzip < /tmp/owid_metadata.sql.gz | mysql -D owid
+gunzip < /tmp/owid_metadata.sql.gz | $MYSQL -D... | chore: Update db import to match lando settings | null | owid/owid-grapher | MIT License | Shell |
@@ -29,7 +29,7 @@ const (
// ProtocolName is the text of the name of the handshake protocol.
ProtocolName = "handshake"
// ProtocolVersion is the current handshake protocol version.
- ProtocolVersion = "4.0.0"
+ ProtocolVersion = "5.0.0"
// StreamName is the name of the stream used for handshake purposes.
StreamName = ... | chore(handshake): bump version | null | ethersphere/bee | BSD 3-Clause New or Revised License | Go |
@@ -49,7 +49,6 @@ public class TaskDefaultService {
private static Map<String, List<TaskDefault>> taskDefaultsToMap(List<TaskDefault> taskDefaults) {
return taskDefaults
.stream()
- .sorted(Comparator.comparingInt(value -> value.isForced() ? 1 : 0))
.collect(Collectors.groupingBy(TaskDefault::getType));
}
@@ -80,20 +79... | chore(core): better taskDefault forced algo | null | kestra-io/kestra | Apache License 2.0 | Java |
@@ -119,6 +119,16 @@ export default ({ data }) => {
can route your message to the right team.
</AlertInfobox>
)}
+ <input
+ type="hidden"
+ name="autoreply-from"
+ value="support@covidtracking.com"
+ />
+ <input
+ type="hidden"
+ name="autoreply-sender-name"
+ value="The COVID Tracking Project"
+ />
<button
type="submi... | chore: Add front tags for autoreply | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -466,9 +466,9 @@ static void check_for_ignored_events(sinsp &inspector, falco_engine &engine)
static void list_source_fields(falco_engine *engine, bool verbose, bool names_only, std::string &source)
{
if(source.size() > 0 &&
- !(source == syscall_source || source == k8s_audit_source))
+ !engine->is_source_valid(sour... | chore: improve --list output using is_source_valid | null | falcosecurity/falco | Apache License 2.0 | C++ |
@@ -206,6 +206,7 @@ async fn list_inner<T: IpfsTypes>(
} else {
// TODO: the non stream variant looks like the http docs one:
// { "Keys": { "cid": { "Type": "indirect" } } }
+ // See https://github.com/rs-ipfs/rust-ipfs/issues/351
Err(crate::v0::NotImplemented.into())
}
} else {
@@ -295,7 +296,9 @@ struct TypeDecorato... | chore: cleanup and link todo to issue | null | rs-ipfs/rust-ipfs | Apache License 2.0 | Rust |
@@ -43,6 +43,7 @@ public class ReasonMLDocumentListener implements DocumentListener {
return; // ? not sure about this one
}
+ try {
Editor selectedTextEditor = FileEditorManager.getInstance(project).getSelectedTextEditor();
if (selectedTextEditor != null) {
Document document = selectedTextEditor.getDocument();
@@ -68,... | chore: ignore a potential AssertionError | null | giraud/reasonml-idea-plugin | MIT License | Java |
@@ -60,7 +60,7 @@ class ExtractorTrim {
let matchIndex;
let startIndex;
let endIndex;
- if (condition?.options?.closest) {
+ if (condition && condition.options && condition.options.closest) {
matchIndex = 1;
const leftWordIndex = match[0].indexOf(match[matchIndex]);
startIndex = match.index - 1 + leftWordIndex;
| chore: update format to work on nodejs 12 | null | axa-group/nlp.js | MIT License | JavaScript |
@@ -113,22 +113,32 @@ function getSerpHandler(): SerpHandler {
},
],
pagerHandlers: [
+ // Top page -> Web
{
- target: '[class*=Web-module], [class*=Stack-module__VerticalStack]',
- innerTargets: '[domain], [class*=SearchFilter-module__SearchFilter___]',
+ target: '[class*=SearchLayout-module__container___]',
+ innerTa... | chore(qwant): refactor pager handlers | null | iorate/ublacklist | MIT License | TypeScript |
@@ -41,6 +41,7 @@ const ErrorMessage = ({
</IconWithText>
</div>
<div className="message">{message}</div>
+ {/* @ts-expect-error TODO: typescript TripTools */}
{!warning && <TripTools buttonTypes={['START_OVER', 'REPORT_ISSUE']} />}
</div>
)
| chore: correct false typescript error | null | opentripplanner/otp-react-redux | MIT License | TypeScript |
@@ -663,7 +663,7 @@ public class GitServiceCEImpl implements GitServiceCE {
application,
AppsmithError.GIT_APPLICATION_LIMIT_ERROR.getErrorType(),
AppsmithError.GIT_APPLICATION_LIMIT_ERROR.getMessage(),
- application.getGitApplicationMetadata().getIsRepoPrivate()
+ true
).flatMap(ignore -> Mono.error(new AppsmithExcept... | chore: Fix NPE in git service analytics | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -72,8 +72,8 @@ internal final class VoucherViewControllerProvider: AnyVoucherViewControllerProv
backgroundColor: self.style.backgroundColor)
let baseModel = AbstractVoucherView.Model(voucherAction: action,
separatorModel: .init(separatorTitle: separatorTitle),
- saveButtonTitle: "Save",
- doneButtonTitle: "Return to... | chore: changed the buttons titles in the VoucherViewControllerProvider | null | adyen/adyen-ios | MIT License | Swift |
@@ -374,15 +374,6 @@ impl PredicateBuilder {
| Operator::GtEq
)
}
- // Expr::BinaryExpr { op, .. } => matches!(
- // op,
- // Operator::Eq
- // | Operator::NotEq
- // | Operator::Lt
- // | Operator::LtEq
- // | Operator::Gt
- // | Operator::GtEq
- // ),
_ => false,
}
}
| chore: remove leftover comments | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -55,6 +55,13 @@ export class FluidTab extends LitElement {
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
margin-right: ${unsafeCSS(FLUID_SPACING_MEDIUM)};
+
+ --fluid-tab--label-color: var(--color-neutral-100);
+ --fluid-tab--label-hover-color: var(--color-neutral-150);
+ --fluid-tab--label... | chore: Adds css custom proxies to the tabs | null | dynatrace-oss/barista | Apache License 2.0 | TypeScript |
@@ -55,9 +55,6 @@ ${JSON.stringify(target)}
createErrorPropertyAssertion('location', 'withLocation');
createErrorPropertyAssertion('values', 'withValues');
- //
- // TODO
- // Finish the error messages
Assertion.addMethod('kind', function(expectedValue) {
const { kind } = this._obj;
const stringifiedObj = stringify(thi... | chore: provides assertion error messages for "kind" in Chai | null | apiaryio/gavel.js | MIT License | JavaScript |
@@ -410,31 +410,6 @@ class NotificationManager {
.continueWith(CACHED_THREAD_POOL, fullScreenActionContinuation);
}
- static Task<Void> cancelNotification(
- @NonNull String notificationId, @NonNull int notificationType) {
- return Tasks.call(
- () -> {
- NotificationManagerCompat notificationManagerCompat =
- Notifica... | chore: code comment for cancelling fcm notifications on android and remove unsued method `cancelNotification` in `NotificationManager.java` | null | invertase/notifee | Apache License 2.0 | Java |
@@ -73,6 +73,7 @@ public class VersionRestService extends AbstractRestService {
@ParameterObject
VersionRestSearch params) {
return ResourceRequests.prepareSearchVersion()
+ .filterByIds(params.getId())
.filterByResourceTypes(params.getResourceType())
.filterByResources(params.getResource())
.filterByCreatedAt(params.g... | chore(api): connect id filter in `GET /versions` | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -380,16 +380,15 @@ class CrawlerProcessSubprocess(ScriptRunnerMixin, unittest.TestCase):
self.assertIn('Spider closed (finished)', log)
self.assertIn("Using reactor: twisted.internet.asyncioreactor.AsyncioSelectorReactor", log)
+ @mark.skipif(parse_version(w3lib_version) >= parse_version("2.0.0"),
+ reason='w3lib 2.... | chore: Skip `test_ipv6_default_name_resolver` test if w3lib version >= 2.0.0 | null | scrapy/scrapy | BSD 3-Clause New or Revised License | Python |
@@ -4,7 +4,7 @@ defmodule Andi.MixProject do
def project do
[
app: :andi,
- version: "2.3.7",
+ version: "2.3.8",
build_path: "../../_build",
config_path: "../../config/config.exs",
deps_path: "../../deps",
| chore(789): mix version | null | urbanos-public/smartcitiesdata | Apache License 2.0 | Elixir |
@@ -18,7 +18,7 @@ cd apk
if [ "$TRAVIS_BRANCH" == "$PUBLISH_BRANCH" ]; then
/bin/rm -f *
else
- /bin/rm -f app-playStore-debug.apk app-playStore-release.apk app-fdroid-debug.apk app-fdroid-release.apk
+ /bin/rm -f eventyay-organizer-dev-*.apk
fi
\cp -r ../app/build/outputs/apk/playStore/*/**.apk .
@@ -43,6 +43,12 @@ if... | chore: Modify update-apk script | null | fossasia/open-event-organizer-android | Apache License 2.0 | Shell |
@@ -278,9 +278,7 @@ public Bar(IReadOnlyList<BarValue> values, float maxValue, bool isCentre)
}
}
- private const double total_duration = 300;
-
- private double duration => total_duration / Math.Max(values.Count, 1);
+ private const double duration = 300;
private float offsetForValue(float value)
{
@@ -296,19 +294,20 ... | chore(osu.Game): align height of bars on timing distribution graph to `basalHeight` first and combine their transitions into each one | null | ppy/osu | MIT License | C# |
@@ -519,8 +519,8 @@ fn test_cancel_redeem_succeeds() {
#[test]
fn test_mint_tokens_for_reimbursed_redeem() {
- // Checked PRECONDITION: The vault MUST NOT be banned.
- // Checked POSTCONDITION: `tryIncreaseToBeIssuedTokens` and `issueTokens` MUST be called,
+ // PRECONDITION: The vault MUST NOT be banned.
+ // POSTCOND... | chore: Use uniform pre/post condition comments | null | interlay/interbtc | Apache License 2.0 | Rust |
-# -*- coding: utf-8 -*-
-# MegEngine is Licensed under the Apache License, Version 2.0 (the "License")
-#
-# Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
-#
-# Unless required by applicable law or agreed to in writing,
-# software distributed under the License is distributed on an
-# "AS IS" BASIS, WITHOUT... | chore(mge): remove old version.py and use version_template | null | megengine/megengine | Apache License 2.0 | Python |
@@ -104,26 +104,6 @@ bool IsWidevineAvailable(
}
#endif // BUILDFLAG(ENABLE_WIDEVINE)
-#if BUILDFLAG(ENABLE_PLUGINS)
-void ComputeBuiltInPlugins(std::vector<content::ContentPluginInfo>* plugins) {
-#if BUILDFLAG(ENABLE_PDF_VIEWER)
- // TODO(upstream/thestig): Figure out how to make the PDF Viewer work without
- // this... | chore: cleanup `ElectronContentClient::AddPlugins` | null | electron/electron | MIT License | C++ |
[ -z "$CONVENTIONAL_GITHUB_RELEASER_TOKEN" ] && echo "Need to set Token" && exit 1;
cp package.json _package.json &&
+cp package-lock.json _package-lock.json &&
bump=`conventional-recommended-bump -p angular` &&
echo ${1:-$bump} &&
npm --no-git-tag-version version ${1:-$bump} &>/dev/null &&
@@ -8,6 +9,7 @@ git add Chan... | chore: update release script for "package-lock.json" | null | luin/ioredis | MIT License | Shell |
@@ -2030,13 +2030,6 @@ func (r *slicedReaderAt) ReadAt(bs []byte, off int64) (n int, err error) {
}
func (s *ImmuStore) ExportTx(txID uint64, allowPrecommitted bool, tx *Tx) ([]byte, error) {
- s.mutex.Lock()
- defer s.mutex.Unlock()
-
- if s.closed {
- return nil, ErrAlreadyClosed
- }
-
err := s.readTx(txID, allowPrec... | chore(embedded/store): mutexless export-tx | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -24,10 +24,6 @@ pub fn run(config: Config) {
// kick off the key exchange process. The result will be that the worker is notified
// when the secure channel is created.
- println!(
- "Worker address: {:?}",
- hex::decode(config.service_address().unwrap()).unwrap()
- );
node.channel_tx
.send(OckamCommand::Channel(Cha... | chore(rust): remove print statement of worker address on initiator | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -15,8 +15,8 @@ extension XCTestCase {
let cityItemView = addressView.findView(by: identifier(for: .city, addressView: addressViewIdentifier)) as? FormTextInputItemView
populate(textItemView: cityItemView, with: address.city ?? "")
-// let countryItemView = addressView.findView(by: identifier(for: .country, addressVi... | chore: Logic to fill country field | null | adyen/adyen-ios | MIT License | Swift |
@@ -162,6 +162,16 @@ func (e *Engine) DefaultDatabase() string {
return e.defaultDatabase
}
+func (e *Engine) Catalog() (*Catalog, error) {
+ tx, err := e.newTx(false)
+ if err != nil {
+ return nil, err
+ }
+ defer tx.cancel()
+
+ return tx.catalog, nil
+}
+
func (e *Engine) newTx(explicitClose bool) (*SQLTx, error) {... | chore(embedded/sql): method to return sql catalog | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -93,20 +93,13 @@ extension PreApplePayComponent: PaymentComponentDelegate {
internal func didSubmit(_ data: PaymentComponentData, from component: PaymentComponent) {
let checkoutAttemptId = component.context.analyticsProvider.checkoutAttemptId
- var updatedData: PaymentComponentData
-
- if data.checkoutAttemptId == ... | chore: Remove checkoutAttemptId check | null | adyen/adyen-ios | MIT License | Swift |
@@ -138,7 +138,7 @@ val networkModule = applicationContext {
}
bean {
- val baseUrl = "https://open-event-api-dev.herokuapp.com/v1/"
+ val baseUrl = "http://api.eventyay.com/v1/"
val objectMapper: ObjectMapper = get()
Retrofit.Builder()
| chore: change base url | null | fossasia/open-event-attendee-android | Apache License 2.0 | Kotlin |
#!/usr/bin/env bash
-set -exo
+set -e
+
+
+
+function sub_help {
+ cat << EOF
# possible prerequisites
# brew install gmp # to prevent module 'embit.util' has no attribute 'ctypes_secp256k1'
# npm install --global create-dmg
@@ -28,9 +33,64 @@ set -exo
# https://github.com/sindresorhus/create-dmg
# Example-call:
-# ./b... | chore: Mac Release script improvements | null | cryptoadvance/specter-desktop | MIT License | Shell |
@@ -89,6 +89,7 @@ const getCodeContent = async (rawPkgPath) => {
`${pkgPath}/**/*.tsx`,
`${pkgPath}/**/*.js`,
`${pkgPath}/**/*.jsx`,
+ `!${pkgPath}/webhint.js`,
`!${pkgPath}/dist/**/*`,
`!${pkgPath}/node_modules/**/*` // needed when we are inside a package like extension-vscode
], { gitignore: false });
| chore: Exclude worker bundle from dependency linting | null | webhintio/hint | Apache License 2.0 | JavaScript |
// See the License for the specific language governing permissions and
// limitations under the License.
+use std::collections::HashMap;
+
use common_ast::ast::Expr;
use common_catalog::table_args::TableArgs;
use common_exception::ErrorCode;
@@ -49,7 +51,7 @@ pub async fn bind_table_args(
})
.collect::<Result<Vec<_>>>(... | chore: small refactor | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -148,7 +148,7 @@ impl CreateCommand {
fn parse_node_name(&self) -> crate::Result<Self> {
let cmd = self.clone();
- if self.node_name.starts_with('/') {
+ if self.node_name.contains('/') {
if self.node_name.starts_with("/node/") {
let node_name = extract_address_value(&self.node_name)?;
return Ok(Self { node_name, ..... | chore(rust): edge case fix on `node create` adjustment for `multiaddr` input strings | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -54,10 +54,12 @@ class Bitbucket extends OAuth
'POST',
'https://bitbucket.org/site/oauth2/access_token',
$headers,
- 'code=' . urlencode($code) .
- '&client_id=' . urlencode($this->appID) .
- '&client_secret=' . urlencode($this->appSecret).
- '&grant_type=authorization_code'
+ http_build_query([
+ 'code' => $code,
+... | chore: updated bitbucket adapter | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
@@ -1615,7 +1615,7 @@ func (s *ImmuStore) CommitWith(ctx context.Context, callback func(txID uint64, i
}
// note: durability is ensured only if the store is in sync mode
- err = s.commitWHub.WaitFor(context.Background(), hdr.ID)
+ err = s.commitWHub.WaitFor(ctx, hdr.ID)
if errors.Is(err, watchers.ErrAlreadyClosed) {
re... | chore(embedded/store): context propagation | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -8,9 +8,9 @@ import Foundation
/// Validates email addresses.
/// :nodoc:
-internal class EmailValidator: RegularExpressionValidator {
+public class EmailValidator: RegularExpressionValidator {
- internal init() {
+ public init() {
// Regex constructed according to the definition of an email address
// https://en.wi... | chore: Public scope EmailValidator | null | adyen/adyen-ios | MIT License | Swift |
@@ -212,17 +212,29 @@ public final class Unsafe {
}
public static long malloc(long size, int memoryTag) {
+ try {
long ptr = getUnsafe().allocateMemory(size);
recordMemAlloc(size, memoryTag);
MALLOC_COUNT.incrementAndGet();
return ptr;
+ } catch (OutOfMemoryError oom) {
+ System.err.println("Unsafe.malloc() OutOfMemory... | chore(core): OutOfMemoryError logging | null | questdb/questdb | Apache License 2.0 | Java |
@@ -9,7 +9,6 @@ import 'firebase_core/firebase_core_e2e.dart' as firebase_core;
import 'firebase_crashlytics/firebase_crashlytics_e2e.dart'
as firebase_crashlytics;
import 'firebase_database/firebase_database_e2e.dart' as firebase_database;
-import 'firebase_storage/firebase_storage_e2e.dart' as firebase_storage;
impor... | chore: Temporarily comment out Firebase Storage CI as Storage emulator is broken on uploads | null | firebaseextended/flutterfire | BSD 3-Clause New or Revised License | Dart |
+
//
// Created by moqi on 2018/10/23.
//
#define LOG_TAG "AES_128Decrypter"
#include <string>
+#include <cstring>
#include "AES_128Decrypter.h"
#include "utils/frame_work_log.h"
#include <cerrno>
| chore(AES_128Decrypter): fix Linux build | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -1965,6 +1965,7 @@ RENDER_RESULT SuperMediaPlayer::RenderAudio()
RENDER_RESULT ret = RENDER_NONE;
int64_t pts = INT64_MIN;
int64_t duration = INT64_MIN;
+ int64_t position = INT64_MIN;
int render_ret;
//#define DUMP_PCM
#ifdef DUMP_PCM
@@ -1979,6 +1980,7 @@ RENDER_RESULT SuperMediaPlayer::RenderAudio()
}
pts = mAudi... | chore(superMediaPlayer): fix position not update right | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -180,13 +180,13 @@ public class CardComponent: PresentableComponent,
extension CardComponent: CardViewControllerDelegate {
- func didChange(pan: String) {
+ internal func didChange(pan: String) {
panThrottler.throttle { [weak self] in
self?.updateBrand(with: pan)
}
}
- func didChange(bin: String) {
+ internal func d... | chore: added explicit access modifiers for some CardComponent functions | null | adyen/adyen-ios | MIT License | Swift |
@@ -3,6 +3,7 @@ const { equal } = require('assert');
describe('aurelia example', function() {
it('should display "Hello World!"', function() {
browser.url('/');
+ console.log(`[browser logs]: ${JSON.stringify(browser.log('browser'), null, 2)}`);
equal(browser.getText('app>div'), 'Hello World!');
});
});
| chore(wdio): add browser logs to test output | null | aurelia/aurelia | MIT License | JavaScript |
@@ -71,7 +71,7 @@ pub extern "C" fn log_to_stderr(level_filter: LevelFilter) -> c_int {
/// Convenience function to direct all logging to a file.
#[no_mangle]
-pub extern "C" fn log_to_file(
+pub unsafe extern "C" fn log_to_file(
file_name: *const c_char,
level_filter: LevelFilter,
) -> c_int {
@@ -83,7 +83,7 @@ pub ex... | chore: fix clippy voilation | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -11,14 +11,14 @@ import UIKit
final public class ADYViewController: UIViewController {
/// :nodoc:
- private let _view: UIView
+ private let contentView: UIView
/// Initializes the `ADYViewController` instance with given view and an optinal title
/// - Parameters:
/// - view: The instance of UIView to be displayed
/... | chore: Rename _view to contentView. Fix formatting | null | adyen/adyen-ios | MIT License | Swift |
@@ -20,4 +20,5 @@ cabal install cardano-cli \
--overwrite-policy=always \
-f -systemd
curl -L https://github.com/hasura/graphql-engine/raw/stable/cli/get.sh | INSTALL_PATH=${BIN_DIR} bash
+HASURA_GRAPHQL_ENABLE_TELEMETRY=false
${BIN_DIR}/hasura --skip-update-check update-cli --version v1.3.3
| chore: disable hasura telemetry in dev init script | null | input-output-hk/cardano-graphql | Apache License 2.0 | Shell |
-import { Key, Writable } from '@aurelia/kernel';
-import { bindable, createRenderContext, CustomElement, IController, ICustomElementType, IDOM, INode, IRenderContext, IRenderingEngine, ITemplate, LifecycleFlags, TemplateDefinition } from '@aurelia/runtime';
-import { IRouter } from '../router';
-import { IViewportOpti... | chore(router): revert format changes | null | aurelia/aurelia | MIT License | TypeScript |
@@ -196,6 +196,7 @@ class CardEncryptorCardTests: XCTestCase {
var payload = Data()
let expected: Data
+ if #available(iOS 13.0, *) {
payload.append(contentsOf: iv as Data)
payload.append(result.cipher!)
payload.append(result.atag!)
@@ -204,6 +205,11 @@ class CardEncryptorCardTests: XCTestCase {
XCTAssertNotNil(result.... | chore: reverted back CardEncryptorCardTests.swift | null | adyen/adyen-ios | MIT License | Swift |
@@ -151,7 +151,7 @@ impl<'a> MqttManager<'a> {
/// Disconnects the broker.
/// This will clear the stored topic handlers and close the MQTT connection.
pub fn disconnect(mut self) -> Result<()> {
- let timeout = { self.client.broker_options.timeout };
+ let timeout = self.client.broker_options.timeout;
let client = get... | chore(client): simplify code | null | iotaledger/iota.rs | Apache License 2.0 | Rust |
@@ -49,7 +49,7 @@ use LogicException;
*/
class Client
{
- const LIBVER = "2.9.0";
+ const LIBVER = "2.9.1";
const USER_AGENT_SUFFIX = "google-api-php-client/";
const OAUTH2_REVOKE_URI = 'https://oauth2.googleapis.com/revoke';
const OAUTH2_TOKEN_URI = 'https://oauth2.googleapis.com/token';
| chore: prepare v2.9.1 | null | googleapis/google-api-php-client | Apache License 2.0 | PHP |
@@ -93,16 +93,13 @@ const getDiffNewPluginsUrls = async function (diff) {
return { ...diff, url: tarball }
}
-const ADDED_HEADER = '#### Added Packages'
-const UPDATED_HEADER = '#### Updated Packages'
-
const addOrUpdatePrComment = async ({ comment, commentsUrl, token }) => {
try {
const headers = {
'Content-Type': 'ap... | chore: refactor diff URLs printing | null | netlify/plugins | MIT License | JavaScript |
@@ -17,7 +17,6 @@ echo "Running prettier on package.json files"
# We need to run prettier to avoid unnecessary formatting changes to package.json (due to Yarn install).
yarn prettier --write --parser json '**/package.json' &>/dev/null
-
echo "Patching packages"
yarn patch-package
| chore: retrigger vercel build | null | commercetools/merchant-center-application-kit | MIT License | Shell |
@@ -15,7 +15,6 @@ function InvalidDerefInputError() {
// instanceof will be an error, but stack will be correct because its defined in the constructor.
InvalidDerefInputError.prototype = new Error();
InvalidDerefInputError.prototype.name = NAME;
-InvalidDerefInputError.name = NAME;
InvalidDerefInputError.message = MESS... | chore(InvalidDerefInputError): remove extraneous setting of error class name | null | netflix/falcor | Apache License 2.0 | JavaScript |
@@ -20,6 +20,7 @@ import org.camunda.bpm.engine.authorization.BatchPermissions;
import org.camunda.bpm.engine.authorization.Permissions;
import org.camunda.bpm.engine.authorization.ProcessDefinitionPermissions;
import org.camunda.bpm.engine.authorization.Resources;
+import org.camunda.bpm.engine.authorization.UserOpera... | chore(engine): adjust javadoc to reflect added authorizations | null | camunda/camunda-bpm-platform | Apache License 2.0 | Java |
@@ -38,6 +38,10 @@ data class DataEntryDocument(
const val AUTHORIZED_ENTITY_PREFIX_USER = "user"
const val AUTHORIZED_ENTITY_PREFIX_GROUP = "group"
+ /**
+ * Create a merged `authorizedEntities` collection out of `authorizedUsers` and `authorizedGroups`. Each user is prefixed with "user:" and each group with
+ * "grou... | chore: add docs | null | holunda-io/camunda-bpm-taskpool | Apache License 2.0 | Kotlin |
@@ -999,12 +999,8 @@ public class ApplicationPageServiceCEImpl implements ApplicationPageServiceCE {
.flatMap(actionCollectionService::save)
.collectList();
- return Mono.when(
- publishApplicationAndPages,
- publishedActionsListMono,
- publishedActionCollectionsListMono,
- publishThemeMono
- )
+ return publishApplicat... | chore: Fixed flaky ApplicationForkingServiceTests | null | appsmithorg/appsmith | Apache License 2.0 | Java |
@@ -216,7 +216,7 @@ const emojify = (stringWithoutEmoji) => {
Object.keys(emoji).forEach((identifier) => {
if (typeof stringWithEmoji === 'string') {
stringWithEmoji = stringWithEmoji
- .replace(/\<DT_\w+\>/ig, '')
+ .replace(/<DT_\w+>/ig, '')
.replace(new RegExp(`${identifier}`, 'ig'), ` ${emoji[identifier]} `);
}
});... | chore: remove unnecessary escape | null | wfcd/genesis | Apache License 2.0 | JavaScript |
@@ -41,7 +41,7 @@ pwd ../../../
DATAHUB_TELEMETRY_ENABLED=false \
DOCKER_COMPOSE_BASE="file://$(cd "$(dirname "${DIR}/../../../../../")"; pwd)" \
-datahub docker quickstart --build-locally --dump-logs-on-failure
+datahub docker quickstart --dump-logs-on-failure
is_healthy "datahub-gms" 60
echo "------------------------... | chore(ci): update command to run smoke tests | null | linkedin/datahub | Apache License 2.0 | Shell |
@@ -149,4 +149,91 @@ class ComponentManagerTests: XCTestCase {
XCTAssertEqual(sut.regularComponents.filter { $0.order == order }.count, numebrOfExpectedRegularComponents)
}
+ func testShopperInformationInjectionShouldSetShopperInformationOnAffirmComponent() throws {
+ // Given
+ let paymentMethods = try Coder.decode(di... | chore: Test shopper information injection on components | null | adyen/adyen-ios | MIT License | Swift |
@@ -7,19 +7,23 @@ import dagger.Module
import dagger.Provides
import io.reactivex.Scheduler
import io.reactivex.android.schedulers.AndroidSchedulers
+import io.reactivex.annotations.CheckReturnValue
import io.reactivex.schedulers.Schedulers
@Module
class UiModule {
@Provides
@ComputationScheduler
+ @CheckReturnValue
fu... | chore: check returnvalue for schedulers | null | chesire/nekome | Apache License 2.0 | Kotlin |
namespace PH7JACK\LivewireUi\Traits;
+use Illuminate\Support\Arr;
+
trait DynamicComponent
{
abstract protected function getExtendedModels(): array;
@@ -32,7 +34,9 @@ trait DynamicComponent
$index = $data['modelIndex'] ?? null;
$sync = $data['sync'] ?? false;
- if ($sync) {
+ $modelHasDot = strpos($data['model'], '.');... | chore: add support to dot model | null | wireui/wireui | MIT License | PHP |
#!/bin/bash
docker-compose -f docker-compose.ci.yml --build --exit-code-from synpress
-# todo: is it safe?
+# warning: it's not safe to use ngrok if you have secrets set as environmental variables
+# (someone could connect to your CI and steal your vars)
# docker-compose -f docker-compose.ci.yml --profile ngrok up --bu... | chore: improve warning for ngrok | null | synthetixio/synpress | MIT License | Shell |
-import "regenerator-runtime/runtime";
+import 'regenerator-runtime/runtime';
import { createBrowserHistory } from 'history';
import React from 'react';
@@ -21,16 +21,12 @@ const history = createBrowserHistory();
export const store = createStore(createRootReducer(history), createMiddleware(history));
ReactDOM.render(
-... | chore: undo file update | null | near/near-wallet | MIT License | JavaScript |
@@ -40,6 +40,7 @@ type ImmuClientMock struct {
LoginF func(context.Context, []byte, []byte) (*schema.LoginResponse, error)
LogoutF func(context.Context) error
VerifiedGetF func(context.Context, []byte) (*schema.Entry, error)
+ VerifiedGetAtF func(context.Context, []byte, uint64) (*schema.Entry, error)
VerifiedSetF func... | chore(pkg/client/clienttest): add VerifiedGetAt mock method | null | codenotary/immudb | Apache License 2.0 | Go |
//! The `mock_server` module provides a number of exported functions using C bindings for
-//! controlling the mock server. These can be used in any language that supports C bindings.
+//! controlling a mock server. These can be used in any language that supports C bindings.
//!
//! ## [create_mock_server](fn.create_mo... | chore(ffi): update mock server function docs | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -21,6 +21,7 @@ import (
func TestService_handleGetBuckets(t *testing.T) {
type fields struct {
BucketService platform.BucketService
+ LabelService platform.LabelService
}
type args struct {
queryParams map[string][]string
@@ -58,6 +59,20 @@ func TestService_handleGetBuckets(t *testing.T) {
}, 2, nil
},
},
+ &mock.La... | chore(http): add labels to bucket tests | null | influxdata/influxdb | MIT License | Go |
@@ -114,7 +114,7 @@ if git show-ref --verify --quiet refs/heads/playwright-build; then
fi
git checkout -b playwright-build
echo "-- applying patches"
-git apply --index $PATCHES_PATH/*
+git apply --index --whitespace=nowarn $PATCHES_PATH/*
if [[ ! -z "${WEBKIT_EXTRA_FOLDER_PATH}" ]]; then
echo "-- adding WebKit embedde... | chore: suppress trailing whitespace warning in prepare_checkout | null | microsoft/playwright | Apache License 2.0 | Shell |
@@ -36,11 +36,11 @@ export default function AppContextProvider ({ children }) {
const { isOverlay, showOverlay, hideOverlay } = overlayContext(onOverlayShow)
const onPresetChange = useCallback(
- (presetName, newPreset) => {
+ (presetSlug, newPreset) => {
presetRef.current = newPreset
setCode(presetRef.current.code)
se... | chore: arg renaming | null | microlinkhq/cards | MIT License | JavaScript |
@@ -27,8 +27,6 @@ enum TestIds {
COLLAPSIBLE_MENU_INNER_MENU = 'collapsible-inner-menu'
}
-const byTestId = (testId: string) => `[data-testid=${testId}]`
-
const SidebarExample = (props: PageSidebarProps) => {
return (
<Page.Sidebar
@@ -161,26 +159,26 @@ describe('Sidebar', () => {
it('hides and shows the sidebar items... | chore(Sidebar): resolve flaky test | null | toptal/picasso | MIT License | TypeScript |
@@ -80,6 +80,8 @@ async fn write_data(
}
#[tokio::test]
+// Ignored due to https://github.com/influxdata/influxdb_iox/issues/4437
+#[ignore]
async fn test_full_lifecycle() {
let fixture = ServerFixture::create_shared(ServerType::Database).await;
let mut write_client = fixture.write_client();
| chore: Ignore flaky OG end to end test | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -22,7 +22,11 @@ func Init() *redis.Client {
Addr: viper.GetString("redis.addr"),
Password: viper.GetString("redis.password"),
DB: viper.GetInt("redis.db"),
+ DialTimeout: viper.GetDuration("redis.dial_timeout"),
+ ReadTimeout: viper.GetDuration("redis.read_timeout"),
+ WriteTimeout: viper.GetDuration("redis.write_ti... | chore: add redis timeout option | null | go-eagle/eagle | MIT License | Go |
@@ -34,7 +34,6 @@ import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
-import javax.persistence.JoinTable;
import javax.persistence.ManyToOne;
import javax.persistence.MapKey;
import javax.persistence.MapKeyColumn;
| chore: run goJF to clean up imports | null | uportal-project/uportal | Apache License 2.0 | Java |
@@ -87,16 +87,16 @@ pub enum SecretInfo {
impl SecretInfo {
/// Serialize `SecretInfo` into `String` for usage as database keys and
- /// comparison
+ /// comparison.
pub fn as_key(&self) -> String {
match &self {
- SecretInfo::KeyRequest(ref info) => format!(
+ SecretInfo::KeyRequest(info) => format!(
"keyRequest:{:}:... | chore(crypto): Clean up SecretInfo::as_key implementation | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -150,9 +150,12 @@ doppler configure set key=123 otherkey=456`,
for _, arg := range args {
option := strings.Split(arg, "=")
- if len(option) < 2 || (!configuration.IsValidConfigOption(option[0]) && !configuration.IsTranslatableConfigOption(option[0])) {
+ if !configuration.IsValidConfigOption(option[0]) && !configur... | chore: better error message when value not supplied | null | dopplerhq/cli | Apache License 2.0 | Go |
@@ -105,7 +105,7 @@ namespace MagicOnion.NetCoreTests.Tests.StreamingHubBroadcastTest
await hub.CallBroadcastExceptSelfAsync();
- await Task.Delay(10); // NOTE: The receivers may not receive broadcast yet at this point.
+ await Task.Delay(TimeSpan.FromMilliseconds(100)); // NOTE: The receivers may not receive broadcast... | chore: extend deplay from 10 -> 100 | null | cysharp/magiconion | MIT License | C# |
@@ -30,12 +30,21 @@ echo 'Start Meta service HA cluster(3 nodes)...'
nohup ./target/${BUILD_PROFILE}/databend-meta -c scripts/ci/deploy/config/databend-meta-node-1.toml &
python3 scripts/ci/wait_tcp.py --timeout 10 --port 9191
+# wait for cluster formation to complete.
+sleep 1
+
nohup ./target/${BUILD_PROFILE}/databen... | chore(testing): wait a second to let cluster formation complete | null | datafuselabs/databend | Apache License 2.0 | Shell |
@@ -78,7 +78,7 @@ extension FormCardSecurityCodeItemView {
super.init(frame: .zero)
image = UIImage(named: logoResource, in: self.bundle, compatibleWith: nil)
translatesAutoresizingMaskIntoConstraints = false
- setupConstrints()
+ setupConstraints()
observe(item.$selectedCard) { [weak self] cardType in self?.flipCard(t... | chore: Rename setup constraints method | null | adyen/adyen-ios | MIT License | Swift |
@@ -35,12 +35,12 @@ func Migrate6To7(k *BaseKeeper, n types.Nexus) func(ctx sdk.Context) error {
iterCmd.UnmarshalValue(&cmd)
if err := migrateCmdType(ctx, ck, key.FromBz(iterCmd.Key()), cmd); err != nil {
invalidCmds++
- ck.Logger(ctx).Debug(fmt.Sprintf("chain %s: failed to migrate command type for command %s", chain.... | chore: improve migration log msg | null | axelarnetwork/axelar-core | Apache License 2.0 | Go |
@@ -37,10 +37,9 @@ function App() {
<NextSeo
title="Craft.js"
description="A React framework for building drag-n-drop page editors."
- canonical="https://www.canonical.ie/"
+ canonical="https://craft.js.org/"
twitter={{
- handle: '@handle',
- site: '@site',
+ site: 'craft.js.org',
cardType: 'summary_large_image',
}}
/>... | chore: fix seo | null | prevwong/craft.js | MIT License | TypeScript |
///! File system utilities, particularly functionality that requires
///! alternative implementations for alternative operating systems.
use eyre::Result;
-use std::{fs, os, path::Path};
+use std::{os, path::Path};
/// Set permissions on a file
+#[allow(unused_variables)]
pub fn set_perms<File: AsRef<Path>>(path: File,... | chore(Rust): Avoid linting warnings when on Windows | null | stencila/stencila | Apache License 2.0 | Rust |
@@ -1233,11 +1233,6 @@ impl<T: Config> Pallet<T> {
return Ok(());
}
- // TODO: remove, fix for rm head_index
- if Chains::<T>::get(0).is_none() {
- Chains::<T>::insert(0, 0);
- }
-
// get the position of the fork in Chains
let fork_position: u32 = Self::get_chain_position_from_chain_id(fork.chain_id)?;
// check if the ... | chore: remove temporary code | null | interlay/interbtc | Apache License 2.0 | Rust |
@@ -12,6 +12,7 @@ import {
lastMaintainedChromiumVersion,
} from '../versions.js';
import core from '@actions/core';
+import packageJson from '../packages/puppeteer/package.json' assert {type: 'json'};
const LAST_SUPPORTED_PUPPETEER_VERSION = versionsPerRelease.get(
lastMaintainedChromiumVersion
@@ -19,7 +20,7 @@ const... | chore: use node version from puppeteer for issue analyzer | null | puppeteer/puppeteer | Apache License 2.0 | JavaScript |
@@ -12,11 +12,11 @@ import XCTest
class DokuComponentTests: XCTestCase {
- lazy var method = DokuPaymentMethod(type: "test_type", name: "test_name")
+ lazy var paymentMethod = DokuPaymentMethod(type: "test_type", name: "test_name")
let payment = Payment(amount: Amount(value: 2, currencyCode: "IDR"), countryCode: "ID")
... | chore: Test Doku prefilling | null | adyen/adyen-ios | MIT License | Swift |
@@ -22,7 +22,7 @@ func Trace() gin.HandlerFunc {
opentracing.HTTPHeadersCarrier(c.Request.Header),
)
sp = tracer.StartSpan(
- c.Request.URL.Path,
+ "HTTP "+c.Request.Method+" "+c.Request.URL.Path,
ext.RPCServerOption(spanCtx),
opentracing.Tag{Key: string(ext.Component), Value: "HTTP"},
)
| chore: add http and method for operation name | null | go-eagle/eagle | MIT License | Go |
@@ -2,7 +2,7 @@ export default {
name: 'web',
githubCount: '2432',
gettingStart: 'https://docs.appbase.io/docs/reactivesearch/v3/overview/quickstart/',
- producthunt: 'https://www.producthunt.com/posts/reactive-search-2-0',
+ producthunt: 'https://www.producthunt.com/posts/reactive-search-3-0',
urls: {
github: 'https:/... | chore(site): update PH feature link | null | appbaseio/reactivesearch | Apache License 2.0 | JavaScript |
@@ -208,6 +208,8 @@ function setAwsAccountCredentials {
export AWS_ACCESS_KEY_ID_ORIG=$AWS_ACCESS_KEY_ID
export AWS_SECRET_ACCESS_KEY_ORIG=$AWS_SECRET_ACCESS_KEY
export AWS_SESSION_TOKEN_ORIG=$AWS_SESSION_TOKEN
+ # introduce a delay of up to 3 minutes to allow for more even spread aws list-accounts calls due to throttl... | chore: add random delay to spread sdk calls | null | aws-amplify/amplify-cli | Apache License 2.0 | Shell |
@@ -2,13 +2,14 @@ import React from 'react'
import { graphql } from 'gatsby'
import LongContent from '~components/common/long-content'
import AuthorFooter from '~components/pages/blog/author-footer'
+import Container from '~components/common/container'
import Categories from '~components/pages/blog/categories'
import L... | chore(blog): center blog hero, content | null | covid19tracking/website | Apache License 2.0 | JavaScript |
@@ -23,7 +23,7 @@ func TestStoreScan(t *testing.T) {
Prefix: []byte(`a`),
Offset: nil,
Limit: 0,
- Reverse: false,
+ Reverse: true,
Deep: false,
}
@@ -42,7 +42,7 @@ func TestStoreScan(t *testing.T) {
Prefix: []byte(`a`),
Offset: nil,
Limit: 0,
- Reverse: true,
+ Reverse: false,
Deep: false,
}
| chore: partial fix of scan test | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -61,7 +61,7 @@ function createFetcher(
const headers = {
repository: repo,
Authorization: `Bearer ${auth}`,
- UserAgent: "slice-machine",
+ ...(typeof window !== undefined ? { "User-Agent": "slice-machine" } : {}),
};
return fetch(new URL(action, `${apiUrl}${prefix}`).toString(), {
headers,
| chore(ct-api): conditionally add user-agent when running server side | null | prismicio/slice-machine | Apache License 2.0 | TypeScript |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.