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
2011-02-25doxygen: fixup and tag intern/ghost.Nathan Letwory
2011-02-23doxygen: make sure license blocks don't interfere.Nathan Letwory
2010-12-07Added WITH_CXX_GUARDEDALLOC support for GHOST, disabled by default.Campbell Barton
2010-06-02Progress indicator in the application iconDamien Plisson
Displays a global progress indicator in the application icon reflecting the total progress of all running jobs. Currently fully implemented on OSX (Cocoa). On other OSes that do not allow to redraw the app icon, this can be implemented as a [x%] display in the app title, so to appear in the taskbar. Thanks to Matt for the windowmanager wrapper.
2010-02-12correct fsf addressCampbell Barton
2010-01-28Cocoa : correctly handle late events sent after window deactivateDamien Plisson
Cocoa can still send events (tagged with the correct NSWindow handle) after having sent the window deactivate event. This caused these events being discarded as there was no active window for GHOST_WindowManager. Fix is to use this NSWindow handle to retrieve the target window and correctly push the event. E.g. of effects of this bug: OSKey modifier stuck after having invoked Spotlight through its shortcut (Cmd + Space). This gave the impression the Blender window has not got focus back for the keyboard. Ton, can you confirm if this fixes the "Cocoa window loses focus permanently on using Spotlight" issue you found ?
2009-11-19Drag'n'drop : moved "setAcceptDragOperation" functions at window levelDamien Plisson
GHOST/Cocoa : changed strings encoding to isoLatin1 (was UTF-8)
2009-10-17wrap the mouse within the region while grabbing so on release the current ↵Campbell Barton
view never changes and less likelyhood of loosing the cursor when running blender on 2+ screens. (assuming the 3d view isnt stretched over both)
2009-10-17Adjustments to continuous grabCampbell Barton
- Use an enum for grab modes rather then boolean options. -- GHOST_kGrabNormal: continuous grab userpref disabled -- GHOST_kGrabWrap: wrap the mouse at the screen bounds * -- GHOST_kGrabHide: hide the mouse while grabbing and restore the mouse where it was initially pressed * GrabWrap is nice for transform and tools where you want some idea where the cursor is, previously I found both restoring the mouse at its original location and restoring at a clamped location was confusing with operators like transform, wrapping is not ideal but IMHO the best of a bad bunch of options. GrabHide is for numbuts, where restoring the mouse at the initial location isnt so confusing.
2009-10-08- made ungrab a second function - WM_cursor_ungrabCampbell Barton
- ungrab can restore the position of the mouse clamped to the window bounds (much nicer for transform)
2009-10-07Experimental option to allow moving the mouse outside the view, "Continuous ↵Campbell Barton
Grab" in the user-prefs. - Useful for dragging buttons to the far right when theyd otherwise hit the screen edge. - Useful for transform though probably NOT what you want when using the transform manipulator (should make an option). - When enabled, number buttons use this as well as a different conversion of mouse movement float numbuts: mouse 1px == 1-clickstep int numbuts: 2px == 1 (tried 1:1 but its too jitter prone) details... - access as an option to GHOST_SetCursorGrab(grab, warp) - Currently all operators that grab use this, could be made an operator flag - only Ghost/X11 supported currently
2009-10-05Cocoa port :Damien Plisson
- Window creation at preferred size Implement in Ghost the use of Cocoa functions to get the maximum visible rect (size and position) for the window contents (all screen excluding dock, top menu, and window title bar) Thus Apple specific code in window creation (wm_window.c & wm_apple.c) is no more needed => removed in case of Cocoa build - Alert on exiting despite unsaved changes Add to GHOST method to maintain an all platforms (not apple specific anymore) status on unsaved changes Update GHOST_SystemCocoa to use this for asking or not user to confirm exit without saving changes
2009-07-092.5: fix for last commit, left in debug print.Brecht Van Lommel
2009-07-092.5: X11Brecht Van Lommel
* Pass on mouse location on window leave/enter too, fixing some issues with button highlights and tooltips. * When a modal operator runs, grab the mouse cursor so that for example transform still works when you move your mouse outside of the window, previously it would just stop then. This is automatic now for all modal ops, perhaps not always needed? * Fix for a trailing button highlight issue.
2008-01-07Patch to change license to GPL only, from GSR.Chris Want
2006-08-03* Tablet Pressure support in GHOSTMatt Ebb
This is 'ported' from Nicholas Bishop's sculpting GSoC tree. I'm bringing it over now so a) it can be there for when lukep does his GHOST refactor b) it's something that GHOST should have anyway, particularly now there's interest in painting tools and c) it's missing support in Windows, so hopefully now some enterprising Windows coder can add that more easily in the main bf tree. Right now X11 and Mac OS X are supported. I added and can maintain the Mac OS X part, but I'm not familiar with the Xinput stuff, which Nicholas wrote. Both X11 and Mac are collecting active device and pressure, and Mac is also collecting x and y tilt data. Up to coders how they want to use this info! :) Although the data's coming in, I haven't actually made this do anything. I thought it best to leave it to brecht to figure out what he wants to do with the painting stuff, and I wonder what other interesting uses there could be for it (proportional edit?). I'll write implementation details in a separate mail to the committers list.
2006-03-04Fixes for some gcc 4 warnings in intern/. More than 100 lines of warningsBrecht Van Lommel
for 2 unused parameters in templated c++ code, that's just ridiculous.
2003-12-26Commit of cursor framework. Cursors now defined in ↵Robert Wenzlaff
source/blender/src/cursors.c and source/blender/include/BIF_cursors.h. Allows large cursors on Win32 and X11. See cursors.c for documentatioin on how to use.
2002-12-29Removed those extra CVS tag lines in the header files of ghost (now I know whatMaarten Gribnau
Gilles meant) and added some extra doxygen tags I had lying around. Removed the cocoa file since it was rubbish. Maarten
2002-12-26WooHoo me again ;)Kent Mein
I took out the following from the includes in the intern dir that still had it: -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif Kent -- mein@cs.umn.edu
2002-11-25Yes I did it again ;)Kent Mein
added the following 3 lines to everything in the intern dir: #ifdef HAVE_CONFIG_H #include <config.h> #endif Kent -- mein@cs.umn.edu
2002-10-30fixed spacing in the headers to get rid of some warnings and some otherKent Mein
little minor spacing issues.
2002-10-12Initial revisionv2.25Hans Lambermont