<commit_before>//  Natron
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//
//  Created by <NAME> on 03/09/13.
//
//

#ifndef NATRON_GLOBAL_MACROS_H
#define NATRON_GLOBAL_MACROS_H

#ifdef __APPLE__
#define __NATRON_OSX__
#define __NATRON_UNIX__
#elif  defined(_WIN32)
#define __NATRON_WIN32__
#elif defined(__linux__) || defined(__linux) || defined(linux) || defined(__gnu_linux__) || defined(__FreeBSD__)
#define __NATRON_UNIX__
#define __NATRON_LINUX__
#endif

#define NATRON_ORGANIZATION_NAME "INRIA"
#define NATRON_ORGANIZATION_DOMAIN_TOPLEVEL "fr"
#define NATRON_ORGANIZATION_DOMAIN_SUB "inria"
#define NATRON_ORGANIZATION_DOMAIN NATRON_ORGANIZATION_DOMAIN_SUB "." NATRON_ORGANIZATION_DOMAIN_TOPLEVEL
#define NATRON_APPLICATION_NAME "Natron"
#define NATRON_PROJECT_FILE_EXT "ntp"
#define NATRON_PROJECT_UNTITLED "Untitled." NATRON_PROJECT_FILE_EXT
#define NATRON_CACHE_FILE_EXT "ntc"
#define NATRON_LAYOUT_FILE_EXT "nl"
#define NATRON_PRESETS_FILE_EXT "nps"
#define NATRON_PROJECT_ENV_VAR_NAME "Project"
#define NATRON_OCIO_ENV_VAR_NAME "OCIO"
#define NATRON_DEFAULT_OCIO_CONFIG_NAME "blender"
#define NATRON_ENV_VAR_NAME_START_TAG "<Name>"
#define NATRON_ENV_VAR_NAME_END_TAG "</Name>"
#define NATRON_ENV_VAR_VALUE_START_TAG "<Value>"
#define NATRON_ENV_VAR_VALUE_END_TAG "</Value>"
#define NATRON_PROJECT_ENV_VAR_MAX_RECURSION 100
#define NATRON_MAX_CACHE_FILES_OPENED 20000
#define NATRON_CUSTOM_HTML_TAG_START "<" NATRON_APPLICATION_NAME ">"
#define NATRON_CUSTOM_HTML_TAG_END "</" NATRON_APPLICATION_NAME ">"
#define NATRON_VERSION_MAJOR 1
#define NATRON_VERSION_MINOR 0
#define NATRON_VERSION_REVISION 0

///For example RC 1, RC 2 etc...
#define NATRON_BUILD_NUMBER 2

///If set the version of Natron will no longer be displayed in the splashscreen but the name of the user
#define NATRON_CUSTOM_BUILD_USER_NAME ""

#define NATRON_VERSION_ENCODE(major,minor,revision) ( \
        ( (major) * 10000 ) \
        + ( (minor) * 100 )  \
        + ( (revision) * 1 ) )

#define NATRON_VERSION_ENCODED NATRON_VERSION_ENCODE( \
        NATRON_VERSION_MAJOR, \
        NATRON_VERSION_MINOR, \
        NATRON_VERSION_REVISION)

#define NATRON_VERSION_STRINGIZE_(major,minor,revision) \
    # major "." # minor "." # revision

#define NATRON_VERSION_STRINGIZE(major,minor,revision) \
    NATRON_VERSION_STRINGIZE_(major,minor,revision)

#define NATRON_VERSION_STRING NATRON_VERSION_STRINGIZE( \
        NATRON_VERSION_MAJOR, \
        NATRON_VERSION_MINOR, \<commit_msg>Flag for RC3<commit_after>//  Natron
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
//
//  Created by <NAME> on 03/09/13.
//
//

#ifndef NATRON_GLOBAL_MACROS_H
#define NATRON_GLOBAL_MACROS_H

#ifdef __APPLE__
#define __NATRON_OSX__
#define __NATRON_UNIX__
#elif  defined(_WIN32)
#define __NATRON_WIN32__
#elif defined(__linux__) || defined(__linux) || defined(linux) || defined(__gnu_linux__) || defined(__FreeBSD__)
#define __NATRON_UNIX__
#define __NATRON_LINUX__
#endif

#define NATRON_ORGANIZATION_NAME "INRIA"
#define NATRON_ORGANIZATION_DOMAIN_TOPLEVEL "fr"
#define NATRON_ORGANIZATION_DOMAIN_SUB "inria"
#define NATRON_ORGANIZATION_DOMAIN NATRON_ORGANIZATION_DOMAIN_SUB "." NATRON_ORGANIZATION_DOMAIN_TOPLEVEL
#define NATRON_APPLICATION_NAME "Natron"
#define NATRON_PROJECT_FILE_EXT "ntp"
#define NATRON_PROJECT_UNTITLED "Untitled." NATRON_PROJECT_FILE_EXT
#define NATRON_CACHE_FILE_EXT "ntc"
#define NATRON_LAYOUT_FILE_EXT "nl"
#define NATRON_PRESETS_FILE_EXT "nps"
#define NATRON_PROJECT_ENV_VAR_NAME "Project"
#define NATRON_OCIO_ENV_VAR_NAME "OCIO"
#define NATRON_DEFAULT_OCIO_CONFIG_NAME "blender"
#define NATRON_ENV_VAR_NAME_START_TAG "<Name>"
#define NATRON_ENV_VAR_NAME_END_TAG "</Name>"
#define NATRON_ENV_VAR_VALUE_START_TAG "<Value>"
#define NATRON_ENV_VAR_VALUE_END_TAG "</Value>"
#define NATRON_PROJECT_ENV_VAR_MAX_RECURSION 100
#define NATRON_MAX_CACHE_FILES_OPENED 20000
#define NATRON_CUSTOM_HTML_TAG_START "<" NATRON_APPLICATION_NAME ">"
#define NATRON_CUSTOM_HTML_TAG_END "</" NATRON_APPLICATION_NAME ">"
#define NATRON_VERSION_MAJOR 1
#define NATRON_VERSION_MINOR 0
#define NATRON_VERSION_REVISION 0

///For example RC 1, RC 2 etc...
#define NATRON_BUILD_NUMBER 3

///If set the version of Natron will no longer be displayed in the splashscreen but the name of the user
#define NATRON_CUSTOM_BUILD_USER_NAME ""

#define NATRON_VERSION_ENCODE(major,minor,revision) ( \
        ( (major) * 10000 ) \
        + ( (minor) * 100 )  \
        + ( (revision) * 1 ) )

#define NATRON_VERSION_ENCODED NATRON_VERSION_ENCODE( \
        NATRON_VERSION_MAJOR, \
        NATRON_VERSION_MINOR, \
        NATRON_VERSION_REVISION)

#define NATRON_VERSION_STRINGIZE_(major,minor,revision) \
    # major "." # minor "." # revision

#define NATRON_VERSION_STRINGIZE(major,minor,revision) \
    NATRON_VERSION_STRINGIZE_(major,minor,revision)

#define NATRON_VERSION_STRING NATRON_VERSION_STRINGIZE( \
        NATRON_VERSION_MAJOR, \
        NATRON_VERSION_MINOR, \
{'fraction_non_alphanumeric': 0.08864371314437892, 'fraction_numerical': 0.01426669202967472, 'mean_word_length': 5.784516129032258, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2304921', 'n_tokens_mistral': 2122, 'n_tokens_neox': 1900, 'n_words': 400}