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
2014-10-10OSX: as an prerequisite to make Dalai's upcoming "area_fullsceen" work,Jens Verwiebe
make sure the window states are correct in the lion_fs animation phase. This also assures the CTX_wm_window(C) is okay.
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-08-13OSX: add a fix for lion_fs loosing handles after calling fs from key ↵Jens Verwiebe
shortcut, also reenabled lion_fs for OSX >= 10.9 again
2014-07-26OSX/GHOST: Using lion_fullscreen suffers from an uncovered problem when ↵Jens Verwiebe
called from operator, disabled for now so ALT-F11 uses old behavior again. OSX menu and CTL-CMD-F still work as lion fullscreen as well as right-upper corner fs window-icon - We must investigate here why double promotion happens from op calls ( dispatchEvents on redraw cause duplicated calls here ) - The actual op calls cause fs to be in a wrong state, so also mousehandles fail and CTX_wm_window(C) is not valid. - similar problem is with quit op, which does not close the app right ( totblocks ) - i would prefer to try getting direct os function call here rather
2014-06-23OSX: Fix T40749, own mistake for m_lionStyleFullScreen conditionJens Verwiebe
2014-06-07OSX: Ideasman does not like using utsname, so i use the always ↵Jens Verwiebe
satisfactorily working sysctl method now for runtime OS detection
2014-06-06Code cleanup: styleCampbell Barton
2014-06-06OSX: replace deprecated (10.8 ) Gestalt function with utsname, no functional ↵Jens Verwiebe
change
2014-03-11OSX: fix another kCGLRendererAppleSWIDJens Verwiebe
2014-03-11OSX: change a longterm deprecated kcgl constant, could lead to crashes elseJens Verwiebe
2014-02-11Fix T38537: issue with OS X full screen startup.blend after recent changes.Brecht Van Lommel
Also fixed the redrawing while entering and exiting fullscreen, it would show a distracting white window contents during the animation.
2014-02-03Fix T38452: on OS X 10.9, now always use Lion style fullscreen.Brecht Van Lommel
On earlier versions there is no proper multi-monitor support, so we leave the choice still. But for 10.9 this just interacts better with other elements like spaces and the dock.
2013-07-19code cleanup: case & brace placementCampbell Barton
2013-05-25Solving ancient Blender window sizing issue;Ton Roosendaal
- Removed grid-snapping for area coordinates on scaling windows. That caused the areas to shrink or expand, and eventually corrupt screen layouts. - Added simple but efficient life resize for OSX. I need to know why this is so much code for Windows... I suggest Windows to just copy same method; dispatch the queue, and just let the event system draw.
2013-05-11Fix for previous fix, not sure it will cause issues in practice but better beBrecht Van Lommel
sure to avoid invalid memory access.
2013-05-11Fix #35265: on OS X, pressing system shortcuts such as cmd+M or cmd+` would bothBrecht Van Lommel
insert text in the text editor and do the associated operation like minimizing the window or switching windows. The code was always doing both without trying to ensure only one is done. Now we integrate a bit better with the event handling and pass the event to NSApp, which then decides to handle the event itself or pass it on to the window, from where we then send it back to be handled.
2013-05-08Attempt to fix OS X build with 10.6 SDK, was not working due to recent ↵Brecht Van Lommel
fullscreen bug fixes.
2013-05-06Fix #35225: new OS X Lion fullscreen did not work together well with oldBrecht Van Lommel
fullscreen option. It was possible to enable both at the same time which got you stuck in a state where it was impossible to exit fullscreen. Now I've made them mutually exlusive, only one can be enabled at the same time. Note the reason we need to support both is because the new Lion fullscreen does not work with multiple monitors, it will just give black screens on the other monitors. This is a limitation of OS X, you can find many complaints about this online.
2013-04-02Fix incorrect OS X warning message in console when using multisample ↵Brecht Van Lommel
antialiasing about number of samples not matching the requested number.
2013-03-23Bug fix 34743Ton Roosendaal
Mac OS X full screen: the old option to go full screen now didn't hide the dock/topbar anymore. Also made it use dock auto-hide now, not permanent hide.
2013-03-23GHOST_Cocoa, let new fullscreen also appear on 10.6 deployed buildsJens Verwiebe
2013-03-22OSX feature:Ton Roosendaal
Blender now supports the 10.7+ "Full screen" mode, which pushes a window to a permanent other "screen", with animated zoom and sliding. Available via the icon in window header (right), Apple+F, or "Window" menu in top. Works much nicer than Blender's own "full screen" option. Todo: the zoom effect is still draws a bit ugly, because Blender doesn't have "live resize" yet.
2013-02-28fix for [#34440] motion blur (2d filter) not working in osxDalai Felinto
thanks Jens Verwiebe for the tests and review.
2013-02-04Fix window fullscreen crash when building for Mac OS X 10.5.Brecht Van Lommel
2013-01-24Put back minimum window sizes on 320x240.Ton Roosendaal
This didnt work well with making blender areas into windows. Real fix: check such minimums based on what's in the window itself... or just make scaling work flawless.
2013-01-22OSX 10.6 error - hiding code behind a respondsToSelector.Ton Roosendaal
2013-01-22Bug fix #33911Ton Roosendaal
When you open a Blender window larger than a screen, Macs clip it to match the height, but they allow the width to be more. Problem is that this clipping happens after all window opening code. That causes check for HiDPI mode to fail. Now it checks it again on event GHOST_kEventWindowUpdate, which is only on startup.
2013-01-12Mac HiDPI ("retina") handling:Ton Roosendaal
OK - so you have this nice crisp screen, and still you want to add extra monitors to the laptop! That means Blender should switch back and forth to HiDPI modes, when you move a window to another monitor. This code makes the pixelsize scale factor a window property, and handles an event when a window moves to another monitor. It then changes the native pixelsize nicely and refreshes entire UI. You can also have one Blender window on high, and other on low resolution. Stretching a Blender window from 1 monitor to the other works too, but that is Apple magic handling it.
2013-01-09Mac HiDPI support:Ton Roosendaal
With the good help from googling, here's code that compiles for 10.6 natively. Will check on 10.7 and 10.8 right after commit.
2013-01-08Macbook HiDPI support: reshuffled code to make it compile for 10.6 and workTon Roosendaal
in 10.7 and later. OS X Gurus might check though :)
2012-12-28Hrm... replacingTon Roosendaal
MAC_OS_X_VERSION_MAX_ALLOWED with MAC_OS_X_VERSION_MIN_REQUIRED
2012-12-28Testing commit for OS X trackpad and scroll events.Ton Roosendaal
Now: - code is wrapped for OS X releases (10.6 and 10.7) - It now detects scrollwheel (old mouse) and gesture strokes (mighty mouse or trackpad). If you have 10.6, things will work as for release. Next todo for tomorrow: make trackpad work actually smooth and not with steps. Will also try to figure out the device type, to handle mighty mouse differently.
2012-12-21Fix #33644: rendering to a new window and then closing it would not completelyBrecht Van Lommel
remove it, but still stick around listed in the Window menu. Fixed by removing the setReleasedWhenClosed:NO hack and using the proper cocoa window delegate mechanism.
2012-12-15OSX: makeKeyAndOrderFront would show window from orderedWindows list on ↵Jens Verwiebe
every loop, so use makeKeyWindow only to avoid flicker when closing app
2012-12-15OSX/availability: use of the numerical value instead of the symbol in the ↵Jens Verwiebe
#if MAC_OS_X_VERSION_MIN_REQUIRED comparison clause: If the code is loaded on an older system that does not include the symbol definition, the comparison still works
2012-12-15Fix mac build error with SDK < 10.7, this version is not then defined then asBrecht Van Lommel
pointed out by Patrick Boelens on the mailing list.
2012-12-14OSX/nativePixel: fix compile for OSX < 10.7Jens Verwiebe
2012-12-13Bugfix, IRC reportTon Roosendaal
(Error in 2.65 release too) Mac OS X: on closing Blender, it 'flashed', which appeared to be a white window opening and closing quickly. Caused by code trying to send focus to another opened window, and accidentally focusing the closed one - causing it to reopen.
2012-12-12Holiday coding log :)Ton Roosendaal
Nice formatted version (pictures soon): http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.66/Usability Short list of main changes: - Transparent region option (over main region), added code to blend in/out such panels. - Min size window now 640 x 480 - Fixed DPI for ui - lots of cleanup and changes everywhere. Icon image need correct size still, layer-in-use icon needs remake. - Macbook retina support, use command line --no-native-pixels to disable it - Timeline Marker label was drawing wrong - Trackpad and magic mouse: supports zoom (hold ctrl) - Fix for splash position: removed ghost function and made window size update after creation immediate - Fast undo buffer save now adds UI as well. Could be checked for regular file save even... Quit.blend and temp file saving use this now. - Dixed filename in window on reading quit.blend or temp saves, and they now add a warning in window title: "(Recovered)" - New Userpref option "Keep Session" - this always saves quit.blend, and loads on start. This allows keeping UI and data without actual saves, until you actually save. When you load startup.blend and quit, it recognises the quit.blend as a startup (no file name in header) - Added 3D view copy/paste buffers (selected objects). Shortcuts ctrl-c, ctrl-v (OSX, cmd-c, cmd-v). Coded partial file saving for it. Could be used for other purposes. Todo: use OS clipboards. - User preferences (themes, keymaps, user settings) now can be saved as a separate file. Old option is called "Save Startup File" the new one "Save User Settings". To visualise this difference, the 'save startup file' button has been removed from user preferences window. That option is available as CTRL+U and in File menu still. - OSX: fixed bug that stopped giving mouse events outside window. This also fixes "Continuous Grab" for OSX. (error since 2009)
2012-12-11Fix OS X warning on startup about using deprecated function, when building ↵Brecht Van Lommel
against 10.8 SDK.
2012-12-05Fix crash opening some .blend files on OS X 10.8 with double click or drag andBrecht Van Lommel
drop onto the application. It seems something changed in the operating which makes our method of releasing windows crash. Previously we called [m_window release], but on 10.8 this does not remove the window from [NSApp orderedWindows] and perhaps other places, leading to crashes. So instead we set setReleasedWhenClosed back to YES right before closing, which will then do the cleanup for us.
2012-11-06OSX: substitute all MAC_OS_X_VERSION defines with ↵Jens Verwiebe
MAC_OS_X_VERSION_MIN_REQUIRED macros, to get more reliable version (api) covering
2012-10-28style cleanupCampbell Barton
2012-10-17Missing semicolons in intern/ghost/intern/GHOST_WindowCocoa.mmJason Wilkins
2012-09-18code cleanup: warning and styleCampbell Barton
2012-09-06code clenup: comments and some style edits on ghost/osx (odd indentation)Campbell Barton
2012-08-28missing linebreak when multithreaded gl meesage is printed to logJens Verwiebe
2012-08-12style cleanupCampbell Barton
2012-07-12OSX: make the progressbar in dock a gradient, to give it a more matching 3D ↵Jens Verwiebe
appearance
2012-06-03code cleanup: replace some non utf8 charsCampbell Barton