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-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-20- add BLI_string_utf8.h for unicode functions.Campbell Barton
- move font.c unicode functions into string_utf8.c and rename to fit with other BLI_string funcs.
2011-10-12fix for crash caused by invalid active material index while editing text.Campbell Barton
also added some better error checking in object_remove_material_slot() so it will print an error rather then crashing if this case ever happens again.
2011-10-10header cleanup (no functional changes)Campbell Barton
2011-10-08fix [#28846] Relative paths on linked scene failsCampbell Barton
2011-05-01replace inline string searches with BLI_findstring(), strcmp(..., ""), with ↵Campbell Barton
char comparisons.
2011-04-15possible fix [#26930] Blender 2.57 Shuts down when trying to edit 3D textCampbell Barton
can't test but this avoids using strncat which is giving problems.
2011-03-28particles & vector-font: floats were being implicitly promoted toCampbell Barton
doubles, adjust to use floats.
2011-02-27doxygen: blender/blenkernel tagged.Nathan Letwory
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-01-15remove unused vars & avoid some clang warnings.Campbell Barton
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-08remove unused code & variables.Campbell Barton
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-31Silence more compiler warnings.Guillermo S. Romero
2010-11-26Fix #24914: 3D text glitch and crashSergey Sharybin
Crash was caused by invalid utf8 sequence pasteing from the clipboard. Prevent memory corruption by giving utf8slen() the same rules of bytes checking as utf8towchar() does.
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-05tedious string copying changesCampbell Barton
- use sizeof() in more places. - fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short. - replace strncpy and strcpy with BLI_strncpy
2010-11-03use c90 compatible static initializers.Campbell Barton
2010-10-24bugfix [#24357] Font folder can be specified but is not openedCampbell Barton
- open operator was incorrectly checking if the font path was set. - rna ID editable check was also incorrect, checking the ID name rather then the filename. - use define FO_BUILTIN_NAME rather then "<builtin>".
2010-10-06remove some unused code and reduced the scope if some vars (no functional ↵Campbell Barton
change).
2010-09-22minor changes to text3d editing, skip wchar --> utf-8 conversion on cursor ↵Campbell Barton
movement.
2010-08-31patch [#23585] Fix for [#23553] in File Selector; Multiple Calls of SelectorCampbell Barton
from Alexander Kuznetsov (alexk) bugfix for [#23553] F2 on filebrowser = bug? from the tracker --- snip File Explorer redraws weirdly on second press of F2 if non-default view or file types were selected previously. This patch prohibits second call of file selector in the same window. The bug goes much deeper. If file selector is never closed properly (cancel or select), it never gets released. (at least the handler). If you press F2 or Ctrl-F3 ten times and than "Back to Previous" and repeat all of this several times Blender will freeze. Also after calling file selector at least two times, on cancellation Blender will return to full area independently to what state it was before. --- include small unrelated change to quiet unpack prints when fonts are not found.
2010-08-04include cleanup, no functional changesCampbell Barton
- removed DNA_brush_types.h from DNA_scene_types.h (and some other similar cases) - removed DNA_wave_types.h (never used) - removed Main.wave
2010-08-02SConsCampbell Barton
- remove scons option WITH_BF_FHS, its not needed anymore. - comment WITH_BF_DOCS, was using epydocs which we dont use now. - blenderlite target was broken, always using openmp. - building without python wasnt working. - fixed some warnings.
2010-08-01- font object x/yoffset was making text box's wrap text incorrectly.Campbell Barton
- draw text boxes with the offset applied. (abologies for making font.c even more confusing)
2010-07-26replace macros VECCOPY and QUATCOPY with inline math functions no functional ↵Campbell Barton
changes also replace mul_m4_v3() with mul_v3_m4v3() in a few places.
2010-07-14- text3d was missing menu items for toggling bold/underline/italic/smallcaps.Campbell Barton
- made smallcaps use a temp flag so caps can still have the smallcaps flag. - utility function for getting the char from a font. find_vfont_char(), was inline in ~5 places. - removed CU_STYLE mix of flags only used in one place, not needed. removed 'style' from rna too. - fix for some warnings.
2010-07-14- make duplis real wasnt redrawingCampbell Barton
- small caps option for titles (doing manually is quite painful to watch).
2010-04-21option to use curve point weights to influence particle effectors.Campbell Barton
2010-04-18remove config.h references, was added for automake build system rev around ↵Campbell Barton
124-126 but isnt used by any build systems now.
2010-03-22spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)Campbell Barton
2010-03-21removed unused includes, except for physics and particle related filesCampbell Barton
2010-03-20merge own commits into render branch into trunk since 27560Campbell Barton
27562, 27570, 27571, 27574, 27576, 27577, 27579, 27590, 27591, 27594, 27595, 27596, 27599, 27605, 27611, 27612, 27613, 27614, 27623
2010-03-13Fix #21282: Segfault when using "Text on curve" optionSergey Sharybin
Ignore textoncurve property if it's type isn't OB_CURVE, since only curves could have a path.
2010-02-12correct fsf addressCampbell Barton
2010-01-11* Restored font selection functionality with open font and unlink font ↵Matt Ebb
operators, so you can change the font of 3D text objects.
2009-12-14Fix #20233: crash when entering - characters in text object, with shortBrecht Van Lommel
textbox width. I can't tell if this is working correct, the code is very cryptic, with gotos even, but seems there is not enough space allocated to permit splitting each character to it's own line.
2009-11-10Math LibBrecht Van Lommel
* Convert all code to use new functions. * Branch maintainers may want to skip this commit, and run this conversion script instead, if they use a lot of math functions in new code: http://www.pasteall.org/9052/python
2009-09-14use static functions where possible for some local functions.Campbell Barton
2009-09-12new struct PathPoint for each path element (replaces float[4]), Paths now ↵Campbell Barton
store radius and quaternion Added optional quat and radius args to anim.c's where_on_path(...), currently unused. also cleanup some warnings.
2009-09-08Made Nurb->type only store the type rather then mixing the type with flags.Campbell Barton
moved CU_2D to Nurb->flag in do_versions This made simple type checks confusing to read. many... if( (nu->type & 7)==CU_BEZIER) replaced with ... if(nu->type == CU_BEZIER) made setting rna curve_2d clamp the Z values. still more RNA/UI changes to do.
2009-06-302.5Brecht Van Lommel
Image Window * Unpack operator now works. * Some small layout code tweaks. Info Window Header * Moved to python UI code. * template_running_jobs, template_operator_search added. * Ported external data operators: pack/unpack all, make paths relative/absolute, find/report missing files. Also * Report RPT_INFO too, not only warnings and errors. * Run UI handle functions after RNA and Operators. * Rename particle system add/remove operators, to not include "slot", that's only there for materials because that's what they are called now in RNA.
2009-06-152.5Ton Roosendaal
Text Object: editmode suffered wrong allocation and reading from wrong memory, causing crashes when typing more than a few chars.
2009-06-092.50:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD Notes: * Game and sequencer RNA, and sequencer header are now out of date a bit after changes in trunk. * I didn't know how to port these bugfixes, most likely they are not needed anymore. * Fix "duplicate strip" always increase the user count for ipo. * IPO pinning on sequencer strips was lost during Undo.
2009-05-06Big, big commit!!Diego Borghetti
1) Remove WITH_FREETYPE2 from code, so now blender always need freetype2 2) Remove the old bmfont 3) Remove ftfont and bFTGL library 4) Implement a new BLF_draw_default function for place that still need/use the old BMF api. I try to update both, scons and cmake, but I only can test with make, so hope all work fine. MSVC is broken, but I don't have Windows, things to search and fix are any reference to WITH_FREETYPE2, FTGL and BMFONT (take in care that blenkernel also have a BKE_bmfont.h, this don't have anything to do with bmfont). Always have to link/include the freetype2 library Remove any reference to libbmfont Remove any reference to libftfont Remove any reference to libbftgl (or libbFTGL)
2009-02-172.5: Text edit mode operators back. Took me a while gettingBrecht Van Lommel
them nicely repeatable, and splitting up the big edit_text operator into individual operator so it's all nicely scriptable, documented, configurable, etc.. * Insert Text, Line Break, Insert Lorem * Toggle Case, Set Case, Toggle Style, Set Style, Set Material * Copy Text, Cut Text, Paste Text, Paste File, Paste Buffer * Move, Move Select, Delete * Change Spacing, Change Character Notes * Text (datablock) to Object doesn't work yet, will need to implement text editor context for that. * Some shortcut keys don't work because screen/wm overrides them, ctrl+x, ctrl+left/right. That override goes top down which works well for some cases, but here we need to override in the other direction. * There's no unicode support in RNA, or the user interface code for that matter, but text strings can contain these characters. At the moment it stores a UTF-8 string in char arrays, which is supposed to be nicely compatible with ascii. Seems reasonable to add support for UTF-8 in the interface code, python bindings, .. eventually?
2009-01-232.5Ton Roosendaal
Font object + editing back. Was quite some work due to a myriad of globals all over! Works nicely 100% local now. To enable a single textedit operator, I've added a new keymap entry KM_TEXTEDIT, which gives all keyboard events to the handler. Also had to add a new keymap-add function to force a keymap handler in beginning of region handlers. In future this can be used to prioritize handlers. Also: split off the arrow keys (frame change) to a separate region level handler. Can be set with default flag in regiontype->keymapflag ED_KEYMAP_FRAMES
2009-01-042.5Ton Roosendaal
Think global, act local! The old favorite G.scene gone! Man... that took almost 2 days. Also removed G.curscreen and G.edbo. Not everything could get solved; here's some notes. - modifiers now store current scene in ModifierData. This is not meant for permanent, but it can probably stick there until we cleaned the anim system and depsgraph to cope better with timing issues. - Game engine G.scene should become an argument for staring it. Didn't solve this yet. - Texture nodes should get scene cfra, but the current implementation is too tightly wrapped to do it easily.