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
2008-11-11Various changes made in the process of working on the UI code:Brecht Van Lommel
* Added functions to generate Timer events. There was some unfinished code to create one timer per window, this replaces that with a way to let operators or other handlers add/remove their own timers as needed. This is currently delivered as an event with the timer handle, perhaps this should be a notifier instead? Also includes some fixes in ghost for timer events that were not delivered in time, due to passing negative timeout. * Added a Message event, which is a generic event that can be added by any operator. This is used in the UI code to communicate the results of opened blocks. Again, this may be better as a notifier. * These two events should not be blocked as they are intended for a specific operator or handler, so there were exceptions added for this, which is one of the reasons they might work better as notifiers, but currently these things can't listen to notifier yet. * Added an option to events to indicate if the customdata should be freed or not. * Added a free() callback for area regions, and added a free function for area regions in blenkernel since it was already there for screens and areas. * Added ED_screen/area/region_exit functions to clean up things like operators and handlers when they are closed. * Added screen level regions, these will draw over areas boundaries, with the last created region on top. These are useful for tooltips, menus, etc, and are not saved to file. It's using the same ARegion struct as areas to avoid code duplication, but perhaps that should be renamed then. Note that redraws currently go correct, because only full window redraws are used, for partial redraws without any frontbuffer drawing, the window manager needs to get support for compositing subwindows. * Minor changes in the subwindow code to retrieve the matrix, and moved setlinestyle to glutil.c. * Reversed argument order in WM_event_add/remove_keymap_handler to be consistent with modal_handler. * Operators can now block events but not necessarily cancel/finish. * Modal operators are now stored in a list in the window/area/region they were created in. This means for example that when a transform operator is invoked from a region but registers a handler at the window level (since mouse motion across areas should work), it will still get removed when the region is closed while the operator is running.
2008-06-24patch from skejoe for gcc 4.3 compatibilityCampbell Barton
2008-01-08* fix linking order for l00nixNathan Letwory
2008-01-08* tweak linking priorities - should help for GCC usersNathan Letwory
* some lib renaming
2008-01-07Patch to change license to GPL only, from GSR.Chris Want
2008-01-05* GHOST win32: make sure window gets repositioned to 0,0 when setting state ↵Nathan Letwory
to fullscreen (maximised, borderless) (Patch by Gladstone)
2008-01-05Use XInternAtom by default.Diego Borghetti
I don't know the name of the "SGI Fast" atom, but this is only request when blender start so i don't think that this make some "big" difference. So just use plain X11 calls (thanks GSR for the info).
2008-01-04Add support for GHOST_kWindowState* to Linux.Diego Borghetti
This add support for the different window state in Linux/X11. Two think to take care: 1) m_post_* 2) motifFullScreen 1) This is only need if we want start a window in FullScreen or Maximized state. The basic problem is that we can't set this property to a window until it's really map, so i add a "post init" proccess for this two special case (check the code for more info). 2) The Motif Hint isn't really a "FullScreen" mode, it's only a "NO DECORATIONS" options, so if the window manager don't support WM-spec this function only remove the border of the window, don't make it FullScreen. A simple fix (hack) is check if the Window Manager support WM-spec, in case that not, remove the decorations and move/resize the window. Test in different WM (gnome, kde, etc) and comment are welcome :)
2008-01-01* make sure desktop is redrawn when coming out of GHOST_kWindowStateFullScreenNathan Letwory
2008-01-01* silence more warningsNathan Letwory
2008-01-01* some cleanup of warningsNathan Letwory
2008-01-01* kill a warningNathan Letwory
2007-12-31I got confused screenToClient with clientToScreen.Diego Borghetti
Sorry, i get the wrong value because a print the wrong variable :/
2007-12-31Fix bad argument order to XTranslateCoordinates.Diego Borghetti
Take me a long time catch this :/ and i really don't know how this work before, because clientToScreen always return bad values.
2007-12-31* make sure decoration is there when toggling away from ↵Nathan Letwory
GHOST_kWindowStateFullScreen to GHOST_kWindowStateNormal (win32)
2007-12-31* also distinguish between maximised and fullscreen on GHOST win32.Nathan Letwory
* clean up some warnings (unused vars).
2007-12-31* revert my change to windowmanager move/size handling.Nathan Letwory
* made win32 ghost getClientBounds so that it returns area compatible with osx getClientBounds - if a window is non-fullscreen, substract decoration, since that'll be added by GHOST_WindowWin32() * use SetWindowLongPtr/GetWindowLongPtr (instead of SetWindowLong) as it is compatible with 64bit windows.
2007-12-30* handle WM_MOVE on win32 in GHOSTNathan Letwory
* change window move/size handling so that getWindowBounds gets x,y for window and getClientBounds gets w,h
2007-12-30Windowmanager, ghost side:Ton Roosendaal
- Added GHOST_kEventWindowMove event, for sending event that the window has moved - Fixed GHOST_GetClientBounds() for OSX (get window rect) Todos: - add same event for X11 and Windows - solve why ghost doesn't call client event-proc while scaling window (at least, not in osx)
2007-12-14include <ieeefp.h> on solaris and remove incorrect macro so finite() is now ↵Campbell Barton
correct
2007-12-13fix for own warningCampbell Barton
2007-12-13finite isnt defined on solaris 10, check and define - does the same as Win32Campbell Barton
2007-12-06Bugfix for IK locked axes with an initial rotation, gave wrongBrecht Van Lommel
starting angle in some cases, but wasn't always noticeable due to the IK solver changing it anyway. Bugfix for hidden bones in pose mode still being active, and preventing other bones from becoming active.
2007-12-01Fix for bug #7851: crash with LSCM unwrap, due to opennl refactor.Brecht Van Lommel
Fix for bug #7856: crash hitting "neg" button for particle vertex groups.
2007-11-29Solaris had a problem finding finite so had to conditionally Kent Mein
#include <ieeefp.h> Kent
2007-11-25Bugfix: Wrong 32/64bit check was used which resulted in a 2GB limit for some ↵Daniel Genrich
64bit architecture
2007-11-24- forgot to include a file in the last commitNils Thuerey
2007-11-22- Added OpenMP code, it is enabled by defining PARALLEL=1 for the elbeemNils Thuerey
compilation. Currently, it is not yet active by default, but Genscher wanted to do some tests. It can be used to distribute the computation load onto multiple shared- memory CPUs by splitting the domain along the y-axis (assuming a gravity force along z). However, there is no load balancing: so if there's fluid only in one of the y-axis halves you will not get a speedup for 2 CPUs. - Added a fix for the memory allocation bugs #7120 and #6775. In solver_init.cpp there are now several variables max___MemChunk (line 692+), that set upper limits for various systems. The same problem existed for mac & linux, but the limit is higher, so it probably went by undetected. The windows limit is currently 1GB, if the strange 700MB limit problems mentioned in the bug regports the bugs persist, this could be further reduced. For 64bit compilations this problem shouldn't exist anyway. What's still missing is a display of how much the resolution was reduced to fit into memory... - And some minor solver code cleanup.
2007-11-13Bugfix 7733Ton Roosendaal
New mouse scrollwheels allowing higher precision didn't work in Windows. Code was assuming only value of +120 or -120 were returned.
2007-11-05Mesh Deform ModifierBrecht Van Lommel
==================== The MeshDeform modifier can deform a mesh with another 'cage' mesh. It is similar to a lattice modifier, but instead of being restricted to the regular grid layout of a lattice, the cage mesh can be modeled to fit the mesh better. http://www.blender.org/development/current-projects/changes-since-244/modifiers/ Implementation Notes: - OpenNL has been refactored a bit to allow least squares matrices to be built without passing the matrix row by row, but instead with random access. MDef doesn't need this actually, but it's using this version of OpenNL so I'm just committing it now. - Mean value weights for polygons have been added to arithb.c, a type of barycentric coordinates for polygons with >= 3 vertices. This might be useful for other parts of blender too.
2007-11-01IKBrecht Van Lommel
== Solving is now done independent of scale, by scaling the chain to have a size of about 1.0. This solves some issues with small or big chains, and also makes the IK stretch setting independent of scale. The latter breaks backwards compatibility somewhat, but is an improvement over what it did before.
2007-10-29render stamp drawing is now done everywhere - (not just when saving Campbell Barton
images) separated stamp metadata and stamp draw functions.
2007-10-24Pole Target for IKBrecht Van Lommel
================== This adds an extra target to the IK solver constraint to define the roll of the IK chain. http://www.blender.org/development/current-projects/changes-since-244/inverse-kinematics/ Also fixes a crashes using ctrl+I to set an IK constraint on a bone due to the recent constraints refactor.
2007-10-24set the alpha value of text, so stamps are always visible in RGBA Campbell Barton
images, (reported by basse)
2007-10-20Image Stamping patch by Diego (and peach request)- stamps image info into ↵Campbell Barton
metadata and optionally draws into the frame. This patch includes some changes I made... * use blenders bitmap fonts (rather then own fonts) * select font size * user interface layout changes * Marker as another image stamp option Also added some new API calls BMF_GetFontHeight(font); BMF_DrawStringBuf(...); - so we can draw text into an imbuf's image buffer. get_frame_marker(frame) - get the last marker from the frame. IMB_rectfill_area(...) - fill in an image buffer with a rectangle area of color. TODO - draw stamp info in 3d view, at the moment it just displays in the animation.
2007-09-17Patch/Bugfix #7334 by 'gsr b3d:Joshua Leung
Some more compiler warning fixes. Some of these seem to be specific to GCC 4.1
2007-09-12more gcc 4.1.x warning cleanup:Stephen Swaney
applied MT_QueryAssert_patch.diff part of patch [#6994] Fixing warnings: conversion from string constant to char * Submitted by Renato Perini (mjordan). Thanks, Renato!
2007-09-12apply first part of patch #6994 - elbeem_warning_patch.diffStephen Swaney
Fixing warnings: conversion from string constant to char * This should make gcc 4.1.x a little happier.
2007-09-11This does nothing to fix the irix stuff but gets rid of a couple of simpleKent Mein
warnings that showup on irix. Kent
2007-09-06BugFix #7303Diego Borghetti
More fix to solaris build, patch by Vladimar Marek
2007-09-02== Sequencer ==Peter Schlaile
Bugfix: The mem cache limitor didn't take mmap-allocated memory into account, resulting in effectively disabling it, since all imbuf-data is currently allocated using mmap.
2007-08-31This covers bugs # 7130 7131 7132 7133Kent Mein
All small patches submitted by Vladimar Marek (neuron) Basically fixes up some headers for Solaris's compiler. Kent
2007-08-28This commit fixes up a bunch of svn properties to hopefully make things a ↵Kent Mein
little nicer for everyone. Patch provied by gsrb3d bug tracker #7061 Kent
2007-08-20Patch #6770 by James C (sheep)Matt Ebb
Tooltip getStringSize and getBoundingBox correction Not really any user-visible changes here, but a nice clean-up of internal font drawing functions, in this case used in tooltips. Thanks!
2007-08-15add the option of not installing to scons build systemJean-Luc Peurière
settting WITHOUT_BF_INSTALL='true' will disable the copying to INSTALL_DIR you can use that in your user-config.py or commandline slipping in minor cleaning for Os X builds
2007-08-04ToolsKen Hughes
----- Bugfixes for #6816 and #6988: Under Windows, Blender would crash if boolean operations were done on objects which resulted in an empty mesh. Problem was "iterators" created for ConvertCSGDescriptorsToDerivedMesh() tried to access invalid memory.
2007-07-28Updates to opennl for mesh laplacian matrix building, to make matrixBrecht Van Lommel
building with random access work together with variable locking.
2007-07-12ToolsKen Hughes
----- More improvements to boolean tools. The main change (although very little in code) is changing fuzzy comparisons of floating point values. For testing, a new define is added in intern/boolop/intern/BOP_MathUtils.h called VAR_EPSILON, which enables better comparisons. This is turned on by default; undefining it will revert to using the previous comparisons. The downside of these new comparisons is a loss in speed, but the resulting meshes are more likely to be manifold (although still not always). The other changes include speed improvements based on profiling results and fixes for the improper creation of triangular faces with only two vertices.
2007-07-04== MSVC 7.1 project files ==Andrea Weikert
- removed unused project keymaker
2007-07-01Tools:Ken Hughes
------ Bugfix #6847: Previous fix for "spikes" when using booleans caused creation of faces with only two unique vertices ("eekadoodles"). This patch cleans up the test for triangles with near-colinear vertices so PHANTOM faces can be used again, and also adds a hack for now which removes any eekadoodle faces. I haven't figured out yet exactly how the faces are being created; if I can do so and fix it the hack will be removed.