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
2012-07-29style cleanupCampbell Barton
2012-07-26fix for crash when displaying the tooltip for a non python menu (was ↵Campbell Barton
introduced with recent translation/ui edits)
2012-07-21style cleanupCampbell Barton
2012-07-21use fabsf when using floats.Campbell Barton
2012-07-12Fix crash on creating tooltip for sequencer's gl preview modeSergey Sharybin
Issue was caused by missed value for this enum, fixed by adding check in tooltip generation. Default value for this enum should also be fixed, but that would be in separated commit.
2012-07-09UI translation from inside Blender UI: first part.Bastien Montagne
This commit reshapes a bit runtime button info getter, by adding a new uiButGetStrInfo() which accepts a variable number of uiStringInfo parameters, and tries to fill them with the requested strings, for the given button (label, tip, context, RNA identifier, keymap, etc.). Currently used mostly by existing ui_tooltip_create(), and new UI_OT_edittranslation_init operator. It also adds a few getters (to get RNA i18n context, and current language iso code). Finally, it adds to C operators needed for the py ui_translation addon: *UI_OT_edittranslation_init, which gathers requested data and launch the py operator. *UI_OT_reloadtranslation, which forces a full reload of the whole UI translation (including rechecking the directory containing mo files). For the first operator to work, it also adds a new user preferences path: i18n_branches_directory, to point to the /branch part of a bf-translation checkout.
2012-07-08style cleanupCampbell Barton
2012-07-04More spell checking.Bastien Montagne
2012-07-03More spell and typo fixes (mostly visualise->visualize, grey->gray, ↵Bastien Montagne
normalise->normalize).
2012-05-27code cleanup: defines with braces - end with '(void)0' so callers must end ↵Campbell Barton
with ';' like normal function. ... without this some editors dont parse the source so well.
2012-05-26add vector versions of hsv_to_rgb, rgb_to_hsv & rgb_to_hsv_compatCampbell Barton
2012-05-23Finish changes in up/down arrows for menusSergey Sharybin
Restored single triangle for special menus, which still isn't perfect but probably makes more sense. Added drawflag bit flags to button, which is currently used to declare, that button need to have up/down arrows. This is needed because it's tricky to distinguish if button should have such arrows. For example, ID search buttons is a simple block button which doesn't directly mean it'll have pop-up menu and not all buttons which cases pop-up menu to display need to have such arrows. So currently only ID selector button is forcing up/down arrows to be displayed, all the rest buttons now behaves in the same way as it used to be before.
2012-05-08style cleanup: gpencil & metaballCampbell Barton
2012-05-02Fix for r46170.Thomas Dinges
* "but=but->next" was there twice, once in the loop block and once at the end, caused Blender to crash on startup. Please always compile and check it works before committing. :)
2012-05-02Logic brick connection highlighting on mouseover. Merged from candy branch. ↵Matthew Smith
I hope it works - my first commit to trunk ^_^
2012-05-01style cleanup: guys - set your editors to tabs!Campbell Barton
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-10code cleanup: replace (val >> 16) with macro RNA_SUBTYPE_UNIT_VALUE(val)Campbell Barton
2012-03-30style cleanup: interfaceCampbell Barton
2012-03-24style cleanup: follow style guide for/with/if spacingCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-20Quiet warnings about unused functions and variables.Nicholas Bishop
Commented or '#if 0' these functions/variables and marked with 'UNUSED' comment so they can be restored in the future if needed.
2012-03-18spelling cleanupCampbell Barton
2012-03-16i18n stuff: adds translation_context to RNA structs (used for there ui ↵Bastien Montagne
name), and a first default "Operator" one for all operators' label. The fact is, operators' label are nearly always verbs, while properties labels are nearly always nouns. So this should already solve many translations' problems regarding noun/verb confusion. This commit also simplifies a bit i18n usage: *Now IFACE_ and TIP_ macros (or there context versions, CTX_IFACE_/TIP_) are used nearly everywhere (with one exception, where code is a bit complex and needs to manually test whether ui/tip translations is allowed, so no need to redo it later through those macros). *Also, those macros are now defined to NOP in case WITH_INTERNATIONAL is false, which avoid testing that define everywhere in code!
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-08building without python works again, cleanup bmesh include paths (cmake and ↵Campbell Barton
scons).
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
2012-03-03style cleanup - use aligned * prefixed blocks for descriptive comments (was ↵Campbell Barton
already used a lot and part of proposed style guide).
2012-03-01Spelling CleanupCampbell Barton
2012-01-22reduce operator lookups in the UI (could do 4 hash lookups per button).Campbell Barton
2012-01-22fix for memory leak displaying shortcuts to buttons which use allocated ↵Campbell Barton
string, also de-duplocate this code which had this error in 2 places. noticed while testing 1023 length paths.
2012-01-22style chang, made mainly because I wanted to be able to add breakpoints to ↵Campbell Barton
MEM_freeN calls which were on the same line as the if's.
2012-01-21modify number button copy/paste to work as if you enter the button, select ↵Campbell Barton
text, type into another button the same value. This means you can copy/paste units and python expressions.
2012-01-12replace fixed sizes with sizeof when passing string length since size wasn't ↵Campbell Barton
always correct.
2012-01-11Longer names support for all ID and other object namesSergey Sharybin
This commit extends limit of ID and objects to 64 (it means 63 meaning characters and 1 for zero-terminator). CustomData layers names are also extended. Changed DNA structures and all places where length constants were hardcoded. All names which are "generating" from ID block should be limited by MAX_ID_NAME-2, all non-id names now has got own define called MAX_NAME which should be used all over for non-id names to make further name migration stuff easier. All name fields in DNA now have comment with constant which corresponds to hardcoded numeric value which should make it easier to further update this limits or even switch to non-hardcoded values in DNA. Special thanks to Campbell who helped figuring out some issues and helped a lot in finding all cases where hardcoded valued were still used in code. Both of forwards and backwards compatibility is stored with blender versions newer than January 5, 2011. Older versions had issue with placing null-terminator to DNA strings on file load which will lead to some unpredictable behavior or even crashes.
2011-12-22split >120 length lines (mostly if statements)Campbell Barton
2011-12-21Fix #29670: color picker draw issues with RGB values out of soft range.Brecht Van Lommel
2011-12-16static functions for getting power of 2 values were being copied about too ↵Campbell Barton
much, add to the BLI_math api. - is_power_of_2_i - power_of_2_min_i - power_of_2_max_i
2011-11-26replace FILE_MAXDIR + FILE_MAXFILE with FILE_MAXCampbell Barton
2011-11-22Fix for long-standing TODO item: Clicking on overlapping nodes would ↵Lukas Toenne
activate buttons below. This patch adds a new CLIP_EVENTS flag for uiBlock, which will prevent the ui_but_find_mouse_over search function from looking into "lower" uiBlocks (i.e. those further back in the list). The order of block creation for nodes has also been updated to use the z-ordering (just the nodetree->nodes list). In order for this to work, the bounding box values of the uiBlocks have to be set explicitely to fit the node size, those are usually either zero or calculated from the internal buttons.
2011-11-19UI: small tweak to tooltips for enum menus, it wasn't very clear whichBrecht Van Lommel
description was for the property and which for the item.
2011-11-15pass a pointer to IDP_New's IDPropertyTemplate rather then a copy.Campbell Barton
2011-11-14minor cleanup Campbell Barton
- use NULL rather then 0 for pointers - use static functions where possible - add own includes to ensure func's and their declarations don't get out of sync.
2011-11-14fix [#29242] menus have no keyboard shortcutsCampbell Barton
2011-11-11correct indentation and some whitespace edits (no functional changes)Campbell Barton
2011-11-09Moving i18n code to BLF_translation.hBastien Montagne
This way, we will be able to use it in non-UI parts of the code too.
2011-11-08- disable undo for user preferences (every click would do push an undo), was ↵Campbell Barton
noticeable on large files. - also netbeans project file generator now uses branch name for project.
2011-11-07replace VECCOPY with copy_v3_v3, same for 2d copy, also added vec copy ↵Campbell Barton
functions for int & char.
2011-11-05py operators - don't use the screen as an operators ID anymore, screen's ↵Campbell Barton
don't store operator instances and operator functions have access to the context if they need the current screen. also add some more py api file descriptions.