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
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-09GHOST/X11: Print the keycode w/ debug enabledCampbell Barton
2018-06-09GHOST/X11: Correct non-latin kb workaround caseCampbell Barton
Harmless since this is always enabled, only do this for easier troubleshooting when disabling the define.
2018-06-09GHOST/X11: support accessing physical keycodesCampbell Barton
This means we can check keys such as tilde in a generic way.
2018-06-08GHOST/X11: Map unknown es,dk keys to accentgraveCampbell Barton
2018-06-08GHOST/X11: Map unknown de,fr keys to accentgraveCampbell Barton
This still uses the correct string when typing text, it just allows the key to be used in keymaps. We should eventually add scan-code support.
2018-06-07GHOST/X11: Xinput/XIM support caused double key-upCampbell Barton
All keyboard events were sending double key events (including modifiers) when xinput was enabled with gnome (causing much confusion!). I cant test if XIM works, but this isn't useful to send double events, so disabling for now.
2018-06-04Cleanup: strip ghost trailing spaceCampbell Barton
2018-05-07Fix wrong comparison of drop target URI on X11Sergey Sharybin
Need to compare, NOT to override passed file name.
2018-03-28Fix missing confirm quit dialog on macOS, after recent changes.Brecht Van Lommel
2018-03-26GHOST: Solve compilation error of test programsSergey Sharybin
2018-03-21UI: Optional prompt to quit for non win32 systemsCampbell Barton
D566 by @januz Use Blender native dialog when OS dialog's aren't supported.
2018-03-16GHOST: Support Unity taskbar progress APILukas Stockner
Unity itself is deprecated, but the API is also supported by KDE and the GNOME Dock extension, which means that it will be useful for a wide variety of distributions. To get a progress bar, the system must have a blender.desktop file and libunity installed. The need for libunity is annoying, but the only alternative would be to integrate a DBus library... Reviewers: campbellbarton, brecht Differential Revision: https://developer.blender.org/D3106
2017-10-31MacOS: Use correct Cocoa protocol on any compilerArto Kitula
2017-10-26Fix T52984. Trackpad rotation to natural directionArto Kitula
2017-10-25Fix T53004: XWayland ignores cursor-warp callsCampbell Barton
There is currently a limitation in XWayland, the cursor needs to be hidden during warp calls.
2017-10-04Fix T42489 and T52936: Loading blend with minimized window results in crash ↵Ray Molenkamp
or empty screen on windows. Reviewed By: @brecht , @sergey Differential Revision: http://developer.blender.org/D2866
2017-09-29Drop platform support for Solaris & AIXCampbell Barton
These platforms didn't see maintenance in years. This commit just removes ifdef's & cmake check.
2017-09-28macOS: officially upgrade to 10.9 libraries from lib/darwin.Brecht Van Lommel
This removes a bunch of code that is no longer needed, and running "make update" will now automatically download the new libraries. Differential Revision: https://developer.blender.org/D2861
2017-09-22Remove quicktime supportAaron Carlisle
It has been deprecated since at least macOS 10.9 and fully removed in 10.12. I am unsure if we should remove it only in 2.8. But you cannot build blender with it supported when using a modern xcode version anyway so I would tend towards just removing it also for 2.79 if that ever happens. Reviewers: mont29, dfelinto, juicyfruit, brecht Reviewed By: mont29, brecht Subscribers: Blendify, brecht Maniphest Tasks: T52807 Differential Revision: https://developer.blender.org/D2333
2017-07-24Fix T51948: pen pressure not detected with some Wacom tablets.James Fulop
Generalizes current conditions, QT implements it the same way.
2017-07-18Fix T49498: continuous grab issues on macOS, particularly with gaming mouses.Brecht Van Lommel
Change the implementation so it no longer takes over the mouse cursor motion from the OS, instead only move it when warping, similar to Windows and X11. Probably the reason it was not done this way originally is that you then get a 500ms delay after warping, but we can use a trick to avoid that and get much smoother mouse motion than before.
2017-07-08Fix T51959: Windows + Intel GPU offset between UI drawing and mouse.Brecht Van Lommel
Unfortunately this means disabling the code that ensures the title bar is properly scaled with DPI, however better to have that as a cosmetic issue than Blender being unusable with a lot of Intel GPUs.
2017-06-19Cleanup: doxygen commentsCampbell Barton
Also remove duplicate & mismatching comments from grease-pencil header. Keep comments close to implementation to avoid getting out of sync.
2017-05-29NDOF: clean up after MinGW removalMike Erwin
Follow up to 9f044cb422c1fc9ad79278092445f612342abb59 These comments described the difference between Microsoft & MinGW's struct definition. Now that we dropped MinGW we don't need to go into these details.
2017-05-27Remove MinGW supportAaron Carlisle
The Issue ======= For a long time now MinGW has been unsupported and unmaintained and at this point, it looks like something that we should just leave behind and move on. Why Remove ========== One of the big motivations for MinGW back in the day is that it was free compared to MSVC which was licensed based. However, now that this is no longer true we have basically stopped updating the need CMake files. Along with the CMake files, there are several patches to the extern libs needed to make this work. For example, see: https://developer.blender.org/diffusion/B/browse/master/extern/carve/patches/mingw_w64.patch If we wanted to keep MinGW then we would need to make more custom patches to the external libs and this is not something our platform maintainers are willing to do. For example, here is the patches needed to build python: https://github.com/Alexpux/MINGW-packages/tree/master/mingw-w64-python3 Fixes T51301 Differential Revision: https://developer.blender.org/D2648
2017-03-25Fix GHOST crash on X11 with recent DPI changes on some systems.Brecht Van Lommel
2017-03-25Automatic DPI for all platforms, per monitor DPI for Windows.Wouter
For Windows 8.1 and X11 (Linux, BSD) now use the DPI specified by the operating system, which previously only worked on macOS. For Windows this is handled per monitor, for X11 this is based on Xft.dpi or xrandr --dpi. This should result in appropriate font and button sizes by default in most cases. The UI has been simplified to a single UI Scale factor relative to the automatic DPI, instead of two DPI and Virtual Pixel Size settings. There is forward and backwards compatibility for existing user preferences. Reviewed By: brecht, LazyDodo Differential Revision: https://developer.blender.org/D2539
2016-12-01Fix T46795 : Reset GWLP_USERDATA to NULL at window destruction so any future ↵lazydodo
events will not try to reference this deleted class.
2016-11-20GHOST/X11: Incorrect WM_STATE accessCampbell Barton
This worked by accident because of struct padding, treat state as a CARD32 as documented. Matches wine-x11 usage.
2016-10-08Fix a few compile errors with C++11 on macOS.Brecht Van Lommel
2016-09-29Fix Windows mouse wheel scroll speedlazydodo
In Windows, event dispatching code is throwing out the wheel scroll count value. Despite of how many fast you move the wheel, it only make one-notch scroll event. This patch convert wheel event to multiple 1-notch wheel events. This also correct the handling of smooth scroll mouse wheel (which can report smaller than 1-notch wheel movement) by accumulating the small wheel delta values. Reviewers: djnz, shadowrom, elubie, #platform:_windows, sergey, juicyfruit, brecht Reviewed By: shadowrom, elubie, #platform:_windows, brecht Subscribers: dingto, elubie, brachi, brecht Differential Revision: https://developer.blender.org/D143
2016-09-27fix Mac build for Xcode < 8Mike Erwin
We need a long-term fix, but this will get 2.78 out the door.
2016-09-27cleanup: spacing & alignmentMike Erwin
2016-09-19OpenGL: software renderer for old Mac GPUsMike Erwin
We raised the minimum to GL 2.1 in Blender 2.77, and dropped support for older GPUs (pre-2012 Intel mostly). On Windows you get a popup message, but on Mac we simply crashed. Every Mac has a builtin software renderer for GL 2.1 so let's use that when the GPU is not capable! Run blender --debug-gpu to see version detection & software fallback.
2016-09-19Lowercase includes for psapi.h and dbghelp.h windows includes.Martijn Berger
This makes cross compilation a little less painful
2016-09-14fix Mac build with Xcode 8Mike Erwin
Small issues in GHOST - use NSApplicationDelegate protocol for our app delegate - make sure NSApp is initialized before using (cherry picked from commit df7be04ca6d4b6dccc998445386228699d72d072)
2016-09-10Fix T49303: Fix T49314: More issues with new handling of X11 shortcuts.Bastien Montagne
This commits changes two things: * It adds more keysyms preferably taken from XLookupKeysym than XLookupString (namely, all numpad ones). * It falls back to keysyms from XLookupKeysym in other cases, when XLookupString does not produce anything we know of. Finding the correct balance here is far from easy, but think we are comming rather close to it now...
2016-09-06Add XK_ISO_Left_Tab to ghost's known X11 keydefines...Bastien Montagne
2016-09-06Cleanup previous commit...Bastien Montagne
2016-09-06GHOST X11 keyboard: Attempt to fix issues with modifier keys on some systems.Bastien Montagne
Could not reproduce it here, but since users having the issue claims it comes from rB16cb9391634dcc50e, let's try to use again ugly `XLookupKeysym()` for those modifier keys too...
2016-09-03Fix T48911: Fix T48847: Issues with some shortcuts on non-US latin ↵Bastien Montagne
keyboards, and with non-first layouts. This is a tentative fix, own tests here seem to be working OK, but don't think it's safe enough to be backported to 2.78.
2016-09-01Fix T49215lazydodo
2016-08-22NDOF: fix crash on Mac with old driversMike Erwin
For best results use the latest 3Dconnexion driver. But latest is only supported on Mac OS 10.9+. We go all the way back to Mac OS 10.6 so have to deal with older driver versions. See the original dlclose line for my faulty assumption. Waiting to unload the driver later fixes the crash. Newer drivers don’t seem to have this issue. Also removed WITH_INPUT_NDOF guards as NDOFManager.h takes care of this. Follow-up to b10d005 a few days ago.
2016-08-18NDOF: compile 3D mouse code only if WITH_INPUT_NDOFMike Erwin
When WITH_INPUT_NDOF is disabled, 3D mouse handling code is removed from: - GHOST (was mostly done, finished the job) - window manager - various editors - RNA - keymaps The input tab of user prefs does not show 3D mouse settings. Key map editor does not show NDOF mappings. DNA does not change. On my Mac the compiled binary is 42KB smaller after this change. It runs fine WITH_INPUT_NDOF on or off.
2016-08-18NDOF: suppress buttons debug logMike Erwin
Accidentally left this in the 3D mouse code. Mac only.
2016-08-15OpenGL: debug context on WindowsMike Erwin
Enable based on --debug-gpu at the command line. Linux already works this way. This commit in master (2.78 timeframe) is the smallest change that gets the desired result. I did a similar commit in blender2.8. Most ongoing GL debug work will go into 2.8, not 2.7x. In support of T49089
2016-08-03Fix T48283: on OS X, mouse clicks not working properly if application launch ↵Brecht Van Lommel
takes a long time.
2016-08-01Fix T48901: Blender ignores xinput cursor matrixCampbell Barton
2016-07-18[bf_intern_ghost/Windows] CleanupRay Molenkamp
This patch addresses the following issues in bf_intern_ghost ``` Warning C4312 'type cast': conversion from 'GHOST_TEmbedderWindowID' to 'HWND' of greater size bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_WindowWin32.cpp 179 Warning C4312 'type cast': conversion from 'GHOST_TEmbedderWindowID' to 'HWND' of greater size bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_WindowWin32.cpp 198 ``` GHOST_TEmbedderWindowID is defined as long, handles are however of pointer size, so this should have been an issue when we moved to 64 bits, guess we got lucky. fixed by turning GHOST_TEmbedderWindowID from long into void* ``` Warning C4302 'reinterpret_cast': truncation from 'HKL' to 'LANGID' bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_ImeWin32.cpp 67 ``` reinterpret_cast emits warnings on truncation, LOWORD does the job just as well with no warnings. ``` Warning C4838 conversion from 'int' to 'DWORD' requires a narrowing conversion bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_ContextWGL.cpp 734 Warning C4838 conversion from 'int' to 'BYTE' requires a narrowing conversion bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_ContextWGL.cpp 734 ``` Weird warning, it does a really bad job at telling you what parameter is causing the warning , tuns out there's a bunch of parameters that cause it but it still only yields a single warning, the problem is that every (somevar ? a : b) construct results in an integer type. which needs to be properly cast to get rid of the warning. ``` Warning C4996 'GetVersionExA': was declared deprecated bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_WindowWin32.cpp 105 Warning C4996 'GetVersionExA': was declared deprecated bf_intern_ghost K:\BlenderGit\blender\intern\ghost\intern\GHOST_WindowWin32.cpp 107 ``` The warning was clear, the code not as much. The version check in place here is quite convoluted and could be replaced by including VersionHelpers.h and calling IsWindows7OrGreater, However, CreateInstance will just return NULL in m_Bar if the interface is not supported, so the whole check is useless. This however did require that the CreateInstance call actually asked for ITaskbarList3 and not ITaskBarlist . (You're not really allowed to assign different interface types to each-other, a roundtrip through QueryInterface is required there, we were violating spec here by asking for ITaskBarlist and storing it in ITaskbarList3* ) Reviewers: sergey Reviewed By: sergey Subscribers: sergey Differential Revision: https://developer.blender.org/D2094