Mike Erwin
a51ebf247f
Renamed Mac file to exclude it from Windows build. Revoke this cowardly commit once I figure out how to properly fix the build script!
2010-07-24 06:49:24 +00:00
Mike Erwin
c4c46e4403
mostly formatting: put SystemCocoa on a diet of a thousand tabs, also spotted and fixed a leaky switch-case (trackpad gesture for 'rotate')
2010-07-23 10:03:22 +00:00
Mike Erwin
6216199af8
SpaceNav event capture for MacOS, dispatch for all platforms. To compile this, you need their Mac driver installed and to send '-weak_framework 3DconnexionClient' to the linker. I'm also exploring a HID Manager version, bypassing their driver (and any licensing issues).
2010-07-23 06:45:59 +00:00
Mike Erwin
47ea957c9d
provided a way for NDOF manager to poke SystemCocoa about out-of-loop events
2010-07-23 06:36:08 +00:00
Mike Erwin
195ad03901
more preliminary NDOF handling stuff (untested)
2010-07-22 09:30:01 +00:00
Mike Erwin
6c2dee0198
revamped NDOF event system for ghost, added (untested) Mac support
2010-07-22 07:23:41 +00:00
Mike Erwin
f0167c6a41
get more mouse events only when in hi-fi mode
2010-07-22 07:18:12 +00:00
Mike Erwin
b86a25efba
removed some NDOF plugin-related code
2010-07-22 07:15:00 +00:00
Mike Erwin
8a4d43427d
removed more unused Macintosh Carbon code
2010-07-22 07:10:57 +00:00
Mike Erwin
1a27b5a74d
removed unused Macintosh Carbon code
2010-07-22 07:07:28 +00:00
Mike Erwin
14736cab16
Added rudimentary SpaceNav event capture code for Windows.
...
Disabled RawInput mouse code.
2010-07-17 05:52:46 +00:00
Mike Erwin
8a138f4ab2
fixed misspelled variable in Wacom utility
2010-07-17 05:49:41 +00:00
Mike Erwin
f6730216e0
Tweak Windows #includes to require WinXP or newer and speed up build times.
2010-07-15 12:30:16 +00:00
Mike Erwin
7aa8ae3781
Hi-fi mouse input on Windows!
...
The remains of a RawInput mouse attempt are included, but disabled. RawInput will still be used for multi-axis devices.
Eliminated the need for several #defines by requiring WinXP or newer.
2010-07-15 12:24:14 +00:00
Mike Erwin
5b1925afba
Improved tablet support on Windows. Nice deep queue for input points. Much more is being captured now. WT_PACKET events are disabled until I can revisit in a day or two.
...
Also added Wacom's driver wrappers, with their permission. These won't live here very long, but the WindowWin32 tablet code uses it for now.
2010-07-15 12:12:52 +00:00
Mike Erwin
56b287bfe6
disabled lo-fi dispatch log to reduce event debugging noise
2010-07-15 11:54:24 +00:00
Mike Erwin
12d7b10c10
added filtered event dispatch for lo-fi mouse/pen input
2010-07-08 01:53:36 +00:00
Mike Erwin
6365cb3fa8
much-improved tablet handling; hi-fi input for mouse/pen
2010-07-03 07:03:21 +00:00
Mike Erwin
09f6604241
preparing for NDOF overhaul
2010-07-03 06:58:29 +00:00
Mike Erwin
905fcc7b74
guarding printf calls as MinGW (gcc 4.5) insists
2010-07-03 03:53:06 +00:00
Mike Erwin
d5cdfb18f6
removed unused #include
2010-06-26 01:34:49 +00:00
Mike Erwin
185c77989e
hint for mouse/pen input fidelity
2010-06-25 00:09:50 +00:00
Mike Erwin
da314f51bf
fixed tablet mouse spasm bug and refactored event handling
2010-06-19 10:35:01 +00:00
Campbell Barton
ed338da8c9
- WITH_CXX_GUARDEDALLOC working again
...
- CMake building without python or fluidsim working again (broke in recent commit)
- remove BLI_short_filename(), it wasnt used anywhere.
2010-06-06 01:15:44 +00:00
Damien Plisson
3f326354b8
Progress indicator in the application icon
...
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-06-01 20:21:40 +00:00
Nathan Letwory
b96a2c346c
Fixes [ #21791 ] Toggle Fullscreen (Alt + F11) returns to non-maximized window
...
Applied patch provided by Elia Sarti
2010-06-01 06:18:17 +00:00
Nathan Letwory
e2585355c3
Fixes : #22064 When the Windows task bar is placed on top of the screen, Blender "User Preferences" opens with the title bar underneath it
...
I applied the patch provided by Charlie Shen in the comments of the bug report
2010-05-30 13:50:59 +00:00
Dalai Felinto
c6bec43330
reverting previous commit from Mitchell. His commit went to the trunk instead of the branch :)
...
svn merge -r 29067:29066 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2010-05-29 21:31:57 +00:00
Mitchell Stokes
9d3157eed0
Reversing the last merge because I botched it.
2010-05-29 21:22:24 +00:00
Damien Plisson
93f5303e3f
Fix [ #22306 ]: convert dropped file names from OSX to correct char encoding to handle non 7-bit ascii chars (e.g. accents)
2010-05-22 07:32:55 +00:00
Sergey Sharybin
d33cef6974
Fix for compilation with newer ffmpeg library
...
Error was cased by undefined UINT64_C in stdint.h for c++
programs. As I understand from ffmpeg mailing list the simpliest
solution is to define __STDC_CONSTANT_MACROS before including
ffmpeg libraries. There already was some amout of such definitions in
the code and I've tested this with newer and older ffmpeg
libraries -- this should work and should be safe, but maybe
there is better way of fixing this problem.
2010-05-16 19:41:49 +00:00
Campbell Barton
c2ffcb8497
no functional changes
...
- add PySequenceMethods members (all NULL)
- spaces -> tabs
- cmake syntax warning from recent ghost commit
2010-05-16 10:09:07 +00:00
Campbell Barton
ae23308dd6
made cmake ghost file less confusing (was globbing then removing files for each system).
2010-05-15 12:16:19 +00:00
Joseph Eagar
a7cbd5008e
merging revisions 28564-28569 from render branch into trunk
2010-05-04 12:31:24 +00:00
Damien Plisson
6cb02a1672
Drag & drop from OS: set to accept any drop operation by default for now
2010-05-03 17:02:49 +00:00
Campbell Barton
5e74542bb6
use size_t for MEM_allocN_len as well as some of its callers
2010-04-29 21:46:25 +00:00
Nathan Letwory
d2f5a60ca2
Amendment to r28508 (Make Blender malloc be 64 bit ready)
...
- one function missed in header causes compile problems (intern/guardedalloc/intern/mallocn.c:352: error: conflicting types for ‘MEM_mapallocN’)
2010-04-29 19:41:12 +00:00
Guillermo S. Romero
1fc7ea774f
Make Blender malloc wrapper be 64 bit ready.
2010-04-29 17:34:40 +00:00
Campbell Barton
c757c66f92
reverting 28469, there is no use in using a long, while the allocation functions only accepts an int.
...
- only wastes 4 bytes per alloc.
Also would be most correct to use size_t
2010-04-28 08:15:26 +00:00
Guillermo S. Romero
d6b71243c2
Make len portable (as best as can tested with a 32 bit machine).
2010-04-27 18:21:49 +00:00
Campbell Barton
c80d0f1f85
fix for allocations over 2gig crashing blender (even on 64 bit systems)
...
the memheader len would wrap to a negative number and when freeing it would write into the memheader.
2010-04-27 15:46:58 +00:00
Joerg Mueller
5b4e62a977
Fix for #22135 , loading ffmpeg now before .B25.blend is loaded.
2010-04-24 16:35:16 +00:00
Brecht Van Lommel
0d5075676e
Fix #22085 : compile error on windows, M_PI undeclared.
2010-04-20 09:28:15 +00:00
Campbell Barton
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00
Brecht Van Lommel
9a85013692
Merge various small changes from render branch:
...
* Division by zero fix for TNT SVD code.
* Sound fix, in case ffmpeg decode fails, don't use the samples.
* Fix for incorrect bounds of transformed objects in new raytracing code.
* Gave memory arena's a name used for allocations for easier memory
usage debugging.
* Dupligroup no_draw option was using layers but not restrict view/render
setting. (not a bugfix exactly but would do display list context switching
while drawing for no reason).
* Fix objects instanced on hair particles not giving consistent results
when the object is transformed.
* New math functions: madd_v4_v4fl, len_squared_v3v3, interp_v4_v4v4v4,
mul_v4_m4v4, SH and form factor functions, box_minmax_bounds_m4.
* mul_m4_m4m4 and mul_m3_m3m3 now accept the same pointers for multiple
arguments.
* endjob callback for WM jobs system.
* Geometry node uv/color layer now has search list/autocomplete.
* Various small buildsystem tweaks, not strictly needed yet in trunk.
2010-04-15 10:28:32 +00:00
Guillermo S. Romero
7d9067ca2c
Make memstat easier to read, add missing Intel ID and cleanups.
2010-04-14 21:12:05 +00:00
Damien Plisson
5c24ce16b2
Cocoa fix [ #21866 ] : force mouse move event to be sent upon cursor position set request
2010-04-11 11:19:30 +00:00
Brecht Van Lommel
2a1644401e
Fix #20365 : new render window does not respect Windows taskbar at top of screen.
2010-04-06 17:11:38 +00:00
Dalai Felinto
33ee3fc6fe
CMake fix for GCC 4.4.1 crash (on ubuntu 9.10 ) reported (on IRC) and fixed by Elia Sarti (vekoon)
...
(it was broken since rev. 27257.)
2010-03-28 21:38:22 +00:00
Damien Plisson
dc4ac8a263
Fix [ #21689 ] for coordinate issue (y flipped) when setting mouse cursor position
...
Mem leak when using BGE fixed too.
2010-03-28 19:42:08 +00:00