hash string | repo string | date string | license string | message string | mods list |
|---|---|---|---|---|---|
c27d31c06520c3df4c820ea10d5d16316f4d88cb | cupy/cupy | 19.07.2017 16:24:41 | MIT License | Support CUDA stream on memory pool
Now, memory pool will have an arena (bins) for each stream
to avoid concurrent streams touch the same memory block | [
{
"change_type": "MODIFY",
"old_path": "cupy/cuda/memory.pxd",
"new_path": "cupy/cuda/memory.pxd",
"diff": "@@ -1,4 +1,5 @@\n from libcpp cimport vector\n+from libcpp cimport unordered_map\n \n from cupy.cuda cimport device\n \n@@ -11,6 +12,7 @@ cdef class Chunk:\n readonly size_t ptr\n ... |
6683a9aa7bae67e855cd9d1f17fdc49eb3f6dea0 | cupy/cupy | 17.06.2020 22:41:09 | MIT License | Complete overhaul of filter testing.
These tests are much more flexible now for when additional filters are added. | [
{
"change_type": "MODIFY",
"old_path": "tests/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py",
"new_path": "tests/cupyx_tests/scipy_tests/ndimage_tests/test_filters.py",
"diff": "@@ -11,359 +11,349 @@ try:\n except ImportError:\n pass\n \n-# ######### Testing convolve and correlate ######... |
dad51485282b6e05c4993b0733bd54aa3c0bacef | cupy/cupy | 12.01.2021 16:21:46 | MIT License | Use "import numpy as np" in the array_api submodule
This avoids importing everything inside the individual functions, but still is
preferred over importing the functions used explicitly, as most of them clash
with the wrapper function names. | [
{
"change_type": "MODIFY",
"old_path": "numpy/_array_api/_creation_functions.py",
"new_path": "numpy/_array_api/_creation_functions.py",
"diff": "@@ -1,76 +1,67 @@\n+import numpy as np\n+\n def arange(start, /, *, stop=None, step=1, dtype=None, device=None):\n- from .. import arange\n if devi... |
76eb888612183768d9e1b0c818fcf5416c5f28c7 | cupy/cupy | 20.01.2021 18:25:20 | MIT License | Use _implementation on all functions that have it in the array API submodule
That way they only work on actual ndarray inputs, not array-like, which is
more inline with the spec. | [
{
"change_type": "MODIFY",
"old_path": "numpy/_array_api/_creation_functions.py",
"new_path": "numpy/_array_api/_creation_functions.py",
"diff": "@@ -35,7 +35,7 @@ def empty_like(x: array, /, *, dtype: Optional[dtype] = None, device: Optional[d\n if device is not None:\n # Note: Device s... |
994ce07595026d5de54f52ef5748b578f9fae1bc | cupy/cupy | 09.07.2021 13:57:44 | MIT License | Use better type signatures in the array API module
This includes returning custom dataclasses for finfo and iinfo that only
contain the properties required by the array API specification. | [
{
"change_type": "MODIFY",
"old_path": "numpy/_array_api/_array_object.py",
"new_path": "numpy/_array_api/_array_object.py",
"diff": "@@ -396,7 +396,8 @@ class Array:\n res = self._array.__le__(other._array)\n return self.__class__._new(res)\n \n- def __len__(self, /):\n+ # Not... |
783d157701ea6afa16a620669f89720864e62e9e | cupy/cupy | 09.07.2021 18:08:22 | MIT License | Make the array API left and right shift do type promotion
The spec previously said it should return the type of the left argument, but
this was changed to do type promotion to be consistent with all the other
elementwise functions/operators. | [
{
"change_type": "MODIFY",
"old_path": "numpy/_array_api/_array_object.py",
"new_path": "numpy/_array_api/_array_object.py",
"diff": "@@ -410,11 +410,8 @@ class Array:\n \"\"\"\n if isinstance(other, (int, float, bool)):\n other = self._promote_scalar(other)\n- # N... |
29535ad693507084ff3691fefd637a6b7292674f | cupy/cupy | 21.07.2021 15:45:36 | MIT License | Implement the array API result_type() manually
np.result_type() has too many behaviors that we want to avoid in the array API
namespace, like value-based casting and unwanted type promotions. Instead, we
implement the exact type promotion table from the spec. | [
{
"change_type": "MODIFY",
"old_path": "numpy/_array_api/_data_type_functions.py",
"new_path": "numpy/_array_api/_data_type_functions.py",
"diff": "@@ -1,7 +1,7 @@\n from __future__ import annotations\n \n from ._array_object import Array\n-from ._dtypes import _all_dtypes\n+from ._dtypes import _al... |
4877478d275959f746dab4f7b91bfe68956f26f1 | netflix/security_monkey | 26.01.2018 18:59:26 | Apache License 2.0 | Fix for orphaned items that may develop from a failed watcher event.
- Also added optional (but on by default) silencing of verbose and useless botocore logs. | [
{
"change_type": "MODIFY",
"old_path": "security_monkey/datastore_utils.py",
"new_path": "security_monkey/datastore_utils.py",
"diff": "@@ -95,7 +95,6 @@ def create_item(item, technology, account):\n )\n \n \n-\n def detect_change(item, account, technology, complete_hash, durable_hash):\n \"... |
84fd14194ddaa5b890e4479def071ce53a93b9d4 | netflix/security_monkey | 07.05.2018 10:58:36 | Apache License 2.0 | Add options to post metrics to queue
This commit adds an option to SM to post metrics to cloudwatch.
Metric data will be posted whenever scan queue items are added or
removed. | [
{
"change_type": "MODIFY",
"old_path": "docs/autostarting.md",
"new_path": "docs/autostarting.md",
"diff": "@@ -5,6 +5,7 @@ This document outlines how to configure Security Monkey to:\n \n 1. Automatically run the API\n 1. Automatically scan for changes in your environment.\n+1. Configure Security M... |
0b2146c8f794d5642a0a4feb9152916b49fd4be8 | mesonbuild/meson | 06.02.2017 11:51:46 | Apache License 2.0 | Use named field for command_template when generating ninja command.
The command template become easier to read with named field. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/ninjabackend.py",
"new_path": "mesonbuild/backend/ninjabackend.py",
"diff": "@@ -1232,15 +1232,16 @@ int dummy;\n return\n rule = 'rule STATIC%s_LINKER\\n' % crstr\n if mesonlib.is_windows():\n- command... |
73b2ee08a884d6baa7b8e3c35c6da8f17aa9a875 | mesonbuild/meson | 13.02.2017 20:59:03 | Apache License 2.0 | Rewrite custom_target template string substitution
Factor it out into a function in mesonlib.py. This will allow us to
reuse it for generators and for configure_file(). The latter doesn't
implement this at all right now.
Also includes unit tests. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/backends.py",
"new_path": "mesonbuild/backend/backends.py",
"diff": "@@ -603,19 +603,15 @@ class Backend:\n return srcs\n \n def eval_custom_target_command(self, target, absolute_outputs=False):\n- # We only want the outpu... |
003e0a0610582020d1b213e0c8d16fe63bc6eabe | mesonbuild/meson | 20.02.2017 07:06:13 | Apache License 2.0 | Use the same function for detection of C and C++ compilers
The mechanism is identical which means there's a high likelihood of
unintended divergence. In fact, a slight divergence was already there. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/environment.py",
"new_path": "mesonbuild/environment.py",
"diff": "@@ -400,9 +400,9 @@ class Environment:\n errmsg += '\\nRunning \"{0}\" gave \"{1}\"'.format(c, e)\n raise EnvironmentException(errmsg)\n \n- def detect_c_c... |
1fbf6300c5d38b12a4347a9327e54a9a315ef8de | mesonbuild/meson | 10.04.2017 23:36:06 | Apache License 2.0 | Use an enum instead of strings for method names.
If a non-string value is passed as a method, reject this explicitly
with a clear error message rather than trying to match with it and
failing. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/dependencies.py",
"new_path": "mesonbuild/dependencies.py",
"diff": "@@ -24,6 +24,7 @@ import sys\n import os, stat, glob, shutil\n import subprocess\n import sysconfig\n+from enum import Enum\n from collections import OrderedDict\n from . mesonlib ... |
fab5634916191816ddecf1a2a958fa7ed2eac1ec | mesonbuild/meson | 24.06.2017 20:16:30 | Apache License 2.0 | Add 'Compiler.get_display_language'
Use this when we print language-related information to the console and
via the Ninja backend. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/ninjabackend.py",
"new_path": "mesonbuild/backend/ninjabackend.py",
"diff": "@@ -1606,7 +1606,7 @@ rule FORTRAN_DEP_HACK\n output_args=' '.join(compiler.get_output_args('$out')),\n compile_only_args=' '.join(compiler.... |
cda0e33650341f0a82c7d4164607fd74805e670f | mesonbuild/meson | 18.10.2017 22:39:05 | Apache License 2.0 | Add ConfigToolDependency class
This class is meant abstract away some of the tedium of writing a config
tool wrapper dependency, and allow these instances to share some basic
code that they all need. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/dependencies/base.py",
"new_path": "mesonbuild/dependencies/base.py",
"diff": "@@ -24,7 +24,9 @@ from enum import Enum\n \n from .. import mlog\n from .. import mesonlib\n-from ..mesonlib import MesonException, Popen_safe, version_compare_many, list... |
cf98f5e3705603ae21bef9b0a577bcd001a8c92e | mesonbuild/meson | 21.02.2018 13:39:52 | Apache License 2.0 | Enable searching system crossfile locations on more platforms
There's no reason not to also look in these places on Cygwin or OSX. Don't
do this on Windows, as these paths aren't meaningful there.
Move test_cross_file_system_paths from LinuxlikeTests to AllPlatformTests. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/coredata.py",
"new_path": "mesonbuild/coredata.py",
"diff": "@@ -222,17 +222,17 @@ class CoreData:\n (after resolving variables and ~), return that absolute path. Next,\n check if the file is relative to the current source dir. If th... |
ea3b54d40252fcb87eb1852223f125398b1edbdf | mesonbuild/meson | 25.02.2018 15:49:58 | Apache License 2.0 | Use include_directories for D impdirs.
Change the code to store D properties as plain data. Only convert them
to compiler flags in the backend. This also means we can fully parse D
arguments without needing to know the compiler being used. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/ninjabackend.py",
"new_path": "mesonbuild/backend/ninjabackend.py",
"diff": "@@ -2257,6 +2257,9 @@ rule FORTRAN_DEP_HACK\n depelem.write(outfile)\n commands += compiler.get_module_outdir_args(self.get_target_p... |
060560bf6250fcf9b2b528226176d322af93711b | mesonbuild/meson | 11.09.2017 20:36:38 | Apache License 2.0 | Use test setups from the active (sub)project by default.
Replace the logic where a test setup with no project specifier defaults to
the main project with one that takes the test setup from the same
(sub)project from where the to-be-executed test has been read from. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/mtest.py",
"new_path": "mesonbuild/mtest.py",
"diff": "@@ -28,6 +28,7 @@ import concurrent.futures as conc\n import platform\n import signal\n import random\n+from copy import deepcopy\n \n # GNU autotools interprets a return code of 77 from tests i... |
d012b5b997e917a971bca1236a065453493c780d | mesonbuild/meson | 29.05.2017 20:17:28 | Apache License 2.0 | Create a helper for checking if a string has a path component
This is used in a number of places, and in some places it is incomplete.
Use a helper to ensure it's used properly. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/ninjabackend.py",
"new_path": "mesonbuild/backend/ninjabackend.py",
"diff": "@@ -27,7 +27,7 @@ from .. import compilers\n from ..compilers import CompilerArgs\n from ..linkers import ArLinker\n from ..mesonlib import File, MesonException, Or... |
2febb99eee8ed71c9122db88ca58dd33be0b9550 | mesonbuild/meson | 21.03.2018 14:58:50 | Apache License 2.0 | Fix b_ndebug=if-release option
Provide get_{type}_options_for_target() methods that unite {type} and builtin options. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/backends.py",
"new_path": "mesonbuild/backend/backends.py",
"diff": "@@ -89,12 +89,17 @@ class OptionProxy:\n class OptionOverrideProxy:\n '''Mimic an option list but transparently override\n selected option values.'''\n- def __in... |
fa6ca160548d7e8df9c4c724e6c96f5e004e5316 | mesonbuild/meson | 03.11.2017 13:44:38 | Apache License 2.0 | Add macOS linker versioning information
This patch exploits the information residing in ltversion to set the
-compatibility_version and -current_version flags that are passed to the
linker on macOS. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/ninjabackend.py",
"new_path": "mesonbuild/backend/ninjabackend.py",
"diff": "@@ -2392,7 +2392,7 @@ rule FORTRAN_DEP_HACK\n commands += linker.get_pic_args()\n # Add -Wl,-soname arguments on Linux, -install_name on OS ... |
05c43cdcd19db98d53d5c9f1b50028d881471c2f | mesonbuild/meson | 24.04.2018 21:39:59 | Apache License 2.0 | Add 'install_mode' to all installable targets
This makes it possible to customize permissions of all installable
targets, such as executable(), libraries, man pages, header files and
custom or generated targets.
This is useful, for instance, to install setuid/setgid binaries, which
was hard to accomplish without access to this attribute. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/ninjabackend.py",
"new_path": "mesonbuild/backend/ninjabackend.py",
"diff": "@@ -724,6 +724,7 @@ int dummy;\n \"Pass 'false' for outputs that should not be installed and 'true' for\\n\" \\\n 'using the... |
8fb72510c3b7a7a5f08b4b20b7e1480f5868052a | mesonbuild/meson | 13.05.2018 10:36:58 | Apache License 2.0 | Move to coredata some methods handling options
Those methods only use coredata object, so better just move them as a
coredata method. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/coredata.py",
"new_path": "mesonbuild/coredata.py",
"diff": "@@ -351,6 +351,37 @@ class CoreData:\n def get_external_preprocess_args(self, lang):\n return self.external_preprocess_args[lang]\n \n+ def merge_user_options(self, options)... |
58ae2c9a8c52bcf881682286cc4393d85c87a07f | mesonbuild/meson | 19.06.2018 09:35:25 | Apache License 2.0 | Rename clike_langs to clink_langs for clarity
D is not a 'c-like' language, but it can link to C libraries. The same
might be true of Rust in the future and Go when we add support for it.
This contains no functionality changes. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/backends.py",
"new_path": "mesonbuild/backend/backends.py",
"diff": "@@ -338,7 +338,7 @@ class Backend:\n return self.build.static_cross_linker, []\n else:\n return self.build.static_linker, []\n- ... |
c151eb49678be24a75451a327812dd5fa569af73 | mesonbuild/meson | 22.06.2018 17:49:03 | Apache License 2.0 | Improve logging when dependency is anonymous
Various pieces of logging assume the dependency has a name, and aren't
grammatical if the dependency is '', so say it is anonymous instead. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/interpreter.py",
"new_path": "mesonbuild/interpreter.py",
"diff": "@@ -2805,10 +2805,11 @@ external dependencies (including libraries) must go to \"dependencies\".''')\n def func_dependency(self, node, args, kwargs):\n self.validate_argu... |
4fb00ee1d8c79184e3a77f9266e90d42ff595f41 | mesonbuild/meson | 06.07.2018 23:08:13 | Apache License 2.0 | Add new method: mlog.deprecation()
Instead of constructing it manually, use a helper. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/build.py",
"new_path": "mesonbuild/build.py",
"diff": "@@ -1792,7 +1792,7 @@ class CustomTarget(Target):\n if 'build_always' in kwargs and 'build_always_stale' in kwargs:\n raise InvalidArguments('build_always and build_always_st... |
e0ed1ceae2e00d6c6efab39d4712d2522d89e929 | mesonbuild/meson | 28.06.2018 17:26:35 | Apache License 2.0 | Refactor getting the host system of a cross compiler
Use mesonlib.for_windows or mesonlib.for_cygwin instead of
reimplementing them.
Add CrossBuildInfo.get_host_system to shorten the repeated the code in
the mesonlib.for_<platform> methods. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/environment.py",
"new_path": "mesonbuild/environment.py",
"diff": "@@ -345,13 +345,11 @@ class Environment:\n # static libraries, and executables.\n # Versioning is added to these names in the backends as-needed.\n cross = se... |
28c1f31d7e2b46a8473d8ebe8f029fb7602fde09 | mesonbuild/meson | 29.08.2018 12:03:47 | Apache License 2.0 | Make `-std=` fallback remapping more robust
* The current version matching logic is brittle
with respect to Clang. LLVM and Apple Clang use
slightly different but nowadays overlapping
version ranges. Instead, we now just check whether
the compiler supports the given `-std=` variant
and try its respective fallback instead of
testing version ranges. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/compilers/cpp.py",
"new_path": "mesonbuild/compilers/cpp.py",
"diff": "@@ -12,10 +12,12 @@\n # See the License for the specific language governing permissions and\n # limitations under the License.\n \n+import functools\n import os.path\n \n from ..... |
69ec001b0672094ab92c07f5e561c9c0525aef7b | mesonbuild/meson | 15.09.2018 13:13:50 | Apache License 2.0 | Use enum instead of `int` for compiler variants
* Enums are strongly typed and make the whole
`gcc_type`/`clang_type`/`icc_type` distinction
redundant.
* Enums also allow extending via member functions,
which makes the code more generalisable. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/compilers/__init__.py",
"new_path": "mesonbuild/compilers/__init__.py",
"diff": "@@ -14,16 +14,7 @@\n \n # Public symbols for compilers sub-package when using 'from . import compilers'\n __all__ = [\n- 'CLANG_OSX',\n- 'CLANG_STANDARD',\n- '... |
37067a53c4b3b99982ef8e1f431ba0c9302b66e8 | mesonbuild/meson | 13.05.2018 10:36:58 | Apache License 2.0 | Use a single ArgumentParser for all subcommands
This has the adventage that "meson --help" shows a list of all commands,
making them discoverable. This also reduce the manual parsing of
arguments to the strict minimum needed for backward compatibility. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/mconf.py",
"new_path": "mesonbuild/mconf.py",
"diff": "@@ -13,17 +13,13 @@\n # limitations under the License.\n \n import os\n-import argparse\n from . import (coredata, mesonlib, build)\n \n-def buildparser():\n- parser = argparse.ArgumentParser... |
c17a80f47b772d759aeb0878aa767a768a6fdd0c | mesonbuild/meson | 28.11.2018 18:22:28 | Apache License 2.0 | Use correct environment for REGEN in VS backend.
Try to guess which VS Command Prompt was used for the Meson call.
If one is chosen invoke it before calling Meson in REGEN command. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/vs2010backend.py",
"new_path": "mesonbuild/backend/vs2010backend.py",
"diff": "@@ -189,6 +189,33 @@ class Vs2010Backend(backends.Backend):\n with open(filename, 'wb') as f:\n pickle.dump(regeninfo, f)\n \n+ def get_vcv... |
08ce1fb541374fb1ddce1d7318ceb92459942e9e | mesonbuild/meson | 19.09.2019 20:49:33 | Apache License 2.0 | Move the list of LLVM version suffixes to a common place
Both scan-build and llvm-config need the same list of LLVM version
suffixes. It is better to keep the list at a common place instead of
having several copies in different files, which is likely to become
out-of-sync when the list is updated. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/dependencies/dev.py",
"new_path": "mesonbuild/dependencies/dev.py",
"diff": "@@ -22,6 +22,7 @@ import re\n \n from .. import mesonlib, mlog\n from ..mesonlib import version_compare, stringlistify, extract_as_list, MachineChoice\n+from ..environment ... |
712b2f08c7126863a68dc98c021fc40a4de462fd | mesonbuild/meson | 22.01.2020 20:52:30 | Apache License 2.0 | Move git helper out into mesonlib for reuse
Reuse the git helper for `meson wrap` and `meson subprojects` so we
don't need to maintain the same git-colors-on-windows workarounds in
multiple places. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/mesonlib.py",
"new_path": "mesonbuild/mesonlib.py",
"diff": "@@ -56,6 +56,20 @@ else:\n python_command = [sys.executable]\n meson_command = None\n \n+GIT = shutil.which('git')\n+def git(cmd: T.List[str], workingdir: str, **kwargs) -> subprocess.... |
3d6d908f7c41623c26289e09ed6608cae14d4948 | mesonbuild/meson | 11.02.2020 21:12:20 | Apache License 2.0 | Refactor TestResult object initialization
Just add or alter attributes of the TestResult object, rather than many,
many invocations of the constructor with very similar arguments.
Define helper methods for TestResult to add the results of a step and
set the failure reason. | [
{
"change_type": "MODIFY",
"old_path": "run_project_tests.py",
"new_path": "run_project_tests.py",
"diff": "@@ -65,17 +65,30 @@ class BuildStep(Enum):\n \n \n class TestResult:\n- def __init__(self, msg, step, stdo, stde, mlog, cicmds, conftime=0, buildtime=0, testtime=0):\n- self.msg = ms... |
28e3ce67ae49494d57372f27b6f91580656f77a7 | mesonbuild/meson | 30.04.2020 13:54:46 | Apache License 2.0 | Convert test protocol into an enum
This gives us better type safety, and will be important as we add more
test methods | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/backend/backends.py",
"new_path": "mesonbuild/backend/backends.py",
"diff": "@@ -14,6 +14,7 @@\n \n from collections import OrderedDict\n from functools import lru_cache\n+import enum\n import json\n import os\n import pickle\n@@ -28,12 +29,33 @@ fr... |
f21685a83330a4bbe1e59c3641a0d24f1efe8825 | mesonbuild/meson | 21.06.2021 17:45:08 | Apache License 2.0 | Delete redirected wrap files in subprojects purge
We need to store the original filename as well as whether the wrap was
redirected in order to properly purge the redirected wrap. | [
{
"change_type": "MODIFY",
"old_path": "mesonbuild/msubprojects.py",
"new_path": "mesonbuild/msubprojects.py",
"diff": "@@ -386,6 +386,12 @@ class Runner:\n if not self.wrap.type:\n return True\n \n+ if self.wrap.redirected:\n+ redirect_file = Path(self.wrap.ori... |
e9036760713718bbfd3d7db9f3dbc03576924e52 | lmcinnes/umap | 04.05.2021 23:51:13 | BSD 3-Clause New or Revised License | Add support for saving embeddings at intermediate epochs
Returns a list of intermediate embeddings in UMAP.embedding_list | [
{
"change_type": "MODIFY",
"old_path": "umap/layouts.py",
"new_path": "umap/layouts.py",
"diff": "@@ -252,8 +252,12 @@ def optimize_layout_euclidean(\n The indices of the heads of 1-simplices with non-zero membership.\n tail: array of shape (n_1_simplices)\n The indices of the ta... |
5c20bf11a02c24e8caebf955706e21f278544bc7 | dguenms/dawn-of-civilization | 14.10.2018 18:34:22 | MIT License | Adjust UHV goals to new wonders
- second French goal now requires the Louvre and the Metropolitain instead of the Statue of Liberty
- second Mughal goal now requires Shalimar Gardens instead of Harmandir Sahib
- second American goal now also requires Brooklyn Bridge and Golden Gate Bridge | [
{
"change_type": "MODIFY",
"old_path": "Assets/Python/Victory.py",
"new_path": "Assets/Python/Victory.py",
"diff": "@@ -213,11 +213,11 @@ dWonderGoals = {\n \tiMaya: (1, [iTempleOfKukulkan], True),\r\n \tiMoors: (1, [iMezquita], False),\r\n \tiKhmer: (0, [iWatPreahPisnulok], False),\r\n-\tiFrance: (... |
86edc251a6f1252bff2a34af34451e231ad87218 | apache/libcloud | 19.11.2019 20:22:32 | Apache License 2.0 | Update S3 storage driver so it suppots "region" constructor argument.
This way user can use this constructor class argument instead of using a
different driver class per region.
Also update code to return more user friendly error message if moved
permanently error is returned by the API. | [
{
"change_type": "MODIFY",
"old_path": "libcloud/storage/drivers/s3.py",
"new_path": "libcloud/storage/drivers/s3.py",
"diff": "@@ -71,6 +71,28 @@ S3_SA_EAST_HOST = 's3-sa-east-1.amazonaws.com'\n S3_SA_SOUTHEAST2_HOST = 's3-sa-east-2.amazonaws.com'\n S3_CA_CENTRAL_HOST = 's3-ca-central-1.amazonaws.c... |
21a78a17929f0633817c337208ab2a21dc0639f9 | apache/libcloud | 29.11.2019 23:13:26 | Apache License 2.0 | Update setup.py so it doesn't rely on any functions from libcloud
packages.
This way we avoid having setup.py depend on typing, requests and other
modules libcloud depends on. | [
{
"change_type": "MODIFY",
"old_path": "setup.py",
"new_path": "setup.py",
"diff": "@@ -12,12 +12,14 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permissions and\n # limitations under the License.\n+\n import ... |
b9747bc011e9e9830ab147327d7aeaa8447ad2d7 | apache/libcloud | 20.02.2020 00:11:58 | Apache License 2.0 | Add new storage API methods for downloading part of an object (range
download) and implement it for the S3 and local storage drivers. | [
{
"change_type": "MODIFY",
"old_path": "libcloud/storage/base.py",
"new_path": "libcloud/storage/base.py",
"diff": "@@ -443,6 +443,68 @@ class StorageDriver(BaseDriver):\n raise NotImplementedError(\n 'download_object_as_stream not implemented for this driver')\n \n+ def downl... |
76cde3007a60ced15ffa7c1eee9f6fafd5baa3c6 | apache/libcloud | 28.02.2020 22:01:44 | Apache License 2.0 | Implement Range downloads for the Azure Blobs driver and move common
method which can be re-used by S3 based and Azure drivers to the base
driver class. | [
{
"change_type": "MODIFY",
"old_path": "libcloud/common/azure.py",
"new_path": "libcloud/common/azure.py",
"diff": "@@ -48,9 +48,11 @@ class AzureResponse(XmlResponse):\n httplib.NOT_FOUND,\n httplib.CONFLICT,\n httplib.BAD_REQUEST,\n- httplib.TEMPORARY_REDIRECT\n ... |
715717703719d00dae7ee11916ecafd614bbcc6c | apache/libcloud | 01.04.2020 13:08:01 | Apache License 2.0 | Allow user to pass "timeout" argument to ScriptDeployment and
ScriptFileDeployment class.
With this argument, user can specify optional command run timeout for
those deployment steps. | [
{
"change_type": "MODIFY",
"old_path": "libcloud/compute/deployment.py",
"new_path": "libcloud/compute/deployment.py",
"diff": "@@ -138,8 +138,14 @@ class ScriptDeployment(Deployment):\n you are running a plan shell script.\n \"\"\"\n \n- def __init__(self, script, args=None, name=None, d... |
7516dd4cbaa76c8ea93e63bc0c006a12b4fa5ff1 | apache/libcloud | 08.12.2021 13:45:36 | Apache License 2.0 | Update AWS error response XML parsing code so we also handle situation
where response doesn't have a namespace.
It looks like that in some cases AWS returns error response without a
namespace which previous version of the code didn't handle correctly. | [
{
"change_type": "MODIFY",
"old_path": "libcloud/common/aws.py",
"new_path": "libcloud/common/aws.py",
"diff": "@@ -37,6 +37,8 @@ from libcloud.common.base import JsonResponse\n from libcloud.common.types import InvalidCredsError, MalformedResponseError\n from libcloud.utils.py3 import b, httplib, u... |
b76ed0db81b3123ede5dc5e5f1bddf36336f3722 | apache/libcloud | 05.03.2022 17:52:34 | Apache License 2.0 | Add tests which verify that all OpenStack driver can be instantiated
with all the supported auth versions.
NOTE: Those tests will fail right now due to the regressions being
introduced recently which breaks auth for some versions. | [
{
"change_type": "MODIFY",
"old_path": "libcloud/test/compute/test_openstack.py",
"new_path": "libcloud/test/compute/test_openstack.py",
"diff": "@@ -39,6 +39,7 @@ from libcloud.utils.py3 import u\n from libcloud.common.base import LibcloudConnection\n from libcloud.common.exceptions import BaseHTTP... |
ceee67b50dcb9b7463c9e6bd0a4fe4af8216d4d1 | usc-isi-i2/kgtk | 02.12.2020 17:56:36 | MIT License | Support aliasing of input files and querying from stdin.
Because an input file might be referenced by its alias now, we
removed various 'os.path.realpath' normalizations and use
'normalize_file_path' more selectively now. | [
{
"change_type": "MODIFY",
"old_path": "kgtk/kypher/sqlstore.py",
"new_path": "kgtk/kypher/sqlstore.py",
"diff": "@@ -29,6 +29,9 @@ pp = pprint.PrettyPrinter(indent=4)\n # - absolute file names are an issue when distributing the store\n # - support some minimal sanity checking such as empty files, e... |
ecaeb48e1fd7625c2a3f2854fb8cae18963f366d | usc-isi-i2/kgtk | 07.04.2022 15:58:06 | MIT License | Handle special translation needed for 'likelihood' and 'concat' functions
Also slightly refactored and cleaned up translation of function expressions. | [
{
"change_type": "MODIFY",
"old_path": "kgtk/kypher/query.py",
"new_path": "kgtk/kypher/query.py",
"diff": "@@ -25,7 +25,7 @@ pp = pprint.PrettyPrinter(indent=4)\n # - support node property access without having to introduce the property variable in the\n # match clause first (e.g., y.salary in th... |
c96f073d4a6141477a486faa80c760c958e2e119 | usc-isi-i2/kgtk | 06.06.2022 10:46:12 | MIT License | Handle translation of new computed virtual graph patterns
- uses new virtual graph function machinery for translation
- ensures we don't try to create indexes on virtual tables | [
{
"change_type": "MODIFY",
"old_path": "kgtk/kypher/query.py",
"new_path": "kgtk/kypher/query.py",
"diff": "@@ -319,6 +319,17 @@ class KgtkQuery(object):\n node1 = clause[0]\n rel = clause[1]\n node2 = clause[2]\n+\n+ if rel.labels is not None and SqlFunction.is_virtua... |
6afb6c9edeeeb48ef04fa62f00cca10837b2d349 | usc-isi-i2/kgtk | 13.09.2022 15:46:52 | MIT License | Support dont-optimize switch on all or individual match clauses
This will use a CROSS JOIN operator where appropriate which in SQLite
will disable the query optimizer for those joins and process the joins
in the order listed. | [
{
"change_type": "MODIFY",
"old_path": "kgtk/kypher/query.py",
"new_path": "kgtk/kypher/query.py",
"diff": "@@ -162,7 +162,8 @@ class KgtkQuery(object):\n def __init__(self, files, store, options=None, query=None,\n match='()', where=None, optionals=None, with_=None,\n ... |
350f45431d4dbc93ac774e091150c8593a8b458e | gammapy/gammapy | 01.08.2018 17:10:21 | BSD 3-Clause New or Revised License | Change to use argument name "geom" consistently.
Previously we had a mix of "geom" and "ref_geom" in Gammapy. | [
{
"change_type": "MODIFY",
"old_path": "gammapy/astro/darkmatter/tests/test_utils.py",
"new_path": "gammapy/astro/darkmatter/tests/test_utils.py",
"diff": "@@ -14,7 +14,7 @@ def geom():\n \n @pytest.fixture(scope=\"session\")\n def jfact():\n- jfactory = JFactory(ref_geom=geom(), profile=profiles... |
537996597fb34fb01cf0a14c3618f7fe1258ff3c | gammapy/gammapy | 22.01.2020 12:06:54 | BSD 3-Clause New or Revised License | Add auto-generated unique names
- add auto-generated unique names for model and dataset on init and copy
- force unicity on datasets and skymodels | [
{
"change_type": "MODIFY",
"old_path": "gammapy/cube/fit.py",
"new_path": "gammapy/cube/fit.py",
"diff": "@@ -11,7 +11,7 @@ from gammapy.cube.edisp_map import EDispMap\n from gammapy.cube.psf_kernel import PSFKernel\n from gammapy.cube.psf_map import PSFMap\n from gammapy.data import GTI\n-from gamm... |
a1b7520cfca410f773da868fcddffe971fedd6af | gammapy/gammapy | 13.02.2020 14:03:19 | BSD 3-Clause New or Revised License | Add processing options for SkyModel and SkyDiffuseCube
Add options to apply or not psf and edisp to SkyModel and SkyDiffuseCube | [
{
"change_type": "MODIFY",
"old_path": "gammapy/cube/fit.py",
"new_path": "gammapy/cube/fit.py",
"diff": "@@ -250,7 +250,9 @@ class MapDataset(Dataset):\n evaluator = self._evaluators.get(model.name)\n \n if evaluator is None:\n- evaluator = MapEval... |
36d511791b9b9dd64c09844a09865e73dac650ba | gammapy/gammapy | 08.07.2020 12:03:36 | BSD 3-Clause New or Revised License | Add shorter tags for models
Redefine most of models tags with a list including shorter aliases to be used with model.create(tag) and in YAML serialization. By default the tag returned in model.to_dict() is the 0th tag which is also the class name. | [
{
"change_type": "MODIFY",
"old_path": "gammapy/catalog/fermi.py",
"new_path": "gammapy/catalog/fermi.py",
"diff": "@@ -184,7 +184,7 @@ class SourceCatalogObjectFermiBase(SourceCatalogObject, abc.ABC):\n lat_err = semi_major / scale_1sigma\n lon_err = semi_minor / scale_1sigma / np.c... |
cbd77d0db9c0b2ff720d1fb2d0cd2ad19ee1a369 | gammapy/gammapy | 12.10.2020 14:28:56 | BSD 3-Clause New or Revised License | Add option to remove default output in models yaml file
Add option full_output (True by default) to model.to_yaml() and .to_dict(). Switching to False remove the entries for min, max, frozen and error if they are the same than the class defaults or nan. | [
{
"change_type": "MODIFY",
"old_path": "gammapy/modeling/models/core.py",
"new_path": "gammapy/modeling/models/core.py",
"diff": "@@ -105,10 +105,20 @@ class Model:\n \"\"\"A deep copy.\"\"\"\n return copy.deepcopy(self)\n \n- def to_dict(self):\n+ def to_dict(self, full_output... |
a624b892b3d05a48a9c9c582222f1c02699293a5 | gammapy/gammapy | 09.07.2020 08:21:14 | BSD 3-Clause New or Revised License | Add PiecewiseBrokenPowerLawSpectralModel
Add PiecewiseBrokenPowerLawSpectralModel, a generalised broken power law defined by a set of energy and intensity values (nodes) that are piecewise connected by power laws. | [
{
"change_type": "MODIFY",
"old_path": "gammapy/modeling/models/__init__.py",
"new_path": "gammapy/modeling/models/__init__.py",
"diff": "@@ -30,6 +30,7 @@ SPECTRAL_MODEL_REGISTRY = Registry(\n PowerLaw2SpectralModel,\n BrokenPowerLawSpectralModel,\n SmoothBrokenPowerLawSpect... |
b406fc46ffe0c426dd34cddb15e083ded421791d | kinverarity1/lasio | 01.11.2021 16:26:02 | MIT License | Add ignore_comments to documentation
- Also change data parsing functions to use 'ignore_data_comments'
rather than 'ignore_comments'. This clarifies the difference between
the two flags since 'ignore_data_comments' is used in parsing the data
section and 'ignore_comments' is used in parsing header sections. | [
{
"change_type": "MODIFY",
"old_path": "docs/source/header-section.rst",
"new_path": "docs/source/header-section.rst",
"diff": "@@ -264,6 +264,19 @@ Handling special cases of header lines\n lasio will do its best to read every line from the header section. Some examples\n follow for unusual formatti... |
7da9f5a965c9ba4606a199eec756e486b783c01c | mycroftai/mycroft-core | 20.05.2017 21:28:05 | Apache License 2.0 | Add functionality to update listener/STT config
When a new configuration is discovered the producer and consumer is shutdown, the config is read and a new producer-consumer pair is launched. | [
{
"change_type": "MODIFY",
"old_path": "mycroft/client/speech/listener.py",
"new_path": "mycroft/client/speech/listener.py",
"diff": "@@ -70,6 +70,10 @@ class AudioProducer(Thread):\n # http://stackoverflow.com/questions/10733903/pyaudio-input-overflowed\n sel... |
6c4f485323cd6b8355f30a1b867102b06045b815 | mycroftai/mycroft-core | 16.01.2018 12:14:07 | Apache License 2.0 | Make handlers for single scheduled events one shot
- add_event() now accepts the parameter once, registring the event as a one shot event.
- remove_event for non-existing events is handled
- added a test for this | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/core.py",
"new_path": "mycroft/skills/core.py",
"diff": "@@ -596,24 +596,26 @@ class MycroftSkill(object):\n text = f.read().replace('{{', '{').replace('}}', '}')\n return text.format(**data or {}).split('\\n')\n \n- d... |
07ce2d98d0c069e2d4d04d1f9e5bc21e0e520fee | mycroftai/mycroft-core | 28.02.2018 18:53:56 | Apache License 2.0 | Use function attributes for intent decorators
This prevents needing to use a shared list which misbehaves when multiple skills initialize at once | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/core.py",
"new_path": "mycroft/skills/core.py",
"diff": "@@ -18,7 +18,6 @@ import sys\n import time\n import csv\n import inspect\n-from functools import wraps\n from inspect import getargspec\n from datetime import datetime, timedelta\n \n@@ -1... |
fc8424c9ee9c83f4962e171699f13c39407637cc | mycroftai/mycroft-core | 10.05.2018 18:01:07 | Apache License 2.0 | Make skill ids use skill folder
This is necessary because in Python 3, hash(x) changes every single start of the application. Using the skill folder makes it consistent. In addition, the skill folder makes it easier to debug parts of the application in comparison to using something like an md5sum | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/core.py",
"new_path": "mycroft/skills/core.py",
"diff": "@@ -37,7 +37,7 @@ from mycroft.filesystem import FileSystemAccess\n from mycroft.messagebus.message import Message\n from mycroft.metrics import report_metric, report_timing, Stopwatch\n f... |
1c3543f5e5d60b5eb3d00f52e6a50d329de250fc | mycroftai/mycroft-core | 09.01.2019 18:27:02 | Apache License 2.0 | Support for audio seek
The audioservice can now jump forward and backward in the audio stream/file
The functionality is accessed via the audioservice class's seek_forward(),
seek_backward() and seek() methods | [
{
"change_type": "MODIFY",
"old_path": "mycroft/audio/audioservice.py",
"new_path": "mycroft/audio/audioservice.py",
"diff": "@@ -187,6 +187,8 @@ class AudioService:\n self.bus.on('mycroft.audio.service.next', self._next)\n self.bus.on('mycroft.audio.service.prev', self._prev)\n ... |
f6347ae47c872b40339d9565a9cb29da5bca8716 | mycroftai/mycroft-core | 12.04.2019 18:06:03 | Apache License 2.0 | Replace hashed meta with skill_gid as identifier
This also removes the notion of an owner skill and all skills may update settings on the server. | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/settings.py",
"new_path": "mycroft/skills/settings.py",
"diff": "@@ -216,34 +216,12 @@ class SkillSettings(dict):\n except RequestException:\n return\n \n- hashed_meta = self._get_meta_hash(settings_meta)\n- ski... |
39c844a257ef934b244af28c882c1fe93f6fe61d | mycroftai/mycroft-core | 14.06.2019 12:56:48 | Apache License 2.0 | Update old style metaclasses
the old "__metaclass__" has been ignored since the switch to python 3
this restores the metaclass functionality by updating it to the new
class kwarg syntax | [
{
"change_type": "MODIFY",
"old_path": "mycroft/audio/services/__init__.py",
"new_path": "mycroft/audio/services/__init__.py",
"diff": "@@ -15,7 +15,7 @@\n from abc import ABCMeta, abstractmethod\n \n \n-class AudioBackend:\n+class AudioBackend(metaclass=ABCMeta):\n \"\"\"\n Base class f... |
b28d63cf7134602924a18bc9f40518a404923c63 | mycroftai/mycroft-core | 09.08.2019 09:43:27 | Apache License 2.0 | Make register_intent decorator register all intent types
This makes the register_intent decorator work for all types of intents,
both Adapt and Padatious. | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/mycroft_skill/decorators.py",
"new_path": "mycroft/skills/mycroft_skill/decorators.py",
"diff": "@@ -30,7 +30,10 @@ def intent_handler(intent_parser):\n \n \n def intent_file_handler(intent_file):\n- \"\"\"Decorator for adding a method as an ... |
69231c5ed13dc6ad437392fe83cb06074b250dd2 | mycroftai/mycroft-core | 31.08.2019 17:34:10 | Apache License 2.0 | Make execute_test less complex
Split the long function into several smaller ones just retaining the
main logic. | [
{
"change_type": "MODIFY",
"old_path": "test/integrationtests/skills/skill_tester.py",
"new_path": "test/integrationtests/skills/skill_tester.py",
"diff": "@@ -281,6 +281,17 @@ class MockSkillsLoader(object):\n unload_skills(self.skills)\n \n \n+def load_test_case_file(test_case_file):\n+ ... |
29db163a78cddc14e4d9a788c8bc7ed8e6eda9cf | mycroftai/mycroft-core | 04.10.2019 08:00:06 | Apache License 2.0 | Move listen trigger to last chunk of sentence
If rendering a chunk of a sentence takes too long time, the audio queue
may run out and trigger the listening.
This moves the listening trigger to after the last chunk. | [
{
"change_type": "MODIFY",
"old_path": "mycroft/audio/speech.py",
"new_path": "mycroft/audio/speech.py",
"diff": "@@ -35,11 +35,6 @@ mimic_fallback_obj = None\n _last_stop_signal = 0\n \n \n-def _start_listener(_):\n- \"\"\"Force Mycroft to start listening (as if 'Hey Mycroft' was spoken).\"\"\"\... |
82e350064cb8d1622c7cde275567ae594483fe62 | mycroftai/mycroft-core | 28.03.2020 18:22:47 | Apache License 2.0 | Simplify and clean up curate_cache
- create helper functions for getting file stats and removing files in
order of age
- create wrapper function for turning MB into bytes | [
{
"change_type": "MODIFY",
"old_path": "mycroft/util/file_utils.py",
"new_path": "mycroft/util/file_utils.py",
"diff": "@@ -121,27 +121,74 @@ def read_dict(filename, div='='):\n return d\n \n \n+def mb_to_bytes(size):\n+ \"\"\"Takes a size in MB and returns the number of bytes.\n+\n+ Argum... |
010562f3e160b8e2b4fde2102f9fc19dbcbee1ef | mycroftai/mycroft-core | 18.05.2020 08:52:05 | Apache License 2.0 | Fix remove_fallback()
remove_fallback() was mainly created for use internally during shutdown
and required the wrapped callable to be able to remove a handler. This
makes it general, using a mapping to find the wrapper from a handler if
needed. The method now also returns the success/failure status | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/fallback_skill.py",
"new_path": "mycroft/skills/fallback_skill.py",
"diff": "@@ -48,6 +48,7 @@ class FallbackSkill(MycroftSkill):\n utterance will not be see by any other Fallback handlers.\n \"\"\"\n fallback_handlers = {}\n+ wra... |
b7d709c3c86af4f58cc8a8f7bbd089f319a0718b | mycroftai/mycroft-core | 03.07.2020 08:29:12 | Apache License 2.0 | Add wait_for_message() method to messagebus client
- Refactor message waiting into a MessageWaiter class to be able to use the
same code in both wait_for_message and wait_for_response.
- Add some basic unittests | [
{
"change_type": "MODIFY",
"old_path": "mycroft/messagebus/client/__init__.py",
"new_path": "mycroft/messagebus/client/__init__.py",
"diff": "@@ -11,4 +11,4 @@\n # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n # See the License for the specific language governing permiss... |
bea1f008c6cd825274cc7fa0fc507f64ed740a0d | mycroftai/mycroft-core | 28.07.2020 07:48:50 | Apache License 2.0 | Add ProcessStatus class
ProcessStatus tracks the process status and allows callbacks on changes
and status queries over the messagebus.
StatusCallbackMap is used to setup the callbacks
ProcessState is an enum tracking the different states. | [
{
"change_type": "MODIFY",
"old_path": "mycroft/skills/__main__.py",
"new_path": "mycroft/skills/__main__.py",
"diff": "@@ -38,6 +38,7 @@ from mycroft.util import (\n )\n from mycroft.util.lang import set_active_lang\n from mycroft.util.log import LOG\n+from mycroft.util.process_utils import Process... |
0aae02115509a67b18f2a6cc9b691392a8d3fe3a | pyglet/pyglet | 26.03.2017 18:19:36 | BSD 3-Clause New or Revised License | Use pyglet.options['ffmpeg_libs_win'] to give the FFmpeg lib filenames.
This has to be used on Windows, as the dll names have a format like
avcode-57.dll, appending the version number at the end. | [
{
"change_type": "MODIFY",
"old_path": "pyglet/__init__.py",
"new_path": "pyglet/__init__.py",
"diff": "@@ -176,6 +176,16 @@ if getattr(sys, 'frozen', None):\n #:\n #: **Since:** pyglet 1.2\n #:\n+#: ffmpeg_libs_win\n+#: A tuple containing the FFmpeg dll filenames for Windows. As on this\n+... |
bb15b5af1f7af13c8deecadf7bef5a78b8fc366c | pyglet/pyglet | 04.09.2017 09:01:49 | BSD 3-Clause New or Revised License | Refactor FFmpegSource
Using 2 queues for video packets and audio packets. Whenever the
queues have space, more packets are read from the stream.
This work will allow to remove more easily the audio thread in
favor of a scheduled call to refill the audio player. | [
{
"change_type": "MODIFY",
"old_path": "pyglet/media/sources/ffmpeg.py",
"new_path": "pyglet/media/sources/ffmpeg.py",
"diff": "@@ -109,6 +109,15 @@ class VideoPacket(object):\n self.id = self._next_id\n self.__class__._next_id += 1\n \n+\n+class AudioPacket(object):\n+ def __init... |
fc45a383d14b85a54104e2bffe24035f2caa103c | pyglet/pyglet | 06.09.2017 19:13:10 | BSD 3-Clause New or Revised License | Remove thread in DirectSound
We use instead pyglet.clock.schedule_interval_soft to regularly
refill the DirectSound buffer with new audio data. | [
{
"change_type": "MODIFY",
"old_path": "pyglet/media/drivers/directsound/adaptation.py",
"new_path": "pyglet/media/drivers/directsound/adaptation.py",
"diff": "@@ -35,8 +35,8 @@ from __future__ import absolute_import, print_function\n \r\n import ctypes\r\n import math\r\n-import threading\r\n \r\n+... |
07d12a3cf97fa031831d2377695ed4c130fe5701 | pyglet/pyglet | 13.07.2018 10:13:56 | BSD 3-Clause New or Revised License | Fix Player when playing audio source with silent audio driver.
When there is no video but only audio in the Source and the audio driver is silent,
the Player was never finished playing. Now it dispatches correctly the "on_eos"
event after the duration. | [
{
"change_type": "MODIFY",
"old_path": "pyglet/media/player.py",
"new_path": "pyglet/media/player.py",
"diff": "@@ -184,7 +184,7 @@ class Player(pyglet.event.EventDispatcher):\n source = iter(source)\n except TypeError:\n raise TypeError(\"source must be e... |
75e4e08636d5dfe3cb8e6796ad116af01e2c0f4a | probcomp/bayeslite | 06.12.2017 19:36:49 | Apache License 2.0 | Change schema for population.
MODEL cols AS stattype has become SET STATTYPE OF cols TO st
Reasoning: The word MODEL is confusing here, we are setting the statistical
data type so we should name the command just that. | [
{
"change_type": "MODIFY",
"old_path": "src/backend.py",
"new_path": "src/backend.py",
"diff": "@@ -33,7 +33,7 @@ that for illustration::\n Then you can model a table and query the probable implications of the data in\n the table::\n \n- bdb.execute('create population p for t with schema(guess sta... |
ae51d04afc10433ae87c6172492bf4183e69e643 | probcomp/bayeslite | 05.03.2018 10:17:55 | Apache License 2.0 | Make loom process constraints for conditional mutual information.
Before, constraints (i.e. conditions were ignored) for mutual information
with loom. | [
{
"change_type": "MODIFY",
"old_path": "src/backends/loom_backend.py",
"new_path": "src/backends/loom_backend.py",
"diff": "@@ -31,6 +31,7 @@ from StringIO import StringIO\n from collections import Counter\n from collections import OrderedDict\n from datetime import datetime\n+import numpy as np\n \... |
07f29e770a1ef9f3b07a4809e9e7e81469438903 | sys-bio/tellurium | 01.12.2021 13:20:04 | Apache License 2.0 | Clear previously-loaded models in Antimony when getting a new one.
Repeated calls to 'loada' were causing steady increases in used memory because the Antimony library was storing every model. This clears them out each time, since a tellurium user doesn't care about retrieving old models.
Also clean up a couple of warnings. | [
{
"change_type": "MODIFY",
"old_path": "tellurium/tellurium.py",
"new_path": "tellurium/tellurium.py",
"diff": "@@ -12,7 +12,6 @@ model export, plotting or the Jarnac compatibility layer.\n \n from __future__ import print_function, division, absolute_import\n \n-import sys\n import os\n import rando... |
bb6072b6cb5ea2fa239357708c47e7d62cc8bae0 | sys-bio/tellurium | 01.07.2022 12:57:59 | Apache License 2.0 | Drop phrasedml and sbml2matlab requirement.
phrasedml and sbml2matlab don't exist for 3.10 yet, so we need to adjust code and fail gracefully when trying to import them. | [
{
"change_type": "MODIFY",
"old_path": "spyder_mod/Spyder 5.1.5/site-packages/spyder/config/main.py",
"new_path": "spyder_mod/Spyder 5.1.5/site-packages/spyder/config/main.py",
"diff": "@@ -147,7 +147,7 @@ DEFAULTS = [\n 'pylab/inline/width': 6,\n 'pylab/inline/height': 4... |
eb5e9b4d3efd933b73c87419b185a8a019ccc8be | peercoin/peercoin | 06.11.2020 15:34:41 | MIT License | Fix wallet_send.py wallet setup to work with descriptors
Fixes the wallet setup so this test works with descriptor wallets. Also
enabled explicit descriptor and legacy wallet testing in the test
runner. | [
{
"change_type": "MODIFY",
"old_path": "test/functional/test_runner.py",
"new_path": "test/functional/test_runner.py",
"diff": "@@ -252,7 +252,8 @@ BASE_SCRIPTS = [\n 'rpc_estimatefee.py',\n 'rpc_getblockstats.py',\n 'wallet_create_tx.py --legacy-wallet',\n- 'wallet_send.py',\n+ 'w... |
f692e8da1a75d3f3f938a21727514204725e52b8 | cocotb/cocotb | 12.01.2019 15:40:28 | BSD 3-Clause New or Revised License | Use context managers to handle profiling
This avoids needing to remember to disable the profiler by every return statement, and reads more cleanly than using a `try` / `finally` | [
{
"change_type": "MODIFY",
"old_path": "cocotb/scheduler.py",
"new_path": "cocotb/scheduler.py",
"diff": "@@ -71,6 +71,17 @@ from cocotb.triggers import (Trigger, GPITrigger, Timer, ReadOnly, PythonTrigger\n from cocotb.log import SimLog\n from cocotb.result import (TestComplete, TestError, ReturnVa... |
f61957b0ce7d0505126acb3ebf0ec1faa6184d52 | cocotb/cocotb | 21.04.2020 10:37:35 | BSD 3-Clause New or Revised License | Add ability to construct RegressionManager with test/hook list
Standard constructor that uses discovery has been moved to the
`from_discovery` class method. | [
{
"change_type": "MODIFY",
"old_path": "cocotb/__init__.py",
"new_path": "cocotb/__init__.py",
"diff": "@@ -176,7 +176,7 @@ def _initialise_testbench(root_name):\n \n # start Regression Manager\n global regression_manager\n- regression_manager = RegressionManager(dut)\n+ regression_man... |
3c35805c128d9ff6e1d987d4d1ace6f55734df6e | cocotb/cocotb | 09.04.2020 14:37:36 | BSD 3-Clause New or Revised License | Improve __repr__ for RunningTask objects.
Displays task name, status, and current coroutine.
If the task is pending on a trigger, displays the trigger.
If the task is finished, displays the outcome. | [
{
"change_type": "MODIFY",
"old_path": "cocotb/decorators.py",
"new_path": "cocotb/decorators.py",
"diff": "@@ -35,7 +35,7 @@ import os\n import cocotb\n from cocotb.log import SimLog\n from cocotb.result import ReturnValue\n-from cocotb.utils import get_sim_time, lazy_property, remove_traceback_fra... |
1be51548fdbd7e7655d8dfdbc5ae1589ff432194 | cocotb/cocotb | 06.01.2020 15:13:16 | BSD 3-Clause New or Revised License | Convert resolve() to str.translate().
New translation table class _ResolveTable provides resolve functionality
and improves performance.
This preserves current behavior of COCOTB_RESOLVE_X = RANDOM, where
all instances of the character are translated to the same value. | [
{
"change_type": "MODIFY",
"old_path": "cocotb/binary.py",
"new_path": "cocotb/binary.py",
"diff": "@@ -29,27 +29,61 @@\n \n import os\n import random\n+import re\n import warnings\n \n+\n+_RESOLVE_TO_0 = \"-lL\"\n+_RESOLVE_TO_1 = \"hH\"\n+_RESOLVE_TO_CHOICE = \"xXzZuUwW\"\n resolve_x_to =... |
15dc5aa37dfc240a400fd01584eb711a4802ae06 | appscale/gts | 04.01.2017 15:24:24 | Apache License 2.0 | Create separate set of constants for operations
This is to differentiate between transaction table values and
entity operations. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/cassandra_env/cassandra_interface.py",
"new_path": "AppDB/appscale/datastore/cassandra_env/cassandra_interface.py",
"diff": "@@ -19,6 +19,7 @@ from cassandra.query import ValueSequence\n from .. import dbconstants\n from .. import help... |
2cd36c45d30275f462fe22bf8e068e22f858f009 | appscale/gts | 17.02.2017 14:42:44 | Apache License 2.0 | Move shared static functions to utils
This allows other modules like the Celery worker to use them. | [
{
"change_type": "MODIFY",
"old_path": "AppTaskQueue/appscale/taskqueue/distributed_tq.py",
"new_path": "AppTaskQueue/appscale/taskqueue/distributed_tq.py",
"diff": "@@ -24,7 +24,9 @@ from task import Task\n from tq_config import TaskQueueConfig\n from .unpackaged import APPSCALE_LIB_DIR\n from .unp... |
a3814f96f5c9e27ddf3e00dc6ee4ee6401eea503 | appscale/gts | 06.07.2017 23:04:09 | Apache License 2.0 | Add MonitOperator
This uses Monit's XML API and groups closely-timed Monit reloads
together. | [
{
"change_type": "MODIFY",
"old_path": "common/appscale/common/constants.py",
"new_path": "common/appscale/common/constants.py",
"diff": "@@ -13,6 +13,15 @@ class HTTPCodes(object):\n INTERNAL_ERROR = 500\n NOT_IMPLEMENTED = 501\n \n+\n+class MonitStates(object):\n+ MISSING = 'missing'\n+ PEND... |
bceb7f05916e43611303c87a34c9062e275711ba | appscale/gts | 19.06.2017 21:10:25 | Apache License 2.0 | Allow DeploymentConfig to take a KazooClient
This makes it easier to reuse the KazooClient for other things. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/scripts/blobstore.py",
"new_path": "AppDB/appscale/datastore/scripts/blobstore.py",
"diff": "@@ -31,6 +31,7 @@ from appscale.common.constants import LOG_FORMAT\n from appscale.common.deployment_config import DeploymentConfig\n from app... |
f3c9734ee6177ae5897fdce63676d2f8886902d8 | appscale/gts | 19.07.2017 15:52:08 | Apache License 2.0 | Reduce unnecessary "exists" watches
This allows managers to stop watches if it's clear they are no
longer needed. | [
{
"change_type": "MODIFY",
"old_path": "AdminServer/appscale/admin/push_worker_manager.py",
"new_path": "AdminServer/appscale/admin/push_worker_manager.py",
"diff": "@@ -5,6 +5,7 @@ import json\n import os\n from datetime import timedelta\n \n+from kazoo.exceptions import ZookeeperError\n from torna... |
2f910152193af3ef69ce16e062832433c1bf75db | appscale/gts | 14.09.2017 17:00:07 | Apache License 2.0 | Implement the datastore_v4.AllocateIds API
This allows clients to ensure that a list of entity IDs are never
re-allocated. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/cassandra_env/entity_id_allocator.py",
"new_path": "AppDB/appscale/datastore/cassandra_env/entity_id_allocator.py",
"diff": "@@ -48,6 +48,10 @@ class EntityIDAllocator(object):\n else:\n self.max_allowed = _MAX_SEQUENTIAL_COU... |
7ed0b36c3d0414f87a82efdbdf615dec7c97b71e | appscale/gts | 06.11.2017 11:47:00 | Apache License 2.0 | Simplify datastore error handling
If an error code is defined, the response body does not need to be
specified. This prevents encoding issues in cases when a response
message has required fields. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/datastore_distributed.py",
"new_path": "AppDB/appscale/datastore/datastore_distributed.py",
"diff": "@@ -3327,30 +3327,27 @@ class DatastoreDistributed():\n Returns:\n An encoded protocol buffer commit response.\n \"\"\"\... |
15e95dc9e579e7123a4cb78d7347b8340f5fbc27 | appscale/gts | 07.11.2017 10:35:43 | Apache License 2.0 | Use the EntityLock in the groomer
The allows the groomer to make index modifications under a lock
without having to create transaction IDs. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/groomer.py",
"new_path": "AppDB/appscale/datastore/groomer.py",
"diff": "@@ -20,6 +20,7 @@ from .cassandra_env import cassandra_interface\n from .datastore_distributed import DatastoreDistributed\n from .utils import get_composite_inde... |
b08b928d2937caa7ea70ba57839c52316390d9df | appscale/gts | 22.11.2017 09:01:56 | Apache License 2.0 | Allow Python runtime to use an external API server
If given an external api port, the Python runtime will use it to
make App Identity calls. | [
{
"change_type": "MODIFY",
"old_path": "AppServer/google/appengine/ext/remote_api/remote_api_stub.py",
"new_path": "AppServer/google/appengine/ext/remote_api/remote_api_stub.py",
"diff": "@@ -592,7 +592,8 @@ def GetRemoteAppIdFromServer(server, path, remote_token=None):\n def ConfigureRemoteApiFromS... |
31ede29f649eb81eaaa8cb7665db020d7245de5c | appscale/gts | 27.02.2018 08:22:59 | Apache License 2.0 | Attach list of groups to transaction node
This allows the transaction groomer to track down which entity
groups might have an entity lock that needs to be cleared after
the transaction is resolved. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/datastore_distributed.py",
"new_path": "AppDB/appscale/datastore/datastore_distributed.py",
"diff": "@@ -560,6 +560,7 @@ class DatastoreDistributed():\n group_key = entity_pb.Reference(encoded_group_key)\n \n txid = self.tr... |
c3f16251ede94fb1a44d774edf6f805402e31894 | appscale/gts | 27.02.2018 08:27:57 | Apache License 2.0 | Allow group locks to persist when commits fail
This prevents other clients from writing to a group before a large
batch is fully applied. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/datastore_distributed.py",
"new_path": "AppDB/appscale/datastore/datastore_distributed.py",
"diff": "@@ -16,6 +16,7 @@ from kazoo.client import KazooState\n from .dbconstants import APP_ENTITY_SCHEMA\n from .dbconstants import ID_KEY_L... |
9006a0055f77afb3fb2eb29b7e9f9fff91888459 | appscale/gts | 27.05.2018 16:32:48 | Apache License 2.0 | Simplify rollback_transaction method
This moves the protobuffer-related work to the proper layer. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/datastore_distributed.py",
"new_path": "AppDB/appscale/datastore/datastore_distributed.py",
"diff": "@@ -5,7 +5,6 @@ import logging\n import md5\n import random\n import sys\n-import threading\n import time\n \n from tornado import gen... |
c6d4ab680da88e14ceafe6f7947f0cf858158f2d | appscale/gts | 31.07.2018 08:34:18 | Apache License 2.0 | Handle UpdateIndexes calls
This adds index definitions to a project's ZooKeeper node if they
aren't there yet. | [
{
"change_type": "MODIFY",
"old_path": "AdminServer/appscale/admin/__init__.py",
"new_path": "AdminServer/appscale/admin/__init__.py",
"diff": "@@ -39,6 +39,7 @@ from tornado.ioloop import IOLoop\n from . import utils\n from . import constants\n from .appengine_api import UpdateCronHandler\n+from .a... |
865405bd4981add596149b09f72bdf5599289057 | appscale/gts | 03.01.2019 18:30:43 | Apache License 2.0 | Improve speed of rebalance script
This removes the call to `nodetool ring`, which can get
unreasonably slow as the amount of data in a BOP cluster increases.
It also adds a couple flags that allow the `nodetool status` call
to be skipped if the user is already sure the sanity checks will
pass. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/cassandra_env/rebalance.py",
"new_path": "AppDB/appscale/datastore/cassandra_env/rebalance.py",
"diff": "@@ -1,4 +1,5 @@\n from __future__ import division\n+import argparse\n import logging\n import os\n \n@@ -17,28 +18,6 @@ MAX_DRIFT ... |
d78f837f3d0081832f70ab9483fd698ddbd919fb | appscale/gts | 12.01.2019 22:13:51 | Apache License 2.0 | Stop routing deleted versions
This ensures that deleted versions are absent from the HAProxy
configuration file when HAProxy is reloaded. | [
{
"change_type": "MODIFY",
"old_path": "AdminServer/appscale/admin/routing/haproxy.py",
"new_path": "AdminServer/appscale/admin/routing/haproxy.py",
"diff": "@@ -16,6 +16,11 @@ logger = logging.getLogger('appscale-admin')\n CONFIG_DIR = os.path.join('/', 'etc', 'haproxy')\n \n \n+class InvalidConfig... |
9a9d19a0b6e4be31a36ebb21a3e8cf0b4650bb6a | appscale/gts | 18.03.2019 13:16:07 | Apache License 2.0 | Move protobuffer handling to different level
Parsing the commit request and populating the response should
happen at the protobuffer interface level rather than in
DatastoreDistributed. | [
{
"change_type": "MODIFY",
"old_path": "AppDB/appscale/datastore/datastore_distributed.py",
"new_path": "AppDB/appscale/datastore/datastore_distributed.py",
"diff": "@@ -3137,38 +3137,6 @@ class DatastoreDistributed():\n IOLoop.current().spawn_callback(self.enqueue_transactional_tasks, app,\n ... |
6b41cdad4023a21c21dbb78f9bacfbfe5bcf9e8f | appscale/gts | 22.07.2019 19:31:05 | Apache License 2.0 | Add service account name field to backup form
This allows users to schedule a mapreduce-backed job with a
custom service account name for backing up to an arbitrary GCS
account. | [
{
"change_type": "MODIFY",
"old_path": "AppServer/google/appengine/ext/datastore_admin/backup_handler.py",
"new_path": "AppServer/google/appengine/ext/datastore_admin/backup_handler.py",
"diff": "@@ -675,7 +675,8 @@ def _perform_backup(run_as_a_service, kinds, selected_namespace,\n \n if not gcs... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.