id int64 0 755k | file_name stringlengths 3 109 | file_path stringlengths 13 185 | content stringlengths 31 9.38M | size int64 31 9.38M | language stringclasses 1
value | extension stringclasses 11
values | total_lines int64 1 340k | avg_line_length float64 2.18 149k | max_line_length int64 7 2.22M | alphanum_fraction float64 0 1 | repo_name stringlengths 6 65 | repo_stars int64 100 47.3k | repo_forks int64 0 12k | repo_open_issues int64 0 3.4k | repo_license stringclasses 9
values | repo_extraction_date stringclasses 92
values | exact_duplicates_redpajama bool 2
classes | near_duplicates_redpajama bool 2
classes | exact_duplicates_githubcode bool 2
classes | exact_duplicates_stackv2 bool 1
class | exact_duplicates_stackv1 bool 2
classes | near_duplicates_githubcode bool 2
classes | near_duplicates_stackv1 bool 2
classes | near_duplicates_stackv2 bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
42,369 | mask.cpp | LibreSprite_LibreSprite/src/doc/mask.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/mask.h"
#include "base/base.h"
#include "base/memory.h"
#include "doc/image_imp... | 11,108 | C++ | .cpp | 356 | 26.351124 | 103 | 0.510216 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,370 | image_io.cpp | LibreSprite_LibreSprite/src/doc/image_io.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/image_io.h"
#include "base/base.h"
#include "base/exception.h"
#include "base/s... | 5,487 | C++ | .cpp | 152 | 30.796053 | 100 | 0.623254 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,371 | blend_funcs.cpp | LibreSprite_LibreSprite/src/doc/blend_funcs.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
//
// --
//
// Some references about alpha compositing and blend modes:
//
// http://dev.w3.org/fxtf/compositing-1/
// http://www.adobe.com/... | 20,401 | C++ | .cpp | 604 | 30.801325 | 85 | 0.631517 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,372 | anidir.cpp | LibreSprite_LibreSprite/src/doc/anidir.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/anidir.h"
namespace doc {
std::string convert_to_string(AniDir anidir)
{
swi... | 509 | C++ | .cpp | 20 | 23.3 | 60 | 0.729339 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,373 | string_io.cpp | LibreSprite_LibreSprite/src/doc/string_io.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/string_io.h"
#include "base/serialization.h"
#include <vector>
#include <iostr... | 840 | C++ | .cpp | 34 | 22.470588 | 60 | 0.703518 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,374 | mask_io.cpp | LibreSprite_LibreSprite/src/doc/mask_io.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/mask_io.h"
#include "base/serialization.h"
#include "doc/mask.h"
#include <ios... | 1,707 | C++ | .cpp | 52 | 30.307692 | 67 | 0.601343 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,375 | remap.cpp | LibreSprite_LibreSprite/src/doc/remap.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/remap.h"
#include "base/base.h"
#include "doc/palette.h"
#include "doc/palette_... | 3,669 | C++ | .cpp | 144 | 21.131944 | 76 | 0.618598 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,376 | context_tests.cpp | LibreSprite_LibreSprite/src/doc/context_tests.cpp | // Aseprite Document Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtest/gtest.h>
#include "doc/context.h"
#include "doc/document.h"
using namespace ... | 2,027 | C++ | .cpp | 74 | 24.851351 | 75 | 0.690316 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,377 | image_impl.cpp | LibreSprite_LibreSprite/src/doc/image_impl.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/image_impl.h"
#include "doc/image_iterator.h"
#include "doc/image_traits.h"
na... | 958 | C++ | .cpp | 31 | 27.741935 | 89 | 0.667756 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,378 | frame_tags.cpp | LibreSprite_LibreSprite/src/doc/frame_tags.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/frame_tags.h"
#include "base/debug.h"
#include "doc/frame_tag.h"
#include <alg... | 2,063 | C++ | .cpp | 87 | 20.402299 | 90 | 0.626211 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,379 | rgbmap.cpp | LibreSprite_LibreSprite/src/doc/rgbmap.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/rgbmap.h"
#include "doc/color_scales.h"
#include "doc/palette.h"
namespace doc... | 1,288 | C++ | .cpp | 49 | 23.836735 | 66 | 0.707655 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,380 | blend_mode.cpp | LibreSprite_LibreSprite/src/doc/blend_mode.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/blend_mode.h"
namespace doc {
std::string blend_mode_to_string(BlendMode blend... | 1,224 | C++ | .cpp | 33 | 33.757576 | 60 | 0.729342 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,381 | sort_palette.cpp | LibreSprite_LibreSprite/src/doc/sort_palette.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/sort_palette.h"
#include "doc/image.h"
#include "doc/palette.h"
#include "doc/r... | 3,432 | C++ | .cpp | 112 | 23.741071 | 91 | 0.598602 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,382 | image.cpp | LibreSprite_LibreSprite/src/doc/image.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/image.h"
#include "doc/algo.h"
#include "doc/brush.h"
#include "doc/image_impl.... | 1,656 | C++ | .cpp | 59 | 25.728814 | 87 | 0.73123 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,383 | cel_data_io.cpp | LibreSprite_LibreSprite/src/doc/cel_data_io.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/cel_data_io.h"
#include "base/serialization.h"
#include "doc/cel_data.h"
#inclu... | 1,393 | C++ | .cpp | 47 | 27.382979 | 77 | 0.730337 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,384 | layer_index.cpp | LibreSprite_LibreSprite/src/doc/layer_index.cpp | // Aseprite Document Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/layer_index.h"
namespace doc {
const LayerIndex LayerIndex::NoLayer(-1);
} //... | 335 | C++ | .cpp | 12 | 26.5 | 60 | 0.767296 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,385 | compressed_image.cpp | LibreSprite_LibreSprite/src/doc/compressed_image.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/compressed_image.h"
#include "doc/primitives.h"
namespace doc {
void Compress... | 1,025 | C++ | .cpp | 38 | 21.789474 | 65 | 0.586066 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,386 | cel_data.cpp | LibreSprite_LibreSprite/src/doc/cel_data.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/cel_data.h"
#include "gfx/rect.h"
#include "doc/image.h"
#include "doc/layer.h"... | 799 | C++ | .cpp | 34 | 21.647059 | 60 | 0.736772 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,387 | context.cpp | LibreSprite_LibreSprite/src/doc/context.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/context.h"
#include "base/debug.h"
#include "doc/site.h"
namespace doc {
Cont... | 1,036 | C++ | .cpp | 52 | 18.096154 | 75 | 0.751802 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,388 | user_data_io.cpp | LibreSprite_LibreSprite/src/doc/user_data_io.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/user_data_io.h"
#include "base/serialization.h"
#include "doc/string_io.h"
#inc... | 771 | C++ | .cpp | 29 | 24.862069 | 64 | 0.765348 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,389 | primitives.cpp | LibreSprite_LibreSprite/src/doc/primitives.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/primitives.h"
#include "doc/algo.h"
#include "doc/brush.h"
#include "doc/image_... | 7,964 | C++ | .cpp | 276 | 25.34058 | 107 | 0.598923 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,390 | site.cpp | LibreSprite_LibreSprite/src/doc/site.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/site.h"
#include "base/base.h"
#include "doc/cel.h"
#include "doc/layer.h"
#inc... | 1,352 | C++ | .cpp | 60 | 19.9 | 60 | 0.661189 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,391 | documents.cpp | LibreSprite_LibreSprite/src/doc/documents.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/documents.h"
#include "base/mutex.h"
#include "base/path.h"
#include "doc/docum... | 2,577 | C++ | .cpp | 101 | 22.841584 | 90 | 0.679723 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,392 | remap_tests.cpp | LibreSprite_LibreSprite/src/doc/remap_tests.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtest/gtest.h>
#include "doc/remap.h"
#include "doc/palette.h"
#include "doc/palett... | 5,132 | C++ | .cpp | 182 | 25.32967 | 63 | 0.628106 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,393 | cel.cpp | LibreSprite_LibreSprite/src/doc/cel.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/cel.h"
#include "gfx/rect.h"
#include "doc/image.h"
#include "doc/layer.h"
#inc... | 2,875 | C++ | .cpp | 127 | 20.070866 | 96 | 0.66581 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,394 | brush.cpp | LibreSprite_LibreSprite/src/doc/brush.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/brush.h"
#include "base/pi.h"
#include "doc/algo.h"
#include "doc/algorithm/pol... | 8,261 | C++ | .cpp | 302 | 22.81457 | 83 | 0.604804 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,395 | layers_range.cpp | LibreSprite_LibreSprite/src/doc/layers_range.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/layers_range.h"
#include "doc/cel.h"
#include "doc/layer.h"
#include "doc/sprit... | 1,036 | C++ | .cpp | 45 | 19.622222 | 66 | 0.667347 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,396 | resize_image_tests.cpp | LibreSprite_LibreSprite/src/doc/resize_image_tests.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtest/gtest.h>
#include "doc/algorithm/resize_image.h"
#include "doc/color.h"
#incl... | 3,937 | C++ | .cpp | 83 | 45.204819 | 96 | 0.753128 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,397 | brush_type.cpp | LibreSprite_LibreSprite/src/doc/brush_type.cpp | // Aseprite Document Library
// Copyright (c) 2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/brush_type.h"
namespace doc {
std::string brush_type_to_string_id(BrushType brushTy... | 830 | C++ | .cpp | 29 | 26.310345 | 60 | 0.734591 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,398 | layer_io.cpp | LibreSprite_LibreSprite/src/doc/layer_io.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/layer_io.h"
#include "base/serialization.h"
#include "doc/cel.h"
#include "doc/... | 4,604 | C++ | .cpp | 147 | 25.721088 | 86 | 0.611451 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,399 | image_tests.cpp | LibreSprite_LibreSprite/src/doc/image_tests.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <gtest/gtest.h>
#include "doc/image_impl.h"
#include "doc/primitives.h"
#include <m... | 5,754 | C++ | .cpp | 181 | 26.624309 | 100 | 0.591756 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,400 | images_collector.cpp | LibreSprite_LibreSprite/src/doc/images_collector.cpp | // Aseprite Document Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/cel.h"
#include "doc/image.h"
#include "doc/images_collector.h"
#include "doc/la... | 1,692 | C++ | .cpp | 59 | 23.033898 | 75 | 0.627318 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,401 | algo.cpp | LibreSprite_LibreSprite/src/doc/algo.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <math.h>
#include "base/base.h"
#include "doc/algo.h"
namespace doc {
// Algoright... | 18,087 | C++ | .cpp | 598 | 24.396321 | 85 | 0.394711 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,402 | handle_anidir.cpp | LibreSprite_LibreSprite/src/doc/handle_anidir.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/handle_anidir.h"
#include "base/base.h"
#include "doc/frame.h"
#include "doc/fr... | 2,077 | C++ | .cpp | 82 | 19.341463 | 60 | 0.592817 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,403 | mask_boundaries.cpp | LibreSprite_LibreSprite/src/doc/mask_boundaries.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/mask_boundaries.h"
#include "doc/image_impl.h"
namespace doc {
MaskBoundaries... | 7,431 | C++ | .cpp | 319 | 13.15674 | 83 | 0.325014 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,404 | gpl_file.cpp | LibreSprite_LibreSprite/src/doc/file/gpl_file.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/fstream_path.h"
#include "base/split_string.h"
#include "base/trim_string.h"
#i... | 1,940 | C++ | .cpp | 69 | 24.84058 | 86 | 0.633909 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,405 | col_file.cpp | LibreSprite_LibreSprite/src/doc/file/col_file.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/base.h"
#include "base/cfile.h"
#include "base/clamp.h"
#include "doc/color_sca... | 2,837 | C++ | .cpp | 102 | 23.088235 | 79 | 0.570638 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,406 | pal_file.cpp | LibreSprite_LibreSprite/src/doc/file/pal_file.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/fstream_path.h"
#include "base/split_string.h"
#include "base/trim_string.h"
#i... | 1,903 | C++ | .cpp | 73 | 22.958904 | 61 | 0.648455 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,407 | shrink_bounds.cpp | LibreSprite_LibreSprite/src/doc/algorithm/shrink_bounds.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/algorithm/shrink_bounds.h"
#include "doc/image.h"
#include "doc/image_impl.h"
#... | 5,804 | C++ | .cpp | 209 | 22.980861 | 95 | 0.614984 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,408 | polygon.cpp | LibreSprite_LibreSprite/src/doc/algorithm/polygon.cpp | // Aseprite Document Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
//
// TODO rewrite this algorithm from scratch
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/algorithm/polygon.h"
#include "g... | 3,649 | C++ | .cpp | 125 | 23.92 | 101 | 0.540086 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,409 | floodfill.cpp | LibreSprite_LibreSprite/src/doc/algorithm/floodfill.cpp | // The floodfill routine.
// By Shawn Hargreaves.
//
// Changes by David Capello:
// - Adapted to Aseprite
// - Added non-contiguous mode
// - Added mask parameter
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
//
// TODO rewrite this algorithm from scratch
#i... | 11,541 | C++ | .cpp | 351 | 26.641026 | 128 | 0.5672 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,410 | rotsprite.cpp | LibreSprite_LibreSprite/src/doc/algorithm/rotsprite.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "base/base.h"
#include "doc/algorithm/rotate.h"
#include "doc/image_impl.h"
#include ... | 7,399 | C++ | .cpp | 194 | 33.762887 | 118 | 0.599972 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,411 | rotate.cpp | LibreSprite_LibreSprite/src/doc/algorithm/rotate.cpp | // Most code come from original Allegro rotation code:
// By Shawn Hargreaves.
// Flipping routines by Andrew Geers.
// Optimized by Sven Sandberg.
// To C++ templates by David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#includ... | 27,919 | C++ | .cpp | 756 | 30.69709 | 108 | 0.592838 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,412 | flip_image.cpp | LibreSprite_LibreSprite/src/doc/algorithm/flip_image.cpp | // Aseprite Document Library
// Copyright (c) 2001-2014 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/algorithm/flip_image.h"
#include "gfx/rect.h"
#include "doc/image.h"
#include "... | 2,821 | C++ | .cpp | 85 | 26.752941 | 91 | 0.578734 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,413 | shift_image.cpp | LibreSprite_LibreSprite/src/doc/algorithm/shift_image.cpp | // Aseprite Document Library
// Copyright (c) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/algorithm/shift_image.h"
#include "gfx/rect.h"
#include "doc/image.h"
#include ... | 1,207 | C++ | .cpp | 40 | 26.05 | 74 | 0.633535 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,414 | resize_image.cpp | LibreSprite_LibreSprite/src/doc/algorithm/resize_image.cpp | // Aseprite Document Library
// Copyright (c) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/algorithm/resize_image.h"
#include "doc/algorithm/rotsprite.h"
#include "doc/im... | 8,109 | C++ | .cpp | 219 | 26.872146 | 129 | 0.498918 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,415 | log.cpp | LibreSprite_LibreSprite/src/app/log.cpp | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | Copyright (C) 2018-2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 966 | C++ | .cpp | 31 | 29.064516 | 71 | 0.75027 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,416 | job.cpp | LibreSprite_LibreSprite/src/app/job.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/job.h"
#inc... | 2,730 | C++ | .cpp | 116 | 20.275862 | 75 | 0.650309 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,417 | document_range_tests.cpp | LibreSprite_LibreSprite/src/app/document_range_tests.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "tests/test.h"
#include "app/context.h"
#include "app/document.h"... | 25,130 | C++ | .cpp | 700 | 31.532857 | 124 | 0.66329 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,418 | app_brushes.cpp | LibreSprite_LibreSprite/src/app/app_brushes.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app_brushes.... | 13,401 | C++ | .cpp | 416 | 26.980769 | 96 | 0.632288 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,419 | document_range.cpp | LibreSprite_LibreSprite/src/app/document_range.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/document_ran... | 2,724 | C++ | .cpp | 106 | 22.962264 | 85 | 0.707308 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,420 | recent_files_menu.cpp | LibreSprite_LibreSprite/src/app/recent_files_menu.cpp | // LibreSprite
// Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "recent_files_menu.h"
#include "app.h"
#include "app_menus... | 1,968 | C++ | .cpp | 57 | 29.403509 | 95 | 0.665789 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,421 | modules.cpp | LibreSprite_LibreSprite/src/app/modules.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/modules.h"
... | 1,522 | C++ | .cpp | 51 | 26.333333 | 72 | 0.654084 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,422 | resource_finder.cpp | LibreSprite_LibreSprite/src/app/resource_finder.cpp | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | Copyright (C) 2018-2022 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 5,917 | C++ | .cpp | 200 | 26.3 | 121 | 0.682629 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,423 | document.cpp | LibreSprite_LibreSprite/src/app/document.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/document.h"
... | 14,728 | C++ | .cpp | 445 | 28.750562 | 102 | 0.65271 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,424 | widget_loader.cpp | LibreSprite_LibreSprite/src/app/widget_loader.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/widget_loade... | 20,929 | C++ | .cpp | 612 | 28.830065 | 137 | 0.619198 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,425 | app.cpp | LibreSprite_LibreSprite/src/app/app.cpp | // Aseprite - Copyright (C) 2001-2016 David Capello
// LibreSprite - Copyright (C) 2018-2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 27,016 | C++ | .cpp | 762 | 27.849081 | 109 | 0.601569 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,426 | context_flags.cpp | LibreSprite_LibreSprite/src/app/context_flags.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/context_flag... | 2,367 | C++ | .cpp | 82 | 24.780488 | 71 | 0.684234 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,427 | extra_cel.cpp | LibreSprite_LibreSprite/src/app/extra_cel.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/extra_cel.h"... | 1,383 | C++ | .cpp | 43 | 25.767442 | 71 | 0.609774 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,428 | transformation.cpp | LibreSprite_LibreSprite/src/app/transformation.cpp | // Aseprite Gfx Library
// Copyright (C) 2001-2016 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/transformation.h"
#include "fixmath/fixmath.h"
#include "gfx/size.h"
#include <cmat... | 2,474 | C++ | .cpp | 84 | 26.547619 | 79 | 0.708861 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,429 | color.cpp | LibreSprite_LibreSprite/src/app/color.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/color.h"
#i... | 14,975 | C++ | .cpp | 541 | 20.471349 | 106 | 0.526573 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,430 | xml_document.cpp | LibreSprite_LibreSprite/src/app/xml_document.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <exception>
#incl... | 1,329 | C++ | .cpp | 41 | 30.146341 | 78 | 0.724138 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,431 | file_system.cpp | LibreSprite_LibreSprite/src/app/file_system.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
/* Some of the original code to handle PIDLs come from the
MiniExplorer ... | 24,654 | C++ | .cpp | 786 | 26.374046 | 114 | 0.636106 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,432 | console.cpp | LibreSprite_LibreSprite/src/app/console.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdarg.h>
#inclu... | 3,737 | C++ | .cpp | 127 | 26.149606 | 124 | 0.669181 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,433 | ini_file_tests.cpp | LibreSprite_LibreSprite/src/app/ini_file_tests.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "tests/test.h"
#include "app/ini_file.h"
#include "base/fs.h"
us... | 1,391 | C++ | .cpp | 41 | 31.365854 | 71 | 0.632287 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,434 | send_crash.cpp | LibreSprite_LibreSprite/src/app/send_crash.cpp | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 2,280 | C++ | .cpp | 83 | 24.843373 | 87 | 0.710744 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,435 | cmd_transaction.cpp | LibreSprite_LibreSprite/src/app/cmd_transaction.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/cmd_transact... | 1,454 | C++ | .cpp | 55 | 24.309091 | 71 | 0.757773 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,436 | color_utils.cpp | LibreSprite_LibreSprite/src/app/color_utils.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/color.h"
#in... | 4,153 | C++ | .cpp | 139 | 24.654676 | 104 | 0.619513 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,437 | document_api.cpp | LibreSprite_LibreSprite/src/app/document_api.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/document_api... | 15,816 | C++ | .cpp | 461 | 30.249458 | 103 | 0.692348 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,438 | app_render.cpp | LibreSprite_LibreSprite/src/app/app_render.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app_render.h... | 1,616 | C++ | .cpp | 54 | 26.407407 | 81 | 0.70232 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,439 | thumbnail_generator.cpp | LibreSprite_LibreSprite/src/app/thumbnail_generator.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/thumbnail_ge... | 6,133 | C++ | .cpp | 193 | 26.761658 | 110 | 0.647637 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,440 | transaction.cpp | LibreSprite_LibreSprite/src/app/transaction.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/transaction.... | 1,735 | C++ | .cpp | 76 | 20.052632 | 91 | 0.68514 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,441 | snap_to_grid.cpp | LibreSprite_LibreSprite/src/app/snap_to_grid.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/snap_to_grid... | 1,255 | C++ | .cpp | 39 | 27.487179 | 76 | 0.630616 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,442 | context.cpp | LibreSprite_LibreSprite/src/app/context.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/context.h"
... | 3,055 | C++ | .cpp | 97 | 27.525773 | 88 | 0.677232 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,443 | flatten.cpp | LibreSprite_LibreSprite/src/app/flatten.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "doc/cel.h"
#incl... | 2,212 | C++ | .cpp | 64 | 29.53125 | 92 | 0.664004 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,444 | errno_tests.cpp | LibreSprite_LibreSprite/src/app/errno_tests.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "tests/test.h"
#include <errno.h>
#include "base/thread.h"
stati... | 660 | C++ | .cpp | 25 | 24.36 | 71 | 0.718601 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,445 | cmd.cpp | LibreSprite_LibreSprite/src/app/cmd.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/cmd.h"
#inc... | 1,616 | C++ | .cpp | 89 | 16.258427 | 71 | 0.690207 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,446 | color_tests.cpp | LibreSprite_LibreSprite/src/app/color_tests.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "tests/test.h"
#include "app/color.h"
using namespace app;
name... | 1,350 | C++ | .cpp | 38 | 33.421053 | 81 | 0.6851 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,447 | loop_tag.cpp | LibreSprite_LibreSprite/src/app/loop_tag.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/loop_tag.h"
... | 1,027 | C++ | .cpp | 36 | 26.361111 | 79 | 0.714577 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,448 | app_options.cpp | LibreSprite_LibreSprite/src/app/app_options.cpp | // Aseprite - Copyright (C) 2001-2016 David Capello
// LibreSprite - Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 5,550 | C++ | .cpp | 101 | 51.524752 | 171 | 0.69654 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,449 | shade.cpp | LibreSprite_LibreSprite/src/app/shade.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/shade.h"
#i... | 872 | C++ | .cpp | 34 | 23.205882 | 71 | 0.694344 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,450 | gui_xml.cpp | LibreSprite_LibreSprite/src/app/gui_xml.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/gui_xml.h"
... | 1,254 | C++ | .cpp | 45 | 25.511111 | 77 | 0.713689 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,451 | filename_formatter.cpp | LibreSprite_LibreSprite/src/app/filename_formatter.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/filename_for... | 3,143 | C++ | .cpp | 99 | 27.565657 | 93 | 0.641653 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,452 | project.cpp | LibreSprite_LibreSprite/src/app/project.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/project.h"
... | 405 | C++ | .cpp | 18 | 21.166667 | 71 | 0.755906 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,453 | file_selector.cpp | LibreSprite_LibreSprite/src/app/file_selector.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/file_selecto... | 1,611 | C++ | .cpp | 51 | 27.588235 | 71 | 0.687783 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,454 | shell.cpp | LibreSprite_LibreSprite/src/app/shell.cpp | // Aseprite - Copyright (C) 2001-2016 David Capello
// LibreSprite - Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 784 | C++ | .cpp | 30 | 24.366667 | 85 | 0.718121 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,455 | document_range_ops.cpp | LibreSprite_LibreSprite/src/app/document_range_ops.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/document_ran... | 14,079 | C++ | .cpp | 359 | 28.415042 | 117 | 0.557969 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,456 | recent_files.cpp | LibreSprite_LibreSprite/src/app/recent_files.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/recent_files... | 2,392 | C++ | .cpp | 85 | 25.188235 | 71 | 0.674551 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,457 | filename_formatter_tests.cpp | LibreSprite_LibreSprite/src/app/filename_formatter_tests.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "tests/test.h"
#include "app/filename_formatter.h"
#include "bas... | 4,848 | C++ | .cpp | 158 | 25.873418 | 85 | 0.627253 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,458 | ini_file.cpp | LibreSprite_LibreSprite/src/app/ini_file.cpp | // Aseprite | Copyright (C) 2001-2016 David Capello
// LibreSprite | Copyright (C) 2018 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef... | 5,167 | C++ | .cpp | 167 | 28.652695 | 92 | 0.700343 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,459 | ui_context.cpp | LibreSprite_LibreSprite/src/app/ui_context.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/app.h"
#incl... | 6,100 | C++ | .cpp | 193 | 28.42487 | 83 | 0.713993 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,460 | document_exporter.cpp | LibreSprite_LibreSprite/src/app/document_exporter.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
// LibreSprite
// Copyright (C) 2021-2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef ... | 26,568 | C++ | .cpp | 779 | 27.947368 | 113 | 0.603141 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,461 | color_picker.cpp | LibreSprite_LibreSprite/src/app/color_picker.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/color_picker... | 2,417 | C++ | .cpp | 72 | 29.597222 | 82 | 0.650494 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,462 | app_menus.cpp | LibreSprite_LibreSprite/src/app/app_menus.cpp | // Aseprite
// Copyright (C) 2001-2016 David Capello
// Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#inclu... | 7,686 | C++ | .cpp | 225 | 30.017778 | 113 | 0.681431 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
42,463 | launcher.cpp | LibreSprite_LibreSprite/src/app/launcher.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/launcher.h"
... | 871 | C++ | .cpp | 31 | 26.387097 | 78 | 0.721154 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,464 | document_undo.cpp | LibreSprite_LibreSprite/src/app/document_undo.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/document_und... | 3,403 | C++ | .cpp | 137 | 22.518248 | 71 | 0.744366 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,465 | document_api_tests.cpp | LibreSprite_LibreSprite/src/app/document_api_tests.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#include "tests/test.h"
#include "app/context.h"
#include "app/document.h"... | 1,888 | C++ | .cpp | 53 | 32.962264 | 84 | 0.697968 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,466 | cmd_sequence.cpp | LibreSprite_LibreSprite/src/app/cmd_sequence.cpp | // Aseprite
// Copyright (C) 2001-2015 David Capello
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include "app/cmd_sequence... | 1,171 | C++ | .cpp | 51 | 20.901961 | 71 | 0.672694 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | true | false | false | true | false | false |
42,467 | she_format.cpp | LibreSprite_LibreSprite/src/app/file/she_format.cpp | // LibreSprite | Copyright (C) 2023 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
#include "doc/color.h"
#ifdef HAVE_CONFIG_H
#include "confi... | 1,861 | C++ | .cpp | 60 | 27.75 | 108 | 0.674679 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | false | false | false |
42,468 | pixly_format.cpp | LibreSprite_LibreSprite/src/app/file/pixly_format.cpp | // Aseprite | Copyright (C) 2016 Carlo "zED" Caputo
// LibreSprite | Copyright (C) 2021 LibreSprite contributors
//
// This program is free software; you can redistribute it and/or modify
// it under the terms of the GNU General Public License version 2 as
// published by the Free Software Foundation.
//
// Based ... | 11,145 | C++ | .cpp | 283 | 33.399293 | 111 | 0.624757 | LibreSprite/LibreSprite | 4,823 | 282 | 41 | GPL-2.0 | 9/20/2024, 9:26:25 PM (Europe/Amsterdam) | false | false | false | false | false | true | false | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.