Campbell Barton
89c617a116
remove nan-makefiles
2011-01-30 15:29:22 +00:00
Nathan Letwory
037920caff
Make version check more future proof.
2011-01-28 08:51:15 +00:00
Campbell Barton
40b4471de7
fix for gcc 4.6 commit: this is needed for osx too.
2011-01-27 11:17:23 +00:00
Campbell Barton
6a2e5ad599
[ #25815 ] Patch gcc 4.6
...
with minor edits, made sure it works in CMake too.
2011-01-27 00:02:25 +00:00
Joshua Leung
340e411889
Silencing some annoying key-event prints in Win32 console:
...
The console was getting flooded with output like
g
i
i
...
all as a result of what looks like a debugging print. Whoever put this
in, you can get back your debugging prints by enabling BF_GHOST_DEBUG
in your local config :)
2011-01-26 23:58:20 +00:00
Nathan Letwory
a70e697381
Apply part of patch [ #25612 ] Windows 7 icon progress bar
...
Submitted by Alexander Kuznetsov.
This adds the progress bar to the taskbar item of Blender for Windows 7.
Small change in version retrieval, otherwise as is.
2011-01-26 12:23:02 +00:00
Nathan Letwory
75f155be33
Apply multimonitor fix part of patch [ #25612 ]
...
Submitted by Alexander Kuznetsov
Fixes [#23630 ] Negative OS screen coords not stored/used
Reported by Mort (mnme)
2011-01-26 12:19:19 +00:00
Campbell Barton
1bd0db59f4
use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
...
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25 14:43:13 +00:00
Campbell Barton
da2b490198
cmake maintenance, was missing 2 headers and made some minor improvements to cmake_consistency_check.py.
...
also converted GHOST_SystemWin32.cpp to utf8.
2011-01-25 08:35:10 +00:00
Nathan Letwory
f949c567b9
Fix [ #25715 ] [!] key doesn't work on french keyboard with Windows XP/7.\nSubmitted by Eric Le Pape\n\nThe key sent VK_OEM_8, which wasn't handled at all. Added code to detect primary language and handle VK_OEM_8 specifically for certain layouts.
2011-01-24 14:37:10 +00:00
Campbell Barton
d2076e38f1
correct own bad spelling
2011-01-23 12:42:07 +00:00
Mike Erwin
6132f8c4b4
applied Linux SpaceNav patch from Rafael Ortis
2011-01-21 10:11:26 +00:00
Mike Erwin
50186191d9
enabled multithread GL engine + minor cleanup
2011-01-21 09:56:41 +00:00
Diego Borghetti
44fbbe7c55
Ghost:X11 Set the default max width and max height value.
...
Some window manager can set default value of this to be the
screen size, so running blender with -p or --window-geometry
don't work with value bigger than that.
This commit try to "avoid" the bug #25709 , but at the end
depend on the window manager, so maybe work or maybe not.
2011-01-20 20:24:18 +00:00
Damien Plisson
7d675b15fb
Fix [ #25678 ]: (Ghost Cocoa) Fix character encoding translation for filenames (open & window title display)
2011-01-18 20:53:20 +00:00
Andrea Weikert
0b1e517052
fix compile on MinGW, missing define in the mingw headers.
2011-01-17 19:39:25 +00:00
Campbell Barton
26ee86b20d
These files are needed for booleans (which I had disabled)
...
reverse merge:
svn merge . -r34357:34356
2011-01-16 20:52:15 +00:00
Campbell Barton
627d47c322
remove MSVC 6.0 workaround.
2011-01-16 20:25:47 +00:00
Campbell Barton
e3c69e6cfe
remove unused memutil classes
2011-01-16 19:55:50 +00:00
Campbell Barton
f66912a335
misc edits, no functional changes
...
- enabling/disabling no longer prints in the terminal unless in debug mode.
- remove 'header' struct from BLI_storage_types.h, from revision 2 and is not used.
- Add GCC property to guardedalloc to warn if the return value from allocation functions isn't used.
2011-01-15 15:48:46 +00:00
Campbell Barton
c9f353956c
use PySequence_Size() rather then PySequence_Length(), this is only kept in python for backwards compatibility.
2011-01-09 14:53:18 +00:00
Guillermo S. Romero
a46689b15d
SVN maintenance.
2011-01-05 19:19:49 +00:00
Andrea Weikert
a45183125a
Patch: [ #22524 ] Update Windows Recent Documents on Open/Save
...
Slightly modified to better fit in architecture (moved to related GHOST SystemPaths)
Thanks to Harley Acheson for the research and for providing the original patch.
Note: I added empty function for X11(Linux) and Mac (Carbon and Cocoa) to be implemented still.
2011-01-05 14:56:10 +00:00
Andrea Weikert
195cc9c6a6
ToDo: long outstanding patch to allow access to system paths in background mode
...
Thanks Damien Plisson for contributing the Carbon and Cocoa implementation
2011-01-05 14:00:14 +00:00
Damien Plisson
559059ab3f
Fix [ #25442 ]: (Ghost Cocoa) Add missing initialization of associated object pointer when switching to/from fullscreen.
2011-01-01 19:48:14 +00:00
Nathan Letwory
4eb806b0a4
Fix [ #24630 ] alt+shift+LMB dragging does not work
...
Reported by Nils Austa
There was double handling of modifier keys. With my autumn work on the modifier keys I had moved state checks for
modifier keys into convertKey(), but left the call to handleModifierKeys. That caused problems with proper
modifier key handling in the entire key handling code of GHOST.
2010-12-28 13:03:38 +00:00
Joerg Mueller
9118614d8e
Fix for blender crashing when starting playback with audio without being able to open the audio file.
2010-12-27 11:32:43 +00:00
Campbell Barton
5e382eb8e5
rename blenderlib to blender_add_lib
2010-12-22 23:09:30 +00:00
Joerg Mueller
f08fb046ce
Audio:
...
* Improve Jack Transport responsiveness.
* Added minor error checking to OpenAL.
2010-12-22 10:51:34 +00:00
Mike Erwin
66bdb9a12f
late summer -- overhauled tablet-handling for Windows
2010-12-17 00:13:23 +00:00
Guillermo S. Romero
fef0549ea5
SVN maintenance.
...
Plus some typo fixes in comments.
2010-12-16 19:05:47 +00:00
Campbell Barton
acd7b81c2d
bugfix [ #25230 ] Quick extrude Ctrl-LMB : wrong behaviour of 'RotateSource' option.
...
Problem is is with operator redo which click-extrude exposed.
Check if redo operator can run, otherwise lock the UI and add a label that the operator doesn't support redo.
This is clunky but IMHO better then failing silently and leaving the user confused.
- Merged redo functions into ED_undo_operator_repeat(), code was duplicated in a few places.
- added WM_operator_repeat_check to check if WM_operator_repeat() can run, avoids an undo call when redo work.
Unrelated changes
- GHOST_SystemWin32.cpp set to utf8 encoding.
- cmake_consistency_check.py now checks source files are utf8.
2010-12-15 04:06:19 +00:00
Mike Erwin
a7f2cbc88f
As-yet uncommitted changes from end of summer. General code cleanup Mac-side, removed some unnecessary NSAutoreleasePool guards, etc. By no means complete -- just wanted to get this in and do a fresh checkout on another machine.
2010-12-14 22:43:52 +00:00
Campbell Barton
afacd18498
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
2010-12-08 08:43:06 +00:00
Campbell Barton
3e7469cd01
Added WITH_CXX_GUARDEDALLOC support for GHOST, disabled by default.
2010-12-07 11:57:34 +00:00
Damien Plisson
5150884550
Cocoa : fix drag and drop was no more operational after having fullscreened the window
2010-12-04 14:26:45 +00:00
Campbell Barton
263830f000
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.
...
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03 17:05:21 +00:00
Campbell Barton
cd97253502
- added GCC warning -Wstrict-prototypes
...
- fixed bug in paste material, exposed by stricter warnings.
- removed/renamed various shadowed vars.
- removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03 12:30:59 +00:00
Campbell Barton
b45c3363fd
fix for some pedantic warnings.
2010-12-03 01:52:28 +00:00
Campbell Barton
8a761a374a
quit blender if the first X11 window fails to open.
...
mainly just to avoid a segfault so the user knows its not a bug.
2010-12-01 07:15:05 +00:00
Campbell Barton
42d6603cae
Add option for CMake to build libredcode, also use CODEC prefix for ffmpeg, quicktime & sndfile options.
2010-11-30 18:52:39 +00:00
Campbell Barton
e8397e6193
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
...
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29 04:35:56 +00:00
Brecht Van Lommel
9a6fee750a
Fix #24775 : boolean modifier crash in rendering on Mac. Problem was that this
...
ran out of stack memory, now it passes some arguments by reference instead of
by value to use less stack space.
2010-11-26 03:26:57 +00:00
Campbell Barton
77e3d5dfb4
define UNUSED() locally for mmap_win
2010-11-24 20:56:25 +00:00
Campbell Barton
c5f7207948
fix for crash introduced r33257, also tag some vars as unused.
2010-11-24 20:13:37 +00:00
Campbell Barton
837fedf372
fix for building with mingw/cmake
2010-11-22 23:25:21 +00:00
Campbell Barton
c85c2746df
WITH_SAMPLERATE option for cmake, without this playback wont behave right so this is mainly intended for developers who build without audio enabled.
2010-11-21 14:32:55 +00:00
Campbell Barton
39b7bfe6bd
- check IF WIN32 AND NOT UNIX (for cygwin)
...
- patch from Mike S to enable OpenMP and xcode
2010-11-21 13:41:43 +00:00
Campbell Barton
78cd971bac
- smoke wasn't closing the file of loading a tile had the wrong length.
...
- missing break in operator context switch meant RGN_TYPE_CHANNELS was always being overwritten with RGN_TYPE_PREVIEW when calling operators (from r26692)
2010-11-20 07:51:39 +00:00
Campbell Barton
de9bb343cf
fix smoke memory leak with OpenMP disabled.
2010-11-20 07:40:50 +00:00