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
2015-06-14GHost: Attempt to fix compilation error on older OSX systemsSergey Sharybin
The issue was caused by using NotificationCenter which is only available since 10.9 so trying to build blender on OSX with 10.7 SDK would fail. Now it should be possible to build blender with SDK 10.7 and at the same time official builds should still be doing proper weak-linking to a notification center.
2015-05-29GHOST get rid of unused warningsAntony Riakiotakis
2015-05-28Ghost/X11: allow creating windows to failCampbell Barton
Would exit, problematic for setting stereo3d modes which aren't always supported.
2015-05-28Cleanup: warningCampbell Barton
2015-05-26GHOST: flush event printer outputCampbell Barton
2015-05-23Cleanup: typosCampbell Barton
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-05-05Fix T44612: add support for mouse button 6 and 7 on OS X.Brecht Van Lommel
2015-04-13Cleanup: styleCampbell Barton
2015-04-13ndof: fix Linux device detect regressionMike Erwin
2015-04-09GHOST: don't instantiate assert argCampbell Barton
When debugging is disabled, function calls in an assert should never run.
2015-04-08Fix annoying warning in GHOST when ASSERT_ABORT is offAntony Riakiotakis
2015-04-08Cleanup: remove unused definesCampbell Barton
2015-04-08Cleanup: confusing if statements & alignmentCampbell Barton
2015-04-07Fix compilation error in Win Debug.Benoit Bolsee
2015-04-05Fix T44265: Win32 error checking GL versionCampbell Barton
2015-04-04Fix T44266: win32 delete's malloc'd memoryCampbell Barton
2015-04-04Ghost: update tests for recent changesCampbell Barton
2015-03-27GHost: Code cleanup, prepare for strict C++ flagsSergey Sharybin
2015-03-26Fix duplicated IME inputSeverin
AFAIK a few IMEs were affected by this so I guess we can now add a few more IMEs to the "officially supported" list. Patch by @randon (thanks again!), minor edits by me.
2015-03-22OSX: fix 1 leak ( found and fixed by marcclintdion ) and 1 possible leak in ↵Jens Verwiebe
dragndrop, backport to 2.74
2015-03-21OSX/GHOST: need one more release in error caseJens Verwiebe
2015-03-20Partly fix T44025, pixelFormat retain was left, for 2.74 backportJens Verwiebe
2015-03-20Fix for building win32 headlessCampbell Barton
2015-03-17cleanup: Mac #includeMike Erwin
Don’t need all of Cocoa, or any of Carbon here.
2015-03-16Code cleanup: CommentSergey Sharybin
2015-03-05Recent changes broke SDL/GHOSTCampbell Barton
2015-02-27cleanup: use GHOST_PRINT instead of stdioMike Erwin
Mostly from my own NDoF stuff.
2015-02-27cleanup: ghost Win32 event processing functionsMike Erwin
Removed window arg from key conversion functions. Removed processModifierKeys declaration since that function was apparently never implemented. Using Win32-specific classes instead of their generic superclass -- this helps in a few cases like WinTab.
2015-02-27Compile fixes for mingw64Joshua Leung
* m_hDC was always included after m_hWnd in all the constructors and other functions, but the order was reversed in the struct, meaning that they would not get initialised correctly * Got rid of the gotos for the error handling case in initializeDrawingContext() This was causing "jump to label ... crosses initialisation" errors for the calls to get GL version string info (i.e. const char *vendor = ...; etc.) I wasn't sure if those glGetString calls needed the rest of the context to be defined first, so I decided to leave them where they are now, and got rid of the gotos (which were making this particular piece of code a bit confusing) instead. TODO: There are still a bunch of warnings about around 660, which I haven't managed to solve (but at least they won't prevent Blender from compiling) narrowing conversion of '(stereoVisual ? 1063 : 1061)' from 'int' to 'DWORD {aka long unsigned int}' inside { } is ill-formed in C++11 [-Wnarrowing]
2015-02-27cleanup: ghost Win32 IMEMike Erwin
Took out lots of redundant function calls (getters). Also wrapped more code in WITH_INPUT_IME guards.
2015-02-26cleanup: spelling & typosMike Erwin
Comments only, no functional change.
2015-02-25Minor message fixes - thanks to S.J.Bennett for the heads upAntony Riakiotakis
2015-02-25Fix silly mistake with flags which would make stereo buffers unsupportedAntony Riakiotakis
2015-02-25Make the message even more clear in case someone does not know what GPUAntony Riakiotakis
is (we are talking about people who won't have installed a driver - anything is possible)
2015-02-25Warning messagebox for windows when an unsupported implementation ofAntony Riakiotakis
OpenGL is detected: Hoping to decrease the frequency of by far one of the most frequent bug reports by windows users. There is some reorganization of the GHOST API to allow easy addition of further OpenGL options in the future. The change is not propagated too deep to keep the size of the patch managable. We might reorganize things here later. For OpenGL we do two checks here: One is a combination of GDI generic renderer or vendor microsoft corporation and OpenGL version 1.1. This means the system does not use GPU acceleration at all. We warn user to install a graphics driver and of cases where this might happen (remote connection, using blender through virtual machine) The other one just checks if OpenGL version is less than 1.4 (we can easily change that in the future of course) and warns that it is deprecated. Both cases will still let blender startup correctly but users should now have a clear idea of the system being unsupported. A user preference flag is provided to turn the warning off. Now stop posting those bug reports without installing a driver first - please?
2015-02-23Debug GPU functionality from soc-viewport_fx by Jason WilkinsAntony Riakiotakis
patch number D706 with changes: - WITH_GPU_DEBUG just creates a debug context (and enables the debug messaging system functions) but leaves the checks we had intact. Old patch added the debug functionality only if we had the flag on to save some performance. Rationale here is that we might not want to recompile blender just to get the extra information, and having users start blender with a -d flag to get the extra information is also useful for bug reports. Those checks already existed and most expensive ones are hidden behind a debug mode check so performance should not be that bad. - Did some cleanup of existing functionality: When things go wrong blender side, just print the error, don't check for GL errors first. - Did not port changes needed for GLES to regular glew.h - Got rid of duplicate or very similar new functionality. Generally, code is more moving things around/cleanup and should work exactly as before apart from the debug context, so it's safe to add even now. It also provides a nice substitute function for glu error descriptions
2015-02-19Fix T43652: X11 "_NET_WM_PID" not set by GhostCampbell Barton
D1107 by @kevindietrich
2015-02-19Ghost/X11 cleanup (reduce variable scope)Campbell Barton
2015-02-18Quiet uninitialized mem use for blank cursorCampbell Barton
harmless but may as well initialize.
2015-02-13Fix again tablets with linux!Bastien Montagne
Yes, for me tablets (both wacom and no-name) were again broken - curse X11! So now, we want ButtonPress, Button1Motion does not work anymore... Anyway, this patch makes things much cleaner, storing each event type in its own variable! Patch by cedricp (Cédric PAILLE) from T43367, thanks a bunch!
2015-02-08ndof: detect new 3Dx devices on LinuxMike Erwin
Was filtering for Logitech's USB vendor ID. 3Dconnexion now uses their own vendor ID for new products. Mac & Windows don't look for specific vendors so they should be fine. Also added a note to eventually make USE_FINISH_GLITCH_WORKAROUND available on all platforms.
2015-02-08GHOST: fewer virtual functionsMike Erwin
Reined back over-use of virtual functions in GHOST, especially in "leaves" of the inheritance hierarchy. This eliminates vtables for many classes and (in some places) turns virtual function dispatch into direct function calls. I'll be around to fix things if other coders think this change is too much. Still lots of virtual in GHOST_TaskbarWin32 since it just loves virtual.
2015-02-03Fix copypaste error in x11 tablet initCampbell Barton
2015-01-27Fix T43367: Non-wacom tablets broken on Blender in linux?Bastien Montagne
Looks like with some versions of Xlib (at least the 1.6.2 currently used on Debian testing) and/or evdev generic driver (2.9.0 currently on Debian testing), you have to also 'select' DeviceButton1Motion with the extended tablet's motion event, otherwise you won't get any tablet motion event once pen is pressed, leading to no pressure (each stroke keeping its init pressure until the end). Crap!
2015-01-12Fix OpenGL Context freeingCampbell Barton
2015-01-12Cleanup: styleCampbell Barton
2015-01-04Cleanup: OSX: remove obsolete ppc/ppc64 sw-renderer kCGL attributesJens Verwiebe
2014-12-25OSX: revive GHOST_HACK_getFirstFile cause it breaks things on older OSX ↵Jens Verwiebe
versions. Dunno exactly why this was done earlier, but propose not to remove code not understood.
2014-12-11Correction for non-Windows SCons compiling fix after IME Mergejulianeisel
As discussed in rB983c71931b1886d4, we should print a warning in case of building on non-Windows and WITH_BF_IME enabled. We also terminate build in this case, so the warning isn't scrolled away. Was worked out together with @sergey.