Nathan Letwory
715fa82769
Make sure separation between modifier keys is communicated from GHOST upwards too (BGE at least uses this).
2010-10-24 12:45:47 +00:00
Campbell Barton
f383e2e0e6
Remove msvc build files which are not needed anymore.
2010-10-23 15:14:54 +00:00
Nathan Letwory
54b3508444
Fix [ #24337 ] Create vertex (and faces and edges) with "Control+LMB" doesn't works!
...
Reported by Lluc Romaní Brasó
Some of my earlier changes to the modifier handling code accidently sent out new events for modifier keys when they where held down (repeat).
Also lay foundation for shift+numpad handling.
2010-10-22 22:58:12 +00:00
Nathan Letwory
d272ea36c2
Wrong check for platform accidently put /WX to non-msvc toolchains too.
2010-10-21 18:13:43 +00:00
Nathan Letwory
b9d17f97eb
Don't use CS_CLASSDC after all. Makes drawing multiple windows funky.
2010-10-21 11:15:57 +00:00
Nathan Letwory
c9d16d0ddb
/WX enabled for MSVC in CMake too.
...
Warning fixes.
2010-10-21 08:32:53 +00:00
Nathan Letwory
107b274fb8
Enable /WX in blenkernel
...
Silence warnings
2010-10-21 07:39:18 +00:00
Nathan Letwory
6e43a400e3
Use one device context for our window class.
2010-10-21 07:18:38 +00:00
Nathan Letwory
3cbb5611d5
* Use HWND_DESKTOP as parent for Blender Windows.
...
* Reorder freeing of OpenGL context code.
2010-10-21 07:16:02 +00:00
Nathan Letwory
9e73da71f5
Enable /WX on Windows.
2010-10-21 07:14:31 +00:00
Nathan Letwory
d7b40531cd
Fix [ #20277 ] Bug with Continuous Grab on Windows
...
Reported by Alex Glawion
When we have a maximized window we need to take into account
that there are no borders.
2010-10-19 09:38:56 +00:00
Nathan Letwory
6c505c97a7
_DEBUG -> DEBUG
2010-10-18 07:03:38 +00:00
Nathan Letwory
05a105cac1
Add short comment.
2010-10-18 00:42:18 +00:00
Nathan Letwory
ac03fbe4c9
Adapt OSX code for IMB_allocImBuf param changes.
2010-10-16 15:53:01 +00:00
Nathan Letwory
c52e7c1370
Fix AltGr problem on Windows
...
It was impossible for keyboard layouts that use AltGr to create certain characters to insert
them in Text and Console.
The keyboard driver in Windows sends left control events when AltGr is pressed. This meant that
Blender thought control was being held, which is a PASS_THROUGH condition for the insert operator
in both editors.
Add testing of keyboard layout for AltGr, both on initialization and WM_INPUTLANGCHANGE.
To remedy AltGr problem, we send now a left control key up event to Blender before further processing
the AltGr key.
2010-10-16 15:21:55 +00:00
Nathan Letwory
f631a8b5be
Simplify GHOST modifier key handling on Windows.
2010-10-15 14:52:47 +00:00
Campbell Barton
d6b235f3ef
patch [ #24162 ] r32332 missed a couple of command key changes - with fix
...
from Shane Ambler (sambler)
2010-10-06 09:21:40 +00:00
Campbell Barton
568cb06616
rename Command key to OSKey, Window manager already called it the OSKey but internally it was mixed.
2010-10-05 19:10:15 +00:00
Damien Plisson
b6bdf681fb
OSX/Cocoa: Fix [ #24068 ] for correct handling of .blend file names with accented nordic characters
2010-10-02 09:17:32 +00:00
Damien Plisson
af8ae62ec0
OSX/Cocoa: Mouse up was not sent to WM after window resize
2010-10-02 09:15:32 +00:00
Damien Plisson
606b800c46
OSX/Cocoa : discard Cocoa GL view flush while in live resize, and send Window size change ghost message only when user releases mouse button (not in live resize).
...
Potentially fixing bug [#23561 ]
2010-09-26 19:53:45 +00:00
Brecht Van Lommel
b19521f2b2
Fix OS X memory leak prints when starting blender:
...
"__NSAutoreleaseNoPool() ... autoreleased with no pool in place - just leaking"
2010-09-16 19:42:51 +00:00
Nathan Letwory
6b18c9dc61
Partial fix (Linux) [ #21395 ] Command key for keyboard mapping not functional
...
Reported by Andy Braham
Handle XK_Super_L and XK_Super_R as the GHOST_kKeyCommand. Since Command key is
not discerned (yet) in left/right variants, read both and set accordingly.
This now completes fixes for [#21395 ]
2010-09-16 06:52:12 +00:00
Nathan Letwory
d6baea457e
Partial fix [ #21395 ] Command key for keyboard mapping not functional
...
Reported by Andy Braham.
Handle VK_LWIN and VK_RWIN (The infamous Windows keys). Note, these are not separate, so handled as one command key.
2010-09-15 23:19:21 +00:00
Campbell Barton
9b518710c6
update for MingW/CMake
...
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings.
- the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-09-15 16:13:32 +00:00
Campbell Barton
d0a1b76fe4
use relative paths for ghost/cmake
2010-09-12 12:16:50 +00:00
Nathan Letwory
06b1c933b3
Commit patch [ #23685 ] Cleanup/crashfix for AA using win32 ghost.
...
Provided by Mitchell Stokes (Moguri)
2010-09-08 08:25:38 +00:00
Campbell Barton
2406ebe1a4
- added back zlib include (needed for win32).
...
- use list append in more places.
- remove non existing include dir.
2010-09-07 01:13:10 +00:00
Guillermo S. Romero
a8269c8946
SVN maintenance.
2010-09-03 03:30:20 +00:00
Nathan Letwory
6c113b54b3
Finally change SConscript tabs to spaces.
2010-08-29 20:52:05 +00:00
Campbell Barton
4b40d73bfb
rename most scons build targets to match cmake
2010-08-25 04:30:47 +00:00
Campbell Barton
6464718083
rename some cmake build targets
2010-08-24 04:29:23 +00:00
Nathan Letwory
801ba2e345
Apply patch #23295 - Fix for SCons building on FreeBSD
...
Patch submitted by Jashank Jeremy. This adds support for freebsd7, freebsd8 and freebsd9. Thanks!
2010-08-13 20:54:34 +00:00
Damien Plisson
4da55eed8f
OSX/Cocoa : fix the Cmd modifier stuck after cancelling the quit dialog
2010-08-01 16:25:00 +00:00
Campbell Barton
75410037fd
- correct some spelling errors.
...
- remove FreeCamera struct (wasnt used)
- remove world color alpha values (not used anywhre).
2010-07-20 10:41:08 +00:00
Campbell Barton
a3e0667e94
Rather then hard coded /usr/share, use CMAKE_INSTALL_PREFIX to set the PREFIX, could be added for scons/make too.
2010-07-15 20:25:09 +00:00
Jason Wilkins
5505697ac5
Merge GSOC Sculpt Branch: 28499-30319
...
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins
See log of that branch for details.
2010-07-14 14:11:03 +00:00
Benoit Bolsee
ac981c08af
Update MSVC project files
2010-07-12 11:37:15 +00:00
Andrea Weikert
ffcec4024b
installation paths:
...
small fix: removed extra slash in system path
2010-07-11 15:30:32 +00:00
Damien Plisson
6682dae779
Fixed bug [ #22555 ] OSX/Cocoa: Suppress delayed mouse position changed event after setting it
2010-07-09 18:54:44 +00:00
Andrea Weikert
c468f94f53
fix mingw compile
...
- seems to have been conflicting #defines for INT, solved by moving #include up
2010-07-06 20:31:55 +00:00
Damien Plisson
ea183b58d3
Fixed bug [ #22757 ] : hide dock and menu on OSX only when Blender window is maximized to fullscreen on the primary monitor
2010-07-06 19:59:37 +00:00
Damien Plisson
dd724f2826
File/installation paths: osx (cocoa & carbon) update in ghost
2010-07-05 19:59:37 +00:00
Diego Borghetti
63335f2d10
Fix Makefile for new getUserDir system.
2010-07-05 14:32:15 +00:00
Andrea Weikert
7aca4eec4b
compile fix, another missed semicolon - blush
2010-07-05 06:04:24 +00:00
Campbell Barton
9c4e3a7b6b
bugfix [ #22724 ] "Scene" switch on the console doesn't work
2010-07-05 00:00:40 +00:00
Campbell Barton
ef3f967baf
fix for building
2010-07-04 22:35:09 +00:00
Guillermo S. Romero
f3638488c3
Add missing ";".
2010-07-04 21:36:48 +00:00
Guillermo S. Romero
646ee52d3a
SVN maintenance.
2010-07-04 21:33:01 +00:00
Andrea Weikert
4135f1310c
Patch [ #22339 ] File/installation paths changes
...
Update after discussions on IRC:
* operating system specific path retrieval is moved back to GHOST, nothing blender specific here though
* cleaned up path functions a bit to remove #ifdefs
* removed Cocoa from blenlib again
TODO:
* Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment
* finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime
* It would probably be nice to define GHOST_getTempDir as well and move those out
* more cleanups...
NOTE:
Things are likely broken for macs
2010-07-04 21:14:59 +00:00