Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-08RNA API: remove unused PROP_NEVER_CLAMP flagCampbell Barton
2014-01-23WM: add WM_operatortype_remove_ptr to remove a known operatorCampbell Barton
2014-01-11Events: support for buttons 6 & 7 (some trackballs have these) X11 onlyCampbell Barton
Patch by Marcus von Appen Note: this patch makes ISMOUSE accept INBETWEEN_MOUSEMOVE as a mouse event where before it didnt.
2014-01-08Code Cleanup: de-duplicate text pasting which only used the first lineCampbell Barton
2014-01-04RNA API: use bool's for enum itemf callbacks.Campbell Barton
2013-12-09Fix T37747: keymap import error with region timers.Brecht Van Lommel
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
2013-10-15Fix [#37077] User prefs > Input and Outliner Keymaps mismatch in representation.Bastien Montagne
Remove KeyMap mode from outliner, was an old half-finished features redondant with user preferences settings... Also moved key map item's "event type to map type" and map type defines at WM level, this is too much generic to be at RNA level. Also added a check in versionning code to convert all outdated outliner modes to a valid one (seems old 'verse' ones were not handled as well). Thanks to Brecht for reviews and advices!
2013-09-20code cleanup: quiet rna warnings, remove remove_strict_flags() for cmake/rna.Campbell Barton
also set_source_files_properties() wasn't working for rna_*_gen.c files, set dna.c and generated data files with generated property too.
2013-09-12code cleanup: set enums as static or add RNA_enum_types.h where they are ↵Campbell Barton
used elsewhere. also minor style cleanup.
2013-09-07wrap cursor setting so python can make use of it, eg:Campbell Barton
- win.cursor_set('WAIT') - win.cursor_modal_set('TEXT') - win.cursor_modal_restore()
2013-07-19code cleanup: replace inline loop with BLI_findstringCampbell Barton
2013-06-29Fix more swapped descriptions for mouse X/Y position properties.Brecht Van Lommel
2013-06-29Fix swapped descriptions for window X/Y position properties.Brecht Van Lommel
2013-06-18use booleans for operator check functions.Campbell Barton
2013-06-03fix [#35468] screen list shows temp layoutCampbell Barton
2013-06-01add popup menu to allow python scripts to show popups without having to ↵Campbell Barton
define a menu class first.
2013-05-29Fix #35374: Region overlap + bugsSergey Sharybin
Was missing keymap for REGION_TIMER, which ended up in missing updates happening. Added this kind of timer to RNA, so keymaps could bind to it. Also made 3ds max keymap working again. Too bad it was broken in 2.67 and 2.67a :S
2013-05-02Fix #35157: export key configuration did not export text input events correctly.Brecht Van Lommel
2013-03-15Small fix to previous commit: temp buffer for translation context needs to ↵Bastien Montagne
be initialized to relevant default value for operators... Also fixed not initializing those buffers in macro register function.
2013-03-15Add the possibility to define the translation context for py rna classes ↵Bastien Montagne
(operators, panels and menus). Thanks to Campell and Brecht for the reviews!
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-07use bool for rna funcs.Campbell Barton
2013-01-22fix [#33841] Disabling and re-enabling live addon crashes blender ↵Campbell Barton
(modal/draw handler)
2013-01-20Python i18n API. Many thanks to Campbell and Brecht for the reviews and ↵Bastien Montagne
suggestions! This commit adds: * A new bpy.app.translations module giving some info about locales/translation stuff (current active locale, all locales currently known by blender, all translation contexts currently defined, etc.). * The ability for addons to feature translations, using the (un)register functions of above module. * Also cleans up "translate py string when storing into RNA prop" by removing "PROP_TRANSLATE" string's subtype, and adding a PROP_STRING_PY_TRANSLATE flag instead (this way it is no more exposed to python...). Addon translations work with py dictionaries: each addon features a dict {lang: {(context, message): translation, ...}, ...}, which is registered when the addon is enabled (and unregistered when disabled). Then, when a key (context, message) is not found in regular mo catalog, a cache dict for current locale is built from all registered addon translations, and key is searched in it. Note: currently addons writers have to do all the work by hand, will add something (probably extend "edit translation" addon) to automate messages extraction from addons soon(ish)! To get a look to expected behavior from addons, have a look at render_copy_settings/__init__.py and render_copy_settings/translations.py (rather stupid example currently, but...). Once we have a complete process, I'll also update relevant wiki pages.
2013-01-09add RNA_def_struct_ptr(...) to use for runtime struct registration, saves ↵Campbell Barton
over 2000 string lookups on startup and gives overall ~10% speedup for starting blender on my system.
2013-01-05Remove some uneeded/irrelevant "PROP_TRANSLATE".Bastien Montagne
This sub-type is actually *only* needed for the "text" property of UI rna api (maybe we should rename it to "PROP_PY_TRANSLATE", as it is anyway only 'active' during conversion from py string to RNA string property...). In fact, I think it should only be used in RNA func properties anyway, as it stores the translated string into the property, it should only be used with "one time" RNA stuff...
2012-12-18changing RNA properties now prints python script in the info view.Campbell Barton
next will add context so bpy.data.xxx[id] are not used for all references.
2012-12-11RNA: add Window x/y position and size access.Brecht Van Lommel
2012-11-12code cleanup: spelling,Campbell Barton
also initialize bmesh-bevel settings struct to zero to avoid possible uninitialized memory later.
2012-10-31Fix for #29056: NDOF motion events not configurable in user preferences.Brecht Van Lommel
2012-10-26Fix for a nasty (and dangerous, buffer overflow) bug that quite oddly seems ↵Bastien Montagne
to have never shown its ugly face until today (at least for me)... It was revealed by mocap's addon stupidly long operators label names (fix comming in next commit): the rna_Operator_bl_idname_set() and rna_Operator_bl_label_set() were clamping there string copy to RNA_DYN_DESCR_MAX instead of OP_MAX_TYPENAME!
2012-10-26style cleanupCampbell Barton
2012-10-21A final bunch of UI messages fixes and tweaks, and some ↵Bastien Montagne
BKE_report()<->BKE_reportf() fixes.
2012-10-20add comment about misuse of enum set function.Campbell Barton
2012-10-20Bugfix #32641Ton Roosendaal
User preferences, keymap editor: it allowed to set any event for "key modifier", and not even to NULL the option. Now it limits to keyboard events, on mouseclicks it clears, on ESC it exits without changes.
2012-10-13More UI messages fixes.Bastien Montagne
Also forgot to translate reports' titles, and change some usages of BKE_reportf to simple BKE_report, when the former is not needed!
2012-09-23Make "name" member of RNA KeymapItem struct return the translated name of ↵Bastien Montagne
the underlying operator. Else, op names are usually not translated in keymap part of the user preferences! Thx to Miklós Pomsár for pointing this bug. :)
2012-09-22code cleanup: make many functions staticCampbell Barton
2012-07-04More spell checking.Bastien Montagne
2012-05-29Fix #31591: info header reports missing with custom key configuration due toBrecht Van Lommel
wrong keymap timer writing, some timer types were missing.
2012-05-21code cleanup: spellingCampbell Barton
2012-05-12style cleanup: mostly whitespace in rnaCampbell Barton
2012-04-28style cleanup: changes to brace placement / newlines - for/while/if/switchCampbell Barton
2012-04-17Fix #30570: UI issue editing modal keymaps below operators using them.Brecht Van Lommel
2012-04-10Address [#30842] Blenders Measurement Units set to Metric, makes some ↵Campbell Barton
Precision Flaws. use the same precision for location all over (2-5 was used), use define as 5. also disallow boolean to have any subtype besides PROP_LAYER_MEMBER, some booleans had TRANSLATION / XYZ subtypes which don't make sense.
2012-04-09fix [#30865] Crash when browsing last operators in outliner (or by Python API)Campbell Barton
Operator descriptions can be NULL pointers, fix this by making use of PROP_NEVER_NULL flag, when its not set, generated string funcs will test for NULL.
2012-03-18Code style edits (mostly spliting long lines, and removing trailing spaces).Bastien Montagne
Note about long lines: I did not touch to two pieces of code (because I don’t see any way to keep a nicely formated, compact code, with shorter lines): * The node types definitions into rna_nodetree_types.h * The vgroup name functions into rna_particle.c
2012-03-18spelling cleanupCampbell Barton
2012-03-09style cleanup: comment blocksCampbell Barton