Skip to content

Commit

Permalink
add license to top of new files
Browse files Browse the repository at this point in the history
fix add licenses
  • Loading branch information
KristofferC committed Oct 16, 2020
1 parent 9e5d8e8 commit a37e0ae
Show file tree
Hide file tree
Showing 44 changed files with 81 additions and 0 deletions.
2 changes: 2 additions & 0 deletions base/binaryplatforms.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

module BinaryPlatforms

export AbstractPlatform, Platform, HostPlatform, platform_dlext, tags, arch, os,
Expand Down
2 changes: 2 additions & 0 deletions base/compiler/cicache.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

"""
struct InternalCodeCache
Expand Down
2 changes: 2 additions & 0 deletions base/compiler/methodtable.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

abstract type MethodTableView; end

struct MethodLookupResult
Expand Down
2 changes: 2 additions & 0 deletions base/compiler/stmtinfo.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

"""
struct MethodMatchInfo
Expand Down
2 changes: 2 additions & 0 deletions base/cpuid.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

module CPUID

export cpu_isa
Expand Down
2 changes: 2 additions & 0 deletions base/iddict.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

"""
IdDict([itr])
Expand Down
2 changes: 2 additions & 0 deletions base/idset.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# Like Set, but using IdDict
mutable struct IdSet{T} <: AbstractSet{T}
dict::IdDict{T,Nothing}
Expand Down
2 changes: 2 additions & 0 deletions base/pkgid.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

struct PkgId
uuid::Union{UUID,Nothing}
name::String
Expand Down
2 changes: 2 additions & 0 deletions base/toml_parser.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

module TOML

using Base: IdSet
Expand Down
2 changes: 2 additions & 0 deletions base/ttyhascolor.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

if Sys.iswindows()
ttyhascolor(term_type = nothing) = true
else
Expand Down
1 change: 1 addition & 0 deletions contrib/mac/app/notarize_check.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# This file is a part of Julia. License is MIT: https://julialang.org/license

# Note that you need to have exported `APPLEID` and `APPLEID_PASSWORD` for this to work.

Expand Down
1 change: 1 addition & 0 deletions contrib/mac/app/renotarize_dmg.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
# This file is a part of Julia. License is MIT: https://julialang.org/license

# We need a URL
if [[ -z "$1" ]]; then
Expand Down
2 changes: 2 additions & 0 deletions stdlib/Artifacts/src/Artifacts.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

module Artifacts

import Base: get, SHA1
Expand Down
2 changes: 2 additions & 0 deletions stdlib/Artifacts/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Artifacts, Test, Base.BinaryPlatforms
using Artifacts: with_artifacts_directory, pack_platform!, unpack_platform

Expand Down
2 changes: 2 additions & 0 deletions stdlib/Distributed/test/includefile.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# this is used to test that relative include paths work on other processes

i27429 = 27429
2 changes: 2 additions & 0 deletions stdlib/Distributed/test/managers.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
using Distributed
using Sockets
Expand Down
2 changes: 2 additions & 0 deletions stdlib/Distributed/test/splitrange.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
using Distributed
using Distributed: splitrange
Expand Down
2 changes: 2 additions & 0 deletions stdlib/LibCURL_jll/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
using LibCURL_jll

Expand Down
1 change: 1 addition & 0 deletions stdlib/Libdl/src/Libdl.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

module Libdl
# Just re-export Base.Libc.Libdl:
export DL_LOAD_PATH, RTLD_DEEPBIND, RTLD_FIRST, RTLD_GLOBAL, RTLD_LAZY, RTLD_LOCAL,
Expand Down
2 changes: 2 additions & 0 deletions stdlib/MozillaCACerts_jll/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
using MozillaCACerts_jll

Expand Down
2 changes: 2 additions & 0 deletions stdlib/REPL/src/options.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

## User Options

mutable struct Options
Expand Down
1 change: 1 addition & 0 deletions stdlib/REPL/test/TerminalMenus/legacytests/config.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# This file tests the Julia 1.0-1.5 extension interface of TerminalMenus

# scroll must only accept symbols
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# This file tests the legacy Julia 1.0-1.5 extension interface of TerminalMenus
# They are run with `warn=false` to avoid triggering test failures.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# This file tests the legacy Julia 1.0-1.5 extension interface of TerminalMenus
# They are run with `warn=false` to avoid triggering test failures.

Expand Down
2 changes: 2 additions & 0 deletions stdlib/SuiteSparse/test/threads.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test, LinearAlgebra, SparseArrays

@testset "threaded SuiteSparse tests" begin
Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/benchmark/benchmarks.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using BenchmarkTools
import TOML
import Random
Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Documenter
import TOML

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/src/TOML.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

module TOML

module Internals
Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/error_printing.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
import TOML: tryparsefile

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/invalids.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

@testset "errors" begin

str = """
Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/parse.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using TOML, Test
using TOML: ParserError

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/print.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

toml_str(a; kwargs...) = sprint(io -> TOML.print(io, a; kwargs...))
toml_str(f, a; kwargs...) = sprint(io -> TOML.print(f, io, a; kwargs...))

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/readme.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# This test stuff in the TOML README at https://github.com/toml-lang/toml
@testset "README" begin

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
using Dates

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/toml_test.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using TOML

using Test
Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/utils/convert_json_to_jl.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# This converts the ground-truth JSON files to the Julia repr format so
# we can use that without requiring a JSON parser during testing.

Expand Down
2 changes: 2 additions & 0 deletions stdlib/TOML/test/values.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
using TOML
using TOML: Internals
Expand Down
2 changes: 2 additions & 0 deletions stdlib/Test/test/test_pop_testset_exec.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test

@testset begin
Expand Down
2 changes: 2 additions & 0 deletions test/binaryplatforms.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test, Base.BinaryPlatforms, Base.BinaryPlatforms.CPUID

@testset "CPUID" begin
Expand Down
1 change: 1 addition & 0 deletions test/llvmpasses/fmf.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

# REQUIRES: x86_64
# RUN: julia --startup-file=no %s %t -O && llvm-link -S %t/* -o %t/module.ll
# RUN: cat %t/module.ll | llc - -mtriple=x86_64-- -mattr=fma | FileCheck %s
Expand Down
2 changes: 2 additions & 0 deletions test/ordering.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test

import Base.Order: Forward, Reverse
Expand Down
2 changes: 2 additions & 0 deletions test/stress_fd_exec.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

using Test
let ps = Pipe[]
ulimit_n = tryparse(Int, readchomp(`sh -c 'ulimit -n'`))
Expand Down
2 changes: 2 additions & 0 deletions test/testhelpers/arrayindexingtypes.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

## Tests for the abstract array interfaces and operations with arrays
## with different indexing rules

Expand Down
2 changes: 2 additions & 0 deletions test/testhelpers/include_error.jl
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

error("Expected exception while running include")

0 comments on commit a37e0ae

Please sign in to comment.