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
2010-02-28Bug in OpenAL backend returning wrong playback position.Joerg Mueller
2010-02-27System dependent standard directory retrieval functions update : return ↵Damien Plisson
const strings (as coded in libc) instead of malloc'ed buffers and plug them into wip BLI_bfile.c to replace the hardcoded paths
2010-02-21building without jack was brokenCampbell Barton
2010-02-212.5 Audio:Joerg Mueller
* Jack Transport support! * Minor sequencer audio corrections.
2010-02-16compile fixes for MSVC!Andrea Weikert
* function must return value! * missing _USE_MATH_DEFINES for M_PI
2010-02-16[#18961] Use const char * where appropriate (2.5)Campbell Barton
from Sean Bartell (wtachi) added own changes bpy_props.c
2010-02-16Cocoa : mem leak fixDamien Plisson
This fixes the mem leak part of bug report #21186
2010-02-16Cocoa: bugfix [#21158] fix modifiers keys status upon gaining focusDamien Plisson
10.6 new function to get modifiers flags status asynchronously returns erroneous value when application gets focus after a virtual desktop switch (Spaces). Use legacy method to retrieve the modifiers flags status sent with the last event. Works as at least the "focus gained" event is sent before this query. Bonus: should work also on pre-10.6!
2010-02-16OSX/deprecated Carbon: user and system base dirs retrieval implementationDamien Plisson
As Carbon is bound to RIP, implemented only a static version of these retrieval functions.
2010-02-16Cocoa: user and system base dirs retrieval implementationDamien Plisson
2010-02-16Self tsk. Too much copy paste.Guillermo S. Romero
2010-02-16Tsk!Martin Poirier
2010-02-16System dependant functions (skeletons) to retrieve user and system base dirs.Guillermo S. Romero
Thus #defines in BLI_bfile.c can be dropped, as suggested by Damien Plisson. Feel free to fill in the non Unix ones. For extra info see: http://wiki.blender.org/index.php/BlenderDev/Blender2.5/ResourceFilePaths http://wiki.blender.org/index.php/BlenderDev/Blender2.5/EnvironmentVariables
2010-02-13fix for blenderplayer building.Campbell Barton
2010-02-13fix for memory leak: node animation data wasnt being free'dCampbell Barton
also some corrections to memory debug stuff.
2010-02-13simple malloc counter for debugging. disabled so no functional change.Campbell Barton
Use when memory isnt being freed to easily set a breakpoint the Nth allocation.
2010-02-12correct fsf addressCampbell Barton
2010-02-12Lowering latency of jack a little depending on buffer size.Joerg Mueller
2010-02-112.5 Audio: The jack backend is now realtime capable and will not produce so ↵Joerg Mueller
much xruns anymore. :-)
2010-02-10Cocoa : use Cocoa NSWindow tag for identifying the window where a ↵Damien Plisson
mouse/tablet/key event happened => enables some actions in inactive windows as per OSX standard Previous code was assuming an event can only be sent from the active window. On OSX, Right, Middle mouse buttons, mouse wheel and trackpad events are sent to inactive windows too. For example, this allows to zoom, pan the view without changing the window order.
2010-02-08MSVC projectfilesAndrea Weikert
* quick update for audaspace
2010-02-082.5 Audio:Joerg Mueller
- Using libsamplerate again, doesn't seem to be the bug source. - Changed sequencer audio to work with 2 channels and 44.1 kHz fixed.
2010-02-08Guardedalloc: added MEM_reallocN function to do simple alloc/memcpy/free,Brecht Van Lommel
not as optimized as a system realloc but I've had to do this often enough manually to justify a utility function.
2010-02-082.5 Audio:Joerg Mueller
- Python script to crossfade two sound strips in the sequencer - Fix for the libsamplerate code producing awful audio when resampling sequencer strips - Changed default resampler to a linear one (as temporary workaround for a bug that seems to be in the samplerate code) - Fix for the OpenAL device to return a more accurate playback position
2010-02-08Warning fixes, one actual bug found in sequencer sound wave drawing. AlsoBrecht Van Lommel
changed some malloc to MEM_mallocN while trying to track down a memory leak.
2010-02-08NULL check if file cant be read.Campbell Barton
2010-02-082.5 Audio:Joerg Mueller
- recode of the whole sequencer audio handling - encode audio flag removed, instead you choose None as audio codec, added None for video codec too - ffmpeg formats/codecs: enabled: theora, ogg, vorbis; added: matroska, flac (not working, who can fix?), mp3, wav - sequencer wave drawing - volume animation (now also working when mixing down to a file!) - made sequencer strip position and length values unanimatable
2010-02-07Smoke: Patch #20955 / fix by Damien Plisson (damien78)Daniel Genrich
* Smoke got it's own thread loop now and can be esc'ed now * Apple OpenMP bug workaround until they fix the GCC (couldn't test this one) * removing some "static" keyword to prevent crashing on frame display * should also fix problems with wavelet.noise crashing (Bug #20710) Fluid: * sleep delay has been reduced to be more responsive * Fluid progress is displayed in percent using the mouse cursor (like smoke)
2010-02-06MSVC compile fixAndrea Weikert
* needed to add _USE_MATH_DEFINES to make M_PI known
2010-02-06Bugfix #20971: IK Joints Inexplicably Stiff In Recent Blender 2.5 BuildsJoshua Leung
- IK-Solver interfaces were still converting units from degrees to radians. Made these all use radians now. - Tried to fix the DOF limits drawing. This is still not totally functional again yet, but at least there are visible lines now.
2010-02-04Update MSVC project files.Benoit Bolsee
2010-02-01SVN maintenance.Guillermo S. Romero
2010-02-01this restores building on mingw with Collada support, also it restores cross ↵Tom Musgrove
compiling, thanks to Sergey Sharybin for the patch. Note that the icons for linux cross might not be committed here, if not i'll add them in another commit
2010-02-01Wrong include path in revision 26519 (missing space when concatenating includes)Martin Poirier
2010-02-01Cocoa/DND : give feedback to user of drop possibility before actual dropDamien Plisson
The '+' in the cursor during the DND operation is displayed only if drop is accepted. (through a previous call to GHOST_setAcceptDragOperation(window, TRUE); )
2010-02-01Cocoa/DND : added bitmap data type handling in drag'n'drop operationsDamien Plisson
Conversion of OS type to ImBuf is done inside ghost.
2010-02-01Cocoa : fix mouse cursor hang when RMB-dragging in a not frontmost windowDamien Plisson
With continuous grab on, in 2+ window setup, when RMB-dragging an object in a 3D view of a not active (not frontmost) window, mouse cursor was stuck, with no escape. Cursor grab must be done by the window that is key (able to receive mouse move events).
2010-02-01Cocoa : implement opening .blend file by double-clicking on it in OSX FinderDamien Plisson
When the user double-clicks on a document file in the Finder, OSX doesn't simply give the filename as a command-line argument when calling Blender, as it is done in other OSes. Instead, it launches the app if needed, and then sends an "openFile" event. The user can also open a document file by dropping its icon on the app dock icon. But as this is not real Drag'n'drop, I've renamed the Ghost event to a less confusing "GHOST_kEventOpenMainFile" name. DND Ghost wiki page updated : http://wiki.blender.org/index.php/BlenderDev/Blender2.5/DragnDrop
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 ?
2010-01-28Cocoa : fix 'Draw Overlap' method swap issuesDamien Plisson
2010-01-26Drag and drop 2.5 integration! Finally, slashdot regulars can useTon Roosendaal
Blender too now! :) ** Drag works as follows: - drag-able items are defined by the standard interface ui toolkit - each button can get this feature, via uiButSetDragXXX(but, ...). There are calls to define drag-able images, ID blocks, RNA paths, file paths, and so on. By default you drag an icon, exceptionally an ImBuf - Drag items are registered centrally in the WM, it allows more drag items simultaneous too, but not implemented ** Drop works as follows: - On mouse release, and if drag items exist in the WM, it converts the mouse event to an EVT_DROP type. This event then gets the full drag info as customdata - drop regions are defined with WM_dropbox_add(), similar to keymaps you can make a "drop map" this way, which become 'drop map handlers' in the queues. - next to that the UI kit handles some common button types (like accepting ID or names) to be catching a drop event too. - Every "drop box" has two callbacks: - poll() = check if the event drag data is relevant for this box - copy() = fill in custom properties in the dropbox to initialize an operator - The dropbox handler then calls its standard Operator with its dropbox properties. ** Currently implemented Drag items: - ID icons in browse buttons - ID icons in context menu of properties region - ID icons in outliner and rna viewer - FileBrowser icons - FileBrowser preview images Drag-able icons are subtly visualized by making them brighter a bit on mouse-over. In case the icon is a button or UI element too (most cases), the drag-able feature will make the item react to mouse-release instead of mouse-press. Drop options: - UI buttons: ID and text buttons (paste name) - View3d: Object ID drop copies object - View3d: Material ID drop assigns to object under cursor - View3d: Image ID drop assigns to object UV texture under cursor - Sequencer: Path drop will add either Image or Movie strip - Image window: Path drop will open image ** Drag and drop Notes: - Dropping into another Blender window (from same application) works too. I've added code that passes on mousemoves and clicks to other windows, without activating them though. This does make using multi-window Blender a bit friendler. - Dropping a file path to an image, is not the same as dropping an Image ID... keep this in mind. Sequencer for example wants paths to be dropped, textures in 3d window wants an Image ID. - Although drop boxes could be defined via Python, I suggest they're part of the UI and editor design (= how we want an editor to work), and not default offered configurable like keymaps. - At the moment only one item can be dragged at a time. This is for several reasons.... For one, Blender doesn't have a well defined uniform way to define "what is selected" (files, outliner items, etc). Secondly there's potential conflicts on what todo when you drop mixed drag sets on spots. All undefined stuff... nice for later. - Example to bypass the above: a collection of images that form a strip, should be represented in filewindow as a single sequence anyway. This then will fit well and gets handled neatly by design. - Another option to check is to allow multiple options per drop... it could show the operator as a sort of menu, allowing arrow or scrollwheel to choose. For time being I'd prefer to try to design a singular drop though, just offer only one drop action per data type on given spots. - What does work already, but a tad slow, is to use a function that detects an object (type) under cursor, so a drag item's option can be further refined (like drop object on object = parent). (disabled) ** More notes - Added saving for Region layouts (like split points for toolbar) - Label buttons now handle mouse over - File list: added full path entry for drop feature. - Filesel bugfix: wm_operator_exec() got called there and fully handled, while WM event code tried same. Added new OPERATOR_HANDLED flag for this. Maybe python needs it too? - Cocoa: added window move event, so multi-win setups work OK (didnt save). - Interface_handlers.c: removed win->active - Severe area copy bug: area handlers were not set to NULL - Filesel bugfix: next/prev folder list was not copied on area copies ** Leftover todos - Cocoa windows seem to hang on cases still... needs check - Cocoa 'draw overlap' swap doesn't work - Cocoa window loses focus permanently on using Spotlight (for these reasons, makefile building has Carbon as default atm) - ListView templates in UI cannot become dragged yet, needs review... it consists of two overlapping UI elements, preventing handling icon clicks. - There's already Ghost library code to handle dropping from OS into Blender window. I've noticed this code is unfinished for Macs, but seems to be complete for Windows. Needs test... currently, an external drop event will print in console when succesfully delivered to Blender's WM.
2010-01-26Update MSVC project filesBenoit Bolsee
2010-01-25Smoke: The well known Miika Hämäläinen (aka MiikaH) patch ↵Daniel Genrich
(http://blenderartists.org/forum/showthread.php?t=158317&page=42) * Better (and windows enabled) OpenMP handling (> 2x-5x speed) * More Volumetric Texture mapping options (heat, etc) <-- Matt if that's not to your liking, just revert that part, it's separate anyway * Initial velocity taken from particle settings (no more slow starting) * Option to select compression method (there seem to be a bug in my high compression usage, at least it's been reported to result in exploding smoke - better use low compression for the time being) It's been tested since a while but as usual please report any (new!) bugs. ;-)
2010-01-24remove own experiemental codeJoseph Eagar
2010-01-22Fix MEM_testN not unlocking mutex correctly, unlikely to lead toBrecht Van Lommel
problems in practice but might as well fix.
2010-01-21Continuous grab in X11 could give events to a different window if the mouse ↵Campbell Barton
was moved very fast (before it warped) or if there was another blender window with the same process set to always on top. call XGrabPointer with owner_events set to false so mouse events are given to the window that initiated the grab.
2010-01-21Added a new notifyer, NC_SPACE_CHANGED, to signal an editor thatJoseph Eagar
replaces another so it can do updates (e.g. dopesheet editor can sync channel selection). Also coded a simple optimization for allocating small objects, based on mempools. It's #ifdef'd out, you can enabled it by defining OPTIMIZE_SMALL_BLOCKS (e.g. adding -DDOPTIMIZE_SMALL_BLOCKS to your compiler flags). We suffer from a great deal of performance loss from the system allocator (vgroups, ghash, edgehash, the singly-linked list implementation in blenlib, editmesh, and likely a great many areas I'm forgetting), and this is the common solution for handling the many-small-objects problem. It's not really production-ready yet (it's long-term memory consequencers need to be profiled first, and the implementation tweaked as necassary), but for people on systems with slow system allocators it's worth trying. Note that since this creates a guardedalloc<->blenlib link, the build systems need to be updated accordingly (I've already done this for scons, though I'm not sure if the player builds).
2010-01-19- AIX ifdef's so windows works, cant test but this seems the most used ↵Campbell Barton
define. might need to add to buildsystem config. - transform default scale was too hight, calls to random were inconsistant. (fault of own modif's) - cmake openal include was added twice on recent commit.
2010-01-19Windows Compile Fix. No need for strings.h on win32.Thomas Dinges
2010-01-19patch [#20612] Making Blender compile on AIX 4.3.3Campbell Barton
from Philipp Gühring (sourcerer)