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
2011-10-23Typo fixes for the typo fixes. :DThomas Dinges
2011-10-23fix some typo'sCampbell Barton
2011-10-23- fix for error with utf8 textinput for buttonsCampbell Barton
- ensure input is valid utf8 from ghost and NULL then complain if its not. - added function to get utf8 size BLI_str_utf8_size()
2011-10-23Code refactoring: split main 3d view drawing function into object drawing andBrecht Van Lommel
info overlay drawing functions.
2011-10-23RNA: fix collection iterator issue in c++ api with msvc.Brecht Van Lommel
2011-10-23committing 'a' to merge into the tagCampbell Barton
2011-10-23minor formatting edits (80 char width)Campbell Barton
2011-10-23set pythons 'sys.stdout' encoding to utf-8 and use surrogateescape error ↵Campbell Barton
handler. without this printing a unicode string may raise an error which is a real pain especially since script authors often forget this and print the path of a file for example on export which can make a script fail outright when writing to paths with certain encodings.
2011-10-23rna access to event.unicode so scripts can get unicode text input.Campbell Barton
2011-10-23py/rna api crash fix: getting event.ascii would crash blender (strange ↵Campbell Barton
nobody noticed this, seems its been there for over a year???).
2011-10-23BLI_make_file_string wasn't guaranteed to initialize the resulting path, ↵Campbell Barton
some parts of the code accounted for this but most not, always initialize the string to "".
2011-10-23use defines for keying set names to avoid confusing them with text and ↵Campbell Barton
having some incorrect names (as fixed in last commit)
2011-10-23fix for incorrect keying set names 'Scale' vs 'Scaling', where 'Scale' was ↵Campbell Barton
hard coded in auto keyframe when 'Only Insert Needed' option was enabled and would always fail to return a keying set. - to be included in 2.60a.
2011-10-23Context menu 'Edit Source' operator no longer needs to be enabled as a build ↵Campbell Barton
option, improved this so the python file:line lookups are only done when the operator runs (previously this was done for every button, every draw when the build option was enabled). Perhaps this should be hidden when not running with --debug, easy to change.
2011-10-23fix for own mistake r41192Campbell Barton
2011-10-23rename user interface operator properties from 'op' to 'props'Campbell Barton
2011-10-22Fix for an unhandled exception. Campbell: please include in 2.60a.Joerg Mueller
2011-10-22Render API: add update_progress() function to update progress bar progress fromBrecht Van Lommel
external render engines. Also refactoring to move some render engine registration stuff out of RNA and into render module.
2011-10-22Code refactoring: move external engine functions into own file.Brecht Van Lommel
2011-10-22* Re-commit splash screen with Alpha header. Thomas Dinges
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
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-22py api - added PyC_UnicodeFromByteAndSize() to match ↵Campbell Barton
PyUnicode_FromStringAndSize() also made RNA_property_string_get_alloc() return the length of the new string to avoid having to run strlen on it after.
2011-10-22utf8 OSX - cleanupDalai Felinto
I still think utf8_buf can be 5 (4 bytes + '\0'), but even 6 may not be enough to what is coming next (NFC - precomposedStringWithCanonicalMapping) incorporating ascii as a subset of utf8. I don't think we need to re-encode it. U+0000 ~ U+00FF - latin1 set
2011-10-22Fix for alt-tab in Windows.Alexander Kuznetsov
utf8_buf can be not null terminated, plus not init as in this case. (I need to investigate more)
2011-10-22BLI_utildefine minor editsCampbell Barton
- removed AVG2, was only used once. - remove unused LONGCOPY define. - removed BLI_STRUCT_OFFSET, was only used once, replce with offsetof - formatting edits, split some macros over multiple lines.
2011-10-22Fix for text object on windows.Alexander Kuznetsov
No utf8 when keyup
2011-10-22header cleanup and typo'sCampbell Barton
2011-10-22Code cleanup: remove BLI_exist, now there is only BLI_exists. One function justBrecht Van Lommel
called the other, they did the same thing.
2011-10-21utf8 OSX - disabling utf8 at KeyUp, otherwise TextObject doesn't work.Dalai Felinto
This bug is also present in Windows, so I believe the real bug is in Linux (and in the text object input). Also Cmd+C and Cmd+v doesn't work for utf8 yet.
2011-10-21UTF8 input support for Windows.Alexander Kuznetsov
ToDo: * add support for dead keys * other input methods (for hieroglyphs)
2011-10-21Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrapBrecht Van Lommel
in BLI_ functions.
2011-10-21Code cleanup: remove some unused code in header.Brecht Van Lommel
2011-10-21Fix compilation error with MSVC caused by recent commit.Sergey Sharybin
2011-10-21fix [#28967] Attempting to add a new pose to the Pose Library causes Blender ↵Campbell Barton
2.60 RC2 to crash.
2011-10-21svn merge -r41171:41170 . --- fix coming nextCampbell Barton
2011-10-21misc cleanupCampbell Barton
- remove redundant casts - replace strcmp's with "" to just check first char. - added WM_event_print(), debug mode only to print events since the structs values are not that meaningful. - added warnings if locale/font dirs cant be found.
2011-10-21disabling utf8 for OSX. It's not working 100% and it's breaking other thingsDalai Felinto
2011-10-21Bugfix [#28967] Attempting to add a new pose to the Pose LibraryJoshua Leung
causes Blender 2.60 RC2 to crash This commit just rolls back part of r.40868, which was causing crashes when trying to treat id-property-groups as bpy.type.Property to access a special "rna_type" attribute added as part of said commit. The underlying Py-API voodoo here is far too evil (along with the myriad of ways of creating custom props) to work out an API fix for, but at least we don't get anymore crashes now. In tests here, this check even seems redundant!
2011-10-21remove scons files for unsupported/obscure unix variants, these configs are ↵Campbell Barton
not maintained (aix defined FREE_WINDOWS for example and nobody noticed), and CMake builds on OpenBSD/NetBSD with no manual configuration.
2011-10-21cleanup scons build flags, many duplicates because because of confusion ↵Campbell Barton
between CFLAGS/CPPFLAGS/CCFLAGS/CXXFLAGS, devs would set multiple to be on the safe side. - defines go in CPPFLAGS - C & C++ flags go in CCFLAGS - CFLAGS / CXXFLAGS are C OR C++ only. also commented intended ghost unicode/ascii usage.
2011-10-21- remove release/bin/.blender/.bfont.ttf, we have ↵Campbell Barton
./release/datafiles/bfont.ttf already, and its not used anymore. - removed scons WITH_BF_FREETYPE
2011-10-21move fonts/ and locale/ dirs into release/datafiles, since blender wasn't ↵Campbell Barton
finding them in their current location and so to test international characters you had to 'make install'. updated scons/cmake/translation-scripts.
2011-10-21- add convenience functions BLI_split_dir_part / BLI_split_file_part, which ↵Campbell Barton
just call BLI_split_dirfile(). - add a fixed value for bprogdir (the dir of bprogname), since it was being used for resource lookups.
2011-10-21Fix copyright assignment.Guillermo S. Romero
2011-10-21replace BLF's blf_utf8_next() with BLI_str_utf8_as_unicode_step(),Campbell Barton
also fixed some spelling errors.
2011-10-21- minor edits to font drawing/utf8, was needlessly casting int/unsigned int.Campbell Barton
- also ifdef'd out more smoke function when the modifiers disabled.
2011-10-21replace own unicode functions with versions from glib which support more ↵Campbell Barton
unicode characters. added BLI_str_utf8_as_unicode(), BLI_str_utf8_from_unicode()
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-10-20SVN maintenance.Guillermo S. Romero