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
path: root/intern
AgeCommit message (Collapse)Author
2011-06-24merge from trunk #37722Xiao Xiangquan
2011-06-15merge from trunk r37405Xiao Xiangquan
2011-06-05SVN maintenance.Guillermo S. Romero
2011-06-04CMake option 'WITH_HEADLESS' to build blender in headless mode (no x11/xlib) ↵Campbell Barton
with NULL ghost classe.
2011-05-31fix for recent cmake changesCampbell Barton
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-30merged to r37017 from trunkXiao Xiangquan
2011-05-28Disabling xinput wasn't done completely.Campbell Barton
2011-05-28== FFMPEG ==Peter Schlaile
Did some fine-tuning for AVOption -> AVOption2 crazyness
2011-05-28== FFMPEG ==Peter Schlaile
Small fix for a very old bug in swscaler color space support detection.
2011-05-28== FFMPEG ==Peter Schlaile
Added central compatibility header file, which enables blender to compile against very old ffmpeg versions as well as very new versions using the *NEW* API. (Old API functions are simulated using macros and inline functions) Added a whole lot of additional checks, tested against 6 different versions down the timeline, hopefully, now finally all is well.
2011-05-27== FFMPEG ==Peter Schlaile
* removed a lot of old cruft code for ancient ffmpeg versions * made it compile again against latest ffmpeg / libav GIT (also shouldn't break distro ffmpegs, since those API changes have been introduced over a year ago. If it nevertheless breaks, please send me an email)
2011-05-24Fix for mingw 64bit fix.Brecht Van Lommel
2011-05-24Attempt to fix mingw 64 bit compile error.Brecht Van Lommel
2011-05-23Fix #26728: crash with load/save on Mac, on files that close & open a windowBrecht Van Lommel
when loading them. Custom cursor shown during load was not freed correctly when closing the old window, which resulted in unpredictable crashes later on.
2011-05-12Forgot to close clipboard when lock fails.Sergey Sharybin
Thanks to jesterKing!
2011-05-12Fix #27359: Pasting long text crashes blenderSergey Sharybin
Actual problem was caused by insufficient buffer size in ui_text_leftclip() Also fixed possible invalid memory write in GHOST_SystemWin32::getClipboard which was caused by accessing clipboard buffer after closing clipboard. This mustn't happen. Also fixed possible crush when buffer was failed to be locked.
2011-05-12Fix #27279: IK bone rotation limits set to 0 disabled the limit, this wasBrecht Van Lommel
unintentional, since there is already a toggle to enable/disable it.
2011-05-11Apply patch from Ryakiotakis Antonis as posted on MLNathan Letwory
Should fix MingW build problems - mingw users, please test too :)
2011-05-11MingW apparently doesn't know about RIM_INPUTSINK, define it if it isn't ↵Nathan Letwory
already.
2011-05-10Revert rename of r36578, breaks scons compile.Nathan Letwory
2011-05-10SVN maintenance.Guillermo S. Romero
2011-05-09minor cleanup, no functional changes.Campbell Barton
2011-05-09fixed scrolling lists with the mousewheel for some X11 windowmanagers.M.G. Kishalmi
some WMs not only send 'crossing' events when really moving from one window to another, but also when mousewheeling. distinguishing those events 'mode' property fixed this. brecht++ for figuring out the details.
2011-05-09set svn end of lines to nativeCampbell Barton
2011-05-08Patch [#26799] embedded blenderplayer not receiving keyboard input by ↵Dalai Felinto
Sebastian Korczak (patch co-reviewed by Nathan Letwory) Overview: GHOST using rawinput for keyboard input. GHOST window receives WM_INPUT only when it is the active window. Child window cannot be active, so when embedding blenderplayer, WM_INPUT is consumed by top level parent window (for Burster it is the web browser window). Patch register raw input device as 'inputsink' - it makes GHOST window receives all keyboard messages. Window procedure check if GHOST window is active or focused. ::TranslateMessage(&msg) generates WM_CHAR etc. messages from WM_KEYDOWN, WM_KEYUP etc. Because of using RawInput only WM_INPUT messages are processed, so we doesn't need WM_CHAR, WM_KEYDOWN etc. [this is why ::TranslateMessage is no longer getting called]. Note: It's responsibility of the parent window (aka the wrapper) to send WM_SETFOCUS to child window (embedded blenderplayer). However some parent windows (e.g. webbrowsers) will not send WM_SETFOCUS to the child window when someone clicks on it. In those cases the blenderplayer needs to be patched to call setFocus(&msg); in the event of WM_LBUTTONDOWN (see GHOST_SystemWin32.cpp)
2011-05-07Code cleanup: remove source/kernel module, this wasn't really the kernel ofBrecht Van Lommel
anything, only contained a hash map and functions to pass command line args to the game engine. Moved those to container and BlenderRoutines modules.
2011-05-04Patch [#26799] 2.5x blenderplayer (BGE) anti-aliasing & embedding by ↵Dalai Felinto
Sebastian Korczak (with some small tweaks) + adding GHOST_PRINTF The patch can also be found in http://codereview.appspot.com/4431072/ ############## This patch fix anti-aliasing (multisampling) implementation for win32 platform. It also gives opportunity to embed blenderplayer inside parent window. Usage: blenderplayer.exe -i 123456 -m 16 file.blend where: 123456 - parent window handler (integer, default: 0) 16 - multisample level (integer, default: 0, max: 16. Put there maximum level you want. If not supported, player will automatically try 15,14,13,...,3,2,1) ############## This patch was originally created as part of the Burster (aka webplugin) project but benefit any one embedding the bge in a custom OpenGL context. By the way, to embed the BGE in a .Net application is really straightforward now =) The Multisampling work for blenderplayer as a whole. Missing functionalities: - to expose the multisampling to the ui (so far it only works in console) - window focus and keyboard messages for embedded blenderplayer (supported in their previous patch for 2.49, yet to be ported over) - handle resizing (to be investigated, indeed the changes in getState() in GHOST_WindowWin32.cpp are going to get in the way of that if I'm not mistaken. To be addressed together. Doxygen documentation to be added whenever I sort out how to do so. Sorry Nathan too many stuff to deal with at the same time. The sooner this patch gets in, the sooner the missing functionalities can be patched on top of that.
2011-05-03change ghost/x11 toggleConsole to use dummy function in the header.Campbell Barton
2011-05-02fix for building windows/mingwCampbell Barton
2011-05-02Also add build fix for OSX (not-tested, so OSXers, please do test).Nathan Letwory
2011-05-02x11 builds again.Campbell Barton
2011-05-02Fix [#26981] Command window is not opening in 2.57.0Nathan Letwory
Reported by Thomas Engel Fix [#26938] Blender Zoom not working after startup (Windows) Reported by Ilija Boshkov by applying patch [#26881] Fix for console disappearing in debug mode [Windows] Submitted by Alexander Kuznetsov (AlexK) The patch moves console toggling code into GHOST and improves on the toggling behaviour. The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.
2011-04-30whitespace edits for bpy api, split some really long lines.Campbell Barton
2011-04-28rename duplicate header defines & remove unused var.Campbell Barton
2011-04-23quiet some clang warnings & fix for bugs in exceptional cases.Campbell Barton
- ghost C api, BLI_get_folder_version() could assign garbage values. - pointcache ptcache_find_frames_around() had a superfluous NULL check which would have crashed anyway if actually NULL.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton
2011-04-18Fix for [#26990] Loading file w packed audio crashesJoerg Mueller
FFMPEG was reallocating buffers it didn't own and wasn't allowed to. This workaround should work now flawlessly. Also fixing a bug regarding unpacking sounds, the UI stated unpacking to //audio/filename while it was unpacking to //sounds/filename
2011-04-15fix [#26937] Radio button text truncation should start at beginning of stringCampbell Barton
ensure start of text is always visible. - also left in test for fix [#26933] which left it broken. - quiet warning in AUD Py API.
2011-04-12Fix crash for Intel G45 video cardsSergey Sharybin
This video card need a bit different approach to buffer swapping. Patch provided by nico_ga from IRC.
2011-04-11FIx crash when opening User Preferences even with NVidia cardSergey Sharybin
This crash was discovered by Dalai and this happened because of unset current context (as result of call wglMakeCurrent(NULL, NULL)). In this case glGetString(GL_VENDOR) returns NULL. Rather than add check for vendor != NULL before string comparison, I've changed a bit logic of context creation: - Create context and set it as current - If it's crappy Intel card -- delete this context and share the only one context between all Windows - Otherwise, use initial logic (with sharing lists and so on) This could also fix crash when opening userprefs from a menu with Intel card.
2011-04-11Fix for [#26652] "Audio Muted" in Time Line Editor is not workingJoerg Mueller
-> The feature was completely missing o_O Also fixed an ffmpeg seeking bug.
2011-04-09doxygen fixNathan Letwory
2011-04-09whitespaceNathan Letwory
2011-04-09Fix crash for Windows+Intel video card configurationSergey Sharybin
Intel video cards don't work fine with multiple contexts and have to share the same context for all windows. This could work incorrect with multiple video cards configuration, so suppose there'll be no such situation (Intel cards are mostly in portable devices like notebooks and laptops, where there's actually no dual video cards). Anyway, it should work much better now. Non-Intel cards behavior was kept unchanged. Thanks to Ton for debug session :)
2011-04-06add option WITH_BUILTIN_GLEW, so linux packagers can disable to use their ↵Campbell Barton
own glew library.
2011-03-30includes for building with gcc 4.6 on fedora.Campbell Barton
patch from Richard Shaw
2011-03-29remove DEBUG flag from OpenNL with cmake, was giving too many prints in the ↵Campbell Barton
console when unwrapping.
2011-03-29use 'is None' rather then '== None' as suggested by python docs & mis-spelling.Campbell Barton