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
2016-04-06Cleanup: indentationCampbell Barton
2016-03-04Cleanup: suspicious use of commasCampbell Barton
2016-02-20GHost: Avoid macro re-definition by undefining the macro firstSergey Sharybin
Should b totally harmless since the define was overriten anyway.
2016-02-16Cleanup: avoid -Wnarrowing warningCampbell Barton
2016-02-14Fix cmd+z for undo not working when editing text objects on OS X.Brecht Van Lommel
2016-02-13Fix T47393: mouse wheel scroll no longer zooms with mighty mouse on OS X.Brecht Van Lommel
Hopefully this is the last fix, using the method explained here: https://forums.developer.apple.com/thread/31536
2016-02-02Fix T47300: SHIFT TAB, CTRL SHIFT TAB shortcuts does not toggle snap, snap ↵Bastien Montagne
mode on off anymore. Regression from rB12c71508c2d7. Now, we systematically first try keycode from `XLookupKeysym()`, and only fall back to the one from `XLookupString()` if it failed to convert to a valid gkey.
2016-01-31Fix T47153: scroll wheel zoom fails with mouses that support smooth scroll ↵Brecht Van Lommel
on OS X.
2016-01-28Fix T47228: Ghost not handling predictably keycodes when first keymap is ↵Bastien Montagne
non-latin. Why this is not working in original code and works int this one remains mystery (see comments for details). Note that we still do not support at all non-latin keymaps for our shortcuts, this would be nice to add someday, but that's a TODO, not a bug. Reviewers: sergey, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1746
2016-01-15Cleanup: used pre-defined atoms in ghostCampbell Barton
2016-01-15Fix T31063: X11 window resize fails on PPCCampbell Barton
X11 property access was using wrong sized types that only worked for little endian systems.
2016-01-08Fix T46993: UI lag in fullscreen mode on OS X / Intel graphics.Brecht Van Lommel
If anyone finds OS X UI drawing glitches with different graphics cards please report them and I'll add an exception specifically for Intel, but in theory this should work fine for all graphics cards.
2016-01-04Remove SCons building systemSergey Sharybin
While SCons building system was serving us really good for ages it's no longer having much attention by the developers and started to become quite a difficult task to maintain. What's even worse -- there started to be quite serious divergence between SCons and CMake which was only accumulating over the releases now. The fact that none of the active developers are really using SCons and that our main studio is also using CMake spotting bugs in the SCons builds became quite a difficult task and we aren't always spotting them in time. Meanwhile CMake became really mature building system which is available on every platform we support and arguably it's also easier and more robust to use. This commit includes: - Removal of actual SCons building system - Removal of SCons git submodule - Removal of documentation which is stored in the sources and covers SCons - Tweaks to the buildbot master to stop using SCons submodule (this change requires deploying to the server) - Tweaks to the install dependencies script to skip installing or mentioning SCons building system - Tweaks to various helper scripts to avoid mention of SCons folders/files as well Reviewers: mont29, dingto, dfelinto, lukastoenne, lukasstockner97, brecht, Severin, merwin, aligorith, psy-fi, campbellbarton, juicyfruit Reviewed By: campbellbarton, juicyfruit Differential Revision: https://developer.blender.org/D1680
2015-12-29OS X: remove code for OS X <= 10.5, which is already not supported since 2 ↵Brecht Van Lommel
years.
2015-12-28Fix for building ghost-testsCampbell Barton
2015-12-28Fix for heap-use-after-free happening in GHOST_EventManager.Kévin Dietrich
Issue was that dispatchEvent might call removeWindowEvents/ removeTypeEvents which will delete the event before we can do so. To address this, handled events are now put in a separate list. Reported by psy-fi and reviewed by brecht in IRC.
2015-12-27Addendum to previous GHOST commit: remove redundant check.Kévin Dietrich
2015-12-27Fix memory leak in GHOST Event Manager.Kévin Dietrich
The events are allocated on the heap, then pushed on a stack. Before being processed, they are popped from the stack, and deleted after processing is done. When the manager is destroyed (e.g. application closing), any remaining event in the stack is detroyed. Issue is that when the "application closing" event is processed, it is never freed, because the manager gets destroyed before the call to `delete` is made and the event is not on the stack anymore. Now events are left on the stack while they are processed, and only popped and deleted after processing is done. As a slight bonus refactor: use void as return type for dispatch events functions, as no caller is checking the return value, and it is not clear what it means (suggested by the reviewer). Reviewers: brecht Differential Revision: https://developer.blender.org/D1695
2015-12-13Fix: unreported crash with misconfigured nvidia opengl driversInes Almeida
2015-12-07OpenGL: request version 2.1 when creating context on WindowsMike Erwin
In practice this gives us a context that is *compatible* with GL 2.1. On my machine it gives a GL 3.3 or 4.3 compatibility profile context, depending on graphics card installed. Also fixed enum for core profile (not used yet). Also added option for GL 3.2 compatibility profile. This will be useful during Blender 2.8 development, until we are able to use the core profile. On my machine this gives exactly a GL 3.2 compatibility profile context, not 3.3 or 4.
2015-11-24Fix previous own fix - second message was actually OK, first one had bad ↵Bastien Montagne
comma placement... Thanks to psy-fi for the head-up.
2015-11-24Fix broken windows 'MessageBox' calls (UI messages).Bastien Montagne
Reported by Bzzt_Ploink on IRC.
2015-11-22Error out on Windows if driver does not support OpenGL 2.1 with an errorAntony Riakiotakis
messagebox.
2015-11-22Add check for OpenGL version 2.1 on linux.Antony Riakiotakis
Unfortunately there's no easy way to show a messagebox here, so just print a warning on fstderr and exit. If we don't call exit() here we get crashes on other blender systems (python, opensubdiv) and it can get tricky to track the initialization state here, so just using exit() should do the trick for now.
2015-11-19Cleanup: redundant 'break', minor editsCampbell Barton
2015-11-16GHOST: rename suffix X11 to Unix for non X11 filesCampbell Barton
We may use these for Wayland or SDL back-ends.
2015-11-09Revert "Increase CMake minimum version to 3.0"Campbell Barton
This reverts commit ff3cf93405e63fa367f64412bcfe96b382b24b38. Turns out distros only a year old still use CMake 2.8x
2015-11-09Increase CMake minimum version to 3.0Campbell Barton
This allows us to use newer features of CMake, and less hassles having to test & support older versions.
2015-10-25ndof: rework Mac driver glueMike Erwin
Load driver dynamically at runtime instead of weak-linking the 3Dconnexion framework. Driver no longer needed at build time! Works with really old drivers (as in PowerMac old), more recent versions, and the latest which allows us to process events on a separate thread.
2015-10-12Workaround for glew initialization bugCampbell Barton
It turns out libGL from Intel crashes when calling glxewInit (where mesa, nvidia work fine), unfortunately the only option without making larger changes to glew, is to inline the parts of glew we're using - before the glx context is created.
2015-10-12Fix T46431: Init glew before glx-context crashesCampbell Barton
Initialize glxew before glew, so we can check whats supported before creating the context. This also removes need for mxIgnoreNoVersion.
2015-10-10Fix various compiler warnings.Brecht Van Lommel
2015-10-10Fix T45167: OS X inertial scrolling can lead to unexpected zooming.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1539
2015-10-10Fix T46341: OS X trackpad and magic mouse gestures not working with 10.11 SDK.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D1539
2015-10-10Fix/Workaround T46431: blender-softwaregl crashesCampbell Barton
Order of initialization bug only impacted mesa's software-gl. For now effectively revert support for glx-context-flags.
2015-10-03Fix T44605: OS X continuous grab issues.Brecht Van Lommel
2015-09-10Fix leak in ContextGLXCampbell Barton
2015-09-08Cleanup: quiet warningsCampbell Barton
2015-09-04Quiet warningsJulian Eisel
We had too many warnings lately... was awaiting that someone would kill them - didn't happen -> goes to my commit ratio! :P
2015-08-17Fix for Ghost/OSX w/ core profileCampbell Barton
2015-08-04SCons: Fix for really nasty bug with polluting configuration environmentSergey Sharybin
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-07-31Fix T45632: motion blur (2d filter) not working - in OSX at leastDalai Felinto
This regression was introduced in Blende 2.73a when we went through a ghost context refactoring :(
2015-07-20Ugly hack to avoid GLEW context error printing when initializing GLX.Antony Riakiotakis
2015-07-20Fix broken GLEW initialization. Initialize GLEW twice, once to get GLXAntony Riakiotakis
extensions, once to get final context extensions. Not so nice because we get a warning on startup from GLEW, but at least it GL extensions should work now.
2015-07-20Pixel format selection now favours a format with a number of samplesAntony Riakiotakis
closer to the one requested on Windows. Patch D1384 by Benoit Bolsee.
2015-07-20GHOST/X11: Support GLX-Context flagsCampbell Barton
GHOST_ContextGLX was incomplete, ignoring profile-mask and profile-flags.
2015-07-20GHOST: use simple stack array for glx attributesCampbell Barton
2015-07-20GHOST: correct GLX flag w/ WITH_GL_PROFILE_CORECampbell Barton
note that this is currently ignored, but better at least build for now.
2015-07-18Cleanup: whitespace & break placementCampbell Barton
2015-07-18Cleanup: whitespace, wrong indent levelCampbell Barton