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-11-12Merge w/ trunk: r51141-52085 (Important Note: gameengine and blenderplayer ↵Jason Wilkins
were not merged due to complex differences)
2012-10-24use min_ii/max_ii over MIN2 MAX2Campbell Barton
2012-10-23rename api functions...Campbell Barton
- minf, maxf, mini, maxi --> min_ff, max_ff, min_ii, max_ii
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-10-07Merge w/ trunk: r50097-r51140 (also, I got ahead of myself and fixed a lot ↵Jason Wilkins
of warnings before committing)
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-21code cleanup: use rect size macros for the interfaceCampbell Barton
2012-08-21"Pens Down" merge /w trunk r49015-r50064. Make clean patches for Google ↵Jason Wilkins
Summer of Code against trunk revision 50064. Note: The new flag LIB_LOAD_ASYNC in the GE conflicted with trunks new LIB_LOAD_SCRIPTS, so I changed the value of ASYNC. So, heads up if these values has been saved in any .blend files! Once again (see last merge note) it seems like node_draw.c had a bunch of wierd conflicts that make it look like it missed a merge or update. Not sure what is going on with that file. Other parts of the merge had some difficulty resolving proper bracket nesting in places where it seems like the merge should have gone smoothly. Maybe that was KDiff3's fault? This reduces my confidence on if bugs were not introduced.
2012-08-21code cleanup: use BLI_RCT_SIZE macroCampbell Barton
2012-08-19style cleanupCampbell Barton
2012-08-19fix for own commit r49991, this exposed bad logic in rect copy function.Campbell Barton
2012-08-18use rctf struct for UI buttons and blocks, easier to read and means we can ↵Campbell Barton
use BLI_rctf functions.
2012-08-08header fixup, aspect api, warning fixes, removed some minor use of display ↵Jason Wilkins
lists, lots of other misc. changes.
2012-08-07Converted all glMatrix calls to gpuMatrixAlexander Kuznetsov
gpuMatrixCommit occurs right before glDraw* (mainly in gpu_immediate and few other places)
2012-07-29code cleanup: replace MIN2/MAX2 with minf/maxfCampbell Barton
2012-07-18Merged w/ Trunk: r48664-r49014Jason Wilkins
Note: draw_node.c seemed like it may have missed a previous merge, but otherwise this went smoothly.
2012-07-11vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)Campbell Barton
use where possible.
2012-06-28Color Readability: Start to make drawing color specification more consistent ↵Jason Wilkins
and readable. Changed gpuColorPack to gpuColor3x and gpuColor4x which take a hex color code. Define common color codes as readable macros (e.g., #define CPACK_RED 0xFF0000) Special gpuGrey function for shades of grey Change most places that specify an alpha to use floats instead of bytes Always format color components as 0.0f and alpha as 0.000f There are still several places that specify compile time constants for colors and that use float or bytes instead of a single hex. I'd like to unify all of these to use hex, and then put all the colors into GPU_colors.h (if it makes sense to). Some files might do better with a local color dictionary.
2012-06-26Merge w/ Trunk: r47143-r48302Jason Wilkins
2012-06-25Big Commit - Ported Blender/BGE to use GPU_compatibility for most drawing.Jason Wilkins
Replaces glBegin/glEnd with gpuBegin/gpuEnd Replaces client side arrays with gpuDrawArrays/gpuDrawElements/gpuDrawElements Replaces GLUquadric and other simple geometric primitives with a new primitive library Replaces display lists with the ability to save geometry buffers and invoke them with glDraw/glRepeat Not complete, there are still some places where old functions remain. Especially in test programs and external libraries. Not tested thoroughly yet! I've tested a lot, but there are still lots of regressions.
2012-06-06style cleanupCampbell Barton
2012-06-05style cleanupCampbell Barton
2012-05-29Merged w/ Trunk r46993-r46142Jason Wilkins
This merge was funny. The merge-info property was not up to date from the last merge and there were conflicts with things that should have been merged before. I did my best to fix things up.
2012-05-28* Some code optimizations to panel collapse code, to avoid calculations for ↵Thomas Dinges
each panel. Suggested by "Bao 2".
2012-05-28User Interface Panels:Thomas Dinges
* Add a solo mode for panels, CTRL+LMB on a panel header. This closes all other panels. Patch [#22233] by sneg negr (sneg) with modifications by myself to exclude panels with hidden header (like context)
2012-05-27style cleanupCampbell Barton
2012-05-19code cleanup: use TRUE/FALSE rather then 1/0 for better readability, also ↵Campbell Barton
replace do prefix with do_ for bool vars.
2012-05-17style cleanup: line length and ensure some macros error when not ending with ';'Campbell Barton
2012-03-30style cleanup: interfaceCampbell 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-18spelling cleanupCampbell Barton
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-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.
2011-12-18Fix for toggle buttons in node headers.Lukas Toenne
The buttons for "hiding" (collapsing) a node, hiding unlinked sockets, additional options, the preview and for opening a node group were all using a custom mouse test function, which was broken. They now use actual buttons instead of just displaying icons. Before executing the respective operators the button's node has to be selected and activated, so the buttons use an intermediate handle function, which selects the node and then calls the operator.
2011-11-30UI: another tweak to panel header drawing, to get the checkboxes positioned ↵Brecht Van Lommel
right.
2011-11-27UI: tweak to panel header padding, made region expander a bit smaller andBrecht Van Lommel
fix bug #29422, left expander drawing over adjacent editor.
2011-11-20UI: fix issue with part of panels going offscreen after recent commit.Brecht Van Lommel
The code here was tricky, with ED_region_panels trying to match the complex logic in uiAlignPanelStep, now refactored the code so it's avoided.
2011-11-20UI:Brecht Van Lommel
* Add theme option to show panel header background. * Draw panel collapse widget a bit smaller. * Add theme option to draw icons muted. * Code tweak: replace U.themes.first by UI_GetTheme() calls.
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-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22- use defines for wmKeyMapItem & wmEvent alt/shift/ctrl/oskeyCampbell Barton
- clear utf8_buf on key up & complain if its set (should never happen)
2011-10-21Cleaning i18n code.Bastien Montagne
Previous state: Right now, there are "memories" of the "old" (less than a month!) translation way: * A few remaining calls to BLF_gettext() (only UI_translate_do_iface and UI_translate_do_tooltip should be used). * The _() macro still also calls BLF_gettext()! New state: Here are the changes made by the patch: * Removing the no more needed _() macro. * Removing most N_() and _() calls, only keeping the few needed ones (i.e. strings that are in no other way findable by xgettext and/or update_msg script). * Defining in UI_interface.h IFACE_() and TIP_() macros (resp. for UI_translate_do_iface and UI_translate_do_tooltip). * Replacing all calls to BLF_gettext by relevant IFACE_ or TIP_ one. * Replacing all calls to UI_translate_do_iface by IFACE_. * Replacing all calls to UI_translate_do_tooltip by TIP_. All this somewhat clarifies and simplifies the code. On the bf-translations scripts side, this only implies adding IFACE_ and TIP_ as detection markers for xgettext. It also allows to reduce POTFILES.in quite notably (only 20 files remaining in it). Please also have a look at those pages: * Coder POV: http://wiki.blender.org/index.php/Dev:2.5/Source/Interface/Internationalization * Translator POV: http://wiki.blender.org/index.php/Dev:2.5/Doc/How_to/Translate_Blender
2011-09-26change define INTERNATIONAL --> WITH_INTERNATIONALCampbell Barton
also rename backface_culling --> use_backface_culling (which is used elsewhere in rna)
2011-09-20i18n: code clean-upSergey Sharybin
- Move all translation-related declarations to BLF_translation.h - Reverted some changes to match trunk svn rev40365
2011-09-19i18n: code cleanup and fixing unneeded translation (when partial translation ↵Sergey Sharybin
is used only)
2011-09-15Fixing issues with i18n stuff:Sergey Sharybin
- Make gettext stuff draw-time. so switching between languages can happens without restart now. - Added option to translate visible interface (menus, buttons, labels) and tooltips. Now it's possible to have english UI and localized tooltips. - Clean-up sources, do not use gettext stuff for things which can be collected with RNA. - Fix issues with windows 64bit and ru_RU locale on my desktop (it was codepage issue). - Added operator "Get Messages" which generates new text block with with all strings collected from RNA. - Changed script for updating blender.pot so now it appends messages collected from rna to automatically gathered messages. To update .pot you have to re-generate messages.txt using "Get Messages" operator and then run update_pot script. - Clean up old translation stuff which wasn't used and most probably wouldn't be used. - Return back "International Fonts" option, so if it's disabled, no gettext lookups happens on draw. - Merged read_homefile function back. No need in splitting it. TODO: - Custom fonts and font size. Current font isn't nice at least for russian locale, it's difficult to read it. - Put references to messages.txt so gettext can merge translation when name/description of some property changes.
2011-09-15svn merge -r39834:40222 https://svn.blender.org/svnroot/bf-blender/trunk/blenderSergey Sharybin