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
2008-04-25Suggestion by GSR; move "extern C" into header file, remove "_" fromKen Hughes
utf8towchar function name.
2008-04-25Remove redundant utf8towchar() from FTGL code.Ken Hughes
2008-04-24InterfaceKen Hughes
--------- Bugfix #9222. Conversion from UTF-8 to wchar for international fonts did not check for valid encodings, so user strings with containing invalid characters could cause crashes.
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2007-12-05This is a modified version of this patch:Kent Mein
[#7660] Solaris 10 x86 support (Makefiles) Hopefully it will not mess up anything for anyone else. I removed some hardcoded static libs and made NAN_*_LIB definitions so they could be overridden, to allow greater flexability. Let me know if there are any problems/questions. Kent
2007-08-31Updated the Makefiles removing some of the gcc specific stuff...Kent Mein
Basically I moved -funsigned-char -fno-strict-aliasing from individual Makefiles to nan_compile.mk defines for CFLAGS and CCFLAGS Kent
2007-08-20Patch #6770 by James C (sheep)Matt Ebb
Tooltip getStringSize and getBoundingBox correction Not really any user-visible changes here, but a nice clean-up of internal font drawing functions, in this case used in tooltips. Thanks!
2007-08-06Added include path ../includeKent Mein
reported by Melchior FRANZ. Kent
2007-07-30Font previewJoilnen Leite
2007-07-10Update to the translation code. Patch provided by dripstone.Kent Mein
Basically move stuff out of filesel.c and into language.c and changes when exactly it does the conversion. It was doing it when not needed for some machines. It probably still needs work but its slowly getting better. I also removed some commented out code. Kent
2006-11-17CMake lists initial submission. Documentationand further verification for ↵Jacques Beuarain
different platforms will follow soon. This was just tested against current CVS on MSVC 2005 with Verse, QuickTime, OpenEXR, Player all on.
2006-07-31BIF_GetStringWidth() returned garbage when given a 0 length string, which ↵Matt Ebb
was causing
2006-05-25 Bugfix:Jiri Hnidek
Ubuntu users can set up locales again (propably some other linux distros had same problem)
2006-04-11Bugfix #3665Ton Roosendaal
Using "International Fonts" (silly name, it's pixmap fonts) the special characters (values above 127) were disregarded completely. This was caused with the extremely confusing unicode conversion call, which actually only was needed when translations were set. Disabling the unicode conversion then gives correct text drawing. However, I suspect that this code will give issues for translations too... that I cannot judge nor fix.
2006-04-03Fix gcc warnings about NULL used in arithmetic comparison.Ken Hughes
2006-02-08==SCons==Nathan Letwory
+ 'scons blenderplayer' builds blender AND blenderplayer now (tested on Linux only, but was only linking issue, so should work on other platforms too). NOTE: I noticed some compileflags for GE specific libs that were left out - I re-enabled them in the SConscripts, but I'm going to do a test build my- self now, so if there are problems with them on win32, I probably already know about them :)
2006-02-04== SCons ==Nathan Letwory
* This commit is all of the rewrite work done on the SCons system. For documentation see doc/blender-scons.txt and doc/blender-scons-dev.txt. Also http://mediawiki.blender.org/index.php/BlenderDev/SconsRefactoring contains valuable information, along with what still needs to be done. - linux, os x and windows compile now. - files are compiled to BF_INSTALLDIR (see config/(platform)-config.py) - NOTE: Jean-Luc P will commit sometime during the weekend proper appit() for OS X. For now, copy the resulting binary to an existing .app bundle. - features: - cleaner structure for better maintenance - cleaner output during compile - better handling of build options - general overall speed increase - see the wiki for more info Cygwin, FreeBSD and Solaris systems still need work. For these systems: 1) copy a config/(platform)-config.py to ie. config/cygwin-config.py 2) set the proper defaults for your platform 3) mail me at jesterking at letwory dot net with you configuration. if you need any modifications to the system, do send a patch, too. I'll be giving first-aid today and tomorrow, after that it'll be all regular development work :) /Nathan
2005-03-09big warning hunt commitJean-Luc Peurière
lot of casts, added prototypes, missing includes and some true errors
2005-01-21Modified interface texture font support, which should work nicely with the ↵Rob Haarsma
freshly added bFTGL library. Also removed some redundant #include's on some files.
2005-01-19Added experimental option to use GL textured interface fonts.Rob Haarsma
Set preferred method in userprefs->language & font. Kinda requested by Kaito, i'm sure he regrets after seeing my code changes. This commit includes a patch provided by Jacques Baurain, which seemed nescessary to handle font sizing properly. Thank you !
2004-11-24Uncommit changes for "bind_textdomain_codeset". Apparently windows gettextTon Roosendaal
doesn't have this function, needs to be updated in lib/ dir. We also dont have official maintainer for internationalization...
2004-11-23Patch provided by Yann VernierTon Roosendaal
This patch should make gettext return unicode, which is what freetype expects (also explicitly set in the same file). It makes translations that support non-ascii *and* non-unicode encodings, such as latin 1 for western european languages, draw correctly. The problem only occurs for platforms where those encodings are default, i.e. in Linux if /etc/locale.gen looks like this: sv_SE ISO-8859-15 If it were to read UTF-8 this patch doesn't change the behaviour at all. This is probably the case for Mac OS X and perhaps Windows.
2004-11-12FTGL on my system put the includes in /usr/local/include/FTGLKent Mein
while its setup to look in $(NAN_FTGL)/include I added $(NAN_FTGL)/include/FTGL I've had the mod lying around forever and just never bothered to commit it but I'm sick of looking at the modified file in cvs update ;) Kent
2004-11-08Casting added for unsigned/signed char weirdness in ftgl...Ton Roosendaal
2004-11-08To end the issues with AA (International) Fonts; the .bfont.tff now isTon Roosendaal
compiled in (datatoc) and doesn't need installation anymore. Also reviewed weird path conventions for searching AA fonts; - U.fontdir is only used as standard search path for fileselecting - U.fontname stores only full path to AA font if used one - If a font cannot be found, it always falls back to the compiled in one - If .B.blend is saved with default font, U.fontname is not set Also added a button in usermenu "restore default". When this works as expected, I'll commit changes for installation too.
2004-10-03Lots of small changes, all for UI in Blender;Ton Roosendaal
----- Killed UI frontbuffer draw The interface toolkit was drawing all live updates (while using menus/buttons) in the frontbuffer. This isn't well supported cross-platform, so time to be killed once. Now it uses *only* glReadPixels and glCopyPixels for frontbuffer access. Live updates or menus now are drawn in backbuffer always, and copied to front when needed. NOTE: it was tested, but needs thorough review! On PC systems I suspects backbuffer selection to screw up (check!). On SGI/SUN workstations it should work smooth; but I need evidence ----- Smaller fixes; - AA fonts were garbled on ATI systems. Now the AA fonts are drawn exact on pixel positions. Needs the new FTGL libb too, patch is on maillist - Rounded theme uses antialiased outlines - Pulldown and popup menus have nice softshadow now - New button type 'PULLDOWN', thats the one that callsup a pulldown menu. Should be added to themes, as is the full menu/pulldown drawing - Screendump for 1 window does the full window now, including header - Empty pulldowns (for example running blender without scripts) give no drawing error anymore For review & fun; - added curved lines as connectors, for Oops window
2004-05-16Added #!/usr/bin/python standard script identifier to the start of ↵Kester Maddock
SConscript files. Makes text editors identify SConscripts as Python, and syntax highlight properly.
2004-05-08post 2.33 release commit of the modified SCons files for Os X.Jean-Luc Peurière
Sconstruct modified so that Blender build on 10.3 without any additionnal download than source + darwin libs. defaults settings correct for 10.3. fixed bug # 1260 : added MT_NDEBUG flag at top-level.
2004-04-20- Returned multi-user support on Win2k/XP.Simon Clitherow
Now uses 'Application Data/Blender Foundation/Blender' instead of old "Not A Number" dir. - Updated windows installer to make this change transparent for the users. It copies /.blender to the new location and displays a short message to advise them of the change (http://homepages.nildram.co.uk/~aphex/installer_msg.jpg). - Installer also includes fix for opening blend files from explorer (patch provided by Valentin Ungureanu (vung) - thanks!) Note to CVS users on Win2k/XP: Although blender will continue to work without changes, you should ideally copy the /.blender dir to <app data>/Blender Foundation/Blender for the sake of correctness :)
2004-03-01SCons updatesMichel Selten
* Blender static now links. By default this option is disabled on all platforms. Simply set the option in config.opts to 'true'. * Added the following flags to config.opts: - HOST_CC. This is the C compiler for the host platform. This value is the same as TARGET_CC when not cross compiling. - HOST_CXX. This is the C++ compiler for the host platform. This value is the same as TARGET_CXX when not cross compiling. - TARGET_CC. This is the C compiler for the target platform. - TARGET_CXX. This is the C++ compiler for the target platform. - TARGET_AR. This is the linker command for linking libraries. - PATH This is the standard search path All SConscript files have been updated to reflect these changes. Now it's possible to change only the root SConstruct file, and all compiler specific variables are passed automatically to all SConscript files. Of course, this does not apply to makesdna because there the host and target platform is different from all other libraries. To pass a variable that applies to all platforms, all we now have to do is set the correct value in library_env Note: as usual, to get the latest options in the config.opts file, first remove your version.
2004-02-23SCons updatesMichel Selten
* Removed the I18N_DEFINES from the config.opts file. This define is not a user setting. The defines depend on what options the user enables in the top of the config.opts file (USE_INTERNATIONAL). * Moved the defines to the correct SConscript files. Only the relevant libraries now use these defines. * Windows fix for the python settings. There were missing brackets [ and ] for these settings.
2004-02-21- [win32] updated SConscripts to use new configuration method (config.opts).Nathan Letwory
NOTE: ODE support needs still to be reviewed, so disable gameengine for now.
2004-02-21SCons updatesMichel Selten
* Almost all library settings are now available in the config.opts user option file. * All platform variables had to be updated to make this possible. Things are much clearer now, but I only was able to test the changes on Linux. I've tried to update all other platform variables, but things are most likely to be broken. Please contact me how to resolve the issues. Note: Before running scons, remove your existing config.opts file to get all new options.
2004-02-15SCons updatesMichel Selten
* libraries are now generated in [BUILD_DIR]/lib * passed the user_options to all libraries now. This means I could remove a couple of Export/Import lines. * Changed the order in source/blender/src/SConscript and source/gameengine/SConscript. All libraries are now sorted alphabetically. This has no impact on the build process.
2004-01-23 - FTF_TTFont didn't initialize fontm,fontl,fonts to NULL, leads toDaniel Dunbar
possible bad free - FTF_Api.cpp used static C++ object, hard to understand and icky, was probably source of phase4's crashes, replaced with dynamically allocated object and added FTF_End to free it and sensible time.
2004-01-06SCons updates:Michel Selten
* Removed debug print in ftfont. * Added FreeType/FTGL support to the Linux build. NOTE: This feature is on by default, but depends on the pre-build libraries. So checkout the lib directory. The lib dir should be on the same level as the blender dir. (In case you didn't know).
2004-01-05- Added the SConscripts for ftfont and quicktimeNathan Letwory
- [win32] python_include was missing, there was a double python_libpath. Corrected - [win32] the soundsystem SConscript broke the win32 build.
2003-11-22- added check before freeing a font pointer... dunno if its needed, butTon Roosendaal
better do this anyway! theres a 0.01% chance errors with AA goes away now on some platforms... but i doubt!
2003-10-24- added ifdef INTERNATIONAL for changes in interface.cTon Roosendaal
- changed switching to smaller/larger fonts, it now does only 1 pnt size. with standard font (11), medium is 10, small 9
2003-10-23- AntiAlias fonts (FTF) now are used in three sizes, like the normalTon Roosendaal
fonts, and switched based at the window zoom. Might be something to tweak when to switch exactly, but it works cool!
2003-10-20Another mega commit... loadsof restructure, and a pretty good one! :)Ton Roosendaal
- changed the BIF_DrawString() function. it used to work different for AA fonts as for default fonts. Now it's identical. Setting color for fonts can just be done with OpenGL, for both font types. Removed: BIF_DrawStringRGB() - added theme color options for Buttons - recoded DefButton, so it automatically chooses the right color. - had to remove a 1000 uiBlockSetCol() calls for that reason... - uiBlockSetCol() still works, to override automatic color - removed entirely the silly old color system (BIFColorID). All color calls can now be done with a BIF_ThemeColor() call, including fonts and buttons and opengl stuff - all buttons in button header have headercolor by default - recoded drawing icons, it was a really bad & old loop doing manually colorshading and blending... which was per pixel a load of code! Now it uses a single OpenGL call to blend or colorize. Quite faster! - (as test, for review) icons don't colorize anymore with button color, but have a different alpha to blend in (when not active) - recoded the entire interface_draw.c file...: - drawing buttons is separated in three parts: 1. main drawing function for text and icons 2. free definable callback for button itself 3. free definable callback for slider - removed a load of redundant code for this! - coded a minimal theme, and adjusted Matt's buttons to match new callback system - adding new drawing themes is piece of cake now - for coders, default 'themes' to be aware of: UI_EMBOSS : the themable drawing style UI_EMBOSSP: the pulldown menu system (apart from color not themable) UI_EMBOSSN: draw nothing, only text and/or icon UI_EMBOSSM: minimal theme, still in use for Logic and Constraintsa this can be set with uiBlockSetEmboss(block) or in the uiNewBlock() call. TODO: make UI API call for button alignment (plus removed another series of warnings from code...) Plus: fixed bug in Matts commit: he used a 'short' button for an 'int'
2003-05-22- fixed 'double-click on blend file' errors on Windows -- INTERNATIONAL ↵Simon Clitherow
stuff now also checks the installation directory for /.blender, etc - registering .blend files for WinNT/2000/XP now works correctly (settings remain after a reboot).
2003-05-16reverted to 2.27 original fontcoloring methodRob Haarsma
reverted to patched ftgl library. speed improvements were not really noticable.
2003-05-15Seeing all comments on the interface slowdown, I decided to try a differentRob Haarsma
approach for the coloring of interface texts. Currently two seperate fonts get generated, one black and one white, which eliminates the glPixelTransfer command. (which assumably caused the huge slowdowns) Please try, and post your experiences on the interface drawing speed. NOTE: for this new method you need the *unmodified* FTGL library: http://homepages.paradise.net.nz/henryj/code/#FTGL Apologies on any inconveniences...
2003-05-14doubled the size of the string to be translated, which fixesRob Haarsma
the italian mo crash.
2003-05-13moved BKE_utildefines behind __APPLE__ #ifdef.Rob Haarsma
2003-05-12store locales, .Blanguage, and .bfont.ttf inside of Resources folder ofStefan Gartner
application bundle on OS X
2003-05-12added some more include paths to CPPFLAGS...Stefan Gartner
2003-05-12added -I../../blenlib to CPPFLAGSStefan Gartner
2003-05-12added routine that checks for LOCALE/message directory.Rob Haarsma