commit stringlengths 40 40 | subject stringlengths 4 1.73k | repos stringlengths 5 127k | old_file stringlengths 2 751 | new_file stringlengths 2 751 | new_contents stringlengths 1 8.98k | old_contents stringlengths 0 6.59k | license stringclasses 13
values | lang stringclasses 23
values |
|---|---|---|---|---|---|---|---|---|
05cbd7d93c9cb232766207183bdfdbc62c996a2a | Solve problem 1541 | fredyw/leetcode,fredyw/leetcode,fredyw/leetcode,fredyw/leetcode | src/main/kotlin/leetcode/Problem1541.kt | src/main/kotlin/leetcode/Problem1541.kt | package leetcode
import java.util.*
/**
* https://leetcode.com/problems/minimum-insertions-to-balance-a-parentheses-string/
*/
class Problem1541 {
fun minInsertions(s: String): Int {
var answer = 0
val stack = Stack<Char>()
var i = 0
while (i < s.length) {
if (s[i] ==... | package leetcode
/**
* https://leetcode.com/problems/minimum-insertions-to-balance-a-parentheses-string/
*/
class Problem1541 {
fun minInsertions(s: String): Int {
TODO()
}
}
fun main() {
val prob = Problem1541()
println(prob.minInsertions("(()))")) // 1
println(prob.minInsertions("())")... | mit | Kotlin |
5339a08706a137d6d7eddc1fb97f280b9de69658 | Add test for LocalTargetEnvironment | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/lang-api/testSources/com/intellij/execution/target/local/LocalTargetEnvironmentTest.kt | platform/lang-api/testSources/com/intellij/execution/target/local/LocalTargetEnvironmentTest.kt | // Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.execution.target.local
import com.intellij.execution.target.TargetedCommandLineBuilder
import com.intellij.openapi.util.SystemInfo
import org.junit.Assert
im... | apache-2.0 | Kotlin | |
a2f3e633c29228838c70eceddc79583d7e931739 | Fix debugger tests | JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-native,JetBrains/kotlin-native,wiltonlazary/kotlin-native,JetBrains/kotlin-... | backend.native/debugger-tests/src/main/kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt | backend.native/debugger-tests/src/main/kotlin/org/jetbrains/kotlin/compiletest/DistProperties.kt | package org.jetbrains.kotlin.compiletest
import org.jetbrains.kotlin.konan.target.Family
import org.jetbrains.kotlin.konan.target.HostManager
import java.nio.file.Path
import java.nio.file.Paths
object DistProperties {
private val dist: Path = Paths.get(requireProp("konan.home"))
private val konancDriver = i... | package org.jetbrains.kotlin.compiletest
import org.jetbrains.kotlin.konan.target.Family
import org.jetbrains.kotlin.konan.target.HostManager
import java.nio.file.Path
import java.nio.file.Paths
object DistProperties {
private val dist: Path = Paths.get(requireProp("konan.home"))
private val konancDriver = i... | apache-2.0 | Kotlin |
656a1410372710b5c7ee561ce1938dd9c45ed54a | Add kotlin example | kuroyakov/minimum-examples,kuroyakov/minimum-examples,kuroyakov/minimum-examples,kuroyakov/minimum-examples,kuroyakov/minimum-examples,kuroyakov/minimum-examples | kotlin/hello.kt | kotlin/hello.kt | // 実行方法は次の通り
// How to execute this example (for commandline user)
// $ kotlinc-jvm <source.kt> -include-runtime -d <outfile.jar>
// $ kotlin <outfile.jar>
fun main(args:Array<String>){
println("Hello, Kotlin")
} | mit | Kotlin | |
1859bf7f34f471608f1a606bbc14bfd346236f66 | Update sample | operando/Guild,operando/Guild | sample-kotlin/src/main/kotlin/com/os/operando/guild/sample/main.kt | sample-kotlin/src/main/kotlin/com/os/operando/guild/sample/main.kt | package com.os.operando.guild.sample
import com.os.operando.guild.to
import java.time.LocalDateTime
import java.util.*
fun main(args: Array<String>) {
val pair = 1 to "pair"
println(pair.first)
println(pair.second)
val triple = 1 to 10L to "triple"
println(triple.first)
println(triple.second)... | package com.os.operando.guild.sample
import com.os.operando.guild.to
import java.time.LocalDateTime
fun main(args: Array<String>) {
val pair = 1 to "pair"
println(pair.first)
println(pair.second)
val triple = 1 to 10L to "triple"
println(triple.first)
println(triple.second)
println(triple... | apache-2.0 | Kotlin |
432da6b9f681e6cddeeb856be9b39b1560cd8245 | use bounds size | ohmae/VoiceMessageBoard | app/src/main/java/net/mm2d/android/vmb/drawable/GridDrawable.kt | app/src/main/java/net/mm2d/android/vmb/drawable/GridDrawable.kt | /*
* Copyright (c) 2014 大前良介 (OHMAE Ryosuke)
*
* This software is released under the MIT License.
* http://opensource.org/licenses/MIT
*/
package net.mm2d.android.vmb.drawable
import android.content.Context
import android.graphics.*
import android.graphics.drawable.Drawable
import androidx.annotation.ColorInt
/... | /*
* Copyright (c) 2014 大前良介 (OHMAE Ryosuke)
*
* This software is released under the MIT License.
* http://opensource.org/licenses/MIT
*/
package net.mm2d.android.vmb.drawable
import android.content.Context
import android.graphics.*
import android.graphics.drawable.Drawable
import androidx.annotation.ColorInt
/... | mit | Kotlin |
0f5b3ba84536cd468cb6186425b1631d0d724322 | Implement XdmFunction for LambdaFunctionExpr. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/lang-xpath/main/uk/co/reecedunn/intellij/plugin/xpath/ast/plugin/PluginLambdaFunctionExpr.kt | src/lang-xpath/main/uk/co/reecedunn/intellij/plugin/xpath/ast/plugin/PluginLambdaFunctionExpr.kt | /*
* Copyright (C) 2020 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (C) 2020 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
db078c628f479afb49656f3aec1551bef84fdb9e | Update build.gradle.kts | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/services/pinpoint/build.gradle.kts | kotlin/services/pinpoint/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral(... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
id("io.gitlab.arturbosch.detekt").version("1.16.0-RC1")
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
jcenter()
}
}
repositories {
mavenCentral(... | apache-2.0 | Kotlin |
5e88634ecd3968a2d3579adbd669b9ccfec2564c | Reorder imports | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | samples/android-app/src/androidMain/kotlin/com/example/splitties/extensions/dialog/ShowDialogInScope.kt | samples/android-app/src/androidMain/kotlin/com/example/splitties/extensions/dialog/ShowDialogInScope.kt | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
package com.example.splitties.extensions.dialog
import android.app.Dialog
import kotlinx.coroutines.CoroutineStart
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.async
im... | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
package com.example.splitties.extensions.dialog
import android.app.Dialog
import splitties.coroutines.raceOf
import kotlinx.coroutines.CoroutineStart
import kotlinx.coroutines.ExperimentalCoroutinesApi... | apache-2.0 | Kotlin |
150f1661b97b5325af8e75f29f8ea811d355922e | refactor #620 Modify class parameter comment. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | todo/src/main/java/jp/toastkid/todo/view/item/menu/ItemMenuPopup.kt | todo/src/main/java/jp/toastkid/todo/view/item/menu/ItemMenuPopup.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
a7f82eb4fbbcaf38ce78835fcf0537a50dc7cd56 | fix warning | Heiner1/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS,Heiner1/AndroidAPS | omnipod-common/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/common/ui/wizard/common/viewmodel/ActionViewModelBase.kt | omnipod-common/src/main/java/info/nightscout/androidaps/plugins/pump/omnipod/common/ui/wizard/common/viewmodel/ActionViewModelBase.kt | package info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.common.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import dagger.android.HasAndroidInjector
import info.nightscout.androidaps.data.PumpEnactResult
import info.nightscout.androidaps.logging.AAPSLogger
imp... | package info.nightscout.androidaps.plugins.pump.omnipod.common.ui.wizard.common.viewmodel
import androidx.lifecycle.LiveData
import androidx.lifecycle.MutableLiveData
import dagger.android.HasAndroidInjector
import info.nightscout.androidaps.data.PumpEnactResult
import info.nightscout.androidaps.logging.AAPSLogger
imp... | agpl-3.0 | Kotlin |
9c76f47de2362d01a93dccd0c6e94f714e44efb6 | Add ParticlesColorPreferenceTest | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/test/java/com/doctoror/particleswallpaper/presentation/preference/ParticlesColorPreferenceTest.kt | app/src/test/java/com/doctoror/particleswallpaper/presentation/preference/ParticlesColorPreferenceTest.kt | /*
* Copyright (C) 2018 Yaroslav Mytkalyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 | Kotlin | |
719a1fab59ef308576da06b3c724929e98ec820f | Update compose version | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | buildSrc/src/main/kotlin/dependencies/Versions.kt | buildSrc/src/main/kotlin/dependencies/Versions.kt | package dependencies
object Versions {
const val COROUTINES = "1.6.2"
const val COMPOSE = "1.2.0-beta03"
const val MATERIAL = "1.6.1"
const val ACCOMPANIST = "0.23.1"
object AndroidX {
const val ANNOTATIONS = "1.3.0"
const val APPCOMPAT = "1.4.2"
const val RECYCLER_VIEW = "... | package dependencies
object Versions {
const val COROUTINES = "1.6.2"
const val COMPOSE = "1.2.0-beta01"
const val MATERIAL = "1.6.1"
const val ACCOMPANIST = "0.23.1"
object AndroidX {
const val ANNOTATIONS = "1.3.0"
const val APPCOMPAT = "1.4.2"
const val RECYCLER_VIEW = "... | mit | Kotlin |
0880e2275a873595d3f17aabcdf500b5523f109b | Bump core-ktx version | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | buildSrc/src/main/kotlin/dependencies/Versions.kt | buildSrc/src/main/kotlin/dependencies/Versions.kt | package dependencies
object Versions {
const val COROUTINES = "1.4.3"
const val MATERIAL = "1.3.0"
const val DESUGAR = "1.1.1"
object AndroidX {
const val APPCOMPAT = "1.2.0"
const val RECYCLER_VIEW = "1.1.0"
const val LIFECYCLE = "2.3.0"
const val LIFECYCLE_KTX = "2.4... | package dependencies
object Versions {
const val COROUTINES = "1.4.3"
const val MATERIAL = "1.3.0"
const val DESUGAR = "1.1.1"
object AndroidX {
const val APPCOMPAT = "1.2.0"
const val RECYCLER_VIEW = "1.1.0"
const val LIFECYCLE = "2.3.0"
const val LIFECYCLE_KTX = "2.4... | mit | Kotlin |
56d00b12c82ce75c892e6b1b7defff7cfbb0d9ff | Convert GlideAppModule to Kotlin | fobo66/BookcrossingMobile,fobo66/BookcrossingMobile | app/src/main/java/com/bookcrossing/mobile/modules/GlideAppModule.kt | app/src/main/java/com/bookcrossing/mobile/modules/GlideAppModule.kt | /*
* Copyright 2020 Andrey Mukamolov
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | package com.bookcrossing.mobile.modules;
import android.content.Context;
import androidx.annotation.NonNull;
import com.bumptech.glide.Glide;
import com.bumptech.glide.Registry;
import com.bumptech.glide.annotation.GlideModule;
import com.bumptech.glide.module.AppGlideModule;
import com.firebase.ui.storage.images.Fire... | apache-2.0 | Kotlin |
98eaf5539ad4b61624048f6d4c51fddc3144653c | Bump com.github.ben-manes.versions from 0.40.0 to 0.41.0 | docker-client/docker-engine,docker-client/docker-engine,docker-client/docker-engine | build.gradle.kts | build.gradle.kts | import java.text.SimpleDateFormat
import java.util.*
rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date()))
plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.41.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.v... | import java.text.SimpleDateFormat
import java.util.*
rootProject.extra.set("artifactVersion", SimpleDateFormat("yyyy-MM-dd\'T\'HH-mm-ss").format(Date()))
plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.40.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.v... | mit | Kotlin |
e27673795548b58c2d2a9a9a36c4e654a018e9f4 | Bump annotations from 21.0.1 to 22.0.0 | gesellix/docker-client,gesellix/docker-client,gesellix/docker-client | build.gradle.kts | build.gradle.kts | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.39.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.validate-poms") version "6.1.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
val dependencyVersions = listOf(
"org.codehaus.groovy:groo... | plugins {
id("maven-publish")
id("com.github.ben-manes.versions") version "0.39.0"
id("net.ossindex.audit") version "0.4.11"
id("io.freefair.maven-central.validate-poms") version "6.1.0"
id("io.github.gradle-nexus.publish-plugin") version "1.1.0"
}
val dependencyVersions = listOf(
"org.codehaus.groovy:groo... | mit | Kotlin |
accdb96ba5585ab9fae847ac8597ac0ad2270a71 | Use github username and PAT | psygate/Citadel,psygate/Citadel | build.gradle.kts | build.gradle.kts | plugins {
`java-library`
`maven-publish`
id("io.papermc.paperweight.userdev") version "1.3.1"
}
group = "net.civmc"
version = "5.0.0-SNAPSHOT"
description = "Citadel"
repositories {
fun civRepo(name: String) {
maven {
url = uri("https://maven.pkg.github.com/CivMC/${name}")
credentials {
usern... | plugins {
`java-library`
`maven-publish`
id("io.papermc.paperweight.userdev") version "1.3.1"
}
group = "net.civmc"
version = "5.0.0-SNAPSHOT"
description = "Citadel"
repositories {
fun civRepo(name: String) {
maven {
url = uri("https://maven.pkg.github.com/CivMC/${name}")
credentials {
usern... | bsd-3-clause | Kotlin |
aa85e1fd77e469a1e4b15502bdcaf2c070917c3a | Upgrade to Kotlin 1.3.71 | luxons/seven-wonders,luxons/seven-wonders,luxons/seven-wonders | build.gradle.kts | build.gradle.kts | plugins {
val kotlinVersion = "1.3.71"
kotlin("js") version kotlinVersion apply false
kotlin("jvm") version kotlinVersion apply false
kotlin("multiplatform") version kotlinVersion apply false
kotlin("plugin.spring") version kotlinVersion apply false
id("org.jetbrains.kotlin.plugin.serialization"... | plugins {
val kotlinVersion = "1.3.70"
kotlin("js") version kotlinVersion apply false
kotlin("jvm") version kotlinVersion apply false
kotlin("multiplatform") version kotlinVersion apply false
kotlin("plugin.spring") version kotlinVersion apply false
id("org.jetbrains.kotlin.plugin.serialization"... | mit | Kotlin |
ead36ff0d1cc94e81803da60ba0a15242c84d4f2 | Fix gradle build to use UTF-8 encoding | Permafrost/Tundra.java,Permafrost/Tundra.java | build.gradle.kts | build.gradle.kts | /*
* The MIT License (MIT)
*
* Copyright (c) 2020 Lachlan Dowding
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... | /*
* The MIT License (MIT)
*
* Copyright (c) 2020 Lachlan Dowding
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to u... | mit | Kotlin |
a98e0aaed1589b11e3240895292d017d8734292d | remove java comment relicts | MikeOrtiz/TouchImageView,hannesa2/TouchImageView,hannesa2/TouchImageView | app/src/main/java/info/touchimage/demo/SwitchImageExampleActivity.kt | app/src/main/java/info/touchimage/demo/SwitchImageExampleActivity.kt | package info.touchimage.demo
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_switch_image_example.*
class SwitchImageExampleActivity : AppCompatActivity() {
private var index = 0
override fun onCreate(savedInstanceState: Bundle?) {
... | package info.touchimage.demo
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import kotlinx.android.synthetic.main.activity_switch_image_example.*
class SwitchImageExampleActivity : AppCompatActivity() {
private var index = 0
override fun onCreate(savedInstanceState: Bundle?) {
... | mit | Kotlin |
d8281d0c6dd8b04ab2dc82becd08331fbf974bba | refactor #727 Safe delete 'makeWith'. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | about/src/main/java/jp/toastkid/about/view/LicensesDialogFragment.kt | about/src/main/java/jp/toastkid/about/view/LicensesDialogFragment.kt | /*
* Copyright (c) 2022 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2022 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
c8a5ea69d549f770f8096041ad10ccd306d5de18 | refactor #451 Use just runs. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCaseTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/usecase/HtmlSourceExtractionUseCaseTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
b10baac72d16c3c00f289f4f8b598263f4d22b66 | test Implement EditTextFinder's test cases. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/editor/EditTextFinderTest.kt | app/src/test/java/jp/toastkid/yobidashi/editor/EditTextFinderTest.kt | package jp.toastkid.yobidashi.editor
import android.widget.EditText
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import org.robolectric.RobolectricTestRunner
import org.robolectric.RuntimeEnvironment
/**
* @author toastkidjp
*/
@RunWith(Robolectr... | epl-1.0 | Kotlin | |
d0bfa4a4c72abc7953798906d49f0d71f15863fb | refactor #580 Add @ExperimentalCoroutinesApi annotation. | toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | article/src/test/java/jp/toastkid/article_viewer/calendar/DateSelectedActionServiceTest.kt | article/src/test/java/jp/toastkid/article_viewer/calendar/DateSelectedActionServiceTest.kt | package jp.toastkid.article_viewer.calendar
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.mockkObject
import io.mockk.verify
import jp.toastkid.article_viewer.article.Article
import jp.toastkid.article_viewer.article.ArticleRepository
import jp.toastkid.l... | package jp.toastkid.article_viewer.calendar
import io.mockk.MockKAnnotations
import io.mockk.every
import io.mockk.impl.annotations.MockK
import io.mockk.mockkObject
import io.mockk.verify
import jp.toastkid.article_viewer.article.Article
import jp.toastkid.article_viewer.article.ArticleRepository
import jp.toastkid.l... | epl-1.0 | Kotlin |
03ab551e6db10fd2ac37b6b3f450e69137660a46 | Fix API changes | JetBrains/resharper-unity,JetBrains/resharper-unity,JetBrains/resharper-unity | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/run/UnityDebuggerOutputListener.kt | rider/src/main/kotlin/com/jetbrains/rider/plugins/unity/run/UnityDebuggerOutputListener.kt | package com.jetbrains.rider.plugins.unity.run
import com.intellij.execution.ui.ConsoleView
import com.intellij.execution.ui.ConsoleViewContentType
import com.intellij.notification.NotificationType
import com.intellij.openapi.project.Project
import com.intellij.xdebugger.XDebuggerManager
import com.intellij.xdebugger.i... | package com.jetbrains.rider.plugins.unity.run
import com.intellij.execution.ui.ConsoleView
import com.intellij.execution.ui.ConsoleViewContentType
import com.intellij.notification.NotificationType
import com.intellij.openapi.project.Project
import com.intellij.xdebugger.XDebuggerManager
import com.intellij.xdebugger.i... | apache-2.0 | Kotlin |
0afc11a796894f4f3c3e29022129b3a4c55a52fb | refactor #580 Use @InjectMockk. | toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Yobidashi_kt | article/src/test/java/jp/toastkid/article_viewer/article/detail/ContentLoaderUseCaseTest.kt | article/src/test/java/jp/toastkid/article_viewer/article/detail/ContentLoaderUseCaseTest.kt | package jp.toastkid.article_viewer.article.detail
import android.widget.TextView
import io.mockk.MockKAnnotations
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.impl.annotations.InjectMockKs
import io.mockk.impl.annotations.MockK
import io.mockk.unmockkAll
import io.noties.markwon.Markwon
import jp.t... | package jp.toastkid.article_viewer.article.detail
import android.widget.TextView
import io.mockk.MockKAnnotations
import io.mockk.coEvery
import io.mockk.coVerify
import io.mockk.impl.annotations.MockK
import io.mockk.unmockkAll
import io.noties.markwon.Markwon
import jp.toastkid.article_viewer.article.ArticleReposito... | epl-1.0 | Kotlin |
3bc6ef9f29627132ae237ca8396f9e2b6d3394a7 | Update QuestionnaireItemEditTextDecimalViewHolderFactory.kt (#1182) | google/android-fhir,google/android-fhir | datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemEditTextDecimalViewHolderFactory.kt | datacapture/src/main/java/com/google/android/fhir/datacapture/views/QuestionnaireItemEditTextDecimalViewHolderFactory.kt | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | /*
* Copyright 2021 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to... | apache-2.0 | Kotlin |
74fcde77e69517bbe0b5ae1defe51ef58d9194fc | Fix calling XdmValue.wrap on Saxon 9.4 and earlier. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/binding/XdmValue.kt | src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/binding/XdmValue.kt | /*
* Copyright (C) 2019 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (C) 2019 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
6036af6d86b7076e908d836bdb72b082626febc0 | Fix compiler warnings | thorntonrp/spring-data-marklogic,thorntonrp/spring-data-marklogic,malteseduck/spring-data-marklogic,thorntonrp/spring-data-marklogic,malteseduck/spring-data-marklogic,malteseduck/spring-data-marklogic | src/main/java/io/github/malteseduck/springframework/data/marklogic/core/MarkLogicOperationsExtensions.kt | src/main/java/io/github/malteseduck/springframework/data/marklogic/core/MarkLogicOperationsExtensions.kt | package io.github.malteseduck.springframework.data.marklogic.core
import com.marklogic.client.query.StructuredQueryDefinition
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import java.io.InputStream
@Suppress("EXTENSION_SHADOWED_BY_MEMBER")
inline fun <reified T : Any> Ma... | package io.github.malteseduck.springframework.data.marklogic.core
import com.marklogic.client.query.StructuredQueryDefinition
import org.springframework.data.domain.Page
import org.springframework.data.domain.Pageable
import java.io.InputStream
inline fun <reified T : Any> MarkLogicOperations.stream(query: Structured... | apache-2.0 | Kotlin |
c3336e46dd8f88cfee43b1dcbdf189e7ed2aeee9 | Use property access syntax. | EventFahrplan/EventFahrplan,EventFahrplan/EventFahrplan | app/src/main/java/nerd/tuxmobil/fahrplan/congress/preferences/StyleableEditTextPreference.kt | app/src/main/java/nerd/tuxmobil/fahrplan/congress/preferences/StyleableEditTextPreference.kt | package nerd.tuxmobil.fahrplan.congress.preferences
import android.content.Context
import android.os.Build
import android.util.AttributeSet
import android.widget.EditText
import androidx.annotation.CallSuper
import androidx.annotation.RequiresApi
import androidx.core.content.withStyledAttributes
import androidx.prefer... | package nerd.tuxmobil.fahrplan.congress.preferences
import android.content.Context
import android.os.Build
import android.util.AttributeSet
import android.widget.EditText
import androidx.annotation.CallSuper
import androidx.annotation.RequiresApi
import androidx.core.content.withStyledAttributes
import androidx.prefer... | apache-2.0 | Kotlin |
12ffc68502dced76919af6a1735fb1d755578d43 | Make a class to represent a subject | FarbodSalamat-Zadeh/TimetableApp,FarbodSalamat-Zadeh/TimetableApp | app/src/main/java/com/satsumasoftware/timetable/framework/Subject.kt | app/src/main/java/com/satsumasoftware/timetable/framework/Subject.kt | package com.satsumasoftware.timetable.framework
class Subject(val name: String)
| apache-2.0 | Kotlin | |
c012858396f47ca72bd0bf2c9f31cfcc68a1782e | Fix source-control sample for Java 12 | gradle/gradle-script-kotlin,gradle/gradle-script-kotlin | samples/source-control/sample/build.gradle.kts | samples/source-control/sample/build.gradle.kts | plugins {
application
}
application {
mainClassName = "samples.HelloWorld"
}
dependencies {
implementation("org.gradle.kotlin.dsl.samples.source-control:compute:latest.integration")
}
| plugins {
application
}
application {
mainClassName = "samples.HelloWorld"
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
dependencies {
implementation("org.gradle.kotlin.dsl.samples.source-control:compute:latest.integration")
}
| apache-2.0 | Kotlin |
1cdbf2f57e55c14ca066be3678a782e5e99cfeb0 | Bump version | SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base | version.gradle.kts | version.gradle.kts | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
ef86896071f08fc65d1d6df354cf430ad8eec997 | Bump version to 1.6.15 | SpineEventEngine/gae-java,SpineEventEngine/gae-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | /*
* Copyright 2020, TeamDev. All rights reserved.
*
* Redistribution and use in source and/or binary forms, with or without
* modification, must retain the above copyright notice and the following
* disclaimer.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
* "AS IS" AND ANY EXPRESS OR... | apache-2.0 | Kotlin |
155ab7db8e0e8c6b7796c649b0498da2d03b68cb | use platform line separator | DevCharly/kobalt-ant,DevCharly/kotlin-ant-dsl,DevCharly/kobalt-ant,DevCharly/kotlin-ant-dsl | generator/src/main/kotlin/com/devcharly/kotlin/ant/generator/Main.kt | generator/src/main/kotlin/com/devcharly/kotlin/ant/generator/Main.kt | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | apache-2.0 | Kotlin |
04c5aea06c196e9660383fb850faabb71b2b4901 | Update to Android-Components 104.0.20220627190127. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "104.0.20220627190127"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "103.0.20220627143156"
}
| mpl-2.0 | Kotlin |
91526118a69ccefc5919774dfb9bdb18715047d4 | Update to Android-Components 106.0.20220826190145. | mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android,mozilla-mobile/focus-android | buildSrc/src/main/java/AndroidComponents.kt | buildSrc/src/main/java/AndroidComponents.kt | /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "106.0.20220826190145"
}
| /* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
object AndroidComponents {
const val VERSION = "106.0.20220826143117"
}
| mpl-2.0 | Kotlin |
fa626eaf8d00f0254ad687294f9498b543f56f12 | Bump pebble from 3.1.4 to 3.1.5 (#2480) | ktorio/ktor,ktorio/ktor,ktorio/ktor,ktorio/ktor | ktor-features/ktor-pebble/build.gradle.kts | ktor-features/ktor-pebble/build.gradle.kts | /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
kotlin.sourceSets {
val jvmMain by getting {
dependencies {
api("io.pebbletemplates:pebble:3.1.5")
}
}
}
| /*
* Copyright 2014-2021 JetBrains s.r.o and contributors. Use of this source code is governed by the Apache 2.0 license.
*/
kotlin.sourceSets {
val jvmMain by getting {
dependencies {
api("io.pebbletemplates:pebble:3.1.4")
}
}
}
| apache-2.0 | Kotlin |
242c6a0028de7a732b9657c3c6b3042c5c1acc85 | Bump version -> `2.0.0-SNAPSHOT.115` | SpineEventEngine/core-java,SpineEventEngine/core-java,SpineEventEngine/core-java | version.gradle.kts | version.gradle.kts | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2022, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
a77eadb930cb39d3e07a0d009e6a04ba2667246d | Set default jvm-target in kotlin sample project | quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus,quarkusio/quarkus | integration-tests/gradle/src/main/resources/multi-module-kotlin-project/web/build.gradle.kts | integration-tests/gradle/src/main/resources/multi-module-kotlin-project/web/build.gradle.kts | plugins {
id("io.quarkus")
kotlin("jvm")
}
// This is a fix as kotlin 1.5.30 does not support Java 17 yet
if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
tasks.quarkusDev {
compilerArgs = listOf("-jvm-target", "16")
}
}
dependencies {
implementation(project(":port"))
... | plugins {
id("io.quarkus")
kotlin("jvm")
}
dependencies {
implementation(project(":port"))
implementation(project(":domain"))
implementation(kotlin("stdlib-jdk8"))
implementation("io.quarkus:quarkus-resteasy")
}
| apache-2.0 | Kotlin |
09c724e3d1fc59ea79e3301bf727207acb35565d | Add documentation to hasPermission function | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | modules/permissions/src/androidMain/kotlin/splitties/permissions/SuspendPermissionRequest.kt | modules/permissions/src/androidMain/kotlin/splitties/permissions/SuspendPermissionRequest.kt | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
package splitties.permissions
import android.content.pm.PackageManager
import android.os.Build.VERSION.SDK_INT
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import... | /*
* Copyright 2019 Louis Cognault Ayeva Derman. Use of this source code is governed by the Apache 2.0 license.
*/
package splitties.permissions
import android.content.pm.PackageManager
import android.os.Build.VERSION.SDK_INT
import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity
import... | apache-2.0 | Kotlin |
f1f7b0dc4ffc5a7599bdd9faf376799738f11ad7 | Format QuerySnapshotConverter | google/ground-android,google/ground-android,google/ground-android | ground/src/main/java/com/google/android/ground/persistence/remote/firestore/schema/QuerySnapshotConverter.kt | ground/src/main/java/com/google/android/ground/persistence/remote/firestore/schema/QuerySnapshotConverter.kt | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | /*
* Copyright 2020 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to ... | apache-2.0 | Kotlin |
0f1b8268782a29822a3513f7619a1568a817b503 | refactor #523 Extract to companion object. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt | app/src/main/java/jp/toastkid/yobidashi/browser/permission/DownloadPermissionRequestContract.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin |
537055d9a1507cbd25a2b8f426d05d63653f2fb4 | Fix a couple kotlin code style issues | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | util/src/main/kotlin/io/sweers/catchup/util/ViewExt.kt | util/src/main/kotlin/io/sweers/catchup/util/ViewExt.kt | /*
* Copyright (c) 2017 Zac Sweers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (c) 2017 Zac Sweers
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
6f0defb1f79725442b77dbd74732a6e32e070fba | Improve assertion in CheckMainThreadTest. | ReactiveCircus/FlowBinding,ReactiveCircus/FlowBinding | flowbinding-common/src/androidTest/java/reactivecircus/flowbinding/common/CheckMainThreadTest.kt | flowbinding-common/src/androidTest/java/reactivecircus/flowbinding/common/CheckMainThreadTest.kt | package reactivecircus.flowbinding.common
import androidx.test.annotation.UiThreadTest
import androidx.test.filters.MediumTest
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.single
import kotlinx.coroutines.t... | package reactivecircus.flowbinding.common
import androidx.test.annotation.UiThreadTest
import androidx.test.filters.MediumTest
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.flow.collect
import kotlinx.coroutines.flow.flow
import kotlinx.coroutines.flow.single
import kotlinx.coroutines.t... | apache-2.0 | Kotlin |
0ba05322941a24b2b335ed766f786f3c08b24731 | add 追加。 | t-kgd/buckets,t-kgd/buckets | libgdx/util/util/src/main/kotlin/jp/gr/java_conf/kgd/library/buckets/libgdx/util/asset/AssetManagerProvider.kt | libgdx/util/util/src/main/kotlin/jp/gr/java_conf/kgd/library/buckets/libgdx/util/asset/AssetManagerProvider.kt | /*
* The MIT License
*
* Copyright (c) 2015 Misakura.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mo... | mit | Kotlin | |
6216431462d726a96e1c9ab9ac9d591beb695d0d | Use ZoneId; Check for java.sql.Date instance | elifarley/kotlin-misc-lib,elifarley/kotlin-examples,elifarley/kotlin-examples,elifarley/kotlin-misc-lib | src/com/github/elifarley/kotlin/DateTimeKit.kt | src/com/github/elifarley/kotlin/DateTimeKit.kt | import java.time.Instant
import java.time.LocalDate
import java.time.LocalDateTime
import java.time.ZoneOffset
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
import java.time.temporal.TemporalAccessor
import java.util.*
/**
* Created by elifarley on 31/08/16.
*/
object DateTimeKit {
@... | import java.time.Instant
import java.time.LocalDate
import java.time.LocalDateTime
import java.time.ZoneOffset
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
import java.time.temporal.TemporalAccessor
import java.util.*
/**
* Created by elifarley on 31/08/16.
*/
object DateTimeKit {
@... | mit | Kotlin |
4596dd1401d14dca01f280d09560c25d2b590e67 | Use the right name for firebase library plugin (#2430) | firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk,firebase/firebase-android-sdk | buildSrc/src/main/java/com/google/firebase/gradle/plugins/FirebaseProprietaryLibraryPlugin.kt | buildSrc/src/main/java/com/google/firebase/gradle/plugins/FirebaseProprietaryLibraryPlugin.kt | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | // Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... | apache-2.0 | Kotlin |
31477dc2ee65ca9b1a9b4105e54c02eb4f5b7d0f | Add test dispatcher rule | Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2,Adventech/sabbath-school-android-2 | libraries/test_utils/src/main/java/com/cryart/sabbathschool/test/coroutines/MainDispatcherRule.kt | libraries/test_utils/src/main/java/com/cryart/sabbathschool/test/coroutines/MainDispatcherRule.kt | /*
* Copyright (c) 2022. Adventech <info@adventech.io>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, mod... | mit | Kotlin | |
a612f66e11aa1c2c060f3f54b36b14a09773104d | Add fail case test to HasChildCountAssertionTest | elpassion/android-commons,elpassion/android-commons,elpassion/android-commons | espresso/src/androidTest/java/com/elpassion/android/commons/espresso/HasChildCountAssertionTest.kt | espresso/src/androidTest/java/com/elpassion/android/commons/espresso/HasChildCountAssertionTest.kt | package com.elpassion.android.commons.espresso
import android.os.Bundle
import android.support.test.rule.ActivityTestRule
import android.widget.Button
import android.widget.FrameLayout
import com.elpassion.android.commons.espresso.test.R
import org.junit.Rule
import org.junit.Test
class HasChildCountAssertionTest {
... | package com.elpassion.android.commons.espresso
import android.os.Bundle
import android.support.test.rule.ActivityTestRule
import android.widget.Button
import android.widget.FrameLayout
import org.junit.Rule
import org.junit.Test
class HasChildCountAssertionTest {
@JvmField @Rule
val activityRule = ActivityTe... | apache-2.0 | Kotlin |
e881d3dddefd7e4e969445a7fa2a4bff2fd2113c | Remove double logging of property warning | gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpira... | subprojects/instant-execution/src/main/kotlin/org/gradle/instantexecution/serialization/Logging.kt | subprojects/instant-execution/src/main/kotlin/org/gradle/instantexecution/serialization/Logging.kt | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2019 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
72c652f0d1c8aa0bd2df907debb442838a5d8f9c | Add maven to build | kantega/niagara | niagara-data/build.gradle.kts | niagara-data/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm")
maven
`maven-publish`
}
group = "org.kantega.niagara"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
compile("io.vavr:vavr:0.10.0")
compile("io.vavr:vavr-kotlin:0.10.0")
implementation... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
java
kotlin("jvm")
}
group = "org.kantega.niagara"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
compile("io.vavr:vavr:0.10.0")
compile("io.vavr:vavr-kotlin:0.10.0")
implementation(kotlin("stdlib-jdk8"... | apache-2.0 | Kotlin |
14ec7a328a1bdad35e7e2fcbce2780cd029fdbdf | Add classes for content types | djkovrik/YapTalker,djkovrik/YapTalker | app/src/main/java/com/sedsoftware/yaptalker/data/model/PostContent.kt | app/src/main/java/com/sedsoftware/yaptalker/data/model/PostContent.kt | package com.sedsoftware.yaptalker.data.model
interface Content
class PostText(val text: String) : Content
class PostQuote(val text: String) : Content
class PostQuoteAuthor(val text: String) : Content
class PostHiddenText(val text: String) : Content
class PostScript(val text: String) : Content
class PostLink(val ... | apache-2.0 | Kotlin | |
b080ad665245bdb485d3671115ec2e3950aed4bb | Fix usage of kotlinOptions.freeCompilerArgs | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | plugin/build.gradle.kts | plugin/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
id("com.gradle.plugin-publish") version "0.10.0"
}
group = "com.louiscad.splitties"
version = "0.2.0"
gradlePlugin {
plugins {
create("com.louiscad.splitties") {
... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
`java-gradle-plugin`
`kotlin-dsl`
`maven-publish`
id("com.gradle.plugin-publish") version "0.10.0"
}
group = "com.louiscad.splitties"
version = "0.2.0"
gradlePlugin {
plugins {
create("com.louiscad.splitties") {
... | apache-2.0 | Kotlin |
6f74decd0349b0c0f98f21a8a706085064419eb3 | refactor #506 Remove redundant empty class body. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | image/src/main/java/jp/toastkid/image/preview/RotatedBitmapFactory.kt | image/src/main/java/jp/toastkid/image/preview/RotatedBitmapFactory.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
69be55010489ea4a8307f148550edb087ba07647 | Fix Context being initialized twice. | TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server,TachiWeb/TachiWeb-Server | AndroidCompat/src/main/java/xyz/nulldev/androidcompat/AndroidCompat.kt | AndroidCompat/src/main/java/xyz/nulldev/androidcompat/AndroidCompat.kt | package xyz.nulldev.androidcompat
import android.app.Application
import com.github.salomonbrys.kodein.Kodein
import com.github.salomonbrys.kodein.conf.global
import com.github.salomonbrys.kodein.instance
import com.github.salomonbrys.kodein.lazy
import xyz.nulldev.androidcompat.androidimpl.CustomContext
class Android... | package xyz.nulldev.androidcompat
import android.app.Application
import xyz.nulldev.androidcompat.androidimpl.CustomContext
class AndroidCompat {
val context by lazy {
CustomContext()
}
fun startApp(application: Application) {
application.attach(context)
application.onCreate()
... | apache-2.0 | Kotlin |
5e9d9e73f0a748435430a64f76f60487b40775d3 | Add best match to font loader | AcornUI/Acorn,AcornUI/Acorn,AcornUI/Acorn | acornui-core/src/commonMain/kotlin/com/acornui/skins/FontLoaderImpl.kt | acornui-core/src/commonMain/kotlin/com/acornui/skins/FontLoaderImpl.kt | package com.acornui.skins
import com.acornui.asset.loadAndCacheJsonAsync
import com.acornui.component.text.*
import com.acornui.di.Context
import com.acornui.di.ContextImpl
import com.acornui.io.file.Path
import com.acornui.logging.Log
import kotlin.math.abs
class FontLoaderImpl(owner: Context,
/**
* Th... | package com.acornui.skins
import com.acornui.asset.loadAndCacheJsonAsync
import com.acornui.component.text.BitmapFont
import com.acornui.component.text.FontFamily
import com.acornui.component.text.FontLoader
import com.acornui.component.text.loadAndCacheFontFromDir
import com.acornui.di.Context
import com.acornui.di.C... | apache-2.0 | Kotlin |
772929b5c61b2f27ff2fe8b92fe8fc9837ea1789 | Return job failure if library update actually doesn't start | inorichi/mangafeed,inorichi/mangafeed,inorichi/tachiyomi,inorichi/tachiyomi,CarlosEsco/tachiyomi | app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateJob.kt | app/src/main/java/eu/kanade/tachiyomi/data/library/LibraryUpdateJob.kt | package eu.kanade.tachiyomi.data.library
import android.content.Context
import androidx.work.Constraints
import androidx.work.ExistingPeriodicWorkPolicy
import androidx.work.NetworkType
import androidx.work.PeriodicWorkRequestBuilder
import androidx.work.WorkManager
import androidx.work.Worker
import androidx.work.Wor... | package eu.kanade.tachiyomi.data.library
import android.content.Context
import androidx.work.Constraints
import androidx.work.ExistingPeriodicWorkPolicy
import androidx.work.NetworkType
import androidx.work.PeriodicWorkRequestBuilder
import androidx.work.WorkManager
import androidx.work.Worker
import androidx.work.Wor... | apache-2.0 | Kotlin |
1bd4ac781cc4eeb646dc090b1bf06676774db998 | refactor #506 Extractor separator to constant. | toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt,toastkidjp/Jitte,toastkidjp/Jitte | app/src/main/java/jp/toastkid/yobidashi/media/image/ParentExtractor.kt | app/src/main/java/jp/toastkid/yobidashi/media/image/ParentExtractor.kt | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | /*
* Copyright (c) 2019 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp.... | epl-1.0 | Kotlin |
757b1a62cdf9d51ea0e35da0f8ca1f97600162ed | add parcelable to lesson data | StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepic-android | app/src/main/java/org/stepik/android/domain/lesson/model/LessonData.kt | app/src/main/java/org/stepik/android/domain/lesson/model/LessonData.kt | package org.stepik.android.domain.lesson.model
import android.os.Parcel
import android.os.Parcelable
import org.stepik.android.model.Course
import org.stepik.android.model.Lesson
import org.stepik.android.model.Section
import org.stepik.android.model.Unit
data class LessonData(
val lesson: Lesson,
val unit: U... | package org.stepik.android.domain.lesson.model
import org.stepik.android.model.Course
import org.stepik.android.model.Lesson
import org.stepik.android.model.Section
import org.stepik.android.model.Unit
data class LessonData(
val lesson: Lesson,
val unit: Unit?,
val section: Section?,
val course: Cours... | apache-2.0 | Kotlin |
ae90267acb33c7e29f7f0efe7be29751d9eef807 | Update version | soywiz/korge,soywiz/korge,soywiz/korge | korge/src/commonMain/kotlin/com/soywiz/korge/internal/KorgeVersion.kt | korge/src/commonMain/kotlin/com/soywiz/korge/internal/KorgeVersion.kt | package com.soywiz.korge.internal
internal const val KORGE_VERSION = "1.10.1-SNAPSHOT" | package com.soywiz.korge.internal
internal const val KORGE_VERSION = "1.10.2-SNAPSHOT" | apache-2.0 | Kotlin |
fdf172461094608e642863ed1974973d718f5c43 | Implement ExplicitGCCall rule - Closes#30 | Mauin/detekt,Mauin/detekt,rock3r/detekt,arturbosch/detekt,rock3r/detekt,arturbosch/detekt,arturbosch/detekt,Mauin/detekt,MyDogTom/detekt,rock3r/detekt,Mauin/detekt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/ExplicitGarbageCollectionCall.kt | detekt-rules/src/main/kotlin/io/gitlab/arturbosch/detekt/rules/ExplicitGarbageCollectionCall.kt | package io.gitlab.arturbosch.detekt.rules
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Rule
import org.jetbrains.kotlin.psi.KtCallExpression
import org.jetbrains.kotlin.psi.KtSimpleNam... | package io.gitlab.arturbosch.detekt.rules
import io.gitlab.arturbosch.detekt.api.CodeSmell
import io.gitlab.arturbosch.detekt.api.Config
import io.gitlab.arturbosch.detekt.api.Entity
import io.gitlab.arturbosch.detekt.api.Rule
import org.jetbrains.kotlin.psi.KtCallExpression
import org.jetbrains.kotlin.psi.psiUtil.get... | apache-2.0 | Kotlin |
df0cb9c8ef4a3ed3d7ecdc0a738fb42df562ed3a | Add BroadcastReceiver channels | LouisCAD/Splitties,LouisCAD/Splitties,LouisCAD/Splitties | sample/src/main/java/com/louiscad/splittiessample/extensions/coroutines/BroadcastReceiverChannels.kt | sample/src/main/java/com/louiscad/splittiessample/extensions/coroutines/BroadcastReceiverChannels.kt | package com.louiscad.splittiessample.extensions.coroutines
import android.content.BroadcastReceiver
import android.content.Context
import android.content.Intent
import android.content.IntentFilter
import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.ExperimentalCoroutinesApi
import kotlinx.coroutines.Obs... | apache-2.0 | Kotlin | |
9f7b4c2a5f50b66974a5bf17a6beb67ef46bca35 | Use property names | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android | app/src/main/java/org/stepik/android/cache/catalog_block/mapper/CatalogBlockContentSerializer.kt | app/src/main/java/org/stepik/android/cache/catalog_block/mapper/CatalogBlockContentSerializer.kt | package org.stepik.android.cache.catalog_block.mapper
import com.google.gson.Gson
import com.google.gson.JsonArray
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import com.google.gson.reflect.TypeToken
import org.stepik.android.domain.catalog_block.model.CatalogAuthor
import org.stepik.android.do... | package org.stepik.android.cache.catalog_block.mapper
import com.google.gson.Gson
import com.google.gson.JsonArray
import com.google.gson.JsonObject
import com.google.gson.JsonParser
import com.google.gson.reflect.TypeToken
import org.stepik.android.domain.catalog_block.model.CatalogAuthor
import org.stepik.android.do... | apache-2.0 | Kotlin |
fa933f04a83dd0e13c60c09a07c99acce6cbd468 | implement choice quiz form delegate | StepicOrg/stepik-android,StepicOrg/stepic-android,StepicOrg/stepic-android,StepicOrg/stepik-android,StepicOrg/stepik-android,StepicOrg/stepic-android | app/src/main/java/org/stepik/android/view/step_quiz_choice/ui/delegate/ChoiceQuizFormDelegate.kt | app/src/main/java/org/stepik/android/view/step_quiz_choice/ui/delegate/ChoiceQuizFormDelegate.kt | package org.stepik.android.view.step_quiz_choice.ui.delegate
import android.support.v7.widget.LinearLayoutManager
import android.view.View
import kotlinx.android.synthetic.main.view_choice_quiz_attempt.view.*
import org.stepik.android.model.Reply
import org.stepik.android.model.Submission
import org.stepik.android.mod... | package org.stepik.android.view.step_quiz_choice.ui.delegate
import android.support.v7.widget.LinearLayoutManager
import android.view.View
import kotlinx.android.synthetic.main.view_choice_quiz_attempt.view.*
import org.stepik.android.model.Submission
import org.stepik.android.model.attempts.Attempt
import org.stepik.... | apache-2.0 | Kotlin |
c6d1f29d0323aa5870fa412beb887304e0b48cf7 | Remove changeAction member | Doctoror/ParticleConstellationsLiveWallpaper,Doctoror/ParticleConstellationsLiveWallpaper | app/src/main/java/com/doctoror/particleswallpaper/presentation/presenter/NumDotsPreferencePresenter.kt | app/src/main/java/com/doctoror/particleswallpaper/presentation/presenter/NumDotsPreferencePresenter.kt | /*
* Copyright (C) 2017 Yaroslav Mytkalyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | /*
* Copyright (C) 2017 Yaroslav Mytkalyk
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 | Kotlin |
c4bf74e16c31bc224d54b16bce520452d5e2b8c0 | tweak persistence to use UTC clock | http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k,http4k/http4k | http4k-security/oauth/src/main/kotlin/org/http4k/security/InsecureCookieBasedOAuthPersistence.kt | http4k-security/oauth/src/main/kotlin/org/http4k/security/InsecureCookieBasedOAuthPersistence.kt | package org.http4k.security
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status.Companion.FORBIDDEN
import org.http4k.core.Uri
import org.http4k.core.cookie.Cookie
import org.http4k.core.cookie.cookie
import org.http4k.core.cookie.invalidateCookie
import org.http4k.security.ope... | package org.http4k.security
import org.http4k.core.Request
import org.http4k.core.Response
import org.http4k.core.Status.Companion.FORBIDDEN
import org.http4k.core.Uri
import org.http4k.core.cookie.Cookie
import org.http4k.core.cookie.cookie
import org.http4k.core.cookie.invalidateCookie
import org.http4k.security.ope... | apache-2.0 | Kotlin |
c12a2ab971b811720f594cca428aff8aa7e6eec2 | hide "Refresh [Incoming Changes]" action for git-only projects | allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/intellij-community,allotria/int... | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/RefreshIncomingChangesAction.kt | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/RefreshIncomingChangesAction.kt | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.committed
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.... | // Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.openapi.vcs.changes.committed
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.... | apache-2.0 | Kotlin |
c4e2ab6df6aa70f97db7c5e052dbdd8322313435 | Fix typo | blindpirate/gradle,gradle/gradle,gradle/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,blindpirate/gradle,robinverduijn/gradle,robinverduijn/gradle,robinverduijn/gradle,gradle/gradle,bli... | subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptPluginFactory.kt | subprojects/provider/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptPluginFactory.kt | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | /*
* Copyright 2016 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applica... | apache-2.0 | Kotlin |
6b680a8e7ce7231030663ed3eeced79aea034794 | Revert "Increase timeout for long running functional tests" | robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,blindpirate/gradle,gradle/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/gradle,blindpirate/gradle,blindpirate/gradle,gradle/gradle,robinverduijn/gradle,robinverduijn/g... | .teamcity/Gradle_Check/configurations/FunctionalTest.kt | .teamcity/Gradle_Check/configurations/FunctionalTest.kt | package configurations
import jetbrains.buildServer.configs.kotlin.v10.BuildType
import model.CIBuildModel
import model.OS
import model.TestCoverage
import model.TestType
class FunctionalTest(model: CIBuildModel, testCoverage : TestCoverage, subProject: String = "") : BuildType({
uuid = testCoverage.asConfigurati... | package configurations
import jetbrains.buildServer.configs.kotlin.v10.BuildType
import model.CIBuildModel
import model.OS
import model.TestCoverage
import model.TestType
class FunctionalTest(model: CIBuildModel, testCoverage : TestCoverage, subProject: String = "") : BuildType({
uuid = testCoverage.asConfigurati... | apache-2.0 | Kotlin |
c1b82c61d94d5ffa973f1e075466be40362e74f2 | Update build.gradle.kts | awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,awsdocs/aws-doc-sdk-examples,a... | kotlin/services/comprehend/build.gradle.kts | kotlin/services/comprehend/build.gradle.kts | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:comprehend:0.9.4-beta")
testImplementation("org.junit.jupiter... | import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.5.31"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
}
dependencies {
implementation("aws.sdk.kotlin:comprehend:0.9.0-alpha")
testImplementation("org.junit.jupite... | apache-2.0 | Kotlin |
b006ab12417b740d84c54d5faa4b07af09fbd9fa | Add javadocs to ComponentScope | facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho,facebook/litho | litho-core-kotlin/src/main/kotlin/com/facebook/litho/ComponentScope.kt | litho-core-kotlin/src/main/kotlin/com/facebook/litho/ComponentScope.kt | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 | Kotlin |
ccccb38e9a6e588c8cd031f29b6f8c4b5238051b | Fix the animated button alpha (#389) | google/horologist,google/horologist | media-ui/src/main/java/com/google/android/horologist/media/ui/components/animated/AnimatedMediaButton.kt | media-ui/src/main/java/com/google/android/horologist/media/ui/components/animated/AnimatedMediaButton.kt | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | /*
* Copyright 2022 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applic... | apache-2.0 | Kotlin |
a0de25b24c168fe1114169d1861b3c4f6b97d1a3 | add kdoc | square/leakcanary,square/leakcanary,square/leakcanary | leakcanary-android-core/src/main/java/leakcanary/EventListener.kt | leakcanary-android-core/src/main/java/leakcanary/EventListener.kt | package leakcanary
import android.content.Intent
import java.io.File
import java.io.Serializable
import leakcanary.internal.SerializableIntent
import shark.HeapAnalysis
import shark.HeapAnalysisFailure
import shark.HeapAnalysisSuccess
import shark.OnAnalysisProgressListener.Step
fun interface EventListener {
/**
... | package leakcanary
import android.content.Intent
import java.io.File
import java.io.Serializable
import leakcanary.internal.SerializableIntent
import shark.HeapAnalysis
import shark.HeapAnalysisFailure
import shark.HeapAnalysisSuccess
import shark.OnAnalysisProgressListener.Step
// TODO Document which thread events a... | apache-2.0 | Kotlin |
e41f4369d7b10a58ed40b405bf9f67c58a37614e | Clarify imports | SpineEventEngine/base,SpineEventEngine/base,SpineEventEngine/base | base/src/main/kotlin/io/spine/protobuf/AnyExtensions.kt | base/src/main/kotlin/io/spine/protobuf/AnyExtensions.kt | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | /*
* Copyright 2021, TeamDev. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Redistribution and use in source... | apache-2.0 | Kotlin |
f0c20da624a68f1e45b33e1284a2b32725e8c657 | Use the instruction's object QName for the stack frame context. | rhdunn/xquery-intellij-plugin,rhdunn/xquery-intellij-plugin | src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/debugger/SaxonInstructionFrame.kt | src/plugin-saxon/main/uk/co/reecedunn/intellij/plugin/saxon/query/s9api/debugger/SaxonInstructionFrame.kt | /*
* Copyright (C) 2020 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | /*
* Copyright (C) 2020 Reece H. Dunn
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed t... | apache-2.0 | Kotlin |
c5e0c0d586faaec12b655cede050d0e4fab9ba2e | Convert Kotlin source code strings to Unix line endings | Mauin/detekt,arturbosch/detekt,Mauin/detekt,MyDogTom/detekt,arturbosch/detekt,Mauin/detekt,arturbosch/detekt,rock3r/detekt,rock3r/detekt,Mauin/detekt,rock3r/detekt | detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtFiles.kt | detekt-core/src/main/kotlin/io/gitlab/arturbosch/detekt/core/KtFiles.kt | package io.gitlab.arturbosch.detekt.core
import org.jetbrains.kotlin.com.intellij.openapi.util.text.StringUtilRt
import org.jetbrains.kotlin.fileClasses.javaFileFacadeFqName
import org.jetbrains.kotlin.psi.KtFile
/**
* @author Artur Bosch
*/
fun KtFile.unnormalizedContent(): String {
val lineSeparator = this.getU... | package io.gitlab.arturbosch.detekt.core
import org.jetbrains.kotlin.fileClasses.javaFileFacadeFqName
import org.jetbrains.kotlin.psi.KtFile
/**
* @author Artur Bosch
*/
fun KtFile.unnormalizedContent(): String {
val lineSeparator = this.getUserData(KtCompiler.LINE_SEPARATOR)
require(lineSeparator != null) { "No... | apache-2.0 | Kotlin |
5fc8194bbe902468f379c6fc4206ebbfd92f4b48 | Use ConfigPojo.useKotlin instead of checking number of packages | android/android-studio-poet,android/android-studio-poet | src/main/kotlin/com/google/androidstudiopoet/ModuleBlueprintFactory.kt | src/main/kotlin/com/google/androidstudiopoet/ModuleBlueprintFactory.kt | package com.google.androidstudiopoet
import com.google.androidstudiopoet.models.AndroidModuleBlueprint
import com.google.androidstudiopoet.models.ConfigPOJO
import com.google.androidstudiopoet.models.MethodToCall
import com.google.androidstudiopoet.models.ModuleBlueprint
object ModuleBlueprintFactory {
fun create... | package com.google.androidstudiopoet
import com.google.androidstudiopoet.models.AndroidModuleBlueprint
import com.google.androidstudiopoet.models.ConfigPOJO
import com.google.androidstudiopoet.models.MethodToCall
import com.google.androidstudiopoet.models.ModuleBlueprint
object ModuleBlueprintFactory {
fun create... | apache-2.0 | Kotlin |
e0aa24691aba4acb9cb80a3c01d46f19bc157080 | Remove debug print | d9n/intellij-rust,anton-okolelov/intellij-rust,Undin/intellij-rust,d9n/intellij-rust,intellij-rust/intellij-rust,himikof/intellij-rust,d9n/intellij-rust,himikof/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,alygin/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust... | src/main/kotlin/org/rust/lang/core/resolve/ref/RsMacroReferenceImpl.kt | src/main/kotlin/org/rust/lang/core/resolve/ref/RsMacroReferenceImpl.kt | package org.rust.lang.core.resolve.ref
import com.intellij.psi.PsiElement
import com.intellij.psi.search.GlobalSearchScope
import com.intellij.psi.stubs.StubIndex
import org.rust.lang.core.psi.RsMacroDefinition
import org.rust.lang.core.psi.RsMacroInvocation
import org.rust.lang.core.stubs.index.RsMacroDefinitionIndex... | package org.rust.lang.core.resolve.ref
import com.intellij.psi.PsiElement
import com.intellij.psi.search.GlobalSearchScope
import com.intellij.psi.stubs.StubIndex
import org.rust.lang.core.psi.RsMacroDefinition
import org.rust.lang.core.psi.RsMacroInvocation
import org.rust.lang.core.stubs.index.RsMacroDefinitionIndex... | mit | Kotlin |
d9951c95871b94234f86b2051a8837d14b02cb2f | Rename tests | anton-okolelov/intellij-rust,intellij-rust/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,Undin/intellij-rust,anton-okolelov/intellij-rust,anton-okolelov/intellij-rust,intellij-rust/intellij-rust,anton-okolelov/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-rust,intellij-rust/intellij-... | src/test/kotlin/org/rust/ide/intentions/AddCurlyBracesIntentionTest.kt | src/test/kotlin/org/rust/ide/intentions/AddCurlyBracesIntentionTest.kt | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.intentions
class AddCurlyBracesIntentionTest : RsIntentionTestBase(AddCurlyBracesIntention()) {
fun `test add curly braces simple`() = doAvailableTest(
"use std::m/*caret*/em;",... | /*
* Use of this source code is governed by the MIT license that can be
* found in the LICENSE file.
*/
package org.rust.ide.intentions
class AddCurlyBracesIntentionTest : RsIntentionTestBase(AddCurlyBracesIntention()) {
fun testAddCurlyBracesSimple() = doAvailableTest(
"use std::m/*caret*/em;",
... | mit | Kotlin |
6d5aed816fa2803030c087e7c5ed0503ddac9404 | Break very long lines in IAction | markusfisch/BinaryEye,markusfisch/BinaryEye | app/src/main/kotlin/de/markusfisch/android/binaryeye/actions/IAction.kt | app/src/main/kotlin/de/markusfisch/android/binaryeye/actions/IAction.kt | package de.markusfisch.android.binaryeye.actions
import android.content.Context
import android.content.Intent
import de.markusfisch.android.binaryeye.content.execShareIntent
import de.markusfisch.android.binaryeye.content.openUrl
import de.markusfisch.android.binaryeye.widget.toast
interface IAction {
val iconResId:... | package de.markusfisch.android.binaryeye.actions
import android.content.Context
import android.content.Intent
import de.markusfisch.android.binaryeye.content.execShareIntent
import de.markusfisch.android.binaryeye.content.openUrl
import de.markusfisch.android.binaryeye.widget.toast
interface IAction {
val iconResId:... | mit | Kotlin |
1285f467def0e79b9f79e889abcd3f8c09df07c4 | Set application name on macOS and Linux | gurkenlabs/litiengine,gurkenlabs/litiengine | utiliti/build.gradle.kts | utiliti/build.gradle.kts | import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
import java.util.Calendar
plugins {
`java-library`
id("org.beryx.runtime")
}
val applicationName = "utiLITI"
description = """
$applicationName is the official project / asset manager and map editor for the open source Java 2D Game Engin... | import org.gradle.nativeplatform.platform.internal.DefaultNativePlatform
import java.util.Calendar
plugins {
`java-library`
id("org.beryx.runtime")
}
description = """
utiLITI is the official project / asset manager and map editor for the open source Java 2D Game Engine LITIENGINE.
""".trimIndent()
sourceSet... | mit | Kotlin |
6cfcce91eb99a07d7b0fecf1b06388d4e7047316 | convert method to expression body | squanchy-dev/squanchy-android,squanchy-dev/squanchy-android,squanchy-dev/squanchy-android | app/src/debug/java/net/squanchy/support/system/FreezableCurrentTime.kt | app/src/debug/java/net/squanchy/support/system/FreezableCurrentTime.kt | package net.squanchy.support.system
import android.content.Context
import android.preference.PreferenceManager
import androidx.core.content.edit
import org.threeten.bp.ZonedDateTime
import org.threeten.bp.format.DateTimeFormatter
class FreezableCurrentTime(context: Context) : CurrentTime {
private val preference... | package net.squanchy.support.system
import android.content.Context
import android.preference.PreferenceManager
import androidx.core.content.edit
import org.threeten.bp.ZonedDateTime
import org.threeten.bp.format.DateTimeFormatter
class FreezableCurrentTime(context: Context) : CurrentTime {
private val preference... | apache-2.0 | Kotlin |
ab57d3b88dbff83e42998be43f357711b59f5ff0 | refactor #605 Implement ImageAnchorTypeLongTapDialogFragment's factory test. | toastkidjp/Jitte,toastkidjp/Jitte,toastkidjp/Yobidashi_kt,toastkidjp/Yobidashi_kt | app/src/test/java/jp/toastkid/yobidashi/browser/webview/dialog/ImageAnchorTypeLongTapDialogFragmentTest.kt | app/src/test/java/jp/toastkid/yobidashi/browser/webview/dialog/ImageAnchorTypeLongTapDialogFragmentTest.kt | /*
* Copyright (c) 2021 toastkidjp.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompany this distribution.
* The Eclipse Public License is available at http://www.eclipse.org/legal/epl-v10.html.
*/
package jp... | epl-1.0 | Kotlin | |
1e95f1805859ea7801d557ea5bc315bee20ee19e | Fix SmokeTest with removed ContentViewActivity (#279) | drakeet/MultiType | sample/src/androidTest/kotlin/com/drakeet/multitype/sample/SmokeTest.kt | sample/src/androidTest/kotlin/com/drakeet/multitype/sample/SmokeTest.kt | /*
* Copyright (c) 2016-present. Drakeet Xu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | /*
* Copyright (c) 2016-present. Drakeet Xu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | apache-2.0 | Kotlin |
1eb8cca8b57295bf2eabe192a50f1869e5bea835 | add missing {$I KaM_Remake.inc} #2 | reyandme/kam_remake,reyandme/kam_remake,reyandme/kam_remake,thibmo/kam_remake,thibmo/kam_remake,thibmo/kam_remake,reyandme/kam_remake,thibmo/kam_remake,reyandme/kam_remake,thibmo/kam_remake | src/common/KM_Entity.pas | src/common/KM_Entity.pas | unit KM_Entity;
{$I KaM_Remake.inc}
interface
uses
KM_CommonClasses;
type
TKMEntity = class abstract
private
fUID: Integer; //unique entity ID
protected
function GetUID: Integer;
procedure SetUID(aUID: Integer);
public
constructor Create(aUID: Integer);
constructor Load(LoadStream: TKMemo... | unit KM_Entity;
interface
uses
KM_CommonClasses;
type
TKMEntity = class abstract
private
fUID: Integer; //unique entity ID
protected
function GetUID: Integer;
procedure SetUID(aUID: Integer);
public
constructor Create(aUID: Integer);
constructor Load(LoadStream: TKMemoryStream); virtual;
... | agpl-3.0 | Pascal |
6fc5fa495bc07035f0cdc14e4528cd27193d8e1e | clean up | mdbs99/james | src/james.xml.base.pas | src/james.xml.base.pas | {
MIT License
Copyright (c) 2017-2018 Marcos Douglas B. Santos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... | {
MIT License
Copyright (c) 2017-2018 Marcos Douglas B. Santos
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, cop... | mit | Pascal |
23393b7e3012f4cfb81c8be39b00d2197e97941d | add SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE flag to avoid OOM | reyandme/kam_remake,reyandme/kam_remake,reyandme/kam_remake,reyandme/kam_remake,reyandme/kam_remake | Utils/Runner/Runner.dpr | Utils/Runner/Runner.dpr | program Runner;
{$I KaM_Remake.inc}
uses
{$IFDEF USE_MAD_EXCEPT}
madExcept,
madLinkDisAsm,
madListHardware,
madListProcesses,
madListModules,
{$ENDIF}
//FastMM4,
Forms,
{$IFDEF FPC}
Interfaces,
{$ENDIF }
{$IFDEF WDC}
WinApi.Windows, // To allow to set {$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_... | program Runner;
{$I KaM_Remake.inc}
uses
{$IFDEF USE_MAD_EXCEPT}
madExcept,
madLinkDisAsm,
madListHardware,
madListProcesses,
madListModules,
{$ENDIF}
//FastMM4,
Forms,
{$IFDEF FPC}
Interfaces,
{$ENDIF }
Unit1 in 'Unit1.pas' {Form2},
Unit_Runner in 'Unit_Runner.pas',
Runner_Game in 'Runner... | agpl-3.0 | Pascal |
2402a44334f7c9f3a5a6810872f6e20abeba303d | Fix UPO showing if note has single character. | kmzbrnoI/hJOPserver | src/jc/UPO.pas | src/jc/UPO.pas | unit UPO;
{
Tato unita implementuje struktury a nekolik funkci okolo upozorneni odesilanych
do panelu. Upozorneni je standardne hlaska v leve dolni casti panelu
zobrazujici bariery pri staveni jizdnich cest.
}
interface
uses Graphics, Generics.Collections, Classes, System.Math;
const
_UPO_LINES = 3; // poce... | unit UPO;
{
Tato unita implementuje struktury a nekolik funkci okolo upozorneni odesilanych
do panelu. Upozorneni je standardne hlaska v leve dolni casti panelu
zobrazujici bariery pri staveni jizdnich cest.
}
interface
uses Graphics, Generics.Collections, Classes, System.Math;
const
_UPO_LINES = 3; // poce... | apache-2.0 | Pascal |
3a4aa3bfe01325d5b2fae7a23f2dc6ee7e531214 | Use LCL default font under windows. | ying32/govcl | UILibSources/liblcl/ugoform.pas | UILibSources/liblcl/ugoform.pas | //----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
unit uGoForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, LMessages, LCLType;
type
// 消息过程定义
TWndProcEv... | //----------------------------------------
//
// Copyright © ying32. All Rights Reserved.
//
// Licensed under Apache License 2.0
//
//----------------------------------------
unit uGoForm;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, LMessages, LCLType;
type
// 消息过程定义
TWndProcEv... | apache-2.0 | Pascal |
ddd0ba1038a14430d0218c3dfcf7e5b923b2eee8 | Hide minimize and maximize buttons in title bar | roelschroeven/VolBalCon,roelschroeven/VolBalCon | MainForm.dfm | MainForm.dfm | object FormMain: TFormMain
Left = 0
Top = 0
BorderIcons = [biSystemMenu]
BorderStyle = bsSingle
Caption = 'VolBalCon'
ClientHeight = 201
ClientWidth = 171
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPrev... | object FormMain: TFormMain
Left = 0
Top = 0
BorderStyle = bsSingle
Caption = 'VolBalCon'
ClientHeight = 201
ClientWidth = 171
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
KeyPreview = True
OldCreateOrder = F... | mit | Pascal |
9a24bf00750b74221a2933d2a8da1e766714e284 | fix for the linux version | bgarrels/Coedit,bgarrels/Coedit | src/ce_procinput.pas | src/ce_procinput.pas | unit ce_procinput;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Menus, StdCtrls, ce_widget, process, ce_common;
type
{ TCEProcInputWidget }
TCEProcInputWidget = class(TCEWidget)
btnSend: TButton;
txtInp: TEdit;
txtExeName: TStatic... | unit ce_procinput;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ExtCtrls,
Menus, StdCtrls, ce_widget, process, ce_common;
type
{ TCEProcInputWidget }
TCEProcInputWidget = class(TCEWidget)
btnSend: TButton;
txtInp: TEdit;
txtExeName: TStatic... | mit | Pascal |
37a8f320227c85e0c1df48f041215c61d398673e | Update ArrayListTestCases.pas | hprose/hprose-delphi,hprose/hprose-delphi | Test/ArrayListTestCases.pas | Test/ArrayListTestCases.pas | unit ArrayListTestCases;
interface
uses
TestFrameWork, HproseCommon;
type
{$M+}
TTestCaseArrayList = class(TTestCase)
published
procedure TestCreate;
procedure TestAdd;
end;
implementation
{ TTestCaseArrayList }
procedure TTestCaseArrayList.TestCreate;
var
L: IArrayList;
... | unit ArrayListTestCases;
interface
uses
TestFrameWork, HproseCommon;
type
{$M+}
TTestCaseArrayList = class(TTestCase)
published
procedure TestCreate;
procedure TestAdd;
end;
implementation
{ TTestCaseArrayList }
procedure TTestCaseArrayList.TestCreate;
var
L: IArrayList;
... | mit | Pascal |
0e85db79897e98af30851224d0db1c1f815da494 | Update for changes to ide tester | grahamegrieve/delphi-markdown | fpc/MarkdownTestProgram.lpr | fpc/MarkdownTestProgram.lpr | program MarkdownTestProgram;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
uses
{$IFDEF MSWINDOWS} Windows, {$ENDIF}
Interfaces, SysUtils, Forms, idetester_console,
CommonTestBase, MarkdownDaringFireballTests, MarkdownCommonMarkTests, idetester_runtime, idetester_form;
{$R *.res}
procedure RegisterTests;
beg... | program MarkdownTestProgram;
{$IFDEF FPC}{$MODE DELPHI}{$ENDIF}
uses
{$IFDEF MSWINDOWS} Windows, {$ENDIF}
Interfaces, SysUtils, Forms, idetester_console,
CommonTestBase, MarkdownDaringFireballTests, MarkdownCommonMarkTests, idetester_runtime, idetester_form;
{$R *.res}
procedure RegisterTests;
beg... | apache-2.0 | Pascal |
c5a9ec31991f37cde10e7420e7c837520530cd20 | Enforce compilation with the correct version of freepascal | zipplet/godaemon | godaemontask.dpr | godaemontask.dpr | { --------------------------------------------------------------------------
godaemon
A daemon wrapper for daemons written in go.
You cannot write a "real" daemon in go due to issues with forking and
goroutines (from the official documentation). Instead, you are supposed
to daemonise your go app using anothe... | { --------------------------------------------------------------------------
godaemon
A daemon wrapper for daemons written in go.
You cannot write a "real" daemon in go due to issues with forking and
goroutines (from the official documentation). Instead, you are supposed
to daemonise your go app using anothe... | mit | Pascal |
d866954c064337cace73acd03f1cb136d4478566 | move used units to implementation | michaelJustin/daraja-framework | demo/tutorial1/MainUnit.pas | demo/tutorial1/MainUnit.pas | (*
Daraja Framework
Copyright (C) Michael Justin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version... | (*
Daraja Framework
Copyright (C) Michael Justin
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version... | agpl-3.0 | Pascal |
2abdbc0ce9ff5f2a4dc77545f20a59a46522f27f | address review comments | tavultesoft/keymanweb,tavultesoft/keymanweb | windows/src/developer/TIKE/dialogs/Keyman.Developer.UI.UfrmMessageDlgWithSave.pas | windows/src/developer/TIKE/dialogs/Keyman.Developer.UI.UfrmMessageDlgWithSave.pas | (*
Copyright (C) 2020 SIL International.
Show a message dialog with a check box to 'remember Yes choice
for next time'.
*)
unit Keyman.Developer.UI.UfrmMessageDlgWithSave;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
StdCtrls, UfrmTike;
type
TfrmMessageDlgWith... | (*
Name: UfrmMustIncludeDebug
Copyright: Copyright (C) SIL International.
Documentation:
Description:
Create Date: 1 Aug 2006
Modified Date: 1 Aug 2006
Authors: mcdurdin
Related Files:
Dependencies:
Bugs:
Todo:
No... | apache-2.0 | Pascal |
0456de5f23a74dd6a44591751352eef1b479a2aa | Add data to TKMUnitVisual | thibmo/kam_remake,thibmo/kam_remake,reyandme/kam_remake,reyandme/kam_remake,reyandme/kam_remake,thibmo/kam_remake,thibmo/kam_remake,reyandme/kam_remake,reyandme/kam_remake,thibmo/kam_remake | src/units/KM_UnitVisual.pas | src/units/KM_UnitVisual.pas | unit KM_UnitVisual;
{$I KaM_Remake.inc}
interface
uses
KM_Points, KM_Defaults;
type
TKMUnitVisualState = record
PosF: TKMPointF;
Dir: TKMDirection;
SlideX, SlideY: Single;
Action: TKMUnitActionType;
AnimStep: Integer;
end;
// Purely visual thing. Split from TKMUnit to aviod ... | unit KM_UnitVisual;
{$I KaM_Remake.inc}
interface
uses
KM_CommonSave, KM_Points;
type
// Purely visual thing. Split from TKMUnit to aviod mixup of game-logic and render Positions
TKMUnitVisual = class
private
fUnit: TObject;
public
constructor Create(aUnit: TObject);
procedure Upda... | agpl-3.0 | Pascal |
4b555bc3e51104b44c9a24cf5102935eb791a673 | allow lights to be separated with ','. | kmzbrnoI/hJOPserver | src/areas/AreaLighting.pas | src/areas/AreaLighting.pas | unit AreaLighting;
interface
uses TechnologieRCS, Classes, ownStrUtils, SysUtils;
type
TAreaLighting = class
name: string;
rcsAddr: TRCSAddr;
default_state: Boolean;
constructor Create(spnlitem: string);
procedure Parse(spnlitem: string);
function GetActive(): Boolean;
property active... | unit AreaLighting;
interface
uses TechnologieRCS, Classes, ownStrUtils, SysUtils;
type
TAreaLighting = class
name: string;
rcsAddr: TRCSAddr;
default_state: Boolean;
constructor Create(spnlitem: string);
procedure Parse(spnlitem: string);
function GetActive(): Boolean;
property active... | apache-2.0 | Pascal |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.