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-08-31fix [#28430] Image with Stampinfo does not get saved correctly with alphaCampbell Barton
2011-08-30minor edits, pep8 - also correct float -> double promotion for blf.Campbell Barton
2011-07-17cmake: cleanup include paths, some duplicates and going up some unneeded dirs.Campbell Barton
2011-07-17cmake source definitions:Campbell Barton
remove missing includes and use more strict formatting.
2011-05-31cmake maintenanceCampbell Barton
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python). also only build wm_apple.c on apple+carbon configuration.
2011-05-10minor cleanup: make functions static, use NULL for pointer comparisons,Campbell Barton
also fixed a possible bug assigning incorrect DPX function types to imbuf.
2011-05-09minor cleanup, no functional changes.Campbell Barton
2011-05-04new BLF functionsCampbell Barton
- BLF_height_max - BLF_width_max - BLF_descender - BLF_ascender use for tooltip and image stamp.
2011-04-30fix [#27221] stamp text bug in lower linesCampbell Barton
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-04-06add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their ↵Campbell Barton
own glew library.
2011-03-10fix [#26442] blender crash when turning off antialiasing fontsCampbell Barton
ASCII lookup table wasn't being freed when when the rest of the glyphs were. Also found own bug where mesh stat text was using wrong sized array (char[3] as char[4]).
2011-02-27doxygen: blender/blenfont tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-22Too many ifdefs made me miss the fact variables were declared insideTon Roosendaal
function...
2011-02-22No idea why this goes wrong, but I can't get preprocessor output withTon Roosendaal
cmake here. Somehow in OSX a function call doesn't return but enters a next function. Will find around if someone else can make an OSX preprocessed version of this C file. With this commit things go fine, and it's a sane check anyway.
2011-02-19Rename global_ft_lib and make it static.Diego Borghetti
Remove the XXX code from blf_glyph.c and use the pointer inside the FontBLF struct. If still have problem, let me know.
2011-02-18Bugfix #26135Ton Roosendaal
User Preferences Using "no AA font" crashed, caused by commit to make static variables. However, how this was ever meant to work... using such globals has to be treated carefully. Fixed for now with XXX warning for Diego :) Thanks to reporter Susanne H. to point at the right code!
2011-02-17clear some unused warningsCampbell Barton
2011-02-16doc generation support for excluding some modules, without this a full ↵Campbell Barton
rebuild takes too long to test changes. also include own function definitions for blf_dir.c.
2011-02-14more vars made staticCampbell Barton
2011-02-13fix for error building.Campbell Barton
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-30remove nan-makefilesCampbell 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-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-10Change the BLF_aspect function to handle 3d text.Diego Borghetti
This is need to properly handle 3d text (dalai work on GE), before the BLF_aspect only take one argument, and the result was a call to: glScalef(aspect, aspect, 1.0) Now the three value are store in the font (x, y and z) and also need to be enable using BLF_enable(BLF_ASPECT). By default all the code that don't have BLF_ASPECT enable work with a scale of 1.0 (so nothing change to the current UI). I also remove all the call of BLF_aspect(fontid, 1.0) found in the editors, because is disable by default, so no need any more. Campbell the only thing to check is the python api, right now I modify the api to from: BLF_aspect(fontid, aspect) to: BLF_aspect(fontid, aspect, aspect, 1.0) This is to avoid break the api, but now you need add the BLF_ASPECT option to the function py_blf_enable and in some point change py_blf_aspect to take 3 arguments.
2010-12-09removing BLF_types.h from CMakeLists.txtDalai Felinto
2010-12-09Add the possibility to set a 4x4 matrix to be used on blf.Diego Borghetti
This option allow the user to set a 4x4 matrix to be multiplied before draw the text, for example: double *m; /* Get the matrix or build it! */ BLF_matrix(m); BLF_enable(BLF_MATRIX); /* set color, size, etc and draw! */ BLF_disable(BLF_MATRIX); You don't need the last line (disable), but remember that if you use the font to draw in any other place, the matrix will be used!. The GL code is: glPushMatrix(); glMultMatrixd(m); glTranslatef(); glScalef(); glRotatef(); glPopMatrix(); Let's Dalai test this!!! :D
2010-12-09Testing commit! Remove an empty file.Diego Borghetti
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-27added option to turn off Text anti-aliasing in the UIMichael Fox
(userpref->system), with a great help from brecht (its been way too long for me). However as brecht pointed out that the non-AA text is slightly lareger then AA'ed Text :S, i did not do anything about this as this commit was just the option not the text drawing. this commit also makes it possible to do all kinds of UI textrender options
2010-11-26fix building blenderplayer and a divide by zero bug with the console view.Campbell Barton
2010-11-26change monospace font to be an extern, not good final design but better then ↵Campbell Barton
loading the same font 3 times. need to load twice still because render may use the font in a thread.
2010-11-21- check IF WIN32 AND NOT UNIX (for cygwin)Campbell Barton
- patch from Mike S to enable OpenMP and xcode
2010-11-11fix for building, also use const char in more places.Campbell Barton
2010-11-11BLF_draw functions take an extra length argument, so the console drawing ↵Campbell Barton
doenst need to swap in NULL chars to draw word wrapping.
2010-11-02Recommit sharp font optional code as all Freetype should be above 2.1.10 now.Guillermo S. Romero
If still fails, check & update Freetype (OS one or Blender's lib/).
2010-11-01Temporary revert recent changes in blf_glyph.c until its fixed.Thomas Dinges
>> Compile failure on windows platform (see ML for Errors). SVN Revert of Revisions: 32805, 32804 and 32802
2010-11-01Fix silly column paste.Guillermo S. Romero
2010-11-01Provide a way to get non-AA font rendering, which some see as "sharper".Guillermo S. Romero
"Configuration" by recompilation for now (feel free to code that).
2010-10-31Minor speedups for 3D view text drawing ~10-15% improved frame-rate with ↵Campbell Barton
particle display. - ascii text drawing functions, slightly faster since they dont have to do hash lookups & utf8 conversions for each char. - used ascii drawing functions for the view3d's number display. - each text item was using fixed 128 chars, now only allocate the string length needed.
2010-10-23use explicit file paths for CMake rather then globing, This is recommended ↵Campbell Barton
by cmake devs. globbing vs explicit is discussed here. http://www.cmake.org/pipermail/cmake/2008-December/025694.html Practical implications are: - developers need to keep CMakeLists.txt files up to date. - Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-16most unused arg warnings corrected.Campbell Barton
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating). - mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-09-14fix for own bug for font buffer drawing (only effected the bottom line of ↵Campbell Barton
the stamp)
2010-09-10remove redundant buffer character positioning code & remove attr keyword ↵Campbell Barton
argument from property definitions.