@plone/volto 14.0.0 → 14.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +40 -0
- package/locales/ca/LC_MESSAGES/volto.po +12 -2
- package/locales/ca.json +1 -1
- package/locales/de/LC_MESSAGES/volto.po +12 -2
- package/locales/de.json +1 -1
- package/locales/en/LC_MESSAGES/volto.po +12 -2
- package/locales/en.json +1 -1
- package/locales/es/LC_MESSAGES/volto.po +12 -2
- package/locales/es.json +1 -1
- package/locales/eu/LC_MESSAGES/volto.po +12 -2
- package/locales/eu.json +1 -1
- package/locales/fr/LC_MESSAGES/volto.po +12 -2
- package/locales/fr.json +1 -1
- package/locales/it/LC_MESSAGES/volto.po +12 -2
- package/locales/it.json +1 -1
- package/locales/ja/LC_MESSAGES/volto.po +12 -2
- package/locales/ja.json +1 -1
- package/locales/nl/LC_MESSAGES/volto.po +12 -2
- package/locales/nl.json +1 -1
- package/locales/pt/LC_MESSAGES/volto.po +12 -2
- package/locales/pt.json +1 -1
- package/locales/pt_BR/LC_MESSAGES/volto.po +12 -2
- package/locales/pt_BR.json +1 -1
- package/locales/ro/LC_MESSAGES/volto.po +12 -2
- package/locales/ro.json +1 -1
- package/locales/volto.pot +12 -2
- package/package.json +2 -1
- package/public/icon.svg +13 -0
- package/src/actions/vocabularies/vocabularies.js +15 -3
- package/src/components/index.js +1 -0
- package/src/components/manage/Blocks/HeroImageLeft/Edit.jsx +1 -1
- package/src/components/manage/Blocks/Listing/getAsyncData.js +1 -1
- package/src/components/manage/Blocks/Text/Edit.jsx +19 -0
- package/src/components/manage/Form/Form.jsx +11 -1
- package/src/components/manage/Form/UndoToolbar.jsx +78 -0
- package/src/components/manage/Widgets/AlignWidget.stories.jsx +5 -21
- package/src/components/manage/Widgets/ArrayWidget.jsx +83 -101
- package/src/components/manage/Widgets/ArrayWidget.stories.jsx +29 -64
- package/src/components/manage/Widgets/CheckboxWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/DatetimeWidget.jsx +65 -74
- package/src/components/manage/Widgets/DatetimeWidget.stories.jsx +7 -23
- package/src/components/manage/Widgets/DatetimeWidget.test.jsx +17 -15
- package/src/components/manage/Widgets/EmailWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/FileWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/NumberWidget.stories.jsx +5 -23
- package/src/components/manage/Widgets/ObjectBrowserWidget.stories.js +24 -32
- package/src/components/manage/Widgets/ObjectListWidget.stories.js +44 -44
- package/src/components/manage/Widgets/ObjectWidget.stories.jsx +13 -28
- package/src/components/manage/Widgets/PasswordWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/QueryWidget.jsx +2 -2
- package/src/components/manage/Widgets/QueryWidget.stories.jsx +1637 -22
- package/src/components/manage/Widgets/SelectAutoComplete.jsx +79 -48
- package/src/components/manage/Widgets/SelectAutoComplete.test.jsx +16 -0
- package/src/components/manage/Widgets/SelectAutocompleteWidget.stories.jsx +161 -0
- package/src/components/manage/Widgets/SelectUtils.js +90 -30
- package/src/components/manage/Widgets/SelectUtils.test.jsx +76 -1
- package/src/components/manage/Widgets/SelectWidget.jsx +26 -37
- package/src/components/manage/Widgets/SelectWidget.stories.jsx +96 -28
- package/src/components/manage/Widgets/TextWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/TextareaWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/TokenWidget.jsx +19 -17
- package/src/components/manage/Widgets/TokenWidget.stories.jsx +141 -0
- package/src/components/manage/Widgets/UrlWidget.stories.jsx +5 -21
- package/src/components/manage/Widgets/VocabularyTermsWidget.stories.js +27 -64
- package/src/components/manage/Widgets/WysiwygWidget.stories.jsx +5 -22
- package/src/components/manage/Widgets/story.jsx +38 -0
- package/src/components/theme/ContactForm/ContactForm.jsx +1 -0
- package/src/components/theme/ContactForm/ContactForm.stories.jsx +126 -0
- package/src/components/theme/CorsError/CorsError.jsx +2 -2
- package/src/config/Loadables.jsx +2 -0
- package/src/config/index.js +1 -0
- package/src/helpers/Html/Html.jsx +2 -12
- package/src/helpers/UndoManager/useUndoManager.js +102 -0
- package/src/helpers/index.js +1 -0
- package/src/middleware/Api.test.js +57 -6
- package/src/middleware/api.js +34 -13
- package/src/reducers/vocabularies/vocabularies.js +13 -2
- package/src/store.js +1 -1
- package/src/storybook.jsx +55 -0
- package/theme/themes/pastanaga/extras/time-picker-overrides.less +1 -1
- package/include/python3.8/Python-ast.h +0 -715
- package/include/python3.8/Python.h +0 -160
- package/include/python3.8/abstract.h +0 -844
- package/include/python3.8/asdl.h +0 -46
- package/include/python3.8/ast.h +0 -37
- package/include/python3.8/bitset.h +0 -23
- package/include/python3.8/bltinmodule.h +0 -14
- package/include/python3.8/boolobject.h +0 -34
- package/include/python3.8/bytearrayobject.h +0 -62
- package/include/python3.8/bytes_methods.h +0 -69
- package/include/python3.8/bytesobject.h +0 -224
- package/include/python3.8/cellobject.h +0 -29
- package/include/python3.8/ceval.h +0 -231
- package/include/python3.8/classobject.h +0 -59
- package/include/python3.8/code.h +0 -180
- package/include/python3.8/codecs.h +0 -240
- package/include/python3.8/compile.h +0 -106
- package/include/python3.8/complexobject.h +0 -69
- package/include/python3.8/context.h +0 -84
- package/include/python3.8/cpython/abstract.h +0 -319
- package/include/python3.8/cpython/dictobject.h +0 -94
- package/include/python3.8/cpython/fileobject.h +0 -24
- package/include/python3.8/cpython/initconfig.h +0 -434
- package/include/python3.8/cpython/interpreteridobject.h +0 -19
- package/include/python3.8/cpython/object.h +0 -470
- package/include/python3.8/cpython/objimpl.h +0 -113
- package/include/python3.8/cpython/pyerrors.h +0 -188
- package/include/python3.8/cpython/pylifecycle.h +0 -78
- package/include/python3.8/cpython/pymem.h +0 -108
- package/include/python3.8/cpython/pystate.h +0 -252
- package/include/python3.8/cpython/sysmodule.h +0 -21
- package/include/python3.8/cpython/traceback.h +0 -22
- package/include/python3.8/cpython/tupleobject.h +0 -36
- package/include/python3.8/cpython/unicodeobject.h +0 -1239
- package/include/python3.8/datetime.h +0 -259
- package/include/python3.8/descrobject.h +0 -108
- package/include/python3.8/dictobject.h +0 -94
- package/include/python3.8/dtoa.h +0 -19
- package/include/python3.8/dynamic_annotations.h +0 -499
- package/include/python3.8/enumobject.h +0 -17
- package/include/python3.8/errcode.h +0 -38
- package/include/python3.8/eval.h +0 -37
- package/include/python3.8/fileobject.h +0 -49
- package/include/python3.8/fileutils.h +0 -185
- package/include/python3.8/floatobject.h +0 -130
- package/include/python3.8/frameobject.h +0 -92
- package/include/python3.8/funcobject.h +0 -104
- package/include/python3.8/genobject.h +0 -109
- package/include/python3.8/graminit.h +0 -94
- package/include/python3.8/grammar.h +0 -77
- package/include/python3.8/import.h +0 -149
- package/include/python3.8/internal/pycore_accu.h +0 -39
- package/include/python3.8/internal/pycore_atomic.h +0 -558
- package/include/python3.8/internal/pycore_ceval.h +0 -37
- package/include/python3.8/internal/pycore_code.h +0 -27
- package/include/python3.8/internal/pycore_condvar.h +0 -95
- package/include/python3.8/internal/pycore_context.h +0 -42
- package/include/python3.8/internal/pycore_fileutils.h +0 -54
- package/include/python3.8/internal/pycore_getopt.h +0 -22
- package/include/python3.8/internal/pycore_gil.h +0 -50
- package/include/python3.8/internal/pycore_hamt.h +0 -116
- package/include/python3.8/internal/pycore_initconfig.h +0 -166
- package/include/python3.8/internal/pycore_object.h +0 -81
- package/include/python3.8/internal/pycore_pathconfig.h +0 -75
- package/include/python3.8/internal/pycore_pyerrors.h +0 -62
- package/include/python3.8/internal/pycore_pyhash.h +0 -10
- package/include/python3.8/internal/pycore_pylifecycle.h +0 -118
- package/include/python3.8/internal/pycore_pymem.h +0 -212
- package/include/python3.8/internal/pycore_pystate.h +0 -326
- package/include/python3.8/internal/pycore_traceback.h +0 -96
- package/include/python3.8/internal/pycore_tupleobject.h +0 -19
- package/include/python3.8/internal/pycore_warnings.h +0 -25
- package/include/python3.8/interpreteridobject.h +0 -17
- package/include/python3.8/intrcheck.h +0 -33
- package/include/python3.8/iterobject.h +0 -25
- package/include/python3.8/listobject.h +0 -81
- package/include/python3.8/longintrepr.h +0 -99
- package/include/python3.8/longobject.h +0 -242
- package/include/python3.8/marshal.h +0 -28
- package/include/python3.8/memoryobject.h +0 -72
- package/include/python3.8/methodobject.h +0 -131
- package/include/python3.8/modsupport.h +0 -248
- package/include/python3.8/moduleobject.h +0 -90
- package/include/python3.8/namespaceobject.h +0 -19
- package/include/python3.8/node.h +0 -48
- package/include/python3.8/object.h +0 -753
- package/include/python3.8/objimpl.h +0 -284
- package/include/python3.8/odictobject.h +0 -43
- package/include/python3.8/opcode.h +0 -148
- package/include/python3.8/osdefs.h +0 -51
- package/include/python3.8/osmodule.h +0 -17
- package/include/python3.8/parsetok.h +0 -110
- package/include/python3.8/patchlevel.h +0 -35
- package/include/python3.8/picklebufobject.h +0 -31
- package/include/python3.8/py_curses.h +0 -100
- package/include/python3.8/pyarena.h +0 -64
- package/include/python3.8/pycapsule.h +0 -59
- package/include/python3.8/pyconfig.h +0 -1665
- package/include/python3.8/pyctype.h +0 -39
- package/include/python3.8/pydebug.h +0 -40
- package/include/python3.8/pydtrace.h +0 -59
- package/include/python3.8/pydtrace_probes.h +0 -228
- package/include/python3.8/pyerrors.h +0 -335
- package/include/python3.8/pyexpat.h +0 -55
- package/include/python3.8/pyfpe.h +0 -12
- package/include/python3.8/pyhash.h +0 -145
- package/include/python3.8/pylifecycle.h +0 -75
- package/include/python3.8/pymacconfig.h +0 -102
- package/include/python3.8/pymacro.h +0 -106
- package/include/python3.8/pymath.h +0 -230
- package/include/python3.8/pymem.h +0 -150
- package/include/python3.8/pyport.h +0 -850
- package/include/python3.8/pystate.h +0 -136
- package/include/python3.8/pystrcmp.h +0 -23
- package/include/python3.8/pystrhex.h +0 -22
- package/include/python3.8/pystrtod.h +0 -45
- package/include/python3.8/pythonrun.h +0 -210
- package/include/python3.8/pythread.h +0 -161
- package/include/python3.8/pytime.h +0 -246
- package/include/python3.8/rangeobject.h +0 -27
- package/include/python3.8/setobject.h +0 -108
- package/include/python3.8/sliceobject.h +0 -65
- package/include/python3.8/structmember.h +0 -74
- package/include/python3.8/structseq.h +0 -49
- package/include/python3.8/symtable.h +0 -123
- package/include/python3.8/sysmodule.h +0 -41
- package/include/python3.8/token.h +0 -92
- package/include/python3.8/traceback.h +0 -28
- package/include/python3.8/tracemalloc.h +0 -38
- package/include/python3.8/tupleobject.h +0 -48
- package/include/python3.8/typeslots.h +0 -85
- package/include/python3.8/ucnhash.h +0 -36
- package/include/python3.8/unicodeobject.h +0 -1044
- package/include/python3.8/warnings.h +0 -67
- package/include/python3.8/weakrefobject.h +0 -86
- package/src/components/theme/ContactForm/ContactForm.stories.mdx +0 -39
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
#ifndef Py_LIMITED_API
|
|
2
|
-
#ifndef PYCTYPE_H
|
|
3
|
-
#define PYCTYPE_H
|
|
4
|
-
#ifdef __cplusplus
|
|
5
|
-
extern "C" {
|
|
6
|
-
#endif
|
|
7
|
-
|
|
8
|
-
#define PY_CTF_LOWER 0x01
|
|
9
|
-
#define PY_CTF_UPPER 0x02
|
|
10
|
-
#define PY_CTF_ALPHA (PY_CTF_LOWER|PY_CTF_UPPER)
|
|
11
|
-
#define PY_CTF_DIGIT 0x04
|
|
12
|
-
#define PY_CTF_ALNUM (PY_CTF_ALPHA|PY_CTF_DIGIT)
|
|
13
|
-
#define PY_CTF_SPACE 0x08
|
|
14
|
-
#define PY_CTF_XDIGIT 0x10
|
|
15
|
-
|
|
16
|
-
PyAPI_DATA(const unsigned int) _Py_ctype_table[256];
|
|
17
|
-
|
|
18
|
-
/* Unlike their C counterparts, the following macros are not meant to
|
|
19
|
-
* handle an int with any of the values [EOF, 0-UCHAR_MAX]. The argument
|
|
20
|
-
* must be a signed/unsigned char. */
|
|
21
|
-
#define Py_ISLOWER(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_LOWER)
|
|
22
|
-
#define Py_ISUPPER(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_UPPER)
|
|
23
|
-
#define Py_ISALPHA(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALPHA)
|
|
24
|
-
#define Py_ISDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_DIGIT)
|
|
25
|
-
#define Py_ISXDIGIT(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_XDIGIT)
|
|
26
|
-
#define Py_ISALNUM(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_ALNUM)
|
|
27
|
-
#define Py_ISSPACE(c) (_Py_ctype_table[Py_CHARMASK(c)] & PY_CTF_SPACE)
|
|
28
|
-
|
|
29
|
-
PyAPI_DATA(const unsigned char) _Py_ctype_tolower[256];
|
|
30
|
-
PyAPI_DATA(const unsigned char) _Py_ctype_toupper[256];
|
|
31
|
-
|
|
32
|
-
#define Py_TOLOWER(c) (_Py_ctype_tolower[Py_CHARMASK(c)])
|
|
33
|
-
#define Py_TOUPPER(c) (_Py_ctype_toupper[Py_CHARMASK(c)])
|
|
34
|
-
|
|
35
|
-
#ifdef __cplusplus
|
|
36
|
-
}
|
|
37
|
-
#endif
|
|
38
|
-
#endif /* !PYCTYPE_H */
|
|
39
|
-
#endif /* !Py_LIMITED_API */
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
#ifndef Py_LIMITED_API
|
|
2
|
-
#ifndef Py_PYDEBUG_H
|
|
3
|
-
#define Py_PYDEBUG_H
|
|
4
|
-
#ifdef __cplusplus
|
|
5
|
-
extern "C" {
|
|
6
|
-
#endif
|
|
7
|
-
|
|
8
|
-
/* These global variable are defined in pylifecycle.c */
|
|
9
|
-
/* XXX (ncoghlan): move these declarations to pylifecycle.h? */
|
|
10
|
-
PyAPI_DATA(int) Py_DebugFlag;
|
|
11
|
-
PyAPI_DATA(int) Py_VerboseFlag;
|
|
12
|
-
PyAPI_DATA(int) Py_QuietFlag;
|
|
13
|
-
PyAPI_DATA(int) Py_InteractiveFlag;
|
|
14
|
-
PyAPI_DATA(int) Py_InspectFlag;
|
|
15
|
-
PyAPI_DATA(int) Py_OptimizeFlag;
|
|
16
|
-
PyAPI_DATA(int) Py_NoSiteFlag;
|
|
17
|
-
PyAPI_DATA(int) Py_BytesWarningFlag;
|
|
18
|
-
PyAPI_DATA(int) Py_FrozenFlag;
|
|
19
|
-
PyAPI_DATA(int) Py_IgnoreEnvironmentFlag;
|
|
20
|
-
PyAPI_DATA(int) Py_DontWriteBytecodeFlag;
|
|
21
|
-
PyAPI_DATA(int) Py_NoUserSiteDirectory;
|
|
22
|
-
PyAPI_DATA(int) Py_UnbufferedStdioFlag;
|
|
23
|
-
PyAPI_DATA(int) Py_HashRandomizationFlag;
|
|
24
|
-
PyAPI_DATA(int) Py_IsolatedFlag;
|
|
25
|
-
|
|
26
|
-
#ifdef MS_WINDOWS
|
|
27
|
-
PyAPI_DATA(int) Py_LegacyWindowsFSEncodingFlag;
|
|
28
|
-
PyAPI_DATA(int) Py_LegacyWindowsStdioFlag;
|
|
29
|
-
#endif
|
|
30
|
-
|
|
31
|
-
/* this is a wrapper around getenv() that pays attention to
|
|
32
|
-
Py_IgnoreEnvironmentFlag. It should be used for getting variables like
|
|
33
|
-
PYTHONPATH and PYTHONHOME from the environment */
|
|
34
|
-
#define Py_GETENV(s) (Py_IgnoreEnvironmentFlag ? NULL : getenv(s))
|
|
35
|
-
|
|
36
|
-
#ifdef __cplusplus
|
|
37
|
-
}
|
|
38
|
-
#endif
|
|
39
|
-
#endif /* !Py_PYDEBUG_H */
|
|
40
|
-
#endif /* Py_LIMITED_API */
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/* Static DTrace probes interface */
|
|
2
|
-
|
|
3
|
-
#ifndef Py_DTRACE_H
|
|
4
|
-
#define Py_DTRACE_H
|
|
5
|
-
#ifdef __cplusplus
|
|
6
|
-
extern "C" {
|
|
7
|
-
#endif
|
|
8
|
-
|
|
9
|
-
#ifdef WITH_DTRACE
|
|
10
|
-
|
|
11
|
-
#include "pydtrace_probes.h"
|
|
12
|
-
|
|
13
|
-
/* pydtrace_probes.h, on systems with DTrace, is auto-generated to include
|
|
14
|
-
`PyDTrace_{PROBE}` and `PyDTrace_{PROBE}_ENABLED()` macros for every probe
|
|
15
|
-
defined in pydtrace_provider.d.
|
|
16
|
-
|
|
17
|
-
Calling these functions must be guarded by a `PyDTrace_{PROBE}_ENABLED()`
|
|
18
|
-
check to minimize performance impact when probing is off. For example:
|
|
19
|
-
|
|
20
|
-
if (PyDTrace_FUNCTION_ENTRY_ENABLED())
|
|
21
|
-
PyDTrace_FUNCTION_ENTRY(f);
|
|
22
|
-
*/
|
|
23
|
-
|
|
24
|
-
#else
|
|
25
|
-
|
|
26
|
-
/* Without DTrace, compile to nothing. */
|
|
27
|
-
|
|
28
|
-
static inline void PyDTrace_LINE(const char *arg0, const char *arg1, int arg2) {}
|
|
29
|
-
static inline void PyDTrace_FUNCTION_ENTRY(const char *arg0, const char *arg1, int arg2) {}
|
|
30
|
-
static inline void PyDTrace_FUNCTION_RETURN(const char *arg0, const char *arg1, int arg2) {}
|
|
31
|
-
static inline void PyDTrace_GC_START(int arg0) {}
|
|
32
|
-
static inline void PyDTrace_GC_DONE(Py_ssize_t arg0) {}
|
|
33
|
-
static inline void PyDTrace_INSTANCE_NEW_START(int arg0) {}
|
|
34
|
-
static inline void PyDTrace_INSTANCE_NEW_DONE(int arg0) {}
|
|
35
|
-
static inline void PyDTrace_INSTANCE_DELETE_START(int arg0) {}
|
|
36
|
-
static inline void PyDTrace_INSTANCE_DELETE_DONE(int arg0) {}
|
|
37
|
-
static inline void PyDTrace_IMPORT_FIND_LOAD_START(const char *arg0) {}
|
|
38
|
-
static inline void PyDTrace_IMPORT_FIND_LOAD_DONE(const char *arg0, int arg1) {}
|
|
39
|
-
static inline void PyDTrace_AUDIT(const char *arg0, void *arg1) {}
|
|
40
|
-
|
|
41
|
-
static inline int PyDTrace_LINE_ENABLED(void) { return 0; }
|
|
42
|
-
static inline int PyDTrace_FUNCTION_ENTRY_ENABLED(void) { return 0; }
|
|
43
|
-
static inline int PyDTrace_FUNCTION_RETURN_ENABLED(void) { return 0; }
|
|
44
|
-
static inline int PyDTrace_GC_START_ENABLED(void) { return 0; }
|
|
45
|
-
static inline int PyDTrace_GC_DONE_ENABLED(void) { return 0; }
|
|
46
|
-
static inline int PyDTrace_INSTANCE_NEW_START_ENABLED(void) { return 0; }
|
|
47
|
-
static inline int PyDTrace_INSTANCE_NEW_DONE_ENABLED(void) { return 0; }
|
|
48
|
-
static inline int PyDTrace_INSTANCE_DELETE_START_ENABLED(void) { return 0; }
|
|
49
|
-
static inline int PyDTrace_INSTANCE_DELETE_DONE_ENABLED(void) { return 0; }
|
|
50
|
-
static inline int PyDTrace_IMPORT_FIND_LOAD_START_ENABLED(void) { return 0; }
|
|
51
|
-
static inline int PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED(void) { return 0; }
|
|
52
|
-
static inline int PyDTrace_AUDIT_ENABLED(void) { return 0; }
|
|
53
|
-
|
|
54
|
-
#endif /* !WITH_DTRACE */
|
|
55
|
-
|
|
56
|
-
#ifdef __cplusplus
|
|
57
|
-
}
|
|
58
|
-
#endif
|
|
59
|
-
#endif /* !Py_DTRACE_H */
|
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* Generated by dtrace(1M).
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
#ifndef _PYDTRACE_PROBES_H
|
|
6
|
-
#define _PYDTRACE_PROBES_H
|
|
7
|
-
|
|
8
|
-
#if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED
|
|
9
|
-
#include <unistd.h>
|
|
10
|
-
|
|
11
|
-
#endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */
|
|
12
|
-
|
|
13
|
-
#ifdef __cplusplus
|
|
14
|
-
extern "C" {
|
|
15
|
-
#endif
|
|
16
|
-
|
|
17
|
-
#define PyDTrace_STABILITY "___dtrace_stability$python$v1$5_5_5_5_5_5_5_5_5_5_5_5_5_5_5"
|
|
18
|
-
|
|
19
|
-
#define PyDTrace_TYPEDEFS "___dtrace_typedefs$python$v2"
|
|
20
|
-
|
|
21
|
-
#if !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED
|
|
22
|
-
|
|
23
|
-
#define PyDTrace_AUDIT(arg0, arg1) \
|
|
24
|
-
do { \
|
|
25
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
26
|
-
__dtrace_probe$python$audit$v1$63686172202a$766f6964202a(arg0, arg1); \
|
|
27
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
28
|
-
} while (0)
|
|
29
|
-
#define PyDTrace_AUDIT_ENABLED() \
|
|
30
|
-
({ int _r = __dtrace_isenabled$python$audit$v1(); \
|
|
31
|
-
__asm__ volatile(""); \
|
|
32
|
-
_r; })
|
|
33
|
-
#define PyDTrace_FUNCTION_ENTRY(arg0, arg1, arg2) \
|
|
34
|
-
do { \
|
|
35
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
36
|
-
__dtrace_probe$python$function__entry$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
|
|
37
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
38
|
-
} while (0)
|
|
39
|
-
#define PyDTrace_FUNCTION_ENTRY_ENABLED() \
|
|
40
|
-
({ int _r = __dtrace_isenabled$python$function__entry$v1(); \
|
|
41
|
-
__asm__ volatile(""); \
|
|
42
|
-
_r; })
|
|
43
|
-
#define PyDTrace_FUNCTION_RETURN(arg0, arg1, arg2) \
|
|
44
|
-
do { \
|
|
45
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
46
|
-
__dtrace_probe$python$function__return$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
|
|
47
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
48
|
-
} while (0)
|
|
49
|
-
#define PyDTrace_FUNCTION_RETURN_ENABLED() \
|
|
50
|
-
({ int _r = __dtrace_isenabled$python$function__return$v1(); \
|
|
51
|
-
__asm__ volatile(""); \
|
|
52
|
-
_r; })
|
|
53
|
-
#define PyDTrace_GC_DONE(arg0) \
|
|
54
|
-
do { \
|
|
55
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
56
|
-
__dtrace_probe$python$gc__done$v1$6c6f6e67(arg0); \
|
|
57
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
58
|
-
} while (0)
|
|
59
|
-
#define PyDTrace_GC_DONE_ENABLED() \
|
|
60
|
-
({ int _r = __dtrace_isenabled$python$gc__done$v1(); \
|
|
61
|
-
__asm__ volatile(""); \
|
|
62
|
-
_r; })
|
|
63
|
-
#define PyDTrace_GC_START(arg0) \
|
|
64
|
-
do { \
|
|
65
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
66
|
-
__dtrace_probe$python$gc__start$v1$696e74(arg0); \
|
|
67
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
68
|
-
} while (0)
|
|
69
|
-
#define PyDTrace_GC_START_ENABLED() \
|
|
70
|
-
({ int _r = __dtrace_isenabled$python$gc__start$v1(); \
|
|
71
|
-
__asm__ volatile(""); \
|
|
72
|
-
_r; })
|
|
73
|
-
#define PyDTrace_IMPORT_FIND_LOAD_DONE(arg0, arg1) \
|
|
74
|
-
do { \
|
|
75
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
76
|
-
__dtrace_probe$python$import__find__load__done$v1$63686172202a$696e74(arg0, arg1); \
|
|
77
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
78
|
-
} while (0)
|
|
79
|
-
#define PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED() \
|
|
80
|
-
({ int _r = __dtrace_isenabled$python$import__find__load__done$v1(); \
|
|
81
|
-
__asm__ volatile(""); \
|
|
82
|
-
_r; })
|
|
83
|
-
#define PyDTrace_IMPORT_FIND_LOAD_START(arg0) \
|
|
84
|
-
do { \
|
|
85
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
86
|
-
__dtrace_probe$python$import__find__load__start$v1$63686172202a(arg0); \
|
|
87
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
88
|
-
} while (0)
|
|
89
|
-
#define PyDTrace_IMPORT_FIND_LOAD_START_ENABLED() \
|
|
90
|
-
({ int _r = __dtrace_isenabled$python$import__find__load__start$v1(); \
|
|
91
|
-
__asm__ volatile(""); \
|
|
92
|
-
_r; })
|
|
93
|
-
#define PyDTrace_INSTANCE_DELETE_DONE(arg0, arg1) \
|
|
94
|
-
do { \
|
|
95
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
96
|
-
__dtrace_probe$python$instance__delete__done$v1$63686172202a$63686172202a(arg0, arg1); \
|
|
97
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
98
|
-
} while (0)
|
|
99
|
-
#define PyDTrace_INSTANCE_DELETE_DONE_ENABLED() \
|
|
100
|
-
({ int _r = __dtrace_isenabled$python$instance__delete__done$v1(); \
|
|
101
|
-
__asm__ volatile(""); \
|
|
102
|
-
_r; })
|
|
103
|
-
#define PyDTrace_INSTANCE_DELETE_START(arg0, arg1) \
|
|
104
|
-
do { \
|
|
105
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
106
|
-
__dtrace_probe$python$instance__delete__start$v1$63686172202a$63686172202a(arg0, arg1); \
|
|
107
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
108
|
-
} while (0)
|
|
109
|
-
#define PyDTrace_INSTANCE_DELETE_START_ENABLED() \
|
|
110
|
-
({ int _r = __dtrace_isenabled$python$instance__delete__start$v1(); \
|
|
111
|
-
__asm__ volatile(""); \
|
|
112
|
-
_r; })
|
|
113
|
-
#define PyDTrace_INSTANCE_NEW_DONE(arg0, arg1) \
|
|
114
|
-
do { \
|
|
115
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
116
|
-
__dtrace_probe$python$instance__new__done$v1$63686172202a$63686172202a(arg0, arg1); \
|
|
117
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
118
|
-
} while (0)
|
|
119
|
-
#define PyDTrace_INSTANCE_NEW_DONE_ENABLED() \
|
|
120
|
-
({ int _r = __dtrace_isenabled$python$instance__new__done$v1(); \
|
|
121
|
-
__asm__ volatile(""); \
|
|
122
|
-
_r; })
|
|
123
|
-
#define PyDTrace_INSTANCE_NEW_START(arg0, arg1) \
|
|
124
|
-
do { \
|
|
125
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
126
|
-
__dtrace_probe$python$instance__new__start$v1$63686172202a$63686172202a(arg0, arg1); \
|
|
127
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
128
|
-
} while (0)
|
|
129
|
-
#define PyDTrace_INSTANCE_NEW_START_ENABLED() \
|
|
130
|
-
({ int _r = __dtrace_isenabled$python$instance__new__start$v1(); \
|
|
131
|
-
__asm__ volatile(""); \
|
|
132
|
-
_r; })
|
|
133
|
-
#define PyDTrace_LINE(arg0, arg1, arg2) \
|
|
134
|
-
do { \
|
|
135
|
-
__asm__ volatile(".reference " PyDTrace_TYPEDEFS); \
|
|
136
|
-
__dtrace_probe$python$line$v1$63686172202a$63686172202a$696e74(arg0, arg1, arg2); \
|
|
137
|
-
__asm__ volatile(".reference " PyDTrace_STABILITY); \
|
|
138
|
-
} while (0)
|
|
139
|
-
#define PyDTrace_LINE_ENABLED() \
|
|
140
|
-
({ int _r = __dtrace_isenabled$python$line$v1(); \
|
|
141
|
-
__asm__ volatile(""); \
|
|
142
|
-
_r; })
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
extern void __dtrace_probe$python$audit$v1$63686172202a$766f6964202a(const char *, const void *);
|
|
146
|
-
extern int __dtrace_isenabled$python$audit$v1(void);
|
|
147
|
-
extern void __dtrace_probe$python$function__entry$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
|
|
148
|
-
extern int __dtrace_isenabled$python$function__entry$v1(void);
|
|
149
|
-
extern void __dtrace_probe$python$function__return$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
|
|
150
|
-
extern int __dtrace_isenabled$python$function__return$v1(void);
|
|
151
|
-
extern void __dtrace_probe$python$gc__done$v1$6c6f6e67(long);
|
|
152
|
-
extern int __dtrace_isenabled$python$gc__done$v1(void);
|
|
153
|
-
extern void __dtrace_probe$python$gc__start$v1$696e74(int);
|
|
154
|
-
extern int __dtrace_isenabled$python$gc__start$v1(void);
|
|
155
|
-
extern void __dtrace_probe$python$import__find__load__done$v1$63686172202a$696e74(const char *, int);
|
|
156
|
-
extern int __dtrace_isenabled$python$import__find__load__done$v1(void);
|
|
157
|
-
extern void __dtrace_probe$python$import__find__load__start$v1$63686172202a(const char *);
|
|
158
|
-
extern int __dtrace_isenabled$python$import__find__load__start$v1(void);
|
|
159
|
-
extern void __dtrace_probe$python$instance__delete__done$v1$63686172202a$63686172202a(const char *, const char *);
|
|
160
|
-
extern int __dtrace_isenabled$python$instance__delete__done$v1(void);
|
|
161
|
-
extern void __dtrace_probe$python$instance__delete__start$v1$63686172202a$63686172202a(const char *, const char *);
|
|
162
|
-
extern int __dtrace_isenabled$python$instance__delete__start$v1(void);
|
|
163
|
-
extern void __dtrace_probe$python$instance__new__done$v1$63686172202a$63686172202a(const char *, const char *);
|
|
164
|
-
extern int __dtrace_isenabled$python$instance__new__done$v1(void);
|
|
165
|
-
extern void __dtrace_probe$python$instance__new__start$v1$63686172202a$63686172202a(const char *, const char *);
|
|
166
|
-
extern int __dtrace_isenabled$python$instance__new__start$v1(void);
|
|
167
|
-
extern void __dtrace_probe$python$line$v1$63686172202a$63686172202a$696e74(const char *, const char *, int);
|
|
168
|
-
extern int __dtrace_isenabled$python$line$v1(void);
|
|
169
|
-
|
|
170
|
-
#else
|
|
171
|
-
|
|
172
|
-
#define PyDTrace_AUDIT(arg0, arg1) \
|
|
173
|
-
do { \
|
|
174
|
-
} while (0)
|
|
175
|
-
#define PyDTrace_AUDIT_ENABLED() (0)
|
|
176
|
-
#define PyDTrace_FUNCTION_ENTRY(arg0, arg1, arg2) \
|
|
177
|
-
do { \
|
|
178
|
-
} while (0)
|
|
179
|
-
#define PyDTrace_FUNCTION_ENTRY_ENABLED() (0)
|
|
180
|
-
#define PyDTrace_FUNCTION_RETURN(arg0, arg1, arg2) \
|
|
181
|
-
do { \
|
|
182
|
-
} while (0)
|
|
183
|
-
#define PyDTrace_FUNCTION_RETURN_ENABLED() (0)
|
|
184
|
-
#define PyDTrace_GC_DONE(arg0) \
|
|
185
|
-
do { \
|
|
186
|
-
} while (0)
|
|
187
|
-
#define PyDTrace_GC_DONE_ENABLED() (0)
|
|
188
|
-
#define PyDTrace_GC_START(arg0) \
|
|
189
|
-
do { \
|
|
190
|
-
} while (0)
|
|
191
|
-
#define PyDTrace_GC_START_ENABLED() (0)
|
|
192
|
-
#define PyDTrace_IMPORT_FIND_LOAD_DONE(arg0, arg1) \
|
|
193
|
-
do { \
|
|
194
|
-
} while (0)
|
|
195
|
-
#define PyDTrace_IMPORT_FIND_LOAD_DONE_ENABLED() (0)
|
|
196
|
-
#define PyDTrace_IMPORT_FIND_LOAD_START(arg0) \
|
|
197
|
-
do { \
|
|
198
|
-
} while (0)
|
|
199
|
-
#define PyDTrace_IMPORT_FIND_LOAD_START_ENABLED() (0)
|
|
200
|
-
#define PyDTrace_INSTANCE_DELETE_DONE(arg0, arg1) \
|
|
201
|
-
do { \
|
|
202
|
-
} while (0)
|
|
203
|
-
#define PyDTrace_INSTANCE_DELETE_DONE_ENABLED() (0)
|
|
204
|
-
#define PyDTrace_INSTANCE_DELETE_START(arg0, arg1) \
|
|
205
|
-
do { \
|
|
206
|
-
} while (0)
|
|
207
|
-
#define PyDTrace_INSTANCE_DELETE_START_ENABLED() (0)
|
|
208
|
-
#define PyDTrace_INSTANCE_NEW_DONE(arg0, arg1) \
|
|
209
|
-
do { \
|
|
210
|
-
} while (0)
|
|
211
|
-
#define PyDTrace_INSTANCE_NEW_DONE_ENABLED() (0)
|
|
212
|
-
#define PyDTrace_INSTANCE_NEW_START(arg0, arg1) \
|
|
213
|
-
do { \
|
|
214
|
-
} while (0)
|
|
215
|
-
#define PyDTrace_INSTANCE_NEW_START_ENABLED() (0)
|
|
216
|
-
#define PyDTrace_LINE(arg0, arg1, arg2) \
|
|
217
|
-
do { \
|
|
218
|
-
} while (0)
|
|
219
|
-
#define PyDTrace_LINE_ENABLED() (0)
|
|
220
|
-
|
|
221
|
-
#endif /* !defined(DTRACE_PROBES_DISABLED) || !DTRACE_PROBES_DISABLED */
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
#ifdef __cplusplus
|
|
225
|
-
}
|
|
226
|
-
#endif
|
|
227
|
-
|
|
228
|
-
#endif /* _PYDTRACE_PROBES_H */
|