Commit Graph

1271 Commits

Author SHA1 Message Date
Nathan Letwory
60a4c9d09e Some explicit casts to silence warnings (unsafe to mix int and bool in comparisons). 2011-03-11 22:06:18 +00:00
Nathan Letwory
dec585cb94 Fix a typo in defines. Patch by Alexander Kuznetsov
The typo resulted in bad keyboard input handling in MinGW builds.
2011-03-11 02:58:37 +00:00
Nathan Letwory
d6b43fed31 Fix [#26446] Quick extrude (Ctrl+LMB) works only one time
Reported by Michael R

This was one thing I didn't test when accepting patch [#26364]. It is important to not
send repeats of modifier keys.
2011-03-10 18:56:19 +00:00
Nathan Letwory
ca63b15131 Apply [#26364] New Windows keyboard handling
Submitted by Alexander Kuznetsov

Fixes [#25279] Shift-Numpad Combinations fail to align view to selected
and addresses [#26328] Blender uses global keyboard message hook which hurts system responsiveness on Windows

A whole new way of handling keyboard input improves greatly both code readability and event handling. Thanks for the great patch, Alexander!
2011-03-09 22:10:51 +00:00
Campbell Barton
53139432dd image.depth, 96/128 for float color images, was 24/32 for byte images.
also use <> for system includes
2011-03-09 01:25:59 +00:00
Nathan Letwory
ed8719bd1f Apply a small patch from mikktspace author Morten Mikkelsen (cosmetic changes). 2011-03-08 20:39:32 +00:00
Campbell Barton
709c727c51 replace 0 with NULL when used as a pointer 2011-03-03 17:58:06 +00:00
Nathan Letwory
ef648f617e Fix [#25476] Pan view not always works with shift+alt+LMB in Blender 2.56
Reported by Mihail Konoh

Applied patch submitted by Alexander Kuznetsov (to [#26208]). Thanks for long-standing head-ache :)
2011-03-01 15:14:59 +00:00
Campbell Barton
a12315e4ec use const char for return values of getenv(). 2011-02-26 15:28:56 +00:00
Guillermo S. Romero
2198cfdb2d SVN maintenance. 2011-02-25 19:23:23 +00:00
Nathan Letwory
058441e04f doxygen: intern/string tagged. 2011-02-25 11:51:19 +00:00
Nathan Letwory
b8e7f89003 doxygen: intern/smoke tagged. 2011-02-25 11:50:46 +00:00
Nathan Letwory
b07988274e doxygen: intern/moto tagged. 2011-02-25 11:49:19 +00:00
Nathan Letwory
f5419aec80 doxygen: intern/mikktspace tagged. 2011-02-25 11:47:49 +00:00
Nathan Letwory
65687c32fb doxygen: intern/memutil tagged 2011-02-25 11:47:18 +00:00
Nathan Letwory
b52453e8d6 doxygen: intern/itasc tagged 2011-02-25 11:45:16 +00:00
Nathan Letwory
c6f228c485 doxygen: intern/iksolver tagged. Leaving out TNT, since we have it in multiple locations. 2011-02-25 11:43:19 +00:00
Nathan Letwory
56a4b21695 doxygen: intern/guardedalloc tagged 2011-02-25 11:41:12 +00:00
Nathan Letwory
b15161a2d3 doxygen: fixup and tag intern/ghost. 2011-02-25 11:28:33 +00:00
Nathan Letwory
d14216ed04 doxygen: intern/elbeem tagged 2011-02-25 10:51:01 +00:00
Nathan Letwory
34dd520466 doxygen: intern/decimation tagged 2011-02-25 10:47:28 +00:00
Nathan Letwory
48f1858cad doxygen: intern/container tagged 2011-02-25 10:45:31 +00:00
Nathan Letwory
2401fad12a doxygen: intern/bsp tagged 2011-02-25 10:44:20 +00:00
Nathan Letwory
bd610e942a doxygen: intern/boolop tagged 2011-02-25 10:32:33 +00:00
Nathan Letwory
4e51512d0b doxygen: opennl tagged.
renamed BLO_sys_types.h to superlu_sys_types.h
2011-02-25 10:24:29 +00:00
Nathan Letwory
45ed5f53f6 doxgyen: audaspace tagged. 2011-02-25 10:21:56 +00:00
Nathan Letwory
5b607701a7 doxygen: prevent GPL license block from being parsed as doxygen comment. 2011-02-23 10:52:22 +00:00
Nathan Letwory
3f96359d5a doxygen: make sure license blocks don't interfere. 2011-02-22 23:40:06 +00:00
Nathan Letwory
33ceadb2a6 "I must be an idiot" 2011-02-22 23:14:27 +00:00
Nathan Letwory
ce717ff355 doxygen fix, otherwise file doesn't show up in module section. 2011-02-22 23:10:51 +00:00
Nathan Letwory
8e3fcf007a doxygen: add Audaspace C API entry 2011-02-22 21:58:43 +00:00
Nathan Letwory
5e41760a15 doxygen: add bullet to extern libs, some small changes in page names, and fixes around license blocks 2011-02-22 16:12:12 +00:00
Nathan Letwory
3459c1b26c Finally got around to fixing priorities, so cleanup in stubs.c can be done. blenderplayer builds again with cmake. 2011-02-21 16:41:36 +00:00
Campbell Barton
c14aca0e95 add includes to cmake files 2011-02-21 12:18:34 +00:00
Nathan Letwory
d9563f5e2b doxygen: some code shuffle to prevent clashing file names, ensure MEM_guardedalloc.h also shows in docs 2011-02-21 11:38:55 +00:00
Nathan Letwory
212d67734c doxygen: add guardedalloc and AVI 2011-02-21 09:23:34 +00:00
Guillermo S. Romero
c37884b015 Add XF86keysym.h detection and use to CMake system, for r34983. 2011-02-19 23:51:55 +00:00
Guillermo S. Romero
bb2d0eb230 Add media keys for XFree86/Xorg based X11.
TODO: setup build systems to define WITH_XF86KEYSYM.
2011-02-19 00:12:34 +00:00
Joerg Mueller
d36a89c8f4 Audaspace:
* Adding play method to the device classes to play back a reader (not used yet, preparation for a later feature).
* Using a linear resampler in case SRC is disabled.
2011-02-18 23:50:27 +00:00
Joerg Mueller
020c03bc05 Relicensing audaspace under GPL 2 or later. 2011-02-18 23:47:37 +00:00
Joshua Leung
346f749a57 Adding support for the "media" play/pause/stop/next/prev buttons
available on many keyboards these days, so that they can be used for
animation playback (giving more options over alt-a and alt-a ad-
infinitum).

Currently, this is Windows only as I don't have a Linux/Mac system to
test on (it should compile with both mingw and msvc, at least using
scons). Maintainers for those systems can probably easily add this in
once they find out the relevant mappings for those systems.
2011-02-18 22:42:03 +00:00
Guillermo S. Romero
456ca98564 malloc() comes from stdlib.h per K&R ANSI C, C89 & C99.
If some plataform really needs malloc.h, that is the exception to get #ifdef.
2011-02-17 21:14:54 +00:00
Nathan Letwory
f697247f0e Start simple intros for intern and extern libs.
Some reorg of modules/pages, start makesdna and makesrna.
In many places license block needs to be changed to not start with /**, because otherwise documentation will go weird.
2011-02-17 16:17:40 +00:00
Campbell Barton
538d9180d3 apply fix [#26117] Recent changes to "mikktspace.c" broke building on FreeBSD. Patch attached.
also check for NetBSD.

note: we probably should use define HAVE_MALLOC_H, seems common for other projects.
2011-02-17 08:35:15 +00:00
Nathan Letwory
f336b80d7f Starting work on doxygen cleanup. Many things still to be done. 2011-02-17 05:57:18 +00:00
M.G. Kishalmi
b7d349e09c The modifications in mkktspace broke compilation on gcc 4.2.x
This is a patch proposed by sparky_ on irc.
2011-02-16 08:49:27 +00:00
Campbell Barton
85edbd5f8d fix from mikes for building on apple with gcc 4.2.1 2011-02-16 05:03:33 +00:00
Nathan Letwory
b94be2aa14 Fix from sparky for compile problem with older GCC 2011-02-15 19:57:33 +00:00
Nathan Letwory
3ce233e28d Move mikktspace code to own library, so it is clear that it is also
intended as a standalone library for use in other applications that
want the same tangent space as Blender.

This also keeps blenkernel clean(er) from extra math functions.
2011-02-15 09:24:35 +00:00
Campbell Barton
55f68c3657 fix for more warnings.
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array.
- use BLI_snprintf rather then sprintf where the size of the string is known.
- particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later).
2011-02-12 16:54:24 +00:00