Commit Graph

788 Commits

Author SHA1 Message Date
9e742ffc2b style cleanup: also correct some doxy comments 2012-08-18 13:07:48 +00:00
b96c622015 style cleanup 2012-08-11 22:12:32 +00:00
c567cf3fab code cleanup: WM naming conventions 2012-08-11 21:35:24 +00:00
f0951f58ca code cleanup: rename G.afbreek --> is_break, G.rendering --> is_rendering 2012-08-08 18:37:06 +00:00
3179ee8a86 patch [#32282] Fix segfault on exit in IM shutdown.
from Bill Currie (taniwha)
2012-08-08 07:31:19 +00:00
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
33a9cafc3b quiet spacenav output on linux for regular builds, ifdef signed int for msvc openmp. 2012-07-31 21:26:14 +00:00
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
9b51503307 style cleanup 2012-07-21 22:58:08 +00:00
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
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
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
19011d44cf Doxygen cleanup 2012-07-05 04:47:47 +00:00
715edceb42 spelling cleanup: metre -> er 2012-07-04 12:56:58 +00:00
8b865c01cd style cleanup: comments 2012-06-30 22:49:33 +00:00
9beef7442c style cleanup: also some spelling correction. 2012-06-27 05:59:41 +00:00
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
cc0784c1b9 optionally use guarded alloc for tiles compositor, also replace allocation functions with a macro. 2012-06-25 09:14:37 +00:00
74c9c24d27 style cleanyp 2012-06-23 23:22:19 +00:00
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
606d76f07d fix for building blender as a python module on windows. 2012-06-15 20:59:00 +00:00
d5032657ed style cleanup 2012-06-06 22:38:39 +00:00
5189356d58 style cleanup 2012-06-04 20:11:09 +00:00
1aa27e240c code cleanup: replace some non utf8 chars 2012-06-03 11:16:13 +00:00
b3bc5edffc replaced last instance of BF_GHOST_DEBUG 2012-05-30 17:14:55 +00:00
b33f0ef0e3 style cleanup 2012-05-27 19:40:36 +00:00
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
857dedbc58 style cleanup 2012-05-27 00:36:50 +00:00
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
9abd6e7651 style cleanup 2012-05-24 13:18:53 +00:00
9c9a5b882d style cleanup: ghost 2012-05-19 09:57:55 +00:00
112b1a0779 style cleanup: ghost headers 2012-05-19 09:23:08 +00:00
6522880772 style cleanup: ghost/x11 2012-05-18 20:13:40 +00:00
3bbfbfe4b1 dont use sdl include when building headless 2012-05-11 14:17:49 +00:00
243304a623 ndof: restored support for older serial port 3D mice on Linux (R45951 broke it, oops) 2012-05-08 05:04:29 +00:00
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
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
d7f214b581 Fix mac build error after ghost cocoa changes. 2012-05-06 22:36:51 +00:00
d5b96163f7 code cleanup: add getCursorGrabModeIsWarp(), makes the intent more clear where we check for mouse warping. 2012-05-06 15:59:57 +00:00
4504c66124 disable warping for tablet events (X11 only), added TODO's for OSX and win32. 2012-05-06 15:45:48 +00:00
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
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
b340f930ec style cleanup: changes to brace placement / newlines - for/while/if/switch 2012-04-28 06:31:57 +00:00
b12fd22791 ndof: avoid potential buffer overflow in libspnav 2012-04-25 01:24:29 +00:00
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
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
cc1259178b code cleanup: utfconv library had some quite confusing formatting, also cleared som warnings. 2012-04-12 02:15:33 +00:00
732806225d Ghost:
* Typo fix, preventing mingw to compile.
Found by XercesBlue in IRC:
2012-04-06 10:24:15 +00:00
83e83e5eff quiet some warnings for gcc 4.7 2012-03-26 20:49:33 +00:00