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
path: root/intern
AgeCommit message (Collapse)Author
2009-11-10SVN maintenance.Guillermo S. Romero
2009-11-10Drag & drop implementation at GHOST level (only OSX for now)Damien Plisson
The dragging sequence is performed in four phases: - Start sequence (GHOST_kEventDraggingEntered) that tells a drag'n'drop operation has started. Already gives the object data type, and the entering mouse location - Update mouse position (GHOST_kEventDraggingUpdated) sent upon each mouse move until the drag'n'drop operation stops, to give the updated mouse position. Useful to highlight a potential destination, and update the status (through GHOST_setAcceptDragOperation) telling if the object can be dropped at the current cursor position. - Abort drag'n'drop sequence (GHOST_kEventDraggingExited) sent when the user moved the mouse outside the window. - Send the dropped data (GHOST_kEventDraggingDropDone) - Outside of the normal sequence, dropped data can be sent (GHOST_kEventDraggingDropOnIcon). This can happen when the user drops an object on the application icon. (Also used in OSX to pass the filename of the document the user doubled-clicked in the finder) Note that the event handler is responsible for freeing the received data. And the mouse position is sent directly in blender client coordinates (y=0 at bottom) The GHOST_setAcceptDragOperation(TRUE) call must be placed before the user drops the object for it to be accepted. Current handled data types : - Text string - Array of filenames (full paths) - Bitmap image (not implemented yet)
2009-11-09Add FFTW3 support to Makefiles, make OpenJpeg use OS lib for Linux.Guillermo S. Romero
And handful of whitespace clean ups.
2009-11-09- fix Cocoa window setOrder function to maintain focus on a blender window ↵Damien Plisson
(e.g. ensure the blender window gets the focus when the user presses ESC to move back the render window) - QuickTime export fixes. Note that QuickTime export still crashes because it tries to open a "codec settings" dialog from the rendering background thread (and not the main/UI thread). One quick fix may be to move the movie export initialization out of the render thread back into the operator function. But a cleaner way would be to get rid of such a carbon/win32 dialog and place the codec settings inside blender interface (additional fields in the output panel as it is currently the case for other file formats ?).
2009-11-06Fix for scons + mingw compiling Joshua Leung
Removed the special exception for booleans lib priority, which was needed in the past to get it compiling ok with the src directory.
2009-11-052.5 Modifiers: mesh deform, boolean and decimation work again.Brecht Van Lommel
2009-11-04Mac / Cocoa:Damien Plisson
- Fix update event fired at each loop iteration. Thx Brecht for the patch - Fix missing deactivate event when in fullscreen mode
2009-11-03Slightly nicer OS X quit messageMatt Ebb
2009-11-03== COLLADA ==Nathan Letwory
* fix win64 build and add proper library usage for COLLADA 64bit. Update also lib/win64 (r24263).
2009-11-02how embarrassing!Campbell Barton
2009-10-30Mac / COCOA : Damien Plisson
- fix 10.4 compile issues - fix some scons issues & add WITH_BF_COLLADA = False in scons darwin_config.py to allow build waiting for complete Collada Mac implementation
2009-10-29Mac / COCOA : ImbufDamien Plisson
- replace libtiff by calls to Cocoa services to load/save tiff files (Libtiff, dynamically linked is not distributed with OS X, and would have had to be shipped for all four architectures) The imb_cocoaLoadImage & imb_cocoaSaveImage are generic towards the bitmap format, and thus can handle TIFF, GIF, JPG, JP2000, BMP and raw camera formats (read-only for these), even if today only TIFF is used as the other formats are already handled. - CMake updated - scons updated (Thx to Jens Verwiebe)
2009-10-27ifix syntax error in SConscriptMartin Poirier
2009-10-27and another bump! Gotta love indentation °_°Nathan Letwory
2009-10-27bumping commit count.Nathan Letwory
2009-10-27r24111 broke the build on non-osx systems.Nathan Letwory
2009-10-27Mac:Damien Plisson
Fixed gcc-4.0 compile error (cocoa) Updated scons to build cocoa (32bit & 64bit) (Thx Jens Verwiebe for the patch): - make sure right python is unzipped to app-bundle ( printing information at the end of compiling ) - make sure arch-setting appends needed flags ( depending on OSX-version obsolete sometimes but harmless ) - link correct frameworks depending on gfx-api ( cocoa/carbon) - conscript prepared for cocoa objC-files - link to openAL-framework, using the headers from blender-lib + the symbols in framework Usage instruction: The default build is Cocoa 32bit. To change it, copy config/darwin-config.py to user-config.py in the blender folder, and edit: - WITH_GHOST_COCOA & MACOSX_ARCHITECTURE variables to select cocoa/carbon, and the arch (i386, X86_64, ppc, ..) - the libs options as usual
2009-10-26Cocoa/Mac:Damien Plisson
- fix bad window context initialization bug introduced in rev # 24081
2009-10-26Cocoa / Mac:Damien Plisson
- use Cocoa function to convert keys character value to isoLatin-1 encoding instead of the translation table. Works better with international keyboards - enable stereo GL option - fix source/creator CMake file to remove unneeded folders in the app bundle (the __MACOSX stuff). (Thx jensverwiebe)
2009-10-23Cocoa / Mac:Damien Plisson
- tablet : fix pressure retrieval => value sliding now works with tablet, UV-painting is pressure sensitive, and no more crash when clicking on window minimize button with the tablet - update CMake file to remove unneeded folders in the app bundle (the __MACOSX stuff). From Jens' patch
2009-10-21Cocoa / Mac:Damien Plisson
- fix set mouse cursor position in case of multi-display setting. Enables continuous grab to work when blender window is on a secondary display
2009-10-21- improvements from Mathias Panzenböck (panzi) patch [#19695], which avoid ↵Campbell Barton
conversion to/from strings with context property assignment. though didnt apply entire patch. - [#19698] Add Menu Item: View3d -> Object -> Move to layer from Howard Brooks (hbroo) - had cursor grab commented by mistake for X11
2009-10-21Size and position are normally requested by program, not user.Guillermo S. Romero
2009-10-20Fix in KDL for gcc 3.3 compilationTon Roosendaal
Thanks to Benoit Bolsee and Alexander Clausen for help!
2009-10-20Cocoa:Damien Plisson
- fix windowDidResize event not forwarded in some cases on 10.6 - fix crash on repeated Cmd-Q + Cancel quit actions - place stub for .blend drop on blender app icon
2009-10-20Auto SaveBrecht Van Lommel
Auto save is now working again in 2.5. It will also remember now what the location of the original file was when recovering it, so that library links still work and saving the restored file does not save to the temp directory. There is also a new Recover Auto Save operator which will open the filebrowser in the temp directory and show the auto saved .blends. Implemenation Notes: * Timer storage was moved from window to windowmanager, so we can have windowmanager level timers too now, doesn't make sense to have autosave timer attached to a particular window. * FileGlobal now has a filename field storing where the file was saved. Note that this is only used when loading a file through the recover operators, regular file read doesn't use it, so copying the quit.blend manually over the original file will still work as expected. * Jobs timer no longer uses operator now, this seems more like an internal thing, changing keymaps should not make it possible to break the jobs manager. * Autosave is postponed by 10 seconds when a modal operator is running, e.g. transform or file browsing. * Moved setting G.sce in setup_app_data before depsgraph updates, these can use the filename for pointcaches.
2009-10-20Cocoa:Damien Plisson
- fix 10.6 API used in window resizing callback causing crash on 10.5 systems (Thx Jasper Mine for the bug report) - implemented min window size enforcement to prevent tiny windows messing up blender's internal ui layout (same as done by Campbell on X11, is a partial fix of bug #19550) - added (commented) code for enabling multithreaded opengl (this optimization is here for experimental tests, not for mainstream, so bleeding edge testers would want to uncomment the three "Multithreaded opengl code : uncomment for enabling" sections)
2009-10-20set the min size hints for x11 to prevent tiny windows messing up blenders ↵Campbell Barton
internal ui layout
2009-10-19Cocoa : Damien Plisson
- fix#19592 : implemented updated continuous grab feature (fixing compilation issues) - fix some 10.6 & 64bit warnings
2009-10-18minor changes to x11 cursor grab wrappingCampbell Barton
- when wrapping 2 mouse events were added. - on release blender still had the last event (possibly outside the screen), where menus would fail to show. Add a mouse event by calling XWarpPointer with no movement when leaving grab.
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-17- wrapping failed with the cursor at the screen edge,Campbell Barton
- changed numbuts behavior with continuous grab so dragging back after passing the button limit immediately adjusts the value
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-16Cocoa : Damien Plisson
- implemented custom cursor handling
2009-10-15Cocoa : Damien Plisson
- Small changes to make ghost_cocoa compatible with 10.4 + gcc4.0 (the initial goal was to be 10.5+ compatible, but 10.4 is finally also possible) - Main window title is now in Apple document window title style (proxy icon + filename) - fix for top menu "Blender" sub-menu not anchored correctly in 10.5
2009-10-14Cocoa : bugfix #19591Damien Plisson
Add trackpad 2 fingers gesture handling, to have it mimicking correctly mouse wheel, and thus zoom in/out correctly in the 3D view
2009-10-14Cocoa : bugfix on continuous grab (cursor was returning to a wrong position ↵Damien Plisson
upon button grab end)
2009-10-12Cocoa : fix secondary window display bug issueDamien Plisson
2009-10-12Cocoa : Fullscreen mode improvement (Bugfix# 16682)Damien Plisson
Instead of capturing the display and all user input (video game mode), the mechanism is now to hide dock & menu bar, and enlarge the window made borderless to cover the whole screen surface. Thus all OS X window management features remains available (other windows,multi screens compatible, process switching, expose, spaces, ..)
2009-10-09Cocoa : Bug fix for continuous grab feature implementationDamien Plisson
2009-10-09Cocoa : Damien Plisson
Implement OS X support for Campbell's new continuous grab feature
2009-10-09Cocoa port :Damien Plisson
- Fullscreen mode is back! - Cleaner fix for tablet events handling
2009-10-08Cocoa port :Damien Plisson
Quick&dirty bug fix to catch ad discard tablet induced exceptions. I'll make a clean fix upon getting a tablet to debug.
2009-10-08Cocoa port :Damien Plisson
Bug fix : newly created window not seen as activated by WM Added more conservative memory management (may need to optimize later)
2009-10-08Smoke:Daniel Genrich
* Enable external forces like e.g. wind
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-06Cocoa port : First pure Cocoa version !Damien Plisson
(Mostly for very early testers) Cocoa uses coordinates with y=0 at bottom : updated wm_window.c and wm_event_system.c for COCOA build to avoid double conversions in response to mouse move events and GHOST_getCursorPosition Known limitations: No fullscreen support Font issue in preference panel libSDL uses some Carbon functions
2009-10-05Cocoa port : Fix bugs in clipboard operationsDamien Plisson
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