fake-bpy-module 20240516__py3-none-any.whl → 20240517__py3-none-any.whl
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.
Potentially problematic release.
This version of fake-bpy-module might be problematic. Click here for more details.
- _bpy_internal/freedesktop/__init__.pyi +2 -2
- addon_utils/__init__.pyi +43 -12
- animsys_refactor/__init__.pyi +4 -4
- aud/__init__.pyi +7 -7
- bgl/__init__.pyi +121 -183
- bl_app_override/__init__.pyi +5 -5
- bl_app_override/helpers/__init__.pyi +3 -1
- bl_app_template_utils/__init__.pyi +5 -5
- bl_console_utils/autocomplete/complete_calltip/__init__.pyi +48 -10
- bl_console_utils/autocomplete/complete_import/__init__.pyi +27 -6
- bl_console_utils/autocomplete/complete_namespace/__init__.pyi +40 -8
- bl_console_utils/autocomplete/intellisense/__init__.pyi +31 -4
- bl_i18n_utils/bl_extract_messages/__init__.pyi +5 -5
- bl_i18n_utils/settings/__init__.pyi +4 -2
- bl_i18n_utils/utils/__init__.pyi +86 -58
- bl_i18n_utils/utils_rtl/__init__.pyi +8 -2
- bl_keymap_utils/io/__init__.pyi +4 -4
- bl_keymap_utils/keymap_from_toolbar/__init__.pyi +2 -2
- bl_keymap_utils/platform_helpers/__init__.pyi +2 -2
- bl_operators/add_mesh_torus/__init__.pyi +126 -41
- bl_operators/anim/__init__.pyi +1001 -328
- bl_operators/assets/__init__.pyi +376 -123
- bl_operators/bmesh/find_adjacent/__init__.pyi +3 -3
- bl_operators/clip/__init__.pyi +1250 -409
- bl_operators/console/__init__.pyi +626 -205
- bl_operators/constraint/__init__.pyi +502 -165
- bl_operators/file/__init__.pyi +376 -123
- bl_operators/freestyle/__init__.pyi +501 -164
- bl_operators/geometry_nodes/__init__.pyi +501 -164
- bl_operators/image/__init__.pyi +621 -200
- bl_operators/mesh/__init__.pyi +376 -123
- bl_operators/node/__init__.pyi +1243 -402
- bl_operators/object/__init__.pyi +1876 -615
- bl_operators/object_align/__init__.pyi +126 -41
- bl_operators/object_quick_effects/__init__.pyi +502 -165
- bl_operators/object_randomize_transform/__init__.pyi +126 -41
- bl_operators/presets/__init__.pyi +3069 -1027
- bl_operators/rigidbody/__init__.pyi +376 -123
- bl_operators/screen_play_rendered_anim/__init__.pyi +126 -41
- bl_operators/sequencer/__init__.pyi +1009 -331
- bl_operators/spreadsheet/__init__.pyi +126 -41
- bl_operators/userpref/__init__.pyi +3263 -1078
- bl_operators/uvcalc_follow_active/__init__.pyi +126 -41
- bl_operators/uvcalc_lightmap/__init__.pyi +137 -47
- bl_operators/uvcalc_transform/__init__.pyi +289 -90
- bl_operators/vertexpaint_dirt/__init__.pyi +126 -41
- bl_operators/view3d/__init__.pyi +868 -279
- bl_operators/wm/__init__.pyi +5777 -1934
- bl_operators/world/__init__.pyi +126 -41
- bl_previews_utils/bl_previews_render/__init__.pyi +1 -1
- bl_rna_utils/data_path/__init__.pyi +8 -3
- bl_ui/__init__.pyi +338 -131
- bl_ui/anim/__init__.pyi +164 -64
- bl_ui/asset_shelf/__init__.pyi +129 -42
- bl_ui/generic_ui_list/__init__.pyi +412 -135
- bl_ui/node_add_menu/__init__.pyi +168 -68
- bl_ui/node_add_menu_compositor/__init__.pyi +2921 -1138
- bl_ui/node_add_menu_geometry/__init__.pyi +7785 -3032
- bl_ui/node_add_menu_shader/__init__.pyi +1621 -630
- bl_ui/node_add_menu_texture/__init__.pyi +1459 -567
- bl_ui/properties_animviz/__init__.pyi +2 -2
- bl_ui/properties_collection/__init__.pyi +806 -274
- bl_ui/properties_constraint/__init__.pyi +10253 -3458
- bl_ui/properties_data_armature/__init__.pyi +1615 -552
- bl_ui/properties_data_bone/__init__.pyi +1288 -425
- bl_ui/properties_data_camera/__init__.pyi +1854 -631
- bl_ui/properties_data_curve/__init__.pyi +1929 -636
- bl_ui/properties_data_curves/__init__.pyi +806 -274
- bl_ui/properties_data_empty/__init__.pyi +257 -84
- bl_ui/properties_data_gpencil/__init__.pyi +2380 -803
- bl_ui/properties_data_grease_pencil/__init__.pyi +1902 -656
- bl_ui/properties_data_lattice/__init__.pyi +388 -127
- bl_ui/properties_data_light/__init__.pyi +1541 -506
- bl_ui/properties_data_lightprobe/__init__.pyi +1667 -548
- bl_ui/properties_data_mesh/__init__.pyi +2704 -929
- bl_ui/properties_data_metaball/__init__.pyi +644 -211
- bl_ui/properties_data_modifier/__init__.pyi +1353 -502
- bl_ui/properties_data_pointcloud/__init__.pyi +679 -233
- bl_ui/properties_data_shaderfx/__init__.pyi +129 -42
- bl_ui/properties_data_speaker/__init__.pyi +644 -211
- bl_ui/properties_data_volume/__init__.pyi +1030 -339
- bl_ui/properties_freestyle/__init__.pyi +3113 -1035
- bl_ui/properties_grease_pencil_common/__init__.pyi +2464 -933
- bl_ui/properties_mask_common/__init__.pyi +1101 -420
- bl_ui/properties_material/__init__.pyi +2091 -699
- bl_ui/properties_material_gpencil/__init__.pyi +1350 -466
- bl_ui/properties_object/__init__.pyi +1838 -618
- bl_ui/properties_output/__init__.pyi +2414 -831
- bl_ui/properties_paint_common/__init__.pyi +412 -289
- bl_ui/properties_particle/__init__.pyi +6737 -2241
- bl_ui/properties_physics_cloth/__init__.pyi +1825 -612
- bl_ui/properties_physics_common/__init__.pyi +129 -42
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +2821 -928
- bl_ui/properties_physics_field/__init__.pyi +1283 -422
- bl_ui/properties_physics_fluid/__init__.pyi +3620 -1203
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +129 -42
- bl_ui/properties_physics_rigidbody/__init__.pyi +1027 -338
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +1667 -548
- bl_ui/properties_physics_softbody/__init__.pyi +1924 -633
- bl_ui/properties_render/__init__.pyi +6830 -2263
- bl_ui/properties_scene/__init__.pyi +1929 -636
- bl_ui/properties_texture/__init__.pyi +3370 -1118
- bl_ui/properties_view_layer/__init__.pyi +2346 -782
- bl_ui/properties_workspace/__init__.pyi +516 -169
- bl_ui/properties_world/__init__.pyi +1284 -421
- bl_ui/space_clip/__init__.pyi +10134 -3639
- bl_ui/space_console/__init__.pyi +939 -357
- bl_ui/space_dopesheet/__init__.pyi +4327 -1562
- bl_ui/space_filebrowser/__init__.pyi +4164 -1499
- bl_ui/space_graph/__init__.pyi +3108 -1179
- bl_ui/space_image/__init__.pyi +9766 -3596
- bl_ui/space_info/__init__.pyi +939 -357
- bl_ui/space_nla/__init__.pyi +2620 -988
- bl_ui/space_node/__init__.pyi +3994 -1434
- bl_ui/space_outliner/__init__.pyi +2203 -842
- bl_ui/space_properties/__init__.pyi +386 -127
- bl_ui/space_sequencer/__init__.pyi +10773 -3878
- bl_ui/space_spreadsheet/__init__.pyi +130 -43
- bl_ui/space_statusbar/__init__.pyi +129 -42
- bl_ui/space_text/__init__.pyi +2458 -925
- bl_ui/space_time/__init__.pyi +1033 -378
- bl_ui/space_toolsystem_common/__init__.pyi +20 -16
- bl_ui/space_toolsystem_toolbar/__init__.pyi +37 -21
- bl_ui/space_topbar/__init__.pyi +3980 -1496
- bl_ui/space_userpref/__init__.pyi +11373 -3797
- bl_ui/space_view3d/__init__.pyi +40865 -15356
- bl_ui/space_view3d_toolbar/__init__.pyi +12520 -4647
- bl_ui/temp_anim_layers/__init__.pyi +129 -42
- bl_ui/utils/__init__.pyi +28 -20
- bl_ui_utils/bug_report_url/__init__.pyi +1 -1
- bl_ui_utils/layout/__init__.pyi +1 -1
- blend_render_info/__init__.pyi +1 -1
- blf/__init__.pyi +4 -4
- bmesh/geometry/__init__.pyi +2 -3
- bmesh/ops/__init__.pyi +372 -419
- bmesh/types/__init__.pyi +38 -38
- bmesh/utils/__init__.pyi +10 -13
- bpy/app/__init__.pyi +4 -4
- bpy/app/handlers/__init__.pyi +36 -36
- bpy/app/icons/__init__.pyi +8 -8
- bpy/app/timers/__init__.pyi +10 -10
- bpy/app/translations/__init__.pyi +20 -22
- bpy/msgbus/__init__.pyi +2 -4
- bpy/ops/action/__init__.pyi +316 -394
- bpy/ops/anim/__init__.pyi +442 -548
- bpy/ops/armature/__init__.pyi +374 -470
- bpy/ops/asset/__init__.pyi +152 -184
- bpy/ops/bl_pkg/__init__.pyi +221 -272
- bpy/ops/boid/__init__.pyi +50 -66
- bpy/ops/brush/__init__.pyi +72 -90
- bpy/ops/buttons/__init__.pyi +132 -144
- bpy/ops/cachefile/__init__.pyi +128 -138
- bpy/ops/camera/__init__.pyi +26 -30
- bpy/ops/clip/__init__.pyi +777 -964
- bpy/ops/cloth/__init__.pyi +12 -14
- bpy/ops/collection/__init__.pyi +68 -86
- bpy/ops/console/__init__.pyi +158 -200
- bpy/ops/constraint/__init__.pyi +178 -214
- bpy/ops/curve/__init__.pyi +473 -576
- bpy/ops/curves/__init__.pyi +247 -302
- bpy/ops/cycles/__init__.pyi +28 -34
- bpy/ops/dpaint/__init__.pyi +34 -44
- bpy/ops/ed/__init__.pyi +126 -150
- bpy/ops/export_anim/__init__.pyi +22 -24
- bpy/ops/export_scene/__init__.pyi +302 -336
- bpy/ops/file/__init__.pyi +352 -432
- bpy/ops/fluid/__init__.pyi +90 -118
- bpy/ops/font/__init__.pyi +258 -304
- bpy/ops/geometry/__init__.pyi +100 -120
- bpy/ops/gizmogroup/__init__.pyi +22 -26
- bpy/ops/gpencil/__init__.pyi +1469 -1778
- bpy/ops/graph/__init__.pyi +644 -776
- bpy/ops/grease_pencil/__init__.pyi +597 -748
- bpy/ops/image/__init__.pyi +648 -744
- bpy/ops/import_anim/__init__.pyi +30 -32
- bpy/ops/import_curve/__init__.pyi +10 -12
- bpy/ops/import_scene/__init__.pyi +88 -96
- bpy/ops/info/__init__.pyi +60 -74
- bpy/ops/lattice/__init__.pyi +64 -80
- bpy/ops/marker/__init__.pyi +108 -130
- bpy/ops/mask/__init__.pyi +322 -402
- bpy/ops/material/__init__.pyi +18 -24
- bpy/ops/mball/__init__.pyi +70 -86
- bpy/ops/mesh/__init__.pyi +1986 -2322
- bpy/ops/nla/__init__.pyi +333 -411
- bpy/ops/node/__init__.pyi +886 -1100
- bpy/ops/object/__init__.pyi +2585 -3078
- bpy/ops/outliner/__init__.pyi +498 -636
- bpy/ops/paint/__init__.pyi +565 -680
- bpy/ops/paintcurve/__init__.pyi +64 -80
- bpy/ops/palette/__init__.pyi +50 -64
- bpy/ops/particle/__init__.pyi +267 -340
- bpy/ops/pose/__init__.pyi +336 -414
- bpy/ops/poselib/__init__.pyi +72 -90
- bpy/ops/preferences/__init__.pyi +386 -463
- bpy/ops/ptcache/__init__.pyi +46 -60
- bpy/ops/render/__init__.pyi +130 -154
- bpy/ops/rigidbody/__init__.pyi +102 -128
- bpy/ops/scene/__init__.pyi +280 -358
- bpy/ops/screen/__init__.pyi +382 -460
- bpy/ops/script/__init__.pyi +24 -30
- bpy/ops/sculpt/__init__.pyi +458 -532
- bpy/ops/sculpt_curves/__init__.pyi +41 -50
- bpy/ops/sequencer/__init__.pyi +1066 -1244
- bpy/ops/sound/__init__.pyi +216 -230
- bpy/ops/spreadsheet/__init__.pyi +30 -38
- bpy/ops/surface/__init__.pyi +108 -120
- bpy/ops/text/__init__.pyi +390 -476
- bpy/ops/text_editor/__init__.pyi +12 -14
- bpy/ops/texture/__init__.pyi +26 -34
- bpy/ops/transform/__init__.pyi +792 -878
- bpy/ops/ui/__init__.pyi +228 -294
- bpy/ops/uilist/__init__.pyi +32 -38
- bpy/ops/uv/__init__.pyi +602 -704
- bpy/ops/view2d/__init__.pyi +156 -184
- bpy/ops/view3d/__init__.pyi +582 -718
- bpy/ops/wm/__init__.pyi +2680 -2928
- bpy/ops/workspace/__init__.pyi +46 -60
- bpy/ops/world/__init__.pyi +12 -16
- bpy/path/__init__.pyi +179 -75
- bpy/props/__init__.pyi +261 -263
- bpy/types/__init__.pyi +17056 -21951
- bpy/utils/__init__.pyi +242 -118
- bpy/utils/previews/__init__.pyi +58 -28
- bpy/utils/units/__init__.pyi +20 -20
- bpy_extras/anim_utils/__init__.pyi +68 -28
- bpy_extras/bmesh_utils/__init__.pyi +8 -2
- bpy_extras/extensions/junction_module/__init__.pyi +5 -2
- bpy_extras/id_map_utils/__init__.pyi +3 -3
- bpy_extras/image_utils/__init__.pyi +44 -11
- bpy_extras/io_utils/__init__.pyi +113 -18
- bpy_extras/keyconfig_utils/__init__.pyi +2 -2
- bpy_extras/mesh_utils/__init__.pyi +71 -19
- bpy_extras/node_shader_utils/__init__.pyi +9 -4
- bpy_extras/node_utils/__init__.pyi +9 -2
- bpy_extras/object_utils/__init__.pyi +71 -12
- bpy_extras/view3d_utils/__init__.pyi +80 -10
- bpy_extras/wm_utils/progress_report/__init__.pyi +13 -10
- bpy_types/__init__.pyi +4197 -1333
- console_python/__init__.pyi +6 -1
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/METADATA +1 -1
- fake_bpy_module-20240517.dist-info/RECORD +353 -0
- freestyle/chainingiterators/__init__.pyi +4 -4
- freestyle/shaders/__init__.pyi +2 -2
- freestyle/types/__init__.pyi +84 -96
- freestyle/utils/ContextFunctions/__init__.pyi +2 -2
- freestyle/utils/__init__.pyi +3 -3
- gpu/matrix/__init__.pyi +6 -8
- gpu/state/__init__.pyi +2 -2
- gpu/types/__init__.pyi +12 -12
- gpu_extras/presets/__init__.pyi +2 -5
- graphviz_export/__init__.pyi +4 -2
- idprop/types/__init__.pyi +2 -2
- imbuf/__init__.pyi +4 -4
- keyingsets_builtins/__init__.pyi +2688 -839
- mathutils/__init__.pyi +194 -238
- mathutils/bvhtree/__init__.pyi +4 -4
- mathutils/geometry/__init__.pyi +153 -155
- mathutils/kdtree/__init__.pyi +8 -12
- mathutils/noise/__init__.pyi +26 -26
- nodeitems_utils/__init__.pyi +1 -1
- rna_info/__init__.pyi +17 -15
- rna_keymap_ui/__init__.pyi +1 -1
- rna_prop_ui/__init__.pyi +16 -14
- rna_xml/__init__.pyi +12 -12
- _bpy_internal/freedesktop/py.typed +0 -0
- bl_app_override/helpers/py.typed +0 -0
- bl_console_utils/autocomplete/complete_calltip/py.typed +0 -0
- bl_console_utils/autocomplete/complete_import/py.typed +0 -0
- bl_console_utils/autocomplete/complete_namespace/py.typed +0 -0
- bl_console_utils/autocomplete/intellisense/py.typed +0 -0
- bl_console_utils/autocomplete/py.typed +0 -0
- bl_i18n_utils/bl_extract_messages/py.typed +0 -0
- bl_i18n_utils/merge_po/py.typed +0 -0
- bl_i18n_utils/settings/py.typed +0 -0
- bl_i18n_utils/utils/py.typed +0 -0
- bl_i18n_utils/utils_cli/py.typed +0 -0
- bl_i18n_utils/utils_languages_menu/py.typed +0 -0
- bl_i18n_utils/utils_rtl/py.typed +0 -0
- bl_keymap_utils/io/py.typed +0 -0
- bl_keymap_utils/keymap_from_toolbar/py.typed +0 -0
- bl_keymap_utils/keymap_hierarchy/py.typed +0 -0
- bl_keymap_utils/platform_helpers/py.typed +0 -0
- bl_keymap_utils/versioning/py.typed +0 -0
- bl_operators/add_mesh_torus/py.typed +0 -0
- bl_operators/anim/py.typed +0 -0
- bl_operators/assets/py.typed +0 -0
- bl_operators/bmesh/find_adjacent/py.typed +0 -0
- bl_operators/bmesh/py.typed +0 -0
- bl_operators/clip/py.typed +0 -0
- bl_operators/console/py.typed +0 -0
- bl_operators/constraint/py.typed +0 -0
- bl_operators/file/py.typed +0 -0
- bl_operators/freestyle/py.typed +0 -0
- bl_operators/geometry_nodes/py.typed +0 -0
- bl_operators/image/py.typed +0 -0
- bl_operators/mesh/py.typed +0 -0
- bl_operators/node/py.typed +0 -0
- bl_operators/object/py.typed +0 -0
- bl_operators/object_align/py.typed +0 -0
- bl_operators/object_quick_effects/py.typed +0 -0
- bl_operators/object_randomize_transform/py.typed +0 -0
- bl_operators/presets/py.typed +0 -0
- bl_operators/rigidbody/py.typed +0 -0
- bl_operators/screen_play_rendered_anim/py.typed +0 -0
- bl_operators/sequencer/py.typed +0 -0
- bl_operators/spreadsheet/py.typed +0 -0
- bl_operators/userpref/py.typed +0 -0
- bl_operators/uvcalc_follow_active/py.typed +0 -0
- bl_operators/uvcalc_lightmap/py.typed +0 -0
- bl_operators/uvcalc_transform/py.typed +0 -0
- bl_operators/vertexpaint_dirt/py.typed +0 -0
- bl_operators/view3d/py.typed +0 -0
- bl_operators/wm/py.typed +0 -0
- bl_operators/world/py.typed +0 -0
- bl_previews_utils/bl_previews_render/py.typed +0 -0
- bl_rna_utils/data_path/py.typed +0 -0
- bl_text_utils/external_editor/py.typed +0 -0
- bl_ui/anim/py.typed +0 -0
- bl_ui/asset_shelf/py.typed +0 -0
- bl_ui/generic_ui_list/py.typed +0 -0
- bl_ui/node_add_menu/py.typed +0 -0
- bl_ui/node_add_menu_compositor/py.typed +0 -0
- bl_ui/node_add_menu_geometry/py.typed +0 -0
- bl_ui/node_add_menu_shader/py.typed +0 -0
- bl_ui/node_add_menu_texture/py.typed +0 -0
- bl_ui/properties_animviz/py.typed +0 -0
- bl_ui/properties_collection/py.typed +0 -0
- bl_ui/properties_constraint/py.typed +0 -0
- bl_ui/properties_data_armature/py.typed +0 -0
- bl_ui/properties_data_bone/py.typed +0 -0
- bl_ui/properties_data_camera/py.typed +0 -0
- bl_ui/properties_data_curve/py.typed +0 -0
- bl_ui/properties_data_curves/py.typed +0 -0
- bl_ui/properties_data_empty/py.typed +0 -0
- bl_ui/properties_data_gpencil/py.typed +0 -0
- bl_ui/properties_data_grease_pencil/py.typed +0 -0
- bl_ui/properties_data_lattice/py.typed +0 -0
- bl_ui/properties_data_light/py.typed +0 -0
- bl_ui/properties_data_lightprobe/py.typed +0 -0
- bl_ui/properties_data_mesh/py.typed +0 -0
- bl_ui/properties_data_metaball/py.typed +0 -0
- bl_ui/properties_data_modifier/py.typed +0 -0
- bl_ui/properties_data_pointcloud/py.typed +0 -0
- bl_ui/properties_data_shaderfx/py.typed +0 -0
- bl_ui/properties_data_speaker/py.typed +0 -0
- bl_ui/properties_data_volume/py.typed +0 -0
- bl_ui/properties_freestyle/py.typed +0 -0
- bl_ui/properties_grease_pencil_common/py.typed +0 -0
- bl_ui/properties_mask_common/py.typed +0 -0
- bl_ui/properties_material/py.typed +0 -0
- bl_ui/properties_material_gpencil/py.typed +0 -0
- bl_ui/properties_object/py.typed +0 -0
- bl_ui/properties_output/py.typed +0 -0
- bl_ui/properties_paint_common/py.typed +0 -0
- bl_ui/properties_particle/py.typed +0 -0
- bl_ui/properties_physics_cloth/py.typed +0 -0
- bl_ui/properties_physics_common/py.typed +0 -0
- bl_ui/properties_physics_dynamicpaint/py.typed +0 -0
- bl_ui/properties_physics_field/py.typed +0 -0
- bl_ui/properties_physics_fluid/py.typed +0 -0
- bl_ui/properties_physics_geometry_nodes/py.typed +0 -0
- bl_ui/properties_physics_rigidbody/py.typed +0 -0
- bl_ui/properties_physics_rigidbody_constraint/py.typed +0 -0
- bl_ui/properties_physics_softbody/py.typed +0 -0
- bl_ui/properties_render/py.typed +0 -0
- bl_ui/properties_scene/py.typed +0 -0
- bl_ui/properties_texture/py.typed +0 -0
- bl_ui/properties_view_layer/py.typed +0 -0
- bl_ui/properties_workspace/py.typed +0 -0
- bl_ui/properties_world/py.typed +0 -0
- bl_ui/space_clip/py.typed +0 -0
- bl_ui/space_console/py.typed +0 -0
- bl_ui/space_dopesheet/py.typed +0 -0
- bl_ui/space_filebrowser/py.typed +0 -0
- bl_ui/space_graph/py.typed +0 -0
- bl_ui/space_image/py.typed +0 -0
- bl_ui/space_info/py.typed +0 -0
- bl_ui/space_nla/py.typed +0 -0
- bl_ui/space_node/py.typed +0 -0
- bl_ui/space_outliner/py.typed +0 -0
- bl_ui/space_properties/py.typed +0 -0
- bl_ui/space_sequencer/py.typed +0 -0
- bl_ui/space_spreadsheet/py.typed +0 -0
- bl_ui/space_statusbar/py.typed +0 -0
- bl_ui/space_text/py.typed +0 -0
- bl_ui/space_time/py.typed +0 -0
- bl_ui/space_toolsystem_common/py.typed +0 -0
- bl_ui/space_toolsystem_toolbar/py.typed +0 -0
- bl_ui/space_topbar/py.typed +0 -0
- bl_ui/space_userpref/py.typed +0 -0
- bl_ui/space_view3d/py.typed +0 -0
- bl_ui/space_view3d_toolbar/py.typed +0 -0
- bl_ui/temp_anim_layers/py.typed +0 -0
- bl_ui/utils/py.typed +0 -0
- bl_ui_utils/bug_report_url/py.typed +0 -0
- bl_ui_utils/layout/py.typed +0 -0
- bmesh/geometry/py.typed +0 -0
- bmesh/ops/py.typed +0 -0
- bmesh/types/py.typed +0 -0
- bmesh/utils/py.typed +0 -0
- bpy/app/handlers/py.typed +0 -0
- bpy/app/icons/py.typed +0 -0
- bpy/app/py.typed +0 -0
- bpy/app/timers/py.typed +0 -0
- bpy/app/translations/py.typed +0 -0
- bpy/msgbus/py.typed +0 -0
- bpy/ops/action/py.typed +0 -0
- bpy/ops/anim/py.typed +0 -0
- bpy/ops/armature/py.typed +0 -0
- bpy/ops/asset/py.typed +0 -0
- bpy/ops/bl_pkg/py.typed +0 -0
- bpy/ops/boid/py.typed +0 -0
- bpy/ops/brush/py.typed +0 -0
- bpy/ops/buttons/py.typed +0 -0
- bpy/ops/cachefile/py.typed +0 -0
- bpy/ops/camera/py.typed +0 -0
- bpy/ops/clip/py.typed +0 -0
- bpy/ops/cloth/py.typed +0 -0
- bpy/ops/collection/py.typed +0 -0
- bpy/ops/console/py.typed +0 -0
- bpy/ops/constraint/py.typed +0 -0
- bpy/ops/curve/py.typed +0 -0
- bpy/ops/curves/py.typed +0 -0
- bpy/ops/cycles/py.typed +0 -0
- bpy/ops/dpaint/py.typed +0 -0
- bpy/ops/ed/py.typed +0 -0
- bpy/ops/export_anim/py.typed +0 -0
- bpy/ops/export_scene/py.typed +0 -0
- bpy/ops/file/py.typed +0 -0
- bpy/ops/fluid/py.typed +0 -0
- bpy/ops/font/py.typed +0 -0
- bpy/ops/geometry/py.typed +0 -0
- bpy/ops/gizmogroup/py.typed +0 -0
- bpy/ops/gpencil/py.typed +0 -0
- bpy/ops/graph/py.typed +0 -0
- bpy/ops/grease_pencil/py.typed +0 -0
- bpy/ops/image/py.typed +0 -0
- bpy/ops/import_anim/py.typed +0 -0
- bpy/ops/import_curve/py.typed +0 -0
- bpy/ops/import_scene/py.typed +0 -0
- bpy/ops/info/py.typed +0 -0
- bpy/ops/lattice/py.typed +0 -0
- bpy/ops/marker/py.typed +0 -0
- bpy/ops/mask/py.typed +0 -0
- bpy/ops/material/py.typed +0 -0
- bpy/ops/mball/py.typed +0 -0
- bpy/ops/mesh/py.typed +0 -0
- bpy/ops/nla/py.typed +0 -0
- bpy/ops/node/py.typed +0 -0
- bpy/ops/object/py.typed +0 -0
- bpy/ops/outliner/py.typed +0 -0
- bpy/ops/paint/py.typed +0 -0
- bpy/ops/paintcurve/py.typed +0 -0
- bpy/ops/palette/py.typed +0 -0
- bpy/ops/particle/py.typed +0 -0
- bpy/ops/pose/py.typed +0 -0
- bpy/ops/poselib/py.typed +0 -0
- bpy/ops/preferences/py.typed +0 -0
- bpy/ops/ptcache/py.typed +0 -0
- bpy/ops/py.typed +0 -0
- bpy/ops/render/py.typed +0 -0
- bpy/ops/rigidbody/py.typed +0 -0
- bpy/ops/scene/py.typed +0 -0
- bpy/ops/screen/py.typed +0 -0
- bpy/ops/script/py.typed +0 -0
- bpy/ops/sculpt/py.typed +0 -0
- bpy/ops/sculpt_curves/py.typed +0 -0
- bpy/ops/sequencer/py.typed +0 -0
- bpy/ops/sound/py.typed +0 -0
- bpy/ops/spreadsheet/py.typed +0 -0
- bpy/ops/surface/py.typed +0 -0
- bpy/ops/text/py.typed +0 -0
- bpy/ops/text_editor/py.typed +0 -0
- bpy/ops/texture/py.typed +0 -0
- bpy/ops/transform/py.typed +0 -0
- bpy/ops/ui/py.typed +0 -0
- bpy/ops/uilist/py.typed +0 -0
- bpy/ops/uv/py.typed +0 -0
- bpy/ops/view2d/py.typed +0 -0
- bpy/ops/view3d/py.typed +0 -0
- bpy/ops/wm/py.typed +0 -0
- bpy/ops/workspace/py.typed +0 -0
- bpy/ops/world/py.typed +0 -0
- bpy/path/py.typed +0 -0
- bpy/props/py.typed +0 -0
- bpy/types/py.typed +0 -0
- bpy/utils/previews/py.typed +0 -0
- bpy/utils/py.typed +0 -0
- bpy/utils/units/py.typed +0 -0
- bpy_extras/anim_utils/py.typed +0 -0
- bpy_extras/asset_utils/py.typed +0 -0
- bpy_extras/bmesh_utils/py.typed +0 -0
- bpy_extras/extensions/junction_module/py.typed +0 -0
- bpy_extras/extensions/py.typed +0 -0
- bpy_extras/id_map_utils/py.typed +0 -0
- bpy_extras/image_utils/py.typed +0 -0
- bpy_extras/io_utils/py.typed +0 -0
- bpy_extras/keyconfig_utils/py.typed +0 -0
- bpy_extras/mesh_utils/py.typed +0 -0
- bpy_extras/node_shader_utils/py.typed +0 -0
- bpy_extras/node_utils/py.typed +0 -0
- bpy_extras/object_utils/py.typed +0 -0
- bpy_extras/view3d_utils/py.typed +0 -0
- bpy_extras/wm_utils/progress_report/py.typed +0 -0
- bpy_extras/wm_utils/py.typed +0 -0
- fake_bpy_module-20240516.dist-info/RECORD +0 -618
- freestyle/chainingiterators/py.typed +0 -0
- freestyle/functions/py.typed +0 -0
- freestyle/predicates/py.typed +0 -0
- freestyle/shaders/py.typed +0 -0
- freestyle/types/py.typed +0 -0
- freestyle/utils/ContextFunctions/py.typed +0 -0
- freestyle/utils/py.typed +0 -0
- gpu/capabilities/py.typed +0 -0
- gpu/matrix/py.typed +0 -0
- gpu/platform/py.typed +0 -0
- gpu/select/py.typed +0 -0
- gpu/shader/py.typed +0 -0
- gpu/state/py.typed +0 -0
- gpu/texture/py.typed +0 -0
- gpu/types/py.typed +0 -0
- gpu_extras/batch/py.typed +0 -0
- gpu_extras/presets/py.typed +0 -0
- idprop/types/py.typed +0 -0
- imbuf/types/py.typed +0 -0
- mathutils/bvhtree/py.typed +0 -0
- mathutils/geometry/py.typed +0 -0
- mathutils/interpolate/py.typed +0 -0
- mathutils/kdtree/py.typed +0 -0
- mathutils/noise/py.typed +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/WHEEL +0 -0
- {fake_bpy_module-20240516.dist-info → fake_bpy_module-20240517.dist-info}/top_level.txt +0 -0
bl_i18n_utils/utils/__init__.pyi
CHANGED
|
@@ -3,7 +3,7 @@ import typing
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
5
|
class I18n:
|
|
6
|
-
""" """
|
|
6
|
+
"""Internal representation of a whole translation set."""
|
|
7
7
|
|
|
8
8
|
parsers: typing.Any
|
|
9
9
|
""" """
|
|
@@ -14,22 +14,23 @@ class I18n:
|
|
|
14
14
|
writers: typing.Any
|
|
15
15
|
""" """
|
|
16
16
|
|
|
17
|
-
def check_py_module_has_translations(self, src, settings):
|
|
18
|
-
"""
|
|
17
|
+
def check_py_module_has_translations(self, src, settings=None):
|
|
18
|
+
"""Check whether a given src (a py module, either a directory or a py file) has some i18n translation data,
|
|
19
|
+
and returns a tuple (src_file, translations_tuple) if yes, else (None, None).
|
|
19
20
|
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
:param src:
|
|
22
|
+
:param settings:
|
|
22
23
|
"""
|
|
23
24
|
...
|
|
24
25
|
|
|
25
|
-
def escape(self, do_all):
|
|
26
|
+
def escape(self, do_all=False):
|
|
26
27
|
"""
|
|
27
28
|
|
|
28
29
|
:param do_all:
|
|
29
30
|
"""
|
|
30
31
|
...
|
|
31
32
|
|
|
32
|
-
def parse(self, kind, src, langs):
|
|
33
|
+
def parse(self, kind, src, langs=None()):
|
|
33
34
|
"""
|
|
34
35
|
|
|
35
36
|
:param kind:
|
|
@@ -38,7 +39,7 @@ class I18n:
|
|
|
38
39
|
"""
|
|
39
40
|
...
|
|
40
41
|
|
|
41
|
-
def parse_from_po(self, src, langs):
|
|
42
|
+
def parse_from_po(self, src, langs=None()):
|
|
42
43
|
"""
|
|
43
44
|
|
|
44
45
|
:param src:
|
|
@@ -46,23 +47,26 @@ class I18n:
|
|
|
46
47
|
"""
|
|
47
48
|
...
|
|
48
49
|
|
|
49
|
-
def parse_from_py(self, src, langs):
|
|
50
|
-
"""
|
|
50
|
+
def parse_from_py(self, src, langs=None()):
|
|
51
|
+
"""src must be a valid path, either a py file or a module directory (in which case all py files inside it
|
|
52
|
+
will be checked, first file matching will win!).
|
|
53
|
+
if langs set is void, all languages found are loaded.
|
|
51
54
|
|
|
52
|
-
|
|
53
|
-
|
|
55
|
+
:param src:
|
|
56
|
+
:param langs:
|
|
54
57
|
"""
|
|
55
58
|
...
|
|
56
59
|
|
|
57
|
-
def print_stats(self, prefix, print_msgs):
|
|
58
|
-
"""
|
|
60
|
+
def print_stats(self, prefix="", print_msgs=True):
|
|
61
|
+
"""Print out some stats about an I18n object.
|
|
62
|
+
If print_msgs is True, it will also print all its translations' stats.
|
|
59
63
|
|
|
60
|
-
|
|
61
|
-
|
|
64
|
+
:param prefix:
|
|
65
|
+
:param print_msgs:
|
|
62
66
|
"""
|
|
63
67
|
...
|
|
64
68
|
|
|
65
|
-
def unescape(self, do_all):
|
|
69
|
+
def unescape(self, do_all=True):
|
|
66
70
|
"""
|
|
67
71
|
|
|
68
72
|
:param do_all:
|
|
@@ -73,7 +77,7 @@ class I18n:
|
|
|
73
77
|
""" """
|
|
74
78
|
...
|
|
75
79
|
|
|
76
|
-
def write(self, kind, langs):
|
|
80
|
+
def write(self, kind, langs=None()):
|
|
77
81
|
"""
|
|
78
82
|
|
|
79
83
|
:param kind:
|
|
@@ -81,14 +85,14 @@ class I18n:
|
|
|
81
85
|
"""
|
|
82
86
|
...
|
|
83
87
|
|
|
84
|
-
def write_to_po(self, langs):
|
|
88
|
+
def write_to_po(self, langs=None()):
|
|
85
89
|
"""
|
|
86
90
|
|
|
87
91
|
:param langs:
|
|
88
92
|
"""
|
|
89
93
|
...
|
|
90
94
|
|
|
91
|
-
def write_to_py(self, langs):
|
|
95
|
+
def write_to_py(self, langs=None()):
|
|
92
96
|
"""
|
|
93
97
|
|
|
94
98
|
:param langs:
|
|
@@ -96,7 +100,7 @@ class I18n:
|
|
|
96
100
|
...
|
|
97
101
|
|
|
98
102
|
class I18nMessage:
|
|
99
|
-
""" """
|
|
103
|
+
"""Internal representation of a message."""
|
|
100
104
|
|
|
101
105
|
comment_lines: typing.Any
|
|
102
106
|
""" """
|
|
@@ -139,34 +143,35 @@ class I18nMessage:
|
|
|
139
143
|
...
|
|
140
144
|
|
|
141
145
|
def do_escape(self, txt):
|
|
142
|
-
"""
|
|
146
|
+
"""Replace some chars by their escaped versions!
|
|
143
147
|
|
|
144
148
|
:param txt:
|
|
145
149
|
"""
|
|
146
150
|
...
|
|
147
151
|
|
|
148
152
|
def do_unescape(self, txt):
|
|
149
|
-
"""
|
|
153
|
+
"""Replace escaped chars by real ones!
|
|
150
154
|
|
|
151
155
|
:param txt:
|
|
152
156
|
"""
|
|
153
157
|
...
|
|
154
158
|
|
|
155
|
-
def escape(self, do_all):
|
|
159
|
+
def escape(self, do_all=False):
|
|
156
160
|
"""
|
|
157
161
|
|
|
158
162
|
:param do_all:
|
|
159
163
|
"""
|
|
160
164
|
...
|
|
161
165
|
|
|
162
|
-
def normalize(self, max_len):
|
|
163
|
-
"""
|
|
166
|
+
def normalize(self, max_len=80):
|
|
167
|
+
"""Normalize this message, call this before exporting it...
|
|
168
|
+
Currently normalize msgctxt, msgid and msgstr lines to given max_len (if below 1, make them single line).
|
|
164
169
|
|
|
165
|
-
|
|
170
|
+
:param max_len:
|
|
166
171
|
"""
|
|
167
172
|
...
|
|
168
173
|
|
|
169
|
-
def unescape(self, do_all):
|
|
174
|
+
def unescape(self, do_all=True):
|
|
170
175
|
"""
|
|
171
176
|
|
|
172
177
|
:param do_all:
|
|
@@ -174,7 +179,7 @@ class I18nMessage:
|
|
|
174
179
|
...
|
|
175
180
|
|
|
176
181
|
class I18nMessages:
|
|
177
|
-
""" """
|
|
182
|
+
"""Internal representation of messages for one language (iso code), with additional stats info."""
|
|
178
183
|
|
|
179
184
|
parsers: typing.Any
|
|
180
185
|
""" """
|
|
@@ -182,10 +187,13 @@ class I18nMessages:
|
|
|
182
187
|
writers: typing.Any
|
|
183
188
|
""" """
|
|
184
189
|
|
|
185
|
-
def check(self, fix):
|
|
186
|
-
"""
|
|
190
|
+
def check(self, fix=False):
|
|
191
|
+
"""Check consistency between messages and their keys!
|
|
192
|
+
Check messages using format stuff are consistent between msgid and msgstr!
|
|
193
|
+
If fix is True, tries to fix the issues.
|
|
194
|
+
Return a list of found errors (empty if everything went OK!).
|
|
187
195
|
|
|
188
|
-
|
|
196
|
+
:param fix:
|
|
189
197
|
"""
|
|
190
198
|
...
|
|
191
199
|
|
|
@@ -193,7 +201,7 @@ class I18nMessages:
|
|
|
193
201
|
""" """
|
|
194
202
|
...
|
|
195
203
|
|
|
196
|
-
def escape(self, do_all):
|
|
204
|
+
def escape(self, do_all=False):
|
|
197
205
|
"""
|
|
198
206
|
|
|
199
207
|
:param do_all:
|
|
@@ -215,9 +223,15 @@ class I18nMessages:
|
|
|
215
223
|
...
|
|
216
224
|
|
|
217
225
|
def gen_empty_messages(
|
|
218
|
-
self,
|
|
226
|
+
self,
|
|
227
|
+
uid,
|
|
228
|
+
blender_ver,
|
|
229
|
+
blender_hash,
|
|
230
|
+
bl_time,
|
|
231
|
+
default_copyright=True,
|
|
232
|
+
settings=None,
|
|
219
233
|
):
|
|
220
|
-
"""
|
|
234
|
+
"""Generate an empty I18nMessages object (only header is present!).
|
|
221
235
|
|
|
222
236
|
:param uid:
|
|
223
237
|
:param blender_ver:
|
|
@@ -228,14 +242,14 @@ class I18nMessages:
|
|
|
228
242
|
"""
|
|
229
243
|
...
|
|
230
244
|
|
|
231
|
-
def invalidate_reverse_cache(self, rebuild_now):
|
|
232
|
-
"""
|
|
245
|
+
def invalidate_reverse_cache(self, rebuild_now=False):
|
|
246
|
+
"""Invalidate the reverse cache used by find_best_messages_matches.
|
|
233
247
|
|
|
234
248
|
:param rebuild_now:
|
|
235
249
|
"""
|
|
236
250
|
...
|
|
237
251
|
|
|
238
|
-
def merge(self, msgs, replace):
|
|
252
|
+
def merge(self, msgs, replace=False):
|
|
239
253
|
"""
|
|
240
254
|
|
|
241
255
|
:param msgs:
|
|
@@ -243,7 +257,7 @@ class I18nMessages:
|
|
|
243
257
|
"""
|
|
244
258
|
...
|
|
245
259
|
|
|
246
|
-
def normalize(self, max_len):
|
|
260
|
+
def normalize(self, max_len=80):
|
|
247
261
|
"""
|
|
248
262
|
|
|
249
263
|
:param max_len:
|
|
@@ -259,7 +273,7 @@ class I18nMessages:
|
|
|
259
273
|
"""
|
|
260
274
|
...
|
|
261
275
|
|
|
262
|
-
def parse_messages_from_po(self, src, key):
|
|
276
|
+
def parse_messages_from_po(self, src, key=None):
|
|
263
277
|
"""
|
|
264
278
|
|
|
265
279
|
:param src:
|
|
@@ -267,8 +281,8 @@ class I18nMessages:
|
|
|
267
281
|
"""
|
|
268
282
|
...
|
|
269
283
|
|
|
270
|
-
def print_info(self, prefix, output, print_stats, print_errors):
|
|
271
|
-
"""
|
|
284
|
+
def print_info(self, prefix="", output=None, print_stats=True, print_errors=True):
|
|
285
|
+
"""Print out some info about an I18nMessages object.
|
|
272
286
|
|
|
273
287
|
:param prefix:
|
|
274
288
|
:param output:
|
|
@@ -281,19 +295,22 @@ class I18nMessages:
|
|
|
281
295
|
""" """
|
|
282
296
|
...
|
|
283
297
|
|
|
284
|
-
def unescape(self, do_all):
|
|
298
|
+
def unescape(self, do_all=True):
|
|
285
299
|
"""
|
|
286
300
|
|
|
287
301
|
:param do_all:
|
|
288
302
|
"""
|
|
289
303
|
...
|
|
290
304
|
|
|
291
|
-
def update(self, ref, use_similar, keep_old_commented):
|
|
292
|
-
"""
|
|
305
|
+
def update(self, ref, use_similar=None, keep_old_commented=True):
|
|
306
|
+
"""Update this I18nMessage with the ref one. Translations from ref are never used. Source comments from ref
|
|
307
|
+
completely replace current ones. If use_similar is not 0.0, it will try to match new messages in ref with an
|
|
308
|
+
existing one. Messages no more found in ref will be marked as commented if keep_old_commented is True,
|
|
309
|
+
or removed.
|
|
293
310
|
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
311
|
+
:param ref:
|
|
312
|
+
:param use_similar:
|
|
313
|
+
:param keep_old_commented:
|
|
297
314
|
"""
|
|
298
315
|
...
|
|
299
316
|
|
|
@@ -310,27 +327,31 @@ class I18nMessages:
|
|
|
310
327
|
...
|
|
311
328
|
|
|
312
329
|
def write_messages_to_mo(self, fname):
|
|
313
|
-
"""
|
|
330
|
+
"""Write messages in fname mo file.
|
|
314
331
|
|
|
315
332
|
:param fname:
|
|
316
333
|
"""
|
|
317
334
|
...
|
|
318
335
|
|
|
319
|
-
def write_messages_to_po(self, fname, compact):
|
|
320
|
-
"""
|
|
336
|
+
def write_messages_to_po(self, fname, compact=False):
|
|
337
|
+
"""Write messages in fname po file.
|
|
321
338
|
|
|
322
339
|
:param fname:
|
|
323
340
|
:param compact:
|
|
324
341
|
"""
|
|
325
342
|
...
|
|
326
343
|
|
|
327
|
-
def enable_addons(addons, support, disable, check_only):
|
|
328
|
-
"""
|
|
344
|
+
def enable_addons(addons=None, support=None, disable=False, check_only=False):
|
|
345
|
+
"""Enable (or disable) addons based either on a set of names, or a set of 'support' types.
|
|
346
|
+
Returns the list of all affected addons (as fake modules)!
|
|
347
|
+
If "check_only" is set, no addon will be enabled nor disabled.
|
|
348
|
+
|
|
349
|
+
"""
|
|
329
350
|
|
|
330
351
|
...
|
|
331
352
|
|
|
332
353
|
def find_best_isocode_matches(uid, iso_codes):
|
|
333
|
-
""" """
|
|
354
|
+
"""Return an ordered tuple of elements in iso_codes that can match the given uid, from most similar to lesser ones."""
|
|
334
355
|
|
|
335
356
|
...
|
|
336
357
|
|
|
@@ -339,8 +360,12 @@ def get_best_similar(data):
|
|
|
339
360
|
|
|
340
361
|
...
|
|
341
362
|
|
|
342
|
-
def get_po_files_from_dir(root_dir, langs):
|
|
343
|
-
"""
|
|
363
|
+
def get_po_files_from_dir(root_dir, langs=None()):
|
|
364
|
+
"""Yield tuples (uid, po_path) of translations for each po file found in the given directory, which should be either
|
|
365
|
+
a directory containing po files using language uid's as names (e.g. fr.po, es_ES.po, etc.), or
|
|
366
|
+
a directory containing directories which names are language uids, and containing po files of the same names.
|
|
367
|
+
|
|
368
|
+
"""
|
|
344
369
|
|
|
345
370
|
...
|
|
346
371
|
|
|
@@ -350,12 +375,15 @@ def is_valid_po_path(path):
|
|
|
350
375
|
...
|
|
351
376
|
|
|
352
377
|
def list_po_dir(root_path, settings):
|
|
353
|
-
"""
|
|
378
|
+
"""Generator. List given directory (expecting one sub-directory per languages)
|
|
379
|
+
and return all files matching languages listed in settings.Yield tuples (can_use, uid, num_id, name, isocode, po_path)Note that po_path may not actually exists.
|
|
380
|
+
|
|
381
|
+
"""
|
|
354
382
|
|
|
355
383
|
...
|
|
356
384
|
|
|
357
385
|
def locale_explode(locale):
|
|
358
|
-
""" """
|
|
386
|
+
"""Copies behavior of BLT_lang_locale_explode, keep them in sync."""
|
|
359
387
|
|
|
360
388
|
...
|
|
361
389
|
|
|
@@ -3,11 +3,17 @@ import typing
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
5
|
def log2vis(msgs, settings):
|
|
6
|
-
"""
|
|
6
|
+
"""Globally mimics deprecated fribidi_log2vis.
|
|
7
|
+
msgs should be an iterable of messages to RTL-process.
|
|
8
|
+
|
|
9
|
+
"""
|
|
7
10
|
|
|
8
11
|
...
|
|
9
12
|
|
|
10
13
|
def protect_format_seq(msg):
|
|
11
|
-
""" "
|
|
14
|
+
"""Find some specific escaping/formatting sequences (like ", %s, etc.,
|
|
15
|
+
and protect them from any modification!
|
|
16
|
+
|
|
17
|
+
"""
|
|
12
18
|
|
|
13
19
|
...
|
bl_keymap_utils/io/__init__.pyi
CHANGED
|
@@ -7,12 +7,12 @@ def indent(levels):
|
|
|
7
7
|
|
|
8
8
|
...
|
|
9
9
|
|
|
10
|
-
def keyconfig_export_as_data(wm, kc, filepath, all_keymaps):
|
|
10
|
+
def keyconfig_export_as_data(wm, kc, filepath, all_keymaps=False):
|
|
11
11
|
""" """
|
|
12
12
|
|
|
13
13
|
...
|
|
14
14
|
|
|
15
|
-
def keyconfig_import_from_data(name, keyconfig_data, keyconfig_version):
|
|
15
|
+
def keyconfig_import_from_data(name, keyconfig_data, keyconfig_version=(0, 0, 0)):
|
|
16
16
|
""" """
|
|
17
17
|
|
|
18
18
|
...
|
|
@@ -23,11 +23,11 @@ def keyconfig_init_from_data(kc, keyconfig_data):
|
|
|
23
23
|
...
|
|
24
24
|
|
|
25
25
|
def keyconfig_merge(kc1, kc2):
|
|
26
|
-
""" """
|
|
26
|
+
"""note: kc1 takes priority over kc2"""
|
|
27
27
|
|
|
28
28
|
...
|
|
29
29
|
|
|
30
|
-
def keymap_init_from_data(km, km_items, is_modal):
|
|
30
|
+
def keymap_init_from_data(km, km_items, is_modal=False):
|
|
31
31
|
""" """
|
|
32
32
|
|
|
33
33
|
...
|
|
@@ -2,7 +2,7 @@ import typing
|
|
|
2
2
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
|
-
def generate(context, space_type, use_fallback_keys, use_reset):
|
|
6
|
-
""" """
|
|
5
|
+
def generate(context, space_type, use_fallback_keys=True, use_reset=True):
|
|
6
|
+
"""Keymap for popup toolbar, currently generated each time."""
|
|
7
7
|
|
|
8
8
|
...
|
|
@@ -2,12 +2,12 @@ import typing
|
|
|
2
2
|
|
|
3
3
|
GenericType = typing.TypeVar("GenericType")
|
|
4
4
|
|
|
5
|
-
def keyconfig_data_oskey_from_ctrl(keyconfig_data_src, filter_fn):
|
|
5
|
+
def keyconfig_data_oskey_from_ctrl(keyconfig_data_src, filter_fn=None):
|
|
6
6
|
""" """
|
|
7
7
|
|
|
8
8
|
...
|
|
9
9
|
|
|
10
10
|
def keyconfig_data_oskey_from_ctrl_for_macos(keyconfig_data_src):
|
|
11
|
-
""" """
|
|
11
|
+
"""Use for apple since Cmd is typically used in-place of Ctrl."""
|
|
12
12
|
|
|
13
13
|
...
|