Campbell Barton
abce099804
code cleanup: quiet some windows warnings.
2012-09-15 04:57:51 +00:00
Campbell Barton
1a7eb3454e
style cleanup
2012-09-08 08:59:47 +00:00
Campbell Barton
04b5ef20f1
style cleanup: indentation
2012-09-06 02:20:03 +00:00
Campbell Barton
47ec91e8d3
code clenup: comments and some style edits on ghost/osx (odd indentation)
2012-09-06 02:10:09 +00:00
Campbell Barton
914d389713
fix for building without python, also rework python-main-loop control in the BGE to not use RNA (use lower level BKE/BLI funcs instead)
2012-09-04 03:26:12 +00:00
Brecht Van Lommel
195c520d05
Fix #32046 : GHOST_DropTargetWin32 memory leak, patch by Matt D.
2012-09-03 17:41:47 +00:00
Jens Verwiebe
8321acaf43
missing linebreak when multithreaded gl meesage is printed to log
2012-08-28 13:43:20 +00:00
Campbell Barton
9e742ffc2b
style cleanup: also correct some doxy comments
2012-08-18 13:07:48 +00:00
Campbell Barton
b96c622015
style cleanup
2012-08-11 22:12:32 +00:00
Campbell Barton
c567cf3fab
code cleanup: WM naming conventions
2012-08-11 21:35:24 +00:00
Campbell Barton
f0951f58ca
code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering
2012-08-08 18:37:06 +00:00
Campbell Barton
3179ee8a86
patch [ #32282 ] Fix segfault on exit in IM shutdown.
...
from Bill Currie (taniwha)
2012-08-08 07:31:19 +00:00
Campbell Barton
a199ae5368
style cleanup: whitespace, also add '?' to save over popup since it wasnt totally clear it was a question (user pointed this out, they thought it was just notification and lost their work).
2012-07-31 23:06:12 +00:00
Campbell Barton
33a9cafc3b
quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp.
2012-07-31 21:26:14 +00:00
Campbell Barton
4c2de5e0c7
fix some types and incorrect info
2012-07-26 17:41:09 +00:00
Lukas Toenne
80c1bb4775
Removed nested comment, which causes compiler errors.
2012-07-22 11:21:36 +00:00
Campbell Barton
9b51503307
style cleanup
2012-07-21 22:58:08 +00:00
Jens Verwiebe
30b3907128
OSX: make the progressbar in dock a gradient, to give it a more matching 3D appearance
2012-07-12 11:35:51 +00:00
Campbell Barton
35b6f41f46
patch [ #30274 ] XIM improvement (non-latin support + connection recovery)
...
from Shinsuke Irie (irie)
(from the tracker submission)
- allow us to input non-latin languages such as Japanese/Chinese
- recover XIM connection and its input contexts when XIM server restarted
Currently it supports only "root window" style input, while most people (and I) want "over the spot" or "on the spot" style one. Probably the implementation of "over the spot" or "on the spot" style becomes much complicated, because XIM server requires the coordinates of current cursor location relative to the screen in order to show the candidate window in appropriate position.
2012-07-11 08:31:54 +00:00
Campbell Barton
4bc818d240
code cleanup: quiet uninitialized memory use warning for X11 - harmless in this case but always gave warnings with memcheck (RGB color for alpha zero icon color wasnt initialized).
...
also some other minor changes.
2012-07-08 12:23:58 +00:00
Nicholas Rishel
19011d44cf
Doxygen cleanup
2012-07-05 04:47:47 +00:00
Campbell Barton
715edceb42
spelling cleanup: metre -> er
2012-07-04 12:56:58 +00:00
Campbell Barton
8b865c01cd
style cleanup: comments
2012-06-30 22:49:33 +00:00
Campbell Barton
9beef7442c
style cleanup: also some spelling correction.
2012-06-27 05:59:41 +00:00
Campbell Barton
3c8a4c458b
more guardedalloc use in C++, also make compositorMutex a static var, was allocated and never freed.
2012-06-25 10:35:24 +00:00
Campbell Barton
cc0784c1b9
optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro.
2012-06-25 09:14:37 +00:00
Campbell Barton
74c9c24d27
style cleanyp
2012-06-23 23:22:19 +00:00
Campbell Barton
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
Campbell Barton
606d76f07d
fix for building blender as a python module on windows.
2012-06-15 20:59:00 +00:00
Campbell Barton
d5032657ed
style cleanup
2012-06-06 22:38:39 +00:00
Campbell Barton
5189356d58
style cleanup
2012-06-04 20:11:09 +00:00
Campbell Barton
1aa27e240c
code cleanup: replace some non utf8 chars
2012-06-03 11:16:13 +00:00
Campbell Barton
b3bc5edffc
replaced last instance of BF_GHOST_DEBUG
2012-05-30 17:14:55 +00:00
Campbell Barton
b33f0ef0e3
style cleanup
2012-05-27 19:40:36 +00:00
Campbell Barton
2ab62ce126
code cleanup: defines with braces - end with '(void)0' so callers must end with ';' like normal function.
...
... without this some editors dont parse the source so well.
2012-05-27 12:21:13 +00:00
Campbell Barton
857dedbc58
style cleanup
2012-05-27 00:36:50 +00:00
Brecht Van Lommel
942fcf4415
Unix: enable use of XDG paths for storing Blender configuration on Linux/BSD/..,
...
starting from version 2.64. Unless you have a special system setup, this means the
will be in ~/.config/blender rather than ~/.blender.
When the version number is changed to 2.64, the "Copy Previous Settings" operator
in the splash will copy the settings to the new location.
XDG base directory specification:
http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
2012-05-25 12:08:29 +00:00
Campbell Barton
9abd6e7651
style cleanup
2012-05-24 13:18:53 +00:00
Campbell Barton
9c9a5b882d
style cleanup: ghost
2012-05-19 09:57:55 +00:00
Campbell Barton
112b1a0779
style cleanup: ghost headers
2012-05-19 09:23:08 +00:00
Campbell Barton
6522880772
style cleanup: ghost/x11
2012-05-18 20:13:40 +00:00
Campbell Barton
3bbfbfe4b1
dont use sdl include when building headless
2012-05-11 14:17:49 +00:00
Mike Erwin
243304a623
ndof: restored support for older serial port 3D mice on Linux (R45951 broke it, oops)
2012-05-08 05:04:29 +00:00
Brecht Van Lommel
b613879f34
GHOST/Cocoa: revert tablet detection commit for continuous grab, apparently it is
...
already doing it and this change breaks something? Still it seems strange that it
is doing tablet stuff in this part of the code then.
2012-05-07 13:42:25 +00:00
Brecht Van Lommel
97df6dab2f
GHOST/Cocoa: detect tablet event to disable continuous grab. Don't have tablet
...
to test it though, can someone with Mac + tablet confirm if continuous grab
gets automatically disabled when using the tablet?
2012-05-07 10:53:12 +00:00
Brecht Van Lommel
d7f214b581
Fix mac build error after ghost cocoa changes.
2012-05-06 22:36:51 +00:00
Campbell Barton
d5b96163f7
code cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we check for mouse warping.
2012-05-06 15:59:57 +00:00
Campbell Barton
4504c66124
disable warping for tablet events (X11 only), added TODO's for OSX and win32.
2012-05-06 15:45:48 +00:00
Jason Wilkins
a0ce240de9
Renamed "fake" OpenGL identifiers.
...
Any identifier that looks like an OpenGL identifier, but isn't, causes a false alarm by the glreport.py tool. Most of these were in comments so I just rephrased the comments. There were a couple of static functions/macros that were easy enough to rename. Only the glTexco and glIndex fields of the DMVertexAttribs struct was public and had non-local uses.
2012-05-04 11:50:11 +00:00
Campbell Barton
5fb53b6b30
patch [ #31091 ] PVS-Studio Analysis Fixes
...
from Jason Wilkins (jwilkins)
left out openjpeg changes since this library needs updating.
2012-04-30 08:35:18 +00:00
Campbell Barton
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
Mike Erwin
b12fd22791
ndof: avoid potential buffer overflow in libspnav
2012-04-25 01:24:29 +00:00
Antony Riakiotakis
4782522379
Add libMV and Scons support for MinGW-w64, patches by Caleb Joseph with slight modifications.
...
Thanks!
2012-04-24 12:57:58 +00:00
Antony Riakiotakis
8b476d0275
First MinGW-w64 support for cmake has been added. To test I recommend this build:
...
http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download
Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them.
This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64.
Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup).
Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW.
The wiki docs have also updated. Happy testing!
2012-04-23 20:09:59 +00:00
Campbell Barton
cc1259178b
code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings.
2012-04-12 02:15:33 +00:00
Thomas Dinges
732806225d
Ghost:
...
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:
2012-04-06 10:24:15 +00:00
Campbell Barton
83e83e5eff
quiet some warnings for gcc 4.7
2012-03-26 20:49:33 +00:00
Campbell Barton
d89c5077f3
patch [ #30636 ] Enable full screen mode with SDL2
...
from Wander Costa (walac)
2012-03-22 18:47:52 +00:00
Dalai Felinto
a00594837a
patch [ #30635 ] Fix SDL2 version check by Wander Costa (walac)
2012-03-22 14:06:42 +00:00
Alexander Kuznetsov
f11a6d3a84
Adds support for utf paths on Windows.
...
Not all file formats/calls are supported yet. It will be expended.
Please from now on use BLI_fopen, BLI_* for file manipulations.
For non-windows systems BLI_fopen just calls fopen.
For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20 02:17:37 +00:00
Guillermo S. Romero
dd8504ed87
SVN maintenance.
2012-03-18 01:58:16 +00:00
Alexander Kuznetsov
ed44ddd816
Patch by Psy-Fi + my minor changes
...
Adds conformation on exit for windows. Needs to be enabled in user perf.
Tried to edit blender.exe.manifest for more modern dialog look, but didn't work out.
2012-03-16 17:37:45 +00:00
Campbell Barton
08f17b2a53
SDL ghost update to work with SDL2.
...
this gives some problems because SDL2 Needs a window before fullscreen is set, the player currently doesnt have a window created when fullscreen is called.
2012-03-13 20:24:05 +00:00
Campbell Barton
59303e35fc
WITH_GHOST_SDL working again (missing std:: update)
2012-03-13 14:28:58 +00:00
Campbell Barton
2fbb5ce833
bmesh py api: more comprehensive intro page, also fix some spelling errors.
2012-03-13 06:22:43 +00:00
Mike Erwin
8600c8df43
ndof button handling improvements: Spaceball5000's A,B,C buttons can now be keymapped, ndof modifiers (shift,alt,etc.) are almost ready but still hardcoded to act like keyboard for now. added a check to prevent crash on Linux when device is plugged in after blender starts. also fixed a bug introduced by my last commit that affected the SpaceTraveler and serial devices.
2012-02-29 02:44:08 +00:00
Campbell Barton
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
Mike Erwin
5df6869b37
ndof: unified button handling for modern 3Dx devices, also first steps toward keymappable modifiers (shift,ctrl,etc.)
2012-02-26 22:18:16 +00:00
Campbell Barton
190f5d1787
code cleanup: dont set the namespace in STR_String.h - 'using namespace std', since this is included in many places.
2012-02-23 02:36:30 +00:00
Sergey Sharybin
9def83f7e0
XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons
...
Disabled on FreeBSD platforms due to some linking errors.
2012-02-17 20:51:39 +00:00
Campbell Barton
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
Sergey Sharybin
e8a1daaf9b
Drag-n-drop support on Linux
...
This commit implements drag-n-drop support from external applications into Blender.
Used xdnd implementation from Paul Sheer.
2012-02-17 16:58:09 +00:00
Alexander Kuznetsov
d51a1f3ed1
Fix for [ #30044 ] on windows
...
We don't know how ALT key modifies the key, so utf=0;
That way Text Object can handle it.
* Should be removed when we able to support different keyboards on Windows
2012-02-05 16:05:20 +00:00
Mike Erwin
7e4558d163
added support for USB Spaceball5000, also a partial attempt to accept button presses from unidentified 3D mice (for ancient serial devices)
2012-01-26 03:27:10 +00:00
Mitchell Stokes
686ce92fe8
Committing patch "[ #27676 ] Change window size/resolution in realtime" by me.
...
Description:
This patch allows the user to change the size of the window (or the resolution in fullscreen mode) using the new bge.render.setWindowSize() method. This only works in the Blenderplayer since it doesn't make a whole lot of sense for the embedded player.
2012-01-22 20:25:25 +00:00
Mike Erwin
480b1030f9
added support for the 3Dconnexion SpaceMouse Pro -- tested on Linux w/ spacenavd, Macs need latest driver (Intel only (grumble)), Windows should be good as well but have not tested
2012-01-19 06:14:50 +00:00
Campbell Barton
361ffc5784
allow building without xinput again
2012-01-18 22:32:33 +00:00
Sergey Sharybin
242a800d34
Fix #25581 : No pressure sensitivity in sculpt mode
...
Tablet mode (stylus/eraser) wasn't properly set when pen was already hovering over
tablet surface when opening blender (i.e. in cases when blender was opened using
stylus tap).
Issue resolved by setting tablet mode when handling tablet's motion event too.
2012-01-18 11:25:30 +00:00
Campbell Barton
7001747cdc
ghost tests weren't building and added some comments to ghost docs.
2012-01-18 10:16:39 +00:00
Sv. Lockal
efc6be2002
patch [ #29856 ] UTF-8 copy&paste for Win32 GHOST
2012-01-16 15:00:28 +00:00
Dalai Felinto
de86d89a9f
Cucumber - AA for blenderplayer and fullscreen
...
..............................................
svn merge ^/branches/soc-2011-cucumber -r 38968,38970,38973,39045,40845
Notes:
======
* we replaced fullscreen by playerflag in DNA_scene.types.h. So no doversion here, I think this is a small reversion can't see any potential problem in forcuing users to re-check fullscreen. If the file is really old (<250) it will doversion though;
* (for after commit) it would be nice to gray out the width/height when desktop=True
* for a rainy day: it would be nice to have other ghost modes (e.g. screensaver) to support desktop + MSAA as well. It's not a huge deal given that I don't even know if anything else work (apart from windowed, fullscreen and embed) but it doesn't hurt to have it updated as well.
* there is something strange with outliner. I think space_outliner merge-info is not in sync with the ^/ folder. It's probably a wrong merge early in cucumber.
Commit Logs:
===========
# 40845 by dfelinto
remove desktop and fullscreen properties. They are both part of playerflag now
also I removed the fullscreen from the DNA completely. I don't think we need doversion that..
#39045 by kupoman
The Desktop option is now greyed out when fullscreen is not checked rather than disappearing from the UI completely.
#38973 by kupoman
Adding a checkbox to the UI to allow the full screen Blender Player to use the current desktop resolution instead of the resolution setting.
#38970 by kupoman
Multisampling now works in a fullscreen Blender Player.
#38968 by moguri
Committing a patch from Mitchell Stokes (Moguri) to include a setting in the UI for the Blenderplayer multisampling.
2012-01-11 20:53:22 +00:00
Alex Fraser
dcef7346eb
Added mode-getting functions for GHOST under X11 (GNU/Linux).
...
Enabled xvidmode by default in cmake.
Patch approved by Campbell.
2012-01-11 12:28:31 +00:00
Alex Fraser
37fc8b4dbb
This patch implements mode switching (resolution changing) for full-screen games.
...
Hopefully, this should be platform agnostic. Requires WITH_GHOST_SDL.
This patch contains code from Quake 2 and bzflag.
Tracker: [#29839 ]
2012-01-11 11:59:57 +00:00
Campbell Barton
def948cc28
patch [ #29853 ] UTF-8 copy&paste for X11 GHOST
2012-01-11 00:34:42 +00:00
Alex Fraser
15dc3d4609
Fixes two crashers for games, with GHOST under SDL:
...
- Fixes SDL fullscreen mode for game engine (blenderplayer). Mode switching (resolution changes) not supported yet though.
- Fixes embedded game engine exit.
See patch tracker [#29748 ].
2012-01-02 12:35:06 +00:00
Alex Fraser
c2bb285750
Mode switching for GHOST under X11: adds the ability to change screen resolutions in the blenderplayer on GNU/Linux.
...
Code ported from Quake 2.
2012-01-02 12:25:14 +00:00
Campbell Barton
6d965f4493
style edits for function declarations
2011-12-30 07:55:15 +00:00
Nicholas Bishop
50cc053690
Add a glClear() in GHOST/X11 between creating the GLX context and
...
displaying the window.
This fixes a brief flash of random data on Blender startup on my
system (Ubuntu 11.10, ATI Mobility Radeon HD 5650, Gallium drivers.)
Code review link:
http://codereview.appspot.com/5505071/
2011-12-26 19:12:13 +00:00
Campbell Barton
27074062ab
Formatting edits <120 length lines
2011-12-24 02:32:08 +00:00
Brecht Van Lommel
a0af3f7ffe
OS X: add BLENDER_SOFTWAREGL environment variable to force using software OpenGL
...
renderer, for debugging OpenGL issues.
2011-12-19 14:23:08 +00:00
Brecht Van Lommel
e9be94b82d
Fix #29233 : Windows accessibility feature "sticky keys" for disabled people not working.
2011-12-15 13:01:01 +00:00
Jens Verwiebe
4c43a14b9f
OSX: Fix more UTF8 issues, todo: use correct font
2011-11-23 07:39:59 +00:00
Jens Verwiebe
393c7b2e93
OSX: go back to former zoombehaviour with magicmouse in Lion, no time to recode to NSTouch in the near time
2011-11-13 13:25:22 +00:00
Campbell Barton
e84c0980a3
correct indentation and some whitespace edits (no functional changes)
2011-11-11 13:09:14 +00:00
Campbell Barton
057bf2a02b
misc doc edits
...
- remove recently added sphinx reference workaround.
- tested doxygen, correct some warnings, set tab width and added pymathutils group.
- added convenience target 'make doc_doxy'
2011-11-05 01:48:10 +00:00
Campbell Barton
4293f4738c
patch [ #28947 ] Patches for #28943 (Support for XDG Base Directory Specification)
...
from Cosme
2011-11-02 22:00:22 +00:00
Jens Verwiebe
a664e779ac
OSX: make ZOOM-gesture on trackpads half the speed, added comment for experimental all-time-trackpad assumption
2011-10-31 12:31:48 +00:00
Jens Verwiebe
4ce5bb0ba2
OSX: adapt comments to new behaviour when compiling with gcc-4.6 but GHOST and QT with default compiler
2011-10-27 15:50:51 +00:00
Jens Verwiebe
7a20ced627
Fix player prototype, fix compile for OSX/XCode4.2, use always tablet enabled (test)
2011-10-27 15:46:26 +00:00
Campbell Barton
699030ceb6
use const for readonly strings and set some functions to static
2011-10-27 14:41:26 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Dalai Felinto
cac4fde224
utf8 OSX - cleanup
...
I still think utf8_buf can be 5 (4 bytes + '\0'), but even 6 may not be enough to what is coming next (NFC - precomposedStringWithCanonicalMapping)
incorporating ascii as a subset of utf8. I don't think we need to re-encode it.
U+0000 ~ U+00FF - latin1 set
2011-10-22 09:28:10 +00:00
Alexander Kuznetsov
be61044eee
Fix for text object on windows.
...
No utf8 when keyup
2011-10-22 03:14:19 +00:00
Campbell Barton
74017cb020
header cleanup and typo's
2011-10-22 01:53:35 +00:00
Dalai Felinto
932aa116df
utf8 OSX - disabling utf8 at KeyUp, otherwise TextObject doesn't work.
...
This bug is also present in Windows, so I believe the real bug is in Linux (and in the text object input).
Also Cmd+C and Cmd+v doesn't work for utf8 yet.
2011-10-21 19:09:14 +00:00
Alexander Kuznetsov
c9035e20d0
UTF8 input support for Windows.
...
ToDo:
* add support for dead keys
* other input methods (for hieroglyphs)
2011-10-21 17:40:35 +00:00
Dalai Felinto
f9f5daed9b
disabling utf8 for OSX. It's not working 100% and it's breaking other things
2011-10-21 06:45:08 +00:00
Campbell Barton
d37760bc34
cleanup scons build flags, many duplicates because because of confusion between CFLAGS/CPPFLAGS/CCFLAGS/CXXFLAGS, devs would set multiple to be on the safe side.
...
- defines go in CPPFLAGS
- C & C++ flags go in CCFLAGS
- CFLAGS / CXXFLAGS are C OR C++ only.
also commented intended ghost unicode/ascii usage.
2011-10-21 04:23:26 +00:00
Jens Verwiebe
36017e2af9
OSX: dalai's patch for utf8 support, todo: uppercase chars not working yet
2011-10-20 10:35:54 +00:00
Dalai Felinto
e0604e5941
OSX fix for recent utf8 commit
2011-10-20 06:29:14 +00:00
Campbell Barton
9bbec84e7e
initial support for unicode keyboard input for ghost & blenders WM.
...
- currently X11 only, depends on Xinput (but should not break other os's).
- ghost stores utf8 buffer, copies to wmEvent's
- UI text input is currently the only area that uses this - not console or text editor.
- no rna access yet.
2011-10-20 05:30:26 +00:00
Campbell Barton
61389bba41
fix spelling mistakes in comments (and in some python error messages), nothing to effect translations.
2011-10-17 06:39:13 +00:00
Campbell Barton
f9ea19ac12
spaces -> tabs (only whitespace changes)
2011-10-06 22:02:50 +00:00
Campbell Barton
ce1ac3412d
dont define the ghost PREFIX for scons, since this means our portable downloadable binary would find the system blender files (if installed).
...
this should stay disabled until scons supports system/portable installs as with cmake.
2011-10-06 02:29:15 +00:00
Jens Verwiebe
39300a5079
OSX: Correct copy/paste error and exclude endianess switch from darwin
2011-10-05 08:58:32 +00:00
Jens Verwiebe
b05a3f7e42
Cgange compile cindition for gcc-4.6-objC++ workaround
2011-09-30 20:26:14 +00:00
Jens Verwiebe
47ca7e23c0
Now in proper english, hehe
2011-09-28 17:52:07 +00:00
Jens Verwiebe
ce714341b9
Using non ASCII-conform char in comment broke compile
2011-09-28 17:45:32 +00:00
Jens Verwiebe
6088d460ef
OSX: Give clear commenting and more up-to-date defaults
2011-09-28 17:28:37 +00:00
Jens Verwiebe
416885aad4
OSX: always compile GHOST and Quicktime with Apple-gcc-4.2, simplifies for non-apple compilers
2011-09-28 17:15:28 +00:00
Jens Verwiebe
6f2d937a63
OSX: introduced a workaround for compiling with non-apple gcc-4.6.1, ghost must be compiled with apple-gcc nevertheless due objc incompatibilities
2011-09-27 13:18:34 +00:00
Campbell Barton
e4c299d975
comment warnings as errors for MSVC - it too easily made small problems like unused vars into errors which gets annoying for non developers.
...
with GCC we have *some* warnings as errors which works out better.
2011-09-27 12:08:35 +00:00
Campbell Barton
274b9c8fb8
whitespace cleanup
2011-09-25 12:31:21 +00:00
Campbell Barton
4b449aefea
remove support for irix
2011-09-21 08:40:30 +00:00
Nathan Letwory
0c992c73a1
Typofix
2011-09-05 22:15:07 +00:00
Nathan Letwory
3efe867051
Put dead zone printout behind debug.
2011-09-05 21:52:06 +00:00
Dalai Felinto
22676a434e
making carbon to build again (note: NDOF is not working here)
...
- fix typo
- isolate NDOF callsi in #ifdefs
2011-09-01 00:03:20 +00:00
Campbell Barton
471c005137
typo fix: end of lines ;; --> ;
2011-08-31 01:07:55 +00:00
Mitchell Stokes
2475ad0ab9
When creating a multisample window for Win32, the first context created, which checks for multisample support, was never being deleted.
2011-08-30 17:30:35 +00:00
Sergey Sharybin
36f20f162c
Fix #28154 : linux3-config.py doesn't exist
...
Change OURPLATFORM from "linux<major_version>" to simple "linux".
Since new policy for linux kernel versions that major version in
platform doesn't make much sense for building rules so the same
rules could be used for both of linux2 and linux3 now/
Tested on both of linux2 and linux3 systems.
2011-08-21 13:31:46 +00:00
Brecht Van Lommel
37f9d916fa
Fix #28265 : blender 2.59 not starting on OS X with old ndof driver.
...
Patch by Jens Verwiebe.
2011-08-17 15:01:26 +00:00
Campbell Barton
45cf8d673e
add numpad key input for ghost/sdl
2011-08-16 13:07:46 +00:00
Alexander Kuznetsov
39cbcdf187
Window was losing focus when switching from full screen via Alt+F11
...
Fixes [#28243 ]
2011-08-15 16:26:37 +00:00
Sergey Sharybin
c9216e390c
Commiting patch from jensverwiebe for NDOF support on OSX
2011-08-11 15:59:19 +00:00
Campbell Barton
ffd5fa3eea
off by 1 error with number keys in ghost/sdl
2011-08-09 07:09:49 +00:00
Campbell Barton
8eec116d0e
add missing keys for ghost/sdl
2011-08-08 06:54:07 +00:00
Campbell Barton
0160901c90
- update X3D and FBX testing checksums
...
- building with GHOST/SDL now adds the PREFIX
- image.external_edit operator errors out if the filepath isnt set (was annoying and loaded gimp while running tests)
2011-08-08 03:31:25 +00:00
Campbell Barton
5681380db0
simplify x11 path code, had unneeded NULL checks and std namespace
2011-08-07 17:38:36 +00:00
Mike Erwin
479c203dad
stricter WITH_INPUT_NDOF guards, general cleanup
2011-08-07 16:44:10 +00:00
Mike Erwin
6c821f4078
stricter NDOF guards for Windows (forgot in earlier commit)
2011-08-06 23:13:36 +00:00
Campbell Barton
4d319f8059
fix for GHOST/SDL key input with uppercase keys.
2011-08-05 17:39:44 +00:00
Mike Erwin
a6fed14da4
stricter guards for disabling NDOF code (will test in 3.. 2.. 1..)
2011-08-04 03:14:00 +00:00
Sergey Sharybin
d4909c5628
- Do not add GHOST_NDOFManager.cpp to list of sources if
...
NDOF is disabled in CMake.
- Added "default" section to switch in sendMotionEvent.
It's what strict gcc rules don't like much and it's
And it's good practice in general, imo.
2011-08-03 07:30:24 +00:00
Nathan Letwory
02ab2b473c
Debug print removed.
2011-08-03 07:08:28 +00:00
Mike Erwin
3b541b259f
removed attempted WITH_BF_3DMOUSE detection, fixed just one indention (left the others in their ugly new state)
2011-08-03 06:42:55 +00:00
Campbell Barton
6c9d0f2b7a
whitespace edits.
2011-08-03 06:27:44 +00:00
Mike Erwin
6233430c23
compensate for lack of 3D mouse calibration on Windows
2011-08-03 05:01:55 +00:00
Sergey Sharybin
13eefec9dd
More flexible configuration for 3dmouse library for scons.
...
Needed for release environment and buildbot.
Buildbot rules would be updated with next commit after
environment will be tested.
2011-08-02 17:59:43 +00:00
Nathan Letwory
222190c618
typo fix
2011-08-02 14:45:35 +00:00
Nathan Letwory
7561d10c2e
Don't include NDOF files when disabled.
2011-08-02 10:50:22 +00:00
Nathan Letwory
467475590e
Some more silencing. Enable with BF_GHOST_DEBUG
2011-08-02 10:39:46 +00:00
Nathan Letwory
6bc101fa7e
Indentation changes
2011-08-02 10:26:20 +00:00
Nathan Letwory
69b4962fc0
Properly disable NDOF code when WITH_INPUT_NDOF is not define.
2011-08-02 10:20:47 +00:00
Nathan Letwory
c1cf646bb7
whitespace
2011-08-02 09:36:44 +00:00
Nathan Letwory
1828e37794
Turn off ndof button debug
2011-08-02 09:09:07 +00:00
Nathan Letwory
28ed1b6745
tabs -> spaces
2011-08-02 09:07:24 +00:00
Jiri Hnidek
2e860a3e85
- Blender could be build with scons again.
2011-08-02 07:02:40 +00:00
Campbell Barton
baa37b1b46
more cmake/x11 edits
...
- added includes for spnav
- added FindSpacenav.cmake which allows using spacenav from a nonstandard path.
- remove NDOF_LIBPATH, use a full library path instead.
2011-08-02 06:32:53 +00:00
Campbell Barton
fcd7d2b486
NDOF related edits
...
- fix for building without NDOF on X11
- quiet some warnings
2011-08-02 05:52:27 +00:00
Guillermo S. Romero
8f3016098d
SVN maintenance.
2011-08-02 05:31:32 +00:00
Mike Erwin
56918978b7
3D mouse support from merwin-spacenav branch
2011-08-02 04:28:05 +00:00
Mike Erwin
dc2609da3d
svn merge -r38814:38905 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-08-02 01:01:56 +00:00
Mike Erwin
19b38034f9
support for older SpacePilot (sans Pro), minor tidying
2011-07-31 22:59:36 +00:00
Alexander Kuznetsov
6e788c37df
Hides console on win32 even if python path is 2 or more lines
...
Adding tlhelp32.h header
2011-07-30 19:09:34 +00:00
Ton Roosendaal
681b26a48e
Bugfix #28109
...
Old issue with OSX Cocoa code: shift+scrollwheel should send
a 'horizontal wheel' event to Blender. Blender only recognizes
scroll events in general though. The old code then just didn't
send an event at all, not passing on shift+scrolls.
Now the scroll event is sent anyway, relying on Blender's
keymapping to define what to do with shift+scroll.
This fixes things like shift+scroll to scale ListBox widgets.
2011-07-30 10:14:50 +00:00
Alexander Kuznetsov
6b987910e4
Patch [ #27925 ] by Andrew Cox and me
...
Modifier key sticks after Alt-tab on Win32
2011-07-29 20:21:37 +00:00
Mike Erwin
c2c62134cc
minor cleanup of Mac ndof manager
2011-07-24 00:52:18 +00:00
Mike Erwin
5fae765187
more cautious device detection, minor cleanup
2011-07-23 21:29:19 +00:00
Nathan Letwory
8c5f028f4a
Fix compile error due to faulty merge.
2011-07-22 14:13:28 +00:00
Nathan Letwory
b326a6841e
Simple ifndef guards, so we don't get redefines.
2011-07-21 20:54:47 +00:00
Nathan Letwory
eea7c358c7
svn merge -r37276:38555 https://svn.blender.org/svnroot/bf-blender/trunk/blender .
2011-07-21 09:40:59 +00:00
Mike Erwin
5f47123fde
consistent Starting/InProgress/Finishing ndof events with dead-zone filtering
2011-07-18 22:42:09 +00:00
Dalai Felinto
1f5d60ba01
patch: [ #27783 ] "Problem with clock" at 18:39:00 by Daniel Dionne (mrzeon)
...
the overflow of the clock was causing crash in the game engine in Linux.
(on June 11 2011, 18:39:00 GMT)
running to the "where is waldo (wally)" bug award of 2011.
2011-07-18 22:28:42 +00:00
Campbell Barton
5792bd7cc7
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.
2011-07-17 09:11:13 +00:00
Campbell Barton
410c5e3cd2
cmake source definitions:
...
remove missing includes and use more strict formatting.
2011-07-16 23:01:14 +00:00
Mike Erwin
b0c8abf04e
removed unused ndof code
2011-07-14 22:01:09 +00:00
Mike Erwin
cc1ba4569c
more consistent and modal-friendly ndof events, fly mode v1
2011-07-14 21:20:45 +00:00
Campbell Barton
cf485cd963
Advanced CMake option to build the player without blender: WITH_BLENDER
2011-07-13 08:15:06 +00:00
Campbell Barton
44e45e54c5
- don't build ghost's event printer unless ghost debug is enabled.
...
- use char rather then STR_String for the event printer.
- added option to build WITH_GHOST_DEBUG for cmake
- renamed WITH_SDL_GHOST --> WITH_GHOST_SDL
2011-07-13 06:04:54 +00:00
Campbell Barton
0fc6aac3dc
make X11's getModifierKeys more compact and don't run XKeysymToKeycode 8 times for call.
2011-07-13 05:22:21 +00:00
Guillermo S. Romero
74494dbcd2
SVN maintenance.
2011-07-13 00:49:22 +00:00
Campbell Barton
41f37cff93
changes to ghost/sdl
...
- mouse coords made absolute
- window position set
- building with SDL 1.2 gives an error.
2011-07-13 00:31:08 +00:00
Sergey Sharybin
9eb1b26312
Fix for recent GHOST SDL commit.
...
SCons rules haven't been changed to deal with new option.
2011-07-12 18:39:46 +00:00
Campbell Barton
f7b9418d25
build option to use SDL 1.3 for GHOST rather then X11/Win32/Cocoa api's,
...
This opens up the option for blender to be more easily ported to other devices, OS's.
TODO
- continuous grab.
- text glitch with multiple windows (was a bug in X11 too for a while, will check on this)
2011-07-12 13:17:54 +00:00
Campbell Barton
b90535cc33
correction to cursor enum and make GHOST_SystemX11's convertXKey into a static function.
2011-07-12 12:53:23 +00:00
Campbell Barton
65d1e27ff5
fix for using uninitialized value in gpu_shader_material
2011-07-09 19:16:32 +00:00
Campbell Barton
c50b5ee320
ghost multi-test builds again, now uses BLF font library
2011-07-09 16:18:15 +00:00
Mike Erwin
50ef78cdb8
various fixes to enable MSVC build, removed crusty old Win32 ndof code
2011-07-06 18:50:59 +00:00
Brecht Van Lommel
e7878389bb
Fix #27865 : weird mouse warping with continuous grab on OS X.
2011-07-05 20:15:29 +00:00
Brecht Van Lommel
e15fd7df6c
Patch #27829 : fix X11 compile problem due to missing XF86XK_AudioForward define
...
on Debian Lenny. Patch by "dungeoneer".
2011-07-05 19:10:28 +00:00
Campbell Barton
5913179f85
CMake file to build ghost tests again.
2011-07-03 16:17:38 +00:00
Mike Erwin
14c72f379c
implemented ndof 'dead zone' around home position, fixed X11 active window determination, removed old X11 ndof code
2011-07-01 21:51:44 +00:00
Campbell Barton
228be10722
fix for building headless
2011-07-01 15:15:22 +00:00
Mike Erwin
abd4a881db
ndof device detection now visible in log
2011-07-01 03:54:23 +00:00
Mike Erwin
893bf5f81a
verbose ndof event trace for a tester
2011-07-01 03:44:03 +00:00
Mike Erwin
e41a7b6f63
tiny compile fix for PowerMac
2011-07-01 00:58:47 +00:00
Mike Erwin
4178b662cc
enabled pan/zoom in rotation-locked 3D views + small cleanup
2011-06-28 15:59:46 +00:00
Mike Erwin
446be52164
made Pascal string less intrusive to build systems
2011-06-28 15:57:39 +00:00
Mike Erwin
30b4ff8949
first attempt at CMake fix (untested)
2011-06-27 23:24:24 +00:00
Mike Erwin
5c2e4318b5
Windows ndof now uses blender view coordinates
2011-06-27 21:52:33 +00:00